CN110502928B - Dual operating system, working state control method, device and storage medium - Google Patents
Dual operating system, working state control method, device and storage medium Download PDFInfo
- Publication number
- CN110502928B CN110502928B CN201910804143.0A CN201910804143A CN110502928B CN 110502928 B CN110502928 B CN 110502928B CN 201910804143 A CN201910804143 A CN 201910804143A CN 110502928 B CN110502928 B CN 110502928B
- Authority
- CN
- China
- Prior art keywords
- operating system
- state
- switching
- instruction
- power
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6236—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database between heterogeneous systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
- G06F21/74—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Hardware Redundancy (AREA)
Abstract
The embodiment of the invention discloses a dual-operation system, a working state control method, a working state control device and a storage medium. The dual operating system includes: the system comprises an operating system switching device, external shared equipment, a state switching key, a first operating system and a second operating system, wherein the first operating system and the second operating system respectively comprise at least one independent memory and at least one independent processor; the operating system switching device is connected with the first operating system, the second operating system and the external shared device respectively, and is used for controlling the external shared device to be connected with the first operating system or controlling the external shared device to be connected with the second operating system; and the state switching key is respectively connected with the first operating system and the second operating system. The embodiment of the invention can completely realize data isolation and ensure data security.
Description
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a dual-operation system, a working state control method, a working state control device and a storage medium.
Background
With the development of technology, operating systems with different functions are becoming popular, but different operating systems usually have different performances in processing different tasks, and in order to achieve the advantages of both operating systems, the two operating systems can be integrated into a single electronic device.
Generally, only one os is allowed to operate at a time, and another os is allowed to enter a standby or sleep state, thereby avoiding unnecessary conflicts.
At present, a dual operating system of an existing dual operating system product stores data in the same memory or runs a system program in the same processor, hardware isolation is not completely realized, effective data isolation cannot be guaranteed, and if information of one operating system is leaked, information of the other operating system cannot guarantee safety.
Disclosure of Invention
The embodiment of the invention provides a double-operating system, a working state control method, a working state control device and a storage medium, which can completely realize data isolation and ensure data security.
In a first aspect, an embodiment of the present invention provides a dual operating system, including: the system comprises an operating system switching device, external shared equipment, a state switching key, a first operating system and a second operating system, wherein the first operating system and the second operating system respectively comprise at least one independent memory and at least one independent processor;
the operating system switching device is connected with the first operating system, the second operating system and the external shared device respectively, and is used for controlling the external shared device to be connected with the first operating system or controlling the external shared device to be connected with the second operating system;
the external shared device is used for realizing a matched function according to the independent control of the first operating system or the second operating system;
the state switching key is respectively connected with the first operating system and the second operating system and used for switching the state of the first operating system or switching the state of the second operating system.
In a second aspect, an embodiment of the present invention further provides a method for controlling a working state of a dual operating system, which is applied to the dual operating system according to any one of the embodiments of the present invention, and includes:
determining the type of a state switching instruction according to the triggering mode of the state switching key and the incoming call state of the dual-operation system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up dormant state switching instruction;
and switching the state of the dual operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device.
In a third aspect, an embodiment of the present invention further provides a device for controlling a working state of a dual operating system, where the device includes:
the state switching instruction type determining module is used for determining the type of the state switching instruction according to the triggering mode of the state switching key and the incoming call state of the dual-operation system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up dormant state switching instruction;
and the dual-operating-system state switching module is used for switching the states of the dual operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling the operating state of the dual operating system according to any one of the embodiments of the present invention.
According to the embodiment of the invention, two operating systems with independent memories and independent processors are arranged, so that the two operating systems can independently run, and simultaneously, the data of the two operating systems are separately isolated and stored, thereby solving the problems that the effective isolation of the data cannot be ensured in the prior art, so that the information of one system is leaked, and the information of the other system is unsafe, ensuring the isolated storage of the data, improving the safety of the data, and simultaneously controlling the switching between the two operating systems through the operating system switching device.
Drawings
FIG. 1 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a dual operating system according to a first embodiment of the present invention;
fig. 8 is a flowchart of a method for controlling operating states of dual operating systems according to a second embodiment of the present invention;
FIG. 9 is a flowchart illustrating a booting method for dual operating systems according to a second embodiment of the present invention;
FIG. 10 is a flowchart illustrating a shutdown method for dual operating systems according to a second embodiment of the present invention;
fig. 11 is a flowchart of a key wake-up sleep switching method for dual operating systems according to a second embodiment of the present invention;
fig. 12 is a flowchart of a method for waking up from sleep for incoming calls in dual operating systems according to a second embodiment of the present invention;
fig. 13 is a flowchart of a method for waking up from sleep for incoming calls in dual operating systems according to a second embodiment of the present invention;
fig. 14 is a flowchart of a incoming call wake-up sleep switching method for dual operating systems according to a second embodiment of the present invention;
fig. 15 is a schematic structural diagram of an operating state control device of a dual operating system according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic diagram of a dual operating system in an embodiment of the present invention, which is applicable to a case where the dual operating system operates. As shown in fig. 1, the dual operating system 100 of the present embodiment specifically includes: operating system switching device 110, external shared device 120, state switching key 130, first operating system 140 and second operating system 150, each of first operating system 140 and second operating system 150 comprising at least one independent memory (e.g., memory 141 and memory 151) and at least one independent processor (e.g., processor 142 and processor 152).
Each operating system is provided with an independent memory and an independent processor, namely, the data of each operating system is processed by the respective processor and stored in the respective memory, so that the data is stored in different memories, the data isolation of each operating system is ensured, at the moment, if the information of one operating system is leaked, the data of the other operating system is not influenced because the data of the other operating system is stored in other memories, and the data security of the other operating system is ensured.
The data of each operating system is processed by the respective processor, so that the operating systems can run independently, and when one operating system controls the external shared equipment, the other operating systems still run normally. Therefore, when the next operating system switching is carried out, the operating system which still normally runs can be switched to control the external shared equipment, the external shared equipment is ensured to be always controlled by the operating system which normally runs, the seamless switching of the operating system is realized, and a user cannot perceive the external shared equipment.
Two sets of operating systems are respectively operated by two independent hardware carriers, software resources are operated independently and cannot be accessed mutually, access between the two operating systems can be safely isolated, and the two hardware carriers realize switching between the two systems by sharing external shared equipment.
It should be noted that the attribute information (e.g., model number) of the independent memories included in different operating systems may be the same or different. The attribute information of the independent processors included in different operating systems may be the same or different.
The os switching device 110 is connected to the first os 140, the second os 150 and the external shared device 120, respectively, and the os switching device 110 is configured to control the external shared device 120 to be connected to the first os 140 or control the external shared device 120 to be connected to the second os 150.
Specifically, the os switching device 110 is used for gating the connection between the external shared device 120 and the first os 140, or gating the connection between the external shared device 120 and the second os 150, that is, for gating which os the external shared device 120 is connected to, so as to enable the switching os to establish a communication connection with the external shared device 120, thereby achieving the effect of switching the os.
And an external common device 120 for implementing a matching function according to independent control of the first operating system 140 or the second operating system 150.
Specifically, the external common device 120 includes a plurality of function devices to enable the operating system to control and implement functions.
The state switching key 130 is connected to the first operating system 140 and the second operating system 150, respectively, and is configured to switch the state of the first operating system 140 or switch the state of the second operating system 150. Illustratively, the state switching key is a switch key.
Specifically, the state switching button 130 is used to switch the state of the operating system. The state of the operating system may include at least one of: a power-on state, a wake-up sleep state, a call state, a switching state and the like.
The embodiment of the invention can realize independent operation without mutual influence of two operating systems by arranging two operating systems with independent memories and independent processors, and simultaneously, the data of the two operating systems are separately isolated and stored, thereby solving the problems that the effective isolation of the data cannot be ensured in the prior art, the information of one system is leaked, and the information of the other system is unsafe, ensuring the isolated storage of the data, improving the safety of the data, and simultaneously controlling the switching between the two operating systems by the operating system switching device.
In fact, the operating systems may be directly connected to each other. Optionally, as shown in fig. 2, a plurality of general input/output interfaces of the first operating system 140 are respectively connected to a plurality of general input/output interfaces of the second operating system 150, and the first operating system 140 is configured to determine a state of the second operating system 150 through the general input/output interfaces of the second operating system 150; the second operating system 150 is used for determining the state of the first operating system 140 through the general input output interface of the first operating system 140; the os switching unit 110 is configured to obtain a system switching instruction generated by the first os 140 and control the external shared device 120 to connect to the first os 140, or obtain a system switching instruction generated by the second os 150 and control the external shared device 120 to connect to the second os 150.
It should be noted that fig. 2 only schematically illustrates that the gpio interface of the first operating system 140 is connected to the gpio interface of the second operating system 150, and there is no limitation that only one gpio interface of the first operating system 140 is connected to one gpio interface of the second operating system 150. The first operating system 140 and the second operating system 150 may be connected through a plurality of general purpose input/output interfaces, for example, the number is 10, and this may be set according to needs, and the embodiment of the present invention is not limited specifically.
Specifically, the gpio interface is used to establish a connection between the first operating system 140 and the second operating system 150, and is also used to characterize the state of the operating systems.
Illustratively, the first operating system 140 and the second operating system 150 each include a plurality of general input/output interfaces B0, B1, B2, B3, B4, B5, and B6. It should be noted that, if a general input/output interface is used as an input end of the first operating system, the general input/output interface is correspondingly used as an output end of the second operating system. That is to say, the gpio interface corresponding to each status bit needs to be designed as an input end of an operating system and an output end of another operating system in hardware, so that the operating system having the gpio interface as the input end can obtain the status of the operating system having the gpio interface as the output end through the gpio interface. For example, the state bit B0 (e.g., the GPIO0) is that when the first operating system is not powered on, the GPIO0 of the first operating system outputs a pull-down signal, and after the first operating system is powered on, the GPIO0 outputs a pull-up signal, and the corresponding connected GPIO0 of the second operating system can acquire the state of the signal output by the GPIO0 of the first operating system. Wherein:
b0 is used to indicate the on/off state of the first operating system 140 and B1 is used to indicate the on/off state of the second operating system 150. The method comprises the following steps:
b0 is 0, indicating that the first os 140 is in the power-off state;
b0 is 1, indicating that the first operating system 140 is in a boot-up complete state;
b1 is 0, indicating that the second operating system 150 is in the power-off state;
b1 is 1, indicating the boot complete status of the second operating system 150.
For example: bytes of B0 and B1 are:
00, indicating that both the first operating system 140 and the second operating system 150 are in a shutdown state;
01, indicating the power-on completion status of the first operating system 140 and the power-off status of the second operating system 150;
10, indicating the power-on state of the second operating system 150 and the power-off state of the first operating system 140;
11, indicating that both the first operating system 140 and the second operating system 150 are in a boot-up complete state.
It should be noted that, if the priority of the first os is higher than that of the second os, the bytes of B0 and B1 are: 10 this state is not present. If the priority of the first os is lower than that of the second os, the bytes of B0 and B1 are: 01 this state is not present.
B2 is used to indicate a wake sleep state for the first operating system 140 and B3 is used to indicate a wake sleep state for the second operating system 150. The method comprises the following steps:
b2 is 0, which indicates the first OS 140 is in a sleep state;
b2 is 1, indicating that the first os 140 is awake;
b3 is 0, indicating the sleep state of the second operating system 150;
b3 is 1, indicating the wake state of the second operating system 150.
B4 is used to indicate the incoming call state of the first operating system 140, and B5 is used to indicate the incoming call state of the second operating system 150.
The method comprises the following steps:
b4 is 0, indicating that the first os 140 is not in the middle of a call or is over;
b4 is 1, which indicates that the first operating system 140 is calling and in the middle of a call;
b5 is 0, indicating that the second operating system 150 is not in the middle of a call or the call is over;
b5 is 1, which illustrates the second operating system 150 calling and in the middle of a call.
B6 is used to indicate the switching state of the first operating system 140 and the switching state of the second operating system 150. The method comprises the following steps:
b6 is 0, which indicates that the current device is in the first operating system 140 mode and the external shared device 120 has switched to the control of the first operating system 140;
b6 is 1, which indicates that the current device is in the second os 150 mode and the external shared device 120 has switched to the control of the second os 150.
In addition, there is a general input/output interface that represents other states of the operating system, and thus, the embodiment of the present invention is not particularly limited.
The GPIO controller is an I/O port device which is internally arranged in both a processor (chip) of the first operating system and a processor of the second operating system, can set an Input mode or an Output mode, can acquire an external signal when the Input mode (Input) is set, and can Output a pull-up signal or a pull-down signal when the Output mode (Output) is set. Generally, data transmitted between the dual operating systems only includes 0 and/or 1, the data transmitted through one GPIO only includes 0 or 1, and a plurality of GPIOs are combined to form a state controller (i.e., the aforementioned state bit) for controlling the dual operating systems, which can ensure that the data of the dual operating systems are safely isolated and the basic functions between the dual systems are normally used.
It should be noted that the general input/output interface may also be used to transmit data between the first operating system and the second operating system, so as to implement data interaction between the first operating system and the second operating system. Therefore, data transmission exists between the first operating system and the second operating system, and the connection between the two operating systems is guaranteed. For example, when switching to one operating system, the operating system receives the setting parameters of the external shared device modified by the user and transmits the setting parameters to another operating system to modify the setting. Therefore, switching of the operating systems is avoided, the situation that the setting parameters of the external shared equipment modified by a user are also switched when the operating systems are switched is avoided, the problem that the setting parameters of the modified external shared equipment before and after switching are not uniform cannot be guaranteed, switching of the operating systems which are not sensed by the user is achieved, and seamless switching is achieved.
Therefore, the first operating system and the second operating system can respectively determine the states of other operating systems through respective universal input/output interfaces, the high and low levels of the universal input/output interfaces can be changed through the states of the first operating system and the second operating system, the states of the operating systems can be updated, meanwhile, communication can be carried out through the universal input/output interfaces, the consistency of the setting parameters of external shared equipment is guaranteed, the stability of the operating systems is improved, and the use experience of users is improved.
In addition, each operating system may generate a system switching command according to the state of the operating system or the state of another operating system, and the system switching command may be input to the operating system switching device so that the operating system switching device controls the switching of the operating system to connect to the external shared device.
The system that generates the system switching command may be an operating system currently connected to the external shared device, or may be a pre-configured operating system with a high priority.
In fact, the dual operating system provided by the embodiment of the present invention does not have a separate controller dedicated to controlling the operating system switching device to switch the operating systems, and thus, the operation of controlling the switching of the operating system switching device can be implemented by each operating system, or only by one operating system (e.g., the first operating system) with the highest priority.
Alternatively, as shown in fig. 3, the operating system switching device 110 includes an electronic switch circuit 111; the electronic switch circuit 111 is respectively connected with the first operating system 140, the second operating system 150, and the external common device 120; specifically, the electronic switch circuit 111 is configured to gate a connection path between the first operating system 140 and the external shared device 120, or gate a connection path between the second operating system 150 and the external shared device 120, according to the system switching instruction.
Specifically, an electronic switching circuit refers to a circuit having two states, on and off. Illustratively, the electronic switching circuit may be a logic gate circuit, a triode circuit, a bistable flip-flop, or the like. The embodiment of the present invention does not specifically limit the specific structure of the electronic switch circuit. The electronic switching circuit can be used for switching on a connection path between the first operating system and the external shared device and simultaneously switching off a connection path between the second operating system and the external shared device; and a switch circuit that turns on a connection path between the second operating system and the external common device, and simultaneously turns off a function of the connection path between the first operating system and the external common device.
Meanwhile, the electronic switching circuit can realize the on and off operation of a specified operating system according to a system switching instruction.
The accurate switching of the operating system can be realized through the electronic switching circuit.
Optionally, as shown in fig. 4, the operating system switching device 110 further includes a system switching key 112 connected to the electronic switch circuit 111; and a system switching key 112 for generating a system switching instruction according to a trigger operation of a user and transmitting the system switching instruction to the electronic switch circuit 111.
Specifically, the system switching key 112 is a physical key, and is used for being triggered by pressing or touching by a user. The system switching key 112 is used for user triggering and generating a system switching instruction according to user triggering operation so as to control the electronic switch circuit 111 to switch the operating system.
And the switching of the operating system is carried out through the physical keys, so that the operation difficulty of switching the operating system is reduced.
Optionally, as shown in fig. 5, the external shared device includes at least one of the following: light sense sensor, display screen, touch-sensitive screen, function button, earphone and microphone.
The light sensor is used for detecting brightness, so that the connected operating system controls the brightness of the display screen and/or the touch screen.
The display is used for displaying the content received from the connected operating system to the user. Specifically, the display comprises a display screen, a backlight module and a light source. Specifically, the light source is used for generating light, the brightness of the light can be controlled based on the detected brightness of the light sensor, and the backlight module is used for guiding the light to the display screen. The display screen is used to display content to a user.
The touch screen is used for user triggering (such as triggering through a sliding gesture, a touch gesture, a pressing gesture and the like), receiving triggering data of a user, and sending the triggering data to a connected operating system.
The function key is used for user triggering (such as touch and press), receives triggering data of the user and sends the triggering data to a connected operating system. The function key may be triggered in specific ways such as setting the number of times and/or setting the duration, which is not limited in this embodiment of the present invention. Illustratively, the function key may be a keyboard.
The earphone and the earphone can be used for converting the electrical data received from the connected operating system into sound and playing the sound to the user in the incoming call process or the sound playing process.
The microphone is used for converting the voice sent by the user into electric data in the incoming call process or the voice recording process, and sending the electric data to the connected operating system for subsequent operation. The microphone may be an earphone microphone or a separate microphone.
In addition, the external shared device may also include other devices, such as a camera, a volume adjustment button, a speaker, a mouse, a usb disk, and the like. In this regard, the embodiments of the present invention are not particularly limited.
Alternatively, as shown in fig. 6, the first operating system 140 includes a first peripheral device controller 141, a first processor 142, a first internal memory 143, a first flash memory 144, a first communication unit 145, a first status indicator lamp 146, and a first audio input unit 147. Meanwhile, optionally, the second operating system 150 includes a second peripheral device controller 151, a second processor 152, a second internal memory 153, a second flash memory 154, a second communication unit 155, a second status indicator lamp 156, and a second audio input unit 157.
The first peripheral device controller 141 and the second peripheral device controller 151 are each configured to control the external shared device 120. The first internal memory 143 and the second internal memory 153 are both referred to as memories. The first flash memory 144 and the second flash memory 154 are both nonvolatile registers for long-term storage of data of the operating system, such as program data. The first communication unit 145 and the second communication unit 155 are used for the operating system to communicate. The first status indicator light 146 and the second status indicator light 156 are each used to display the current status of the operating system, such as at least one of an on/off status, a wake-up sleep status, and an incoming call status. The first audio input unit 147 and the second audio input unit 157 are each used to process an audio signal or the like.
Illustratively, the first processor 142 and the second processor 152 are embedded processors, and the first internal memory 143 and the second internal memory 153 are static random access memories.
In addition, the operating system may also include other modules with the same functions, and the present invention is not limited in particular. Each operating system may also include, for example, an Audio CODEC (Audio CODEC), a motor, a Universal Serial Bus (USB), a Double Data Rate (DDR), a separate microphone, and the like.
It should be noted that the operating system may further include modules that are not provided by other operating systems, and for example, the first operating system may further include functional modules, such as an image editing functional module, which are not provided by the second operating system. The functional module may be other modules, and the present invention is not limited thereto.
Optionally, the first operating system includes an android operating system; the first communication unit specifically comprises a cellular network communication module, a satellite communication module and an intercom communication module.
The android system is used for controlling the external shared equipment as a common operating system. Meanwhile, communication can be carried out through a cellular network (such as LTE 4G), satellite communication can be carried out through a satellite communication module, and talkback communication can be realized through a talkback communication module. Illustratively, the satellite communication module is an all-satellite-communication Beidou radio frequency module. The satellite communication is communication between radio communication stations on earth using a satellite as a relay. The talkback communication refers to the simplex communication of point-to-point/multipoint within a small range, namely only one device occupies the frequency at one moment, and the same frequency interference is hardly considered, so that higher transmitting power can be used for obtaining a longer communication distance. The satellite communication module can be a weather module, and the talkback communication module can be a communication module such as a trunking talkback.
Optionally, the second operating system includes a secure operating system; the second communication unit specifically includes: code division multiple access communication module and encryption module.
Code-Division Multiple Access (CDMA) communication is to distinguish information transmitted by different users through different Code sequences, i.e., different waveforms of signals. The receiver needs to select a signal of a specific code pattern among a plurality of signals, and other signals cannot be demodulated due to mismatch of the code patterns. Therefore, the data can be accurately received and demodulated by the corresponding receiver, and data transmission is realized. Illustratively, the CDMA communication module is a CDMA rf transceiver module. The encryption module is used for encrypting data, wherein the data comprises data to be transmitted and data to be stored. In addition, the second operating system may have a custom secure operating system built in.
Specifically, the android operating system is used for realizing an operating system of a basic function, the safe operating system is used for being independent of the android operating system, the safety of data is guaranteed, when the android operating system goes wrong, the safe operating system replaces the android operating system to control external shared equipment, and the stability of the local equipment is improved.
In a specific example, as shown in fig. 7, the dual operating system 100 includes an operating system switching device 110, an external shared device 120, a state switching key 130, a first operating system 140, and a second operating system 150. Fig. 7 shows, by way of example only, specific modules included in each unit, but is not limited thereto. For example, the first operating system 140 may further include a USB interface and a functional module, and the second operating system 150 may further include a USB interface. Meanwhile, the first communication unit 145 may include a cellular network communication module, a satellite communication module, and an intercom communication module. The second communication unit 155 may include a code division multiple access communication module and an encryption module.
The connected gpio interface of the first operating system 140 and the gpio interface of the second operating system 150 can be used as a state controller, and both the first operating system 140 and the second operating system 150 can determine the states of other operating systems according to the state identifier (such as the aforementioned B0, B1, B2, etc.) of the state controller, and can generate a system switching instruction according to the states to control the connection path between the external shared device and the operating system.
In a particular embodiment, the first operating system 140 has a higher priority than the second operating system 150. The trigger signal associated with the state switch key and the system switch key may be controlled by the first operating system 140. The power-on and power-off sequence is that the operating system with high priority is powered on first and then powered off. The first operating system 140 is responsible for controlling the sequence of power on and power off, while the second operating system 150 is not involved in the operation of power on and power off, i.e., not concerned with the switch design concept.
It should be noted that fig. 6 and fig. 7 are the same as fig. 2, and only show that the gpio interface of the first operating system 140 is connected to the gpio interface of the second operating system 150, and there is no limitation that only one gpio interface of the first operating system 140 is connected to one gpio interface of the second operating system 150.
Example two
Fig. 8 is a flowchart of a working state control method applicable to the dual operating systems provided in the embodiment of the present invention, where the method may be executed by any one of the dual operating systems provided in the embodiment of the present invention, and specifically, may be executed by the first operating system. The apparatus can be implemented in software and/or hardware, and can be generally integrated into an electronic device. As shown in fig. 8, the method specifically includes:
s110, determining the type of a state switching instruction according to the triggering mode of the state switching key and the incoming call state of the dual-operation system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up sleep state switching instruction.
The above description of the embodiments can be referred to for the status switching key, the dual operating system, the first operating system, the second operating system, the operating system switching device, and the like.
The first operating system can be a safe operating system or an android operating system; the second operating system may be a secure operating system or an android operating system. The first operating system and the second operating system may be the same or different. In addition, the first operating system and the second operating system may also be other operating systems, and thus, embodiments of the present invention are not particularly limited.
Specifically, the state switching key may have a plurality of triggering modes, and specifically, the type of the generated instruction may be determined according to the triggering mode of the user. Specifically, the triggering manner may include triggering time, triggering times, and the like.
Illustratively, if the user continuously presses the state switching key for 1 second, the on/off state switching instruction is determined to be generated.
The on-off state switching instruction is used for switching the on-off state of the first operating system and switching the on-off state of the second operating system.
Illustratively, if the user clicks the state switching key, it is determined to generate the wake-up sleep state switching instruction.
The wake-up sleep state switching instruction is used for switching a wake-up sleep state of the first operating system and switching a wake-up sleep state of the second operating system.
Optionally, the first operating system is further configured to control the operating system switching device to switch the operating system. The first operating system can generate a state switching instruction according to the configuration, and control the operating system switching device to control the external shared device to be connected with the first operating system or control the external shared device to be connected with the second operating system.
And S120, switching the states of the dual operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device.
The states of the operating system include an on/off state, a wake-up sleep state, and a talk state.
The switching state of the operating system switching means is used to indicate the current operating system of the connection with the external common device. The switching state of the operating system switching device comprises the first operating system or the second operating system.
In practice, the first operating system and the second operating system are both connected to the control line of the external shared device, and at the same time, the first operating system can control the external shared device by executing the first driver, and at the same time, the second operating system can control the external shared device by executing the second driver. The operating system switching means switches the connection object of the data line of the external common device. When the switching state of the operating system switching device is a first operating system, a connecting passage between the first operating system and a data line of the external public equipment is in a communicating state; when the switching state of the operating system switching device is the second operating system, the connection path between the second operating system and the data line of the external common device is in a connected state.
The existing operating system switching device is a toggle switch, and the anti-shake performance of a circuit is poor. In this embodiment, the os switching device is a physical button, and the user can change the connection state of the data lines of all the external common devices by pressing the physical button. Illustratively, the user changes the connection state of the data line of the external shared device by pressing a switch program in the trigger first operating system. The state value of the operating system switching device is saved in the GPIO (B6). Specifically, when B6 is set to 0, the data line of the external shared device remains connected to the first os; when the toggle state B6 is set to 1, the data line of the external common device remains connected to the second operating system.
Specifically, the first operating system determines the switching state, the wake-up sleep state and the switching state of the operating system switching device of the second operating system through the level state of the general input/output interface connected with the second operating system; the second operating system determines the switch state, the awakening sleep state and the switching state of the operating system switching device of the first operating system through the level state of the general input/output interface connected with the first operating system.
Optionally, before switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system, and the switching state of the operating system switching device, the method further includes: acquiring the state of the second operating system according to the general input/output interface of the first operating system; acquiring the state of the first operating system according to a general input/output interface of the second operating system; and the plurality of general input/output interfaces of the first operating system are respectively connected with the plurality of general input/output interfaces of the second operating system.
As the foregoing example, the states of the first operating system and the second operating system may be determined by referring to the level states of the plurality of general input/output interfaces, such as B0, B1, B2, B3, B4, B5, and B6 in the above embodiments, respectively.
The first operating system and the second operating system are connected by a plurality of general input and output interfaces. The first operating system can acquire the state of the general input/output interface connected with the second operating system through the general input/output interface, and simultaneously, the first operating system can respectively acquire a plurality of state bits of the second operating system through the plurality of general input/output interfaces, and the plurality of state bits form the state information of the second operating system, so that the state information of the second operating system is determined.
Similarly, the second operating system may obtain the state of the gpio interface connected to the first operating system through the gpio interface, thereby determining the state information of the first operating system.
The first operating system and the second operating system can be normally connected by configuring the general input/output interface and realizing the communication between the first operating system and the second operating system through the general input/output interface, and meanwhile, the first operating system and the second operating system can mutually acquire the states of each other through the general input/output interface, so that the correct switching operation of the operating systems is realized.
Optionally, the priority of the first operating system is higher than the priority of the second operating system.
The first operating system with high priority can generate a system switching instruction to control the operating system switching device to switch the operating systems, receive the instruction generated by the state switching key and control the second operating system with low priority to change the state. At this time, the second os cannot generate a system switching command to control the os switching device to switch the os, and cannot receive a command generated by the state switching key. Meanwhile, when the priority of the first operating system is high, the execution sequence is different in the process of powering on and powering off or in the process of waking up the sleep.
Optionally, the state switching instruction is a power on/off state switching instruction, and the power on/off state switching instruction is generated by triggering a state switching key by a user;
the switching the state of the dual operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device includes:
if the first operating system is determined to be in a shutdown state and the second operating system is determined to be in a shutdown state, sequentially starting the first operating system and the second operating system, and updating the state of the first operating system and the state of the second operating system to be in a startup state;
if the first operating system is determined to be in the power-on state, the second operating system is determined to be in the power-on state, and the switching state of the operating system switching device is determined to be the second operating system, the second operating system is closed, and the state of the second operating system is updated to be in the power-off state;
if the first operating system is determined to be in the starting-up state and the switching state of the operating system switching device is determined to be the first operating system, displaying a power-on/off option on a display screen through the first operating system, switching the state of a target operating system pointed by a power-on/off instruction according to the received power-on/off instruction input by a user, and updating the state of the target operating system.
In fact, the power on/off sequence of the dual operating system is: when starting up, the operating system with high priority is started up first, and the operating system with low priority is started up later; when the system is shut down, the operating system with low priority is shut down first, and the operating system with high priority is shut down later.
Meanwhile, when the operating system completes the startup and shutdown, the state can be updated correspondingly, specifically, the state can be a high-low state for updating the level of the general input/output interface, and the on/off of the state indicator lamp can be controlled.
In a specific example, as shown in fig. 9, the boot flow diagram of the dual operating system includes:
s131, the first operating system is started.
S132, judging whether the first operating system is started up completely, if so, executing S134, otherwise, executing S133.
Specifically, the manner of determining that the first operating system is completely booted may be to check a status bit of the first operating system (e.g., B0), or to determine that the first operating system is completely booted when the first operating system is normally running.
S133, waiting for the completion of the boot of the first operating system.
For example, the determination operation may be performed every 1 second.
S134, the second operating system is started.
S135, judging whether the second operating system is started up completely, if so, executing S137, otherwise, executing S136.
Specifically, the completion of booting the second operating system may be determined by checking the status bit of the second operating system (e.g., B1)
S136, waiting for the completion of the boot of the second operating system.
And S137, updating the on-off states of the first operating system and the second operating system.
For example, the on and off of status indicator lights of the first operating system and the second operating system are updated.
It is understood that the first os has a higher priority than the second os, so that the first os is powered on before the second os is powered off, and there is no state where the first os is powered off and the second os is powered on. The first operating system may control the powering on and powering off of the second operating system.
When the switching state of the operating system switching device is the second operating system, the second operating system can only control the own power on and off, and at the moment, the second operating system in the power on state is powered off when a power on and off instruction is detected.
When the switching state of the operating system switching device is the first operating system, the first operating system may control its on/off state and the on/off state of the second operating system, and thus, the user needs to further select at least one of the shutdown state of the first operating system and the on/off state of the second operating system.
At this time, if the first operating system is started, the second operating system is shut down, options of the first operating system for shutting down and the second operating system for starting up are displayed on the display screen, a user can select any option, and when the user selects a shutdown instruction of the first operating system, the first operating system is shut down; and when the user selects the starting-up instruction of the second operating system, the second operating system is started up.
If the first operating system is started, the second operating system is started, options of the first operating system and the second operating system are displayed on a display screen, a user can select any option, when the user selects a closing instruction of the first operating system, the second operating system is shut down, and after the second operating system is shut down, the first operating system is shut down; and when the user selects a closing instruction of the second operating system, the second operating system is shut down.
Optionally, the switching the state of the target operating system pointed by the power on/off instruction according to the received power on/off instruction input by the user, and updating the state of the target operating system include: if the power-on/off instruction is determined to be a closing instruction of the first operating system and the second operating system is in a power-on state, sequentially closing the second operating system and the first operating system, and updating the state of the second operating system and the state of the first operating system to be in a power-off state; if the power-on/off instruction is determined to be a power-off instruction of the first operating system and the second operating system is in a power-off state, the first operating system is turned off and the states of the first operating system are all updated to be in the power-off state; if the power-on/off instruction is determined to be a closing instruction of the second operating system, closing the second operating system, and updating the state of the second operating system to a power-off state; and if the power-on/off instruction is determined to be the power-on instruction of the second operating system, starting the second operating system, and updating the state of the second operating system to be the power-on state.
It should be noted that, in the boot process, if the first operating system is powered off and the second operating system is powered off, the user starts the first operating system first and then the second operating system by triggering the power on/off instruction generated by the state switching key, and there is no option for the user to select which operating system to power on. That is, when the computer is started, the first operating system is started first, and then the second operating system is started, so that the situation that any operating system is started only does not exist. If only the first operating system is desired to be turned on and the second operating system is turned off, the second operating system may be selected to be turned off after both the first operating system and the second operating system are turned on.
In a specific example, as shown in fig. 10, a complete shutdown flow chart of the dual operating system includes:
and S141, shutting down the second operating system.
And S142, judging whether the shutdown of the second operating system is completed, if so, executing S144, and otherwise, executing S143.
S143, the shutdown of the second operating system is waited to be completed.
And S144, shutting down the first operating system.
S145, judging whether the first operating system is shut down completely, if so, executing S147, otherwise, executing S146.
S146, waiting for the shutdown of the first operating system to be completed.
And S147, updating the on-off states of the first operating system and the second operating system.
It should be noted that if only the second operating system needs to be shut down, only part of the flow in S141-S143 may be performed. If the second operating system is in the shutdown state, and the shutdown instruction of the first operating system is detected, only the first operating system needs to be shut down, and only part of the flow in S144-S147 may be performed.
By configuring the shutdown process of the operating system, the switching of the startup and shutdown states of the operating system can be accurately realized.
On the other hand, if the state switching instruction is a wake-up sleep state switching instruction; the awakening dormant state switching instruction is generated by triggering a state switching key by a user; optionally, the switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system, and the switching state of the operating system switching device includes: if the first operating system and the second operating system are both determined to be in the dormant state and the switching state of the operating system switching device is the first operating system, waking up the first operating system and updating the state of the first operating system to be in the awakening state; if the first operating system and the second operating system are both determined to be in the dormant state and the switching state of the operating system switching device is determined to be the second operating system, sequentially waking up the first operating system and the second operating system and updating the states of the first operating system and the second operating system to be in the awakening state; and if the first operating system and the second operating system are both in the wake-up state, switching the target operating system pointed by the switching state of the operating system switching device into the sleep state, and updating the state of the target operating system into the sleep state.
Specifically, waking up the os actually means that a processor of the os enters a normal operating state from a sleep or standby state. The target operating system is switched to a dormant state, which actually means that a processor of the operating system enters a dormant or standby state from a normal working state. The sleep or standby state is used to reduce power consumption of the operating system, save energy, and the like.
When the switching state of the os switching device is the second os, the second os needs to be woken up, and at this time, the first os and the second os are sequentially woken up.
It can be understood that the first operating system receives the wake-up sleep state switching instruction of the state switching key, and wakes up the second operating system based on the wake-up sleep state switching instruction, so that it is detected that the user triggers the power on/off key to generate the wake-up sleep state switching instruction, and the first operating system needs to be woken up first, and then the second operating system needs to be woken up. During this process, the user does not feel that the first operating system is woken up.
In fact, if the first operating system or the second operating system is turned on for a long time and does not operate, the first operating system or the second operating system enters an automatic sleep mode, and if the first operating system or the second operating system is turned on for a long time (the time length can be set as required), the first operating system or the second operating system enters a sleep state, and if the first operating system or the second operating system is turned on for a long time and does not sleep, the first operating system or the second operating system is always in an awakening state.
The first operating system and the second operating system can enter a dormant state when not operating for a long time. If the normally-on hibernation-free module is arranged, the first operating system and the second operating system are still in the awakening state after being not operated for a long time.
In a specific example, as shown in fig. 11, a flowchart of the dual operating system for implementing wake-up sleep switching by the user triggering the state switching key includes:
and S151, starting the dual operating systems.
The wake-up sleeping state refers to a normal working state and a standby state after the first operating system and the second operating system in the dual operating systems are both started.
S152, receiving a wake-up dormant state switching instruction generated by a user triggering state switching key.
S153, judging whether the first operating system is in an awakening state, if so, executing S154; otherwise, S159 is executed.
S154, judging whether the second operating system is in an awakening state, if so, executing S155; otherwise, S156 is performed.
S155, the target os to which the switching state of the os switching apparatus is directed is switched to the hibernation state, and the state of the target os is updated to the hibernation state.
If the target operating system pointed by the switching state of the operating system switching device is the first operating system, the first operating system is switched into the dormant state, and the state of the first operating system is updated into the dormant state.
And if the target operating system pointed by the switching state of the operating system switching device is the second operating system, switching the second operating system into the dormant state, and updating the state of the second operating system into the dormant state.
S156, judging whether the switching state of the operating system switching device is the first operating system, if so, executing S157; otherwise, S158 is executed.
S157, switch the first operating system to the hibernation state, and update the state of the first operating system to the hibernation state.
S158, switching the second operating system to an awake state, and updating the state of the second operating system to the awake state.
S159, judging whether the second operating system is in the awakening state, if so, executing S160; otherwise, S163 is executed.
S160, judging whether the switching state of the operating system switching device is the first operating system, if so, executing S162; otherwise, S161 is executed.
S161, switching the first operating system to an awakening state, and updating the state of the first operating system to the awakening state.
S162, switching the second operating system to a dormant state, and updating the state of the second operating system to the dormant state.
S163, judging whether the switching state of the operating system switching device is the first operating system, if so, executing S165; otherwise, S164 is executed.
S164, sequentially waking up the first operating system and the second operating system, and updating the states of the first operating system and the second operating system to be a wake-up state.
S165, switching the first operating system to be in an awakening state, and updating the state of the first operating system to be in the awakening state.
The state switching key is used for triggering to realize the awakening and sleeping switching of the operating system, so that the conversion of the awakening and sleeping state of the operating system can be accurately realized.
If the state switching instruction is a wake-up sleep state switching instruction; the awakening dormant state switching instruction is generated by triggering through an incoming call; optionally, the switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system, and the switching state of the operating system switching device includes: if the first operating system and the second operating system are determined to be in the dormant state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, waking up the first operating system, updating the state of the first operating system to be in the awakening state, and controlling a display screen in the external shared equipment to display an incoming call interface through the first operating system; if the first operating system and the second operating system are determined to be in the dormant state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the second operating system, waking up the first operating system, updating the state of the first operating system to be in the awakening state, switching to the first operating system through the operating system switching device, and controlling a display screen in the external shared device to display an incoming call interface through the first operating system; if the first operating system and the second operating system are both in an awakening state, the second operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, the second operating system is switched to the second operating system through the operating system switching device, and the second operating system controls a display screen in the external shared equipment to display an incoming call interface; if the first operating system and the second operating system are both in the awakening state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the second operating system, the first operating system is switched to the first operating system through the operating system switching device, and the first operating system controls a display screen in the external shared equipment to display an incoming call interface; if the first operating system is in a call and the second operating system is in a dormant state, waking up the second operating system, and switching to the second operating system through the operating system switching device after the first operating system is hung up; if the second operating system is in a call and the first operating system is in a dormant state, the first operating system is awakened, and the second operating system is switched to the first operating system through the operating system switching device after being hung up.
The operating system in the dormant state, which receives the incoming call, needs to be awakened and needs to control the display screen through the operating system to display the incoming call interface.
Because the priority of the first operating system is high, the first operating system generates a system switching instruction to control the operating system switching device to switch the operating systems.
When the switching state of the operating system switching device is the first operating system and the second operating system needs to be awakened, the second operating system and the first operating system need to be awakened sequentially at the moment, the states of the first operating system and the second operating system are updated to be the awakening state, and the operating system switching device is used for switching to the second operating system. That is, after the second operating system is awakened by the incoming call, the first operating system needs to be awakened, and the operating system switching device is controlled by the first operating system to be switched to the second operating system. And after the second operating system is switched, the second operating system controls the display screen to display the incoming call interface.
If the second operating system is not required to be awakened, the second operating system is still in a dormant state and cannot be awakened.
In a specific example, as shown in fig. 12-13, a flowchart of a dual operating system for implementing wake-up sleep switching triggered by an incoming call includes:
s171, starting up the dual operating systems.
S172, receiving a wake-up sleep state switching instruction generated by an incoming call trigger.
S173, judging whether the first operating system is in an awakening state, if so, executing S174; otherwise, S183 is executed.
S174, judging whether the second operating system is in the awakening state, if so, executing S175; otherwise, execution proceeds to S178.
S175, judging whether the target operating system of the incoming call is the same as the switching state of the operating system switching device, if so, executing S177; otherwise, S176 is performed.
And S176, switching the operating system pointed by the switching state of the operating system switching device into a target operating system of the incoming call, and controlling a display screen in the external shared equipment to display the incoming call interface through the target operating system.
If the target operating system of the incoming call is the first operating system and the switching state of the operating system switching device is the second operating system, the operating system pointed by the switching state of the operating system switching device is switched to the first operating system, and the first operating system controls a display screen in the external shared equipment to display an incoming call interface.
If the target operating system of the incoming call is the second operating system and the switching state of the operating system switching device is the first operating system, the operating system pointed by the switching state of the operating system switching device is switched to the second operating system, and the second operating system controls a display screen in the external shared equipment to display the incoming call interface.
And S177, controlling a display screen in the external shared device to display the incoming call interface through the target operating system.
And if the target operating system of the incoming call is the first operating system and the switching state of the operating system switching device is the first operating system, controlling a display screen in the external shared equipment to display the incoming call interface through the first operating system.
If the target operating system of the incoming call is the second operating system and the switching state of the operating system switching device is the second operating system, the second operating system controls a display screen in the external shared equipment to display the incoming call interface.
S178, judging whether the switching state of the target operating system of the incoming call is the same as that of the operating system switching device, if so, executing S180; otherwise, S179 is performed.
S179, the os to which the switching state of the os switching device is directed is switched to the target os of the incoming call, and S180 is executed.
S180, judging whether the target operating system of the incoming call is in a dormant state, if so, executing S182; otherwise, S181 is executed.
And S181, determining that the target operating system is the first operating system, and controlling a display screen in the external shared device to display an incoming call interface through the first operating system.
And S182, determining that the target operating system is the second operating system, switching the second operating system to an awakening state, and controlling a display screen in the external shared device to display an incoming call interface through the second operating system.
S183, judging whether the second operating system is in an awakening state, if so, executing S184; otherwise, S187 is performed.
S184, judging whether the target operating system of the incoming call is the first operating system, if so, executing S185; otherwise, S188 is executed.
S185, judging whether the switching state of the operating system switching device is the first operating system, if so, executing S187; otherwise, S186 is performed.
And S186, controlling a display screen in the external shared equipment to display the incoming call interface through the second operating system.
And S187, switching the first operating system to be in an awakening state, and controlling a display screen in the external shared device to display an incoming call interface through the first operating system.
S188, judging whether the switching state of the operating system switching device is the first operating system, if yes, executing S187; otherwise, S186 is performed.
S189, judging whether the target operating system of the incoming call is the same as the switching state of the operating system switching device, if so, executing S191; otherwise, S190 is performed.
And S190, switching the operating system pointed by the switching state of the operating system switching device into a target operating system of the incoming call, switching the target operating system into an awakening state, and controlling a display screen in the external shared equipment to display the incoming call interface through the target operating system.
If the target operating system of the incoming call is the first operating system and the switching state of the operating system switching device is the second operating system, the operating system pointed by the switching state of the operating system switching device is switched to the first operating system, the first operating system is switched to the awakening state, and the first operating system controls a display screen in the external shared equipment to display an incoming call interface.
If the target operating system of the incoming call is the second operating system and the switching state of the operating system switching device is the first operating system, the operating system pointed by the switching state of the operating system switching device is switched to the second operating system, the second operating system is switched to the awakening state, and the second operating system controls a display screen in the external shared equipment to display an incoming call interface.
And S191, switching the target operating system to an awakening state, and controlling a display screen in the external shared device to display an incoming call interface through the target operating system.
If the target operating system of the incoming call is the first operating system and the switching state of the operating system switching device is the first operating system, the first operating system is switched to the awakening state, and the first operating system controls a display screen in the external shared equipment to display the incoming call interface.
If the target operating system of the incoming call is the second operating system and the switching state of the operating system switching device is the second operating system, the second operating system is switched to the awakening state, and the second operating system controls a display screen in the external shared equipment to display the incoming call interface.
The operation system is switched by triggering the incoming call to wake up the dormancy, the conversion of the wake up dormancy state of the operation system can be accurately realized, and the incoming call operation system controls a display screen in the external shared equipment to display an incoming call interface in time.
When the first operating system is in a call and the second operating system is in an awakening state, if the second operating system receives an incoming call, the second operating system waits busy until the call of the first operating system is ended or hung up.
In addition, when the second operating system is in a call and the first operating system is in an awakening state, if the first operating system receives an incoming call, the first operating system waits busy until the call of the second operating system is ended or hung up.
By configuring the sleeping and awakening processes of the operating system, the switching of the sleeping and awakening states of the operating system can be accurately realized.
Optionally, the method for controlling the operating state of the dual operating system further includes: if the first operating system and the second operating system are both in the awakening state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, the first operating system controls a display screen in the external shared equipment to display an incoming call interface; and if the first operating system and the second operating system are both in the awakening state, the second operating system receives the incoming call, and the switching state of the operating system switching device is the second operating system, the second operating system controls a display screen in the external shared equipment to display an incoming call interface.
One operating system is in the process of communication, the state of the other operating system is not changed, but the other operating system is required to be switched to control the display screen to display the incoming call interface.
When one operating system is in a call, the states of the two operating systems are not changed, but the switching state of the operating system switching device is changed, so that the operating system switched to the incoming call is connected with the external common equipment, the display screen is controlled to display the incoming call interface, the user is prompted to have the incoming call of the other operating system, the operating system connected with the external common equipment is accurately switched when the operating system is in the call, the incoming call picture is accurately displayed, the incoming call state of the other operating system is ensured to be accurately displayed to the user, and the normal operation of the dual operating systems can be ensured when the dual operating systems continue to call.
In a specific example, as shown in fig. 14, a flowchart of a dual operating system for implementing wake-up sleep switching triggered by an incoming call includes:
s211, the dual operating systems are in a call.
The dual operating systems are in a call, which means that one of the dual operating systems is in a call.
S212, a call comes from the target operating system except the operating system in the call.
The first operating system is in a call, the second operating system calls, and the target operating system is the second operating system.
The second operating system is in a call, the first operating system calls, and the target operating system is the first operating system.
S213, judging whether the target operating system is in a dormant state, if so, executing S214; otherwise, S215 is performed.
S214, the target operating system is switched to the awakening state, and S215 is executed.
And if the second operating system is in a dormant state, switching the second operating system into an awakening state.
And if the first operating system is in a dormant state, switching the first operating system into an awakening state.
S215, the target operating system is busy and waits.
S216, after the operating system in the call is hung up, the operating system pointed by the switching state of the operating system switching device is switched to the target operating system.
After the call of the first operating system in the call is suspended, the operating system to which the switching state of the operating system switching device is directed is switched to the second operating system, and the second operating system controls the external shared device.
After the call of the second operating system in the call is suspended, the operating system to which the switching state of the operating system switching device is directed is switched to the first operating system, and the first operating system controls the external shared device.
When one operating system is in a call, the other operating system calls to wake up and sleep switch the operating systems, so that the switching of the wake up and sleep states of the operating systems can be accurately realized, and the external shared equipment is controlled by the incoming operating system after the call is finished, so that the call receiving operation can be quickly switched to the incoming operating system.
The embodiment of the invention ensures the safety of data through the switching of the working states of two operating systems with an independent memory and an independent processor, accurately determines the type of a state switching instruction based on the triggering mode of a state switching key and the incoming call state of the double operating systems, realizes the state switching of the two operating systems and the switching state switching of the switching device of the operating systems based on the state of a first operating system, the state of a second operating system and the switching state of the switching device of the operating systems, ensures that the two operating systems can be accurately switched between the operating systems on the basis of independent operation, thereby realizing the normal operation and normal communication of the two operating systems, improving the stability of the double operating systems, simultaneously realizing the state switching of the double operating systems through the state switching key and reducing the difficulty of the switching operation of the operating systems, and adding functionality to the dual operating system.
EXAMPLE III
Fig. 11 is a schematic diagram of an operating state control device of a dual operating system according to a third embodiment of the present invention. The third embodiment is a corresponding device for implementing the method for controlling the operating state of the dual operating system according to the foregoing embodiments of the present invention, and the device may be implemented in a software and/or hardware manner, and may be generally integrated into the dual operating system.
Accordingly, the apparatus of the present embodiment may include:
a state switching instruction type determining module 1110, configured to determine a type of a state switching instruction according to a trigger mode of a state switching key and an incoming call state of a dual operating system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up dormant state switching instruction;
a dual operating system state switching module 1120, configured to switch the state of the dual operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system, and the switching state of the operating system switching device.
The embodiment of the invention ensures the safety of data through the switching of the working states of two operating systems with an independent memory and an independent processor, accurately determines the type of a state switching instruction based on the triggering mode of a state switching key and the incoming call state of the double operating systems, realizes the state switching of the two operating systems and the switching state switching of the switching device of the operating systems based on the state of a first operating system, the state of a second operating system and the switching state of the switching device of the operating systems, ensures that the two operating systems can be accurately switched between the operating systems on the basis of independent operation, thereby realizing the normal operation and normal communication of the two operating systems, improving the stability of the double operating systems, simultaneously realizing the state switching of the double operating systems through the state switching key and reducing the difficulty of the switching operation of the operating systems, and adding functionality to the dual operating system.
Further, the priority of the first operating system is higher than the priority of the second operating system.
Further, the state switching instruction is a power on/off state switching instruction, and the power on/off state switching instruction is generated by triggering a state switching key by a user; the dual operating system state switching module 1120 includes: the power on/off switching unit is configured to switch the states of the dual operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system, and the switching state of the operating system switching device, and includes: if the first operating system is determined to be in a shutdown state and the second operating system is determined to be in a shutdown state, sequentially starting the first operating system and the second operating system, and updating the state of the first operating system and the state of the second operating system to be in a startup state; if the first operating system is determined to be in the power-on state, the second operating system is determined to be in the power-on state, and the switching state of the operating system switching device is determined to be the second operating system, the second operating system is closed, and the state of the second operating system is updated to be in the power-off state; if the first operating system is determined to be in the starting-up state and the switching state of the operating system switching device is determined to be the first operating system, displaying a power-on/off option on a display screen through the first operating system, switching the state of a target operating system pointed by a power-on/off instruction according to the received power-on/off instruction input by a user, and updating the state of the target operating system.
Further, the power on/off switching unit includes: an instruction power-on/power-off subunit, configured to, if it is determined that the power-on/power-off instruction is a power-off instruction of the first operating system and the second operating system is in a power-on state, sequentially turn off the second operating system and the first operating system, and update both the state of the second operating system and the state of the first operating system to a power-off state; if the power-on/off instruction is determined to be a power-off instruction of the first operating system and the second operating system is in a power-off state, the first operating system is turned off and the states of the first operating system are all updated to be in the power-off state; if the power-on/off instruction is determined to be a closing instruction of the second operating system, closing the second operating system, and updating the state of the second operating system to a power-off state; and if the power-on/off instruction is determined to be the power-on instruction of the second operating system, starting the second operating system, and updating the state of the second operating system to be the power-on state.
Further, the state switching instruction is a wake-up sleep state switching instruction; the awakening dormant state switching instruction is generated by triggering a state switching key by a user; the dual operating system state switching module 1120 includes: a key wake-up sleep switching unit, configured to wake up the first operating system if it is determined that the first operating system and the second operating system are both in a sleep state and the switching state of the operating system switching device is the first operating system, and update the state of the first operating system to a wake-up state, if it is determined that the first operating system and the second operating system are both in a sleep state and the switching state of the operating system switching device is the second operating system, sequentially wake up the first operating system and the second operating system, and update the states of the first operating system and the second operating system to a wake-up state; and if the first operating system and the second operating system are both in the wake-up state, switching the target operating system pointed by the switching state of the operating system switching device into the sleep state, and updating the state of the target operating system into the sleep state.
Further, the state switching instruction is a wake-up sleep state switching instruction; the awakening dormant state switching instruction is generated by triggering through an incoming call; the dual operating system state switching module 1120 includes: the incoming call awakening dormancy switching unit is used for switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device, and comprises the following steps: if the first operating system and the second operating system are determined to be in the dormant state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, waking up the first operating system, updating the state of the first operating system to be in the awakening state, and controlling a display screen in the external shared equipment to display an incoming call interface through the first operating system; if the first operating system and the second operating system are determined to be in the dormant state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the second operating system, waking up the first operating system, updating the state of the first operating system to be in the awakening state, switching to the first operating system through the operating system switching device, and controlling a display screen in the external shared device to display an incoming call interface through the first operating system; if the first operating system and the second operating system are both in an awakening state, the second operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, the second operating system is switched to the second operating system through the operating system switching device, and the second operating system controls a display screen in the external shared equipment to display an incoming call interface; if the first operating system and the second operating system are both in the awakening state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the second operating system, the first operating system is switched to the first operating system through the operating system switching device, and the first operating system controls a display screen in the external shared equipment to display an incoming call interface; if the first operating system is in a call and the second operating system is in a dormant state, waking up the second operating system, and switching to the second operating system through the operating system switching device after the first operating system is hung up; if the second operating system is in a call and the first operating system is in a dormant state, the first operating system is awakened, and the second operating system is switched to the first operating system through the operating system switching device after being hung up.
Further, the operating state control apparatus for dual operating systems further includes: a state obtaining module, configured to obtain a state of the second operating system according to a general input/output interface of the first operating system before switching the state of the operating system according to a type of the state switching instruction, the state of the first operating system, the state of the second operating system, and a switching state of an operating system switching device; acquiring the state of the first operating system according to a general input/output interface of the second operating system; and the plurality of general input/output interfaces of the first operating system are respectively connected with the plurality of general input/output interfaces of the second operating system. Further, the operating state control apparatus for dual operating systems further includes: the state maintaining module is used for controlling a display screen in the external shared equipment to display an incoming call interface through the first operating system if the first operating system and the second operating system are both in an awakening state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system; and if the first operating system and the second operating system are both in the awakening state, the second operating system receives the incoming call, and the switching state of the operating system switching device is the second operating system, the second operating system controls a display screen in the external shared equipment to display an incoming call interface.
The working state control device of the dual operating system can execute the working state control method of the dual operating system provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executed method.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for controlling a working state of a dual operating system, as provided in all inventive embodiments of the present application:
that is, the program when executed by the processor implements: determining the type of a state switching instruction according to the triggering mode of the state switching key and the incoming call state of the dual-operation system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up dormant state switching instruction; and switching the state of the dual operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a LAN or a WAN, or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (7)
1. A dual operating system, comprising: the system comprises an operating system switching device, external shared equipment, a state switching key, a first operating system and a second operating system, wherein the first operating system and the second operating system respectively comprise at least one independent memory and at least one independent processor;
the operating system switching device is connected with the first operating system, the second operating system and the external shared device respectively, and is used for controlling the external shared device to be connected with the first operating system or controlling the external shared device to be connected with the second operating system;
the external shared device is used for realizing a matched function according to the independent control of the first operating system or the second operating system;
the state switching key is respectively connected with the first operating system and the second operating system and is used for switching the state of the first operating system or switching the state of the second operating system;
the priority of the first operating system is higher than that of the second operating system;
determining the type of a state switching instruction according to the triggering mode of the state switching key and the incoming call state of the dual-operation system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up dormant state switching instruction;
switching the state of the dual operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device;
before switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device, the method further comprises the following steps:
acquiring the state of the second operating system according to the general input/output interface of the first operating system;
acquiring the state of the first operating system according to a general input/output interface of the second operating system;
the plurality of general input/output interfaces of the first operating system are respectively connected with the plurality of general input/output interfaces of the second operating system;
the first operating system processor and the second operating system processor are internally provided with GPIO controllers as I/O port equipment;
the GPIO controller sets an input or output mode, and acquires external signals through the universal input/output interfaces when the input mode is set; when an output mode is set, outputting a pull-up or pull-down signal through the plurality of general input/output interfaces; combining a plurality of GPIO controllers to form a state controller for controlling a dual-operation system;
and masking a preset state bit for ensuring that the priority of the first operating system is higher than the priority of the second operating system.
2. The method for controlling the working state of the dual-operating system is applied to the dual-operating system as claimed in claim 1, and is characterized in that the state switching instruction is a power-on/power-off state switching instruction which is generated by triggering a state switching key by a user;
the switching the state of the dual operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device includes:
if the first operating system is determined to be in a shutdown state and the second operating system is determined to be in a shutdown state, sequentially starting the first operating system and the second operating system, and updating the state of the first operating system and the state of the second operating system to be in a startup state;
if the first operating system is determined to be in the power-on state, the second operating system is determined to be in the power-on state, and the switching state of the operating system switching device is determined to be the second operating system, the second operating system is closed, and the state of the second operating system is updated to be in the power-off state;
if the first operating system is determined to be in the starting-up state and the switching state of the operating system switching device is determined to be the first operating system, displaying a power-on/off option on a display screen through the first operating system, switching the state of a target operating system pointed by a power-on/off instruction according to the received power-on/off instruction input by a user, and updating the state of the target operating system.
3. The method according to claim 2, wherein the switching the state of the target operating system pointed by the power-on/off instruction and the updating the state of the target operating system according to the power-on/off instruction received by the user comprises:
if the power-on/off instruction is determined to be a closing instruction of the first operating system and the second operating system is in a power-on state, sequentially closing the second operating system and the first operating system and updating the state of the second operating system and the state of the first operating system to be in a power-off state;
if the power-on/off instruction is determined to be a power-off instruction of the first operating system and the second operating system is in a power-off state, the first operating system is turned off and the state of the first operating system is updated to be the power-off state;
if the power-on/off instruction is determined to be a closing instruction of the second operating system, closing the second operating system, and updating the state of the second operating system to a power-off state;
and if the power-on/off instruction is determined to be the power-on instruction of the second operating system, starting the second operating system, and updating the state of the second operating system to be the power-on state.
4. A working state control method of a dual operating system, applied to the dual operating system according to claim 1, wherein the state switching instruction is a wake-up sleep state switching instruction; the awakening dormant state switching instruction is generated by triggering a state switching key by a user;
the switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device includes:
if the first operating system and the second operating system are both determined to be in the dormant state and the switching state of the operating system switching device is the first operating system, waking up the first operating system and updating the state of the first operating system to be in the awakening state;
if the first operating system and the second operating system are both determined to be in the dormant state and the switching state of the operating system switching device is determined to be the second operating system, sequentially waking up the first operating system and the second operating system and updating the states of the first operating system and the second operating system to be in the awakening state;
and if the first operating system and the second operating system are both in the wake-up state, switching the target operating system pointed by the switching state of the operating system switching device into the sleep state, and updating the state of the target operating system into the sleep state.
5. A working state control method of a dual operating system, applied to the dual operating system according to claim 1, wherein the state switching instruction is a wake-up sleep state switching instruction; the awakening dormant state switching instruction is generated by triggering through an incoming call;
the switching the state of the operating system according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device includes:
if the first operating system and the second operating system are determined to be in the dormant state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, waking up the first operating system, updating the state of the first operating system to be in the awakening state, and controlling a display screen in the external shared equipment to display an incoming call interface through the first operating system;
if the first operating system and the second operating system are determined to be in the dormant state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the second operating system, waking up the first operating system, updating the state of the first operating system to be in the awakening state, switching to the first operating system through the operating system switching device, and controlling a display screen in the external shared device to display an incoming call interface through the first operating system;
if the first operating system and the second operating system are both in an awakening state, the second operating system receives an incoming call, and the switching state of the operating system switching device is the first operating system, the second operating system is switched to the second operating system through the operating system switching device, and the second operating system controls a display screen in the external shared equipment to display an incoming call interface;
if the first operating system and the second operating system are both in the awakening state, the first operating system receives an incoming call, and the switching state of the operating system switching device is the second operating system, the first operating system is switched to the first operating system through the operating system switching device, and the first operating system controls a display screen in the external shared equipment to display an incoming call interface;
if the first operating system is in a call and the second operating system is in a dormant state, waking up the second operating system, and switching to the second operating system through the operating system switching device after the first operating system is hung up;
if the second operating system is in a call and the first operating system is in a dormant state, the first operating system is awakened, and the second operating system is switched to the first operating system through the operating system switching device after being hung up.
6. An operating state control device of a dual operating system, comprising: the system comprises an operating system switching device, external shared equipment, a state switching key, a first operating system and a second operating system, wherein the first operating system and the second operating system respectively comprise at least one independent memory and at least one independent processor;
the operating system switching device is connected with the first operating system, the second operating system and the external shared device respectively, and is used for controlling the external shared device to be connected with the first operating system or controlling the external shared device to be connected with the second operating system;
the external shared device is used for realizing a matched function according to the independent control of the first operating system or the second operating system;
the state switching key is respectively connected with the first operating system and the second operating system and is used for switching the state of the first operating system or switching the state of the second operating system;
the priority of the first operating system is higher than that of the second operating system:
the state switching instruction type determining module is used for determining the type of the state switching instruction according to the triggering mode of the state switching key and the incoming call state of the dual-operation system; the types of the state switching instructions comprise a power-on/off state switching instruction and a wake-up dormant state switching instruction;
the double-operating-system state switching module is used for switching the states of the double operating systems according to the type of the state switching instruction, the state of the first operating system, the state of the second operating system and the switching state of the operating system switching device;
a state obtaining module, configured to obtain a state of the second operating system according to a general input/output interface of the first operating system before switching the state of the operating system according to a type of the state switching instruction, the state of the first operating system, the state of the second operating system, and a switching state of an operating system switching device; acquiring the state of the first operating system according to a general input/output interface of the second operating system; the plurality of general input/output interfaces of the first operating system are respectively connected with the plurality of general input/output interfaces of the second operating system;
the first operating system processor and the second operating system processor are internally provided with GPIO controllers as I/O port equipment;
the GPIO controller sets an input or output mode, and acquires external signals through the universal input/output interfaces when the input mode is set; when an output mode is set, outputting a pull-up or pull-down signal through the plurality of general input/output interfaces; combining a plurality of GPIO controllers to form a state controller for controlling a dual-operation system;
and masking a preset state bit for ensuring that the priority of the first operating system is higher than the priority of the second operating system.
7. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the operating state control method of a dual operating system according to any one of claims 2 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910804143.0A CN110502928B (en) | 2019-08-28 | 2019-08-28 | Dual operating system, working state control method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910804143.0A CN110502928B (en) | 2019-08-28 | 2019-08-28 | Dual operating system, working state control method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110502928A CN110502928A (en) | 2019-11-26 |
CN110502928B true CN110502928B (en) | 2022-03-29 |
Family
ID=68590163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910804143.0A Active CN110502928B (en) | 2019-08-28 | 2019-08-28 | Dual operating system, working state control method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502928B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115658159A (en) * | 2019-11-20 | 2023-01-31 | Oppo广东移动通信有限公司 | System response method and device, electronic equipment and computer readable storage medium |
CN114968375A (en) * | 2021-02-18 | 2022-08-30 | Oppo广东移动通信有限公司 | System switching method and device, electronic equipment and readable storage medium |
CN115079808B (en) * | 2021-03-12 | 2024-06-28 | Oppo广东移动通信有限公司 | Event reminding method and device, wearable equipment and storage medium |
CN115080158B (en) * | 2021-03-12 | 2024-07-09 | Oppo广东移动通信有限公司 | Interface display method, device, terminal equipment and computer readable storage medium |
CN113032027B (en) * | 2021-03-25 | 2024-05-24 | 联想(北京)有限公司 | Electronic equipment |
CN116560735A (en) * | 2022-01-28 | 2023-08-08 | Oppo广东移动通信有限公司 | Operating system awakening method and device, electronic equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382833A (en) * | 2007-09-05 | 2009-03-11 | 宏达国际电子股份有限公司 | System and electronic device having multiple operating systems and operating method thereof |
CN101937345A (en) * | 2009-07-01 | 2011-01-05 | 联想(北京)有限公司 | Computer and computing system |
CN201845329U (en) * | 2010-11-19 | 2011-05-25 | 惠州市创亿鑫科技有限公司 | Dual independent security computer system with one mainboard |
CN103686323A (en) * | 2013-12-13 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Multiprocessor communication method and system |
CN104951374A (en) * | 2015-06-15 | 2015-09-30 | 中国航空无线电电子研究所 | Multi-kernel processing device based on multiple operating systems |
CN106095468A (en) * | 2016-07-20 | 2016-11-09 | 杭州华澜微电子股份有限公司 | A kind of computer starting method and device |
CN107203426A (en) * | 2017-04-26 | 2017-09-26 | 北京珠穆朗玛移动通信有限公司 | System operation method, mobile terminal and storage medium based on dual system |
CN107295166A (en) * | 2017-06-09 | 2017-10-24 | 青岛海信移动通信技术股份有限公司 | The startup method and mobile terminal of a kind of dual system mobile terminal |
CN108170633A (en) * | 2017-11-15 | 2018-06-15 | 中国电子科技集团公司第三十二研究所 | Handheld terminal with double CPUs in full physical isolation |
CN108763139A (en) * | 2018-04-20 | 2018-11-06 | 青岛海信电器股份有限公司 | A kind of control method and device of I2C communications |
CN109063434A (en) * | 2018-07-24 | 2018-12-21 | 广州朗国电子科技有限公司 | The method and system of synchronizing unlocking dual system meeting blank |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100542105C (en) * | 2007-03-13 | 2009-09-16 | 杭州华三通信技术有限公司 | Method that system mode is obtained in the multicomputer system and device |
US8725916B2 (en) * | 2012-01-07 | 2014-05-13 | Microsoft Corporation | Host side implementation for HID I2C data bus |
US10467154B2 (en) * | 2017-02-10 | 2019-11-05 | Qualcomm Incorporated | Multi-port multi-sideband-GPIO consolidation technique over a multi-drop serial bus |
CN109086085B (en) * | 2018-07-26 | 2021-11-16 | 深圳控道智能科技有限公司 | Operating system start management method and device |
-
2019
- 2019-08-28 CN CN201910804143.0A patent/CN110502928B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382833A (en) * | 2007-09-05 | 2009-03-11 | 宏达国际电子股份有限公司 | System and electronic device having multiple operating systems and operating method thereof |
CN101937345A (en) * | 2009-07-01 | 2011-01-05 | 联想(北京)有限公司 | Computer and computing system |
CN201845329U (en) * | 2010-11-19 | 2011-05-25 | 惠州市创亿鑫科技有限公司 | Dual independent security computer system with one mainboard |
CN103686323A (en) * | 2013-12-13 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Multiprocessor communication method and system |
CN104951374A (en) * | 2015-06-15 | 2015-09-30 | 中国航空无线电电子研究所 | Multi-kernel processing device based on multiple operating systems |
CN106095468A (en) * | 2016-07-20 | 2016-11-09 | 杭州华澜微电子股份有限公司 | A kind of computer starting method and device |
CN107203426A (en) * | 2017-04-26 | 2017-09-26 | 北京珠穆朗玛移动通信有限公司 | System operation method, mobile terminal and storage medium based on dual system |
CN107295166A (en) * | 2017-06-09 | 2017-10-24 | 青岛海信移动通信技术股份有限公司 | The startup method and mobile terminal of a kind of dual system mobile terminal |
CN108170633A (en) * | 2017-11-15 | 2018-06-15 | 中国电子科技集团公司第三十二研究所 | Handheld terminal with double CPUs in full physical isolation |
CN108763139A (en) * | 2018-04-20 | 2018-11-06 | 青岛海信电器股份有限公司 | A kind of control method and device of I2C communications |
CN109063434A (en) * | 2018-07-24 | 2018-12-21 | 广州朗国电子科技有限公司 | The method and system of synchronizing unlocking dual system meeting blank |
Also Published As
Publication number | Publication date |
---|---|
CN110502928A (en) | 2019-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110502928B (en) | Dual operating system, working state control method, device and storage medium | |
US10123275B2 (en) | Information processing method and electronic device supporting the same | |
BR112014012097B1 (en) | system for mixing audio signals from one or more portable user devices docked in said system, docking host, and method for mixing audio signals from one or more portable user devices docked in at least two docking hosts for presentation on an audio sound system | |
EP3087716A1 (en) | Remote rendering for efficient use of wireless bandwidth for wireless docking | |
WO2015183403A1 (en) | Companion application for activity cooperation | |
WO2018010596A1 (en) | Mode switching method and device | |
KR102269387B1 (en) | Information sharing method depends on a situation and electronic device supporting the same | |
WO2019015457A1 (en) | Blind detection parameter acquisition method, related device and system | |
CN112306364B (en) | IoT (Internet of things) equipment control method and device, terminal and storage medium | |
TW201607348A (en) | Method for managing data traffic of software and portable electronic apparatus using the same | |
TWI649981B (en) | Wireless communication device and method for communication matching thereof | |
WO2016112602A1 (en) | Shortcut operation method, shortcut operation device and terminal | |
US20240345855A1 (en) | Application starting method, electronic device, and non-transitory computer-readable storage medium | |
CN210222754U (en) | Dual operating system | |
WO2015184822A1 (en) | Power saving method and apparatus for mobile terminal | |
WO2024193723A1 (en) | Terminal device, and standby wake-up method based on far-field voice | |
US9734878B1 (en) | Systems and methods for individually configuring dynamic random access memories sharing a common command access bus | |
US11388673B2 (en) | Control method and device | |
CN104424142A (en) | Method and device for accessing shared resource in multi-core processor system | |
TWI482021B (en) | Method for sharing peripheral devices in dual operating systems, and electronic device using the same | |
WO2023116236A1 (en) | Application starting method and apparatus, and device and storage medium | |
WO2023138235A1 (en) | Theme switching method and apparatus, and device, storage medium and program product | |
WO2023142764A1 (en) | Wake-up method and apparatus for operating system, electronic device, and storage medium | |
WO2024216999A1 (en) | Resource scheduling method and apparatus | |
WO2020103041A1 (en) | Bluetooth connection control method and router |
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 | ||
CB02 | Change of applicant information |
Address after: Room 802a, building 5, 3000 Longdong Avenue, Pudong New Area Free Trade Zone, Shanghai, 201203 Applicant after: Shanghai Jinzhuo Technology Co.,Ltd. Address before: Room 802a, building 5, 3000 Longdong Avenue, Pudong New Area Free Trade Zone, Shanghai, 201203 Applicant before: SHANGHAI KINDROID NETWORK TECHNOLOGY CO.,LTD. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |