CN113467838A - Dual-system switching method and device - Google Patents
Dual-system switching method and device Download PDFInfo
- Publication number
- CN113467838A CN113467838A CN202010235201.5A CN202010235201A CN113467838A CN 113467838 A CN113467838 A CN 113467838A CN 202010235201 A CN202010235201 A CN 202010235201A CN 113467838 A CN113467838 A CN 113467838A
- Authority
- CN
- China
- Prior art keywords
- hardware
- foreground
- state
- background
- background system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
- G06F9/4408—Boot device selection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Hardware Redundancy (AREA)
Abstract
The application discloses a dual-system switching method and a dual-system switching device, wherein the method comprises the following steps: dividing hardware in the terminal equipment into a first hardware set and a second hardware set in advance; when the terminal device detects a system switching instruction, triggering and closing hardware which belongs to the first hardware set and is in an open state in the terminal device; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction; after the system switching operation is completed, for any hardware S2 belonging to the second hardware set in the terminal device, when the foreground system needs to use the hardware S2 for the first time, the background system is triggered to ensure that the hardware S2 is in a closed state, and when a notification that the hardware S2 is in the closed state is received from the background system, the foreground system starts the use of the hardware S2. The invention can effectively reduce the time delay of system switching.
Description
Technical Field
The present invention relates to mobile communication technologies, and in particular, to a dual-system handover method and apparatus.
Background
At present, in order to meet the safety requirements of users, a dual system is generally adopted in a safety terminal, wherein one system is used for life, the other system is used for work, and the two systems are highly isolated. When the terminal is started, one system is in the foreground, and the other system is in the background. The user can switch the system which needs to be used at present to the foreground for use through the switching between the systems according to the needs. Therefore, it is very important for a security terminal installed with dual systems to smoothly and rapidly support switching between the dual systems.
The inventor finds that the existing dual-system switching scheme has the problem of long switching delay in the process of implementing the invention. After earnest research and analysis on the existing dual-system switching scheme, the inventors find out that the reasons of the problems are as follows:
because only one set of hardware resources is usually provided in the security terminal, only one system can occupy the hardware resources in the terminal at a certain time. The currently adopted hardware resource usage scheme is that a foreground system occupies hardware resources, and a background system releases the hardware resources.
In the existing dual-system switching scheme, when the system is switched, the service condition of the hardware resource of the foreground system needs to be checked first, and the module which occupies the hardware resource needs to release the corresponding hardware resource first, and the switching work of the system can be continuously completed after the release (closing) of all the hardware resources is completed. Fig. 1 is a schematic flow chart of a conventional dual-system handover method, and as shown in fig. 1, the conventional dual-system handover flow mainly includes the following steps:
step 1, initiating a system switching process.
And 2, checking the occupation (opening) condition of the hardware resources.
And step 3, closing the hardware resources in use, such as Bluetooth (Bluetooth), Near Field Communication (NFC), GPS and the like.
And 4, informing the system switching module of the result.
And 5, the system switching module completes system switching.
In the above process, during the switching, the service conditions of each hardware resource in the terminal need to be checked one by one, and the release of the hardware resource in the on state is triggered, and the system switching module needs to wait for the completion of the release of all the hardware resources to perform the system switching. In practical application, if the number of hardware in the on state is large, the time overhead generated in the hardware closing link is large, and further the time overhead of system switching is large and can reach more than 2s, under the condition that a foreground system occupies a large amount of hardware or certain limit scenes, the switching time may be longer and reach about 5s, so that the user experience is necessarily influenced by the long-time switching delay, and particularly, the switching waiting delay is more obvious when the user switches back and forth quickly.
Disclosure of Invention
In view of the above, the present invention provides a dual system handover method and apparatus, which can effectively reduce the system handover delay.
In order to achieve the purpose, the technical scheme provided by the invention is as follows:
a dual system handover method includes:
dividing hardware in the terminal equipment into a first hardware set and a second hardware set in advance;
when the terminal device detects a system switching instruction, triggering and closing hardware which belongs to the first hardware set and is in an open state in the terminal device; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction;
after the system switching operation is completed, for any hardware S2 belonging to the second hardware set in the terminal device, when the foreground system needs to use the hardware S2 for the first time, the background system is triggered to ensure that the hardware S2 is in a closed state, and when a notification that the hardware S2 is in the closed state is received from the background system, the foreground system starts the use of the hardware S2.
Preferably, the triggering the backend system to ensure that the hardware S2 is in the off state includes:
the foreground system applies for using the hardware to the background system S2;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the background system informs the foreground system that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system informs the hardware S2 to be in the closed state.
Preferably, the triggering the backend system to ensure that the hardware S2 is in the off state includes:
the foreground system applies to the background system to inquire the switch state of the hardware S2;
the background system feeds back the on-off state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is on state, the foreground system informs the background system to close the hardware S2, and the background system closes the hardware S2 and feeds back the closing result to the foreground system according to the notification.
Preferably, the method further comprises:
after the system switching operation is completed, when the foreground system needs to query the switching state of the hardware S2, the background system is triggered to feed back the switching state of the hardware S2 in the background system to the foreground system.
Preferably, the closing delay of the hardware in the first hardware set is smaller than a preset delay threshold, and the closing delay of the hardware in the second hardware set is larger than the delay threshold.
Preferably, the second set of hardware includes at least bluetooth, near field communication, and GPS.
Preferably, the method further comprises:
after the hardware S2 is used for the first time, if the foreground system needs to use the hardware S2 again, whether the current latest starting of the hardware S2 is initiated by the background system is judged, if so, the hardware S2 is started after the background system is triggered to ensure that the hardware S2 is in a closed state, and otherwise, the hardware S2 is directly started.
A dual-system switching device is arranged in a terminal device and comprises:
the system comprises a first module, a second module and a third module, wherein the first module is used for triggering and closing hardware which belongs to a preset first hardware set and is in an opening state in the terminal equipment when the terminal equipment detects a system switching instruction; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction; the hardware in the terminal equipment consists of the first hardware set and a preset second hardware set;
a second module, configured to trigger a background system to ensure that the hardware S2 is in a closed state when a foreground system needs to use the hardware S2 for the first time for any hardware S2 belonging to the second hardware set in the terminal device after the system switching operation is completed, and start using the hardware S2 in the foreground system after a notification that the hardware S2 is in the closed state is received from the background system.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in an off state, and specifically includes:
applying for using the hardware from the foreground system to the background system S2;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the background system informs the foreground system that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system informs the hardware S2 to be in the closed state.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in an off state, and specifically includes:
a foreground system applies for inquiring the switch state of the hardware S2 from a background system;
the background system feeds back the on-off state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is on state, the foreground system informs the background system to close the hardware S2, and the background system closes the hardware S2 and feeds back the closing result to the foreground system according to the notification.
Preferably, the second module is further configured to trigger the background system to feed back the on-off state of the hardware S2 in the background system to the foreground system when the foreground system needs to query the on-off state of the hardware S2 after the system switching operation is completed.
Preferably, the closing delay of the hardware in the first hardware set is smaller than a preset delay threshold, and the closing delay of the hardware in the second hardware set is larger than the delay threshold.
Preferably, the second set of hardware includes at least bluetooth, near field communication, and GPS.
Preferably, the second module is further configured to, after the foreground system uses the hardware S2 for the first time, if the foreground system needs to use the hardware S2 again, determine whether the current latest starting of the hardware S2 is initiated by a background system, if so, start the use of the hardware S2 after triggering the background system to ensure that the hardware S2 is in a closed state, and otherwise, directly start the use of the hardware S2.
A terminal device comprising a processor and a memory;
the memory stores an application program executable by the processor for causing the processor to perform the dual system handover method as described in any one of the above.
A computer readable storage medium having computer readable instructions stored therein for performing a dual system handover method as described in any of the above.
In summary, according to the dual-system switching method and apparatus provided by the present invention, when the terminal device detects a system switching instruction, only the release of the hardware that is closed is triggered, but not the release of all hardware, and for the hardware that is not closed, when the system is required to be used after the system switching is completed, the foreground system triggers the background system to release the corresponding hardware. Therefore, the number of hardware needing to be checked and closed during system switching is effectively reduced, so that long-time overhead caused by closing all hardware is effectively avoided, and further system switching time delay can be effectively reduced.
Drawings
FIG. 1 is a flow chart of a conventional dual system handover method
FIG. 2 is a schematic flow chart of a method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a dual system switching device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 2 is a schematic flowchart of a method according to an embodiment of the present invention, and as shown in fig. 2, the dual system handover method implemented by the embodiment mainly includes:
In this step, hardware in the terminal device needs to be divided, so that when system switching is needed, only the closing of a part of hardware is triggered, thereby reducing the time delay of system switching.
Preferably, in order to reduce the system switching delay by a larger margin, the hardware with larger closing delay may be selected to be placed in the second hardware set according to the hardware closing delay, and for the hardware in the set, the hardware does not need to be closed during system switching, and the background is triggered to close the hardware when the hardware needs to be used after the system switching is completed. Specifically, the first hardware set and the second hardware set may be divided by the following method:
the closing time delay of the hardware in the first hardware set is smaller than a preset time delay threshold value, and the closing time delay of the hardware in the second hardware set is larger than the time delay threshold value.
The delay threshold value can be set to a proper value by a person skilled in the art according to the hardware configuration condition of the actual terminal, as long as it can be ensured that the system switching delay does not affect the user experience.
In practical application, in order to obtain better user experience, a person skilled in the art may also integrate the frequency of opening the hardware by a user and the closing time delay of the hardware, and divide the first hardware set and the second hardware set.
In the process of implementing the invention, the inventor finds out through simulation that the turning off of Bluetooth, near field communication, GPS and Wifi is usually time-consuming in practical application. In consideration of the use habit of the user, the influence on the Wifi network connection during system switching is reduced, preferably, Wifi is not considered, and the second hardware set is set to at least comprise bluetooth, near field communication and GPS.
In this step, different from the existing system switching, after receiving the system switching instruction of the user, the release of closing part of the hardware (i.e. the hardware in the first hardware set) is triggered without waiting for the completion of the release of all the hardware to execute the corresponding system switching operation, so as to avoid the occurrence of a situation that the overhead of the system switching time is large due to the closing of all the hardware.
In this step, it is considered that the hardware in the second hardware set does not execute the corresponding resource release operation when the system is switched, so that after the system is switched, when the hardware needs to be used, the hardware is first ensured to be in a closed state, so as to ensure that the foreground system can normally use the hardware.
Preferably, the background system can be triggered to ensure that the hardware S2 is in the off state by the following methods:
the method comprises the following steps: the foreground system applies for using the hardware to the background system S2;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the background system informs the foreground system that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system informs the hardware S2 to be in the closed state.
The second method comprises the following steps:
preferably, the triggering the backend system to ensure that the hardware S2 is in the off state includes:
the foreground system applies to the background system to inquire the switch state of the hardware S2;
the background system feeds back the on-off state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is on state, the foreground system informs the background system to close the hardware S2, and the background system closes the hardware S2 and feeds back the closing result to the foreground system according to the notification.
In the method, the background system actively closes the hardware S2 according to the use application of the foreground system to the hardware S2, and the foreground system sends a closing notice to the background system to trigger the background system to close the hardware S2. In practical applications, those skilled in the art can select an appropriate method according to actual needs to trigger the background system to shut down the hardware S2.
In consideration of the fact that in practical application, the background system may occupy the hardware with higher priority in the second set, such as bluetooth, NFC, and the like, in this case, if the foreground system needs to use the hardware later, the background needs to be triggered to release the hardware first, so that the hardware can be normally used. In view of the above situation, in order to improve the reliability of the terminal device, the following method may be preferably adopted to achieve this object.
After the hardware S2 is used for the first time, if the foreground system needs to use the hardware S2 again, whether the current latest starting of the hardware S2 is initiated by the background system is judged, if so, the hardware S2 is started after the background system is triggered to ensure that the hardware S2 is in a closed state, and otherwise, the hardware S2 is directly started.
Preferably, when the foreground system needs to know the on-off state of the hardware in the second set, the foreground system needs to query the background system for the on-off state of the hardware in the background system, so that the foreground system can accurately determine the on-off state of the hardware in the second set, and specifically, the method further includes:
after the system switching operation is completed, when the foreground system needs to query the switching state of the hardware S2, the background system is triggered to feed back the switching state of the hardware S2 in the background system to the foreground system.
Considering that the background system may occupy the hardware with higher priority in the background system in the second set, based on the above method, the foreground system may make an accurate determination on the current on-off state of the hardware according to the on-off state fed back by the background system in real time, and then, in combination with the on-off state of the hardware in the foreground system.
Corresponding to the above method embodiment, the present application further provides a dual-system switching device, which is disposed in a terminal device, and as shown in fig. 3, includes:
a dual-system switching device is arranged in a terminal device and comprises:
the system comprises a first module, a second module and a third module, wherein the first module is used for triggering and closing hardware which belongs to a preset first hardware set and is in an opening state in the terminal equipment when the terminal equipment detects a system switching instruction; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction; the hardware in the terminal equipment consists of the first hardware set and a preset second hardware set;
a second module, configured to trigger a background system to ensure that the hardware S2 is in a closed state when a foreground system needs to use the hardware S2 for the first time for any hardware S2 belonging to the second hardware set in the terminal device after the system switching operation is completed, and start using the hardware S2 in the foreground system after a notification that the hardware S2 is in the closed state is received from the background system.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in an off state, and specifically includes:
applying for using the hardware from the foreground system to the background system S2;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the background system informs the foreground system that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system informs the hardware S2 to be in the closed state.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in an off state, and specifically includes:
a foreground system applies for inquiring the switch state of the hardware S2 from a background system;
the background system feeds back the on-off state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is on state, the foreground system informs the background system to close the hardware S2, and the background system closes the hardware S2 and feeds back the closing result to the foreground system according to the notification.
Preferably, the second module is further configured to trigger the background system to feed back the on-off state of the hardware S2 in the background system to the foreground system when the foreground system needs to query the on-off state of the hardware S2 after the system switching operation is completed.
Preferably, the closing delay of the hardware in the first hardware set is smaller than a preset delay threshold, and the closing delay of the hardware in the second hardware set is larger than the delay threshold.
Preferably, the second set of hardware includes at least bluetooth, near field communication, and GPS.
Preferably, the second module is further configured to, after the foreground system uses the hardware S2 for the first time, if the foreground system needs to use the hardware S2 again, determine whether the current latest starting of the hardware S2 is initiated by a background system, if so, start the use of the hardware S2 after triggering the background system to ensure that the hardware S2 is in a closed state, and otherwise, directly start the use of the hardware S2.
Fig. 4 is a structural diagram of a terminal device according to the present invention.
As shown in fig. 4, the terminal device includes: a processor and a memory; wherein the memory has stored therein an application executable by the processor for causing the processor to perform the dual system switching method as described in any one of the above.
The memory may be embodied as various storage media such as an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash memory (Flash memory), and a Programmable Read Only Memory (PROM). The processor may be implemented to include one or more central processors or one or more field programmable gate arrays, wherein the field programmable gate arrays integrate one or more central processor cores. In particular, the central processor or central processor core may be implemented as a CPU or MCU.
It should be noted that not all steps and modules in the above flows and structures are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The division of each module is only for convenience of describing adopted functional division, and in actual implementation, one module may be divided into multiple modules, and the functions of multiple modules may also be implemented by the same module, and these modules may be located in the same device or in different devices.
The hardware modules in the various embodiments may be implemented mechanically or electronically. For example, a hardware module may include a specially designed permanent circuit or logic device (e.g., a special purpose processor such as an FPGA or ASIC) for performing specific operations. A hardware module may also include programmable logic devices or circuits (e.g., including a general-purpose processor or other programmable processor) that are temporarily configured by software to perform certain operations. The implementation of the hardware module in a mechanical manner, or in a dedicated permanent circuit, or in a temporarily configured circuit (e.g., configured by software), may be determined based on cost and time considerations.
The present invention also provides a machine-readable storage medium storing instructions for causing a machine to perform a method as described herein. Specifically, a system or an apparatus equipped with a storage medium on which a software program code that realizes the functions of any of the embodiments described above is stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program code stored in the storage medium. Further, part or all of the actual operations may be performed by an operating system or the like operating on the computer by instructions based on the program code. The functions of any of the above-described embodiments may also be implemented by writing the program code read out from the storage medium to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causing a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on the instructions of the program code.
Examples of the storage medium for supplying the program code include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RWs, DVD-ROMs, DVD-RAMs, DVD-RWs, DVD + RWs), magnetic tapes, nonvolatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or the cloud by a communication network.
"exemplary" means "serving as an example, instance, or illustration" herein, and any illustration, embodiment, or steps described as "exemplary" herein should not be construed as a preferred or advantageous alternative. For the sake of simplicity, the drawings are only schematic representations of the parts relevant to the invention, and do not represent the actual structure of the product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "a" does not mean that the number of the relevant portions of the present invention is limited to "only one", and "a" does not mean that the number of the relevant portions of the present invention "more than one" is excluded. In this document, "upper", "lower", "front", "rear", "left", "right", "inner", "outer", and the like are used only to indicate relative positional relationships between relevant portions, and do not limit absolute positions of the relevant portions.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (16)
1. A dual system handover method, comprising:
dividing hardware in the terminal equipment into a first hardware set and a second hardware set in advance;
when the terminal device detects a system switching instruction, triggering and closing hardware which belongs to the first hardware set and is in an open state in the terminal device; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction;
after the system switching operation is completed, for any hardware S2 belonging to the second hardware set in the terminal device, when the foreground system needs to use the hardware S2 for the first time, the background system is triggered to ensure that the hardware S2 is in a closed state, and when a notification that the hardware S2 is in the closed state is received from the background system, the foreground system starts the use of the hardware S2.
2. The method of claim 1, wherein the triggering a backend system to ensure that the hardware S2 is in an off state comprises:
the foreground system applies for using the hardware to the background system S2;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the background system informs the foreground system that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system informs the hardware S2 to be in the closed state.
3. The method of claim 1, wherein the triggering a backend system to ensure that the hardware S2 is in an off state comprises:
the foreground system applies to the background system to inquire the switch state of the hardware S2;
the background system feeds back the on-off state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is on state, the foreground system informs the background system to close the hardware S2, and the background system closes the hardware S2 and feeds back the closing result to the foreground system according to the notification.
4. The method of claim 1, further comprising:
after the system switching operation is completed, when the foreground system needs to query the switching state of the hardware S2, the background system is triggered to feed back the switching state of the hardware S2 in the background system to the foreground system.
5. The method of claim 1, wherein a turn-off latency of hardware in the first set of hardware is less than a preset latency threshold, and wherein a turn-off latency of hardware in the second set of hardware is greater than the latency threshold.
6. The method of claim 1, wherein the second set of hardware comprises at least bluetooth, near field communication, and GPS.
7. The method of claim 1, further comprising:
after the hardware S2 is used for the first time, if the foreground system needs to use the hardware S2 again, whether the current latest starting of the hardware S2 is initiated by the background system is judged, if so, the hardware S2 is started after the background system is triggered to ensure that the hardware S2 is in a closed state, and otherwise, the hardware S2 is directly started.
8. A dual-system switching device is arranged in a terminal device, and is characterized by comprising:
the system comprises a first module, a second module and a third module, wherein the first module is used for triggering and closing hardware which belongs to a preset first hardware set and is in an opening state in the terminal equipment when the terminal equipment detects a system switching instruction; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction; the hardware in the terminal equipment consists of the first hardware set and a preset second hardware set;
a second module, configured to trigger a background system to ensure that the hardware S2 is in a closed state when a foreground system needs to use the hardware S2 for the first time for any hardware S2 belonging to the second hardware set in the terminal device after the system switching operation is completed, and start using the hardware S2 in the foreground system after a notification that the hardware S2 is in the closed state is received from the background system.
9. The apparatus according to claim 8, wherein the second module is configured to trigger a background system to ensure that the hardware S2 is in an off state, and specifically includes:
applying for using the hardware from the foreground system to the background system S2;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the background system informs the foreground system that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system informs the hardware S2 to be in the closed state.
10. The apparatus according to claim 8, wherein the second module is configured to trigger a background system to ensure that the hardware S2 is in an off state, and specifically includes:
a foreground system applies for inquiring the switch state of the hardware S2 from a background system;
the background system feeds back the on-off state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is on state, the foreground system informs the background system to close the hardware S2, and the background system closes the hardware S2 and feeds back the closing result to the foreground system according to the notification.
11. The apparatus of claim 8, wherein the second module is further configured to trigger a background system to feed back the switch status of the hardware S2 in the background system to a foreground system when a foreground system needs to query the switch status of the hardware S2 after the system switching operation is completed.
12. The apparatus of claim 8, wherein a turn-off latency of hardware in the first set of hardware is less than a preset latency threshold, and wherein a turn-off latency of hardware in the second set of hardware is greater than the latency threshold.
13. The apparatus of claim 8, wherein the second set of hardware comprises at least bluetooth, near field communication, and GPS.
14. The apparatus of claim 8, wherein the second module is further configured to, after the foreground system uses the hardware S2 for the first time, if the foreground system needs to use the hardware S2 again, determine whether the hardware S2 is currently turned on for the last time by a background system, if so, turn on the hardware S2 after triggering the background system to ensure that the hardware S2 is in a turned-off state, and otherwise, directly turn on the hardware S2.
15. A terminal device comprising a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the dual system handover method of any one of claims 1 to 7.
16. A computer-readable storage medium having computer-readable instructions stored therein for performing the dual system handover method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010235201.5A CN113467838B (en) | 2020-03-30 | 2020-03-30 | Dual-system switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010235201.5A CN113467838B (en) | 2020-03-30 | 2020-03-30 | Dual-system switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113467838A true CN113467838A (en) | 2021-10-01 |
CN113467838B CN113467838B (en) | 2023-07-28 |
Family
ID=77864783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010235201.5A Active CN113467838B (en) | 2020-03-30 | 2020-03-30 | Dual-system switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113467838B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262667A (en) * | 2007-03-07 | 2008-09-10 | 中兴通讯股份有限公司 | An inter-system switching method for dual-mode and dual-idle mobile phone |
CN101788926A (en) * | 2009-12-28 | 2010-07-28 | 中兴通讯股份有限公司 | Resource allocation method and device for switching J2ME (Java 2 Micro Edition) application platform |
CN101937345A (en) * | 2009-07-01 | 2011-01-05 | 联想(北京)有限公司 | Computer and computing system |
CN102024108A (en) * | 2010-11-19 | 2011-04-20 | 惠州市创亿鑫科技有限公司 | Single motherboard dual independent safety computer system |
CN104516760A (en) * | 2014-12-12 | 2015-04-15 | 华为技术有限公司 | Operating system hot-switching method and device and mobile terminal |
CN104991811A (en) * | 2015-08-07 | 2015-10-21 | 北京元心科技有限公司 | Process running state adjusting method in isolation system switching period and intelligent terminal |
CN105204925A (en) * | 2015-08-26 | 2015-12-30 | 北京元心科技有限公司 | Method and device for managing audio/video equipment in multi-operation system |
CN105554575A (en) * | 2015-12-11 | 2016-05-04 | 北京元心科技有限公司 | Method and device for processing media playing function in multiple systems |
CN105677315A (en) * | 2015-12-28 | 2016-06-15 | 北京元心科技有限公司 | interface display method of multiple operating systems and intelligent terminal |
CN105791932A (en) * | 2016-03-25 | 2016-07-20 | 青岛海信电器股份有限公司 | Method of switching audio and video applications, device and intelligent television |
CN107818249A (en) * | 2016-09-13 | 2018-03-20 | 鼎桥通信技术有限公司 | The configuring management method of dual system fingerprinting service |
CN109753206A (en) * | 2017-11-02 | 2019-05-14 | 成都鼎桥通信技术有限公司 | The system switching method and device of electronic equipment |
CN110018904A (en) * | 2018-01-10 | 2019-07-16 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN110351788A (en) * | 2018-04-03 | 2019-10-18 | 维沃移动通信有限公司 | Method for releasing resource, terminal device and network side equipment |
-
2020
- 2020-03-30 CN CN202010235201.5A patent/CN113467838B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262667A (en) * | 2007-03-07 | 2008-09-10 | 中兴通讯股份有限公司 | An inter-system switching method for dual-mode and dual-idle mobile phone |
CN101937345A (en) * | 2009-07-01 | 2011-01-05 | 联想(北京)有限公司 | Computer and computing system |
CN101788926A (en) * | 2009-12-28 | 2010-07-28 | 中兴通讯股份有限公司 | Resource allocation method and device for switching J2ME (Java 2 Micro Edition) application platform |
CN102024108A (en) * | 2010-11-19 | 2011-04-20 | 惠州市创亿鑫科技有限公司 | Single motherboard dual independent safety computer system |
CN104516760A (en) * | 2014-12-12 | 2015-04-15 | 华为技术有限公司 | Operating system hot-switching method and device and mobile terminal |
CN104991811A (en) * | 2015-08-07 | 2015-10-21 | 北京元心科技有限公司 | Process running state adjusting method in isolation system switching period and intelligent terminal |
CN105204925A (en) * | 2015-08-26 | 2015-12-30 | 北京元心科技有限公司 | Method and device for managing audio/video equipment in multi-operation system |
CN105554575A (en) * | 2015-12-11 | 2016-05-04 | 北京元心科技有限公司 | Method and device for processing media playing function in multiple systems |
CN105677315A (en) * | 2015-12-28 | 2016-06-15 | 北京元心科技有限公司 | interface display method of multiple operating systems and intelligent terminal |
CN105791932A (en) * | 2016-03-25 | 2016-07-20 | 青岛海信电器股份有限公司 | Method of switching audio and video applications, device and intelligent television |
CN107818249A (en) * | 2016-09-13 | 2018-03-20 | 鼎桥通信技术有限公司 | The configuring management method of dual system fingerprinting service |
CN109753206A (en) * | 2017-11-02 | 2019-05-14 | 成都鼎桥通信技术有限公司 | The system switching method and device of electronic equipment |
CN110018904A (en) * | 2018-01-10 | 2019-07-16 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN110351788A (en) * | 2018-04-03 | 2019-10-18 | 维沃移动通信有限公司 | Method for releasing resource, terminal device and network side equipment |
Non-Patent Citations (3)
Title |
---|
LU CHANG等: ""Effects of asynchronous switching on networked control of a class of switched systems"" * |
姚一楠等: ""双操作系统移动智能终端安全分析"" * |
尹书扬: ""TD-SCDMA终端RRM一致性测试系统中TD/GSM系统间测试例的研究与实现"" * |
Also Published As
Publication number | Publication date |
---|---|
CN113467838B (en) | 2023-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472678B (en) | Wireless network switching method and device and terminal equipment | |
CN110636593B (en) | Connection mode control method, terminal and storage medium | |
CN103581008B (en) | Router and software upgrading method thereof | |
CN103906189A (en) | Method and device for network searching and terminal | |
EP2605601A1 (en) | Method for triggering joint registration performed by LTE single-card dual-standby multi-mode terminal, and terminal | |
CN111132253B (en) | Joint mobility management method for communication switching and service migration | |
CN101883407B (en) | Method and device for activating cells accessing different radio access technology (RAT) | |
US20170034771A1 (en) | Network search method, network search device and terminal | |
CN106465236A (en) | Network searching method and network searching device, and terminal | |
WO2017035894A1 (en) | Network searching control method, network searching control device and terminal | |
CN105323813B (en) | A kind of method and user equipment returning to network | |
CN107820289B (en) | WIFI network switching method, device, terminal and medium | |
CN111132382A (en) | Connection mode control method, terminal and storage medium | |
WO2020202340A1 (en) | Relay device, program, communication system, and management method | |
WO2015158039A1 (en) | Network search method and network search apparatus and terminal | |
CN110677869A (en) | Network connection control method, terminal and storage medium | |
CN113467838A (en) | Dual-system switching method and device | |
CN111756428B (en) | Relay device and computer-readable storage medium | |
CN110710287B (en) | Method and device for configuring RA information and frequency priority information, and storage medium | |
CN105490829B (en) | Method and device for controlling message transmission and network function virtualization system | |
CN111757502B (en) | Communication system, management device, and computer-readable storage medium | |
CN103546862A (en) | Cloud server, intelligent terminal and method and system for accessing intelligent terminal to LTE (long term evolution) network | |
CN106786898B (en) | Switching method and device of charging equipment and related equipment | |
CN106304205A (en) | A kind of method and apparatus managing network schemer | |
CN111290792A (en) | Method for carrying out system switching in multi-container domain at top speed |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |