CN113467838B - Dual-system switching method and device - Google Patents

Dual-system switching method and device Download PDF

Info

Publication number
CN113467838B
CN113467838B CN202010235201.5A CN202010235201A CN113467838B CN 113467838 B CN113467838 B CN 113467838B CN 202010235201 A CN202010235201 A CN 202010235201A CN 113467838 B CN113467838 B CN 113467838B
Authority
CN
China
Prior art keywords
hardware
foreground
background
state
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.)
Active
Application number
CN202010235201.5A
Other languages
Chinese (zh)
Other versions
CN113467838A (en
Inventor
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010235201.5A priority Critical patent/CN113467838B/en
Publication of CN113467838A publication Critical patent/CN113467838A/en
Application granted granted Critical
Publication of CN113467838B publication Critical patent/CN113467838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/4408Boot device selection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a dual-system switching method and device, wherein the method comprises the following steps: dividing hardware in terminal equipment into a first hardware set and a second hardware set in advance; when the terminal equipment detects a system switching instruction, triggering and closing hardware belonging to the first hardware set and in an on state in the terminal equipment; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction; after the system switching operation is finished, for any hardware S2 belonging to the second hardware set in the terminal equipment, when the foreground system needs to use the hardware S2 for the first time, triggering the background system 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, starting the use of the hardware S2 by the foreground system. By adopting the invention, the system switching time delay can be effectively reduced.

Description

Dual-system switching method and device
Technical Field
The present invention relates to mobile communication technology, and in particular, to a dual-system handover method and apparatus.
Background
Currently, in order to meet the safety requirements of users, dual systems are 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 is needed to be used at present to the foreground for use through switching among the systems according to the needs. For this reason, it is extremely important for a secure terminal to which a dual system is installed to be able to smoothly and rapidly support a handover between dual systems.
The inventor finds that the existing dual-system switching scheme has the problem of long switching delay in the process of realizing the invention. After careful research and analysis of the existing dual system switching scheme, the inventor finds that the above problems exist specifically as follows:
since there is usually only one set of hardware resources in the secure terminal, the hardware resources in the terminal can only be occupied by one system at a time. The hardware resource using scheme adopted at present 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 use condition of hardware resources of a foreground system needs to be checked, the module which occupies the hardware resources needs to release corresponding hardware resources, and after the release (closing) of all the hardware resources is finished, the switching operation of the system can be continuously finished. Fig. 1 is a schematic flow chart of a conventional dual-system switching method, as shown in fig. 1, where the conventional dual-system switching flow mainly includes the following steps:
and step 1, initiating a system switching process.
And 2, checking the occupation (opening) condition of the hardware resources.
And 3, closing the hardware resources in use, such as Bluetooth (blue), near Field Communication (NFC), GPS and the like.
And step 4, notifying a system switching module of the result.
And 5, the system switching module completes system switching.
In the above-mentioned flow, during switching, it is necessary to check the usage condition of each hardware resource in the terminal one by one and trigger the release of the hardware resource in the on state, and the system switching module needs to wait for the release of all hardware resources to be completed before switching the system. In practical application, if the number of hardware in the on state is large, the time cost generated by the hardware closing link is large, and the time cost of system switching is large, which can reach more than 2s, and under the condition that the foreground system occupies more hardware or certain limit scenes, the switching time can be longer, and reaches about 5s, so that the switching time delay for a long time inevitably influences the user experience, and especially, the switching waiting time delay is more remarkable when the user switches back and forth rapidly.
Disclosure of Invention
Therefore, the main objective of the present invention is to provide a dual-system switching method and apparatus, which can effectively reduce the system switching delay.
In order to achieve the above purpose, the technical scheme provided by the invention is as follows:
a dual system handoff method comprising:
dividing hardware in terminal equipment into a first hardware set and a second hardware set in advance;
when the terminal equipment detects a system switching instruction, triggering and closing hardware belonging to the first hardware set and in an on state in the terminal equipment; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction;
after the system switching operation is finished, for any hardware S2 belonging to the second hardware set in the terminal equipment, when the foreground system needs to use the hardware S2 for the first time, triggering the background system 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, starting the use of the hardware S2 by the foreground system.
Preferably, the triggering the background system to ensure that the hardware S2 is in the off state includes:
the foreground system applies for using the hardware S2 to the background system;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the foreground system is informed that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system is informed that the hardware S2 is in the closed state.
Preferably, the triggering the background system to ensure that the hardware S2 is in the off state includes:
the foreground system applies for inquiring the switch state of the hardware S2 to the background system;
the background system feeds back the switch state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is the 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 finished, when the foreground system needs to inquire the switch state of the hardware S2, triggering the background system to feed back the switch state of the hardware S2 in the background system to the foreground system.
Preferably, the closing time delay of the hardware in the first hardware set is smaller than a preset time delay threshold, and the closing time delay of the hardware in the second hardware set is larger than the time 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, judging whether the current last opening of the hardware S2 is initiated by a background system, if so, after the background system is triggered to ensure that the hardware S2 is in a closed state, opening the use of the hardware S2, otherwise, directly opening the use of the hardware S2.
A dual system switching device is provided in a terminal device, and includes:
the first module is used for triggering and closing hardware belonging to a preset first hardware set and in an on 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;
and the second module is used for triggering the background system to ensure that the hardware S2 is in a closed state when the 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 equipment after the system switching operation is completed, and starting the use of the hardware S2 in the foreground system after receiving a notification that the hardware S2 is in the closed state from the background system.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in a closed state, and specifically includes:
applying for using the hardware S2 to a background system by a foreground system;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the foreground system is informed that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system is informed that the hardware S2 is in the closed state.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in a closed state, and specifically includes:
the foreground system applies for inquiring the switch state of the hardware S2 to the background system;
the background system feeds back the switch state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is the 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 time delay of the hardware in the first hardware set is smaller than a preset time delay threshold, and the closing time delay of the hardware in the second hardware set is larger than the time 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, determine whether the last opening of the hardware S2 is initiated by the background system if the foreground system needs to use the hardware S2 again, if so, trigger the background system to ensure that the hardware S2 is in a closed state, and then start the use of the hardware S2, otherwise, directly start the use of the hardware S2.
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 handoff method as set forth in any one of the preceding claims.
A computer readable storage medium having stored therein computer readable instructions for performing the dual system handover method as claimed in any one of the preceding claims.
In summary, according to the dual-system switching method and device provided by the invention, when the terminal device detects the system switching instruction, only the release of the closed part of hardware is triggered, but not all hardware is released, and when the non-closed hardware is needed 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 to be checked and closed during system switching is effectively reduced, so that long-time expenditure caused by closing all hardware is effectively avoided, and the 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 flow chart of a method according to an embodiment of the invention;
FIG. 3 is a schematic 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
The present invention will be described in further detail with reference to the drawings and the embodiments, in order to make the objects, technical solutions and advantages of the present invention more apparent.
Fig. 2 is a flow chart of a method according to an embodiment of the present invention, as shown in fig. 2, a dual-system switching method implemented by this embodiment mainly includes:
step 201, dividing hardware in the terminal equipment into a first hardware set and a second hardware set in advance.
In this step, the hardware in the terminal device needs to be divided, so that only a part of hardware is triggered to be turned off when the system is required to be switched, thereby reducing the time delay of the system switching.
Preferably, in order to greatly reduce the system switching delay, hardware with larger closing delay can 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 when the system is switched, and the background is triggered to close when the system is required to be used after the system is switched. 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, and the closing time delay of the hardware in the second hardware set is larger than the time delay threshold.
The time delay threshold can be set to a proper value by a person skilled in the art according to the hardware configuration condition of an actual terminal, so long as the system switching time delay is ensured not to influence the use experience of a user.
In practical application, in order to obtain better user experience, a person skilled in the art may also integrate how often a user opens hardware and how often the hardware is closed, and divide the first hardware set and the second hardware set.
The inventor finds that in the process of implementing the invention, the shutdown of Bluetooth, near field communication, GPS and Wifi generally takes a long time in practical application through simulation. In consideration of the use habit of the user, the influence on the Wifi network connection during system switching is reduced, and preferably, the second hardware set at least comprises bluetooth, near field communication and GPS without considering Wifi.
Step 202, triggering and closing hardware belonging to a preset first hardware set and in an on state in terminal equipment when the terminal equipment detects a system switching instruction; and after the hardware is closed, executing corresponding system switching operation according to the system switching instruction.
In this step, unlike the existing system switching, after receiving the system switching instruction of the user, it is not necessary to wait for the corresponding system switching operation to be performed after all the hardware is released, but only trigger to close the release of part of the hardware (i.e. the hardware in the first hardware set), so as to avoid the occurrence of the situation that the system switching time overhead is large due to the closing of all the hardware.
Step 203, after the system switching operation is completed, for any hardware S2 belonging to the preset second hardware set in the terminal device, when the foreground system needs to use the hardware S2 for the first time, triggering the background system to ensure that the hardware S2 is in a closed state, and when receiving a notification that the hardware S2 is in the closed state from the background system, starting the use of the hardware S2 by the foreground system.
In this step, it is considered that the hardware in the second hardware set does not execute the corresponding resource release operation during the system switching, so after the system switching is completed, when the hardware needs to be used, the hardware is ensured to be in a closed state, so as to ensure that the foreground system can normally use the hardware.
Preferably, the following methods may be used to trigger the background system to ensure that the hardware S2 is in a closed state:
the method comprises the following steps: the foreground system applies for using the hardware S2 to the background system;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the foreground system is informed that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system is informed that the hardware S2 is in the closed state.
The second method is as follows:
preferably, the triggering the background system to ensure that the hardware S2 is in the off state includes:
the foreground system applies for inquiring the switch state of the hardware S2 to the background system;
the background system feeds back the switch state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is the 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 first method is to actively close the hardware S2 by the background system according to the application of the foreground system to the hardware S2, and the second method is to send a closing notification to the background system by the foreground system to trigger the background system to close the hardware S2. In practical applications, a person skilled in the art may select an appropriate method according to actual needs, and trigger the background system to close the hardware S2.
Considering that in practical applications, the background system may occupy the hardware with higher priority in the second set, such as bluetooth, NFC, etc., in this case, if the foreground system needs to use the hardware afterwards, the background system needs to be triggered to release the hardware first, so that the hardware can be used normally. In view of the above, in order to improve the reliability of the terminal device, it is preferable that the following method can be further 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, judging whether the current last opening of the hardware S2 is initiated by a background system, if so, after the background system is triggered to ensure that the hardware S2 is in a closed state, opening the use of the hardware S2, otherwise, directly opening the use of the hardware S2.
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 on-off state of the foreground system in the background system, so that the foreground system can accurately judge the on-off state of the hardware in the second set, and specifically, the method further includes:
after the system switching operation is finished, when the foreground system needs to inquire the switch state of the hardware S2, triggering the background system to feed back the switch state of the hardware S2 in the background system to the foreground system.
Here, considering that the background system may occupy the hardware with higher priority in the second set, for the hardware in the second set, based on the method, the foreground system may real-time determine the current switching state of the hardware according to the switching state fed back by the background system, and then combine the switching state of the hardware in the foreground system, so that the terminal device may accurately determine the current switching state of the hardware.
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 provided in a terminal device, and includes:
the first module is used for triggering and closing hardware belonging to a preset first hardware set and in an on 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;
and the second module is used for triggering the background system to ensure that the hardware S2 is in a closed state when the 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 equipment after the system switching operation is completed, and starting the use of the hardware S2 in the foreground system after receiving a notification that the hardware S2 is in the closed state from the background system.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in a closed state, and specifically includes:
applying for using the hardware S2 to a background system by a foreground system;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the foreground system is informed that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system is informed that the hardware S2 is in the closed state.
Preferably, the second module is configured to trigger a background system to ensure that the hardware S2 is in a closed state, and specifically includes:
the foreground system applies for inquiring the switch state of the hardware S2 to the background system;
the background system feeds back the switch state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is the 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 time delay of the hardware in the first hardware set is smaller than a preset time delay threshold, and the closing time delay of the hardware in the second hardware set is larger than the time 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, determine whether the last opening of the hardware S2 is initiated by the background system if the foreground system needs to use the hardware S2 again, if so, trigger the background system to ensure that the hardware S2 is in a closed state, and then start the use of the hardware S2, 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 handoff method as set forth in any one of the above.
The memory may be implemented as various storage media such as an electrically erasable programmable read-only memory (EEPROM), a Flash memory (Flash memory), a programmable read-only memory (PROM), and the like. A processor may be implemented to include one or more central processors or one or more field programmable gate arrays, where 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 the steps and modules in the above processes and the structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution sequence of the steps is not fixed and can be adjusted as required. The division of the modules is merely for convenience of description and the division of functions adopted in the embodiments, and in actual implementation, one module may be implemented by a plurality of modules, and functions of a plurality of modules may be implemented by the same module, and the modules may be located in the same device or different devices.
The hardware modules in the various embodiments may be implemented mechanically or electronically. For example, a hardware module may include specially designed permanent circuits or logic devices (e.g., special purpose processors such as FPGAs or ASICs) for performing certain operations. A hardware module may also include programmable logic devices or circuits (e.g., including a general purpose processor or other programmable processor) temporarily configured by software for performing particular operations. As regards implementation of the hardware modules in a mechanical manner, either by dedicated permanent circuits or by circuits that are temporarily configured (e.g. by software), this may be determined by 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 apparatus provided with a storage medium on which a software program code realizing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or apparatus may be caused to read out and execute the program code stored in the storage medium. Further, some or all of the actual operations may be performed by an operating system or the like operating on a computer based on instructions of the program code. The program code read out from the storage medium may also be written into a memory provided in an expansion board inserted into a computer or into a memory provided in an expansion unit connected to the computer, and then, based on instructions of the program code, a CPU or the like mounted on the expansion board or the expansion unit may be caused to perform part or all of actual operations, thereby realizing the functions of any of the above embodiments.
Storage medium implementations for providing 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, non-volatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or cloud by a communications network.
In this document, "schematic" means "serving as an example, instance, or illustration," and any illustrations, embodiments described herein as "schematic" should not be construed as a more preferred or advantageous solution. For simplicity of the drawing, the parts relevant to the present invention are shown only schematically in the drawings, and do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. In this document, "a" does not mean to limit the number of relevant portions of the present invention to "only one thereof", and "an" does not mean to exclude the case where the number of relevant portions of the present invention is "more than one". In this document, "upper", "lower", "front", "rear", "left", "right", "inner", "outer", and the like are used merely to indicate relative positional relationships between the relevant portions, and do not limit the absolute positions of the relevant portions.
In summary, the above embodiments are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A dual system handoff method comprising:
dividing hardware in terminal equipment into a first hardware set and a second hardware set in advance;
when the terminal equipment detects a system switching instruction, triggering and closing hardware belonging to the first hardware set and in an on state in the terminal equipment; after the hardware is closed, executing corresponding system switching operation according to the system switching instruction;
after the system switching operation is finished, triggering a background system to ensure that any hardware S2 belonging to the second hardware set in the terminal equipment is in a closed state when the foreground system needs to use the hardware S2 for the first time, and starting the use of the hardware S2 by the foreground system after receiving a notification that the hardware S2 is in the closed state from the background system; after the foreground system uses the hardware S2 for the first time, if the foreground system needs to use the hardware S2 again, judging whether the hardware S2 is started by a background system or not at last, if so, starting the use of the hardware S2 after triggering the background system to ensure that the hardware S2 is in a closed state, otherwise, directly starting the use of the hardware S2;
the closing time delay of the hardware in the first hardware set is smaller than a preset time delay threshold, and the closing time delay of the hardware in the second hardware set is larger than the time delay threshold.
2. The method of claim 1, wherein the triggering the background system to ensure that the hardware S2 is in a shutdown state comprises:
the foreground system applies for using the hardware S2 to the background system;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the foreground system is informed that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system is informed that the hardware S2 is in the closed state.
3. The method of claim 1, wherein the triggering the background system to ensure that the hardware S2 is in a shutdown state comprises:
the foreground system applies for inquiring the switch state of the hardware S2 to the background system;
the background system feeds back the switch state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is the 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 according to claim 1, wherein the method further comprises:
after the system switching operation is finished, when the foreground system needs to inquire the switch state of the hardware S2, triggering the background system to feed back the switch state of the hardware S2 in the background system to the foreground system.
5. The method of claim 1, wherein the second set of hardware comprises at least bluetooth, near field communication, and GPS.
6. A dual system switching device provided in a terminal device, comprising:
the first module is used for triggering and closing hardware belonging to a preset first hardware set and in an on 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;
the second module is configured to trigger a background system to ensure that, after the system switching operation is completed, any hardware S2 belonging to the second hardware set in the terminal device is in a closed state when the foreground system needs to use the hardware S2 for the first time, and to start use of the hardware S2 in a foreground system after receiving a notification that the hardware S2 is in the closed state from the background system; after the foreground system uses the hardware S2 for the first time, if the foreground system needs to use the hardware S2 again, judging whether the hardware S2 is started by a background system or not at last, if so, starting the use of the hardware S2 after triggering the background system to ensure that the hardware S2 is in a closed state, otherwise, directly starting the use of the hardware S2;
the closing time delay of the hardware in the first hardware set is smaller than a preset time delay threshold, and the closing time delay of the hardware in the second hardware set is larger than the time delay threshold.
7. The apparatus according to claim 6, wherein the second module is configured to trigger a background system to ensure that the hardware S2 is in a closed state, and specifically comprises:
applying for using the hardware S2 to a background system by a foreground system;
the background system inquires whether the hardware S2 is in a closed state according to the application, if so, the foreground system is informed that the hardware S2 is in the closed state, otherwise, after the hardware S2 is closed, the foreground system is informed that the hardware S2 is in the closed state.
8. The apparatus according to claim 6, wherein the second module is configured to trigger a background system to ensure that the hardware S2 is in a closed state, and specifically comprises:
the foreground system applies for inquiring the switch state of the hardware S2 to the background system;
the background system feeds back the switch state of the hardware S2 in the system to the foreground system according to the application;
if the feedback switch state is the 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.
9. The apparatus of claim 6, wherein the second module is further configured to trigger the background system to feed back the switching state of the hardware S2 in the background system to the foreground system when the foreground system needs to query the switching state of the hardware S2 after the system switching operation is completed.
10. The apparatus of claim 8, wherein the second set of hardware comprises at least bluetooth, near field communication, and GPS.
11. 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 5.
12. A computer readable storage medium having stored therein computer readable instructions for performing the dual system handover method of any one of claims 1 to 5.
CN202010235201.5A 2020-03-30 2020-03-30 Dual-system switching method and device Active CN113467838B (en)

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 CN113467838A (en) 2021-10-01
CN113467838B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (14)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
Lu Chang等."Effects of asynchronous switching on networked control of a class of switched systems".《2017 36th Chinese Control Conference (CCC)》.2017,第8038-8043页. *
姚一楠等."双操作系统移动智能终端安全分析".《移动通信》.2017,第16-20页. *
尹书扬."TD-SCDMA终端RRM一致性测试系统中TD/GSM系统间测试例的研究与实现".《中国优秀硕士学位论文全文数据库信息科技辑》.2011,I136-1062. *

Also Published As

Publication number Publication date
CN113467838A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN107852774B (en) Method and system for selecting SIM card
CN103813416B (en) It is used for the radio access technology searching method and equipment of urgent call in the terminal
CN110636593B (en) Connection mode control method, terminal and storage medium
US20200100309A1 (en) Method and system for providing 5g services to user equipment in wireless communication network
CN113115394B (en) Communication method and core network based on switching between ground mobile network and satellite mobile network
US9497665B2 (en) Method and system for returning to long term evolution network and mobile switching center
US9974010B2 (en) System and method for establishing network connection and terminal having the system
CN107820289B (en) WIFI network switching method, device, terminal and medium
WO2016169103A1 (en) Network switching method and device, and mobile terminal
JP7085061B2 (en) Relays, programs, communication systems, and management methods
CN111132382A (en) Connection mode control method, terminal and storage medium
EP4033816A1 (en) Mme and incoming call control method of mme for paging during ongoing handover
EP3598813A1 (en) Information processing method, apparatus, computer readable storage medium and electronic device
CN105530676A (en) Service processing method and device in hybrid network standard and mobile terminal
CN106888475B (en) Wireless system processing method, device and base station
CN106576277B (en) Method and device for controlling communication connection
CN105517084A (en) Service processing method, service processing apparatus and mobile terminal in hybrid network types
CN113467838B (en) Dual-system switching method and device
CN105490829B (en) Method and device for controlling message transmission and network function virtualization system
CN114423052A (en) Voice fallback method and related equipment
CN107466087B (en) Network searching method and mobile terminal
CN112533156B (en) Short message processing method and device
US9414289B2 (en) Predictive client VLAN extension
CN111290792A (en) Method for carrying out system switching in multi-container domain at top speed
CN106105365B (en) Network switching method, device and terminal

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