CN115328430B - Method for displaying multiple screens on electronic device, storage medium, and electronic device - Google Patents

Method for displaying multiple screens on electronic device, storage medium, and electronic device Download PDF

Info

Publication number
CN115328430B
CN115328430B CN202211240552.0A CN202211240552A CN115328430B CN 115328430 B CN115328430 B CN 115328430B CN 202211240552 A CN202211240552 A CN 202211240552A CN 115328430 B CN115328430 B CN 115328430B
Authority
CN
China
Prior art keywords
screen
bar
display
screens
status bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211240552.0A
Other languages
Chinese (zh)
Other versions
CN115328430A (en
Inventor
邹元飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yikatong Shanghai Technology Co ltd
Ecarx Hubei Tech Co Ltd
Original Assignee
Yikatong Shanghai Technology Co ltd
Ecarx Hubei Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yikatong Shanghai Technology Co ltd, Ecarx Hubei Tech Co Ltd filed Critical Yikatong Shanghai Technology Co ltd
Priority to CN202211240552.0A priority Critical patent/CN115328430B/en
Publication of CN115328430A publication Critical patent/CN115328430A/en
Application granted granted Critical
Publication of CN115328430B publication Critical patent/CN115328430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Abstract

The invention provides a display method of a plurality of screens on electronic equipment, a storage medium and the electronic equipment. The display method comprises the following steps: acquiring screen identifications of screens connected with electronic equipment; matching each screen identification with the corresponding relation between the pre-customized screen identification and the display interface of the screen to obtain the display interface corresponding to each screen; all the display interfaces are displayed on the corresponding screens at the same time, and the display mode is more accordant with the visual perception of people, so that discomfort brought to the visual perception of people is avoided. Moreover, the time length required by the display mode of the invention is shorter than the time length required by the mode of displaying the display interfaces of the screens one by one, so that a user can know the interface information on each screen more quickly.

Description

Method for displaying multiple screens on electronic device, storage medium, and electronic device
Technical Field
The present invention relates to the field of on-screen interface display technologies, and in particular, to a method for displaying multiple screens on an electronic device, a storage medium, and an electronic device.
Background
At present, with the development of an operation system of an electronic device becoming faster and faster, many electronic devices may be connected to a plurality of screens and display pictures on each screen, and specifically, for example, a vehicle-mounted infotainment system host (car machine for short) may be connected to a plurality of screens. When the existing car machine is started, the picture information is often displayed on the corresponding screens one by one, for example, the picture information on the main screen is displayed firstly, then the picture information of the second auxiliary screen is displayed, and then the picture information of the third auxiliary screen is displayed, and the display mode has some disadvantages. For example, the relevant person first sees the picture information of the main screen, then the picture information of the second sub-screen, and then the picture information of the third sub-screen, and such a display manner may cause discomfort to the visual perception of the relevant person. And the navigation bar and the status bar on the second auxiliary screen and the third auxiliary screen are loaded through related applications, and the display and the hiding of the navigation bar and the status bar are not controlled by the system of the vehicle machine, namely the system of the vehicle machine can only control the display and the hiding of the navigation bar and the status bar of the main screen and cannot control the display and the hiding of the navigation bar and the status bar of the second auxiliary screen and the third auxiliary screen, so that the range of a system control picture of the vehicle machine is small, and the universality is not good enough.
Disclosure of Invention
In view of the above, a display method of a plurality of screens on an electronic device, a storage medium, and an electronic device that overcome or at least partially solve the above problems are proposed.
The invention aims to simultaneously display each display interface on the corresponding screen so as to meet the visual perception of related personnel.
According to an aspect of the present invention, there is provided a method for displaying a plurality of screens on an electronic device, including:
acquiring screen identifications of screens connected with electronic equipment;
matching each screen identification with the corresponding relation between the pre-customized screen identification and the display interface of the screen to obtain the display interface corresponding to each screen;
and simultaneously displaying each display interface on the corresponding screen.
Optionally, the display interface comprises a screen desktop;
the correspondence is customized in the following way:
respectively corresponding each screen identification to each screen desktop;
respectively customizing corresponding execution processes for the screen desktops;
respectively configuring the view display application of each screen desktop into the corresponding execution process;
simultaneously displaying each display interface on a corresponding screen, wherein the method comprises the following steps:
and respectively loading the view display application configured by each execution process and simultaneously displaying the view display application on the corresponding screen.
Optionally, the display interface comprises a status bar and/or a navigation bar;
the correspondence is customized by:
respectively corresponding each screen identification to each status bar and/or navigation bar;
simultaneously displaying each display interface on a corresponding screen, wherein the method comprises the following steps:
and simultaneously displaying each status bar and/or navigation bar on a corresponding screen according to the screen identification corresponding to each status bar and/or navigation bar.
Optionally, the status bar and/or the navigation bar are respectively customized with corresponding marking bits; wherein the marker bits comprise a display state for displaying the status bar and/or the navigation bar and a hidden state for hiding the status bar and/or the navigation bar;
simultaneously displaying each status bar and/or navigation bar on a screen corresponding thereto, including:
acquiring marking bits of each status bar and/or navigation bar;
and simultaneously displaying the status bar and/or the navigation bar with the marking position being the display state on a corresponding screen.
Optionally, the electronic device is a vehicle infotainment system host.
According to another aspect of the present invention, there is also provided a machine-readable storage medium having stored thereon a machine-executable program which, when executed by a processor, implements a method of displaying a plurality of screens on an electronic device according to any one of the above.
According to still another aspect of the present invention, the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a control program, and the control program is used for realizing the display method of multiple screens on the electronic device according to any one of the above mentioned items when the processor executes the control program.
In the method for displaying the plurality of screens on the electronic equipment, the screen identifications of the screens connected with the electronic equipment are obtained, the screen identifications are matched with the corresponding relation between the pre-customized screen identifications and the display interfaces of the screens to obtain the display interfaces corresponding to the screens, and the display interfaces are simultaneously displayed on the screens corresponding to the display interfaces. Moreover, the time length required by the display mode of the invention is shorter than the time length required by the mode of displaying the display interfaces of the screens one by one, so that a user can know the interface information on each screen more quickly.
Furthermore, each status bar and/or navigation bar is simultaneously displayed on the corresponding screen according to the screen identification corresponding to each status bar and/or navigation bar, so that the control of the system of the electronic equipment on the status bars and/or navigation bars of each screen is realized, the control range of the system of the electronic equipment is expanded, and the screen desktop of the screen and each status bar and/or navigation bar are independently controlled respectively.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a method of displaying multiple screens on an electronic device according to one embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart of a display method of a plurality of screens on an electronic device according to one embodiment of the present invention. The display method may include the following steps S102 to S106:
step S102: acquiring screen identifications of screens connected with the electronic equipment. In this step, the number of screens may be plural, for example, 2, 3, 5 or more. Each screen has its own unique screen identification.
Step S104: and matching the screen identifications with the corresponding relation between the pre-customized screen identification and the display interface of the screen to obtain the display interface corresponding to each screen.
Step S106: and simultaneously displaying each display interface on the corresponding screen. The step can be specifically understood as loading the corresponding display interfaces on the screens at the same time.
In this embodiment, the screen identifiers of the screens connected to the electronic device are obtained, the screen identifiers are matched with the corresponding relationship between the screen identifiers and the display interfaces of the screens customized in advance, the display interfaces corresponding to the screens are obtained, and the display interfaces are displayed on the screens corresponding to the display interfaces at the same time. Moreover, the time length required by the display mode of the embodiment is shorter than the time length required by the mode of displaying the display interfaces of the screens one by one, so that a user can know the interface information on each screen more quickly.
In one embodiment of the invention, the display interface may include a screen desktop;
the correspondence may be customized in the following manner:
respectively corresponding each screen identification to each screen desktop;
respectively customizing corresponding execution processes for the screen desktops;
respectively configuring the view display application of each screen desktop into the corresponding execution process;
displaying each display interface on the corresponding screen at the same time, which may include:
and respectively loading the configured view display application through each execution process and simultaneously displaying the view display application on a corresponding screen.
In this embodiment, the system of the electronic device may be an android system, and of course, may also be another type of system. When the system of the electronic equipment is an android system, the number of screens can be acquired from the screen management service when the system of the electronic equipment is started. After the system is started, when an application management core service (ATMS) system receives an instruction of systemweady, a startHomeActivity method can be called to start a program of a screen desktop, and the number of screens and screen identifiers connected with the electronic device can be traversed in the process of starting the program of the screen desktop. And determining the execution process corresponding to the traversed screen identification according to the corresponding relation between the screen identification and the execution process (Action), loading the configured view display application through each execution process, and simultaneously displaying the view display application on the corresponding screen. In general, each Action may be defined in intent. For example, the number of the screens is 3, and the screens are respectively a main screen, a first auxiliary screen and a second auxiliary screen. The corresponding relationship between the screen identifier, the screen desktop and the Action can be shown in the following table 1:
TABLE 1
Screen Screen desktop Action
Main screen (Mark 0) Main screen desktop CATEGORY_LAUNCHER
First auxiliary screen (identification 1) First sub-screen desktop CATEGORY_SECONDARY_HOME
Second auxiliary screen (identification 2) Second auxiliary screen table top CATEGORY_THIRDARY_HOME
The view display application of the screen desktop can be configured in the Activity XML of the Action corresponding to the view display application, and after configuration, the view display application corresponding to the screen can be determined according to the Action without considering the corresponding relation between the screen and the view display application. The view display applications of each screen desktop are respectively configured to the corresponding actions as shown in table 2 below, where 0, 1, and 2 below the screen desktop in table 2 are screen identifiers corresponding to the screen desktop:
TABLE 2
Screen desktop View display application Activity XML
0 Home screen view display application CATEGORY_LAUNCHER
1 First sub-screen view display application CATEGORY_SECONDARY_HOME
2 Second sub-screen view display application CATEGORY_THIRDARY_HOME
In one embodiment of the invention, the display interface may include a status bar and/or a navigation bar;
the correspondence may be customized in the following manner:
respectively corresponding each screen identification to each status bar and/or navigation bar;
displaying each display interface on the corresponding screen at the same time, which may include:
and simultaneously displaying each status bar and/or navigation bar on the corresponding screen according to the screen identification corresponding to each status bar and/or navigation bar.
In the embodiment, each screen identifier corresponds to each status bar and/or navigation bar, and each status bar and/or navigation bar is simultaneously displayed on the screen corresponding to the status bar and/or navigation bar according to the screen identifier corresponding to each status bar and/or navigation bar, so that the control of the electronic equipment system on the status bar and/or navigation bar of each screen is realized, the control range of the electronic equipment system is expanded, and the screen desktop of the screen and each status bar and/or navigation bar are independently controlled respectively.
Specifically, during the system start process of the electronic device, the system starts the SystemUI (the SystemUI is a system-level application). In the system ui starting process, the core services of the status bar and/or the navigation bar can be loaded, and at the same time, systemuugs, which are plug-ins for controlling the status bar and the navigation bar to display, can be loaded through reflection. The system UI can acquire the number of screens from the screen management service when loading the core service of the status bar and/or the navigation bar, traverse the screen identification of the screens, and attach the screen identification of the screens when loading the system UIPlugs through reflection, so that the status bar and/or the navigation bar corresponding to the screen identification can be loaded according to different screen identifications when the system UIPlugs load the views of the status bar and/or the navigation bar. The manner in which each screen id corresponds to each status bar and/or navigation bar, respectively, may be as shown in table 3 below:
TABLE 3
Screen SystemUI SystemUIPlugs
0 Views of a home screen status bar and/or navigation bar Status bar and/or navigation bar of home screen
1 Views of a first secondary screen status bar and/or navigation bar Status bar and/or navigation bar of first auxiliary screen
2 Views of a second sub-screen status bar and/or navigation bar Status bar and/or navigation bar of second sub-screen
In one embodiment of the invention, the status bar and/or the navigation bar may be customized with corresponding flag bits, respectively; wherein the marker bits may include a display status for displaying the status bar and/or the navigation bar and a hidden status for hiding the status bar and/or the navigation bar;
simultaneously displaying each status bar and/or navigation bar on a screen corresponding to each status bar and/or navigation bar may include:
acquiring the marking bit of each status bar and/or navigation bar;
and simultaneously displaying the status bar and/or the navigation bar marked with the display status on the corresponding screen.
In the embodiment, the mark positions of the status bars and/or the navigation bars are obtained, and the status bars and/or the navigation bars with the mark positions in the display states are simultaneously displayed on the corresponding screens, so that the display or hiding of the status bars and/or the navigation bars on the screens is independently controlled, the adaptation cost is reduced, and finally, the immersive processing of each screen can be realized.
Specifically, for example, the flag bit (flag) of each status bar and/or navigation bar may be customized in the setsystemuivissibility method in view. The status bar and/or the navigation bar may be customized with corresponding flag bits as shown in table 4 below. The mark may be "true" or "false", may also be "1" or "0", and may also be two other different marks, which are not specifically limited herein. For example, if "xxx" of the flag bit is "true", it indicates a display state, and if "false", it indicates a hidden state. In addition to the independent control of the display and hiding of each status bar and/or navigation bar, the properties of background color and transparency of each status bar and/or navigation bar can be independently modified.
TABLE 4
Screen Flag bit (Flag) Status bar and/or navigation bar
0 View.xxx Whether or not to display
1 View.xxx Whether or not to display
2 View.xxx Whether or not to display
In one embodiment of the present invention, the electronic device may be a vehicle-mounted infotainment system host (car machine for short).
In this embodiment, the electronic device may also be any other device capable of connecting multiple screens.
Based on the same concept, the invention also provides a machine-readable storage medium. The machine-readable storage medium has stored thereon a machine-executable program which, when executed by a processor, implements a method of displaying a plurality of screens on an electronic device according to any one of the above embodiments.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and referring to fig. 2, based on the same concept, the present invention further provides an electronic device 200. The electronic device 200 may comprise a memory 201 and a processor 202, wherein the memory 201 stores a control program, and the control program is used for implementing the display method of the plurality of screens on the electronic device according to any one of the above embodiments when the control program is executed by the processor 202. The electronic device 200 may be a vehicle, or may be other devices that can be connected to a plurality of screens respectively for display.
The above embodiments can be combined at will, and according to any one of the above preferred embodiments or a combination of multiple preferred embodiments, the embodiments of the present invention can achieve the following beneficial effects:
in the method for displaying the plurality of screens on the electronic equipment, the screen identifications of the screens connected with the electronic equipment are obtained, the screen identifications are matched with the corresponding relation between the pre-customized screen identifications and the display interfaces of the screens to obtain the display interfaces corresponding to the screens, and the display interfaces are simultaneously displayed on the screens corresponding to the display interfaces. Moreover, the time length required by the display mode of the invention is shorter than the time length required by the mode of displaying the display interfaces of the screens one by one, so that a user can know the interface information on each screen more quickly.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (4)

1. A display method of a plurality of screens on electronic equipment is provided, a system of the electronic equipment is an android system, and the display method comprises the following steps:
acquiring screen identifications of screens connected with electronic equipment;
matching each screen identification with the corresponding relation between the pre-customized screen identification and the display interface of the screen to obtain the display interface corresponding to each screen;
simultaneously displaying each display interface on a corresponding screen;
wherein the display interface comprises a screen desktop;
the correspondence is customized in the following way:
respectively corresponding each screen identification to each screen desktop;
respectively customizing corresponding execution processes for the screen desktops;
respectively configuring the view display application of each screen desktop into the corresponding execution process;
simultaneously displaying each display interface on a corresponding screen, wherein the method comprises the following steps:
loading the configured view display application through each execution process respectively, and displaying the view display application on a corresponding screen at the same time;
and, the display interface includes a status bar and/or a navigation bar;
the correspondence is customized in the following way:
respectively corresponding each screen identification to each status bar and/or navigation bar;
simultaneously displaying each display interface on a corresponding screen, wherein the method comprises the following steps:
simultaneously displaying each status bar and/or navigation bar on a corresponding screen according to the screen identification corresponding to each status bar and/or navigation bar;
the method for displaying the status bars and/or the navigation bars on the corresponding screens simultaneously according to the screen identifications corresponding to the status bars and/or the navigation bars comprises the following steps:
the method comprises the steps that a SystemUI is started, core services of a status bar and/or a navigation bar are loaded in the starting process of the SystemUI, systemUI can load SystemUIPlugs through reflection, the quantity of screens is acquired from screen management services when the core services of the status bar and/or the navigation bar are loaded by the SystemUI, screen identifications of the screens are traversed, and the screen identifications of the screens are attached when the SystemPlugs are loaded through reflection, so that the status bar and/or the navigation bar corresponding to the screen identifications are loaded according to different screen identifications when the SystemUIPlugs load views of the status bar and/or the navigation bar;
and the status bar and/or the navigation bar are respectively customized with corresponding marking bits; wherein the marker bits comprise a display state for displaying the status bar and/or the navigation bar and a hidden state for hiding the status bar and/or the navigation bar;
simultaneously displaying each status bar and/or navigation bar on a screen corresponding thereto, including:
acquiring marking bits of each status bar and/or navigation bar;
and simultaneously displaying the status bar and/or the navigation bar with the marking position being the display state on a corresponding screen.
2. The display method according to claim 1,
the electronic equipment is a vehicle-mounted information entertainment system host.
3. A machine-readable storage medium having stored thereon a machine-executable program which, when executed by a processor, implements a method of displaying a plurality of screens on an electronic device according to any one of claims 1 to 2.
4. An electronic device comprising a memory and a processor, the memory having stored therein a control program for implementing a display method of a plurality of screens on the electronic device according to any one of claims 1 to 2 when the control program is executed by the processor.
CN202211240552.0A 2022-10-11 2022-10-11 Method for displaying multiple screens on electronic device, storage medium, and electronic device Active CN115328430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211240552.0A CN115328430B (en) 2022-10-11 2022-10-11 Method for displaying multiple screens on electronic device, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211240552.0A CN115328430B (en) 2022-10-11 2022-10-11 Method for displaying multiple screens on electronic device, storage medium, and electronic device

Publications (2)

Publication Number Publication Date
CN115328430A CN115328430A (en) 2022-11-11
CN115328430B true CN115328430B (en) 2023-03-24

Family

ID=83914058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211240552.0A Active CN115328430B (en) 2022-10-11 2022-10-11 Method for displaying multiple screens on electronic device, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN115328430B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7028264B2 (en) * 1999-10-29 2006-04-11 Surfcast, Inc. System and method for simultaneous display of multiple information sources
JP5263419B2 (en) * 2012-03-08 2013-08-14 セイコーエプソン株式会社 Image supply apparatus, image display control program, and image display control method
CN106775526A (en) * 2016-12-06 2017-05-31 青岛海信移动通信技术股份有限公司 Interface display control method and device
CN112579014A (en) * 2019-09-27 2021-03-30 宝能汽车集团有限公司 Multi-screen display method and system based on Hypervisor, vehicle and storage medium
CN114637480A (en) * 2020-12-15 2022-06-17 博泰车联网科技(上海)股份有限公司 Method, apparatus, system, and medium for screen display
CN113377315A (en) * 2021-06-29 2021-09-10 广州小鹏汽车科技有限公司 Multi-screen management method and device, electronic equipment and storage medium
CN113360120B (en) * 2021-07-02 2023-04-07 亿咖通(湖北)技术有限公司 Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product
CN113608812A (en) * 2021-08-10 2021-11-05 湖北亿咖通科技有限公司 Remote control method, device, system and storage medium

Also Published As

Publication number Publication date
CN115328430A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
US7079166B1 (en) Graphical user interface with enhanced operations when changing display screen
US20090128844A1 (en) System of a plurality of image forming apparatuses, display method therein and server directed thereto
US8799790B2 (en) Computer-readable recording medium storing driver program, image forming system, image forming apparatus, method for controlling image forming apparatus, and driver program
JP4723010B2 (en) Server device, server / client system, server program, and recording medium recording the same
CN104516763B (en) A kind of startup method and device of application program
CN108984137B (en) Double-screen display method and system and computer readable storage medium
CN110641382B (en) Vehicle-mounted interface display method and device, electronic equipment and storage medium
US7747967B2 (en) Differential tree and dialog device settings menu
CN115328430B (en) Method for displaying multiple screens on electronic device, storage medium, and electronic device
CN112448832B (en) Household appliance network distribution method, device and equipment
CN110971965B (en) Intelligent display equipment association method, device and system and computer storage medium
US20040080545A1 (en) Method for dynamic accessibility of a drop-down selection in a GUI combobox construct
US20040267973A1 (en) Device and host machine
US20120226828A1 (en) Information processing apparatus, information processing method, and computer program product
CN109388466A (en) Using display processing method, device and the equipment for recommending position
US20040153751A1 (en) Data processing apparatus
US8139251B2 (en) Method and apparatus for connecting image forming apparatus with multiple host devices
CN109189294B (en) Control method and device of electronic control equipment and computer readable storage medium
CN105991867A (en) Image forming apparatus and image forming method
CN107872598A (en) Image forming apparatus
CN114415993A (en) Screen splitting method and device for multi-system application, electronic equipment and storage medium
US8732659B2 (en) Method, apparatus and storage medium for customizing application
JPH05233656A (en) News item interlocking type electronic-ordering method
US20020067375A1 (en) Goal-orinted design for the printer proprety's graphical user interface
US5566286A (en) Method and apparatus for verifying dimensional values of a drawing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant