CN111736452B - Multi-system control method, device, equipment and storage medium - Google Patents
Multi-system control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111736452B CN111736452B CN201910226519.4A CN201910226519A CN111736452B CN 111736452 B CN111736452 B CN 111736452B CN 201910226519 A CN201910226519 A CN 201910226519A CN 111736452 B CN111736452 B CN 111736452B
- Authority
- CN
- China
- Prior art keywords
- subsystem
- subsystems
- state
- thread
- switching signal
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B9/00—Safety arrangements
- G05B9/02—Safety arrangements electric
- G05B9/03—Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a multi-system control method, a device, equipment and a storage medium, wherein the multi-system control method comprises the following steps: the multi-system at least comprises two subsystems, and each subsystem is connected with the first display system respectively; the method comprises the following steps: respectively acquiring the current corresponding working state of each subsystem, wherein the working state is a foreground state or a background state, and the only first subsystem in the foreground state exists in the multiple systems at the same time; the first subsystem is used for controlling the first display system. The method and the device determine the first subsystem by acquiring the current corresponding working state of each subsystem in the multiple systems. Only the first subsystem is in a foreground state in the multiple systems, the first subsystem is made to control the first display system, and the problem of conflict caused by the fact that the multiple subsystems in the multiple systems need to control the display system at the same time can be solved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling multiple systems.
Background
As major information security incident events continue to increase, security requirements of industrial users and government departments on mobile phones are also increasing.
In order to meet the requirements of work safety and life convenience at the same time, a dual-system scheme is generally adopted. The working system uses one set of operating system, and the living system uses the other set of operating system. The adopted double-system scheme ensures that two systems of a user layer are completely isolated, but the kernel uses the same Linux kernel.
However, since both systems need to control the display system, various display conflicts are caused, thereby causing a problem that the display function is abnormal.
Disclosure of Invention
The invention provides a multi-system control method, a multi-system control device, equipment and a storage medium, and aims to solve the problem of conflict caused by the fact that multiple systems need to control a display system.
In a first aspect, the present invention provides a multi-system control method, in which a multi-system includes at least two subsystems, each subsystem is connected to a first display system; the method comprises the following steps:
respectively acquiring the current corresponding working state of each subsystem, wherein the working state is a foreground state or a background state, and the only first subsystem in the foreground state exists in the multiple systems at the same time;
the first subsystem is used for controlling the first display system.
In the multi-system control method provided by the invention, the first subsystem is determined by acquiring the current corresponding working state of each subsystem in the multi-system. Only the first subsystem is in a foreground state in the multiple systems, the first subsystem is made to control the first display system, and the conflict problem caused by the fact that the multiple subsystems in the multiple systems need to control the display system at the same time can be avoided.
Optionally, after the current corresponding working state of each subsystem is obtained, the method further includes:
and after receiving the switching signal, interchanging the working states of the two subsystems, wherein one of the two subsystems is the first subsystem, so as to update the first subsystem.
In the multisystem control method provided by the invention, the state between two systems in a multisystem is switched to update the first subsystem, so that each subsystem can control the first display system.
Optionally, the first subsystem comprises a first thread;
when receiving the switching signal, interchanging the working states between the two subsystems, wherein one of the two subsystems is a first subsystem, and the method specifically comprises the following steps:
the first thread circularly calls a waiting instruction to enable the first thread to be in an idle state;
when the first thread receives the first switching signal, the working states of the two subsystems are interchanged, and one subsystem of the two subsystems is the first subsystem.
In the multi-system control method provided by the invention, the first thread circularly calls a waiting instruction to enable the first thread to be in an idle state, waits for receiving a first switching signal, and exchanges the working state between the two subsystems after the first thread receives the first switching signal, and the first thread controls the switching of the states of the two subsystems to update the first subsystem, so that each subsystem can control the first display system.
Optionally, when the first thread receives the first switching signal, the working states of the two subsystems are interchanged, and one of the two subsystems is the first subsystem, which specifically includes:
and sending a hardware field frequency signal to a subsystem in a background state in the two subsystems so as to enable the subsystem in the background state to send a screen refreshing signal to the display system.
In the multi-system control method provided by the invention, one subsystem of the two subsystems is in a foreground state, the other subsystem of the two subsystems is in a background state, and a hardware field frequency signal is sent to the other subsystem in the background state, so that the other subsystem sends a screen refreshing signal to the display system, and the other subsystem controls the first display system.
Optionally, after receiving the switching signal, interchanging the working states between the two subsystems, where one of the two subsystems is the first subsystem, specifically including:
and when the switching signal is received, the subsystem in the foreground state in the two subsystems releases and displays the memory resource.
In the multi-system control method provided by the invention, one subsystem of the two subsystems is in a foreground state, the other subsystem of the two subsystems is in a background state, and the subsystem in the foreground state releases display memory resources so as to switch the subsystem to the background state.
The multi-system control device provided by the application can be used for executing the multi-system control method, and the content and the effect of the multi-system control device can be referred to a method part, which is not described in detail herein.
In a second aspect, the present invention provides a multi-system control apparatus, the multi-system includes at least two subsystems, each subsystem is connected to a first display system; the device comprises:
the acquisition module is used for respectively acquiring the current corresponding working state of each subsystem, wherein the working state is a foreground state or a background state, and the only first subsystem in the foreground state exists in the multiple systems at the same time;
and the control module is used for the first subsystem to control the first display system.
Optionally, the apparatus further comprises:
and the interchanging module is used for interchanging the working states between the two subsystems after receiving the switching signal, and one subsystem of the two subsystems is the first subsystem so as to update the first subsystem.
Optionally, the first subsystem comprises a first thread;
the interchange module is specifically configured to:
the first thread circularly calls a waiting instruction so as to enable the first thread to be in an idle state;
when the first thread receives the first switching signal, the working states of the two subsystems are interchanged, and one subsystem of the two subsystems is the first subsystem.
Optionally, the interchange module is specifically configured to:
and sending a hardware field frequency signal to a subsystem in a background state in the two subsystems so as to enable the subsystem in the background state to send a screen refreshing signal to the display system.
Optionally, the interchange module is specifically configured to:
and when the switching signal is received, the subsystem in the foreground state in the two subsystems releases and displays the memory resource.
The electronic device provided by the application can be used for executing the multi-system control method, and the content and effect of the method can be referred to a method part, which is not described in detail herein.
In a third aspect, the present invention provides an electronic device comprising: at least one processor and memory;
wherein the memory stores computer execution instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the method of multi-system control of the first aspect and of the alternative aspects.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the multi-system control method of the first aspect as well as alternatives.
The invention provides a multi-system control method, a multi-system control device, equipment and a storage medium. Only the first subsystem is in a foreground state in the multiple systems, the first subsystem is made to control the first display system, and the problem of conflict caused by the fact that the multiple subsystems in the multiple systems need to control the display system at the same time can be solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on the drawings without inventive labor.
FIG. 1 is a flow diagram illustrating a multi-system control method in accordance with an exemplary embodiment of the present invention;
fig. 2 is a schematic structural diagram of a dual system corresponding to the multi-system control method shown in the embodiment of fig. 1;
FIG. 3 is a flow diagram illustrating a multi-system control method in accordance with yet another exemplary embodiment of the present invention;
FIG. 4 is a flow diagram illustrating a multi-system control method in accordance with yet another exemplary embodiment of the present invention;
FIG. 5 is a flow diagram illustrating a multi-system control method in accordance with yet another exemplary embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a configuration of a multi-system control apparatus according to yet another exemplary embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a multi-system control method, a multi-system control device, multi-system control equipment and a storage medium, and aims to solve the problem of conflict caused by the fact that multiple systems need to control a display system.
Fig. 1 is a flowchart illustrating a multi-system control method according to an exemplary embodiment of the present invention. As shown in fig. 1, the multisystem control method provided by the present invention includes the following steps:
s101, respectively obtaining the current corresponding working state of each subsystem, and enabling the unique first subsystem in the foreground state to exist in the multiple systems at the same time.
More specifically, fig. 2 is a schematic structural diagram of a dual system corresponding to the multi-system control method shown in the embodiment of fig. 1. As shown in fig. 2, the multisystem includes at least two subsystems 201, wherein each subsystem 201 is connected to the first display system 202, so that each subsystem 201 can control the first display system 202.
The working state of the subsystems is a foreground state or a background state, and the only subsystem in the foreground state exists in the multiple systems at the same time and is marked as a first subsystem, and the rest subsystems are in the background state.
For example: the method comprises the steps that a plurality of systems are configured in a terminal device, wherein the plurality of systems comprise an Android system and an autonomous development system, and a display system of the terminal device comprises a display driver positioned at a bottom Layer, a display driver package of a Hardware Abstraction Layer (HAL) and display control of a Framework Layer (Framework Layer). The Android system and the autonomous research and development system can control a display system of the terminal device.
And respectively acquiring the working states of the Android system and the autonomous research and development system, wherein if the working state of the Android system is a foreground state, the working state of the autonomous research and development system is a background state. And if the working state of the autonomous research and development system is a foreground state, the working state of the Android system is a background state. So as to ensure that the only subsystem in the foreground state exists in the multiple systems.
S102, the first subsystem is used for controlling the first display system.
More specifically, the first subsystem in the foreground state only in the multiple systems controls the first display system, and the subsystem in the background state in the multiple systems stops controlling the first display system.
For example: if the working state of the Android system is a foreground state, the Android system controls the first display system, and the autonomous research and development system stops controlling the first display system to display the content to be displayed by the Android system. If the working state of the autonomous research and development system is the foreground system, the autonomous research and development system controls the first display system, and the Android system stops controlling the first display system to display the content to be displayed by the autonomous research and development system.
In the multisystem control method provided by this embodiment, the working state of each subsystem in the multisystem is acquired to determine the only subsystem in the foreground state, the subsystem is set as the first subsystem, and the first subsystem is set to control the first display system, so as to solve the problem of conflict caused by the fact that the display systems need to be controlled by a plurality of existing subsystems.
Fig. 3 is a flowchart illustrating a multi-system control method according to yet another exemplary embodiment of the present invention. As shown in fig. 3, the multisystem control method provided in this embodiment includes the following steps:
s301, the current corresponding working state of each subsystem is respectively obtained, and the only first subsystem in the foreground state exists in the multiple systems at the same time.
S302, after receiving the switching signal, interchanging the working states of the two subsystems, wherein one of the two subsystems is a first subsystem.
More specifically, in order to realize that each subsystem can control the first display system, one subsystem in the background state is arbitrarily selected from the multiple systems, and the working state of the subsystem in the background state is exchanged with the working state of the subsystem in the foreground state, so as to update the subsystem in the foreground state, and update the first subsystem.
For example: the multiple systems comprise an Android system and an autonomous research and development system. If the Android system is in a foreground state, the autonomous research and development system is in a background state, after receiving a switching signal, the Android system is switched to the background state, the autonomous research and development system is switched to the foreground state, and the first subsystem is the autonomous research and development system.
If the Android system is in the background state, the autonomous development system is in the foreground state, after receiving a switching signal, the Android system is switched to the foreground state, the autonomous development system is switched to the background state, and the first subsystem is the Android system.
And S303, the first subsystem is used for controlling the first display system.
More specifically, after updating the first subsystem, the first subsystem is caused to control the first display system to cause the updated first subsystem to display the content to be displayed.
For example: if the first subsystem is updated to the autonomous research and development system after receiving the switching signal, the autonomous research and development system controls the first display system to display the content to be displayed by the autonomous research and development system. And if the first subsystem is updated to the Android system after the switching signal is received, the Android system controls the first display system to display the content to be displayed by the Android system.
In the multisystem control method provided in this embodiment, after the current working state corresponding to each subsystem is obtained, the working state of the subsystem in the foreground state and the working state of the subsystem in the background state are interchanged to update the first subsystem, so that each subsystem alternately controls the first display system, and the technical problem of conflict caused by the fact that a plurality of subsystems in the existing multisystem need to control the display systems is solved.
Fig. 4 is a flowchart illustrating a multi-system control method according to yet another exemplary embodiment of the present invention. As shown in fig. 4, the multisystem control method provided in this embodiment includes the following steps:
s401, the current corresponding working state of each subsystem is respectively obtained, and the only first subsystem in the foreground state exists in the multiple systems at the same time.
S402, the first thread circularly calls a waiting instruction so as to enable the first thread to be in an idle state.
More specifically, in the multisystem, each subsystem is provided with a thread, and a first thread calls a waiting instruction through a loop to enable the first thread to be in an idle state so as to enable the first thread to wait for receiving a first switching signal.
For example: the multisystem comprises an Android system and an autonomous research and development system, wherein the Android system is provided with a first display thread 1, the autonomous research and development system is provided with a second display thread 2, the first display thread 1 and the second display thread 2 call a waiting instruction, so that the first display thread 1 and the second display thread 2 are both in an idle state, and the first display thread 1 and the second display thread 2 are equal in waiting for receiving a switching signal.
When the Android system or the autonomous research and development system is in a foreground state currently, a program waitForFbSleep can be called, so that the first display thread 1 and the second display thread 2 are in an idle state. When the Android system or the autonomous research and development system is in a background state currently, a program waitForFbWake can be called to enable the first display thread 1 and the second display thread 2 to be in an idle state.
And S403, when the first thread receives the first switching signal, interchanging the working states between the two subsystems, wherein one subsystem of the two subsystems is the first subsystem.
More specifically, normally, the switching signal exists in pairs, and if a thread of one subsystem in the background state receives the switching signal, a thread of another subsystem in the foreground state also receives the switching signal. And the thread receiving the switching signal controls the corresponding subsystem to switch the working state of the subsystem so as to update the first subsystem.
For example: the first display thread 1 and the second display thread 2 both receive the switching signal, the Android system is controlled by the first display thread 1, the autonomous research and development system is controlled by the second display thread 2, and the interchange of working states between the Android system and the autonomous research and development system is achieved.
S404, the first subsystem is used for controlling the first display system.
More specifically, under the monitoring of the first thread, the working state is exchanged between the subsystem in the foreground state and the subsystem in the background state, and after the working state is exchanged, the first subsystem controls the first display system.
In the multisystem control method provided in this embodiment, the first thread monitors whether the switching signal is received, and if the switching signal is received, the corresponding subsystems are controlled to perform work state interchange, so as to update the first subsystem, and each subsystem alternately controls the first display system, thereby solving a conflict problem caused by the fact that the display systems need to be controlled by a plurality of existing subsystems.
Fig. 5 is a flowchart illustrating a multi-system control method according to yet another exemplary embodiment of the present invention. As shown in fig. 5, the multi-system control method provided in this embodiment includes:
s501, the current corresponding working state of each subsystem is respectively obtained, and the only first subsystem in the foreground state exists in the multiple systems at the same time.
S502, the first thread circularly calls a waiting instruction so as to enable the first thread to be in an idle state.
And S503, after receiving the switching signal, sending a hardware field frequency signal to the subsystem in the background state in the two subsystems, and releasing the display memory resource by the subsystem in the foreground state.
More specifically, to reduce memory usage, all subsystems in a multi-system share a display memory. In the two subsystems with the work states interchanged, one subsystem is in a foreground state, the other subsystem is in a background state, and after the first thread receives the switching signal, the thread corresponding to one subsystem of the two subsystems controls the subsystem, so that the subsystem releases the display memory resource, and the system is switched to the background state.
In addition, the thread corresponding to the other subsystem of the two subsystems triggers the hardware field frequency signal to send the hardware field frequency signal to the subsystem, so that the other subsystem sends a screen refreshing signal to the display system, and the subsystem is switched to a foreground state.
Because the subsystem in the background state has no display requirement, when the subsystem in the foreground state is switched to the background state, the subsystem does not perform image synthesis and does not send the synthesized image to the display system, and does not occupy the display memory resource, so that the subsystem in the foreground state monopolizes the display memory, and the subsystem in the background state starts receiving the hardware field frequency signal and sends a screen refreshing signal to the display system to control the display system.
For example: the multisystem comprises an Android system and an autonomous research and development system, wherein the Android system is provided with a first display thread 1, and the autonomous research and development system is provided with a second display thread 2. If the Android system is in a foreground state, the autonomous research and development system is in the foreground state, and both the first display thread 1 and the second display thread 2 receive the switching signal, the first display thread 1 controls the Android system by calling a screenRelease method, so that the Android system releases display memory resources, and the Android system is switched to the background state.
The second display thread 2 controls the autonomous research and development system by calling the screen acquired method, receives the hardware field frequency signal, so that the autonomous research and development system sends a screen refreshing signal to the display system, and the autonomous research and development system is switched to a foreground state.
And S504, the first subsystem is used for controlling the first display system.
More specifically, in order to enable the foreground system to exclusively use the display system, when the display system receives a display command sent by the hardware abstraction layer, it is first determined whether the display command is sent by the subsystem in the foreground state or the subsystem in the background state, and an invalid value is directly returned to the display command sent by the subsystem in the background state, so as to execute the display command of the subsystem in the foreground state.
In the multi-system control method provided by the invention, the subsystem in the foreground state releases display memory resources through the first thread control subsystem, the subsystem in the foreground state is switched to the background state, the subsystem in the background state receives a hardware field frequency signal and sends a screen refreshing signal to the display system, and the subsystem in the background state is switched to the foreground state, so that the first subsystem is updated, the first display system is alternately controlled by each subsystem, and the problem of conflict caused by the fact that the display system needs to be controlled by a plurality of subsystems in the prior art is solved.
Fig. 6 is a schematic structural diagram of a multi-system control apparatus according to still another exemplary embodiment of the present invention. As shown in fig. 6, in the multi-system control apparatus 600 provided by the present invention, a multi-system includes at least two subsystems, each of which is connected to a first display system;
the multi-system control apparatus 600 includes:
an obtaining module 601, configured to obtain a current working state corresponding to each subsystem, where the working state is a foreground state or a background state, and a unique first subsystem in the foreground state exists in multiple systems at the same time;
a control module 602 for the first subsystem to control the first display system.
Optionally, the apparatus 600 further comprises:
the interchanging module 603 is configured to interchange operating states between the two subsystems after receiving the switching signal, where one of the two subsystems is the first subsystem, so as to update the first subsystem.
Optionally, the first subsystem comprises a first thread;
the interchange module 603 is specifically configured to:
the first thread circularly calls a waiting instruction so as to enable the first thread to be in an idle state;
when the first thread receives the first switching signal, the working states of the two subsystems are interchanged, and one subsystem of the two subsystems is the first subsystem.
Optionally, the interchange module 603 is specifically configured to:
and sending a hardware field frequency signal to a subsystem in a background state in the two subsystems so as to enable the subsystem in the background state to send a screen refreshing signal to the display system.
Optionally, the interchange module 603 is specifically configured to:
and when the switching signal is received, the subsystem in the foreground state in the two subsystems releases the display memory resource.
Fig. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. As shown in fig. 7, the electronic device 700 of the present embodiment includes: a processor 701, and a memory 702, wherein,
a memory 702 for storing computer-executable instructions;
the processor 701 is configured to execute the computer-executable instructions stored in the memory to implement the steps performed by the receiving device in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is separately provided, the electronic device 700 further includes a bus 703 for connecting the memory 702 and the processor 701.
The embodiment of the present invention further provides a computer-readable storage medium, in which computer execution instructions are stored, and when a processor executes the computer execution instructions, the multi-system control method is implemented.
The electronic device provided by the application can be used for executing the multi-system control method, and the content and effect of the method can be referred to a method part, which is not described in detail herein.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (5)
1. A multi-system control method is characterized in that the multi-system at least comprises two subsystems, and each subsystem is respectively connected with a first display system; the method comprises the following steps:
respectively acquiring a current corresponding working state of each subsystem, wherein the working state is a foreground state or a background state, and a first subsystem which is only in the foreground state exists in the multiple systems at the same time;
the first subsystem is used for controlling the first display system;
after the obtaining of the current corresponding working state of each subsystem respectively, the method further includes:
when a switching signal is received, the working states of the two subsystems are interchanged, and one subsystem of the two subsystems is the first subsystem, so that the first subsystem is updated;
the first subsystem comprises a first thread;
after receiving the switching signal, interchanging the working states between the two subsystems, wherein one of the two subsystems is the first subsystem, and the method specifically includes:
the first thread circularly calls a waiting instruction to enable the first thread to be in an idle state;
when the first thread receives a first switching signal, the working states of the two subsystems are interchanged, and one subsystem of the two subsystems is the first subsystem;
when the first thread receives a first switching signal, the working states of the two subsystems are interchanged, and one of the two subsystems is the first subsystem, which specifically includes:
and sending a hardware field frequency signal to a subsystem in a background state in the two subsystems so as to enable the subsystem in the background state to send a screen refreshing signal to the display system.
2. The method according to claim 1, wherein the interchanging the working states between the two subsystems after receiving the switching signal, and one of the two subsystems is the first subsystem specifically includes:
and when receiving the switching signal, releasing the display memory resource by the subsystem in the foreground state in the two subsystems.
3. A multisystem control device is characterized in that the multisystem at least comprises two subsystems, and each subsystem is connected with a first display system; the device comprises:
the acquisition module is used for respectively acquiring the current corresponding working state of each subsystem, wherein the working state is a foreground state or a background state, and a first subsystem which is only in the foreground state exists in the multiple systems at the same time;
the control module is used for controlling the first display system through the first subsystem;
the interchanging module is used for interchanging the working states of the two subsystems after receiving a switching signal, and one subsystem of the two subsystems is the first subsystem so as to update the first subsystem;
the first subsystem comprises a first thread;
the interchange module is specifically configured to: the first thread circularly calls a waiting instruction so as to enable the first thread to be in an idle state; when the first thread receives a first switching signal, the working states of the two subsystems are interchanged, and one subsystem of the two subsystems is the first subsystem;
the interchange module, when the first thread receives a first switching signal, interchanging operating states between the two subsystems, and one of the two subsystems is the first subsystem, is specifically configured to: and sending a hardware field frequency signal to a subsystem in a background state in the two subsystems so as to enable the subsystem in the background state to send a screen refreshing signal to the display system.
4. An electronic device, comprising: at least one processor and memory;
wherein the memory stores computer execution instructions;
execution of computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform the multi-system control method of any of claims 1 to 2.
5. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement a multi-system control method according to any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910226519.4A CN111736452B (en) | 2019-03-25 | 2019-03-25 | Multi-system control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910226519.4A CN111736452B (en) | 2019-03-25 | 2019-03-25 | Multi-system control method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111736452A CN111736452A (en) | 2020-10-02 |
CN111736452B true CN111736452B (en) | 2023-04-07 |
Family
ID=72646349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910226519.4A Active CN111736452B (en) | 2019-03-25 | 2019-03-25 | Multi-system control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111736452B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117240633B (en) * | 2023-11-16 | 2024-03-08 | 深圳市加糖电子科技有限公司 | Information interaction method, electronic device and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8234488B1 (en) * | 2007-11-12 | 2012-07-31 | Nvidia Corporation | System and method for controlling mode switches in hardware |
CN104516760A (en) * | 2014-12-12 | 2015-04-15 | 华为技术有限公司 | Operating system hot-switching method and device and mobile terminal |
CN105677315A (en) * | 2015-12-28 | 2016-06-15 | 北京元心科技有限公司 | interface display method of multiple operating systems and intelligent terminal |
CN106293896A (en) * | 2016-08-10 | 2017-01-04 | 四川安嵌科技有限公司 | Equipment multiplexing method and device applied to multiple systems |
CN107003875A (en) * | 2016-12-13 | 2017-08-01 | 深圳前海达闼云端智能科技有限公司 | For the display methods of multiple operating system, device and electronic equipment |
CN107766145A (en) * | 2016-08-18 | 2018-03-06 | 成都鼎桥通信技术有限公司 | EMS memory management process and device under dual system |
CN108124476A (en) * | 2017-09-18 | 2018-06-05 | 深圳前海达闼云端智能科技有限公司 | The display methods and device of multiple operating system, computer equipment and storage medium |
CN108401455A (en) * | 2017-09-07 | 2018-08-14 | 深圳前海达闼云端智能科技有限公司 | A kind of multi-systematic control method, control device and mobile terminal |
CN109117260A (en) * | 2018-08-30 | 2019-01-01 | 百度在线网络技术(北京)有限公司 | A kind of method for scheduling task, device, equipment and medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100013759A1 (en) * | 2008-07-21 | 2010-01-21 | June-On Co., Ltd. | Kvm switch with separate on-screen display and control channels |
CN106652919A (en) * | 2016-09-09 | 2017-05-10 | 青岛海信电器股份有限公司 | Image display method and display apparatus |
-
2019
- 2019-03-25 CN CN201910226519.4A patent/CN111736452B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8234488B1 (en) * | 2007-11-12 | 2012-07-31 | Nvidia Corporation | System and method for controlling mode switches in hardware |
CN104516760A (en) * | 2014-12-12 | 2015-04-15 | 华为技术有限公司 | Operating system hot-switching method and device and mobile terminal |
CN105677315A (en) * | 2015-12-28 | 2016-06-15 | 北京元心科技有限公司 | interface display method of multiple operating systems and intelligent terminal |
CN106293896A (en) * | 2016-08-10 | 2017-01-04 | 四川安嵌科技有限公司 | Equipment multiplexing method and device applied to multiple systems |
CN107766145A (en) * | 2016-08-18 | 2018-03-06 | 成都鼎桥通信技术有限公司 | EMS memory management process and device under dual system |
CN107003875A (en) * | 2016-12-13 | 2017-08-01 | 深圳前海达闼云端智能科技有限公司 | For the display methods of multiple operating system, device and electronic equipment |
CN108401455A (en) * | 2017-09-07 | 2018-08-14 | 深圳前海达闼云端智能科技有限公司 | A kind of multi-systematic control method, control device and mobile terminal |
CN108124476A (en) * | 2017-09-18 | 2018-06-05 | 深圳前海达闼云端智能科技有限公司 | The display methods and device of multiple operating system, computer equipment and storage medium |
CN109117260A (en) * | 2018-08-30 | 2019-01-01 | 百度在线网络技术(北京)有限公司 | A kind of method for scheduling task, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN111736452A (en) | 2020-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10437631B2 (en) | Operating system hot-switching method and apparatus and mobile terminal | |
AU2022200023B2 (en) | Method and terminal for supporting voice service and data service simultaneously | |
KR101702729B1 (en) | System and method for switching between environments in a multi-environment operating system | |
CN106055384B (en) | Multi-environment operating system | |
CN110888615B (en) | Multi-input equipment interaction method, device and medium for double-screen different display of Android system | |
CN107341407B (en) | Multi-android system implementation method based on terminal, storage medium and terminal | |
EP1640861A1 (en) | Resource management method and device, resource management program, and storage medium | |
US20120173986A1 (en) | Background synchronization within a multi-environment operating system | |
JP2000330806A (en) | Computer system | |
US20130205302A1 (en) | Information processing terminal and resource release method | |
CN111736452B (en) | Multi-system control method, device, equipment and storage medium | |
CN113905425B (en) | Data service switching method and device, electronic equipment and readable storage medium | |
CN104516704B (en) | Application activation control method and device in multi-screen system and mobile terminal | |
JP5615082B2 (en) | Information processing terminal and screen switching control method | |
RU2630368C2 (en) | Method and device for controlling switching of virtual navigation panel | |
US20240338255A1 (en) | Service Processing Method and Related Apparatus | |
CN117631808A (en) | Switching method, electronic equipment and computer readable storage medium | |
CN109408298A (en) | A kind of dual-active method for managing system and relevant apparatus | |
US20120252536A1 (en) | Mobile terminal | |
JP2008197885A (en) | Application abnormal end processing system method therefor and program | |
CN113296900A (en) | Task switching method and device | |
CN106685683A (en) | Management indication transmitting and VNF automatic telescoping function management method and device | |
JP5472177B2 (en) | Information processing program, information processing apparatus, and information processing method | |
CN112286856B (en) | Control method and electronic device | |
CN113904918A (en) | Frame type switch equipment management method and device |
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 |