WO2021218494A1 - Dual-card-based network type switching method and terminal device - Google Patents

Dual-card-based network type switching method and terminal device Download PDF

Info

Publication number
WO2021218494A1
WO2021218494A1 PCT/CN2021/082276 CN2021082276W WO2021218494A1 WO 2021218494 A1 WO2021218494 A1 WO 2021218494A1 CN 2021082276 W CN2021082276 W CN 2021082276W WO 2021218494 A1 WO2021218494 A1 WO 2021218494A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
card
standard
version
user identification
Prior art date
Application number
PCT/CN2021/082276
Other languages
French (fr)
Chinese (zh)
Inventor
汪峰
王鑫
康婷
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2021218494A1 publication Critical patent/WO2021218494A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • This application belongs to the field of mobile communication technology, and in particular relates to a dual-card-based network standard switching method and terminal equipment.
  • the dual-card terminal device (hereinafter referred to as the terminal device) is provided with two card slots for placing two different subscriber identity module (SIM) cards.
  • SIM subscriber identity module
  • one of the two card slots is a main card slot, and the other is a secondary card slot.
  • the SIM card inserted in the main card slot is the primary SIM card (hereinafter referred to as the main card), and the SIM card inserted in the secondary card slot is the secondary SIM card (hereinafter referred to as the secondary card).
  • the main card provides call services and data services
  • the secondary card is mainly used to provide call services.
  • the version of the network standard (hereinafter referred to as the standard) supported by the main card slot is often more comprehensive, for example, it may be able to support 2G, 3G, 4G and 5G at the same time.
  • the terminal device After the terminal device is turned on or turned off the flight mode, it will automatically search the network of the SIM card and register the main card to the available network.
  • the main card resident standard version is lower than its actual resident higher standard. For example, when the actual resident standards of the main card are 3G, 4G, and 5G, the actual resident standards may be 3G.
  • the user can only use the lower standard version of the network for data services, which reduces the data service capability of the terminal device, thereby reducing the user experience.
  • the traditional method will automatically perform the main card network search and re-select the standard after the cell information of the main card changes. Because the network search process takes a long time, and the main card cannot use services during the network search process. Therefore, on the one hand, this will affect the normal use of the main card business, on the other hand, it still cannot guarantee that the main card can reside in the high-version standard network.
  • the version of the first network standard is lower than the version of the second network standard, use the network search module corresponding to the secondary card slot to perform network search;
  • the system with the highest version is selected from all the systems obtained from the network search, and the network system where the master user identification card resides in real time is switched to the system with the highest version.
  • the operations of network search and mode selection switching include:
  • the target network standard with the highest version in the third network standard is screened out, and the target network standard to which the target network standard belongs is obtained.
  • the method before the network search module corresponding to the secondary card slot is used for network search, the method further includes:
  • using the network search module corresponding to the secondary card slot to perform network search includes:
  • the network search module corresponding to the secondary card slot is used for network search, which can prevent the influence on the normal business of the main card.
  • the method before the network search is performed using the network search module corresponding to the secondary card slot, the method further includes:
  • the network search module corresponding to the secondary card slot is used for network search.
  • the terminal device main card can also reside in a higher version standard.
  • the operator of the main card and the auxiliary card is the same, and the current standard version of the auxiliary card is lower than the highest version supported by the main card slot, regardless of whether the current standard version of the auxiliary card is higher than the current standard version of the main card, It is impossible to increase the standard version of the primary card to the highest level through the real-time access to the community network through the secondary card.
  • the embodiment of this application does not need to care about the level of the standard version currently resident on the secondary card and the standard version currently resident on the main card, but will use the network search module corresponding to the secondary card slot to perform a network search to check the resident standard of the main card.
  • the version has been upgraded to the greatest extent.
  • the embodiment of the present application will obtain the cell information of the cell network that the secondary card accesses in real time, and share the cell information with the primary card, so that the primary card can quickly register in the cell network. And then quickly raise the standard version to the highest.
  • the fifth possible implementation of the first aspect it also includes:
  • the embodiment of the present application will use the network search module corresponding to the secondary card slot to perform network search at this time, so as to maximize the resident standard version of the main card.
  • the method before acquiring the first network standard that the main subscriber identification card resides in real time and the second network standard that the main card slot supports, the method further includes:
  • the operation of acquiring the first network standard that the main user identification card resides in real time and the second network standard that the main card slot supports is performed.
  • the trigger conditions can be: the user activates the standard enhancement function, the main card cell information changes, the main card signal quality is lower than the preset threshold, the main card has a standard fall in the voice service process and the voice service ends, timing triggering and receiving Trigger any one or more of the instructions.
  • one or more different trigger conditions can be set to meet the requirements of the actual scenario.
  • the system fallback recognition is included, when the system fallback occurs, the main card system can be quickly picked up.
  • all the trigger conditions corresponding to the above 6 scenarios can be set as the trigger conditions of the embodiment of this application. At this time, the embodiments of the present application can at least cope with the actual requirements of the above 6 scenarios, thereby achieving rapid improvement of the main card standard version in different scenarios, achieving compatible processing of requirements of different scenarios, and having stronger compatibility.
  • the service status of the primary user identification card is acquired, and if the service status is idle, the network search module corresponding to the secondary card slot is used to perform network search.
  • the network search is performed when the main card is not in the state of data service or voice service. At this time, the user can use the main card service normally without perceiving the standard search for the main card in the embodiment of the present application.
  • performing network registration on the primary subscriber identification card based on the first cell information includes:
  • the cell handover and network registration are performed when the main card is not in the state of data service or voice service. At this time, the user can use the main card service normally without perceiving the standard switch of the main card in the embodiment of the present application.
  • the second aspect of the embodiments of the present application provides a dual-card-based network standard switching method, which is applied to a terminal device.
  • the terminal device includes two card slots, and the method includes:
  • the version of the fifth network standard is lower than the version of the sixth network standard, use the network search module corresponding to the card slot where the user identification card is not inserted in the two card slots to perform network search;
  • the system with the highest version is selected from all the systems obtained from the network search, and the network system where the inserted user identification card resides in real time is switched to the system with the highest version.
  • the network search is performed through the network search module corresponding to the card slot in which the user identification card is not inserted, and the standard switching of the main card is performed according to the searched standard.
  • the network standard version can be upgraded only by switching the standard according to the search result, without the need for complicated network search operations. Therefore, the impact on the normal business use of the inserted subscriber identification card is minimal.
  • the operation of network search and standard screening switching includes: using the network search module corresponding to the card slot in which the user identification card is not inserted in the two card slots to perform the network search, Obtain at least one third cell network and a seventh network standard supported by each third cell network;
  • the system with the highest version is selected from all the systems obtained by the network search, and the network system where the first target card resides in real time is switched to the system with the highest version.
  • the card slot in the idle state is used first to assist the card in the connected state to upgrade the system, so as to ensure the normal use of the terminal device as much as possible.
  • the network standard supported by the card slot to which the first target card belongs is taken as the ninth network standard, and the network standard in which the second target card resides in real time is taken as the tenth network standard.
  • a third operator of the first target card and a fourth operator of the second target card are identical to A third operator of the first target card and a fourth operator of the second target card;
  • the current resident standard version (that is, the eighth network standard) cannot increase the connected SIM card standard version to the highest level by real-time access to the cell network through the idle SIM card.
  • the connected SIM card cannot register to access the cell network that the idle SIM card accesses in real time. That is, regardless of the current standard version of the SIM card in the idle state, it has lost its reference significance.
  • the embodiment of the present application will obtain the cell information of the cell network that the idle state SIM card accesses in real time, and share the cell information with the connected state SIM card, so that the connected state SIM card can quickly register in the cell network. And then quickly raise the standard version to the highest.
  • the fourth aspect of the embodiments of the present application provides a dual-card-based network standard switching method, which is applied to a terminal device.
  • the terminal device includes two card slots, and the method includes:
  • the version of the eleventh network standard that resides in real time is lower than the version of the twelfth network standard supported by the card slot to which it belongs
  • the fourth target card that has the same thirteenth network standard and the fourteenth network standard version supported by its own card slot in real time, then compare the twelfth network standard with the fourth target card.
  • the service processing capability of the terminal device may be further improved. Therefore, the network search module corresponding to the card slot to which the fourth target card belongs is used for network search, and then the corresponding standard screening is performed and the third target card standard is switched. In order to improve the standard version of the third target card.
  • the operators of the two subscriber identification cards are the same, use the sixth cell information of the sixth cell network that the fourth target card accesses in real time to perform network registration on the third target card, so that the third target The card resides in the fourteenth network standard.
  • the embodiment of the present application will obtain the cell information of the cell network that the fourth target card accesses in real time, and share the cell information with the third target card, so that the third target card can quickly register in the cell network. And then quickly raise the standard version to the highest.
  • the method before the detecting the user identification cards inserted in the two card slots, the method further includes:
  • the operation of detecting the user identification cards inserted in the two card slots is performed.
  • the trigger conditions can be: the user activates the standard enhancement function, the main card cell information changes, the main card signal quality is lower than the preset threshold, the main card has a standard fall in the voice service process and the voice service ends, timing triggering and receiving Trigger any one or more of the instructions.
  • one or more different trigger conditions can be set to meet the requirements of the actual scenario.
  • the system fallback recognition is included, when the system fallback occurs, the main card system can be quickly picked up.
  • all the trigger conditions corresponding to the above 6 scenarios can be set as the trigger conditions of the embodiment of this application. At this time, the embodiments of the present application can at least cope with the actual requirements of the above 6 scenarios, thereby achieving rapid improvement of the main card standard version in different scenarios, achieving compatible processing of requirements of different scenarios, and having stronger compatibility.
  • a sixth aspect of the embodiments of the present application provides a computer-readable storage medium, including: a computer program is stored, and when the computer program is executed by a processor, the terminal device realizes the above-mentioned first aspect, second aspect, and first aspect.
  • the seventh aspect of the embodiments of the present application provides a computer program product.
  • the terminal device executes any one of the first aspect, the second aspect, the third aspect, or the fourth aspect.
  • An eighth aspect of the embodiments of the present application provides a chip system, the chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the above-mentioned first aspect, second aspect, and The method for switching network standards based on dual cards according to any one of the third aspect or the fourth aspect.
  • FIG. 1A is a schematic structural diagram of a mobile phone provided by an embodiment of the present application.
  • FIG. 1B is a software structure block diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of the application
  • 3A is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of this application;
  • 3B is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of the application.
  • Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the application.
  • Cell refers to the area covered by a base station or a part of a base station (sector antenna) in a cellular mobile communication system. In this area, mobile stations can reliably communicate with the base station through wireless channels.
  • the specific rules for cell division and the size of the cell range are not limited here, and can be determined according to actual application scenarios.
  • a cell may be a public land mobile network (PLMN), a frequency point, and a physical cell identifier (physical cell identifier, PCI) unique minimum signal coverage.
  • PLMN public land mobile network
  • PCI physical cell identifier
  • Network standard version In the embodiment of this application, it refers to the specific version algebra of the network standard. Since the network standard is named according to the order of appearance, such as 1G is the first-generation mobile communication system, 2G is the second-generation mobile communication system, 3G is the third-generation mobile communication system, and 4G is the fourth-generation mobile communication system. Technology, 5G is the fifth-generation mobile communication technology. Therefore, in the embodiment of the present application, the 1G standard version is the first generation version, the 2G standard version is the second generation version, and so on. Because the higher the version, the stronger the data transmission capability. Therefore, by resident the SIM card to a higher version standard, the data service and voice service capabilities of the terminal equipment can be improved.
  • the actual type of the SIM card needs to be determined according to actual application scenarios.
  • the SIM card may be any one or more of a traditional SIM card, a universal subscriber identity module (USIM) card, an embedded subscriber identity module (eSIM) card, and a virtual subscriber identity card.
  • USIM universal subscriber identity module
  • eSIM embedded subscriber identity module
  • the determination of whether the SIM card is inserted in the embodiment of the present application is determined based on whether there is an available SIM card in the terminal device. If there is an available SIM card in the terminal device, it is already inserted. Among them, if the SIM card is an eSIM card or a virtual subscriber identification card, the enabled eSIM card or virtual subscriber identification card is regarded as an inserted card.
  • Card slot For traditional physical cards such as SIM cards and USIM cards that need to be inserted, the card slot refers to the physical card slot used to place the SIM card. For non-physical cards such as eSIM cards and virtual subscriber identification cards, since they do not require a physical card slot, the card slot is also a virtual concept at this time. That is, the hardware used to place the SIM card, or the hardware integrated with the SIM card.
  • Network search module It is the general name of the hardware required for network search corresponding to the card slot. Generally, it will include hardware such as baseband, radio frequency unit and memory, which can be determined according to the actual terminal equipment. Because common terminal equipment includes: dual card dual standby dual pass and dual card dual standby single pass. Among them, in the dual-card dual-standby dual-pass terminal device, each card slot has a set of independent hardware for network search and data services. For dual-card dual-standby single-pass terminal equipment, the two card slots share the baseband and radio frequency unit. Therefore, for the network search modules corresponding to the two card slots, there may be a situation where the hardware is shared. The details can be determined according to the actual terminal equipment.
  • the main card when performing frequency selection and cell network registration based on historical frequency search strategies, signal energy sorting strategies, etc., it may cause the main card to reside on a lower version of the standard, making it impossible to use the 5G standard network for data business. For example, it may reside in 3G or 4G format.
  • the traditional method is to automatically search for the main card network and re-select the system after the cell network handover occurs on the main card. So as to realize the mobility to reside on the high-standard network. Because the network search process takes a long time, and the main card cannot use services during the network search process. Therefore, there will be at least the following problems:
  • the embodiment of the present application In order to achieve the improvement of the main card resident standard version, while reducing the impact on the normal use of terminal equipment data services and call services.
  • the embodiment of the present application firstly, it will be identified whether the system that the main card actually resides in is the highest supported system. If not, it means that the main card resident system has room for improvement.
  • the embodiment of the present application will use the network search module corresponding to the secondary card slot to perform network search, so as to obtain some cell networks currently accessible by the terminal device and the standards supported by each cell network.
  • FIG. 1A shows a schematic structural diagram of the mobile phone 100.
  • the processor 110 may run the dual-card-based network standard switching method provided by the embodiment of the present application, so as to implement the switch version upgrade of the network standard.
  • the processor 110 may include different devices, such as when a CPU and a GPU are integrated.
  • the display screen 194 may be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUI).
  • GUI graphical user interfaces
  • the display 194 may display photos, videos, web pages, or files.
  • the display 194 may display a graphical user interface.
  • the graphical user interface includes a status bar, a hidden navigation bar, time and weather widgets, and application icons, such as browser icons.
  • the status bar includes the name of the operator (for example, China Mobile), mobile network (for example, 4G), time, and remaining power.
  • the navigation bar includes a back button icon, a home button icon, and a forward button icon.
  • the camera 193 (a front camera or a rear camera, or a camera can be used as a front camera or a rear camera) is used to capture still images or videos.
  • the camera 193 may include photosensitive elements such as a lens group and an image sensor, where the lens group includes a plurality of lenses (convex lens or concave lens) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor .
  • the image sensor generates an original image of the object to be photographed based on the light signal.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store operating system, application program (such as camera application, WeChat application, etc.) codes and so on.
  • the data storage area can store data created during the use of the mobile phone 100 (for example, images and videos collected by a camera application) and the like.
  • the internal memory 121 may also store one or more computer programs 1210 corresponding to the dual-card-based network standard switching method provided in the embodiment of the present application.
  • the one or more computer programs 1210 are stored in the aforementioned memory 121 and configured to be executed by the one or more processors 110, and the one or more computer programs 1210 include instructions, and the aforementioned instructions can be used for execution as shown in FIG. 2
  • the computer program 1210 may include an account verification module 1211, a priority comparison module 1212.
  • the account verification module 1211 is used to authenticate the system authentication accounts of other terminal devices in the local area network;
  • the priority comparison module 1212 can be used to compare the priority of the audio output request service with the priority of the current output service of the audio output device.
  • the state synchronization module 1213 can be used to synchronize the device state of the audio output device currently connected by the terminal device to other terminal devices, or synchronize the device state of the audio output device currently connected by other devices to the local.
  • the processor 110 may control the terminal device to process the system version and cell information.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the code of the dual-card-based network standard switching method provided in the embodiment of the present application can also be stored in an external memory.
  • the processor 110 can run the dual-card-based network standard switching method code stored in the external memory through the external memory interface 120, and the processor 110 can control the terminal device to process standard version and cell information.
  • the function of the sensor module 180 is described below.
  • the gyroscope sensor 180A can be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180A can be used to detect the current motion state of the mobile phone 100, such as shaking or static.
  • the gyroscope sensor 180A can be used to detect folding or unfolding operations on the display screen 194.
  • the gyroscope sensor 180A may report the detected folding operation or unfolding operation as an event to the processor 110 to determine the folding state or unfolding state of the display screen 194.
  • the acceleration sensor 180B can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). That is, the gyro sensor 180A can be used to detect the current motion state of the mobile phone 100, such as shaking or static. When the display screen in the embodiment of the present application is a foldable screen, the acceleration sensor 180B can be used to detect folding or unfolding operations on the display screen 194. The acceleration sensor 180B may report the detected folding operation or unfolding operation as an event to the processor 110 to determine the folding state or unfolding state of the display screen 194.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the mobile phone emits infrared light through light-emitting diodes.
  • Mobile phones use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the mobile phone can determine that there is no object near the mobile phone.
  • the proximity light sensor 180G can be arranged on the first screen of the foldable display screen 194, and the proximity light sensor 180G can detect the first screen according to the optical path difference of the infrared signal.
  • the gyroscope sensor 180A (or the acceleration sensor 180B) may send the detected motion state information (such as angular velocity) to the processor 110.
  • the processor 110 determines whether it is currently in the hand-held state or the tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the mobile phone 100 is in the hand-held state).
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100, which is different from the position of the display screen 194.
  • the display screen 194 of the mobile phone 100 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.).
  • the display screen 194 displays an interface of the camera application, such as a viewfinder interface.
  • the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device. In the embodiment of the present application, the mobile communication module 150 may also be used to exchange information with other terminal devices.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the wireless communication module 160 may be used to access an access point device, and send and receive messages to other terminal devices.
  • the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, 5G NR, and/or IR technology, etc.
  • the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the mobile phone 100 can receive the key 190 input, and generate key signal input related to the user settings and function control of the mobile phone 100.
  • the mobile phone 100 can use the motor 191 to generate a vibration notification (for example, an incoming call vibration notification).
  • the indicator 192 in the mobile phone 100 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 in the mobile phone 100 is used to connect to the SIM card.
  • the SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195.
  • the mobile phone 100 may include more or less components than those shown in FIG. 1A, which is not limited in the embodiment of the present application.
  • the illustrated mobile phone 100 is only an example, and the mobile phone 100 may have more or fewer parts than shown in the figure, may combine two or more parts, or may have a different part configuration.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the telephone manager is used to provide the communication function of the terminal device. For example, the management of the call status (including connecting, hanging up, etc.).
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompt text messages in the status bar sound a prompt tone, terminal equipment vibration, flashing indicator lights, etc.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • FIG. 2 shows the implementation flowchart of the dual-card-based network standard switching method provided in Embodiment 1 of the present application, and the details are as follows:
  • S201 if a preset trigger condition is detected, S201 is executed.
  • the embodiment of the application does not limit the trigger conditions for the promotion of the specific main card resident standard version too much, and can be set by the technicians according to actual needs. For example, it can be triggered periodically or manually by the user. At this time, the trigger condition is that the set time is reached or the user's trigger instruction is detected.
  • the standard enhancement function may be a specific new function, or may include some original functions in the terminal device.
  • the functions that originally trigger the re-search of the network such as the device restart function, the flight mode function, and the device power-on function, to the above-mentioned standard enhancement function.
  • the corresponding trigger condition is that the device is turned on or the flight mode is turned off.
  • the embodiment of the present application will detect the change of the signal quality of the main card of the terminal device, and use the signal quality lower than the preset threshold as the trigger condition. If it is detected that the signal quality is lower than the preset threshold, S201 in the embodiment of the present application will be activated.
  • the method for evaluating signal quality is not limited here, and can be set by the technicians themselves. For example, reference signal receiving power (RSRP) can be used as a reference indicator of signal quality.
  • RSRP reference signal receiving power
  • the specific size of the preset threshold can be set by a technician according to actual needs, and is not limited here. At this time, a rapid rise in the standard can be achieved.
  • the trigger condition is set as: the system falls back due to the voice service, and the voice service ends. At this time, when the voice service is ended, S201 is started. At this time, in the case of a fall in the standard, a rapid rise in the standard can be achieved.
  • the trigger condition at this time is that the preset trigger instruction is received.
  • the trigger instruction may be an instruction sent by other users or technicians through other devices to assist the user's terminal equipment in upgrading the standard.
  • one or more different trigger conditions can be set to meet the requirements of the actual scenario. Therefore, the embodiment of the present application does not excessively limit the content of the specific trigger condition, and can be set by a technician according to actual needs. It can be a single trigger condition corresponding to the above 6 scenarios, or it can include multiple conditions at the same time, or it can include other conditions designed by technicians.
  • S201 Acquire the number of user identification cards in the terminal device, the first network standard that the main card resides in real time, and the second network standard that the main card slot supports.
  • the main card slot and the secondary card slot when setting the physical card slot.
  • the one inserted into the main card slot is the primary card
  • the one inserted into the secondary card slot is the secondary card.
  • the card slot where the main card is located is the main card slot
  • the card slot where the auxiliary card is located is the auxiliary card slot.
  • the terminal device main card can also reside in a higher version standard. Therefore, if the main card can be switched to a higher version standard at this time, the terminal device can obtain stronger data service capabilities.
  • this embodiment of the application will use the network search module corresponding to the secondary card slot to perform a network search to determine all the cell networks (ie, the first cell network) that the main card can access, and The standard supported by each cell network (that is, the third network standard).
  • the embodiment of the present application does not excessively limit the specific network search operation, which can be determined by the technician according to the actual situation.
  • the secondary card slot may actually search for more cell networks, which may include multiple networks of different operators.
  • the main card can generally only be registered in the network of the operator to which it belongs.
  • the secondary card slot may actually search for the cell networks of operator A, operator B, and operator C at the same time.
  • the main card can only be registered and used in the cell network of operator A. Therefore, the embodiment of the present application will match the actual operator of the cell network when performing cell network search and system determination. And only the cell network of the operator to which the main card belongs is treated as the first cell network in the embodiment of the present application.
  • the highest network standard supported by the main card in the terminal device is 5G, and it supports NSA and SA dual-mode.
  • the new radio (NR) cell in the SA mode is preferentially searched.
  • searching for the NSA traced cell read the SIB2 system message in the cell information. If it is read that the SIB2 system message contains the ULI indication, it is determined that the cell supports NSA, that is, it is determined that the cell supports the 5G standard.
  • the search for frequency points will be limited to search for the recorded historical frequency points, so as to improve the efficiency of the search.
  • S203 If there is a network standard with a higher version than the first network standard in the third network standard, the target network standard with the highest version is selected from the third network standard, and the first cell network of the first cell network to which the target network standard belongs is obtained. A cell information, network registration of the main card based on the first cell information, so that the main card resides in the target network standard.
  • the embodiment of the present application will further filter out the system with the highest version among the searched systems as the target network system. For example, suppose that the searched standards include 2G, 3G, 4G, and 5G, and the current resident standard of the main card is 3G. Since the 4G and 5G versions are both higher than 3G, at this time, the 5G standard with the highest version will be selected from 2G, 3G, 4G and 5G in this embodiment of the application, and 5G will be used as the target network standard in this application embodiment.
  • the embodiment of the present application also determines the cell network to which the target network standard belongs, so as to determine the network to which the master card needs to register and access. For example, assume that cell network a, cell network b, and cell network c, and the three cell networks are all operator networks of the main card. Among them, the cell network a supports 3G, the cell network b supports 4G, and the cell network c supports 5G. At this time, the cell network c corresponding to 5G is the network that the master card needs to register and access. At the same time, in order to enable the main card to quickly access the cell network, in this embodiment of the application, the cell information of the cell network to which the target network standard belongs is shared with the main card.
  • the embodiment of the present application will use the secondary card or the network search module corresponding to the secondary card slot to realize the determination of the high-version standard.
  • the operator of the secondary card and the primary card are the same, it indicates the cell network where the secondary card is registered, and the primary card can also be registered to the network theoretically. Therefore, if the standard version of the secondary card resides (that is, the fourth network standard) is higher than the primary card resides standard at this time, the cell information registered by the secondary card can be used to assist the primary card to quickly register, so as to realize the standard version of the primary card. promote.
  • the embodiment of the application will obtain the cell information of the cell network that the secondary card accesses in real time (that is, the second cell information of the second cell network), and share the cell information with the primary card, so that the primary card can be in the cell network Sign up quickly. And then quickly raise the standard version to the highest.
  • the current standard version of the auxiliary card is lower than the highest version supported by the main card slot, regardless of whether the current standard version of the auxiliary card is higher than the current standard version of the main card, It is impossible to increase the standard version of the primary card to the highest level through the real-time access to the community network through the secondary card.
  • the current standard version of the main card is 3G
  • the highest supported standard version is 5G
  • the current standard version of the secondary card is 4G.
  • the primary card standard version can only be upgraded to 4G.
  • SIM card or two SIM cards may actually be inserted in the terminal device.
  • the inserted SIM card will be processed as a business use card at this time, and the SIM card can perform data services and call services. Since there is no other SIM card at this time, it is also impossible to refer to the standard situation of another SIM card. Therefore, the actual situation of the SIM card inserted in the terminal device will be recognized.
  • SIM cards may also be inserted in the terminal device at the same time. At this time, it is necessary to identify whether each SIM card needs to be upgraded. Therefore, the embodiment of the present application will obtain the current standard of each SIM card and the highest supported standard of the card slot to which each SIM card belongs. At the same time, according to the version relationship between the current residence and the highest supported standard, it can be divided into the following situations:
  • SIM cards can further improve the standard version.
  • it can be handed over to the network search module of the card slot to which each SIM card belongs to realize the respective network search and standard upgrade.
  • the embodiment of the application will distinguish between the SIM cards according to the actual service status of the two SIM cards, and use the network search module of the slot of the SIM card in the idle state to perform network search, and assist the connected state SIM card standard upgrade. For details, please refer to S306 and related steps.
  • one SIM card is in the connected state and the other is in the idle state.
  • the terminal device cannot be used for a period of time.
  • the timing of the system upgrade of the two SIM cards can be staggered, that is, the system upgrade of one of the SIM cards is performed first, and the system upgrade operation of the other SIM card is performed after the system upgrade is completed.
  • the terminal device has at least one SIM card that can be used, that is, the terminal device can be used normally.
  • the embodiment of the present application will use the network search module of the idle SIM card slot to assist the connected SIM card to upgrade the standard, so as to improve the service processing capability of the terminal device. This allows users to use higher-standard networks for business processing. For details, please refer to S307 and related steps.
  • the network search module corresponding to the idle SIM card slot will be used to search the network to maximize the resident standard version of the connected SIM card.
  • step S311 If the third operator and the fourth operator are not the same, use the network search module corresponding to the card slot to which the second target card belongs to perform a network search to obtain at least one fifth cell network and the tenth supported by each fifth cell network. A network standard. And step S310 is executed.
  • the appropriate standard switching strategy is selected according to the actual service status of the SIM cards .
  • priority is given to ensuring its actual business processing, and the network search module of the idle SIM card slot performs network search and assists the connected SIM card to upgrade the standard version.
  • the embodiments of the present application can ensure the normal use of terminal equipment services by users to the greatest extent and reduce the impact on the normal service use of terminal equipment, and realize timely and effective upgrades to the standard version of the SIM card.
  • the standard version can be upgraded, so that the terminal device can obtain stronger service processing capabilities.
  • the network search module corresponding to the card slot of the third target card performs network search, and then the corresponding standard screening and switching operation is performed.
  • the normal business use of the third target card may be affected.
  • the network search module corresponding to the card slot to which the fourth target card belongs performs network search, and then performs the corresponding standard screening and switching operation.
  • the normal business use of the fourth target card will be affected. Both approaches have their own advantages and disadvantages.
  • case 3 In order to determine a suitable way to improve the service processing capability of the terminal device as much as possible, the embodiment of the present application further subdivides case 3 into:
  • the version of the current standard (that is, the thirteenth network standard) of the fourth target card is higher than the highest standard supported by the slot of the third target card (that is, the twelfth network standard). For example, suppose that the current resident standard of the fourth target card is 5G, the highest supported standard of the card slot to which the third target card belongs is 4G, and the current resident standard of the third target card is 3G.
  • the current resident standard of the fourth target card at this time is the highest version standard available for the terminal device.
  • the service processing capability of the terminal device will decrease. Therefore, as an optional embodiment of this application, priority will be given to ensuring the normal use of the fourth target card service. That is, to upgrade the version of the third target card resident standard, the network search module corresponding to the card slot to which the third target card belongs can be searched for the network, and then the corresponding standard screening and switching operation can be performed. Or, the system may not be upgraded, that is, the third target card may not be processed.
  • the current standard version of the fourth target card is lower than the highest standard supported by the card slot to which the third target card belongs. For example, suppose that the current resident standard of the fourth target card is 4G, the highest supported standard of the card slot to which the third target card belongs is 5G, and the current resident standard of the third target card is 4G.
  • the network search module corresponding to the card slot to which the fourth target card belongs will perform a network search, and then perform corresponding standard screening and switch the third target card standard. In order to improve the standard version of the third target card.
  • the current resident standard of the fourth target card at this time is the highest version standard available for the terminal device.
  • the service processing capability of the terminal device will decrease. Therefore, as an optional embodiment of this application, priority will be given to ensuring the normal use of the fourth target card service.
  • the system switching process may not be performed.
  • the network search module corresponding to the card slot to which the third target card belongs can be used to perform a network search, and then perform a corresponding standard screening and switching operation.
  • the cell information of the fourth target card's real-time access to the cell network can also be shared with the third target card, so that the third target card can quickly register to access the network.
  • the service processing capability of the terminal device may be further improved.
  • the version of the twelfth network standard is lower than the version of the fourteenth network standard.
  • the current resident standard of the fourth target card is 5G
  • the highest supported standard of the card slot to which the third target card belongs is also 5G
  • the current resident standard of the third target card is 4G.
  • the current resident standard of the fourth target card is the highest version standard available for the terminal device. If the fourth target card network is affected, the service processing capability of the terminal device will decrease. Therefore, as an optional embodiment of this application, priority will be given to ensuring the normal use of the fourth target card service.
  • the network search module corresponding to the card slot to which the third target card belongs can be searched for the network, and then the corresponding standard screening and switching operation can be performed. Or, the system may not be upgraded, that is, the third target card may not be processed.
  • the system of the third target card is not switched, or the network search module corresponding to the card slot to which the third target card belongs is searched for the network, and then the corresponding system screening and switching operation is performed.
  • the embodiment of the application will obtain the cell information of the cell network that the fourth target card accesses in real time (that is, the sixth cell information of the sixth cell network), and share the cell information with the third target card, so that the third target card The card can be quickly registered in the cell network. And then quickly raise the standard version to the highest.
  • the recording of historical frequency points includes:
  • the network search module of the card slot to which another SIM card belongs will stop network search, thereby restoring the data of the other SIM card Business and voice service capabilities.
  • FIG. 2 Some descriptions of the embodiment shown in FIG. 2 and the embodiment shown in FIG. 3A, FIG. 3B, and FIG. 3C:
  • the following situations may exist in the terminal device. By detecting whether these situations occur, it can assist in determining the embodiment shown in FIG. 2 and FIG. 3A, FIG. 3B, and FIG. Whether the operation of upgrading the standard version of the embodiment shown in 3C occurs:
  • the embodiments of the present application provide a computer program product.
  • the terminal device can realize the steps in the foregoing method embodiments when the terminal device is executed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the technical field of mobile communications, and provides a dual-card-based network type switching method and a terminal device. The method is applied to the terminal device, and the terminal device comprises a master card slot and a slave card slot. The method comprises: obtaining a first network type camped in real time by a master subscriber identity card, and a highest supported second network type of the master card slot; if the version of the first network type is lower than that of the second network type, performing network searching using a network searching module corresponding to the slave card slot; and screening a type having the highest version from all types obtained by network searching, and switching the network type camped in real time by the master subscriber identity card to the type having the highest version. According to embodiments of the present application, a network type version of a master card can be rapidly upgraded, and the influence on a master card service is also reduced.

Description

基于双卡的网络制式切换方法及终端设备Dual-card-based network standard switching method and terminal equipment
本申请要求于2020年04月30日提交国家知识产权局、申请号为202010364855.8、申请名称为“基于双卡的网络制式切换方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on April 30, 2020, the application number is 202010364855.8, and the application name is "Dual card-based network system switching method and terminal equipment", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请属于移动通信技术领域,尤其涉及基于双卡的网络制式切换方法及终端设备。This application belongs to the field of mobile communication technology, and in particular relates to a dual-card-based network standard switching method and terminal equipment.
背景技术Background technique
双卡终端设备(以下简称终端设备)设置有两个卡槽,用于放置两张不同的用户识别(subscriber identity module,SIM)卡。其中,两个卡槽中一个为主卡槽,另一个为副卡槽。主卡槽中插入的SIM卡为主SIM卡(以下简称主卡),副卡槽中插入的SIM卡为副SIM卡(以下简称副卡)。一般主卡提供通话业务和数据业务,而副卡则主要用于提供通话业务。The dual-card terminal device (hereinafter referred to as the terminal device) is provided with two card slots for placing two different subscriber identity module (SIM) cards. Among them, one of the two card slots is a main card slot, and the other is a secondary card slot. The SIM card inserted in the main card slot is the primary SIM card (hereinafter referred to as the main card), and the SIM card inserted in the secondary card slot is the secondary SIM card (hereinafter referred to as the secondary card). Generally, the main card provides call services and data services, while the secondary card is mainly used to provide call services.
实际应用中主卡槽支持的网络制式(以下简称制式)的版本往往较为全面,例如可能可以同时支持2G、3G、4G和5G。终端设备在开机或关闭飞行模式等操作后,会自动进行SIM卡的网络搜索,并将主卡注册到可用的网络中。但由于终端设备搜网策略等问题,经常会出现主卡驻留制式版本低于其实际的可驻留的较高制式的情况。例如当主卡实际的可驻留制式为3G、4G和5G时,其实际驻留制式可能为3G。此时会导致用户只能使用较低制式版本的网络进行数据业务,使得终端设备的数据业务能力下降,从而降低了用户的体验。In actual applications, the version of the network standard (hereinafter referred to as the standard) supported by the main card slot is often more comprehensive, for example, it may be able to support 2G, 3G, 4G and 5G at the same time. After the terminal device is turned on or turned off the flight mode, it will automatically search the network of the SIM card and register the main card to the available network. However, due to problems such as the network search strategy of the terminal device, it is often the case that the main card resident standard version is lower than its actual resident higher standard. For example, when the actual resident standards of the main card are 3G, 4G, and 5G, the actual resident standards may be 3G. At this time, the user can only use the lower standard version of the network for data services, which reduces the data service capability of the terminal device, thereby reducing the user experience.
为了使得主卡驻留到更高制式的网络中,传统的方式会在主卡发生小区信息变化后,自动进行主卡网络搜索,重新进行制式选取。由于网络搜索过程时间较长,且搜网过程中主卡无法使用业务。因此这样做一方面会影响主卡业务的正常使用,另一方面,仍无法保障主卡可以驻留到高版本制式网络中。In order to make the main card reside in a higher-standard network, the traditional method will automatically perform the main card network search and re-select the standard after the cell information of the main card changes. Because the network search process takes a long time, and the main card cannot use services during the network search process. Therefore, on the one hand, this will affect the normal use of the main card business, on the other hand, it still cannot guarantee that the main card can reside in the high-version standard network.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了基于双卡的网络制式切换方法及终端设备,可以解决现有技术中难以使主卡驻留到高版本制式网络,使得终端设备业务处理能力较低的问题。In view of this, the embodiments of the present application provide a dual-card-based network standard switching method and terminal equipment, which can solve the problem that it is difficult for the main card to reside on a high-version standard network in the prior art, resulting in low service processing capabilities of the terminal equipment .
本申请实施例的第一方面提供了一种基于双卡的网络制式切换方法,应用于终端设备,所述终端设备内包含一个主卡槽和一个副卡槽,所述方法包括:The first aspect of the embodiments of the present application provides a dual-card-based network standard switching method, which is applied to a terminal device. The terminal device includes a primary card slot and a secondary card slot, and the method includes:
获取主用户识别卡实时驻留的第一网络制式,以及所述主卡槽最高支持的第二网络制式;Acquiring the first network standard that the main user identification card resides in real time, and the second network standard that the main card slot supports;
若所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索;If the version of the first network standard is lower than the version of the second network standard, use the network search module corresponding to the secondary card slot to perform network search;
从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述主用户识别卡实时驻留的网络制式切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system where the master user identification card resides in real time is switched to the system with the highest version.
本申请实施例中,通过副卡槽对应的搜网模块进行网络搜索,并根据搜索得到的制式来进行主卡的制式切换提升。对于主卡而言,只需根据搜索结果进行制式切换即可实现网络制式版本的提升,无需再进行复杂的搜网操作。因此对主卡正常业务的使用影响极小。In the embodiment of the present application, the network search is performed through the network search module corresponding to the secondary card slot, and the standard switching of the main card is performed according to the searched standard. For the main card, the network standard version can be upgraded by simply switching the standard according to the search results, without the need for complex network search operations. Therefore, the impact on the normal business use of the main card is minimal.
在第一方面的第一种可能的实现方式中,网络搜索和制式筛选切换的操作,包括:In the first possible implementation manner of the first aspect, the operations of network search and mode selection switching include:
使用所述副卡槽对应的搜网模块进行网络搜索,得到至少一个第一小区网络以及各个所述第一小区网络支持的第三网络制式;Use the network search module corresponding to the secondary card slot to perform network search to obtain at least one first cell network and a third network standard supported by each of the first cell networks;
若所述第三网络制式中存在版本高于所述第一网络制式版本的制式,则筛选出所述第三网络制式中版本最高的目标网络制式,并获取所述目标网络制式所属的所述第一小区网络的第一小区信息;If there is a standard with a higher version than the first network standard in the third network standard, the target network standard with the highest version in the third network standard is screened out, and the target network standard to which the target network standard belongs is obtained. The first cell information of the first cell network;
基于所述第一小区信息对所述主用户识别卡进行网络注册,以使得所述主用户识别卡驻留至所述目标网络制式。Perform network registration on the primary user identification card based on the first cell information, so that the primary user identification card resides in the target network standard.
一方面,由于目标网络制式是搜索结果中的最高制式,且高于主卡实时驻留制式,因此可以实现对主卡驻留制式的提升。并可以使得主卡实际驻留制式版本尽可能地达到实际可用的最高版本。从而使得终端设备可以具有较强的数据业务能力。另一方面,由于本申请实施例是副卡槽对应的搜网模块来进行搜网操作,并会在确定出合适的小区网络之后,将小区网络信息共享至主卡。对于主卡而言,只需根据小区网络信息进行网络注册即可,无需再进行复杂的搜网操作。因此对主卡正常业务的使用影响极小。On the one hand, since the target network standard is the highest standard in the search results and is higher than the real-time resident standard of the main card, it is possible to improve the resident standard of the main card. And can make the actual resident standard version of the main card reach the highest version actually available as much as possible. So that the terminal equipment can have strong data service capabilities. On the other hand, because the embodiment of the present application uses the network search module corresponding to the secondary card slot to perform network search operations, and after determining a suitable cell network, the cell network information is shared with the main card. For the main card, only need to perform network registration according to the community network information, without the need for complex network search operations. Therefore, the impact on the normal business use of the main card is minimal.
在第一方面的第二种可能的实现方式中,在所述使用所述副卡槽对应的搜网模块进行网络搜索之前,还包括:In a second possible implementation manner of the first aspect, before the network search module corresponding to the secondary card slot is used for network search, the method further includes:
获取所述终端设备中用户识别卡的数量;Acquiring the number of user identification cards in the terminal device;
相应的,所述若所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索,包括:Correspondingly, if the version of the first network standard is lower than the version of the second network standard, using the network search module corresponding to the secondary card slot to perform network search includes:
若所述数量为1,且所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索。If the number is 1, and the version of the first network standard is lower than the version of the second network standard, the network search module corresponding to the secondary card slot is used for network search.
当仅有一张SIM卡,且网络制式版本未达到主卡槽所支持的最高版本时,说明理论上终端设备主卡还可以驻留于更高版本制式。此时利用副卡槽对应的搜网模块进行网络搜索,可以防止对主卡正常业务的影响。When there is only one SIM card, and the network standard version does not reach the highest version supported by the main card slot, it means that theoretically the terminal device main card can also reside in a higher version standard. At this time, the network search module corresponding to the secondary card slot is used for network search, which can prevent the influence on the normal business of the main card.
在第一方面的第三种可能的实现方式中,在所述使用所述副卡槽对应的搜网模块进行网络搜索之前,还包括:In a third possible implementation manner of the first aspect, before the network search is performed using the network search module corresponding to the secondary card slot, the method further includes:
获取所述终端设备中用户识别卡的数量;Acquiring the number of user identification cards in the terminal device;
相应的,所述若所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索,包括:Correspondingly, if the version of the first network standard is lower than the version of the second network standard, using the network search module corresponding to the secondary card slot to perform network search includes:
若所述数量为2,且所述第一网络制式的版本低于所述第二网络制式的版本,则获取副用户识别卡实时驻留的第四网络制式,以及所述主用户识别卡所属的第一运营商和所述副用户识别卡所属的第二运营商;If the number is 2, and the version of the first network standard is lower than the version of the second network standard, the fourth network standard in which the secondary user identification card resides in real time is acquired, and the primary user identification card belongs to The first operator of and the second operator to which the secondary user identification card belongs;
若所述第一运营商和所述第二运营商相同,且所述第四网络制式的版本低于所述 第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索。If the first operator and the second operator are the same, and the version of the fourth network standard is lower than the version of the second network standard, the network search module corresponding to the secondary card slot is used for network search.
当有两张SIM卡,且主卡网络制式版本未达到主卡槽所支持的最高版本时,说明理论上终端设备主卡还可以驻留于更高版本制式。当主卡副卡的运营商相同,且副卡当前驻留的制式版本低于主卡槽支持的最高版本时,无论副卡当前驻留的制式版本是否高于主卡当前驻留的制式版本,都无法通过副卡实时接入小区网络的来将主卡制式版本提升至最高。因此本申请实施例无需理会副卡当前驻留的制式版本与主卡当前驻留的制式版本的高低,而是会使用副卡槽对应的搜网模块进行网络搜索,以对主卡驻留制式版本进行最大程度的提升。When there are two SIM cards, and the main card network standard version has not reached the highest version supported by the main card slot, it means that theoretically the terminal device main card can also reside in a higher version standard. When the operator of the main card and the auxiliary card is the same, and the current standard version of the auxiliary card is lower than the highest version supported by the main card slot, regardless of whether the current standard version of the auxiliary card is higher than the current standard version of the main card, It is impossible to increase the standard version of the primary card to the highest level through the real-time access to the community network through the secondary card. Therefore, the embodiment of this application does not need to care about the level of the standard version currently resident on the secondary card and the standard version currently resident on the main card, but will use the network search module corresponding to the secondary card slot to perform a network search to check the resident standard of the main card. The version has been upgraded to the greatest extent.
在第三种可能的基础上,在第一方面的第四种可能的实现方式中,还包括:On the basis of the third possibility, in the fourth possible implementation of the first aspect, it also includes:
若所述第一运营商和所述第二运营商相同,且所述第四网络制式与所述第二网络制式的版本相同,则获取所述副用户识别卡实时接入的第二小区网络的第二小区信息;If the first operator and the second operator are the same, and the fourth network standard is the same as the version of the second network standard, acquire the second cell network that the secondary user identification card has real-time access to ’S second cell information;
基于所述第二小区信息对所述主用户识别卡进行网络注册,以使得所述用户识别卡驻留到所述第四网络制式中。Perform network registration on the primary subscriber identity card based on the second cell information, so that the subscriber identity card resides in the fourth network standard.
当主卡副卡的运营商相同,且副卡当前驻留的制式版本等于主卡支持的最高版本时,说明主卡最高也只能将制式版本提升至副卡当前驻留的制式版本。因此此时本申请实施例会获取副卡实时接入的小区网络的小区信息,并将小区信息共享给主卡,以使得主卡可以在小区网络中快速注册。进而快速将制式版本提至最高。When the operator of the main card and the auxiliary card is the same, and the current standard version of the auxiliary card is equal to the highest version supported by the main card, it means that the main card can only upgrade the standard version to the current standard version of the auxiliary card. Therefore, at this time, the embodiment of the present application will obtain the cell information of the cell network that the secondary card accesses in real time, and share the cell information with the primary card, so that the primary card can quickly register in the cell network. And then quickly raise the standard version to the highest.
在第三种可能的基础上,在第一方面的第五种可能的实现方式中,还包括:On the basis of the third possibility, in the fifth possible implementation of the first aspect, it also includes:
若所述第一运营商和所述第二运营商不同,则使用所述副卡槽对应的搜网模块进行网络搜索。If the first operator and the second operator are different, the network search module corresponding to the secondary card slot is used for network search.
当主卡副卡运营商不同时,说明主卡无法注册接入副卡实时接入的小区网络。即无论副卡当前制式版本如何,均已失去了参考意义。因此本申请实施例会在此时使用副卡槽对应的搜网模块进行网络搜索,以对主卡驻留制式版本进行最大程度的提升。When the operators of the primary card and the secondary card are different, it means that the primary card cannot register to access the community network that the secondary card accesses in real time. That is, regardless of the current standard version of the secondary card, it has lost its reference significance. Therefore, the embodiment of the present application will use the network search module corresponding to the secondary card slot to perform network search at this time, so as to maximize the resident standard version of the main card.
在第一方面的第六种可能的实现方式中,在获取主用户识别卡实时驻留的第一网络制式,以及所述主卡槽最高支持的第二网络制式之前,还包括:In the sixth possible implementation manner of the first aspect, before acquiring the first network standard that the main subscriber identification card resides in real time and the second network standard that the main card slot supports, the method further includes:
若检测到预设的触发条件,则执行获取主用户识别卡实时驻留的第一网络制式,以及所述主卡槽最高支持的第二网络制式的操作。If the preset trigger condition is detected, the operation of acquiring the first network standard that the main user identification card resides in real time and the second network standard that the main card slot supports is performed.
其中,触发条件可以为:用户启动制式提升功能、主卡小区信息发生变化、主卡信号质量低于预设阈值、主卡在语音业务过程中出现制式回落且语音业务结束、定时触发以及接收到触发指令中的任意一种或多种。针对不同的实际场景,可以设置一个或多个不同的触发条件,以满足实际场景的需求。例如包含制式回落识别时,则可以出现制式回落时,快速将主卡制式回升。又例如可以将上述6种场景对应的所有触发条件均设置为本申请实施例的触发条件。此时本申请实施例至少可以应对上述6中场景的实际需求,从而实现对不同场景下主卡制式版本的快速提升,实现对不同场景需求的兼容处理,兼容性更强。Among them, the trigger conditions can be: the user activates the standard enhancement function, the main card cell information changes, the main card signal quality is lower than the preset threshold, the main card has a standard fall in the voice service process and the voice service ends, timing triggering and receiving Trigger any one or more of the instructions. For different actual scenarios, one or more different trigger conditions can be set to meet the requirements of the actual scenario. For example, when the system fallback recognition is included, when the system fallback occurs, the main card system can be quickly picked up. For another example, all the trigger conditions corresponding to the above 6 scenarios can be set as the trigger conditions of the embodiment of this application. At this time, the embodiments of the present application can at least cope with the actual requirements of the above 6 scenarios, thereby achieving rapid improvement of the main card standard version in different scenarios, achieving compatible processing of requirements of different scenarios, and having stronger compatibility.
在第一方面的第七种可能的实现方式中,所述终端设备为双卡双待单通的设备,所述使用所述副卡槽对应的搜网模块进行网络搜索,包括:In a seventh possible implementation manner of the first aspect, the terminal device is a dual-card dual-standby single-pass device, and the use of a network search module corresponding to the secondary card slot to perform network search includes:
获取所述主用户识别卡的业务状态,若所述业务状态为空闲态,则使用所述副卡槽对应的搜网模块进行网络搜索。The service status of the primary user identification card is acquired, and if the service status is idle, the network search module corresponding to the secondary card slot is used to perform network search.
在主卡没有进行数据业务或语音业务状态下,才进行网络搜索。此时用户可以正常使用主卡业务,而不会感知到本申请实施例中对主卡的制式搜索。The network search is performed when the main card is not in the state of data service or voice service. At this time, the user can use the main card service normally without perceiving the standard search for the main card in the embodiment of the present application.
在第一方面的第八种可能的实现方式中,基于所述第一小区信息对所述主用户识别卡进行网络注册,包括:In an eighth possible implementation manner of the first aspect, performing network registration on the primary subscriber identification card based on the first cell information includes:
获取所述主用户识别卡的业务状态,若所述业务状态为空闲态,基于所述第一小区信息对所述主用户识别卡进行网络注册。Acquire the service status of the primary user identification card, and if the service status is an idle state, perform network registration on the primary user identification card based on the first cell information.
在主卡没有进行数据业务或语音业务状态下,才进行小区切换和网络注册。此时用户可以正常使用主卡业务,而不会感知到本申请实施例中对主卡的制式切换。The cell handover and network registration are performed when the main card is not in the state of data service or voice service. At this time, the user can use the main card service normally without perceiving the standard switch of the main card in the embodiment of the present application.
本申请实施例的第二方面提供了一种基于双卡的网络制式切换方法,应用于终端设备,所述终端设备内包含两个卡槽,所述方法包括:The second aspect of the embodiments of the present application provides a dual-card-based network standard switching method, which is applied to a terminal device. The terminal device includes two card slots, and the method includes:
检测所述两个卡槽内插入的用户识别卡;Detecting the user identification cards inserted in the two card slots;
若所述两个卡槽内仅插入一张用户识别卡,则获取该已插入的用户识别卡实时驻留的第五网络制式,以及该已插入的用户识别卡所属卡槽最高支持的第六网络制式;If only one user identification card is inserted into the two card slots, the fifth network standard that the inserted user identification card resides in real time and the sixth highest supported sixth network standard of the inserted user identification card are obtained. Network standard;
若所述第五网络制式的版本低于所述第六网络制式的版本,则使用所述两个卡槽中未插入用户识别卡的卡槽对应的搜网模块进行网络搜索;If the version of the fifth network standard is lower than the version of the sixth network standard, use the network search module corresponding to the card slot where the user identification card is not inserted in the two card slots to perform network search;
从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将该已插入的用户识别卡实时驻留的网络制式切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system where the inserted user identification card resides in real time is switched to the system with the highest version.
本申请实施例中,通过未插入用户识别卡的卡槽对应的搜网模块进行网络搜索,并根据搜索得到的制式来进行主卡的制式切换提升。对于已插入的用户识别卡而言,只需根据搜索结果进行制式切换即可实现网络制式版本的提升,无需再进行复杂的搜网操作。因此对已插入的用户识别卡正常业务的使用影响极小。In the embodiment of the present application, the network search is performed through the network search module corresponding to the card slot in which the user identification card is not inserted, and the standard switching of the main card is performed according to the searched standard. For the inserted user identification card, the network standard version can be upgraded only by switching the standard according to the search result, without the need for complicated network search operations. Therefore, the impact on the normal business use of the inserted subscriber identification card is minimal.
在第二方面的第一种可能的实现方式中,网络搜索和制式筛选切换的操作,包括:使用所述两个卡槽中未插入用户识别卡的卡槽对应的搜网模块进行网络搜索,得到至少一个第三小区网络以及各个第三小区网络支持的第七网络制式;In the first possible implementation manner of the second aspect, the operation of network search and standard screening switching includes: using the network search module corresponding to the card slot in which the user identification card is not inserted in the two card slots to perform the network search, Obtain at least one third cell network and a seventh network standard supported by each third cell network;
若所述第七网络制式中存在版本高于所述第五网络制式版本的制式,则筛选出所述第七网络制式中版本最高的第一目标制式,并获取第一目标制式所属的第三小区网络的第三小区信息;If there is a system with a version higher than the version of the fifth network standard in the seventh network standard, the first target standard with the highest version in the seventh network standard is filtered out, and the third target standard to which the first target standard belongs is obtained. The third cell information of the cell network;
基于所述第三小区信息对该已插入的用户识别卡进行网络注册,以使得该已插入的用户识别卡驻留到第一目标制式中。Perform network registration on the inserted user identification card based on the third cell information, so that the inserted user identification card resides in the first target standard.
一方面,由于第一目标制式是搜索结果中的最高制式,且高于已插入的用户识别卡实时驻留制式,因此可以实现对已插入的用户识别卡驻留制式的提升。并可以使得已插入的用户识别卡实际驻留制式版本尽可能地达到实际可用的最高版本。从而使得终端设备可以具有较强的数据业务能力。另一方面,由于本申请实施例是未插入用户识别卡的卡槽对应的搜网模块来进行搜网操作,并会在确定出合适的小区网络之后,将小区网络信息共享至已插入的用户识别卡。对于已插入的用户识别卡而言,只需根据小区网络信息进行网络注册即可,无需再进行复杂的搜网操作。因此对已插入的用户识别卡正常业务的使用影响极小。On the one hand, since the first target standard is the highest standard in the search results and is higher than the real-time resident standard of the inserted user identification card, the resident standard of the inserted user identification card can be improved. And the actual resident standard version of the inserted user identification card can reach the highest version actually available as much as possible. So that the terminal equipment can have strong data service capabilities. On the other hand, because the embodiment of this application is not inserted into the network search module corresponding to the card slot of the user identification card to perform the network search operation, and after determining a suitable cell network, the cell network information will be shared with the inserted user Identification card. For the user identification card that has been inserted, it is only necessary to perform network registration according to the community network information, and there is no need to perform complex network search operations. Therefore, the impact on the normal business use of the inserted subscriber identification card is minimal.
本申请实施例的第三方面提供了一种基于双卡的网络制式切换方法,应用于终端设备,所述终端设备内包含两个卡槽,所述方法包括:The third aspect of the embodiments of the present application provides a dual-card-based network standard switching method, which is applied to a terminal device, the terminal device includes two card slots, and the method includes:
检测所述两个卡槽内插入的用户识别卡;Detecting the user identification cards inserted in the two card slots;
若所述两个卡槽内均插入了用户识别卡,且两张用户识别卡实时驻留的网络制式版本均低于各自所属卡槽最高支持的网络制式版本,则获取两张用户识别卡的业务状态;If user identification cards are inserted in both of the two card slots, and the network standard versions of the two user identification cards that reside in real time are both lower than the highest supported network standard version of the respective card slots, then obtain the two user identification cards Business status
若两张用户识别卡中存在业务状态为连接态的第一目标卡,以及业务状态为空闲态的第二目标卡,利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索;If there are a first target card whose service state is in a connected state and a second target card whose service state is in an idle state among the two user identification cards, use the network search module corresponding to the card slot to which the second target card belongs to perform network search;
从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述第一目标卡实时驻留的网络制式切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained by the network search, and the network system where the first target card resides in real time is switched to the system with the highest version.
在本申请实施例中,当两张卡都需要制式提升的时候,优先利用空闲态的卡槽协助连接态的卡进行制式提升,从而尽可能地保障终端设备的正常使用。In the embodiment of the present application, when both cards need to be upgraded, the card slot in the idle state is used first to assist the card in the connected state to upgrade the system, so as to ensure the normal use of the terminal device as much as possible.
在第三方面的第一种可能的实现方式中,将所述第一目标卡所属卡槽最高支持的网络制式作为第九网络制式,所述第二目标卡实时驻留的网络制式作为第十网络制式;In the first possible implementation manner of the third aspect, the network standard supported by the card slot to which the first target card belongs is taken as the ninth network standard, and the network standard in which the second target card resides in real time is taken as the tenth network standard. Network standard;
在所述利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索之前,还包括:Before the network search is performed by using the network search module corresponding to the card slot to which the second target card belongs, the method further includes:
获取所述第一目标卡的第三运营商和所述第二目标卡的第四运营商;A third operator of the first target card and a fourth operator of the second target card;
若所述第三运营商和所述第四运营商相同,且所述第十网络制式的版本低于所述第九网络制式的版本,则执行所述利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索的操作;或者If the third operator and the fourth operator are the same, and the version of the tenth network standard is lower than the version of the ninth network standard, execute the use of the slot to which the second target card belongs The corresponding network search module performs network search operations; or
若所述第三运营商和所述第四运营商不同,则执行所述利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索的操作。If the third operator and the fourth operator are different, perform the operation of using the network search module corresponding to the card slot to which the second target card belongs to perform network search.
当两张SIM卡运营商相同,且空闲态SIM卡当前驻留的制式版本低于连接态SIM卡支持的最高版本时,无论空闲态SIM卡当前驻留的制式版本是否高于连接态SIM卡当前驻留的制式版本(即第八网络制式),都无法通过空闲态SIM卡实时接入小区网络的来将连接态SIM卡制式版本提升至最高。而当两张SIM卡运营商不同时,说明连接态SIM卡无法注册接入空闲态SIM卡实时接入的小区网络。即无论空闲态SIM卡当前制式版本如何,均已失去了参考意义。因此在空闲态SIM卡当前驻留的制式版本低于连接态SIM卡卡槽支持的最高版本时,以及在运营商不同时,本申请实施例无需理会空闲态SIM卡当前驻留的制式版本与连接态SIM卡当前驻留的制式版本的高低,而是会使用空闲态SIM卡卡槽对应的搜网模块进行网络搜索,以对连接态SIM卡驻留制式版本进行最大程度的提升。When the two SIM cards have the same operator, and the current standard version of the idle SIM card is lower than the highest version supported by the connected SIM card, no matter whether the current standard version of the idle SIM card is higher than the connected SIM card The current resident standard version (that is, the eighth network standard) cannot increase the connected SIM card standard version to the highest level by real-time access to the cell network through the idle SIM card. When the operators of the two SIM cards are different, it means that the connected SIM card cannot register to access the cell network that the idle SIM card accesses in real time. That is, regardless of the current standard version of the SIM card in the idle state, it has lost its reference significance. Therefore, when the current standard version of the idle SIM card is lower than the highest version supported by the connected SIM card slot, and when the operators are different, the embodiment of the present application does not need to care about the current standard version of the idle SIM card. Instead, the network search module corresponding to the idle SIM card slot will be used to search the network for the current standard version of the connected SIM card, so as to maximize the resident standard version of the connected SIM card.
在第三方面的第二种可能的实现方式中,若所述第三运营商和所述第四运营商相同,且所述第十网络制式与所述第九网络制式版本相同,则获取所述第二目标卡实时接入的第四小区网络的第四小区信息,并基于所述第四小区信息对所述第一目标卡进行网络注册,以使得所述第一目标卡驻留到所述第十网络制式中。In the second possible implementation manner of the third aspect, if the third operator and the fourth operator are the same, and the tenth network standard is the same as the ninth network standard version, obtain all The fourth cell information of the fourth cell network accessed by the second target card in real time, and network registration is performed on the first target card based on the fourth cell information, so that the first target card resides in all In the tenth network standard.
当两张SIM卡运营商相同,且空闲态SIM卡当前驻留的制式版本等于连接态SIM卡支持的最高版本时,说明连接态SIM卡最高也只能将制式版本提升至空闲态SIM卡当前驻留的制式版本。因此此时本申请实施例会获取空闲态SIM卡实时接入的小区网络的小区信息,并将小区信息共享给连接态SIM卡,以使得连接态SIM卡可以在小区 网络中快速注册。进而快速将制式版本提至最高。When the two SIM cards have the same operator, and the current standard version of the idle SIM card is equal to the highest version supported by the connected SIM card, it means that the connected SIM card can only increase the standard version to the current idle SIM card. Resident standard version. Therefore, at this time, the embodiment of the present application will obtain the cell information of the cell network that the idle state SIM card accesses in real time, and share the cell information with the connected state SIM card, so that the connected state SIM card can quickly register in the cell network. And then quickly raise the standard version to the highest.
本申请实施例的第四方面提供了一种基于双卡的网络制式切换方法,应用于终端设备,所述终端设备内包含两个卡槽,所述方法包括:The fourth aspect of the embodiments of the present application provides a dual-card-based network standard switching method, which is applied to a terminal device. The terminal device includes two card slots, and the method includes:
检测所述两个卡槽内插入的用户识别卡;Detecting the user identification cards inserted in the two card slots;
若所述两个卡槽内均插入了用户识别卡,且两张用户识别卡中,存在实时驻留的第十一网络制式的版本低于自身所属卡槽最高支持的第十二网络制式版本的第三目标卡,以及实时驻留的第十三网络制式与自身所属卡槽最高支持的第十四网络制式版本相同的第四目标卡,则比较所述第十二网络制式和所述第十四网络制式的版本高低;If user identification cards are inserted in both of the two card slots, and in the two user identification cards, the version of the eleventh network standard that resides in real time is lower than the version of the twelfth network standard supported by the card slot to which it belongs And the fourth target card that has the same thirteenth network standard and the fourteenth network standard version supported by its own card slot in real time, then compare the twelfth network standard with the fourth target card. Fourteen network standard version level;
若所述第十二网络制式的版本高于所述第十四网络制式的版本,则使用第四目标卡所属卡槽对应的搜网模块进行网络搜索;If the version of the twelfth network standard is higher than the version of the fourteenth network standard, use the network search module corresponding to the card slot to which the fourth target card belongs to perform network search;
从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述第三目标卡实时驻留的网络制式,切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system where the third target card resides in real time is switched to the system with the highest version.
此时说明通过对第三目标卡进行制式版本提升,可能可以进一步地提升终端设备的业务处理能力。因此由第四目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选并切换第三目标卡制式。以提升第三目标卡的制式版本。At this point, it is explained that by upgrading the standard version of the third target card, the service processing capability of the terminal device may be further improved. Therefore, the network search module corresponding to the card slot to which the fourth target card belongs is used for network search, and then the corresponding standard screening is performed and the third target card standard is switched. In order to improve the standard version of the third target card.
在第四方面的第一种可能的实现方式中,若所述第十二网络制式和所述第十四网络制式的版本相同,识别两张用户识别卡所属的运营商;In the first possible implementation manner of the fourth aspect, if the versions of the twelfth network standard and the fourteenth network standard are the same, identify the operators to which the two user identification cards belong;
若两张用户识别卡的运营商相同,则利用所述第四目标卡实时接入的第六小区网络的第六小区信息对所述第三目标卡进行网络注册,以使得所述第三目标卡驻留至所述第十四网络制式。If the operators of the two subscriber identification cards are the same, use the sixth cell information of the sixth cell network that the fourth target card accesses in real time to perform network registration on the third target card, so that the third target The card resides in the fourteenth network standard.
此时说明第三目标卡最高也只能将制式版本提升至第四目标卡当前驻留的制式版本。因此此时本申请实施例会获取第四目标卡实时接入的小区网络的小区信息,并将小区信息共享给第三目标卡,以使得第三目标卡可以在小区网络中快速注册。进而快速将制式版本提至最高。At this time, it means that the third target card can only upgrade the standard version to the standard version currently resident on the fourth target card. Therefore, at this time, the embodiment of the present application will obtain the cell information of the cell network that the fourth target card accesses in real time, and share the cell information with the third target card, so that the third target card can quickly register in the cell network. And then quickly raise the standard version to the highest.
在上述第二方面、第三方面和第四方面的实施例的基础上,作为本申请的一个实施例,在所述检测所述两个卡槽内插入的用户识别卡之前,还包括:On the basis of the foregoing embodiments of the second, third, and fourth aspects, as an embodiment of the present application, before the detecting the user identification cards inserted in the two card slots, the method further includes:
若检测到预设的触发条件,则执行检测所述两个卡槽内插入的用户识别卡的操作。If the preset trigger condition is detected, the operation of detecting the user identification cards inserted in the two card slots is performed.
其中,触发条件可以为:用户启动制式提升功能、主卡小区信息发生变化、主卡信号质量低于预设阈值、主卡在语音业务过程中出现制式回落且语音业务结束、定时触发以及接收到触发指令中的任意一种或多种。针对不同的实际场景,可以设置一个或多个不同的触发条件,以满足实际场景的需求。例如包含制式回落识别时,则可以出现制式回落时,快速将主卡制式回升。又例如可以将上述6种场景对应的所有触发条件均设置为本申请实施例的触发条件。此时本申请实施例至少可以应对上述6中场景的实际需求,从而实现对不同场景下主卡制式版本的快速提升,实现对不同场景需求的兼容处理,兼容性更强。Among them, the trigger conditions can be: the user activates the standard enhancement function, the main card cell information changes, the main card signal quality is lower than the preset threshold, the main card has a standard fall in the voice service process and the voice service ends, timing triggering and receiving Trigger any one or more of the instructions. For different actual scenarios, one or more different trigger conditions can be set to meet the requirements of the actual scenario. For example, when the system fallback recognition is included, when the system fallback occurs, the main card system can be quickly picked up. For another example, all the trigger conditions corresponding to the above 6 scenarios can be set as the trigger conditions of the embodiment of this application. At this time, the embodiments of the present application can at least cope with the actual requirements of the above 6 scenarios, thereby achieving rapid improvement of the main card standard version in different scenarios, achieving compatible processing of requirements of different scenarios, and having stronger compatibility.
本申请实施例的第五方面提供了一种终端设备,所述终端设备包括存储器、处理 器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,使得终端设备实现如上述第一方面、第二方面、第三方面或第四方面中任一项所述基于双卡的网络制式切换方法的步骤。A fifth aspect of the embodiments of the present application provides a terminal device. The terminal device includes a memory and a processor. The memory stores a computer program that can run on the processor. The processor executes the The computer program enables the terminal device to implement the steps of the dual-card-based network standard switching method as described in any one of the first, second, third, or fourth aspects.
本申请实施例的第六方面提供了一种计算机可读存储介质,包括:存储有计算机程序,所述计算机程序被处理器执行时,使得终端设备实现如上述第一方面、第二方面、第三方面或第四方面中任一项所述基于双卡的网络制式切换方法的步骤。A sixth aspect of the embodiments of the present application provides a computer-readable storage medium, including: a computer program is stored, and when the computer program is executed by a processor, the terminal device realizes the above-mentioned first aspect, second aspect, and first aspect. The steps of the dual-card-based network standard switching method according to any one of the third aspect or the fourth aspect.
本申请实施例的第七方面提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面、第二方面、第三方面或第四方面中任一项所述基于双卡的网络制式切换方法。The seventh aspect of the embodiments of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device executes any one of the first aspect, the second aspect, the third aspect, or the fourth aspect. The method for switching network standards based on dual cards described in the item.
本申请实施例的第八方面提供了一种芯片系统,所述芯片系统包括存储器和处理器,所述处理器执行所述存储器中存储的计算机程序,以实现上述第一方面、第二方面、第三方面或第四方面中任一项所述的基于双卡的网络制式切换方法。An eighth aspect of the embodiments of the present application provides a chip system, the chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the above-mentioned first aspect, second aspect, and The method for switching network standards based on dual cards according to any one of the third aspect or the fourth aspect.
可以理解的是,上述第五方面至第八方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It is understandable that the beneficial effects of the above fifth aspect to the eighth aspect can be referred to the related description in the above first aspect, which will not be repeated here.
附图说明Description of the drawings
图1A是本申请一实施例提供的手机结构示意图;FIG. 1A is a schematic structural diagram of a mobile phone provided by an embodiment of the present application;
图1B是本申请一实施例提供的终端设备的软件结构框图;FIG. 1B is a software structure block diagram of a terminal device provided by an embodiment of the present application;
图2为本申请实施例提供的基于双卡的网络制式切换方法的流程示意图;2 is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of the application;
图3A为本申请实施例提供的基于双卡的网络制式切换方法的流程示意图;3A is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of this application;
图3B为本申请实施例提供的基于双卡的网络制式切换方法的流程示意图;3B is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of the application;
图3C为本申请实施例提供的基于双卡的网络制式切换方法的流程示意图;3C is a schematic flowchart of a dual-card-based network standard switching method provided by an embodiment of the application;
图4为本申请实施例提供的终端设备的结构示意图。Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are proposed for a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, circuits, and methods are omitted to avoid unnecessary details from obstructing the description of this application.
首先对本申请实施例中可能涉及到的一些名词进行解释如下:First, some terms that may be involved in the embodiments of this application are explained as follows:
小区:是指在蜂窝移动通信系统中,其中的一个基站或基站的一部分(扇形天线)所覆盖的区域,在这个区域内移动台可以通过无线信道可靠地与基站进行通信。具体对小区的划分规则以及小区的范围大小,此处不予限定,可根据实际应用场景情况确定。例如,小区可以是公共陆地移动网(public land mobile network,PLMN)、频点和物理小区标识(physical cell identifier,PCI)唯一的最小信号覆盖范围。Cell: refers to the area covered by a base station or a part of a base station (sector antenna) in a cellular mobile communication system. In this area, mobile stations can reliably communicate with the base station through wireless channels. The specific rules for cell division and the size of the cell range are not limited here, and can be determined according to actual application scenarios. For example, a cell may be a public land mobile network (PLMN), a frequency point, and a physical cell identifier (physical cell identifier, PCI) unique minimum signal coverage.
网络制式的版本:在本申请实施例中,是指网络制式的具体版本代数。由于网络制式是按照出现时间先后顺序进行版本代数命名的,如1G为第一代移动通信系统,2G为第二代移动通信系统,3G为第三代移动通信系统,4G为第四代移动通信技术, 5G为第五代移动通信技术。因此本申请实施例中,1G制式的版本即为第一代版本,2G制式的版本即为第二代版本,依此类推。由于版本越高,数据传输能力越强。因此,通过将SIM卡驻留到更高版本的制式,可以提高终端设备数据业务和语音业务能力。Network standard version: In the embodiment of this application, it refers to the specific version algebra of the network standard. Since the network standard is named according to the order of appearance, such as 1G is the first-generation mobile communication system, 2G is the second-generation mobile communication system, 3G is the third-generation mobile communication system, and 4G is the fourth-generation mobile communication system. Technology, 5G is the fifth-generation mobile communication technology. Therefore, in the embodiment of the present application, the 1G standard version is the first generation version, the 2G standard version is the second generation version, and so on. Because the higher the version, the stronger the data transmission capability. Therefore, by resident the SIM card to a higher version standard, the data service and voice service capabilities of the terminal equipment can be improved.
SIM卡:在本申请实施例中,SIM卡实际的类型需根据实际应用场景情况确定。例如,SIM卡可以是传统SIM卡、全球用户识别(universal subscriber identity module,USIM)卡、嵌入式用户识别(embedded subscriber identity module,eSIM)卡和虚拟用户识别卡中的任意一种或多种。在此基础上,本申请实施例中的判断是否插入SIM卡,是根据终端设备内是否有可用SIM卡确定。若终端设备内已有可用的SIM卡,则为已插入。其中若SIM卡为eSIM卡或者虚拟用户识别卡,则对于已启用的eSIM卡或者虚拟用户识别卡,视为已插卡。SIM card: In this embodiment of the application, the actual type of the SIM card needs to be determined according to actual application scenarios. For example, the SIM card may be any one or more of a traditional SIM card, a universal subscriber identity module (USIM) card, an embedded subscriber identity module (eSIM) card, and a virtual subscriber identity card. On this basis, the determination of whether the SIM card is inserted in the embodiment of the present application is determined based on whether there is an available SIM card in the terminal device. If there is an available SIM card in the terminal device, it is already inserted. Among them, if the SIM card is an eSIM card or a virtual subscriber identification card, the enabled eSIM card or virtual subscriber identification card is regarded as an inserted card.
卡槽:对于传统的SIM卡和USIM卡这种实体卡且需要进行卡的插入的情况,卡槽则是指用于放置SIM卡的物理卡槽。而对于eSIM卡和虚拟用户识别卡这种非实体卡而言,由于其不需要物理卡槽,因此此时卡槽也是一个虚拟的概念。即用于放置SIM卡的硬件,或集成有SIM卡的硬件。Card slot: For traditional physical cards such as SIM cards and USIM cards that need to be inserted, the card slot refers to the physical card slot used to place the SIM card. For non-physical cards such as eSIM cards and virtual subscriber identification cards, since they do not require a physical card slot, the card slot is also a virtual concept at this time. That is, the hardware used to place the SIM card, or the hardware integrated with the SIM card.
搜网模块:是卡槽对应的进行网络搜索所需使用到的硬件统称。一般会包括基带、射频单元和存储器等硬件,具体可根据实际终端设备情况确定。由于常见的终端设备包括:双卡双待双通和双卡双待单通两种。其中双卡双待双通的终端设备中,对于每个卡槽均有一套独立的硬件进行网络搜索和数据业务。而对于双卡双待单通的终端设备,两个卡槽则会共用基带和射频单元。因此对于两个卡槽对应的搜网模块而言,可能会有硬件共用的情况。具体可根据实际终端设备情况确定。Network search module: It is the general name of the hardware required for network search corresponding to the card slot. Generally, it will include hardware such as baseband, radio frequency unit and memory, which can be determined according to the actual terminal equipment. Because common terminal equipment includes: dual card dual standby dual pass and dual card dual standby single pass. Among them, in the dual-card dual-standby dual-pass terminal device, each card slot has a set of independent hardware for network search and data services. For dual-card dual-standby single-pass terminal equipment, the two card slots share the baseband and radio frequency unit. Therefore, for the network search modules corresponding to the two card slots, there may be a situation where the hardware is shared. The details can be determined according to the actual terminal equipment.
现有技术中,由于终端设备网络搜索策略的不同,即使终端设备周围有一些支持较高制式的小区网络,也经常会出现主卡驻留制式版本低于其实际可驻留的最高制式版本的情况。此时会导致用户只能使用较低制式版本的网络进行数据业务,使得终端设备的数据业务能力下降,从而降低了用户的体验。In the prior art, due to the different search strategies of the terminal equipment network, even if there are some cell networks that support higher standards around the terminal equipment, there are often cases where the main card resident standard version is lower than its actual resident highest standard version. Condition. At this time, the user can only use the lower standard version of the network for data services, which reduces the data service capability of the terminal device, thereby reducing the user experience.
例如假设终端设备A中,主卡槽支持的制式版本有2G、3G、4G和5G。同时假设主卡槽搜网模块可以搜索到小区网络a、小区网络b、小区网络c和小区网络d,四个小区网络均为主卡的运营商网络。其中小区网络a支持3G,小区网络b支持4G,小区网络c为非独立组网(non-stand alone,NSA)架构的小区网络,支持4G和5G,小区网络d为独立组网(stand alone,SA)架构的小区网络,支持5G。在此基础上根据历史频点搜索策略、信号能量排序策略等进行频点选取和小区网络注册时,可能会导致主卡驻留到较低版本的制式上,从而无法使用5G制式网络来进行数据业务。例如可能驻留到3G或4G制式。For example, suppose that in terminal device A, the main card slot supports 2G, 3G, 4G, and 5G. At the same time, it is assumed that the main card slot network search module can search for cell network a, cell network b, cell network c, and cell network d, and the four cell networks are all operator networks of the main card. Among them, the cell network a supports 3G, the cell network b supports 4G, and the cell network c is a non-standalone (NSA) architecture cell network that supports 4G and 5G, and the cell network d is a standalone network (stand alone, SA) structured cell network supports 5G. On this basis, when performing frequency selection and cell network registration based on historical frequency search strategies, signal energy sorting strategies, etc., it may cause the main card to reside on a lower version of the standard, making it impossible to use the 5G standard network for data business. For example, it may reside in 3G or 4G format.
为了应对这一问题,传统的做法是在主卡发生小区网络切换后,自动进行主卡网络搜索,重新进行制式选取。从而实现移动性驻留到高制式网络。由于网络搜索过程时间较长,且搜网过程中主卡无法使用业务。因此这样至少会存在以下几个问题:In order to cope with this problem, the traditional method is to automatically search for the main card network and re-select the system after the cell network handover occurs on the main card. So as to realize the mobility to reside on the high-standard network. Because the network search process takes a long time, and the main card cannot use services during the network search process. Therefore, there will be at least the following problems:
1、必须等到主卡发生小区信息切换才能更新主卡的制式,会使得主卡长时间停留在低制式网络中。2、重新进行网络搜索,仍存在原本的搜网策略等问题,使得重新驻留的制式仍可能较低,即仍无法保障主卡可以驻留到高版本制式网络中。3、进行主卡网络搜索,会导致用户无法使用主卡的业务,进而使得用户对终端设备的正常使用造 成了较大影响。1. The standard of the main card must be updated until the cell information switch of the main card occurs, which will make the main card stay in the low-standard network for a long time. 2. When re-searching the network, there are still problems with the original network search strategy, so that the re-resident system may still be low, that is, it is still impossible to ensure that the main card can reside in the high-version network. 3. Performing the main card network search will cause users to be unable to use the services of the main card, which will cause the user to have a greater impact on the normal use of the terminal equipment.
为了实现对主卡驻留制式版本的提升,同时减少对终端设备数据业务和通话业务正常使用的影响。在本申请实施例中,首先会识别主卡实际驻留的制式是否为其最高支持的制式。若不是,说明主卡驻留制式具有提升空间。此时本申请实施例会使用副卡槽对应的搜网模块进行网络搜索,以得到终端设备当前可接入的一些小区网络,以及各个小区网络分别支持的制式。当发现搜索结果中存在比主卡实时驻留制式版本更高的制式时,本申请实施例会将搜索结果中版本最高的制式作为目标提升的制式,并会将该版本最高的制式所属小区网络的小区网络信息共享给主卡。从而使得主卡可以根据该小区网络信息进行网络注册,接入对应的小区网络,并驻留到对应的目标网络制式。In order to achieve the improvement of the main card resident standard version, while reducing the impact on the normal use of terminal equipment data services and call services. In the embodiment of the present application, firstly, it will be identified whether the system that the main card actually resides in is the highest supported system. If not, it means that the main card resident system has room for improvement. At this time, the embodiment of the present application will use the network search module corresponding to the secondary card slot to perform network search, so as to obtain some cell networks currently accessible by the terminal device and the standards supported by each cell network. When it is found that there is a higher standard than the real-time resident standard version of the main card in the search result, the embodiment of the present application will regard the standard with the highest version in the search result as the standard to be promoted, and will set the standard of the cell network to which the standard with the highest version belongs. The community network information is shared with the main card. Therefore, the main card can perform network registration according to the cell network information, access the corresponding cell network, and camp on the corresponding target network standard.
一方面,由于目标网络制式是搜索结果中的最高制式,且高于主卡实时驻留制式,因此可以实现对主卡驻留制式的提升。并可以使得主卡实际驻留制式版本尽可能地达到实际可用的最高版本。从而使得终端设备可以具有较强的数据业务能力。另一方面,由于本申请实施例是副卡槽对应的搜网模块来进行搜网操作,并会在确定出合适的小区网络之后,将小区网络信息共享至主卡。对于主卡而言,只需根据小区网络信息进行网络注册即可,无需再进行复杂的搜网操作。因此对主卡正常业务的使用影响极小。此外,由于本申请实施例可以主动使用副卡槽对应的搜网模块进行搜网,并对主卡进行制式提升。因此通过设置适宜的触发时机,可以使得主卡及时主动地驻留到高版本制式,进而可以缩短在低版本制式网络中的时间。On the one hand, since the target network standard is the highest standard in the search results and is higher than the real-time resident standard of the main card, it is possible to improve the resident standard of the main card. And can make the actual resident standard version of the main card reach the highest version actually available as much as possible. So that the terminal equipment can have strong data service capabilities. On the other hand, because the embodiment of the present application uses the network search module corresponding to the secondary card slot to perform network search operations, and after determining a suitable cell network, the cell network information will be shared with the main card. For the main card, only need to perform network registration according to the community network information, without the need for complex network search operations. Therefore, the impact on the normal business use of the main card is minimal. In addition, because the embodiment of the present application can actively use the network search module corresponding to the secondary card slot to search the network, and upgrade the standard of the main card. Therefore, by setting an appropriate trigger timing, the main card can be proactively resided in the high-version standard in time, and the time in the low-version standard network can be shortened.
本申请实施例提供的基于双卡的网络制式切换方法可以应用于支持双卡待机的终端设备,此时终端设备即为本申请实施例提供的基于双卡的网络制式切换方法的执行主体。其中,终端设备的具体设备类型此处不予限定,可根据实际情况确定,例如,可以是手机、平板电脑和可穿戴设备等设备。The dual-card-based network system switching method provided by the embodiment of the application can be applied to a terminal device that supports dual-card standby. In this case, the terminal device is the execution body of the dual-card-based network system switching method provided by this embodiment of the application. Among them, the specific device type of the terminal device is not limited here, and can be determined according to the actual situation, for example, it can be a mobile phone, a tablet computer, a wearable device, and other devices.
下文以终端设备是手机为例,图1A示出了手机100的结构示意图。In the following, taking the terminal device as a mobile phone as an example, FIG. 1A shows a schematic structural diagram of the mobile phone 100.
手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括陀螺仪传感器180A,加速度传感器180B,气压传感器180C,磁传感器180D,环境光传感器180E,接近光传感器180G、指纹传感器180H,温度传感器180J,触摸传感器180K(当然,手机100还可以包括其它传感器,比如温度传感器,压力传感器、距离传感器、气压传感器、骨传导传感器等,图中未示出)。The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and SIM Card interface 195 and so on. The sensor module 180 can include a gyroscope sensor 180A, an acceleration sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an ambient light sensor 180E, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K (of course, the mobile phone 100 also Other sensors may be included, such as temperature sensors, pressure sensors, distance sensors, air pressure sensors, bone conduction sensors, etc. (not shown in the figure).
可以理解的是,本发明实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理 器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing Unit (NPU) Wait. Among them, the different processing units may be independent devices or integrated in one or more processors. The controller may be the nerve center and command center of the mobile phone 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
处理器110可以运行本申请实施例提供的基于双卡的网络制式切换方法,以便于实现网络制式的切换版本提升。处理器110可以包括不同的器件,比如集成CPU和GPU时。The processor 110 may run the dual-card-based network standard switching method provided by the embodiment of the present application, so as to implement the switch version upgrade of the network standard. The processor 110 may include different devices, such as when a CPU and a GPU are integrated.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。显示屏194可用于显示由用户输入的信息或提供给用户的信息以及各种图形用户界面(graphical user interface,GUI)。例如,显示器194可以显示照片、视频、网页、或者文件等。再例如,显示器194可以显示图形用户界面。其中图形用户界面上包括状态栏、可隐藏的导航栏、时间和天气小组件(widget)、以及应用的图标,例如浏览器图标等。状态栏中包括运营商名称(例如中国移动)、移动网络(例如4G)、时间和剩余电量。导航栏中包括后退(back)键图标、主屏幕(home)键图标和前进键图标。此外,可以理解的是,在一些实施例中,状态栏中还可以包括蓝牙图标、Wi-Fi图标、外接设备图标等。还可以理解的是,在另一些实施例中,图形用户界面中还可以包括Dock栏,Dock栏中可以包括常用的应用图标等。当处理器检测到用户的手指(或触控笔等)针对某一应用图标的触摸事件后,响应于该触摸事件,打开与该应用图标对应的应用的用户界面,并在显示器194上显示该应用的用户界面。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one. The display screen 194 may be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUI). For example, the display 194 may display photos, videos, web pages, or files. As another example, the display 194 may display a graphical user interface. The graphical user interface includes a status bar, a hidden navigation bar, time and weather widgets, and application icons, such as browser icons. The status bar includes the name of the operator (for example, China Mobile), mobile network (for example, 4G), time, and remaining power. The navigation bar includes a back button icon, a home button icon, and a forward button icon. In addition, it can be understood that, in some embodiments, the status bar may also include a Bluetooth icon, a Wi-Fi icon, an external device icon, and the like. It can also be understood that, in other embodiments, the graphical user interface may also include a Dock bar, and the Dock bar may include commonly used application icons and the like. When the processor detects a touch event of the user's finger (or stylus, etc.) on an application icon, in response to the touch event, it opens the user interface of the application corresponding to the application icon, and displays the application icon on the display 194. The user interface of the application.
在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的拼接显示屏。当处理器110运行本申请实施例提供的基于双卡的网络制式切换方法后,处理器110可以控制外接的音频输出设备切换输出的音频信号。In the embodiment of the present application, the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens. After the processor 110 runs the dual-card-based network standard switching method provided by the embodiment of the present application, the processor 110 may control the external audio output device to switch the output audio signal.
摄像头193(前置摄像头或者后置摄像头,或者一个摄像头既可作为前置摄像头,也可作为后置摄像头)用于捕获静态图像或视频。通常,摄像头193可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根 据所述光信号生成待拍摄物体的原始图像。The camera 193 (a front camera or a rear camera, or a camera can be used as a front camera or a rear camera) is used to capture still images or videos. Generally, the camera 193 may include photosensitive elements such as a lens group and an image sensor, where the lens group includes a plurality of lenses (convex lens or concave lens) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor . The image sensor generates an original image of the object to be photographed based on the light signal.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储手机100使用过程中所创建的数据(比如相机应用采集的图像、视频等)等。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store operating system, application program (such as camera application, WeChat application, etc.) codes and so on. The data storage area can store data created during the use of the mobile phone 100 (for example, images and videos collected by a camera application) and the like.
内部存储器121还可以存储本申请实施例提供的基于双卡的网络制式切换方法对应的一个或多个计算机程序1210。该一个或多个计算机程序1210被存储在上述存储器121中并被配置为被该一个或多个处理器110执行,该一个或多个计算机程序1210包括指令,上述指令可以用于执行如图2至图3C实施例中的各个步骤,该计算机程序1210可以包括帐号验证模块1211、优先级比较模块1212。其中,帐号验证模块1211,用于对局域网内的其它终端设备的系统认证帐号进行认证;优先级比较模块1212,可用于比较音频输出请求业务的优先级和音频输出设备当前输出业务的优先级。状态同步模块1213,可用于将终端设备当前接入的音频输出设备的设备状态同步至其它终端设备,或者将其它设备当前接入的音频输出设备的设备状态同步至本地。当内部存储器121中存储的基于双卡的网络制式切换方法的代码被处理器110运行时,处理器110可以控制终端设备进行制式版本和小区信息处理。The internal memory 121 may also store one or more computer programs 1210 corresponding to the dual-card-based network standard switching method provided in the embodiment of the present application. The one or more computer programs 1210 are stored in the aforementioned memory 121 and configured to be executed by the one or more processors 110, and the one or more computer programs 1210 include instructions, and the aforementioned instructions can be used for execution as shown in FIG. 2 To each step in the embodiment of FIG. 3C, the computer program 1210 may include an account verification module 1211, a priority comparison module 1212. Among them, the account verification module 1211 is used to authenticate the system authentication accounts of other terminal devices in the local area network; the priority comparison module 1212 can be used to compare the priority of the audio output request service with the priority of the current output service of the audio output device. The state synchronization module 1213 can be used to synchronize the device state of the audio output device currently connected by the terminal device to other terminal devices, or synchronize the device state of the audio output device currently connected by other devices to the local. When the code of the dual-card-based network system switching method stored in the internal memory 121 is executed by the processor 110, the processor 110 may control the terminal device to process the system version and cell information.
此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
当然,本申请实施例提供的基于双卡的网络制式切换方法的代码还可以存储在外部存储器中。这种情况下,处理器110可以通过外部存储器接口120运行存储在外部存储器中的基于双卡的网络制式切换方法的代码,处理器110可以控制终端设备进行制式版本和小区信息处理。Of course, the code of the dual-card-based network standard switching method provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 110 can run the dual-card-based network standard switching method code stored in the external memory through the external memory interface 120, and the processor 110 can control the terminal device to process standard version and cell information.
下面介绍传感器模块180的功能。The function of the sensor module 180 is described below.
陀螺仪传感器180A,可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180A确定手机100围绕三个轴(即,x,y和z轴)的角速度。即陀螺仪传感器180A可以用于检测手机100当前的运动状态,比如抖动还是静止。The gyroscope sensor 180A can be used to determine the movement posture of the mobile phone 100. In some embodiments, the angular velocity of the mobile phone 100 around three axes (ie, x, y, and z axes) can be determined by the gyroscope sensor 180A. That is, the gyro sensor 180A can be used to detect the current motion state of the mobile phone 100, such as shaking or static.
当本申请实施例中的显示屏为可折叠屏时,陀螺仪传感器180A可用于检测作用于显示屏194上的折叠或者展开操作。陀螺仪传感器180A可以将检测到的折叠操作或者展开操作作为事件上报给处理器110,以确定显示屏194的折叠状态或展开状态。When the display screen in the embodiment of the present application is a foldable screen, the gyroscope sensor 180A can be used to detect folding or unfolding operations on the display screen 194. The gyroscope sensor 180A may report the detected folding operation or unfolding operation as an event to the processor 110 to determine the folding state or unfolding state of the display screen 194.
加速度传感器180B可检测手机100在各个方向上(一般为三轴)加速度的大小。即陀螺仪传感器180A可以用于检测手机100当前的运动状态,比如抖动还是静止。当本申请实施例中的显示屏为可折叠屏时,加速度传感器180B可用于检测作用于显示屏194上的折叠或者展开操作。加速度传感器180B可以将检测到的折叠操作或者展开操作作为事件上报给处理器110,以确定显示屏194的折叠状态或展开状态。The acceleration sensor 180B can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). That is, the gyro sensor 180A can be used to detect the current motion state of the mobile phone 100, such as shaking or static. When the display screen in the embodiment of the present application is a foldable screen, the acceleration sensor 180B can be used to detect folding or unfolding operations on the display screen 194. The acceleration sensor 180B may report the detected folding operation or unfolding operation as an event to the processor 110 to determine the folding state or unfolding state of the display screen 194.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机通过发光二极管向外发射红外光。手机使用 光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机附近有物体。当检测到不充分的反射光时,手机可以确定手机附近没有物体。当本申请实施例中的显示屏为可折叠屏时,接近光传感器180G可以设置在可折叠的显示屏194的第一屏上,接近光传感器180G可根据红外信号的光程差来检测第一屏与第二屏的折叠角度或者展开角度的大小。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The mobile phone emits infrared light through light-emitting diodes. Mobile phones use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the mobile phone can determine that there is no object near the mobile phone. When the display screen in the embodiment of the present application is a foldable screen, the proximity light sensor 180G can be arranged on the first screen of the foldable display screen 194, and the proximity light sensor 180G can detect the first screen according to the optical path difference of the infrared signal. The size of the folding or unfolding angle between the screen and the second screen.
陀螺仪传感器180A(或加速度传感器180B)可以将检测到的运动状态信息(比如角速度)发送给处理器110。处理器110基于运动状态信息确定当前是手持状态还是脚架状态(比如,角速度不为0时,说明手机100处于手持状态)。The gyroscope sensor 180A (or the acceleration sensor 180B) may send the detected motion state information (such as angular velocity) to the processor 110. The processor 110 determines whether it is currently in the hand-held state or the tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the mobile phone 100 is in the hand-held state).
指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The mobile phone 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the mobile phone 100, which is different from the position of the display screen 194.
示例性的,手机100的显示屏194显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器180K点击主界面中相机应用的图标,触发处理器110启动相机应用,打开摄像头193。显示屏194显示相机应用的界面,例如取景界面。Exemplarily, the display screen 194 of the mobile phone 100 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.). The user clicks the icon of the camera application in the main interface through the touch sensor 180K, triggers the processor 110 to start the camera application, and turns on the camera 193. The display screen 194 displays an interface of the camera application, such as a viewfinder interface.
手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。在本申请实施例中,移动通信模块150还可以用于与其它终端设备进行信息交互。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device. In the embodiment of the present application, the mobile communication module 150 may also be used to exchange information with other terminal devices.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A, 受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。本申请实施例中,无线通信模块160可以用于接入接入点设备,向其它终端设备发送和接收消息。The wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2. In the embodiment of the present application, the wireless communication module 160 may be used to access an access point device, and send and receive messages to other terminal devices.
在一些实施例中,手机100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,5G NR,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONSAS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, 5G NR, and/or IR technology, etc. The GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONSAS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
另外,手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。手机100可以接收按键190输入,产生与手机100的用户设置以及功能控制有关的键信号输入。手机100可以利用马达191产生振动提示(比如来电振动提示)。手机100中的指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。手机100中的SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。In addition, the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc. The mobile phone 100 can receive the key 190 input, and generate key signal input related to the user settings and function control of the mobile phone 100. The mobile phone 100 can use the motor 191 to generate a vibration notification (for example, an incoming call vibration notification). The indicator 192 in the mobile phone 100 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on. The SIM card interface 195 in the mobile phone 100 is used to connect to the SIM card. The SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195.
应理解,在实际应用中,手机100可以包括比图1A所示的更多或更少的部件,本申请实施例不作限定。图示手机100仅是一个范例,并且手机100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that in practical applications, the mobile phone 100 may include more or less components than those shown in FIG. 1A, which is not limited in the embodiment of the present application. The illustrated mobile phone 100 is only an example, and the mobile phone 100 may have more or fewer parts than shown in the figure, may combine two or more parts, or may have a different part configuration. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
终端设备的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明终端设备的软 件结构。图1B是本发明实施例的终端设备的软件结构框图。The software system of the terminal device can adopt a layered architecture, event-driven architecture, micro-core architecture, micro-service architecture, or cloud architecture. The embodiment of the present invention takes an Android system with a layered architecture as an example to exemplarily illustrate the software structure of a terminal device. Fig. 1B is a software structure block diagram of a terminal device according to an embodiment of the present invention.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图1B所示,应用程序包可以包括电话、相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 1B, the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图1B所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 1B, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供终端设备的通信功能。例如通话状态的管理(包括接通,挂断等)。The telephone manager is used to provide the communication function of the terminal device. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,终端设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompt text messages in the status bar, sound a prompt tone, terminal equipment vibration, flashing indicator lights, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.164,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.164, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
下面结合手机100基于双卡的网络制式切换的场景,示例性说明手机100软件以及硬件的工作流程。In the following, the working process of the software and hardware of the mobile phone 100 will be exemplified in conjunction with the scenario where the mobile phone 100 is switched based on the dual-card network system.
当处理器110检测到用户识别卡制式需要提升版本时,则相应的硬件中断被发给内核层。内核层加工成制式切换事件,制式切换事件被存储在内核层。内核层根据制式切换事件驱动移动通信模块进行网络搜索,并根据搜索结果来实现制式的筛选和切换。When the processor 110 detects that the user identification card format needs to be upgraded, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer is processed into system switching events, and the system switching events are stored in the kernel layer. The kernel layer drives the mobile communication module to search the network according to the standard switching event, and realizes the screening and switching of the standard according to the search results.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions described in the present application, specific embodiments are used for description below.
图2示出了本申请实施例一提供的基于双卡的网络制式切换方法的实现流程图,详述如下:FIG. 2 shows the implementation flowchart of the dual-card-based network standard switching method provided in Embodiment 1 of the present application, and the details are as follows:
S200,若检测到预设的触发条件,则执行S201。In S200, if a preset trigger condition is detected, S201 is executed.
本申请实施例不对具体主卡驻留制式版本提升的触发条件进行过多限定,可由技术人员根据实际需求设定。如可以是定时触发或者由用户手动触发等,此时触发条件即为达到设定的时间或者检测到用户的触发指令。The embodiment of the application does not limit the trigger conditions for the promotion of the specific main card resident standard version too much, and can be set by the technicians according to actual needs. For example, it can be triggered periodically or manually by the user. At this time, the trigger condition is that the set time is reached or the user's trigger instruction is detected.
考虑到实际情况中终端设备实际遇到的应用场景情况可能较为多样且复杂。在这些不同的场景中,有一些场景对主卡及时提升到较高版本制式的需求较大。因此通过设置一定的触发条件,可以实现对这些场景的有效识别和及时应对,使得终端设备可以及时有效地提升业务处理能力。以下提供几个可选的实施例,以应对几种可能遇到的场景以及场景对应的触发条件为例:Considering that the actual application scenarios encountered by the terminal device in the actual situation may be diverse and complex. Among these different scenarios, there are some scenarios where the main card needs to be upgraded to a higher version standard in time. Therefore, by setting certain trigger conditions, it is possible to effectively identify and respond to these scenarios in a timely manner, so that the terminal device can effectively improve service processing capabilities in a timely manner. Several optional embodiments are provided below to deal with several possible scenarios and trigger conditions corresponding to the scenarios as examples:
1、针对用户有主动需求的场景。本申请实施例可以在终端设备中设置相应的制式提升功能。此时触发条件即为用户启动制式提升功能。即在检测到用户启动制式提升功能时,便会启动本申请实施例中的S201。1. For scenarios where users have active needs. In the embodiment of the present application, the corresponding system enhancement function may be set in the terminal device. At this time, the trigger condition is that the user initiates the system enhancement function. That is, when it is detected that the user has activated the system enhancement function, S201 in the embodiment of the present application will be activated.
其中,制式提升功能可以是特定的新功能,也可以包含终端设备中的一些原有功能。例如可以将设备重启功能、飞行模式功能和设备开机功能等原有会触发重新网络搜索的功能设置为上述制式提升功能。此时,对应的触发条件则为设备开机或者设备关闭飞行模式等。Among them, the standard enhancement function may be a specific new function, or may include some original functions in the terminal device. For example, it is possible to set the functions that originally trigger the re-search of the network, such as the device restart function, the flight mode function, and the device power-on function, to the above-mentioned standard enhancement function. At this time, the corresponding trigger condition is that the device is turned on or the flight mode is turned off.
2、针对主卡进行小区网络切换的场景。如终端设备发生较大的物理位移,导致终端设备离开小区,主卡需要进行小区网络切换,或者其他因素导致的主卡小区网络切换,使得对应的小区信息发生变化。此时可以将小区信息发生变化作为触发条件。2. A scenario where the main card performs a cell network handover. For example, a large physical displacement of the terminal device causes the terminal device to leave the cell, and the main card needs to perform cell network handover, or other factors cause the main card cell network handover, which causes the corresponding cell information to change. At this time, a change in cell information can be used as a trigger condition.
3、针对用户的移动到信号强度较弱区域(如车库、地下商城和室内),或者由于遮挡物的影响,导致信号变弱的场景。此时本申请实施例会检测终端设备主卡信号质量的变化,并将信号质量低于预设阈值作为触发条件。若检测到信号质量低于预设阈 值,则会启动本申请实施例中的S201。其中,信号质量的评估方法此处不予限定,可由技术人员自行设定,例如可以将参考信号接收功率(reference signal receiving power,RSRP)作为信号质量的参考指标。同时预设阈值的具体大小可由技术人员根据实际需求设定,此处不予限定。此时可以实现对制式的快速回升。3. For users moving to areas with weak signal strength (such as garages, underground shopping malls and indoors), or scenes where the signal becomes weak due to the influence of obstructions. At this time, the embodiment of the present application will detect the change of the signal quality of the main card of the terminal device, and use the signal quality lower than the preset threshold as the trigger condition. If it is detected that the signal quality is lower than the preset threshold, S201 in the embodiment of the present application will be activated. The method for evaluating signal quality is not limited here, and can be set by the technicians themselves. For example, reference signal receiving power (RSRP) can be used as a reference indicator of signal quality. At the same time, the specific size of the preset threshold can be set by a technician according to actual needs, and is not limited here. At this time, a rapid rise in the standard can be achieved.
4、针对终端设备出现制式回落的场景。例如当终端设备不支持高清语音通话(voice over LTE,VoLTE),导致用户每次打电话时终端设备都会出现制式回落到2G或3G。而在用户打完电话时,终端设备又会重新对主卡进行网络搜索,以回到版本较高的制式。又例如用户走进一个信号质量较差的区域,导致终端设备切换到低版本制式的网络。针对此种情况,本申请实施例会检测终端设备是否发生制式回落,若发生,则将制式回升的条件作为本申请实施例的触发条件启动S201。例如对于不支持VoLTE的情况而言,则将触发条件设置为:由于语音业务导致的制式回落,且语音业务结束。此时会在结束语音业务时,启动S201。此时可以在出现制式回落的情况下,实现对制式的快速回升。4. For terminal equipment, there is a scenario where the standard has fallen. For example, when the terminal device does not support high-definition voice calls (voice over LTE, VoLTE), the standard of the terminal device will fall back to 2G or 3G every time a user makes a call. When the user finishes the call, the terminal device will search the main card again to return to the higher version standard. For another example, a user walks into an area with poor signal quality, which causes the terminal device to switch to a network with a lower version standard. In view of this situation, the embodiment of the present application detects whether the terminal device has a mode fall, and if it occurs, the condition of the mode rise is used as the trigger condition of the embodiment of the present application to start S201. For example, for the case where VoLTE is not supported, the trigger condition is set as: the system falls back due to the voice service, and the voice service ends. At this time, when the voice service is ended, S201 is started. At this time, in the case of a fall in the standard, a rapid rise in the standard can be achieved.
5、考虑到实际情况中,即使用户没有发生较大的物理位移,网络信号质量也没有发生明显的下降。同样也有可能出现主卡驻留制式版本较低,需要版本提升的情况。为了应对这一情况,在本申请实施例中会设置定时触发任务。即定时器会以预设时间间隔或者时间点来触发S201的操作。此时触发条件即为定时间达到了预设的触发时间点,或者定时器触发了制式提升的定时触发任务。5. Taking into account the actual situation, even if the user does not have a large physical displacement, the network signal quality has not significantly decreased. It is also possible that the main card resident standard version is low, and the version needs to be upgraded. In order to cope with this situation, a timing trigger task will be set in the embodiment of the present application. That is, the timer will trigger the operation of S201 at a preset time interval or time point. At this time, the trigger condition is that the fixed time reaches the preset trigger time point, or the timer triggers the timing trigger task of the system upgrade.
6、针对一些有远程协助需求的场景,例如希望为技术人员提供一些远程制式切换功能,以使得技术人员可以远程协助用户进行终端设备的制式提升。此时的触发条件则为接收到预设的触发指令。该触发指令可以是其他用户或技术人员通过其他设备发送的指令,用以协助用户终端设备进行制式提升。6. For some scenarios with remote assistance requirements, for example, it is hoped to provide some remote system switching functions for technicians, so that the technicians can remotely assist users in upgrading the standard of terminal equipment. The trigger condition at this time is that the preset trigger instruction is received. The trigger instruction may be an instruction sent by other users or technicians through other devices to assist the user's terminal equipment in upgrading the standard.
由上述说明可知,针对不同的实际场景,可以设置一个或多个不同的触发条件,以满足实际场景的需求。因此本申请实施例不对具体的触发条件的内容进行过多限定,可由技术人员根据实际需求进行设定。既可以是上述6种场景对应的单个触发条件,也可以是同时包含其中多个条件,亦可以包含一些技术人员设计的其他条件。It can be seen from the above description that for different actual scenarios, one or more different trigger conditions can be set to meet the requirements of the actual scenario. Therefore, the embodiment of the present application does not excessively limit the content of the specific trigger condition, and can be set by a technician according to actual needs. It can be a single trigger condition corresponding to the above 6 scenarios, or it can include multiple conditions at the same time, or it can include other conditions designed by technicians.
作为本申请的一个可选实施例,可以将上述6种场景对应的所有触发条件均设置为本申请实施例的触发条件。此时本申请实施例至少可以应对上述6中场景的实际需求,从而实现对不同场景下主卡制式版本的快速提升,实现对不同场景需求的兼容处理,兼容性更强。As an optional embodiment of the present application, all the trigger conditions corresponding to the above 6 scenarios can be set as the trigger conditions of the present embodiment. At this time, the embodiments of the present application can at least cope with the actual requirements of the above 6 scenarios, thereby achieving rapid improvement of the main card standard version in different scenarios, achieving compatible processing of requirements of different scenarios, and having stronger compatibility.
S201,获取所述终端设备中用户识别卡的数量、主卡实时驻留的第一网络制式,以及主卡槽最高支持的第二网络制式。S201: Acquire the number of user identification cards in the terminal device, the first network standard that the main card resides in real time, and the second network standard that the main card slot supports.
考虑到实际情况中,终端设备内实际可能插一张SIM卡或者两张SIM卡。对于仅插了一张SIM卡的情况,此时插入的SIM卡即会作为主卡进行处理,该主卡可以进行数据业务和通话业务。由于此时不存在副卡,也无法参考副卡的制式情况。因此,会识别终端设备中插入SIM卡的数量。Considering the actual situation, one SIM card or two SIM cards may actually be inserted in the terminal device. For the case where only one SIM card is inserted, the inserted SIM card will be processed as the main card at this time, and the main card can perform data services and call services. Since there is no secondary card at this time, it is also impossible to refer to the standard situation of the secondary card. Therefore, the number of SIM cards inserted in the terminal device will be recognized.
其中,对于插入了两张SIM卡的情况而言。由于实际应用中根据终端设备情况的不同,对主卡和副卡的区分方法也可能会存在一定的差异,具体需根据实际情况确定。例如一些终端设备在设置物理卡槽时就区分了主卡槽和副卡槽,此时插入主卡槽的即 为主卡,插入副卡槽的即为副卡。而也有一些终端设备并不会对卡槽进行主副之分,而是可以由用户手动选择将两张SIM卡中的一张作为主卡,另一张作为副卡。此时,主卡所处卡槽即为主卡槽,副卡所处卡槽即为副卡槽。Among them, for the case where two SIM cards are inserted. Due to different terminal equipment conditions in practical applications, there may also be some differences in the method of distinguishing between the main card and the secondary card, which needs to be determined according to the actual situation. For example, some terminal devices distinguish between the main card slot and the secondary card slot when setting the physical card slot. At this time, the one inserted into the main card slot is the primary card, and the one inserted into the secondary card slot is the secondary card. There are also some terminal devices that do not distinguish between the primary and secondary card slots, but the user can manually select one of the two SIM cards as the primary card and the other as the secondary card. At this time, the card slot where the main card is located is the main card slot, and the card slot where the auxiliary card is located is the auxiliary card slot.
此外,本申请实施例会获取主卡槽实际支持的网络制式(即第二网络制式)情况,并确定出其中最高版本的制式。同时还会获取主卡当前驻留制式(即第一网络制式),以和第二网络制式进行版本比对,判断判断是否需要进行制式提升。In addition, the embodiment of the present application will obtain the network standard (ie, the second network standard) actually supported by the main card slot, and determine the standard with the highest version among them. At the same time, the current resident system of the main card (that is, the first network system) is obtained, and the version is compared with the second network system to determine whether the system needs to be upgraded.
S202,若数量为1,且第一网络制式的版本低于第二网络制式的版本,则使用副卡槽对应的搜网模块进行网络搜索,得到至少一个第一小区网络以及各个第一小区网络支持的第三网络制式。S202: If the number is 1, and the version of the first network standard is lower than the version of the second network standard, use the network search module corresponding to the secondary card slot to perform network search to obtain at least one first cell network and each first cell network Supported third network standard.
当仅有一张SIM卡,且网络制式版本未达到主卡槽所支持的最高版本时,说明理论上终端设备主卡还可以驻留于更高版本制式。因此,此时若可以将主卡切换至更高版本制式,可以使得终端设备获得更强的数据业务能力。When there is only one SIM card, and the network standard version does not reach the highest version supported by the main card slot, it means that theoretically the terminal device main card can also reside in a higher version standard. Therefore, if the main card can be switched to a higher version standard at this time, the terminal device can obtain stronger data service capabilities.
为了实现对主卡驻留制式版本的提升,本申请实施例会利用副卡槽对应的搜网模块来进行网络搜索,确定出主卡可接入的所有小区网络(即第一小区网络),以及各个小区网络支持的制式(即第三网络制式)。其中,本申请实施例不对具体的网络搜索操作进行过多限定,可由技术人员根据实际情况确定。In order to achieve the improvement of the main card resident standard version, this embodiment of the application will use the network search module corresponding to the secondary card slot to perform a network search to determine all the cell networks (ie, the first cell network) that the main card can access, and The standard supported by each cell network (that is, the third network standard). Among them, the embodiment of the present application does not excessively limit the specific network search operation, which can be determined by the technician according to the actual situation.
作为本申请的一个实施例,考虑到副卡槽实际可搜索到的小区网络可能较多,其中可能包含多个不同运营商的网络。而实际应用中,主卡一般仅可以注册至其自身所属的运营商的网络中。例如,假设主卡运营商为运营商A,副卡槽实际可能会同时搜索到运营商A、运营商B和运营商C的小区网络。此时,主卡也仅能在其中运营商A的小区网络中进行注册使用。因此本申请实施例在进行小区网络搜索和制式确定时,会对小区网络的实际运营商进行匹配。并仅会将主卡所属运营商的小区网络,作为本申请实施例中的第一小区网络进行处理。As an embodiment of the present application, considering that the secondary card slot may actually search for more cell networks, which may include multiple networks of different operators. In practical applications, the main card can generally only be registered in the network of the operator to which it belongs. For example, assuming that the primary card operator is operator A, the secondary card slot may actually search for the cell networks of operator A, operator B, and operator C at the same time. At this time, the main card can only be registered and used in the cell network of operator A. Therefore, the embodiment of the present application will match the actual operator of the cell network when performing cell network search and system determination. And only the cell network of the operator to which the main card belongs is treated as the first cell network in the embodiment of the present application.
作为本申请的一个可选实施例,若主卡在终端设备中最高支持的网络制式为5G,且支持NSA和SA双模。为了查找5G制式,在进行网络搜索时,优先搜索SA模式下的新空口(new radio,NR)小区。同时在搜索NSA描点小区时,读取小区信息中的SIB2系统消息。若读取到SIB2系统消息中包含ULI指示,则判定该小区支持NSA,即判定该小区支持5G制式。As an optional embodiment of the present application, if the highest network standard supported by the main card in the terminal device is 5G, and it supports NSA and SA dual-mode. In order to find the 5G standard, when performing a network search, the new radio (NR) cell in the SA mode is preferentially searched. At the same time, when searching for the NSA traced cell, read the SIB2 system message in the cell information. If it is read that the SIB2 system message contains the ULI indication, it is determined that the cell supports NSA, that is, it is determined that the cell supports the 5G standard.
作为本申请的一个可选实施例,在网络搜索过程中,对频点的搜索会有限对记录的历史频点进行搜索,以提升搜索的效率。As an optional embodiment of the present application, in the network search process, the search for frequency points will be limited to search for the recorded historical frequency points, so as to improve the efficiency of the search.
S203,若第三网络制式中存在版本高于第一网络制式版本的网络制式,则从第三网络制式中筛选出版本最高的目标网络制式,并获取目标网络制式所属的第一小区网络的第一小区信息,基于第一小区信息对主卡进行网络注册,以使得主卡驻留到目标网络制式中。S203: If there is a network standard with a higher version than the first network standard in the third network standard, the target network standard with the highest version is selected from the third network standard, and the first cell network of the first cell network to which the target network standard belongs is obtained. A cell information, network registration of the main card based on the first cell information, so that the main card resides in the target network standard.
若搜索到的制式中存在比主卡当前驻留制式版本更高的制式,说明理论上终端设备主卡还可以驻留于更高版本制式。因此本申请实施例会进一步地筛选出搜索到的制式中版本最高的制式作为目标网络制式。例如,假设搜索到的制式中包含2G、3G、4G和5G,主卡当前驻留制式为3G。由于4G和5G版本均高于3G,因此,此时本申请实施例会从2G、3G、4G和5G中筛选出版本最高的5G制式,并会将5G作为本申 请实施例中的目标网络制式。If there is a higher standard than the current resident standard version of the main card in the searched standard, it means that theoretically the terminal device main card can also be resident in a higher version standard. Therefore, the embodiment of the present application will further filter out the system with the highest version among the searched systems as the target network system. For example, suppose that the searched standards include 2G, 3G, 4G, and 5G, and the current resident standard of the main card is 3G. Since the 4G and 5G versions are both higher than 3G, at this time, the 5G standard with the highest version will be selected from 2G, 3G, 4G and 5G in this embodiment of the application, and 5G will be used as the target network standard in this application embodiment.
在确定出目标网络制式之后,本申请实施例还会确定目标网络制式所属的小区网络,以确定主卡所需注册接入的网络。例如假设小区网络a、小区网络b和小区网络c,三个小区网络均为主卡的运营商网络。其中小区网络a支持3G,小区网络b支持4G,小区网络c支持5G。此时5G对应的小区网络c即为主卡所需注册接入的网络。同时,为了使主卡可以快速接入小区网络,在本申请实施例中,会将目标网络制式所属小区网络的小区信息共享给主卡,此时主卡可以根据小区信息快速注册至小区网络,实现网络接入和制式切换。在本申请实施例中,小区信息的具体信息内容此处不做过多限定,可由技术人员根据实际小区网络注册需求来进行选取设定。例如在一些实施例中,小区信息可以包括小区的频点和物理小区标识。After the target network standard is determined, the embodiment of the present application also determines the cell network to which the target network standard belongs, so as to determine the network to which the master card needs to register and access. For example, assume that cell network a, cell network b, and cell network c, and the three cell networks are all operator networks of the main card. Among them, the cell network a supports 3G, the cell network b supports 4G, and the cell network c supports 5G. At this time, the cell network c corresponding to 5G is the network that the master card needs to register and access. At the same time, in order to enable the main card to quickly access the cell network, in this embodiment of the application, the cell information of the cell network to which the target network standard belongs is shared with the main card. At this time, the main card can quickly register to the cell network according to the cell information. Realize network access and standard switching. In the embodiment of the present application, the specific information content of the cell information is not too limited here, and can be selected and set by a technician according to actual cell network registration requirements. For example, in some embodiments, the cell information may include the frequency point and physical cell identity of the cell.
目标网络制式版本高于主卡当前驻留的制式,因此切换到目标网络制式可以实现对主卡制式的提升,进而增强终端设备数据业务的能力。而由于是副卡槽对应的搜网模块在进行网络搜索,从而使得网络搜索的过程不会对主卡正常业务造成干扰。同时将筛选出的小区网络的小区信息共享给主卡,使得主卡可以实现快速注册接入网络。因此使得整个搜网和网络接入的过程对主卡业务的影响最小化,保障了用户对终端设备的正常使用。最后,由于可以根据实际需求设置一种或多种的触发机制,从而使得本申请实施例可以及时主动地将主卡驻留到高版本制式,可以缩短在低版本制式网络中的时间。The target network standard version is higher than the standard that the main card currently resides in, so switching to the target network standard can improve the main card standard, thereby enhancing the data service capabilities of the terminal equipment. Since the network search module corresponding to the secondary card slot is performing network search, the network search process will not interfere with the normal business of the main card. At the same time, the cell information of the selected cell network is shared with the main card, so that the main card can quickly register and access the network. Therefore, the impact of the entire network search and network access process on the main card business is minimized, and the normal use of the terminal equipment by the user is guaranteed. Finally, since one or more trigger mechanisms can be set according to actual needs, the embodiment of the present application can actively reside the main card in the high version standard in time, which can shorten the time in the low version standard network.
S204,若数量为2,且第一网络制式的版本低于第二网络制式的版本,则获取副卡实时驻留的第四网络制式,以及主卡的第一运营商和副卡的第二运营商。S204: If the number is 2 and the version of the first network standard is lower than the version of the second network standard, acquire the fourth network standard that the secondary card resides in real time, and the first operator of the primary card and the second network standard of the secondary card. Operator.
当有两张SIM卡,且主卡网络制式版本未达到主卡槽所支持的最高版本时,说明理论上终端设备主卡还可以驻留于更高版本制式。因此,此时若可以将主卡切换至更高版本制式,可以使得终端设备获得更强的数据业务能力。When there are two SIM cards, and the main card network standard version has not reached the highest version supported by the main card slot, it means that theoretically the terminal device main card can also reside in a higher version standard. Therefore, if the main card can be switched to a higher version standard at this time, the terminal device can obtain stronger data service capabilities.
为了实现对主卡驻留制式版本的提升,本申请实施例会利用副卡或者副卡槽对应的搜网模块来实现对高版本制式的确定。具体而言,当副卡和主卡运营商相同时,说明副卡注册的小区网络,主卡理论上也可以注册入网。因此此时若副卡驻留的制式版本(即第四网络制式)高于主卡驻留制式,则可以利用副卡注册的小区信息来辅助主卡快速注册,从而实现对主卡制式版本的提升。此时可以不进行网络搜索,从而尽可能地避免了对用户对终端设备正常使用的影响,同时提高了制式提升的速度。基于这一原理,本申请实施例在S204中会进一步获取副卡当前驻留的制式,以及主卡和副卡的运营商情况。In order to improve the resident standard version of the main card, the embodiment of the present application will use the secondary card or the network search module corresponding to the secondary card slot to realize the determination of the high-version standard. Specifically, when the operator of the secondary card and the primary card are the same, it indicates the cell network where the secondary card is registered, and the primary card can also be registered to the network theoretically. Therefore, if the standard version of the secondary card resides (that is, the fourth network standard) is higher than the primary card resides standard at this time, the cell information registered by the secondary card can be used to assist the primary card to quickly register, so as to realize the standard version of the primary card. promote. At this time, network search may not be performed, thereby avoiding as much as possible the impact on the normal use of the terminal device by the user, and at the same time increasing the speed of the system upgrade. Based on this principle, in the embodiment of the present application, in S204, the current mode of the secondary card and the operators of the primary card and the secondary card will be further obtained.
S205,若第一运营商和第二运营商相同,且第四网络制式与第二网络制式版本相同,则获取副卡实时接入的第二小区网络的第二小区信息,并基于第二小区信息对主卡进行网络注册,以使得主卡驻留到第四网络制式中。S205: If the first operator and the second operator are the same, and the fourth network standard is the same as the second network standard version, acquire the second cell information of the second cell network that the secondary card accesses in real time, and based on the second cell The information performs network registration on the main card so that the main card resides in the fourth network standard.
当主卡副卡的运营商相同,且副卡当前驻留的制式版本等于主卡支持的最高版本时,说明主卡最高也只能将制式版本提升至副卡当前驻留的制式版本。因此此时本申请实施例会获取副卡实时接入的小区网络的小区信息(即第二小区网络的第二小区信息),并将小区信息共享给主卡,以使得主卡可以在小区网络中快速注册。进而快速将制式版本提至最高。When the operator of the main card and the auxiliary card is the same, and the current standard version of the auxiliary card is equal to the highest version supported by the main card, it means that the main card can only upgrade the standard version to the current standard version of the auxiliary card. Therefore, at this time, the embodiment of the application will obtain the cell information of the cell network that the secondary card accesses in real time (that is, the second cell information of the second cell network), and share the cell information with the primary card, so that the primary card can be in the cell network Sign up quickly. And then quickly raise the standard version to the highest.
S206,若第一运营商和第二运营商相同,且第四网络制式的版本低于第二网络制式的版本,则使用副卡槽对应的搜网模块进行网络搜索,得到至少一个第一小区网络以及各个第一小区网络支持的第三网络制式。并执行S203。S206: If the first operator and the second operator are the same, and the version of the fourth network standard is lower than the version of the second network standard, use the network search module corresponding to the secondary card slot to perform network search to obtain at least one first cell The third network standard supported by the network and each first cell network. And execute S203.
当主卡副卡的运营商相同,且副卡当前驻留的制式版本低于主卡槽支持的最高版本时,无论副卡当前驻留的制式版本是否高于主卡当前驻留的制式版本,都无法通过副卡实时接入小区网络的来将主卡制式版本提升至最高。例如假设主卡当前驻留的制式版本为3G,最高支持的制式版本为5G,副卡当前驻留的制式版本为4G。此时即使利用副卡实时接入的小区信息来帮助主卡进行注册入网,也仅能将主卡制式版本提升至4G。但实际情况中,终端设备周围的小区网络中,也有可能存在主卡支持的5G网络。因此此时就无法达到尽可能提升主卡制式版本的目的。When the operator of the main card and the auxiliary card is the same, and the current standard version of the auxiliary card is lower than the highest version supported by the main card slot, regardless of whether the current standard version of the auxiliary card is higher than the current standard version of the main card, It is impossible to increase the standard version of the primary card to the highest level through the real-time access to the community network through the secondary card. For example, suppose that the current standard version of the main card is 3G, the highest supported standard version is 5G, and the current standard version of the secondary card is 4G. At this time, even if the real-time access to the cell information of the secondary card is used to help the primary card register and access the network, the primary card standard version can only be upgraded to 4G. However, in actual situations, there may also be a 5G network supported by the main card in the cell network around the terminal device. Therefore, at this time, it is impossible to achieve the goal of improving the main card standard version as much as possible.
因此在副卡当前驻留的制式版本低于主卡槽支持的最高版本时,本申请实施例无需理会副卡当前驻留的制式版本与主卡当前驻留的制式版本的高低,而是会使用副卡槽对应的搜网模块进行网络搜索,以对主卡驻留制式版本进行最大程度的提升。其中,具体的网络搜索操作和注册入网操作,可以参考S202和S203的相关说明,此处不予赘述。Therefore, when the current standard version of the secondary card is lower than the highest version supported by the main card slot, the embodiment of the application does not need to care about the level of the current standard version of the secondary card and the current standard version of the main card, but will Use the network search module corresponding to the secondary card slot to perform network search to maximize the resident standard version of the main card. For specific network search operations and network registration operations, please refer to the relevant descriptions of S202 and S203, which will not be repeated here.
S207,若第一运营商和第二运营商不相同,则使用副卡槽对应的搜网模块进行网络搜索,得到至少一个第一小区网络以及各个第一小区网络支持的第三网络制式。并执行S203。S207: If the first operator and the second operator are not the same, use the network search module corresponding to the secondary card slot to perform network search to obtain at least one first cell network and a third network standard supported by each first cell network. And execute S203.
当主卡副卡运营商不同时,说明主卡无法注册接入副卡实时接入的小区网络。即无论副卡当前制式版本如何,均已失去了参考意义,此时与仅插入了一张SIM卡情况类似。因此本申请实施例会在此时使用副卡槽对应的搜网模块进行网络搜索,以对主卡驻留制式版本进行最大程度的提升。其中,具体的网络搜索操作和注册入网操作,可以参考S202和S203的相关说明,此处不予赘述。When the operators of the primary card and the secondary card are different, it means that the primary card cannot register to access the community network that the secondary card accesses in real time. That is, regardless of the current standard version of the secondary card, it has lost its reference significance, and it is similar to the situation where only one SIM card is inserted. Therefore, the embodiment of the present application will use the network search module corresponding to the secondary card slot to perform network search at this time, so as to maximize the resident standard version of the main card. For specific network search operations and network registration operations, please refer to the relevant descriptions of S202 and S203, which will not be repeated here.
作为本申请的一个可选实施例,考虑到实际情况中终端设备可能是双卡双待单通设备。此时主卡槽和副卡槽进行业务处理时会共用基带和射频单元,因此副卡槽的搜网模块进行网络搜索时可能会对主卡正常业务造成一定的影响。因此为了尽可能地减小此影响,保证主卡业务的正常进行,在本申请实施例中,副卡槽对应的搜网模块进行网络搜索操作以及基于小区信息对主卡进行网络注册的操作,均会在主卡为空闲态的情况下进行。即主卡没有进行数据业务或语音业务状态下才进行网络搜索和注册。此时用户可以正常使用主卡业务,而不会感知到本申请实施例中对主卡的制式切换过程。As an optional embodiment of the present application, it is considered that the terminal device may be a dual-card dual-standby single-pass device in an actual situation. At this time, the main card slot and the secondary card slot share the baseband and radio frequency unit when performing business processing, so the network search module of the secondary card slot may have a certain impact on the normal business of the primary card when it performs network search. Therefore, in order to reduce this impact as much as possible and ensure the normal operation of the main card business, in this embodiment of the application, the network search module corresponding to the secondary card slot performs network search operations and performs network registration operations on the main card based on cell information. Both will be performed when the main card is in the idle state. That is, the main card does not perform network search and registration when the data service or voice service is not performed. At this time, the user can use the main card service normally without perceiving the system switching process of the main card in the embodiment of the present application.
作为本申请的一个可选实施例,由于终端设备在网络搜索时,可以根据记录的历史频点来提高搜索的效率和效果。因此为了进一步提升网络搜索对高版本制式的搜索能力,在本申请实施例中会在每次主卡成功注册高版本制式的小区网络的同时,将该高版本制式的频点信息和物理小区标识记录至历史频点之中。此后终端设备可以根据历史频点来快速搜索记录的高版本制式。例如,假设将5G频点信息和物理小区标识记录在了历史频点之中,此后在进行网络搜索时,可以优先根据历史频点来进行网络搜索,进而提高了对5G频点的搜索能力。As an optional embodiment of the present application, when the terminal device searches on the network, the search efficiency and effect can be improved according to the recorded historical frequency points. Therefore, in order to further improve the search capability of the network search for the high version standard, in the embodiment of this application, each time the master card successfully registers the high version standard cell network, the frequency point information and the physical cell identifier of the high version standard will be Recorded to historical frequency points. After that, the terminal device can quickly search for the recorded high-version format based on the historical frequency. For example, suppose that the 5G frequency point information and the physical cell identifier are recorded in the historical frequency points. Afterwards, when performing network searches, the network search can be performed based on the historical frequency points first, thereby improving the search capability for 5G frequency points.
具体而言,当所需记录的制式为5G制式时,对历史频点的记录包括:Specifically, when the required recording standard is the 5G standard, the recording of historical frequency points includes:
在NSA组网下,读取主卡注册小区的SIB2信息,并将支持NSA的长期演进(long term evolution,LTE)频点和主卡注册小区的物理小区标识,记录到主卡的历史频点中。Under the NSA network, read the SIB2 information of the main card registered cell, and record the long term evolution (LTE) frequency points that support NSA and the physical cell identifier of the main card registered cell to the historical frequency point of the main card middle.
在SA组网下,则读取主卡注册小区的NR系统消息,将NR频点信息加入至历史频点之中。Under SA networking, read the NR system message of the registered cell of the main card, and add the NR frequency point information to the historical frequency point.
作为本申请的一个可选实施例,在历史频点中记录有多种制式的频点数据情况下,可以根据制式版本的高低来对频点数据进行优先级划分。其中,版本越高优先级也越高,即将版本高的制式的频点设置为高级别的优先级。从而使得网络搜索的过程,可以根据优先级高低,优先对高版本制式进行网络搜索,提高搜索能力和效率。As an optional embodiment of the present application, in the case where frequency point data of multiple standards are recorded in the historical frequency points, the frequency point data may be prioritized according to the level of the standard version. Among them, the higher the version, the higher the priority, that is, the frequency point of the system with the higher version is set as the high-level priority. In this way, in the process of network search, it is possible to perform network search on higher version standards first according to the priority level, thereby improving the search capability and efficiency.
作为本申请的一个可选实施例,在主卡完成注册驻留至高版本的制式之后,副卡槽的搜网模块则会停止网络搜索。从而恢复副卡的语音业务能力。As an optional embodiment of the present application, after the main card completes the registration and resides in the higher version standard, the network search module of the secondary card slot will stop the network search. Thereby, the voice service capability of the secondary card is restored.
在本申请实施例中,首先通过设置一种或多种触发条件来实现对各种实际场景的有效应对,进而可以缩短在低版本制式网络中的时间。而在检测到触发条件时,则会开启对终端设备已插入SIM卡数量、主卡的驻留制式和在终端设备中支持的最高制式。再根据SIM数量和主卡制式情况来确定具体的搜网策略。对于有两张运营商相同的SIM卡,且副卡驻留的制式版本为主卡支持的最高制式版本的情况,则将副卡的小区信息共享至主卡,使主卡可以快速进行高制式网络的注册。对于其他情况,则由副卡槽的搜网模块进行网络搜索。再根据搜网情况来进行制式筛选,并将可用的最高版本制式对应的小区信息共享至主卡,使主卡可以快速进行高制式网络的注册。对于主卡而言,整个制式切换过程其只需根据小区网络信息进行网络注册,无需再进行复杂的搜网操作,即可回升到当前可使用的最高版本制式。因此对主卡正常业务的使用影响极小。此外,由于本申请实施例可以主动使用副卡槽对应的搜网模块进行搜网,并对主卡进行制式提升。In the embodiment of the present application, one or more trigger conditions are firstly set to implement effective responses to various actual scenarios, which in turn can shorten the time in a low-version standard network. When the trigger condition is detected, the number of SIM cards inserted into the terminal device, the resident mode of the main card, and the highest mode supported in the terminal device will be turned on. Then determine the specific network search strategy according to the number of SIMs and the main card system. If there are two SIM cards with the same operator, and the standard version of the secondary card resides in the highest standard version supported by the primary card, the cell information of the secondary card is shared with the primary card so that the primary card can quickly perform high-standard Network registration. In other cases, the network search module of the secondary card slot performs network search. Then the system is screened according to the network search situation, and the community information corresponding to the highest version standard available is shared to the main card, so that the main card can quickly register for the high-standard network. For the main card, the entire system switching process only needs to perform network registration based on the community network information, without the need for complex network search operations, and it can be upgraded to the highest version standard currently available. Therefore, the impact on the normal business use of the main card is minimal. In addition, because the embodiment of the present application can actively use the network search module corresponding to the secondary card slot to search the network, and upgrade the standard of the main card.
在结合5G进行应用时,由于现有技术中因为选网策略及搜网时间限制,可能导致主卡无法选择到最高制式小区,NSA组网下无法选择到锚点小区,SA组网下无法选择到NR小区。通过结合本申请实施例,在副卡槽可搜索到支持5G制式的小区网络的情况下,可以使得主卡快速注册接入5G小区网络。进而使得用户可以更长时间地驻留在5G小区网络之中,实现对数据业务能力的提升,提高用户对5G业务的体验。When applied in combination with 5G, due to the network selection strategy and network search time limitations in the prior art, the main card may not be able to select the highest standard cell, the anchor cell cannot be selected under the NSA network, and the anchor cell cannot be selected under the SA network. To the NR cell. By combining the embodiments of the present application, when the secondary card slot can search for a cell network supporting the 5G standard, the primary card can be quickly registered to access the 5G cell network. This in turn enables users to stay in the 5G cell network for a longer period of time, to achieve the improvement of data service capabilities, and to improve the user's experience of 5G services.
考虑到实际应用中,终端设备也可能不会区分主卡槽和副卡槽,亦不区分主卡和副卡,即两个卡槽均具有数据业务和语音业务能力。此时可以将卡槽命名为第一卡槽和第二卡槽,并将第一卡槽内插入的SIM卡称为第一SIM卡,第二卡槽内插入的SIM卡称为第二SIM卡。理论上只要有一张SIM可以正常使用,即可保障用户对终端设备的正常使用。因此在出现SIM卡驻留制式版本较低时,亦需要一套对应的制式升级策略,来提升SIM卡驻留制式版本,以提升终端设备的数据业务能力。Taking into account the actual application, the terminal device may not distinguish between the main card slot and the auxiliary card slot, nor does it distinguish between the main card and the auxiliary card, that is, both card slots have data service and voice service capabilities. At this time, the card slots can be named the first card slot and the second card slot, and the SIM card inserted in the first card slot is called the first SIM card, and the SIM card inserted in the second card slot is called the second SIM. Card. In theory, as long as there is a SIM that can be used normally, the normal use of the terminal equipment by the user can be guaranteed. Therefore, when the SIM card resident standard version is low, a corresponding standard upgrade strategy is also needed to improve the SIM card resident standard version to improve the data service capability of the terminal device.
图3A、图3B和图3C示出了本申请实施例二提供的基于双卡的网络制式切换方法的实现流程图,详述如下:3A, 3B, and 3C show the implementation flowchart of the dual-card-based network standard switching method provided in the second embodiment of the present application, and the details are as follows:
S300,若检测到预设的触发条件,则执行S301。In S300, if a preset trigger condition is detected, S301 is executed.
S300与S200基本相同,因此对触发条件的原理、操作和效果说明,均可以参考S200的说明。其中,与S200不同之处在于:本申请实施例中没有主副卡之分,因此 S200的说明中,主卡可以被替换为任意一张SIM卡。S300 is basically the same as S200, so for the principle, operation and effect description of the trigger condition, please refer to the description of S200. Among them, the difference from S200 is that there is no distinction between primary and secondary cards in the embodiment of this application. Therefore, in the description of S200, the primary card can be replaced with any SIM card.
S301,检测终端设备内包含的用户识别卡。S301: Detect a user identification card contained in the terminal device.
考虑到实际情况中,终端设备内实际可能插一张SIM卡或者两张SIM卡。对于仅插了一张SIM卡的情况,此时插入的SIM卡即会作为业务使用卡进行处理,该SIM卡可以进行数据业务和通话业务。由于此时不存在另一张SIM卡,也无法参考另一张SIM卡的制式情况。因此,会识别终端设备中插入SIM卡的实际情况。Considering the actual situation, one SIM card or two SIM cards may actually be inserted in the terminal device. For the case where only one SIM card is inserted, the inserted SIM card will be processed as a business use card at this time, and the SIM card can perform data services and call services. Since there is no other SIM card at this time, it is also impossible to refer to the standard situation of another SIM card. Therefore, the actual situation of the SIM card inserted in the terminal device will be recognized.
S302,若仅包含一张用户识别卡,则获取该用户识别卡实时驻留的第五网络制式,以及该用户识别卡所属卡槽最高支持的第六网络制式。S302: If only one user identification card is included, acquire the fifth network standard that the user identification card resides in real time, and the sixth network standard that the slot to which the user identification card belongs to supports the highest.
当终端设备中仅有一张SIM卡时,本申请实施例会获取该SIM卡实时驻留的网络制式(即第五网络制式),以及该SIM卡所属卡槽最高支持的网络制式(即第六网络制式)。例如,假设该SIM卡为第一SIM卡,此时则会获取第一SIM卡实时驻留的网络制式,和第一卡槽最高支持的网络制式。When there is only one SIM card in the terminal device, the embodiment of the application will obtain the network standard (that is, the fifth network standard) that the SIM card resides in real time, and the highest network standard supported by the card slot to which the SIM card belongs (that is, the sixth network Standard). For example, assuming that the SIM card is the first SIM card, the network standard that the first SIM card resides in real time and the network standard supported by the first card slot will be acquired at this time.
S303,若第五网络制式的版本低于第六网络制式的版本,则使用未插入用户识别卡的卡槽对应的搜网模块进行网络搜索,得到至少一个第三小区网络以及各个第三小区网络支持的第七网络制式。S303: If the version of the fifth network standard is lower than the version of the sixth network standard, use the network search module corresponding to the card slot not inserted into the user identification card to perform network search to obtain at least one third cell network and each third cell network The seventh network standard supported.
若插入的SIM卡当前驻留的网络制式版本未达到其所属卡槽所支持的最高版本,说明理论上该SIM卡还可以驻留于更高版本制式。因此,此时若可以将该SIM卡切换至更高版本制式,可以使得终端设备获得更强的数据业务能力。If the current network standard version of the inserted SIM card does not reach the highest version supported by the card slot to which it belongs, it means that in theory the SIM card can also reside in a higher version standard. Therefore, if the SIM card can be switched to a higher version standard at this time, the terminal device can obtain stronger data service capabilities.
S304,若第七网络制式中存在版本高于第五网络制式版本的网络制式,则从第七网络制式中筛选出版本最高的第一目标制式,并获取第一目标制式所属的第三小区网络的第三小区信息,基于第三小区信息对包含的用户识别卡进行网络注册,以使得该用户识别卡驻留到第一目标制式中。S304: If there is a network standard with a higher version than the fifth network standard in the seventh network standard, the first target standard with the highest version is selected from the seventh network standard, and the third cell network to which the first target standard belongs is obtained Based on the third cell information of the third cell, network registration is performed on the included user identification card, so that the user identification card resides in the first target standard.
S303和S304的原理、操作细节和效果等,与S202和S203基本相同,因此可以参考S202和S203的相关说明,此处不予赘述。与S202和S203的不同之处在于,本申请实施例没有主卡,因此需要将S202和S203中主卡的概念替换为本申请实施例中实际插入的SIM卡。该插入的SIM卡既可能是第一SIM卡也可能是第二SIM卡,具体需根据实际情况而定。The principles, operation details, and effects of S303 and S304 are basically the same as those of S202 and S203. Therefore, reference may be made to the relevant description of S202 and S203, which will not be repeated here. The difference from S202 and S203 is that the embodiment of this application does not have a main card, so the concept of the main card in S202 and S203 needs to be replaced with the SIM card actually inserted in the embodiment of this application. The inserted SIM card may be either the first SIM card or the second SIM card, depending on the actual situation.
S305,若包含两张用户识别卡,则获取各个用户识别卡实时驻留的网络制式,以及各个用户识别卡所属卡槽最高支持的网络制式。S305: If two user identification cards are included, obtain the network standard that each user identification card resides in real time, and the highest network standard supported by the card slot to which each user identification card belongs.
与S302对应的,终端设备中也可能同时插入了两张SIM卡,此时需要识别各张SIM卡是否需要进行制式版本提升。因此本申请实施例会获取各张SIM卡当前驻留的制式,以及各张SIM卡所属卡槽最高支持的制式。同时根据当前驻留和最高支持制式的版本高低关系,可以分为以下几种情况:Corresponding to S302, two SIM cards may also be inserted in the terminal device at the same time. At this time, it is necessary to identify whether each SIM card needs to be upgraded. Therefore, the embodiment of the present application will obtain the current standard of each SIM card and the highest supported standard of the card slot to which each SIM card belongs. At the same time, according to the version relationship between the current residence and the highest supported standard, it can be divided into the following situations:
1、两张SIM卡的当前驻留制式均等于自身卡槽对应的最高支持制式。例如假设第一卡槽最高支持制式为5G,第二卡槽最高支持制式为4G。同时第一SIM卡当前驻留制式为5G,第二SIM卡当前驻留制式为4G。此时即为情况1。1. The current resident standard of the two SIM cards is equal to the highest supported standard corresponding to its own card slot. For example, suppose that the highest supported standard of the first card slot is 5G, and the highest supported standard of the second card slot is 4G. At the same time, the current resident mode of the first SIM card is 5G, and the current resident mode of the second SIM card is 4G. This is case 1.
对于情况1由于两张SIM卡均无法再进行制式版本提升,因此此时无需进行制式切换操作。In case 1, since the two SIM cards can no longer upgrade the standard version, there is no need to switch the standard at this time.
2、两张SIM卡的当前驻留制式均低于自身卡槽对应的最高支持制式。例如假设 第一卡槽最高支持制式为5G,第二卡槽最高支持制式为4G。同时第一SIM卡当前驻留制式为4G,第二SIM卡当前驻留制式为3G。此时即为情况2。2. The current resident standards of the two SIM cards are lower than the highest supported standards corresponding to their own card slots. For example, suppose that the highest supported standard of the first card slot is 5G, and the highest supported standard of the second card slot is 4G. At the same time, the current resident mode of the first SIM card is 4G, and the current resident mode of the second SIM card is 3G. This is case 2.
对于情况2,说明两张SIM卡均可以进一步提升制式版本。实际情况中可以交由各个SIM卡所属卡槽的搜网模块来实现对各自的网络搜索和制式升级。但在实际应用中,用户极有可能在使用其中一张或两张SIM卡进行数据业务或语音业务。因此这样会导致用户无法正常使用终端设备。为了解决这一问题,本申请实施例会根据两张SIM卡实际的业务状态来进行SIM卡区分,并利用处于空闲态SIM卡所属卡槽的搜网模块来进行网络搜索,并协助处于连接态的SIM卡进行制式提升。具体可参考S306及相关步骤说明。For case 2, it means that both SIM cards can further improve the standard version. In actual situations, it can be handed over to the network search module of the card slot to which each SIM card belongs to realize the respective network search and standard upgrade. However, in actual applications, users are most likely to use one or two SIM cards for data services or voice services. Therefore, this will cause the user to be unable to use the terminal device normally. In order to solve this problem, the embodiment of the application will distinguish between the SIM cards according to the actual service status of the two SIM cards, and use the network search module of the slot of the SIM card in the idle state to perform network search, and assist the connected state SIM card standard upgrade. For details, please refer to S306 and related steps.
3、两张SIM卡中,一张SIM卡的当前驻留制式均低于自身卡槽对应的最高支持制式,另一张SIM卡的当前驻留制式与自身卡槽对应的最高支持制式相同。例如假设第一卡槽最高支持制式为5G,第二卡槽最高支持制式为4G。同时第一SIM卡当前驻留制式为4G,第二SIM卡当前驻留制式为4G。此时即为情况3。3. Among the two SIM cards, the current resident standard of one SIM card is lower than the highest supported standard corresponding to its own card slot, and the current resident standard of the other SIM card is the same as the highest supported standard corresponding to its own card slot. For example, suppose that the highest supported standard of the first card slot is 5G, and the highest supported standard of the second card slot is 4G. At the same time, the current resident mode of the first SIM card is 4G, and the current resident mode of the second SIM card is 4G. This is case 3.
对于情况3,本申请实施例将实时驻留的网络制式的版本低于自身所属卡槽最高支持的网络制式版本的SIM卡称为第三目标卡,将实时驻留的网络制式与自身所属卡槽最高支持的网络制式版本相同的SIM卡称为第四目标卡。此时说明第三目标卡可以进一步提升制式版本。实际情况中可以交由第三目标卡所属卡槽的搜网模块,来实现对第三目标卡的网络搜索和制式升级。但实际应用中,这样会导致第三目标卡无法正常处理业务。对于利用第三目标卡进行数据业务或语音业务处理时,这将会导致用户无法正常使用终端设备。为了解决这一问题,本申请实施例会根据两张SIM卡当前驻留制式、两个卡槽最高支持制式以及两张SIM卡运营商情况,来确定是否需要对第三目标卡进行制式版本提升,以及具体的提升方式。具体可参考S312及相关步骤说明。For case 3, the embodiment of this application refers to the SIM card whose real-time resident network standard version is lower than the highest supported network standard version of its own card slot as the third target card, and the real-time resident network standard and its own card The SIM card with the same network standard version supported by the slot is called the fourth target card. At this point, it shows that the third target card can further improve the standard version. In actual situations, it can be handed over to the network search module of the card slot to which the third target card belongs to realize the network search and standard upgrade of the third target card. However, in practical applications, this will cause the third target card to fail to process services normally. When the third target card is used for data service or voice service processing, this will cause the user to be unable to use the terminal device normally. In order to solve this problem, this embodiment of the application will determine whether the third target card needs to be upgraded based on the current resident standards of the two SIM cards, the highest supported standards of the two card slots, and the operators of the two SIM cards. And the specific ways to improve. For details, please refer to S312 and related steps.
对情况2的说明如下:The description of case 2 is as follows:
S306,若两张用户识别卡实时驻留的网络制式版本均低于各自所属卡槽最高支持的网络制式版本,则获取两张用户识别卡的业务状态。S306: If the real-time resident network standard versions of the two user identification cards are lower than the highest supported network standard version of the respective card slots, the service status of the two user identification cards is acquired.
在本申请实施例中,将SIM卡的业务状态划分为空闲态和连接态两种。其中,空闲态是指SIM卡当前没有进行数据业务或者语音业务。而连接态则是指SIM卡当前在进行数据业务和语音业务中的一项或多项业务。由于本申请实施例中两张SIM卡可以同时进行数据业务,因此两张SIM卡的业务状态包括以下几种可能:In the embodiment of the present application, the service state of the SIM card is divided into two types: an idle state and a connected state. Among them, the idle state means that the SIM card is not currently performing data services or voice services. The connected state refers to one or more of the data services and voice services currently being performed by the SIM card. Since the two SIM cards in the embodiment of this application can perform data services at the same time, the service status of the two SIM cards includes the following possibilities:
a、两张SIM卡均处于空闲态。a. Both SIM cards are in idle state.
b、两张SIM卡均处于连接态。b. Both SIM cards are in a connected state.
c、两张SIM卡中,一张SIM卡处于连接态,另一张处于空闲态。c. Among the two SIM cards, one SIM card is in the connected state and the other is in the idle state.
对于情况a,由于两张SIM卡均处于空闲态,因此理论上即使使用自身所属卡槽对应的搜网模型进行网络搜索和制式切换,也不会对用户正常使用造成影响。在此基础上,作为本申请的一个可选实施例,可以交由各个SIM卡所属卡槽的搜网模块,来实现对各自的网络搜索和制式提升。作为本申请的另一个可选实施例,为了防止两张SIM卡同时进行制式提升使得终端设备存在一个时间段无法使用。在本申请实施例中,可以错开两张SIM卡制式提升的时机,即先对其中一张SIM卡进行制式提升,在制式 提升完成后,再进行另一张SIM卡的制式提升操作。此时无论哪个时间段,终端设备都至少有一张可以使用的SIM卡,即可以正常使用终端设备。In case a, since the two SIM cards are in an idle state, in theory, even if the network search model corresponding to the card slot of the card slot is used for network search and standard switching, it will not affect the normal use of the user. On this basis, as an optional embodiment of the present application, it can be handed over to the network search module of the card slot to which each SIM card belongs to realize the respective network search and standard improvement. As another optional embodiment of the present application, in order to prevent the two SIM cards from being upgraded at the same time, the terminal device cannot be used for a period of time. In the embodiment of the present application, the timing of the system upgrade of the two SIM cards can be staggered, that is, the system upgrade of one of the SIM cards is performed first, and the system upgrade operation of the other SIM card is performed after the system upgrade is completed. At this time, no matter what time period, the terminal device has at least one SIM card that can be used, that is, the terminal device can be used normally.
对于情况b,均处于连接态说明用户需要同时使用两张SIM卡的业务。因此作为本申请的一个实施例,对于情况b,可以等待两张SIM卡的业务状态发生变化。当两张SIM卡均变为空闲态时,则可以按照情况a进行处理。当仅有一张SIM卡变为空闲态时,则可以按照情况c进行处理。For case b, all being in the connected state means that the user needs to use two SIM card services at the same time. Therefore, as an embodiment of the present application, in case b, it is possible to wait for the service status of the two SIM cards to change. When both SIM cards become idle, it can be processed according to the situation a. When only one SIM card becomes idle, it can be processed according to case c.
对于情况c,为了尽可能地减小对用户正常使用终端设备的影响。本申请实施例会利用空闲态SIM卡卡槽的搜网模块,来协助连接态SIM卡进行制式提升,以提高终端设备业务处理能力。从而使得用户可以使用更高制式的网络进行业务处理。具体可参考S307及相关步骤说明。For case c, in order to minimize the impact on the user's normal use of the terminal device. The embodiment of the present application will use the network search module of the idle SIM card slot to assist the connected SIM card to upgrade the standard, so as to improve the service processing capability of the terminal device. This allows users to use higher-standard networks for business processing. For details, please refer to S307 and related steps.
S307,若两张用户识别卡中存在一个用户识别卡的业务状态为连接态,另一个用户识别卡的业务状态为空闲态,将处于连接态的用户识别卡作为第一目标卡,将处于空闲态的用户识别卡作为第二目标卡,将第一目标卡实时驻留的网络制式作为第八网络制式,第一目标卡所属卡槽最高支持的网络制式作为第九网络制式,第二目标卡实时驻留的网络制式作为第十网络制式,获取第一目标卡的第三运营商和第二目标卡的第四运营商。S307: If one of the two user identification cards has a user identification card in a connected state and the other user identification card has a service state in an idle state, the user identification card in the connected state is used as the first target card, and it will be idle The user identification card in the state is used as the second target card, the network standard in which the first target card resides in real time is regarded as the eighth network standard, the network standard supported by the card slot to which the first target card belongs is the ninth network standard, and the second target card The real-time resident network standard is used as the tenth network standard, and the third operator of the first target card and the fourth operator of the second target card are acquired.
具体而言,当两张SIM卡运营商相同时,说明空闲态SIM卡注册的小区网络,连接态SIM卡理论上也可以注册入网。因此此时若空闲态SIM卡驻留的制式版本(即第十网络制式)高于连接态SIM卡驻留制式,则可以利用空闲态SIM卡注册的小区信息来辅助连接态SIM卡快速注册,从而实现对连接态SIM卡制式版本的提升。此时可以不进行网络搜索,从而尽可能地避免了对用户对终端设备正常使用的影响,同时提高了制式提升的速度。基于这一原理,本申请实施例在S307中会进一步获取空闲态SIM卡当前驻留的制式,以及两张SIM卡运营商情况。Specifically, when the operators of the two SIM cards are the same, it means that the cell network where the idle SIM card is registered, and the connected SIM card can theoretically also be registered to the network. Therefore, if the standard version (that is, the tenth network standard) of the idle SIM card staying is higher than the connected SIM card staying standard at this time, the cell information registered by the idle SIM card can be used to assist the fast registration of the connected SIM card. In this way, the standard version of the connected SIM card is improved. At this time, network search may not be performed, thereby avoiding as much as possible the impact on the normal use of the terminal device by the user, and at the same time increasing the speed of the system upgrade. Based on this principle, in the embodiment of the present application, in S307, the current mode of the SIM card in the idle state and the information of the operators of the two SIM cards will be further obtained.
S308,若第三运营商和第四运营商相同,且第十网络制式与第九网络制式版本相同,则获取第二目标卡实时接入的第四小区网络的第四小区信息,并基于第四小区信息对第一目标卡进行网络注册,以使得第一目标卡驻留到第十网络制式中。S308: If the third operator and the fourth operator are the same, and the tenth network standard is the same as the ninth network standard version, obtain the fourth cell information of the fourth cell network that the second target card accesses in real time, and based on the first The four-cell information performs network registration on the first target card, so that the first target card resides in the tenth network standard.
当两张SIM卡运营商相同,且空闲态SIM卡当前驻留的制式版本等于连接态SIM卡支持的最高版本(即第九网络制式)时,说明连接态SIM卡最高也只能将制式版本提升至空闲态SIM卡当前驻留的制式版本。因此此时本申请实施例会获取空闲态SIM卡实时接入的小区网络的小区信息(即第四小区网络的第四小区信息),并将小区信息共享给连接态SIM卡,以使得连接态SIM卡可以在小区网络中快速注册。进而快速将制式版本提至最高。When two SIM cards have the same operator, and the current standard version of the idle SIM card is equal to the highest version supported by the connected SIM card (ie the ninth network standard), it means that the connected SIM card can only change the standard version Upgrade to the standard version where the SIM card currently resides in the idle state. Therefore, at this time, the embodiment of the application will obtain the cell information of the cell network that the idle SIM card accesses in real time (that is, the fourth cell information of the fourth cell network), and share the cell information with the connected SIM card, so that the connected SIM card The card can be quickly registered in the cell network. And then quickly raise the standard version to the highest.
S309,若第三运营商和第四运营商相同,且第十网络制式的版本低于第九网络制式的版本,则使用第二目标卡所属卡槽对应的搜网模块进行网络搜索,得到至少一个第五小区网络以及各个第五小区网络支持的第十一网络制式。S309: If the third operator and the fourth operator are the same, and the version of the tenth network standard is lower than the version of the ninth network standard, use the network search module corresponding to the card slot to which the second target card belongs to perform network search, and obtain at least A fifth cell network and the eleventh network standard supported by each fifth cell network.
S310,若第十一网络制式中存在版本高于第八网络制式版本的网络制式,则从第十一网络制式中筛选出版本最高的第二目标网络制式,并获取第二目标网络制式所属的第五小区网络的第五小区信息,基于第五小区信息对第一目标卡进行网络注册,以使得第一目标卡驻留到第二目标网络制式中。S310: If there is a network standard with a version higher than the eighth network standard in the eleventh network standard, filter out the second target network standard with the highest version from the eleventh network standard, and obtain the second target network standard to which the second target network standard belongs The fifth cell information of the fifth cell network performs network registration on the first target card based on the fifth cell information, so that the first target card resides in the second target network standard.
当两张SIM卡运营商相同,且空闲态SIM卡当前驻留的制式版本低于连接态SIM卡支持的最高版本时,无论空闲态SIM卡当前驻留的制式版本是否高于连接态SIM卡当前驻留的制式版本(即第八网络制式),都无法通过空闲态SIM卡实时接入小区网络的来将连接态SIM卡制式版本提升至最高。因此在空闲态SIM卡当前驻留的制式版本低于连接态SIM卡卡槽支持的最高版本时,本申请实施例无需理会空闲态SIM卡当前驻留的制式版本与连接态SIM卡当前驻留的制式版本的高低,而是会使用空闲态SIM卡卡槽对应的搜网模块进行网络搜索,以对连接态SIM卡驻留制式版本进行最大程度的提升。其中,具体的网络搜索操作和注册入网操作,可以参考S202和S203的相关说明,此处不予赘述。When the two SIM cards have the same operator, and the current standard version of the idle SIM card is lower than the highest version supported by the connected SIM card, no matter whether the current standard version of the idle SIM card is higher than the connected SIM card The current resident standard version (that is, the eighth network standard) cannot increase the connected SIM card standard version to the highest level by real-time access to the cell network through the idle SIM card. Therefore, when the current standard version of the idle SIM card is lower than the highest version supported by the connected SIM card slot, this embodiment of the application does not need to care about the current standard version of the idle SIM card and the connected SIM card. Instead, the network search module corresponding to the idle SIM card slot will be used to search the network to maximize the resident standard version of the connected SIM card. For specific network search operations and network registration operations, please refer to the relevant descriptions of S202 and S203, which will not be repeated here.
S311,若第三运营商和第四运营商不相同,则利用第二目标卡所属卡槽对应的搜网模块进行网络搜索,得到至少一个第五小区网络以及各个第五小区网络支持的第十一网络制式。并执行步骤S310。S311: If the third operator and the fourth operator are not the same, use the network search module corresponding to the card slot to which the second target card belongs to perform a network search to obtain at least one fifth cell network and the tenth supported by each fifth cell network. A network standard. And step S310 is executed.
当两张SIM卡运营商不同时,说明连接态SIM卡无法注册接入空闲态SIM卡实时接入的小区网络。即无论空闲态SIM卡当前制式版本如何,均已失去了参考意义,此时与仅插入了一张SIM卡情况类似。因此本申请实施例会在此时使用空闲态SIM卡卡槽对应的搜网模块进行网络搜索,以对连接态SIM卡驻留制式版本进行最大程度的提升。其中,具体的网络搜索操作和注册入网操作,可以参考S202和S203的相关说明,此处不予赘述。When the operators of the two SIM cards are different, it means that the connected SIM card cannot register to access the cell network that the idle SIM card accesses in real time. That is, regardless of the current standard version of the SIM card in the idle state, it has lost its reference meaning, and it is similar to the situation where only one SIM card is inserted. Therefore, the embodiment of the present application will use the network search module corresponding to the idle SIM card slot to perform network search at this time, so as to maximize the resident standard version of the connected SIM card. For specific network search operations and network registration operations, please refer to the relevant descriptions of S202 and S203, which will not be repeated here.
在本申请实施例中,对于两张SIM卡实时驻留的网络制式版本均低于各自所属卡槽最高支持的网络制式版本的情况2,根据实际SIM卡的业务状态来选取适宜的制式切换策略。对于连接态SIM卡,优先保障其实际的业务处理,并由空闲态SIM卡卡槽的搜网模块来进行网络搜索,并协助连接态SIM卡进行制式版本提升。对于两个都是空闲态的情况,则可以选择错开制式版本提升的时机,从而使得终端设备正常业务不会受到较大影响。因此本申请实施例可以在最大程度保障用户正常使用终端设备业务,减小对终端设备正常业务使用影响的情况下,实现对SIM卡制式版本的及时有效提升。In the embodiment of this application, for the case that the network standard versions of the two SIM cards that reside in real time are both lower than the highest supported network standard version of the respective card slots, the appropriate standard switching strategy is selected according to the actual service status of the SIM cards . For the connected SIM card, priority is given to ensuring its actual business processing, and the network search module of the idle SIM card slot performs network search and assists the connected SIM card to upgrade the standard version. In the case where both are in the idle state, you can choose to stagger the timing of the standard version upgrade, so that the normal business of the terminal device will not be greatly affected. Therefore, the embodiments of the present application can ensure the normal use of terminal equipment services by users to the greatest extent and reduce the impact on the normal service use of terminal equipment, and realize timely and effective upgrades to the standard version of the SIM card.
对情况3的说明如下:The description of case 3 is as follows:
S312,若两张用户识别卡中,存在实时驻留的第十一网络制式的版本低于自身所属卡槽最高支持的第十二网络制式版本的第三目标卡,以及实时驻留的第十三网络制式与自身所属卡槽最高支持的第十四网络制式版本相同的第四目标卡,则比较第十二网络制式和第十四网络制式的版本高低。S312, if there are two user identification cards, there is a third target card whose real-time resident eleventh network standard version is lower than the twelfth network standard version supported by the card slot to which it belongs, and the tenth real-time resident card For the fourth target card with the same fourteenth network standard version as the fourteenth network standard supported by its own card slot, compare the versions of the twelfth network standard and the fourteenth network standard.
对于第三目标卡而言,理论上可以进行制式版本提升,以使得终端设备获得更强的业务处理能力。理论上此时有两种制式版本提升的途径:由第三目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。此时可能会影响第三目标卡正常业务的使用。或者由第四目标卡卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。此时会影响第四目标卡正常业务的使用。两种途径均有其自身的优劣之处。为了确定出适宜的途径,以尽可能地提升终端设备的业务处理能力,本申请实施例会对情况3进一步地细分为:For the third target card, theoretically, the standard version can be upgraded, so that the terminal device can obtain stronger service processing capabilities. In theory, there are two ways to improve the standard version at this time: the network search module corresponding to the card slot of the third target card performs network search, and then the corresponding standard screening and switching operation is performed. At this time, the normal business use of the third target card may be affected. Or the network search module corresponding to the card slot to which the fourth target card belongs performs network search, and then performs the corresponding standard screening and switching operation. At this time, the normal business use of the fourth target card will be affected. Both approaches have their own advantages and disadvantages. In order to determine a suitable way to improve the service processing capability of the terminal device as much as possible, the embodiment of the present application further subdivides case 3 into:
3.1、第四目标卡当前驻留的制式(即第十三网络制式)的版本高于第三目标卡所 属卡槽最高支持的制式(即第十二网络制式)。例如假设第四目标卡当前驻留制式为5G,第三目标卡所属卡槽最高支持制式为4G,第三目标卡当前驻留制式为3G。3.1. The version of the current standard (that is, the thirteenth network standard) of the fourth target card is higher than the highest standard supported by the slot of the third target card (that is, the twelfth network standard). For example, suppose that the current resident standard of the fourth target card is 5G, the highest supported standard of the card slot to which the third target card belongs is 4G, and the current resident standard of the third target card is 3G.
对于情况3.1,此时第四目标卡当前驻留制式即为终端设备可用的最高版本制式。此时若第四目标卡网络受到影响,会导致终端设备业务处理能力下降。因此作为本申请的一个可选实施例,会优先保障第四目标卡业务正常使用。即对第三目标卡驻留制式的版本提升,可由第三目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。或者亦可以不进行制式提升,即不对第三目标卡进行处理。For case 3.1, the current resident standard of the fourth target card at this time is the highest version standard available for the terminal device. At this time, if the fourth target card network is affected, the service processing capability of the terminal device will decrease. Therefore, as an optional embodiment of this application, priority will be given to ensuring the normal use of the fourth target card service. That is, to upgrade the version of the third target card resident standard, the network search module corresponding to the card slot to which the third target card belongs can be searched for the network, and then the corresponding standard screening and switching operation can be performed. Or, the system may not be upgraded, that is, the third target card may not be processed.
3.2、第四目标卡当前驻留的制式的版本,低于第三目标卡所属卡槽最高支持的制式。例如,假设第四目标卡当前驻留制式为4G,第三目标卡所属卡槽最高支持制式为5G,第三目标卡当前驻留制式为4G。3.2. The current standard version of the fourth target card is lower than the highest standard supported by the card slot to which the third target card belongs. For example, suppose that the current resident standard of the fourth target card is 4G, the highest supported standard of the card slot to which the third target card belongs is 5G, and the current resident standard of the third target card is 4G.
此时说明通过对第三目标卡进行制式版本提升,可能可以进一步地提升终端设备的业务处理能力。因此本申请实施例会由第四目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选并切换第三目标卡制式。以提升第三目标卡的制式版本。At this point, it is explained that by upgrading the standard version of the third target card, the service processing capability of the terminal device may be further improved. Therefore, in the embodiment of the present application, the network search module corresponding to the card slot to which the fourth target card belongs will perform a network search, and then perform corresponding standard screening and switch the third target card standard. In order to improve the standard version of the third target card.
3.3、第四目标卡当前驻留的制式与第三目标卡所属卡槽最高支持的制式版本相同。例如假设第四目标卡当前驻留制式为5G,第三目标卡所属卡槽最高支持制式亦为5G,第三目标卡当前驻留制式为4G。3.3. The current resident standard of the fourth target card is the same as the highest standard version supported by the card slot to which the third target card belongs. For example, suppose that the current resident standard of the fourth target card is 5G, the highest supported standard of the card slot to which the third target card belongs is also 5G, and the current resident standard of the third target card is 4G.
对于情况3.1,此时第四目标卡当前驻留制式即为终端设备可用的最高版本制式。此时若第四目标卡网络受到影响,会导致终端设备业务处理能力下降。因此作为本申请的一个可选实施例,会优先保障第四目标卡业务正常使用。对于第三目标卡而言,则可以不进行制式切换处理。或者可由第三目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。同时,对于两种SIM卡运营商相同的情况,亦可以将第四目标卡实时接入小区网络的小区信息共享给第三目标卡,从而使得第三目标卡可以快速注册接入网络。For case 3.1, the current resident standard of the fourth target card at this time is the highest version standard available for the terminal device. At this time, if the fourth target card network is affected, the service processing capability of the terminal device will decrease. Therefore, as an optional embodiment of this application, priority will be given to ensuring the normal use of the fourth target card service. For the third target card, the system switching process may not be performed. Alternatively, the network search module corresponding to the card slot to which the third target card belongs can be used to perform a network search, and then perform a corresponding standard screening and switching operation. At the same time, if the two SIM card operators are the same, the cell information of the fourth target card's real-time access to the cell network can also be shared with the third target card, so that the third target card can quickly register to access the network.
作为本申请的一个可选实施例,在S312之后,还包括:As an optional embodiment of this application, after S312, it further includes:
S313,若第十二网络制式的版本高于第十四网络制式的版本,则使用第四目标卡所属卡槽对应的搜网模块进行网络搜索,得到至少一个第七小区网络以及各个第七小区网络支持的第十五网络制式。S313: If the version of the twelfth network standard is higher than the version of the fourteenth network standard, use the network search module corresponding to the card slot to which the fourth target card belongs to perform network search to obtain at least one seventh cell network and each seventh cell The fifteenth network standard supported by the network.
例如,假设第四目标卡当前驻留制式为4G,第三目标卡所属卡槽最高支持制式为5G,第三目标卡当前驻留制式为4G。此时说明通过对第三目标卡进行制式版本提升,可能可以进一步地提升终端设备的业务处理能力。For example, suppose that the current resident standard of the fourth target card is 4G, the highest supported standard of the card slot to which the third target card belongs is 5G, and the current resident standard of the third target card is 4G. At this point, it is explained that by upgrading the standard version of the third target card, the service processing capability of the terminal device may be further improved.
S314,若第十五网络制式中存在版本高于第十一网络制式版本的网络制式,则从第十五网络制式中筛选出版本最高的第三目标制式,并获取第三目标制式所属的第七小区网络的第七小区信息,基于第七小区信息对第三目标卡进行网络注册,以使得第三目标卡驻留到第三目标制式中。S314: If there is a network standard with a version higher than that of the eleventh network standard in the fifteenth network standard, the third target standard with the highest version is selected from the fifteenth network standard, and the third target standard to which the third target standard belongs is obtained. For the seventh cell information of the seven-cell network, network registration is performed on the third target card based on the seventh cell information, so that the third target card resides in the third target standard.
S313和S314对应于情况3.2,由第四目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选并切换第三目标卡制式。以提升第三目标卡的制式版本。其中,具体的网络搜索操作和注册入网操作,可以参考S202和S203的相关说明,此处不予赘述。S313 and S314 correspond to situation 3.2, and the network search module corresponding to the card slot to which the fourth target card belongs performs network search, then performs corresponding standard screening and switches the third target card standard. In order to improve the standard version of the third target card. For specific network search operations and network registration operations, please refer to the relevant descriptions of S202 and S203, which will not be repeated here.
对应于情况3.1,若第十二网络制式的版本低于第十四网络制式的版本。例如假设第四目标卡当前驻留制式为5G,第三目标卡所属卡槽最高支持制式亦为5G,第三目标卡当前驻留制式为4G。Corresponding to situation 3.1, if the version of the twelfth network standard is lower than the version of the fourteenth network standard. For example, suppose that the current resident standard of the fourth target card is 5G, the highest supported standard of the card slot to which the third target card belongs is also 5G, and the current resident standard of the third target card is 4G.
此时第四目标卡当前驻留制式即为终端设备可用的最高版本制式。若第四目标卡网络受到影响,会导致终端设备业务处理能力下降。因此作为本申请的一个可选实施例,会优先保障第四目标卡业务正常使用。对第三目标卡驻留制式的版本提升,可由第三目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。或者亦可以不进行制式提升,即不对第三目标卡进行处理。At this time, the current resident standard of the fourth target card is the highest version standard available for the terminal device. If the fourth target card network is affected, the service processing capability of the terminal device will decrease. Therefore, as an optional embodiment of this application, priority will be given to ensuring the normal use of the fourth target card service. To upgrade the version of the third target card resident standard, the network search module corresponding to the card slot to which the third target card belongs can be searched for the network, and then the corresponding standard screening and switching operation can be performed. Or, the system may not be upgraded, that is, the third target card may not be processed.
S315,若第十二网络制式和第十四网络制式的版本相同,获取两张用户识别卡的运营商。S315: If the versions of the twelfth network standard and the fourteenth network standard are the same, obtain the operator of the two user identification cards.
S316,若两张用户识别卡的运营商相同,则利用第四目标卡实时接入的第六小区网络的第六小区信息对第三目标卡进行网络注册,以使得第三目标卡驻留到十四网络制式中。S316: If the operators of the two user identification cards are the same, use the sixth cell information of the sixth cell network that the fourth target card accesses in real time to perform network registration on the third target card, so that the third target card resides in Fourteen network standards.
若两张用户识别卡的运营商不同,且第十二网络制式和第十四网络制式的版本相同。则不对第三目标卡的制式进行切换,或者由第三目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。If the operators of the two user identification cards are different, and the versions of the twelfth network standard and the fourteenth network standard are the same. Then the system of the third target card is not switched, or the network search module corresponding to the card slot to which the third target card belongs is searched for the network, and then the corresponding system screening and switching operation is performed.
此时对应于情况3.3,当两张SIM卡运营商相同,且第四目标卡当前驻留的制式版本(即第十四网络制式)等于第三目标卡支持的最高版本(即第十二网络制式)时,说明第三目标卡最高也只能将制式版本提升至第四目标卡当前驻留的制式版本。因此此时本申请实施例会获取第四目标卡实时接入的小区网络的小区信息(即第六小区网络的第六小区信息),并将小区信息共享给第三目标卡,以使得第三目标卡可以在小区网络中快速注册。进而快速将制式版本提至最高。This corresponds to case 3.3. When the two SIM card operators are the same, and the current standard version of the fourth target card (that is, the fourteenth network standard) is equal to the highest version supported by the third target card (that is, the twelfth network Standard), it means that the third target card can only upgrade the standard version to the current standard version of the fourth target card. Therefore, at this time, the embodiment of the application will obtain the cell information of the cell network that the fourth target card accesses in real time (that is, the sixth cell information of the sixth cell network), and share the cell information with the third target card, so that the third target card The card can be quickly registered in the cell network. And then quickly raise the standard version to the highest.
此时对应于情况3.3,当两张SIM卡运营商不相同,且第四目标卡当前驻留的制式版本等于第三目标卡支持的最高版本时,说明第三目标卡最高能将制式版本提升至第四目标卡当前驻留的制式版本。但由于运营商不同,因此并不能通过共享小区信息的方式实现第三目标卡的网络快速注册。因此在本申请实施例中可以不对第三目标卡的制式进行切换,或者由第三目标卡所属卡槽对应的搜网模块进行网络搜索,再进行对应的制式筛选切换操作。At this time, corresponding to case 3.3, when the two SIM card operators are different, and the current standard version of the fourth target card is equal to the highest version supported by the third target card, it means that the third target card can increase the standard version at most To the current standard version of the fourth target card. However, due to different operators, rapid network registration of the third target card cannot be achieved by sharing cell information. Therefore, in the embodiment of the present application, the standard of the third target card may not be switched, or the network search module corresponding to the card slot to which the third target card belongs may perform network search, and then perform the corresponding standard screening and switching operation.
同时,图2所示实施例相关的一些可选实施例,亦可以结合至本申请实施例进行应用,而不超出本申请的保护范围。具体实施例内容说明可参考图2所示实施例的相关说明,此处不进行过多介绍。At the same time, some optional embodiments related to the embodiment shown in FIG. 2 can also be combined with the embodiments of the present application for application without exceeding the protection scope of the present application. For content descriptions of specific embodiments, reference may be made to related descriptions of the embodiment shown in FIG.
作为本申请的一个可选实施例,考虑到实际情况中终端设备可能是双卡双待单通设备。此时两个卡槽进行业务处理时会共用基带和射频单元,因此单个卡槽的搜网模块进行网络搜索时可能会对另一卡槽内SIM卡正常业务造成一定的影响。因此为了尽可能地减小此影响,保证终端设备业务的正常进行。在本申请实施例中,卡槽对应的搜网模块进行网络搜索操作以及基于小区信息对SIM卡进行网络注册的操作,均会在卡槽内SIM卡为空闲态的情况下进行。即卡槽内SIM卡没有进行数据业务或语音业务状态下,该卡槽才进行网络搜索和注册。此时用户可以正常使用SIM卡业务,而不会感知到本申请实施例中对SIM卡的制式切换过程。As an optional embodiment of the present application, it is considered that the terminal device may be a dual-card dual-standby single-pass device in an actual situation. At this time, the two card slots share the baseband and radio frequency unit when performing service processing. Therefore, the network search module of a single card slot may have a certain impact on the normal service of the SIM card in the other card slot when it performs network search. Therefore, in order to reduce this impact as much as possible, to ensure the normal operation of terminal equipment services. In the embodiment of the present application, the network search operation performed by the network search module corresponding to the card slot and the network registration operation of the SIM card based on the cell information will both be performed when the SIM card in the card slot is in an idle state. That is, when the SIM card in the card slot does not perform data services or voice services, the card slot performs network search and registration. At this time, the user can use the SIM card service normally without perceiving the process of switching the SIM card system in the embodiment of the present application.
作为本申请的一个可选实施例,由于终端设备在网络搜索时,可以根据记录的历史频点来提高搜索的效率和效果。因此为了进一步提升网络搜索对高版本制式的搜索能力,在本申请实施例中会在每次SIM卡成功注册高版本制式的小区网络的同时,将该高版本制式的频点信息和物理小区标识记录至历史频点之中。此后终端设备可以根据历史频点来快速搜索记录的高版本制式。例如,假设将5G频点信息和物理小区标识记录在了历史频点之中,此后在进行网络搜索时,可以优先根据历史频点来进行网络搜索,进而提高了对5G频点的搜索能力。As an optional embodiment of the present application, when the terminal device searches on the network, the search efficiency and effect can be improved according to the recorded historical frequency points. Therefore, in order to further improve the search capability of the network search for the high version standard, in the embodiment of this application, each time the SIM card successfully registers the high version standard cell network, the frequency point information and the physical cell identifier of the high version standard will be Recorded to historical frequency points. After that, the terminal device can quickly search for the recorded high-version format based on the historical frequency. For example, suppose that the 5G frequency point information and the physical cell identifier are recorded in the historical frequency points. Afterwards, when performing network searches, the network search can be performed based on the historical frequency points first, thereby improving the search capability for 5G frequency points.
具体而言,当所需记录的制式为5G制式时,对历史频点的记录包括:Specifically, when the required recording standard is the 5G standard, the recording of historical frequency points includes:
在NSA组网下,读取主卡注册小区的SIB2信息,并将支持NSA的长期演进(long term evolution,LTE)频点和主卡注册小区的物理小区标识,记录到主卡的历史频点中。Under the NSA network, read the SIB2 information of the main card registered cell, and record the long term evolution (LTE) frequency points that support NSA and the physical cell identifier of the main card registered cell to the historical frequency point of the main card middle.
在SA组网下,则读取主卡注册小区的NR系统消息,将NR频点信息加入至历史频点之中。Under SA networking, read the NR system message of the registered cell of the main card, and add the NR frequency point information to the historical frequency point.
作为本申请的一个可选实施例,在历史频点中记录有多种制式的频点数据情况下,可以根据制式版本的高低来对频点数据进行优先级划分。其中,版本越高优先级也越高,即将版本高的制式的频点设置为高级别的优先级。从而使得网络搜索的过程可以根据优先级高低,优先对高版本制式进行网络搜索,提高搜索能力和效率。As an optional embodiment of the present application, in the case where frequency point data of multiple standards are recorded in the historical frequency points, the frequency point data may be prioritized according to the level of the standard version. Among them, the higher the version, the higher the priority, that is, the frequency point of the system with the higher version is set as the high-level priority. In this way, the network search process can be based on the priority level, and the network search for the higher version standard is firstly performed, and the search ability and efficiency are improved.
作为本申请的一个可选实施例,在某一SIM卡完成注册驻留至高版本的制式之后,另一SIM卡所属卡槽的搜网模块则会停止网络搜索,从而恢复另一SIM卡的数据业务和语音业务能力。As an optional embodiment of the present application, after a certain SIM card has completed registration and resides in the higher version of the standard, the network search module of the card slot to which another SIM card belongs will stop network search, thereby restoring the data of the other SIM card Business and voice service capabilities.
本申请实施例中,在两张SIM卡中一张SIM卡的当前驻留制式均低于自身卡槽对应的最高支持制式,另一张SIM卡的当前驻留制式与自身卡槽对应的最高支持制式相同时。通过比较两张SIM卡所属卡槽最高支持制式版本的高低,以判断对SIM卡制式提升的合理途径。利用最高支持制式能力较低的卡槽,来协助最高支持制式版本较高的卡槽进行卡槽内SIM卡制式版本的提升。使得整个制式提升的过程中,用户对终端设备的正常使用得以保障。同时对于主动进行网络搜索的卡槽,还可以仅在卡槽内SIM卡处于空闲态的时候进行网络搜索,从而尽可能地避免了网络搜索对终端设备业务的影响。In the embodiment of this application, the current resident mode of one SIM card in the two SIM cards is lower than the highest supported mode corresponding to its own card slot, and the current resident mode of the other SIM card corresponds to the highest supported mode of its own card slot. When the support system is the same. By comparing the level of the highest supported standard version of the card slots of the two SIM cards, the reasonable way to improve the standard of the SIM card can be judged. Use the card slot with the lower highest support standard capability to assist the card slot with the higher highest support standard version to upgrade the SIM card standard version in the card slot. As a result, the normal use of terminal equipment by users can be guaranteed during the entire system upgrade process. At the same time, for the card slot that actively performs network search, the network search can also be performed only when the SIM card in the card slot is in an idle state, so as to avoid the influence of network search on the terminal device business as much as possible.
对图2所示实施例和图3A、图3B和图3C所示实施例的一些说明:Some descriptions of the embodiment shown in FIG. 2 and the embodiment shown in FIG. 3A, FIG. 3B, and FIG. 3C:
在进行上述实施例的制式版本提升的操作过程中,终端设备内可能会存在以下几种情况,通过检测这些情况的是否发生,可以协助判断图2所示实施例和图3A、图3B和图3C所示实施例制式版本提升的操作是否发生:During the operation of upgrading the standard version of the above embodiment, the following situations may exist in the terminal device. By detecting whether these situations occur, it can assist in determining the embodiment shown in FIG. 2 and FIG. 3A, FIG. 3B, and FIG. Whether the operation of upgrading the standard version of the embodiment shown in 3C occurs:
1、由于网络搜索时需要使用到基带芯片和射频单元,此时终端设备的整体功耗会有所上升。例如可表现为待机电流相对没有进行上述制式版本提升操作时的待机电流会有所提升。1. Since the baseband chip and radio frequency unit are needed for network search, the overall power consumption of the terminal equipment will increase at this time. For example, it can be expressed that the standby current will increase relative to the standby current when the above-mentioned standard version boost operation is not performed.
具体而言,待机电流提升的程度,需根据实际终端设备网络搜索相关的软硬件情况而定。例如实际在一些测试中,测试的终端设备正常待机电流约为8毫安,在利用上述实施例进行制式版本提升的操作过程中,待机电流提升了1毫安左右。此时提升的程度约为10%。Specifically, the degree of standby current increase needs to be determined according to the actual terminal device network search related software and hardware conditions. For example, in some tests, the normal standby current of the tested terminal equipment was about 8 mA. During the operation of upgrading the standard version using the above-mentioned embodiment, the standby current increased by about 1 mA. At this time, the degree of improvement is about 10%.
2、在利用某一卡槽进行网络搜索时,会读取当前环境下小区的系统信息,如MIB消息和SIB消息。当是利用该卡槽网络搜索结果来协助另一卡槽内SIM卡驻留到高版本制式小区时,由于MIB消息和SIB消息等消息中会记录小区信息。因此可以看到制式版本提升的SIM卡最后驻留的小区,是进行网络搜索的卡槽搜索到的小区之一。2. When using a certain card slot for network search, it will read the system information of the cell in the current environment, such as MIB messages and SIB messages. When the card slot network search result is used to assist the SIM card in another card slot to reside in a high-version standard cell, the cell information will be recorded in messages such as MIB messages and SIB messages. Therefore, it can be seen that the last cell where the SIM card with the upgraded standard version resides is one of the cells searched by the card slot for network search.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in the specification and appended claims of this application, the term "comprising" indicates the existence of the described features, wholes, steps, operations, elements and/or components, but does not exclude one or more other The existence or addition of features, wholes, steps, operations, elements, components, and/or collections thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the specification and appended claims of this application refers to any combination of one or more of the items listed in the associated and all possible combinations, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in the description of this application and the appended claims, the term "if" can be construed as "when" or "once" or "in response to determination" or "in response to detecting ". Similarly, the phrase "if determined" or "if detected [described condition or event]" can be interpreted as meaning "once determined" or "in response to determination" or "once detected [described condition or event]" depending on the context ]" or "in response to detection of [condition or event described]".
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。还应理解的是,虽然术语“第一”、“第二”等在文本中在一些本申请实施例中用来描述各种元素,但是这些元素不应该受到这些术语的限制。这些术语只是用来将一个元素与另一元素区分开。例如,第一网络制式可以被命名为第二网络制式,并且类似地,第二网络制式可以被命名为第一网络制式,而不背离各种所描述的实施例的范围。第一网络制式和第二网络制式都是网络制式,但是它们不是指同一网络制式。In addition, in the description of the specification of this application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. It should also be understood that although the terms “first”, “second”, etc. are used in the text in some embodiments of the present application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first network standard can be named the second network standard, and similarly, the second network standard can be named the first network standard without departing from the scope of the various described embodiments. The first network standard and the second network standard are both network standards, but they do not refer to the same network standard.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。The reference to "one embodiment" or "some embodiments" described in the specification of this application means that one or more embodiments of this application include a specific feature, structure, or characteristic described in combination with the embodiment. Therefore, the sentences "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless it is specifically emphasized otherwise. The terms "including", "including", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
本申请实施例提供的基于双卡的网络制式切换方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。The dual-card-based network system switching method provided by the embodiments of the present application can be applied to mobile phones, tablets, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, and notebook computers For terminal devices such as ultra-mobile personal computers (UMPC), netbooks, and personal digital assistants (PDAs), the embodiments of this application do not impose any restrictions on the specific types of terminal devices.
例如,所述终端设备可以是WLAN中的站点(STAION,ST),可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless  local loop,WLL)站、个人数字处理(personal digital assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、车联网终端、电脑、膝上型计算机、手持式通信设备、手持式计算设备、卫星无线设备、无线调制解调器卡、电视机顶盒(set top box,STB)、用户驻地设备(customer premise equipment,CPE)和/或用于在无线系统上进行通信的其它设备以及下一代通信系统,例如,5G网络中的终端设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)网络中的终端设备等。For example, the terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, or a wireless local loop (WLL) station , Personal digital assistant (PDA) devices, handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, car networking terminals, computers, laptop computers, handheld communications Devices, handheld computing devices, satellite wireless devices, wireless modem cards, TV set top boxes (STB), customer premise equipment (CPE), and/or other devices used to communicate on wireless systems, and Next-generation communication systems, for example, terminal equipment in a 5G network or terminal equipment in a public land mobile network (PLMN) network that will evolve in the future.
作为示例而非限定,当所述终端设备为可穿戴设备时,该可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, when the terminal device is a wearable device, the wearable device can also be a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, Watches, clothing and shoes, etc. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be implemented without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to be used in conjunction with other devices such as smart phones. , Such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
图4是本申请一实施例提供的终端设备的结构示意图。如图4所示,该实施例的终端设备4包括:至少一个处理器40(图4中仅示出一个)、存储器41,所述存储器41中存储有可在所述处理器40上运行的计算机程序42。所述处理器40执行所述计算机程序42时实现上述各个基于双卡的网络制式切换方法实施例中的步骤,例如图2所示的步骤200至204,或者图3A、图3B和图3C所示实施例所示的步骤300至315。Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 4, the terminal device 4 of this embodiment includes: at least one processor 40 (only one is shown in FIG. 4), a memory 41, and a memory 41 that can run on the processor 40 is stored in the memory 41. Computer program 42. When the processor 40 executes the computer program 42, the steps in the above-mentioned embodiments of the dual-card-based network system switching method are implemented, such as steps 200 to 204 shown in FIG. 2, or shown in FIG. 3A, FIG. 3B, and FIG. 3C. The steps 300 to 315 shown in the embodiment are shown.
所述终端设备4可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器40、存储器41。本领域技术人员可以理解,图4仅仅是终端设备4的示例,并不构成对终端设备4的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入发送设备、网络接入设备、总线等。The terminal device 4 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art can understand that FIG. 4 is only an example of the terminal device 4, and does not constitute a limitation on the terminal device 4. It may include more or less components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include an input sending device, a network access device, a bus, and the like.
所称处理器40可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 40 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (digital signal processors, DSP), application specific integrated circuits (ASICs), Ready-made field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述存储器41在一些实施例中可以是所述终端设备4的内部存储单元,例如终端设备4的硬盘或内存。所述存储器41也可以是所述终端设备4的外部存储设备,例如所述终端设备4上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,所述存储器41还可以既包括所述终端设备4的内部存储单元也包括外部存储设备。所述存储器41用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器41还可以用于暂时地存储已经发送或者将要发送的数据。The memory 41 may be an internal storage unit of the terminal device 4 in some embodiments, such as a hard disk or memory of the terminal device 4. The memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk equipped on the terminal device 4, a smart media card (SMC), or a secure digital (SD) Card, flash card, etc. Further, the memory 41 may also include both an internal storage unit of the terminal device 4 and an external storage device. The memory 41 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been sent or will be sent.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以 是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be realized.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product. When the computer program product runs on a terminal device, the terminal device can realize the steps in the foregoing method embodiments when the terminal device is executed.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、电载波信号、电信信号以及软件分发介质等。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (read-only memory, ROM) ), random access memory (RAM), electrical carrier signal, telecommunications signal, and software distribution media.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使对应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that the above are only specific implementations of this application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application shall be covered by this application. Within the scope of protection applied for. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (18)

  1. 一种基于双卡的网络制式切换方法,其特征在于,应用于终端设备,所述终端设备内包含一个主卡槽和一个副卡槽,所述方法包括:A method for switching network standards based on dual cards is characterized in that it is applied to a terminal device. The terminal device includes a primary card slot and a secondary card slot, and the method includes:
    获取主用户识别卡实时驻留的第一网络制式,以及所述主卡槽最高支持的第二网络制式;Acquiring the first network standard that the main user identification card resides in real time, and the second network standard that the main card slot supports;
    若所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索;If the version of the first network standard is lower than the version of the second network standard, use the network search module corresponding to the secondary card slot to perform network search;
    从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述主用户识别卡实时驻留的网络制式切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system where the master user identification card resides in real time is switched to the system with the highest version.
  2. 根据权利要求1所述的基于双卡的网络制式切换方法,其特征在于,所述使用所述副卡槽对应的搜网模块进行网络搜索;从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述主用户识别卡实时驻留的网络制式切换至所述版本最高的制式,包括:The method for switching network standards based on dual cards according to claim 1, wherein the network search module corresponding to the secondary card slot is used for network search; the version is filtered out from all standards obtained from the network search The highest standard, and switch the network standard that the master user identification card resides in real time to the highest version standard, including:
    使用所述副卡槽对应的搜网模块进行网络搜索,得到至少一个第一小区网络以及各个所述第一小区网络支持的第三网络制式;Use the network search module corresponding to the secondary card slot to perform network search to obtain at least one first cell network and a third network standard supported by each of the first cell networks;
    若所述第三网络制式中存在版本高于所述第一网络制式版本的制式,则筛选出所述第三网络制式中版本最高的目标网络制式,并获取所述目标网络制式所属的所述第一小区网络的第一小区信息;If there is a standard with a higher version than the first network standard in the third network standard, the target network standard with the highest version in the third network standard is screened out, and the target network standard to which the target network standard belongs is obtained. The first cell information of the first cell network;
    基于所述第一小区信息对所述主用户识别卡进行网络注册,以使得所述主用户识别卡驻留至所述目标网络制式。Perform network registration on the primary user identification card based on the first cell information, so that the primary user identification card resides in the target network standard.
  3. 根据权利要求1或2所述的基于双卡的网络制式切换方法,其特征在于,在所述使用所述副卡槽对应的搜网模块进行网络搜索之前,还包括:The method for switching network standards based on dual cards according to claim 1 or 2, characterized in that, before the network search is performed using the network search module corresponding to the secondary card slot, the method further comprises:
    获取所述终端设备中用户识别卡的数量;Acquiring the number of user identification cards in the terminal device;
    相应的,所述若所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索,包括:Correspondingly, if the version of the first network standard is lower than the version of the second network standard, using the network search module corresponding to the secondary card slot to perform network search includes:
    若所述数量为1,且所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索。If the number is 1, and the version of the first network standard is lower than the version of the second network standard, the network search module corresponding to the secondary card slot is used for network search.
  4. 根据权利要求1或2所述的基于双卡的网络制式切换方法,其特征在于,在所述使用所述副卡槽对应的搜网模块进行网络搜索之前,还包括:The method for switching network standards based on dual cards according to claim 1 or 2, characterized in that, before the network search is performed using the network search module corresponding to the secondary card slot, the method further comprises:
    获取所述终端设备中用户识别卡的数量;Acquiring the number of user identification cards in the terminal device;
    相应的,所述若所述第一网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索,包括:Correspondingly, if the version of the first network standard is lower than the version of the second network standard, using the network search module corresponding to the secondary card slot to perform network search includes:
    若所述数量为2,且所述第一网络制式的版本低于所述第二网络制式的版本,则获取副用户识别卡实时驻留的第四网络制式,以及所述主用户识别卡所属的第一运营商和所述副用户识别卡所属的第二运营商;If the number is 2, and the version of the first network standard is lower than the version of the second network standard, the fourth network standard in which the secondary user identification card resides in real time is acquired, and the primary user identification card belongs to The first operator of and the second operator to which the secondary user identification card belongs;
    若所述第一运营商和所述第二运营商相同,且所述第四网络制式的版本低于所述第二网络制式的版本,则使用所述副卡槽对应的搜网模块进行网络搜索。If the first operator and the second operator are the same, and the version of the fourth network standard is lower than the version of the second network standard, the network search module corresponding to the secondary card slot is used for network search.
  5. 根据权利要求4所述的基于双卡的网络制式切换方法,其特征在于,还包括:The method for switching network standards based on dual cards according to claim 4, further comprising:
    若所述第一运营商和所述第二运营商相同,且所述第四网络制式与所述第二网络 制式的版本相同,则获取所述副用户识别卡实时接入的第二小区网络的第二小区信息;If the first operator and the second operator are the same, and the fourth network standard is the same as the version of the second network standard, acquire the second cell network that the secondary user identification card has real-time access to ’S second cell information;
    基于所述第二小区信息对所述主用户识别卡进行网络注册,以使得所述用户识别卡驻留到所述第四网络制式中。Perform network registration on the primary subscriber identity card based on the second cell information, so that the subscriber identity card resides in the fourth network standard.
  6. 根据权利要求4所述的基于双卡的网络制式切换方法,其特征在于,若所述第一运营商和所述第二运营商不同,则使用所述副卡槽对应的搜网模块进行网络搜索。The method for switching network standards based on dual cards according to claim 4, wherein if the first operator and the second operator are different, the network search module corresponding to the secondary card slot is used to perform the network search.
  7. 根据权利要求1至6任意一项所述的基于双卡的网络制式切换方法,其特征在于,在所述获取主用户识别卡实时驻留的第一网络制式,以及所述主卡槽最高支持的第二网络制式之前,还包括:The method for switching network standards based on dual cards according to any one of claims 1 to 6, characterized in that the first network standard in which the master user identification card resides in real time is acquired, and the main card slot supports up to Before the second network standard, it also includes:
    若检测到所述主用户识别卡在语音业务过程中出现制式回落,则在所述语音业务结束时,执行所述获取主用户识别卡实时驻留的第一网络制式,以及所述主卡槽最高支持的第二网络制式的操作。If it is detected that the main user identification card has a standard fall during the voice service process, when the voice service ends, the first network standard for acquiring the real-time residency of the main user identification card and the main card slot are executed. The operation of the highest supported second network standard.
  8. 根据权利要求1至7任意一项所述的基于双卡的网络制式切换方法,其特征在于,所述终端设备为双卡双待单通的设备,所述使用所述副卡槽对应的搜网模块进行网络搜索,包括:The dual-card-based network system switching method according to any one of claims 1 to 7, wherein the terminal device is a dual-card dual-standby single-pass device, and the search device corresponding to the secondary card slot is used. The network module performs network search, including:
    获取所述主用户识别卡的业务状态,若所述业务状态为空闲态,则使用所述副卡槽对应的搜网模块进行网络搜索。The service status of the primary user identification card is acquired, and if the service status is idle, the network search module corresponding to the secondary card slot is used to perform network search.
  9. 一种基于双卡的网络制式切换方法,其特征在于,应用于终端设备,所述终端设备内包含两个卡槽,所述方法包括:A method for switching network standards based on dual cards is characterized in that it is applied to a terminal device, the terminal device contains two card slots, and the method includes:
    检测所述两个卡槽内插入的用户识别卡;Detecting the user identification cards inserted in the two card slots;
    若所述两个卡槽内仅插入一张用户识别卡,则获取该已插入的用户识别卡实时驻留的第五网络制式,以及该已插入的用户识别卡所属卡槽最高支持的第六网络制式;If only one user identification card is inserted into the two card slots, the fifth network standard that the inserted user identification card resides in real time and the sixth highest supported sixth network standard of the inserted user identification card are obtained. Network standard;
    若所述第五网络制式的版本低于所述第六网络制式的版本,则使用所述两个卡槽中未插入用户识别卡的卡槽对应的搜网模块进行网络搜索;If the version of the fifth network standard is lower than the version of the sixth network standard, use the network search module corresponding to the card slot where the user identification card is not inserted in the two card slots to perform network search;
    从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将该已插入的用户识别卡实时驻留的网络制式,切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system in which the inserted user identification card resides in real time is switched to the system with the highest version.
  10. 根据权利要求9所述的基于双卡的网络制式切换方法,其特征在于,所述使用所述两个卡槽中未插入用户识别卡的卡槽对应的搜网模块进行网络搜索;从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将该已插入的用户识别卡实时驻留的网络制式,切换至所述版本最高的制式,包括:The method for switching network standards based on dual cards according to claim 9, wherein the network search module corresponding to the card slot in which the user identification card is not inserted in the two card slots is used for network search; From all the systems obtained from the network search, the system with the highest version is selected, and the network system where the inserted user identification card resides in real time is switched to the system with the highest version, including:
    使用所述两个卡槽中未插入用户识别卡的卡槽对应的搜网模块进行网络搜索,得到至少一个第三小区网络以及各个第三小区网络支持的第七网络制式;Use the network search module corresponding to the card slot in which the user identification card is not inserted in the two card slots to perform a network search to obtain at least one third cell network and a seventh network standard supported by each third cell network;
    若所述第七网络制式中存在版本高于所述第五网络制式版本的制式,则筛选出所述第七网络制式中版本最高的第一目标制式,并获取第一目标制式所属的第三小区网络的第三小区信息;If there is a system with a version higher than the version of the fifth network standard in the seventh network standard, the first target standard with the highest version in the seventh network standard is filtered out, and the third target standard to which the first target standard belongs is obtained. The third cell information of the cell network;
    基于所述第三小区信息对该已插入的用户识别卡进行网络注册,以使得该已插入的用户识别卡驻留到第一目标制式中。Perform network registration on the inserted user identification card based on the third cell information, so that the inserted user identification card resides in the first target standard.
  11. 一种基于双卡的网络制式切换方法,其特征在于,应用于终端设备,所述终端设备内包含两个卡槽,所述方法包括:A method for switching network standards based on dual cards is characterized in that it is applied to a terminal device, the terminal device contains two card slots, and the method includes:
    检测所述两个卡槽内插入的用户识别卡;Detecting the user identification cards inserted in the two card slots;
    若所述两个卡槽内均插入了用户识别卡,且两张用户识别卡实时驻留的网络制式版本,均低于各自所属卡槽最高支持的网络制式版本,则获取两张用户识别卡的业务状态;If both user identification cards are inserted in the two card slots, and the network standard versions of the two user identification cards that reside in real time are both lower than the highest supported network standard version of the respective card slots, then two user identification cards are obtained Business status;
    若两张用户识别卡中存在业务状态为连接态的第一目标卡,以及业务状态为空闲态的第二目标卡,利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索;If there are a first target card whose service state is in a connected state and a second target card whose service state is in an idle state among the two user identification cards, use the network search module corresponding to the card slot to which the second target card belongs to perform network search;
    从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述第一目标卡实时驻留的网络制式,切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system where the first target card resides in real time is switched to the system with the highest version.
  12. 根据权利要求11所述的基于双卡的网络制式切换方法,其特征在于,将所述第一目标卡所属卡槽最高支持的网络制式作为第九网络制式,所述第二目标卡实时驻留的网络制式作为第十网络制式;The method for switching network standards based on dual cards according to claim 11, wherein the highest network standard supported by the card slot to which the first target card belongs is taken as the ninth network standard, and the second target card resides in real time. As the tenth network standard;
    在所述利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索之前,还包括:Before the network search is performed by using the network search module corresponding to the card slot to which the second target card belongs, the method further includes:
    获取所述第一目标卡的第三运营商和所述第二目标卡的第四运营商;A third operator of the first target card and a fourth operator of the second target card;
    若所述第三运营商和所述第四运营商相同,且所述第十网络制式的版本低于所述第九网络制式的版本,则执行所述利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索的操作;或者If the third operator and the fourth operator are the same, and the version of the tenth network standard is lower than the version of the ninth network standard, execute the use of the slot to which the second target card belongs The corresponding network search module performs network search operations; or
    若所述第三运营商和所述第四运营商不同,则执行所述利用所述第二目标卡所属卡槽对应的搜网模块进行网络搜索的操作。If the third operator and the fourth operator are different, perform the operation of using the network search module corresponding to the card slot to which the second target card belongs to perform network search.
  13. 根据权利要求12所述的基于双卡的网络制式切换方法,其特征在于,所述方法还包括:The method for switching network standards based on dual cards according to claim 12, wherein the method further comprises:
    若所述第三运营商和所述第四运营商相同,且所述第十网络制式与所述第九网络制式版本相同,则获取所述第二目标卡实时接入的第四小区网络的第四小区信息,并基于所述第四小区信息对所述第一目标卡进行网络注册,以使得所述第一目标卡驻留到所述第十网络制式中。If the third operator and the fourth operator are the same, and the tenth network standard is the same as the ninth network standard version, obtain the real-time access to the fourth cell network of the second target card Fourth cell information, and network registration is performed on the first target card based on the fourth cell information, so that the first target card resides in the tenth network standard.
  14. 一种基于双卡的网络制式切换方法,其特征在于,应用于终端设备,所述终端设备内包含两个卡槽,所述方法包括:A method for switching network standards based on dual cards is characterized in that it is applied to a terminal device, the terminal device contains two card slots, and the method includes:
    检测所述两个卡槽内插入的用户识别卡;Detecting the user identification cards inserted in the two card slots;
    若所述两个卡槽内均插入了用户识别卡,且两张用户识别卡中,存在实时驻留的第十一网络制式的版本低于自身所属卡槽最高支持的第十二网络制式版本的第三目标卡,以及实时驻留的第十三网络制式与自身所属卡槽最高支持的第十四网络制式版本相同的第四目标卡,则比较所述第十二网络制式和所述第十四网络制式的版本高低;If user identification cards are inserted in both of the two card slots, and in the two user identification cards, the version of the eleventh network standard that resides in real time is lower than the version of the twelfth network standard supported by the card slot to which it belongs And the fourth target card that has the same thirteenth network standard and the fourteenth network standard version supported by its own card slot in real time, then compare the twelfth network standard with the fourth target card. Fourteen network standard version level;
    若所述第十二网络制式的版本高于所述第十四网络制式的版本,则使用第四目标卡所属卡槽对应的搜网模块进行网络搜索;If the version of the twelfth network standard is higher than the version of the fourteenth network standard, use the network search module corresponding to the card slot to which the fourth target card belongs to perform network search;
    从所述网络搜索得到的所有制式中筛选出版本最高的制式,并将所述第三目标卡实时驻留的网络制式,切换至所述版本最高的制式。The system with the highest version is selected from all the systems obtained from the network search, and the network system where the third target card resides in real time is switched to the system with the highest version.
  15. 根据权利要求14所述的基于双卡的网络制式切换方法,其特征在于,还包括:The method for switching network standards based on dual cards according to claim 14, further comprising:
    若所述第十二网络制式和所述第十四网络制式的版本相同,识别两张用户识别卡所属的运营商;If the versions of the twelfth network standard and the fourteenth network standard are the same, identify the operators to which the two user identification cards belong;
    若两张用户识别卡的运营商相同,则利用所述第四目标卡实时接入的第六小区网络的第六小区信息对所述第三目标卡进行网络注册,以使得所述第三目标卡驻留至所 述第十四网络制式。If the operators of the two subscriber identification cards are the same, use the sixth cell information of the sixth cell network that the fourth target card accesses in real time to perform network registration on the third target card, so that the third target The card resides in the fourteenth network standard.
  16. 根据权利要求9、权利要求11和权利要求14中任意一项所述的基于双卡的网络制式切换方法,其特征在于,在所述检测所述两个卡槽内插入的用户识别卡之前,还包括:The method for switching network standards based on dual cards according to any one of claim 9, claim 11, and claim 14, characterized in that, before said detecting the user identification cards inserted in the two card slots, Also includes:
    若检测到有用户识别卡在语音业务过程中出现制式回落,则在所述语音业务结束时,执行所述检测所述两个卡槽内插入的用户识别卡的操作。If it is detected that a user identification card has a standard fall during the voice service process, the operation of detecting the user identification cards inserted in the two card slots is performed when the voice service ends.
  17. 一种终端设备,其特征在于,所述终端设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至8任一项所述方法的步骤,或者权利要求9至10任一项所述方法的步骤,或者权利要求11至13任一项所述方法的步骤,或者权利要求14至15任一项所述方法的步骤。A terminal device, characterized in that the terminal device includes a memory and a processor, and a computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the The steps of the method according to any one of claims 1 to 8, or the steps of the method according to any one of claims 9 to 10, or the steps of the method according to any one of claims 11 to 13, or any of claims 14 to 15. One of the steps of the described method.
  18. 一种芯片系统,其特征在于,所述芯片系统包括存储器和处理器,所述处理器执行所述存储器中存储的计算机程序,以实现如权利要求1至8任一项所述方法的步骤,或者权利要求9至10任一项所述方法的步骤,或者权利要求11至13任一项所述方法的步骤,或者权利要求14至15任一项所述方法的步骤。A chip system, wherein the chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the steps of the method according to any one of claims 1 to 8, Or the steps of the method according to any one of claims 9 to 10, or the steps of the method according to any one of claims 11 to 13, or the steps of the method according to any one of claims 14 to 15.
PCT/CN2021/082276 2020-04-30 2021-03-23 Dual-card-based network type switching method and terminal device WO2021218494A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010364855.8A CN113596810B (en) 2020-04-30 2020-04-30 Network system switching method based on double cards and terminal equipment
CN202010364855.8 2020-04-30

Publications (1)

Publication Number Publication Date
WO2021218494A1 true WO2021218494A1 (en) 2021-11-04

Family

ID=78237550

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082276 WO2021218494A1 (en) 2020-04-30 2021-03-23 Dual-card-based network type switching method and terminal device

Country Status (2)

Country Link
CN (1) CN113596810B (en)
WO (1) WO2021218494A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125739A (en) * 2021-11-15 2022-03-01 维沃移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN114466422A (en) * 2022-04-11 2022-05-10 深圳小米通讯技术有限公司 Cell access method, device, terminal equipment and storage medium
CN114885000A (en) * 2022-04-08 2022-08-09 中交信通网络科技有限公司 Control device of multi-system integrated internet of things card
CN115002878A (en) * 2022-06-02 2022-09-02 青岛海信移动通信技术股份有限公司 Method, device and equipment for locking network system and frequency band
CN115278650A (en) * 2022-07-14 2022-11-01 哲库科技(北京)有限公司 System transmission method, device, terminal equipment, chip and storage medium
CN116056177A (en) * 2022-08-10 2023-05-02 荣耀终端有限公司 Network type switching method and communication equipment
CN116320152A (en) * 2023-05-24 2023-06-23 荣耀终端有限公司 Processing method, terminal and chip system for receiving incoming call in conference
CN117135614A (en) * 2023-03-31 2023-11-28 荣耀终端有限公司 Main and auxiliary card switching method and electronic equipment
CN115002878B (en) * 2022-06-02 2024-06-07 青岛海信移动通信技术有限公司 Method, device and equipment for locking network system and frequency band

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827985A (en) * 2022-04-14 2022-07-29 Oppo广东移动通信有限公司 Method for improving high-standard cell network residence rate, terminal equipment and storage medium
CN115243247B (en) * 2022-08-09 2023-10-31 Oppo广东移动通信有限公司 Network searching control method and related device
CN115915105B (en) * 2022-11-29 2023-07-04 优游宝科技(深圳)有限公司 Method and system for monitoring mobile data flow of esim card based on intelligent algorithm
CN117135721A (en) * 2023-02-20 2023-11-28 荣耀终端有限公司 Network access method and terminal equipment
CN116782234B (en) * 2023-08-23 2023-11-21 荣耀终端有限公司 WiFi connection method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828400A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Method for switching high-standard network, terminal, and server
US20180132289A1 (en) * 2016-11-08 2018-05-10 Qualcomm Incorporated Systems and Methods for Improving Support for Data-Oriented Services in a Multi-Subscriber Identity Module (SIM) Wireless Communication Device Having a Designated Data Subscription (DDS)
CN109474965A (en) * 2018-11-28 2019-03-15 维沃移动通信有限公司 A kind of method for switching network and terminal device
WO2019183792A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Method for returning to high-standard network from low-standard network, and communication apparatus
CN110677890A (en) * 2019-12-03 2020-01-10 翱捷科技(上海)有限公司 Multi-card multi-4G mobile terminal and network reselection method thereof
CN110708730A (en) * 2019-09-18 2020-01-17 翱捷科技(上海)有限公司 Multi-mode multi-card mobile terminal and mobility management method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102421156B (en) * 2011-08-05 2015-07-08 展讯通信(上海)有限公司 Multi-card multi-standby mobile terminal and communication method thereof
CN103052138A (en) * 2011-09-02 2013-04-17 联发科技(新加坡)私人有限公司 Network-searching method and device for multimode UE (user equipment)
CN105828316B (en) * 2015-07-30 2019-07-26 维沃移动通信有限公司 A kind of method and mobile terminal being adapted to client identification module card
CN106488536A (en) * 2015-08-31 2017-03-08 展讯通信(上海)有限公司 Multi-card multi-standby terminal and its method realizing speech business
CN105898805A (en) * 2015-12-15 2016-08-24 乐视移动智能信息技术(北京)有限公司 Network switching method and terminal
CN107734496B (en) * 2017-10-27 2021-05-28 深圳市万普拉斯科技有限公司 Network searching control method and device of mobile terminal and mobile terminal
CN108632930B (en) * 2018-05-04 2020-11-06 奇酷互联网络科技(深圳)有限公司 Network searching control method and device and mobile terminal
CN109548114A (en) * 2018-10-24 2019-03-29 努比亚技术有限公司 Public land mobile network cut-in method, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828400A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Method for switching high-standard network, terminal, and server
US20180132289A1 (en) * 2016-11-08 2018-05-10 Qualcomm Incorporated Systems and Methods for Improving Support for Data-Oriented Services in a Multi-Subscriber Identity Module (SIM) Wireless Communication Device Having a Designated Data Subscription (DDS)
WO2019183792A1 (en) * 2018-03-27 2019-10-03 华为技术有限公司 Method for returning to high-standard network from low-standard network, and communication apparatus
CN109474965A (en) * 2018-11-28 2019-03-15 维沃移动通信有限公司 A kind of method for switching network and terminal device
CN110708730A (en) * 2019-09-18 2020-01-17 翱捷科技(上海)有限公司 Multi-mode multi-card mobile terminal and mobility management method thereof
CN110677890A (en) * 2019-12-03 2020-01-10 翱捷科技(上海)有限公司 Multi-card multi-4G mobile terminal and network reselection method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125739A (en) * 2021-11-15 2022-03-01 维沃移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN114125739B (en) * 2021-11-15 2023-09-26 维沃移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN114885000A (en) * 2022-04-08 2022-08-09 中交信通网络科技有限公司 Control device of multi-system integrated internet of things card
CN114466422A (en) * 2022-04-11 2022-05-10 深圳小米通讯技术有限公司 Cell access method, device, terminal equipment and storage medium
CN115002878A (en) * 2022-06-02 2022-09-02 青岛海信移动通信技术股份有限公司 Method, device and equipment for locking network system and frequency band
CN115002878B (en) * 2022-06-02 2024-06-07 青岛海信移动通信技术有限公司 Method, device and equipment for locking network system and frequency band
CN115278650A (en) * 2022-07-14 2022-11-01 哲库科技(北京)有限公司 System transmission method, device, terminal equipment, chip and storage medium
CN116056177A (en) * 2022-08-10 2023-05-02 荣耀终端有限公司 Network type switching method and communication equipment
CN116056177B (en) * 2022-08-10 2023-11-17 荣耀终端有限公司 Network type switching method and communication equipment
CN117135614A (en) * 2023-03-31 2023-11-28 荣耀终端有限公司 Main and auxiliary card switching method and electronic equipment
CN116320152A (en) * 2023-05-24 2023-06-23 荣耀终端有限公司 Processing method, terminal and chip system for receiving incoming call in conference
CN116320152B (en) * 2023-05-24 2023-10-20 荣耀终端有限公司 Processing method, terminal and chip system for receiving incoming call in conference

Also Published As

Publication number Publication date
CN113596810B (en) 2022-10-11
CN113596810A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
WO2021218494A1 (en) Dual-card-based network type switching method and terminal device
US11947974B2 (en) Application start method and electronic device
WO2020108356A1 (en) Application display method and electronic device
WO2020000448A1 (en) Flexible screen display method and terminal
WO2021017901A1 (en) Screen display method and electronic device
WO2020259529A1 (en) Indoor location method and electronic device
WO2021052223A1 (en) Method for quickly entering application, and folding screen electronic device
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
CN113805797B (en) Processing method of network resource, electronic equipment and computer readable storage medium
WO2020168578A1 (en) Network searching method, and terminal device
CN116431044A (en) Method and device for starting application program and terminal equipment
CN114741039A (en) Device control method and terminal device
WO2023051094A1 (en) Memory recovery method and apparatus, electronic device, and readable storage medium
US20230087282A1 (en) Dual wi-fi connection method and electronic device
WO2021238376A1 (en) Function pack loading method and apparatus, and server and electronic device
CN115794272B (en) Display method and electronic equipment
WO2024083114A1 (en) Software distribution method, electronic device, and system
CN116033333B (en) Method for determining position information, electronic device and readable storage medium
CN115767602B (en) Automatic error correction method for equipment protocol subsystem abnormality and electronic equipment
CN116662150B (en) Application starting time-consuming detection method and related device
CN116700813B (en) Method for loading widget, electronic device and readable storage medium
WO2023160217A1 (en) Method for detecting embedded subscriber identity module (esim) card, and terminal device
WO2023103974A1 (en) Content collaboration method, electronic device, and computer readable storage medium
WO2024017332A1 (en) Method for controlling component, and related apparatus
WO2023207890A1 (en) Interface display method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21795937

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21795937

Country of ref document: EP

Kind code of ref document: A1