CN111736452A - Multi-system control method, device, equipment and storage medium - Google Patents

Multi-system control method, device, equipment and storage medium Download PDF

Info

Publication number
CN111736452A
CN111736452A CN201910226519.4A CN201910226519A CN111736452A CN 111736452 A CN111736452 A CN 111736452A CN 201910226519 A CN201910226519 A CN 201910226519A CN 111736452 A CN111736452 A CN 111736452A
Authority
CN
China
Prior art keywords
subsystem
subsystems
state
thread
display
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.)
Granted
Application number
CN201910226519.4A
Other languages
Chinese (zh)
Other versions
CN111736452B (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.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201910226519.4A priority Critical patent/CN111736452B/en
Publication of CN111736452A publication Critical patent/CN111736452A/en
Application granted granted Critical
Publication of CN111736452B publication Critical patent/CN111736452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

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

Multi-system control method, device, equipment and storage medium
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 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.
Optionally, after obtaining the current corresponding working state of each subsystem respectively, the method further includes:
and after receiving the switching signal, interchanging the working states between the two subsystems, wherein one subsystem 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 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.
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 according to the first aspect and the alternatives.
In a fourth aspect, the present invention provides a computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a processor, implement the multi-system control method according to the first aspect and the alternative aspects.
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 needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
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, 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, wherein the only first subsystem in the foreground state exists 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 multiple systems are configured in a terminal device, wherein the multiple systems comprise an Android system and an autonomous development system, 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.
And S302, after receiving the switching signal, interchanging the working states between the two subsystems, wherein one subsystem 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 research and development system is in the foreground state, after receiving the switching signal, the Android system is switched to the foreground state, the autonomous research and 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 circulation 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 both 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 both wait 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, after 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 any more, and does not occupy display memory resources, so that the subsystem in the foreground state exclusively occupies the display memory, and the subsystem in the foreground state starts to receive a 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 the first display thread 1 and the second display thread 2 both receive the switching signal, the first display thread 1 controls the Android system by calling a screen release 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 and displays the 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 flow control device 700 further includes a bus 703 for connecting the memory 702 and the processor 701.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the multi-system control method is realized.
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 (10)

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.
2. The method according to claim 1, further comprising, after said respectively obtaining the currently corresponding operating status of each of the subsystems:
and after receiving a switching signal, interchanging the working states between the two subsystems, wherein one subsystem of the two subsystems is the first subsystem, so as to update the first subsystem.
3. The method of claim 2, wherein 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 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.
4. The method according to claim 3, wherein 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, and the method specifically comprises:
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.
5. The method according to claim 3, 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.
6. A multi-system control device is characterized in that a multi-system at least comprises two subsystems, and each subsystem is respectively 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;
and the control module is used for controlling the first display system by the first subsystem.
7. The apparatus of claim 6, further comprising:
and the interchanging module is used for interchanging the working states of 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.
8. The apparatus of claim 7, wherein 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.
9. An electronic device, comprising: at least one processor and memory;
wherein the memory stores computer-executable instructions;
execution of computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform a multi-system control method according to any one of claims 1 to 5.
10. 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 5.
CN201910226519.4A 2019-03-25 2019-03-25 Multi-system control method, device, equipment and storage medium Active CN111736452B (en)

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 true CN111736452A (en) 2020-10-02
CN111736452B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240633A (en) * 2023-11-16 2023-12-15 深圳市加糖电子科技有限公司 Information interaction method, electronic device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
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
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
US20170110066A1 (en) * 2016-09-09 2017-04-20 Hisense Electric Co., Ltd. Display device and display method
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
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
US20100013759A1 (en) * 2008-07-21 2010-01-21 June-On Co., Ltd. Kvm switch with separate on-screen display and control channels
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
US20170110066A1 (en) * 2016-09-09 2017-04-20 Hisense Electric Co., Ltd. Display device and display method
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240633A (en) * 2023-11-16 2023-12-15 深圳市加糖电子科技有限公司 Information interaction method, electronic device and storage medium
CN117240633B (en) * 2023-11-16 2024-03-08 深圳市加糖电子科技有限公司 Information interaction method, electronic device and storage medium

Also Published As

Publication number Publication date
CN111736452B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US10437631B2 (en) Operating system hot-switching method and apparatus and mobile terminal
KR101702729B1 (en) System and method for switching between environments in a multi-environment operating system
CN106055384B (en) Multi-environment operating system
JP5405320B2 (en) Virtual machine control device, virtual machine control method, and virtual machine control program
EP1640861A1 (en) Resource management method and device, resource management program, and storage medium
CN108064377B (en) Management method and device for multi-system shared memory
US11588965B2 (en) Information processing apparatus, imaging apparatus, information processing system, information processing method, and program
WO2012094319A1 (en) Background synchronization within a multi-environment operating system
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
EP2610747A2 (en) Information processing apparatus and method of controlling information processing apparatus
EP4220403A1 (en) Service processing method and related apparatus
US9910698B2 (en) Information processing apparatus, information processing method, and program
CN109408298A (en) A kind of dual-active method for managing system and relevant apparatus
CN114448909A (en) Ovs-based network card queue polling method and device, computer equipment and medium
JP6249471B2 (en) Information recording system, troubleshooting method for recording system, and troubleshooting program
JP4677730B2 (en) Portable terminal device, control method and program thereof
JP4083511B2 (en) Telephone system
CN112286856B (en) Control method and electronic device
CN113904918A (en) Frame type switch equipment management method and device
JP6098110B2 (en) Information processing apparatus, data protection method, and program
RU2574205C2 (en) Multi-environment operating system
CN113296900A (en) Task switching 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