CN112346804B - Status bar display system and method for linux-android dual-system terminal - Google Patents

Status bar display system and method for linux-android dual-system terminal Download PDF

Info

Publication number
CN112346804B
CN112346804B CN202011177353.0A CN202011177353A CN112346804B CN 112346804 B CN112346804 B CN 112346804B CN 202011177353 A CN202011177353 A CN 202011177353A CN 112346804 B CN112346804 B CN 112346804B
Authority
CN
China
Prior art keywords
status bar
linux
android
display
state
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
CN202011177353.0A
Other languages
Chinese (zh)
Other versions
CN112346804A (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.)
Wuhan Bluestar Technology Co Ltd
Original Assignee
Wuhan Bluestar Technology 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 Wuhan Bluestar Technology Co Ltd filed Critical Wuhan Bluestar Technology Co Ltd
Priority to CN202011177353.0A priority Critical patent/CN112346804B/en
Publication of CN112346804A publication Critical patent/CN112346804A/en
Application granted granted Critical
Publication of CN112346804B publication Critical patent/CN112346804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a status bar display system and method of a linux-android dual system terminal, wherein the system comprises the following components: drawing an application display interface of the current display system on a second graphic cache by the currently displayed linux system or the android system; the Android system status bar module acquires status information required to be displayed by the Android system and sends the status information to the Linux system status bar module through the cross-system communication module; the Linux system status bar module respectively draws a Linux system status icon, an Android system status icon and a Linux system status bar background on the corresponding area of the first graph cache; the screen layered display module synthesizes the first graphic cache and the second graphic cache after drawing and displays the synthesized graphic cache; when the dual-system terminal is used, a user can observe the state information of the two systems on one state bar at the same time, the requirement that the two system states are displayed on a dual-system terminal interface at the same time is conveniently and efficiently solved, the UI style of the state bar and the current display application is unified, and the display state synchronization of the dual-system terminal state bar is realized.

Description

Status bar display system and method for linux-android dual-system terminal
Technical Field
The invention relates to the technical field of electronic information, in particular to a status bar display system and method for a linux-android dual-system terminal.
Background
The Linux-Android dual-system terminal has the Linux system state display requirement and the Android system state display requirement at the same time. And the status bar program of a single Linux system or a single Android system cannot meet the requirement of checking the statuses of the two systems at the same time.
On android 4.4, the concept of "immersive status bar" is brought up, i.e., the status bar changes color adaptively according to the current interface display content. In the dual-system terminal, when the status bar program of the single Linux system or the single Android system cannot be displayed in the application of the other system, the immersive status bar effect is achieved. This will result in the status bar color splitting from the application interface theme color, the page being unsightly, and reduced user experience.
The status bar of the dual-system terminal receives the display and hiding requests from the two systems, and a management method is needed to realize the synchronization of the display status of the status bar.
In view of the above problems, it is necessary to provide a status bar display system and method for a linux-android dual-system terminal.
Disclosure of Invention
The invention provides a status bar display system and method of a linux-android dual-system terminal, aiming at the technical problems in the prior art, and solves the problems in the prior art.
The technical scheme for solving the technical problems is as follows: a status bar display system of a linux-android dual system terminal comprises: the system comprises a Linux system status bar module, an Android system status bar module, a cross-system communication module, a first graph cache, a second graph cache and a screen layered display module;
when the linux-android dual systems of the terminal are in the running state, drawing an application display interface of a current display system on the second graphic cache by the currently displayed linux system or android system; the Android system status bar module acquires status information required to be displayed by an Android system and then sends the status information to the Linux system status bar module through the cross-system communication module; the Linux system status bar module is used for respectively drawing a Linux system status icon, an Android system status icon and a Linux system status bar background in a corresponding area of the first graphic cache;
and the screen layered display module synthesizes the first graphic cache and the second graphic cache after drawing and displays the synthesized graphic cache.
A status bar display method of a linux-android dual system terminal is provided, and when the linux-android dual systems of the terminal are in an operating state, the status bar display method comprises the following steps:
drawing an application display interface of a current display system on the second graphic cache by the linux system or the android system currently displayed by the terminal;
acquiring state information required to be displayed by the Linux system from a service process and an application process of the Linux system;
finding a state icon corresponding to the state information required to be displayed by the Linux system, and drawing the Linux system state icon and the Linux system state bar background on a first graph cache;
acquiring state information required to be displayed by the Android system from a service process and an application process of the Android system;
finding a state icon corresponding to the state information required to be displayed by the Android system, and sending the state icon of the Android system across systems;
drawing the received Android system state icon on a first graph cache;
and synthesizing the first graphic cache and the second graphic cache after drawing and displaying.
The invention has the beneficial effects that: according to the status bar display system and method of the linux-android dual-system terminal, when the dual-system terminal is used, a user can observe the status information of the two systems on one status bar at the same time, the requirement that the two system terminal interfaces display the status of the two systems at the same time is conveniently and efficiently solved, the UI style of the status bar and the current display application is unified, and the display status synchronization of the dual-system terminal status bars is realized.
On the basis of the technical scheme, the invention can be improved as follows.
Further, when the system currently displayed by the terminal is a Linux system;
and the background of the Linux system status bar is set to be in an opaque or semitransparent state.
Further, when the system currently displayed by the terminal is an Android system;
the Linux system status bar module sets the background of the Linux system status bar in a completely transparent state;
the Android system status bar module draws an Android system status bar background on the second graph cache, and the Android system status bar background is set to be in an opaque or semitransparent state.
Further, the Linux system status bar module/Android system status bar module receives and responds to a status bar display or hiding request from the dual-system application program to display or hide the Linux system status bar/Android system status bar.
Further, the screen layered display module comprises a first screen display layer and a second screen display layer, and the contents of the first graphic cache and the second graphic cache are respectively displayed in the first screen display layer and the second screen display layer correspondingly;
when the screen layering display module carries out layer composition on the first screen display layer and the second screen display layer, the display content of the first screen display layer covers or transparently overlaps the display content of the second screen display layer.
Further, the status bar display method further comprises:
deleting the repeated state icons of the Linux system and the Android system, wherein the repeated state icons comprise: a time icon, a network status icon, a USB flash disk status icon, a Bluetooth status icon, and a gps status icon.
Further, when the system currently displayed by the terminal is a Linux system;
when the Linux system state icon and the Linux system state bar background are drawn on the first graphic cache, the Linux system state bar background is set to be in an opaque or semi-transparent state.
Further, when the system currently displayed by the terminal is an Android system;
when the Linux system state icon and the Linux system state bar background are drawn on the first graph cache, setting the Linux system state bar background to be in a completely transparent state;
and when the received Android system status icon is drawn on the first graph cache, drawing an Android system status bar background on the second graph cache, wherein the Android system status bar background is set to be in an opaque or semitransparent state.
Further, the status bar display method further comprises:
and when a Linux system status bar display or hiding request from a Linux application process or a Linux system service is received, displaying or hiding the Linux system status bar.
And when receiving an Android system status bar display or hiding request from an Android application process or an Android system service, remotely calling a status bar display or hiding method of the Linux system across the system to display or hide the Android system status bar.
The beneficial effect of adopting the further scheme is that: the background of the status bar is always consistent with the display style of the current application interface; the status bar can respond to display and hiding requests sent by the two system applications, and user experience can be greatly improved.
Drawings
FIG. 1 is an interactive illustration of a portion of modules of a status bar display system according to an embodiment of the present invention;
FIG. 2 is a schematic drawing area diagram of a status bar program module of the linux system according to an embodiment of the present invention;
fig. 3 is a schematic drawing area diagram of a status bar program module of an Android system according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating Android application interface display synthesis according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a status bar displaying method of a linux-android dual system terminal according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating an embodiment of a method for keeping a unified UI on a display interface when a current display system of a terminal is a Linux system according to the present invention;
fig. 7 is a flowchart of an embodiment of a method for keeping a UI uniform in a display interface when a current display system of a terminal is an Android system according to the present invention;
FIG. 8 is a flowchart of a method for responding to a Linux status bar hiding request according to the present invention;
FIG. 9 is a flowchart of a method for responding to a Linux status bar display request according to the present invention;
FIG. 10 is a flowchart illustrating a method for responding to an Android status bar hiding request according to the present invention;
fig. 11 is a flowchart of a method for responding to an Android status bar hiding request according to the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
The invention provides a status bar display system of a linux-android dual system terminal, which comprises the following components: the system comprises a Linux system status bar module, an Android system status bar module, a cross-system communication module, a first graph cache, a second graph cache and a screen layered display module.
When the linux-android dual systems of the terminal are in an operating state, drawing an application display interface of a current display system on a second graphic cache by the currently displayed linux system or android system; the Android system status bar module acquires status information required to be displayed by the Android system and then sends the status information to the Linux system status bar module through the cross-system communication module; and the Linux system status bar module respectively draws a Linux system status icon, an Android system status icon and a Linux system status bar background in the corresponding area of the first graph cache.
Specifically, the cross-system communication module is used for realizing data interaction and state synchronization of the Linux system status bar module and the Android system status bar module.
The Linux system status bar module draws an Android system status icon according to the status information which needs to be displayed by the Android system and is received from the cross-system communication module; and drawing a Linux system state icon according to the state information which is acquired from the Linux system and needs to be displayed by the Linux system.
And the screen layered display module synthesizes the first graphic cache and the second graphic cache after drawing and displays the synthesized graphic cache.
The invention also provides a status bar display method of the terminal of the linux-android dual system, when the linux-android dual systems of the terminal are in the running state, the status bar display method comprises the following steps:
and drawing an application display interface of the current display system on the second graphic cache by the linux system or the android system currently displayed by the terminal.
And acquiring the state information required to be displayed by the Linux system from the service process and the application process of the Linux system.
And finding a state icon corresponding to the state information required to be displayed by the Linux system, and drawing the Linux system state icon and the Linux system state bar background on the first graphic cache.
And acquiring state information required to be displayed by the Android system from a service process and an application process of the Android system.
And finding a state icon corresponding to the state information required to be displayed by the Android system, and sending the Android system state icon across systems.
And drawing the received Android system state icon on a first graph cache.
And synthesizing the first graphic cache and the second graphic cache after drawing and displaying.
As shown in fig. 1, which is an interaction schematic diagram of a part of modules of a status bar display system according to an embodiment of the present invention, according to the status bar display system and method of a linux-android dual system terminal provided in the present invention, when a dual system terminal is used, a user can observe status information of two systems on one status bar at the same time, so as to conveniently and efficiently solve a problem that an interface of the dual system terminal needs to display statuses of the two systems at the same time, unify UI styles of the status bar and a currently displayed application, and implement synchronization of display statuses of status bars of the dual system terminal.
Example 1
Embodiment 1 provided by the present invention is an embodiment of a status bar display system of a linux-android dual system terminal, the embodiment of the status bar display system including: the system comprises a Linux system status bar module, an Android system status bar module, a cross-system communication module, a first graph cache, a second graph cache and a screen layered display module.
When the linux-android dual systems of the terminal are in the running state, drawing an application display interface of a current display system on a second graphic cache by the currently displayed linux system or android system; the Android system status bar module acquires status information required to be displayed by the Android system and then sends the status information to the Linux system status bar module through the cross-system communication module; and the Linux system status bar module is used for respectively drawing a Linux system status icon, an Android system status icon and a Linux system status bar background in the corresponding area of the first graph cache.
Specifically, as shown in fig. 2 and fig. 3, which are schematic drawing areas of program modules of a Linux system status bar and an Android system status bar provided in the embodiments of the present invention, respectively, a Linux system status bar display area drawn by the Linux system status bar module is located above other interactive interfaces existing in the Linux system, transparency of a status icon and a Linux system status bar background in the Linux system status bar can be set by a user, and the Linux system status bar background can be changed in color adaptively according to the content of a currently displayed application in the Linux system.
And the screen layered display module synthesizes the first graphic cache and the second graphic cache after drawing and displays the synthesized graphic cache and the second graphic cache in a display screen. Fig. 4 is a schematic diagram illustrating Android application interface display synthesis according to an embodiment of the present invention.
Preferably, when the system currently displayed by the terminal is a Linux system.
The Linux system status bar background can be adaptively adjusted according to the application display interface and is set to be in an opaque or semi-transparent state.
The Android system status bar module does not draw status bar icons and status bar backgrounds, and the status bar backgrounds are set to be completely transparent.
And when the system currently displayed by the terminal is an Android system.
And the Linux system status bar module sets the background of the Linux system status bar in a completely transparent state.
And the Android system status bar module draws an Android system status bar background on the second graph cache, and the Android system status bar background is adaptively adjusted according to the application display interface and is set to be in an opaque or semitransparent state.
And the display areas of the Android system status bar background and the Linux system status bar background are completely overlapped on the display screen.
Specifically, the Android status bar display area drawn by the Android system status bar module is located above other interactive interfaces existing in the Android system, the transparency of the background of the Android system status bar can be set in a user-defined mode, and the background of the Android system status bar can be changed in color in an adaptive mode according to the content of the current display application of the Android system.
Further, the Linux system status bar module/Android system status bar module receives and responds to a status bar display or hiding request from the dual-system application program to display or hide the Linux system status bar/Android system status bar.
Furthermore, the screen layered display module comprises a first screen display layer and a second screen display layer, and the contents of the first graphic cache and the second graphic cache are respectively displayed in the first screen display layer and the second screen display layer correspondingly.
When the screen layered display module performs layer composition on the first screen display layer and the second screen display layer, the display content of the first screen display layer covers or transparently superposes the display content of the second screen display layer.
The display content of the second screen display layer can be seen through the display content of the first screen display layer.
Example 2
Embodiment 2 provided by the present invention is an embodiment of a status bar display method for a linux-android dual system terminal provided by the present invention, and as shown in fig. 5, is a flowchart of an embodiment of a status bar display method for a linux-android dual system terminal provided by the present invention, and as can be seen from fig. 5, the embodiment of the status bar display method includes:
deleting repeated state icons of the Linux system and the Android system, wherein the repeated state icons comprise: a time icon, a network status icon, a U-disk status icon, a Bluetooth status icon, a gps status icon, etc.
When the linux-android dual systems of the terminal are in the running state, the status bar display method comprises the following steps:
and drawing an application display interface of the current display system on the second graphic cache by the linux system or the android system currently displayed by the terminal.
And acquiring the state information required to be displayed by the Linux system from the service process and the application process of the Linux system.
And finding a state icon corresponding to the state information required to be displayed by the Linux system, and drawing the Linux system state icon and the Linux system state bar background on the first graphic cache.
And acquiring state information required to be displayed by the Android system from a service process and an application process of the Android system.
And finding a state icon corresponding to the state information required to be displayed by the Android system, and sending the Android system state icon across systems.
And drawing the received Android system state icon on a first graph cache.
And synthesizing the first graphic cache and the second graphic cache after drawing and then displaying the synthesized graphic caches in a display screen.
Specifically, when the system currently displayed by the terminal is a Linux system, and when a Linux system state icon and a Linux system state bar background are drawn on the first graphic cache, the Linux system state bar background can be adaptively adjusted according to the application display interface and is set to be in an opaque or semitransparent state.
The Android system status bar module does not draw status bar icons and status bar backgrounds, and the status bar backgrounds are set to be completely transparent.
Specifically, as shown in fig. 6, which is a flowchart of an embodiment of a method for keeping a UI uniform on a display interface when a current display system of a terminal is a Linux system according to the present invention, as can be seen from fig. 6, the embodiment of the method for keeping a UI uniform on a display interface when a current display system of a terminal is a Linux system includes:
and S200, occupying a second graphic cache by an application program of the Linux system and drawing an application display interface.
S201, the Linux system status bar module draws an Android system status icon, a Linux system status icon and a Linux system status bar background on the first graph cache.
S202, adaptively adjusting the background of the Linux system status bar according to the application display interface, and setting the Linux system status bar to be in an opaque or semi-transparent state.
And S203, the Android system status bar module does not draw the status bar icon and the status bar background, and the status bar background is set to be completely transparent.
And S204, the screen layered display module synthesizes the first graphic cache after drawing and the second graphic cache after drawing, and displays the synthesized graphic cache in a display screen.
When the system currently displayed by the terminal is an Android system, the Linux system status bar background is set to be in a completely transparent state when the Linux system status icon and the Linux system status bar background are drawn on the first graph cache.
And when the received Android system status icon is drawn on the first graphic cache, drawing an Android system status bar background on the second graphic cache, wherein the Android system status bar background is adaptively adjusted according to an application display interface and is set to be in an opaque or semitransparent state.
And the display areas of the Android system status bar background and the Linux system status bar background are completely overlapped on the display screen.
Specifically, as shown in fig. 7, a flowchart of an embodiment of a method for keeping a UI uniform on a display interface when a current display system of a terminal is an Android system provided by the present invention is shown, and as can be seen from fig. 7, the embodiment of the method for keeping a UI uniform on a display interface when a current display system of a terminal is an Android system includes:
and S300, the application program of the Android system occupies a second graph cache and performs application display interface drawing.
And S301, drawing the Android system state icon and the Linux system state icon on the first graphic cache by the Linux system state bar module.
S302, the Linux system status bar module sets the Linux system status bar background to be completely transparent.
And S303, the Android system status bar module draws an Android system status bar background on the second graph cache, and a status bar background display area drawn by the Android system status bar module is completely overlapped with a status bar background display area drawn by the Linux system status bar module on the display screen.
And S304, adaptively adjusting the Android system status bar background according to the application display interface, and setting the Android system status bar background to be in an opaque or semitransparent state.
S305, the screen layering display module synthesizes the first graphic cache after drawing and the second graphic cache after drawing, and displays the synthesized graphic in a display screen.
Further, the status bar display method further comprises:
and when a Linux system status bar display or hiding request from a Linux application process or a Linux system service is received, displaying or hiding the Linux system status bar.
Specifically, as shown in fig. 8 and fig. 9, which are flowcharts of a method for responding to a Linux status bar hiding request and a Linux status bar displaying request provided by the present invention, it can be known from fig. 8 and fig. 9 that:
the response process when the Linux system status bar hiding request is received comprises the following steps:
s401, the Linux system status bar module receives a status bar hiding request from a Linux application process or a Linux system service.
S402, the Linux system status bar module responds to the status bar hiding request, executes the status bar hiding method and hides the Linux system status bar.
The response process for receiving the Linux system status bar display request comprises the following steps:
s501, the Linux system status bar module receives a status bar display request from a Linux application process or a Linux system service.
And S502, responding to the status bar display request by the Linux system status bar module, executing the status bar display method and displaying the Linux system status bar.
And when receiving an Android system status bar display or hiding request from an Android application process or an Android system service, remotely calling a status bar display or hiding method of the Linux system across the system to display or hide the Android system status bar.
Specifically, as shown in fig. 10 and fig. 11, which are flowcharts of a method for responding to an Android system bar hiding request and an Android system bar displaying request provided by the present invention, it can be known from fig. 10 and fig. 11 that:
the response process of receiving the Android system status bar hiding request comprises the following steps:
s601, the Android system status bar module receives a status bar hiding request from an Android application process or an Android system service.
And S602, responding to the status bar hiding request by the Android system status bar module, and remotely calling a status bar hiding method of the Linux system status bar module through the cross-system communication module.
S603, the Linux system status bar module executes the status bar hiding method to hide the Linux system status bar.
And S604, hiding the Android system status bar by the Android system status bar module.
The response process of receiving the Android system status bar display request comprises the following steps:
s701, the Android system status bar module receives a status bar display request from an Android application process or an Android system service.
And S702, the Android system status bar module responds to the status bar display request, and the Android system status bar module displays the Android system status bar.
And S703, the Android system status bar module remotely calls a status bar display method of the Linux system status bar module through the cross-system communication module.
S704, the Linux system status bar module executes the status bar display method and displays the Linux system status bar.
Example 3
In embodiment 3 provided by the invention, wifi state information display is taken as an example, and the method for explaining the display operation of the wifi state information by the Linux-android dual-system-terminal-based Linux system state bar module comprises the following contents:
starting a Linux system, and running a Linux system desktop program, a Linux system wifi service process, a screen layered display module and a Linux system status bar module.
And drawing a desktop display interface in the second graphic cache by the Linux system desktop program.
And the Linux system status bar module draws a Linux system status bar background interface in the first graphic cache. The method comprises the following steps that a Linux system status bar module receives broadcast messages sent by a Linux system wifi service process; the Linux system status bar module analyzes the received broadcast message and acquires a wifi current state from the broadcast message; the Linux system status bar module selects a corresponding wifi status display icon according to the wifi current status; and the Linux system status bar module draws the selected wifi status display icon in the Linux status bar display area in the first graphic cache.
And the screen layered display module superimposes and synthesizes the Linux status bar drawn by the Linux system status bar module and the desktop display program drawn by the Linux system desktop program.
And starting the Android system and operating the Android system status bar module.
And operating an Android system application program, such as operating an Android system video playing application.
And stopping drawing by the Linux desktop application program, starting drawing an Android application display interface in the second graph cache by the Android system video playing application, and drawing a status bar display background in the second graph cache by the Android system status bar module.
The Linux system status bar module sets the background of the Linux system status bar to be completely transparent.
And the screen layered display module synthesizes the two graphic caches, so that the wifi state icon drawn by the Linux system status bar module and the Android system status bar background drawn by the Android system status bar module are displayed in a superimposed manner.
And performing full-screen video playing by using the Android system video playing application. And the Android system video playing application sends a status bar hiding request to the Android system status bar module.
The Android system status bar module receives a status bar hiding request from the Android system video playing application, stops the drawing operation on the second graph cache, and sets the Android status bar to be invisible; the Android system status bar module remotely calls a status bar hiding method of the Linux system status bar module through the cross-system communication module.
And the Linux system status bar module executes a status bar hiding method, stops the drawing operation on the first graph cache, and sets the Linux system status bar background and the wifi status icon to be completely transparent.
Quitting full-screen playing of the video of the Android system video playing application; and the Android system video playing application sends a status bar display request to the Android system status bar module.
The Android system status bar module receives a status bar display request from the Android system video playing application, resets the Android status bar interface to be visible, and draws a status bar display background in the second graphic cache; the Android system status bar module remotely calls a status bar display method of the Linux system status bar module through the cross-system communication module.
And the Linux system status bar module executes the status bar display method, draws the selected wifi status display icon in the Linux status bar display area in the first graphic cache, and sets the background of the Linux system status bar to be completely transparent.
Example 4
In embodiment 4 provided by the invention, an Android application status bar music icon display is taken as an example to explain a display operation method of a status bar display system based on a linux-Android dual system terminal on an Android system status bar music icon, which includes the following contents:
starting a Linux system, and operating a Linux system desktop program, a screen layered display module and a Linux system status bar module.
And drawing a desktop display interface in the second graphic cache by the Linux system desktop program.
The Linux system status bar module draws a Linux system status bar background interface in the first graphic cache; the Linux system status bar module acquires Linux system status information from a Linux system service process and an application process; and the Linux system status bar module draws a Linux system status display icon in the Linux status bar display area in the first graphic cache.
And the screen layered display module superimposes and synthesizes the Linux status bar drawn by the Linux system status bar module and the desktop display program drawn by the Linux system desktop program.
And starting the Android system, and running the Android system status bar module and the Android system music playing application.
And the Linux desktop application program stops drawing, the Android system music playing application starts to draw an Android application display interface in the second graph cache, and the Android system status bar module draws a status bar display background in the second graph cache.
The Linux system status bar module sets the background of the Linux system status bar to be completely transparent.
And the screen layered display module synthesizes the two graphic caches, so that the Linux system status icon drawn by the Linux system status bar module and the Android system status bar background drawn by the Android system status bar module are displayed in a superimposed manner.
And the Android system music playing software remotely calls an application icon display interface of the Android system status bar module and sends the Android application status bar music icon to the Android system status bar module.
The Android system status bar module sends the Android application status bar music icon to the Linux system status bar module through the cross-system communication module.
And the Linux system status bar module draws the Android application status bar music icon in the Linux status bar display area in the first graph cache.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.

Claims (6)

1. A status bar display system of a linux-android dual system terminal, the system comprising: the system comprises a Linux system status bar module, an Android system status bar module, a cross-system communication module, a first graph cache, a second graph cache and a screen layered display module;
when the linux-android dual systems of the terminal are in an operating state, drawing an application display interface of a current display system on the second graphic cache by the currently displayed android system; the Android system status bar module acquires status information required to be displayed by an Android system and then sends the status information to the Linux system status bar module through the cross-system communication module; the Linux system status bar module is used for respectively drawing a Linux system status icon, an Android system status icon and a Linux system status bar background in the corresponding area of the first graph cache;
the screen layered display module synthesizes the first graphic cache and the second graphic cache after drawing and displays the synthesized cache;
the Linux system status bar module sets the background of the Linux system status bar in a completely transparent state;
the Android system status bar module draws an Android system status bar background on the second graph cache, and the Android system status bar background is set to be in an opaque or semitransparent state.
2. The status bar display system of claim 1, wherein said Linux system status bar module/Android system status bar module receives and responds to status bar display or hide requests from the dual system application to display or hide the Linux system status bar/Android system status bar.
3. The status bar display system according to claim 1, wherein the screen hierarchy display module includes a first screen display layer and a second screen display layer, and contents of the first graphic cache and the second graphic cache are displayed in correspondence with the first screen display layer and the second screen display layer, respectively;
when the screen layered display module performs layer composition on the first screen display layer and the second screen display layer, the display content of the first screen display layer covers or transparently overlaps the display content of the second screen display layer.
4. A status bar display method of a linux-android dual system terminal is characterized in that when the linux-android dual systems of the terminal are all in an operating state, the status bar display method comprises the following steps:
drawing an application display interface of a current display system on a second graphic cache by the android system currently displayed by the terminal;
acquiring state information required to be displayed by the Linux system from a service process and an application process of the Linux system;
finding a state icon corresponding to the state information required to be displayed by the Linux system, and drawing the Linux system state icon and the Linux system state bar background on a first graph cache;
acquiring state information required to be displayed by the Android system from a service process and an application process of the Android system;
finding a state icon corresponding to the state information required to be displayed by the Android system, and sending the state icon of the Android system across systems;
drawing the received Android system state icon on a first graph cache;
synthesizing the first graphic cache and the second graphic cache after drawing and displaying;
when the Linux system state icon and the Linux system state bar background are drawn on the first graph cache, setting the Linux system state bar background to be in a completely transparent state;
and when the received Android system status icon is drawn on the first graph cache, drawing an Android system status bar background on the second graph cache, wherein the Android system status bar background is set to be in an opaque or semitransparent state.
5. The status bar display method according to claim 4, further comprising:
deleting the repeated state icons of the Linux system and the Android system, wherein the repeated state icons comprise: a time icon, a network status icon, a USB flash disk status icon, a Bluetooth status icon, and a gps status icon.
6. The status bar display method according to claim 4, further comprising:
when a Linux system status bar display or hiding request from a Linux application process or a Linux system service is received, displaying or hiding the Linux system status bar;
and when receiving an Android system status bar display or hiding request from an Android application process or an Android system service, remotely calling a status bar display or hiding method of the Linux system across the system to display or hide the Android system status bar.
CN202011177353.0A 2020-10-28 2020-10-28 Status bar display system and method for linux-android dual-system terminal Active CN112346804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011177353.0A CN112346804B (en) 2020-10-28 2020-10-28 Status bar display system and method for linux-android dual-system terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011177353.0A CN112346804B (en) 2020-10-28 2020-10-28 Status bar display system and method for linux-android dual-system terminal

Publications (2)

Publication Number Publication Date
CN112346804A CN112346804A (en) 2021-02-09
CN112346804B true CN112346804B (en) 2022-10-11

Family

ID=74355435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011177353.0A Active CN112346804B (en) 2020-10-28 2020-10-28 Status bar display system and method for linux-android dual-system terminal

Country Status (1)

Country Link
CN (1) CN112346804B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840271B (en) * 2021-09-27 2024-04-19 北京字节跳动网络技术有限公司 NFC data transmission method and device, electronic equipment and storage medium
CN114816624A (en) * 2022-04-02 2022-07-29 厦门亿联网络技术股份有限公司 Dual-system display interaction method and device
CN114756326B (en) * 2022-04-14 2024-06-04 重庆长安汽车股份有限公司 Vehicle-mounted terminal dual system and implementation method thereof
CN117472479A (en) * 2022-07-20 2024-01-30 华为技术有限公司 Display method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515226A (en) * 2008-02-19 2009-08-26 联想(北京)有限公司 Dual-system display method, notebook computer with assistant screen, and assistant display device
CN104796529A (en) * 2015-03-05 2015-07-22 宇龙计算机通信科技(深圳)有限公司 Dual systems-based unprocessed event warning method and system
CN106970808A (en) * 2017-02-14 2017-07-21 北京珠穆朗玛移动通信有限公司 The management method and mobile terminal of shortcut menu based on dual system
CN110517184A (en) * 2019-07-25 2019-11-29 武汉蓝星科技股份有限公司 A kind of graphic display method and device based on screen layering

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101186332B1 (en) * 2010-04-29 2012-09-27 엘지전자 주식회사 Portable MultiMedia Play Device, the System thereof and the Operation Controlling Method thereof
CN105872244A (en) * 2016-05-16 2016-08-17 北京珠穆朗玛移动通信有限公司 Dual-system terminal notification bar message display method and mobile terminal thereof
CN106293335A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 Application program grading management method and system
CN108255683B (en) * 2016-12-29 2021-06-22 华为技术有限公司 Method for prompting message in terminal and terminal
CN106874096A (en) * 2017-02-27 2017-06-20 北京珠穆朗玛移动通信有限公司 Application management method and mobile terminal based on dual system
EP3703465A1 (en) * 2019-02-27 2020-09-02 An-Tai Tsai Dual-network dual-system mobile device background of the invention

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515226A (en) * 2008-02-19 2009-08-26 联想(北京)有限公司 Dual-system display method, notebook computer with assistant screen, and assistant display device
CN104796529A (en) * 2015-03-05 2015-07-22 宇龙计算机通信科技(深圳)有限公司 Dual systems-based unprocessed event warning method and system
CN106970808A (en) * 2017-02-14 2017-07-21 北京珠穆朗玛移动通信有限公司 The management method and mobile terminal of shortcut menu based on dual system
CN110517184A (en) * 2019-07-25 2019-11-29 武汉蓝星科技股份有限公司 A kind of graphic display method and device based on screen layering

Also Published As

Publication number Publication date
CN112346804A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN112346804B (en) Status bar display system and method for linux-android dual-system terminal
CN106933587B (en) Layer drawing control method and device and mobile terminal
EP2658228B1 (en) Mobile terminal adapted to be connected to an external display and a method of controlling the same
EP2447819B1 (en) Mobile terminal and controlling method thereof
EP3779666B1 (en) Method of dividing screen areas and mobile terminal employing the same
CN102981894B (en) Display packing and electronic equipment
EP2797297B1 (en) Multi-zone interface switching method and device
CN106569667B (en) Customization method and customization device for live broadcast room
US20160191980A1 (en) Digital device and data processing method in digital device
CN104750450A (en) File sharing method in IM (Instant Messaging) and terminal
KR20140131863A (en) Terminal device and method for displaying an associated window thereof
CN106873871A (en) Page screenshot method and apparatus
CN107846617B (en) Interaction method of intelligent terminal and intelligent television
US9294614B2 (en) Mobile terminal and controlling method thereof
CN106802762B (en) Synchronizing server-side keyboard layout with client-side layout in virtual session
WO2018050095A1 (en) Screen display method and mobile terminal
EP3240284B1 (en) Digital device and method for processing data by same digital device
EP3680765A1 (en) Navigation bar control method and device
CN109992227A (en) User interface display control method, device, terminal and computer storage medium
US8739039B2 (en) Terminal and controlling method thereof
JP5741136B2 (en) Control program, control program for portable terminal and virtual machine
CN110798743A (en) Video playing method and device and computer readable storage medium
CN103248937A (en) Method and system for controlling digital television terminal and associated equipment
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
KR20130048526A (en) Mobile terminal and method for controlling the same

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