Network access method and terminal device

By configuring the primary card and secondary card in the terminal device and adjusting the search strategy based on network load and historical frequency information, the problem of long frequency search time after the secondary card is disconnected is solved, achieving rapid network recovery and improving user experience.

WO2024174658A1PCT designated stage expired Publication Date: 2024-08-29HONOR DEVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/136082
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-20
Filing Date
2023-12-04
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing terminal equipment takes a long time to search for frequency points after the secondary card is disconnected from the network, causing the secondary card to be disconnected from the network for a long time without recovery, affecting the user experience.

Method used

By configuring the primary card and secondary card in the terminal device, the number and order of search frequency points are dynamically adjusted according to the network load of the primary card and historical frequency point information. The historical frequency points are searched first, and then the full-band frequency points are searched to improve search results. efficiency.

Benefits of technology

This shortens the time for the secondary card to restore the network, improves user experience, and ensures that terminal devices can quickly reconnect to the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023136082_29082024_PF_FP_ABST
    Figure CN2023136082_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a network access method and a terminal device. The method is applied to a terminal device, wherein the terminal device is configured with a first subscriber identity module card and a second subscriber identity module card. The method comprises: when it is determined that a first subscriber identity module card is disconnected from a network, triggering a network search instruction; in response to the network search instruction, according to the current operation network speed of a target application, searching for frequency points supported by the first subscriber identity module card, and according to the order of historical frequency points followed by full-band frequency points, searching for frequency points in a network system supported by the first subscriber identity module card, so as to obtain a found first frequency point; and performing network registration on the first subscriber identity module card according to the first frequency point, so that the first subscriber identity module card accesses the network. Thus, by increasing the speed of searching for frequency points, the present application ensures that a first subscriber identity module card restores network access as soon as possible, thereby improving the usage experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

Network access method and terminal equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 20, 2023, with application number 2023101664028 and application name “Network Access Method and Terminal Equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application belongs to the field of terminal technology, and in particular relates to a network access method and terminal equipment. Background Art

[0003] After the subscriber identity module (SIM) card in the terminal device is disconnected from the network, it needs to search for a wireless network to ensure that the terminal device can communicate and transmit data normally.

[0004] Currently, for terminal devices that support dual SIM cards, after the secondary card is disconnected from the network, the terminal device can use three methods to complete the network search for the secondary card. In the first method, the frequency search capability of the modem chip corresponding to the secondary card is reduced so that only one frequency is searched at a time to ensure the throughput rate of the main card. In the second method, the frequency band is not cropped, and the frequency is searched within the full frequency band supported by the secondary card according to the network search protocol. In the third method, the frequency of the full frequency band supported by the secondary card is directly searched. As a result, the terminal device registers with the network according to the searched frequency, allowing the secondary card to reconnect to the network.

[0005] However, the above methods are not easy for the terminal device to quickly complete the network search, resulting in the secondary card being disconnected from the network for a long time without recovery, affecting the user experience.

[0006] Summary of the Invention

[0007] The present application provides a network access method and terminal device, which improves the speed at which a secondary card can restore the network.

[0008] In a first aspect, the present application provides a network access method, which is applied to a terminal device, wherein the terminal device is configured with a first user identification module card and a second user identification module card; the method comprises:

[0009] When it is determined that the first subscriber identification module card is disconnected from the network, a network search instruction is triggered; in response to the network search instruction, a frequency point supported by the first subscriber identification module card is searched according to the current network speed of the target application, and a first frequency point is obtained, and the target application runs under the network provided by the second subscriber identification module card; and network registration is performed on the first subscriber identification module card according to the first frequency point, so that the first subscriber identification module card is connected to the network.

[0010] In the above method, when it is determined that the first SIM card is disconnected from the network, a network search instruction may be triggered, thereby preparing the terminal device to perform a network search based on the search instruction.

[0011] After triggering the network search instruction, the network load of the second user identification module card can be determined according to the current running network speed of the target application in response to the network search instruction, so that the terminal device can quickly complete the search for the frequency supported by the first user identification module card according to the network load of the second user identification module card.

[0012] In addition, the first SIM card can be registered on the network according to the first frequency point, which can ensure that the first SIM card can recover the network as soon as possible, thereby improving the user experience.

[0013] In conjunction with the first aspect, in certain implementations of the first aspect, in response to the network search instruction, searching for a frequency supported by the first subscriber identity module card according to the current running network speed of the target application, and obtaining the searched first frequency includes:

[0014] In response to a network search instruction, an application running on a network provided by a second user identification module card in a terminal device is determined; when the application belongs to an application whitelist, the application is determined as a target application, and the maximum operating network speed of each application in the application whitelist is greater than or equal to a preset threshold; based on the current operating network speed of the target application and multiple network speed thresholds associated with the target application, the number of frequency points to be searched is determined, and each application in the application whitelist is associated with multiple network speed thresholds, and the multiple network speed thresholds are determined based on the maximum operating network speed of each application; based on the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

[0015] In the above method, the application running on the network provided by the second SIM card in the terminal device can be determined. When the application belongs to the application whitelist, the maximum running network speed of the application can be determined to be greater than or equal to the preset threshold.

[0016] Thus, the terminal device can determine the application as the target application, and determine the number of frequency points to be searched based on the comparison results of the current running network speed of the target application with multiple network speed thresholds associated with the target application, so as to obtain an accurate number of frequency points to be searched that is conducive to improving the network search speed.

[0017] In conjunction with the first aspect, in certain implementations of the first aspect, when the total number of frequencies supported by the first subscriber identity module card is one greater than the number of multiple network speed thresholds, and the total number is related to the maximum frequency search capability supported by the modem chip corresponding to the first subscriber identity module in the terminal device, determining the number of frequencies to be searched based on the current operating network speed of the target application and the multiple network speed thresholds associated with the target application includes:

[0018] The current running network speed of the target application is compared with multiple network speed thresholds associated with the target application to obtain a comparison result; when the comparison result indicates that the current running network speed of the target application is greater than the maximum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be 1; when the comparison result indicates that the current running network speed of the target application is less than or equal to the second smallest network speed threshold among the multiple network speed thresholds, and greater than the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the number of multiple network speed thresholds; when the comparison result indicates that the current running network speed of the target application is less than or equal to the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the total number.

[0019] In the above method, after determining the target application, the current running network speed of the target application can be compared with multiple network speed thresholds associated with the target application to obtain comparison results, so as to facilitate determining the load level of the second user identification module card based on the comparison results. Therefore, the number of frequency points to be searched can be dynamically adjusted according to the load level of the second user identification module card.

[0020] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0021] When there is no application in the terminal device that runs on the network provided by the second user identification module card, or the application does not belong to the application whitelist, the number of frequencies to be searched is determined to be the total number of frequencies supported by the first user identification module card, and the total number is related to the maximum frequency search capability that can be supported by the modem chip corresponding to the first user identification module in the terminal device.

[0022] In the above method, if there is no application running on the network provided by the second SIM card in the terminal device, and the application does not belong to the application whitelist, the terminal device can determine that the load of the second SIM card is low.

[0023] Therefore, according to the low load of the second SIM card, the number of frequencies to be searched can be determined to be the total number of frequencies supported by the first SIM card.

[0024] In this way, it is convenient to search the total number of frequencies supported by the first subscriber identity module card at one time, thereby improving the efficiency of the terminal device in searching for frequencies and ensuring that the terminal device can restore the network as soon as possible.

[0025] In conjunction with the first aspect, in certain implementations of the first aspect, before triggering the network search instruction when determining that the first subscriber identity module card is disconnected from the network, the method further includes:

[0026] The terminal equipment equipped with the first subscriber identification module card and the second subscriber identification module card is controlled to start; and the first subscriber identification module card and the second subscriber identification module card are respectively registered on the network.

[0027] In the above method, after the terminal device equipped with the first and second SIM cards is started, the first and second SIM cards are respectively registered with the network to facilitate access to the network.

[0028] In a second aspect, the present application provides a network access method, which is applied to a terminal device, wherein the terminal device is configured with a first user identification module card and a second user identification module card; the method comprises:

[0029] When it is determined that the first subscriber identification module card is disconnected from the network, a network search instruction is triggered; in response to the network search instruction, a search is performed for frequencies under a network standard supported by the first subscriber identification module card in the order of first historical frequencies and then frequencies of the entire frequency band, to obtain a searched first frequency; and network registration is performed on the first subscriber identification module card according to the first frequency, so that the first subscriber identification module card is connected to the network.

[0030] In the above method, in response to a network search instruction, the frequency points can be quickly searched in the order of historical frequency points first and then frequency points of the entire frequency band.

[0031] In other words, by searching historical frequency points first and then searching frequency points in the entire frequency band, the time for searching frequency points can be shortened as much as possible and the efficiency of searching frequency points can be improved.

[0032] In conjunction with the second aspect, in certain implementations of the second aspect, in response to the network search instruction, searching for frequencies under the network standard supported by the first user identification module card according to the order of first historical frequencies and then frequencies of the full frequency band, and obtaining the searched first frequency, including:

[0033] In response to the network search instruction, a historical frequency point under the fifth generation mobile communication technology network standard is searched; when the historical frequency point under the fifth generation mobile communication technology network standard is searched, the historical frequency point under the fifth generation mobile communication technology network standard is determined as the first frequency point.

[0034] In the above method, when there are historical frequency points under the fifth-generation mobile communication technology network standard and the historical frequency points under the fifth-generation mobile communication technology network standard are searched, the historical frequency points under the fifth-generation mobile communication technology network standard can be directly determined as the first frequency point, thereby improving the efficiency of searching for frequencies, saving the time of searching for frequencies, and ensuring that the user's terminal equipment can restore the network as soon as possible.

[0035] In conjunction with the second aspect, in certain implementations of the second aspect, the method further includes:

[0036] When there is no historical frequency point under the fifth-generation mobile communication technology network standard or the historical frequency point under the fifth-generation mobile communication technology network standard is not searched, the historical frequency point under the fourth-generation mobile communication technology network standard is searched; when the historical frequency point under the fourth-generation mobile communication technology network standard is searched, the historical frequency point under the fourth-generation mobile communication technology network standard is determined as the first frequency point.

[0037] In the above method, when there is no historical frequency point under the fifth-generation mobile communication technology network standard or the historical frequency point under the fifth-generation mobile communication technology network standard is not searched, it is also possible to search for the historical frequency point under the fourth-generation mobile communication technology network standard corresponding to the frequency point that is one level lower than the new air interface frequency point, and determine the historical frequency point under the fourth-generation mobile communication technology network standard as the first frequency point, thereby improving the efficiency of searching for frequencies and saving the time of searching for frequencies, so that when the terminal device fails to search for the frequency point of the highest network standard, it can also search for the frequency point that is one level lower than the highest network standard, thereby ensuring that the user's terminal device can restore the network as soon as possible.

[0038] In conjunction with the second aspect, in certain implementations of the second aspect, the method further includes:

[0039] When there are no historical frequency points under the fourth-generation mobile communication technology network standard or the historical frequency points under the fourth-generation mobile communication technology network standard are not searched, the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched; when the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched, the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are determined as the first frequency points.

[0040] In the above method, when the historical frequency points of the high network standard cannot be searched, the frequency points of the full frequency band of the low network standard can be searched, thereby shortening the search time as much as possible, improving the efficiency of the search, and ensuring that the user's terminal equipment can restore the network faster.

[0041] In conjunction with the second aspect, in certain implementations of the second aspect, the method further includes:

[0042] When the full-band frequency points under the fifth-generation mobile communication technology network standard are not searched, the full-band frequency points under the fourth-generation mobile communication technology network standard are searched; when the full-band frequency points under the fourth-generation mobile communication technology network standard are searched, the full-band frequency points under the fourth-generation mobile communication technology network standard are determined as the first frequency points.

[0043] In the above method, when the full-band frequency of the highest network standard cannot be searched, the frequency of the full-band of the network standard one level lower than the highest network standard can be searched to shorten the search time as much as possible and improve the efficiency of the search.

[0044] In conjunction with the second aspect, in certain implementations of the second aspect, the method further includes:

[0045] When the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard are not searched, the frequency points of the network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology are searched; the frequency points of the searched network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology are determined as the first frequency points.

[0046] In the above method, when the terminal device cannot search for the frequency of the high network standard, it can also search for the frequency of the low network standard, so as to ensure that the terminal device searches for the frequency as much as possible and restore the network.

[0047] In conjunction with the second aspect, in certain implementations of the second aspect, before triggering the network search instruction when determining that the first subscriber identity module card is disconnected from the network, the method further includes:

[0048] The terminal equipment equipped with the first subscriber identification module card and the second subscriber identification module card is controlled to start; and the first subscriber identification module card and the second subscriber identification module card are respectively registered on the network.

[0049] In a third aspect, the present application provides a network access device, which is applied to a terminal device, and the terminal device is configured with a first user identification module card and a second user identification module card; the network access device is used to execute the network access method in the first aspect and any possible design of the first aspect.

[0050] Specifically, the network access device includes: a trigger module, a search module, and a registration module.

[0051] A trigger module, configured to trigger a network search instruction when determining that the first subscriber identity module card is disconnected from the network;

[0052] A search module is configured to respond to a network search instruction and search for frequencies supported by the first subscriber identity module card according to the current network speed of the target application, obtain the searched first frequency, and run the target application under the network provided by the second subscriber identity module card;

[0053] The registration module is used to perform network registration on the first subscriber identification module card according to the first frequency point, so that the first subscriber identification module card can access the network.

[0054] In conjunction with the first aspect, in certain implementations of the first aspect, the search module is specifically configured to:

[0055] In response to a network search instruction, an application running on a network provided by a second user identification module card in a terminal device is determined; when the application belongs to an application whitelist, the application is determined as a target application, and the maximum operating network speed of each application in the application whitelist is greater than or equal to a preset threshold; based on the current operating network speed of the target application and multiple network speed thresholds associated with the target application, the number of frequency points to be searched is determined, and each application in the application whitelist is associated with multiple network speed thresholds, and the multiple network speed thresholds are determined based on the maximum operating network speed of each application; based on the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

[0056] In conjunction with the third aspect, in certain implementations of the third aspect, when the total number of frequencies supported by the first subscriber identity module card is one more than the number of multiple network speed thresholds, and the total number is related to the maximum frequency search capability supported by the modem chip corresponding to the first subscriber identity module in the terminal device, the search module is specifically configured to:

[0057] The current running network speed of the target application is compared with multiple network speed thresholds associated with the target application to obtain a comparison result; when the comparison result indicates that the current running network speed of the target application is greater than the maximum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be 1; when the comparison result indicates that the current running network speed of the target application is less than or equal to the second smallest network speed threshold among the multiple network speed thresholds, and greater than the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the number of multiple network speed thresholds; when the comparison result indicates that the current running network speed of the target application is less than or equal to the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the total number.

[0058] In conjunction with the third aspect, in certain implementations of the third aspect, the search module is specifically configured to:

[0059] When there is no application in the terminal device that runs on the network provided by the second user identification module card, or the application does not belong to the application whitelist, the number of frequencies to be searched is determined to be the total number of frequencies supported by the first user identification module card, and the total number is related to the maximum frequency search capability that can be supported by the modem chip corresponding to the first user identification module in the terminal device.

[0060] In conjunction with the third aspect, in certain implementations of the third aspect, the apparatus further includes a startup module, the startup module being configured to:

[0061] The terminal equipment equipped with the first subscriber identification module card and the second subscriber identification module card is controlled to start; and the first subscriber identification module card and the second subscriber identification module card are respectively registered on the network.

[0062] In a fourth aspect, the present application provides a network access device, which is applied to a terminal device, and the terminal device is configured with a first user identification module card and a second user identification module card; the network access device is used to execute the network access method in the first aspect and any possible design of the first aspect.

[0063] Specifically, the network access device includes: a trigger module, a search module, and a registration module.

[0064] A trigger module, configured to trigger a network search instruction when determining that the first subscriber identity module card is disconnected from the network;

[0065] A search module is configured to respond to a network search instruction and search for frequencies under a network standard supported by the first subscriber identity module card in the order of first historical frequencies and then frequencies of the entire frequency band, to obtain a searched first frequency;

[0066] The registration module is used to perform network registration on the first subscriber identification module card according to the first frequency point, so that the first subscriber identification module card can access the network.

[0067] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the search module is specifically configured to:

[0068] In response to the network search instruction, a historical frequency point under the fifth generation mobile communication technology network standard is searched; when the historical frequency point under the fifth generation mobile communication technology network standard is searched, the historical frequency point under the fifth generation mobile communication technology network standard is determined as the first frequency point.

[0069] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the search module is specifically configured to:

[0070] When there is no historical frequency point under the fifth-generation mobile communication technology network standard or the historical frequency point under the fifth-generation mobile communication technology network standard is not searched, the historical frequency point under the fourth-generation mobile communication technology network standard is searched; when the historical frequency point under the fourth-generation mobile communication technology network standard is searched, the historical frequency point under the fourth-generation mobile communication technology network standard is determined as the first frequency point.

[0071] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the search module is specifically configured to:

[0072] When there are no historical frequency points under the fourth-generation mobile communication technology network standard, search for frequency points of the full frequency band under the fifth-generation mobile communication technology network standard; when the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched, determine the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard as the first frequency points.

[0073] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the search module is specifically configured to:

[0074] When the full-band frequency points under the fifth-generation mobile communication technology network standard are not searched, the full-band frequency points under the fourth-generation mobile communication technology network standard are searched; when the full-band frequency points under the fourth-generation mobile communication technology network standard are searched, the full-band frequency points under the fourth-generation mobile communication technology network standard are determined as the first frequency points.

[0075] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the search module is specifically configured to:

[0076] When the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard are not searched, the frequency points of the network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology are searched; the frequency points of the searched network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology are determined as the first frequency points.

[0077] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the apparatus further includes a startup module, the startup module being configured to:

[0078] The terminal equipment equipped with the first subscriber identification module card and the second subscriber identification module card is controlled to start; and the first subscriber identification module card and the second subscriber identification module card are respectively registered on the network.

[0079] In a fifth aspect, the present application provides a terminal device comprising a processor; when the processor executes computer code or instructions in a memory, the terminal device executes the network access method in the first aspect and any possible design of the first aspect.

[0080] In a sixth aspect, the present application provides a terminal device comprising one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by one or more processors, the terminal device executes the network access method in the first aspect and any possible design of the first aspect, and / or the network access method in the second aspect and any possible design of the second aspect.

[0081] In the seventh aspect, the present application provides a chip system, which includes a processor for calling and running a computer program from a memory, so that a terminal device equipped with the chip system executes the network access method in the first aspect and any possible design of the first aspect, and / or the network access method in the second aspect and any possible design of the second aspect.

[0082] In an eighth aspect, the present application provides a computer-readable storage medium comprising a computer program. When the computer program runs on a terminal device, the terminal device executes the network access method of the first aspect and any possible design of the first aspect, and / or the network access method of the second aspect and any possible design of the second aspect.

[0083] In the ninth aspect, the present application provides a computer program product, which, when running on a computer, enables the computer to execute the network access method in the first aspect and any possible design of the first aspect, and / or the network access method in the second aspect and any possible design of the second aspect.

[0084] It can be understood that the beneficial effects of the third to ninth aspects mentioned above can be found in the relevant descriptions of the first and second aspects mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] FIG1 is a schematic diagram of the relationship between a terminal device and a base station provided in an embodiment of the present application;

[0086] FIG2 is a schematic structural diagram of a terminal device provided in one embodiment of the present application;

[0087] FIG3 is a schematic diagram of a software architecture of a terminal device provided in one embodiment of the present application;

[0088] FIG4 is a flow chart of a network access method provided in an embodiment of the present application;

[0089] FIG5 is a flow chart of a network access method provided in an embodiment of the present application;

[0090] FIG6 is a flow chart of a network access method provided in an embodiment of the present application;

[0091] FIG7 is a flow chart of a network access method provided in an embodiment of the present application;

[0092] FIG8 is a schematic structural diagram of a network access device provided in one embodiment of the present application;

[0093] FIG9 is a schematic structural diagram of a network access device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0094] In this application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a alone, b alone, or c alone can represent: a alone, b alone, c alone, a and b in combination, a and c in combination, b and c in combination, or a, b, and c in combination, where a, b, and c can be single or multiple. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance.

[0095] Currently, there are two types of terminal devices on the market: terminal devices supporting single SIM cards and terminal devices supporting dual SIM cards.

[0096] For a terminal device supporting dual SIM cards, the terminal device has two card slots for inserting two subscriber identity module (SIM) cards of a user. The two SIM cards in the terminal device can be in standby mode at the same time.

[0097] The SIM card may be a physical SIM card or a virtual SIM card.

[0098] When the terminal device supports a single card, that is, when the terminal device has only one subscriber identification module card, the terminal device may default the card to be a mobile data card, and the subscriber identification module card is the primary card.

[0099] When the terminal device supports dual SIM cards, that is, when the terminal device has two SIM cards, the terminal device may default the SIM card used as the mobile data card to be the primary card and the other SIM card to be the secondary card.

[0100] The two SIM cards mentioned above may be operated by the same operator or different operators.

[0101] Among them, each user identification card in the terminal device can support multiple network standards, for example, one or more of the fifth-generation mobile communication technology (5G) network, fourth-generation mobile communication technology (4G), third-generation mobile communication technology (3G), and second-generation mobile communication technology (2G).

[0102] When the terminal device is in an elevator, turned off, or in airplane mode, the terminal device may be disconnected from the network. After the terminal device leaves the elevator, is turned on, or turns off airplane mode, the terminal device needs to search for a wireless network to ensure that the terminal device can communicate and transmit data normally.

[0103] When searching for a network, the terminal device can search for frequencies corresponding to network standards such as 5G, 4G, 3G, and 2G, and register the main card or secondary card with the network based on the searched frequencies so that the main card or secondary card can access the network.

[0104] Among them, the frequency of the 5G network standard can be a new radio (NR) frequency, the frequency of the 4G network standard can be a long term evolution (LTE) frequency, the frequency of the 3G network standard can be a third generation wireless communication technology (wideband code division multiple access, WCDMA) frequency, and the frequency of the 2G network standard can be a global system for mobile communications (GSM) frequency.

[0105] FIG1 exemplarily shows a schematic diagram of a communication system architecture applicable to an embodiment of the present application. The communication system may include a terminal device 100 and a base station 200 .

[0106] The base station 200 can support any one or multiple operator networks among multiple operators. The terminal device 100 supports at least two subscriber identity modules (SIM) cards to be in standby mode at the same time.

[0107] Taking the terminal device 100 supporting SIM card 1 and SIM card 2 as an example, the operator networks to which SIM card 1 and SIM card 2 belong may be the same or different.

[0108] Each SIM card may be attached to a cell under the base station 200 of the operator network to which it belongs.

[0109] In addition, the terminal device may further include at least two wireless communication modules, namely a first wireless communication module and a second wireless communication module.

[0110] The first wireless communication module includes a first modem (modem1) corresponding to SIM card 1, and the second wireless communication module includes a second modem (modem2) corresponding to SIM card 2.

[0111] SIM card 2 can search for a network and communicate with a base station through modem 1, and SIM card 2 can search for a network and communicate with a base station through modem 2.

[0112] Among them, the wireless access technologies supported by modem1 include global system for mobile communications (GSM), third-generation wireless communication technology (wideband code division multiple access, WCDMA), long-term evolution (LTE), new radio (NR), etc. The wireless access technologies supported by modem2 include GSM, WCDMA, LTE, NR, etc.

[0113] The first wireless communication module and the second wireless communication module mentioned above can be the same physical wireless communication module in the terminal device 100. In this case, SIM card 1 and SIM card 2 can share the same physical wireless communication module to communicate with the base station.

[0114] Optionally, the first wireless communication module and the second wireless communication module may also be two different physical wireless communication modules in the terminal device. In this case, SIM card 1 can communicate with the base station through the physical first wireless communication module, and SIM card 2 can communicate with the base station through the physical second wireless communication module.

[0115] Currently, when a terminal device registers on a network, it can search for a cell through modem1 corresponding to SIM card 1 and modem2 corresponding to SIM card 2. After the terminal device 100 finds an available cell, it accesses the cell and can initiate registration in the cell after successful access.

[0116] After successfully registering with a cell, the terminal device 100 can enjoy network services in the cell. The terminal device 100 usually performs a cell search based on a cell search strategy.

[0117] In addition, one operator can correspond to one frequency band, each frequency band corresponds to multiple frequency points, and different frequency points can be understood as corresponding to different cells.

[0118] In actual application, after the secondary card in the terminal device is disconnected from the network, the terminal device can directly reduce the frequency search capability of the modem chip corresponding to the secondary card, so that only one frequency is searched at a time. The terminal device can also search for the full frequency band supported by the secondary card. It takes several searches to search for the frequency supported by the secondary card, causing the secondary card to be disconnected from the network for a long time without recovery.

[0119] The New Radio (NR) has a slow search speed due to its wide bandwidth, especially the N78, which has a relatively wide bandwidth. This results in a long search time when searching for frequencies across the entire frequency band. Furthermore, to ensure the throughput experience of the primary card with dual SIM cards, the secondary card's NR full-frequency search is reduced from searching multiple frequencies at a time to just one. The search time for frequencies across the entire NR frequency band is increased from 20-30 seconds to 90-120 seconds.

[0120] In response to the above problems, the present application provides a network access method, a network access device, a terminal device, a chip system, a computer-readable storage medium, and a computer program product. The network access method is applied to the terminal device. Thus, the terminal device can search for frequencies based on the network load of the primary card. The terminal device can also increase the search speed by searching for historical frequencies first and then frequencies across the entire frequency band. This can ensure the speed at which the secondary card can reconnect to the network, shorten the time it takes for the secondary card to recover, and improve the user experience.

[0121] The terminal device may be configured with a main card and at least one secondary card.

[0122] For example, the terminal device may be a mobile phone, tablet computer, vehicle-mounted device, laptop computer, wearable device, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), or other device that can be configured with a subscriber identity module card.

[0123] For ease of explanation, FIG2 takes the terminal device 100 as a mobile phone as an example.

[0124] As shown in FIG. 2 , in some embodiments, the terminal device 100 may include a processor 101 and a communication module 102 , etc.

[0125] The processor 101 may include one or more processing units, for example, an application processor (AP), a modem processor, a graphics processor, an image signal processor (ISP), a controller, a memory, a video stream codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors 101.

[0126] The controller can be the nerve center and command center of the terminal device 100. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of instruction fetching and execution.

[0127] The processor 101 may also include a memory for storing instructions and data.

[0128] In some embodiments, the memory in processor 101 is a high-speed cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 101. If processor 101 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces processor 101's waiting time, and thus improves system efficiency.

[0129] In some embodiments, the processor 101 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0130] The communication module 102 may include two antennas, a mobile communication module, and / or a wireless communication module.

[0131] As shown in FIG2 , in some embodiments, the terminal device 100 may further include a sensor module 103 , an internal memory 104 , an external memory interface 105 , a USB interface 106 , a charging management module 107 , a power management module 108 , a battery 109 , and the like.

[0132] The charging management module 107 is used to receive charging input from a charger, which can be a wireless charger or a wired charger.

[0133] In some wired charging embodiments, the charging management module 107 may receive charging input from a wired charger through the USB interface 106 .

[0134] In some wireless charging embodiments, the charging management module 107 may receive wireless charging input via a wireless charging coil of the terminal device 100. While the charging management module 107 is charging the battery 109, it may also provide power to the terminal device 100 via the power management module 108.

[0135] The power management module 108 is used to connect the battery 109, the charging management module 107, and the processor 101. The power management module 108 receives input from the battery 109 and / or the charging management module 107 and provides power to the processor 101, the internal memory 104, the external memory, and the communication module 102. The power management module 108 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance), etc.

[0136] In some other embodiments, the power management module 108 may also be disposed in the processor 101 .

[0137] In other embodiments, the power management module 108 and the charging management module 107 may also be provided in the same device.

[0138] The external memory interface 105 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 101 via the external memory interface 105 to implement data storage functions. For example, files such as music and video streams can be stored on the external memory card.

[0139] The internal memory 104 can be used to store computer executable program code, and the executable program code includes instructions. The processor 101 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 104. The internal memory 104 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0140] The sensor module 103 in the terminal device 100 may include image sensors, touch sensors, pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, ambient light sensors, fingerprint sensors, temperature sensors, bone conduction sensors and other components to realize the sensing and / or acquisition functions of different signals.

[0141] Optionally, the terminal device 100 may further include peripheral devices, such as a mouse, buttons, indicator lights, a keyboard, a speaker, a microphone, etc.

[0142] The buttons include a power button, a volume button, etc. The buttons can be mechanical buttons or touch buttons. The terminal device 100 can receive button inputs and generate key signal inputs related to user settings and function control of the terminal device 100.

[0143] The indicator may be a light indicator, which may be used to indicate the charging status and power level change, and may also be used to indicate messages, missed calls, and notifications, etc.

[0144] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 100 .

[0145] In other embodiments, the terminal device 100 may include more or fewer components than shown, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0146] Please refer to Figure 3, which is a schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application. When the data dump method provided in an embodiment of the present application is applied to the terminal device 100 shown in Figure 2, the software in the terminal device 100 can be divided into an application layer 201, a hardware abstraction layer (HAL) 202, and a driver layer 203 as shown in Figure 3.

[0147] A plurality of applications may be installed in the application layer 201 .

[0148] The hardware abstraction layer 202 is a software located between the operating system kernel and the hardware circuit, and is generally used to abstract the hardware to achieve interaction between the operating system and the hardware circuit at the logical layer.

[0149] The driver layer 203 may be installed with multiple drivers for driving the hardware.

[0150] It should be noted that the application layer 201 , the hardware abstraction layer 202 and the driver layer 203 may also include other contents, which are not specifically limited here.

[0151] Based on the above scenario description, below, this application takes the terminal device as an example, combined with the accompanying drawings and application scenarios, to elaborate on the network access method provided in the embodiment of this application.

[0152] 4-5 and 6-7 , two feasible implementations of the network access method are introduced below.

[0153] In FIG4-FIG5, the terminal device searches for a frequency point by means of the network load of the second SIM card, thereby increasing the speed of searching for a frequency point, so that the first SIM card can recover the network as soon as possible.

[0154] In FIG6-FIG7, the terminal device searches for frequencies in the order of historical frequencies first and then frequencies of the entire frequency band, thereby increasing the speed of searching for frequencies and allowing the first SIM card to recover the network as quickly as possible.

[0155] Please refer to FIG4 , which shows a flow chart of a network access method provided in an embodiment of the present application.

[0156] As shown in FIG4 , the network access method provided by this application may include:

[0157] S101: When it is determined that a first subscriber identity module card is disconnected from the network, trigger a network search instruction.

[0158] The terminal device may be configured with one or two subscriber identification module cards.

[0159] In some embodiments, the terminal device is a dual-SIM-supporting terminal device, that is, the terminal device is configured with two subscriber identification module cards, namely a first subscriber identification module card and a second subscriber identification module card.

[0160] When two subscriber identification module cards are configured in the terminal device, the mobile data card in the terminal device can be the first subscriber identification module card or the second subscriber identification module card.

[0161] In addition, when two subscriber identity module cards are configured in the terminal device, the two subscriber identity module cards can be from the same operator or different operators.

[0162] This application does not limit the operators of the two subscriber identity module cards in the terminal device supporting dual SIM cards.

[0163] In addition, when two SIM cards are configured in the terminal device, both SIM cards can independently complete the cell search for each network standard and each frequency point supported by the terminal device.

[0164] Among them, network disconnection is a phenomenon in which the terminal device loses contact with the base station.

[0165] When the terminal device is in an elevator, turned off, or in airplane mode, the terminal device may be disconnected from the network.

[0166] In addition, disconnecting from the network may result in the terminal device being unable to access the Internet, being unable to use the network, being unable to use telephone functions normally, and being unable to make normal calls and contacts, etc.

[0167] When two SIM cards are configured in the terminal device, namely the first SIM card and the second SIM card, the first SIM card disconnecting from the network does not affect the use of the second SIM card.

[0168] Similarly, disconnection of the second SIM card from the network does not affect the use of the first SIM card.

[0169] The network search is a process for instructing the terminal device to search for the frequency point of the terminal device through the modem corresponding to the subscriber identity module card, and initiate registration with the base station according to the searched frequency point.

[0170] Based on the above description, the terminal device may trigger a network search instruction when determining that the first SIM card is disconnected from the network, thereby preparing for the terminal device to perform a network search based on the network search instruction.

[0171] In some embodiments, before executing step S101, the terminal device may further execute the following steps:

[0172] Controlling the startup of a terminal device equipped with a first subscriber identification module card and a second subscriber identification module card;

[0173] The first subscriber identification module card and the second subscriber identification module card are respectively registered with the network.

[0174] When the terminal device is configured with the first and second SIM cards, after the terminal device controls the terminal device configured with the first and second SIM cards to start up, the terminal device can search for frequencies and perform network registration on the first and second SIM cards, respectively, so that the first and second SIM cards can access the network.

[0175] S102: In response to the network search instruction, search for frequencies supported by the first subscriber identity module card according to the current network speed of the target application to obtain a searched first frequency.

[0176] Based on S101, after the terminal device triggers the network search instruction, it can determine according to the network search instruction that the current first subscriber identity module card is disconnected from the network and needs to reconnect the first subscriber identity module card to the network.

[0177] The target application runs under the network provided by the second subscriber identification module card.

[0178] In some embodiments, among the first subscriber identification module card and the second subscriber identification module card configured in the terminal device, the second subscriber identification module is a mobile data card.

[0179] The target application can be one or more.

[0180] This application does not limit the number and type of target applications.

[0181] The operating network speed is used to indicate the time it takes for an application on a terminal device to request and return data when uploading and downloading data during operation.

[0182] The network speed at which each application runs is different on the terminal device.

[0183] In some embodiments, the terminal device may determine the network load of the second subscriber identity module card serving as the mobile data card according to the current network speed of the target application.

[0184] In some embodiments, the first frequency point is a frequency point of the entire new radio (NR) frequency band.

[0185] This application does not limit the network standard type of the first frequency point.

[0186] S103: Register the first subscriber identity module card with the network according to the first frequency, so that the first subscriber identity module card can access the network.

[0187] The network registration is used to indicate that the terminal device registers the first subscriber identity module card with the base station corresponding to the searched frequency point.

[0188] When the network registration is successful, the terminal device can enjoy network services in the area corresponding to the frequency point, so that the first subscriber identity module card in the terminal device can enter a normal standby state or perform telephone services.

[0189] Therefore, after determining the first frequency, the terminal device can register the first SIM card with the network according to the first frequency, so that the first SIM card can access the network, thereby ensuring that the first SIM card can recover the network as soon as possible.

[0190] The network access method provided in the present application triggers a network search instruction when it is determined that the first SIM card is disconnected from the network, thereby preparing for the terminal device to search for frequencies supported by the first SIM card based on the search instruction.

[0191] After the terminal device triggers the network search instruction, it can respond to the network search instruction and determine the network load of the second user identification module card according to the current running network speed of the target application, so that the terminal device can quickly search for the frequency points supported by the first user identification module card according to the network load of the second user identification module card.

[0192] The terminal device can register the first SIM card with the network according to the first frequency point, so that the first SIM card can access the network. In this way, the first SIM card can be guaranteed to recover the network as soon as possible, thereby improving the user experience.

[0193] Based on the description of the embodiment shown in Figure 4 above, the terminal device can use the whitelist to screen out the situation where the network load of the second user identification module card is the lowest. The terminal device can also determine the network load of the second user identification module card through the current running network speed of the target application and multiple network speed thresholds associated with the target application, so as to facilitate the network load of the second user identification module card of the terminal device to determine the number of frequency points to be searched.

[0194] 5 , the specific implementation process of the network access method of the present application will be described in detail.

[0195] Please refer to FIG5 , which shows a flow chart of a network access method provided in an embodiment of the present application.

[0196] As shown in FIG5 , the network access method provided by this application may include:

[0197] S201: When it is determined that the first subscriber identity module card is disconnected from the network, trigger a network search instruction.

[0198] Among them, S201 is implemented in a similar manner to S101 in the embodiment shown in FIG4 , and will not be described again here.

[0199] S202: In response to the network search instruction, determine whether there is an application in the terminal device that runs on the network provided by the second subscriber identity module card.

[0200] According to the network search instruction, the terminal device can determine that the first subscriber identity module card is currently disconnected from the network and needs to reconnect the first subscriber identity module card to the network.

[0201] Whether there is an application running on the network provided by the second user identification module card on the terminal device is related to the number of frequencies to be searched when the terminal device searches for the frequencies supported by the first user identification module card. Therefore, the terminal device can determine whether there is an application running on the network provided by the second user identification module card on the terminal device.

[0202] The application may be one or more application programs.

[0203] In addition, the application may be an application running in the foreground or an application running in the background.

[0204] When the terminal device does not use an application running on the network provided by the second subscriber identification module card to run, the terminal device does not use an application running on the network provided by the second subscriber identification module card to run.

[0205] When one or more applications running on the network provided by the second subscriber identification module card are running in the terminal device, there are applications running on the network provided by the second subscriber identification module card in the terminal device.

[0206] For example, a video application is running in the terminal device, and the video application is running in the network provided by the second subscriber identification module card. Then, there is an application in the terminal device that runs using the network provided by the second subscriber identification module card.

[0207] For example, a video application and a chat application are running simultaneously in the terminal device, and both the video application and the chat application are running under the network provided by the second SIM card. Then, there are two applications running on the network provided by the second SIM card in the terminal device.

[0208] When there is no application running on the network provided by the second SIM card in the terminal device, the terminal device may execute S203; when there is an application running on the network provided by the second SIM card in the terminal device, the terminal device may execute S204.

[0209] S203: Determine that the number of frequencies to be searched is the total number of frequencies supported by the first subscriber identity module card.

[0210] The total number of frequency points supported by the first subscriber identity module card is related to the maximum frequency point search capability supported by the modem chip corresponding to the first subscriber identity module card in the terminal device.

[0211] In some embodiments, the terminal device further includes two modems, namely a first modem and a second modem.

[0212] The first SIM card in the terminal device can communicate with the base station via the first modem to search for frequencies, and the second SIM card in the terminal device can communicate with the base station via the second modem to search for frequencies.

[0213] For example, when the maximum frequency search capability supported by the first modem chip corresponding to the first SIM card indicates that the first modem can search n frequencies at a time, the number of frequencies that the first SIM card can search through the first modem is n.

[0214] Therefore, when there is no application in the terminal device that uses the network provided by the second user identification module card to run, the terminal device can determine that the network load of the second user identification module card is low, and the terminal device can determine the accurate number of frequency points to be searched based on the maximum frequency point search capability supported by the modem chip corresponding to the first user identification module card.

[0215] S204: Determine an application running on the network provided by the second subscriber identity module card in the terminal device.

[0216] There may be one or more applications in the terminal device that run on the network provided by the second subscriber identity module card.

[0217] In some embodiments, when the terminal device has an application running on the network provided by the second SIM card, the terminal device can determine which application the application running on the network provided by the second SIM card is.

[0218] In other embodiments, when the terminal device has multiple applications running on the network provided by the second SIM card, the terminal device can determine which application each of the multiple applications running on the network provided by the second SIM card is.

[0219] Assume that when the terminal device determines that the first SIM card is disconnected from the network, the user is watching a video on a video application, and the video application runs under the network provided by the second SIM card.

[0220] Then, the terminal device may determine that the application running on the network provided by the second subscriber identification module card is the video application.

[0221] S205: Determine whether the application belongs to the application whitelist.

[0222] Wherein, when there is one application running on the network provided by the second subscriber identification module card in the terminal device, and the one application belongs to the application whitelist, the above application belongs to the application whitelist.

[0223] When there are multiple applications running on the network provided by the second subscriber identification module card in the terminal device, and the multiple applications all belong to the application whitelist, the above application belongs to the application whitelist.

[0224] The application whitelist is used to filter applications that are run on the network provided by the second subscriber identification module card and whose maximum operating network speed is greater than or equal to a preset threshold.

[0225] That is, the maximum operating network speed of each application in the application whitelist is greater than or equal to the preset threshold.

[0226] Assume that the preset threshold is 90 megabytes.

[0227] Then, if the maximum network speed of a video application is 100 Mbps, then the video application belongs to the application whitelist;

[0228] If the maximum network speed of a chat application is 60 Mbps, then the video application is not included in the application whitelist.

[0229] When the application does not belong to the application whitelist, the terminal device may execute S206 ; when the application belongs to the application whitelist, the terminal device may execute S207 .

[0230] S206: Determine that the number of frequencies to be searched is the total number of frequencies supported by the first subscriber identity module card.

[0231] Among them, S206 is implemented in a similar manner to S203 in the embodiment shown in FIG5 , and will not be described again here.

[0232] In addition, similarly, when the application running on the network provided by the second user identification module card in the terminal device does not belong to the application whitelist, the terminal device can determine that the network load of the second user identification module card is low, and the terminal device can determine the exact number of frequencies to be searched based on the maximum frequency search capability supported by the modem chip corresponding to the first user identification module card.

[0233] S207: Determine the application as a target application.

[0234] Among them, the terminal device will determine the application running on the network provided by the second user identification module card as the target application, and can prepare for the terminal device to determine the number of frequency points to be searched based on the current running network speed of the target application and multiple network speed thresholds associated with the target application.

[0235] S208: Compare the current running network speed of the target application with a plurality of network speed thresholds associated with the target application to obtain a comparison result.

[0236] Each target application is associated with multiple network speed thresholds.

[0237] The number of network speed thresholds associated with each target application can be the same or different.

[0238] For example, target application 1 is associated with n network speed thresholds, namely Threshold 1-1, Threshold 2-1, and Threshold n-1.

[0239] Target application 2 is associated with n network speed thresholds, namely Threshold 1-2, Threshold 2-2, and Threshold n-2.

[0240] Target application 3 is associated with n network speed thresholds, namely Threshold 1-3, Threshold 2-3, and Threshold n-3.

[0241] This application does not limit the number of network speed thresholds associated with each target application.

[0242] Each network speed threshold is determined based on the maximum network speed required for running each application.

[0243] Multiple network speed thresholds can be arranged in descending order, and the maximum network speed threshold among the multiple network speed thresholds can be the maximum operating network speed of the application, so that the terminal device can first compare the current operating network speed of the target application with the maximum operating network speed of the application.

[0244] The difference between two adjacent network speed thresholds can be any positive integer.

[0245] For example, a video application is associated with four network speed thresholds. The maximum operating network speed of the video application is 100 Mbps. Then, the multiple network speed thresholds can include, in descending order: 100 Mbps, 80 Mbps, 60 Mbps, and 40 Mbps.

[0246] Based on S207, when determining the target application, the terminal device can determine the current running network speed of the target application. Thus, the terminal device can compare the current running network speed of the target application with multiple network speed thresholds associated with the target application, so as to determine the network load of the second user identification module card according to the comparison results.

[0247] Assume that the number of network speed thresholds is 4, and the network speed thresholds are 100 Mbps, 80 Mbps, 60 Mbps, and 40 Mbps, from large to small.

[0248] Then, the terminal device can compare the current running network speed of the target application with 100 Mbps, 80 Mbps, 60 Mbps, and 40 Mbps respectively to obtain corresponding comparison results.

[0249] In addition, there may be multiple situations for the comparison results. According to different situations of the comparison results, the terminal device may execute any one of steps S209, S210 and S211.

[0250] S209: When the comparison result indicates that the current running network speed of the target application is greater than the maximum network speed threshold among the multiple network speed thresholds, determine that the number of frequency points to be searched is 1.

[0251] Among them, the comparison result indicates that the current running network speed of the target application is greater than the maximum network speed threshold among multiple network speed thresholds, indicating that the load of the second user identification module card is very high. Therefore, in order to ensure that the terminal device can quickly search for the frequency supported by the first user identification module card, the terminal device can determine the number of frequency points to be searched to 1.

[0252] Therefore, it is convenient for the terminal device to search for frequencies based on the number of frequency points to be searched being 1, so that the terminal device can quickly search for frequencies supported by the first subscriber identity module card.

[0253] Assume that the total number of frequency points supported by the first subscriber identity module card is 5, the number of the multiple network speed thresholds is 4, and the multiple network speed thresholds are 100 Mbps, 80 Mbps, 60 Mbps, and 40 Mbps from large to small.

[0254] Then, when the current running network speed of the target application in the terminal device is 120 Mbps, the current running network speed of the target application 120 Mbps is greater than the maximum network speed threshold of 100 Mbps among multiple network speed thresholds, then the terminal device can determine that the number of frequency points to be searched is 1.

[0255] S210. When the comparison result indicates that the current running network speed of the target application is less than or equal to the second smallest network speed threshold among the multiple network speed thresholds and greater than the minimum network speed threshold among the multiple network speed thresholds, determine that the number of frequency points to be searched is the number of the multiple network speed thresholds.

[0256] Among them, when the comparison result indicates that the current running network speed of the target application is less than or equal to the second smallest network speed threshold among multiple network speed thresholds, and greater than the minimum network speed threshold among multiple network speed thresholds, it means that the load of the second user identification module card is high. Therefore, in order to ensure that the terminal device can quickly search for the frequency points supported by the first user identification module card, the terminal device can determine the number of frequency points to be searched as the number of multiple network speed thresholds.

[0257] Therefore, it is convenient for the terminal device to search for frequencies according to the number of frequencies to be searched being the number of multiple network speed thresholds, so that the terminal device can quickly search for frequencies supported by the first subscriber identity module card.

[0258] Assume that the number of network speed thresholds is 4, and the network speed thresholds are 100 Mbps, 80 Mbps, 60 Mbps, and 40 Mbps, from large to small.

[0259] Then, when the current running network speed of the target application in the terminal device is 50 megabits, the current running network speed of the target application of 50 megabits is less than the second smallest network speed threshold of 60 among multiple network speed thresholds, and is greater than the minimum network speed threshold of 40 megabits among multiple network speed thresholds, then the terminal device can determine that the number of frequency points to be searched is 4.

[0260] S211 : When the comparison result indicates that the current running network speed of the target application is less than or equal to the minimum network speed threshold among the multiple network speed thresholds, determine that the number of frequency points to be searched is the total number.

[0261] Among them, the comparison result indicates that the current running network speed of the target application is less than or equal to the minimum network speed threshold among multiple network speed thresholds, indicating that the load of the second user identification module card is low. Therefore, in order to ensure that the terminal device can quickly search for the frequency points supported by the first user identification module card, the terminal device can determine the number of frequency points to be searched as the total number of frequency points supported by the first user identification module card.

[0262] Therefore, the terminal device can search for frequencies according to the number of frequencies to be searched being the total number of frequencies supported by the first SIM card, so that the terminal device can quickly search for frequencies supported by the first SIM card.

[0263] In some embodiments, the total number of frequency points supported by the first user identification module card is one more than the number of multiple network speed thresholds, and the total number of frequency points supported by the first user identification module card is related to the maximum frequency point search capability supported by the modem chip corresponding to the first user identification module in the terminal device.

[0264] Assume that the total number of frequency points supported by the first subscriber identity module card is 5, the number of the multiple network speed thresholds is 4, and the multiple network speed thresholds are 100 Mbps, 80 Mbps, 60 Mbps, and 40 Mbps from large to small.

[0265] Then, when the current running network speed of the target application in the terminal device is 30 Mbps, the current running network speed of the target application is less than the minimum network speed threshold of 40 Mbps among multiple network speed thresholds, then the terminal device can determine that the number of frequency points to be searched is 5.

[0266] Combining S209, S210 and S211, it can be seen that when the second SIM card as a mobile data card is in a high load scenario, the number of frequencies to be searched is small; similarly, when the second SIM card as a mobile data card is in a low load scenario, the number of frequencies to be searched is large.

[0267] In this way, the terminal device can dynamically adjust the number of search frequencies according to the above comparison result to determine a more reasonable number of frequencies to be searched, so that the terminal device can quickly search for the first frequency.

[0268] Based on any one of steps S209, S210 and S211, the terminal device may determine the number of frequency points to be searched, and thus, the terminal device may execute S212.

[0269] S212: Determine the searched frequency point as the first frequency point according to the number of frequency points to be searched.

[0270] Based on S209 , it can be known that the number of frequency points to be searched is 1, and the terminal device can search for the 1 frequency point.

[0271] Based on S210 or S211, it can be known that there are multiple frequency points to be searched, and the terminal device can search for the multiple frequency points.

[0272] Thus, in S209, S210 or S211, the terminal device can search for a frequency supported by the first subscriber identity module card and determine the searched frequency as the first frequency.

[0273] In addition, the terminal device may further search the one or more frequency points at least once until a frequency point supported by the first subscriber identity module card is found, and the found frequency point is determined as the first frequency point.

[0274] For example, the terminal device performs a first search based on the number of frequencies to be searched. After the first search, a frequency supported by the first subscriber identity module card is found. Then, the terminal device may determine the frequency found in the first search as the first frequency.

[0275] For another example, the terminal device performs a search based on the number of frequencies to be searched. If the frequency supported by the first user identification module card is not found, the terminal device can perform a second search. After the second search, the terminal device searches for the frequency supported by the first user identification module card. The terminal device can determine the frequency found in the second search as the first frequency.

[0276] S213: Register the first subscriber identity module card with the network according to the first frequency, so that the first subscriber identity module card can access the network.

[0277] Among them, S213 is implemented in a similar manner to S103 in the embodiment shown in FIG4 , and will not be described again here.

[0278] In the present application, the terminal device can determine the application running on the network provided by the second user identification module card in the terminal device. When the application belongs to the application whitelist, the terminal device can determine that the network load of the application is higher than that of the application not in the whitelist. Therefore, the terminal device can determine the application as the target application, so as to determine the load of the second user identification module card based on the comparison results of the current running network speed of the target application and multiple network speed thresholds associated with the target application.

[0279] In addition, after determining the target application, the terminal device can compare the current running network speed of the target application with multiple network speed thresholds associated with the target application to obtain a comparison result, so as to determine the network load of the second user identification module card based on the comparison result. In this way, the terminal device can dynamically adjust the number of frequency points to be searched according to the network load of the second user identification module card to obtain a number of frequency points to be searched that is conducive to improving the speed of searching for the frequency points supported by the first user identification module card.

[0280] After the terminal device determines the number of frequency points to be searched, it can perform at least one search based on the number of frequency points to be searched until a frequency point supported by the first user identification module card is found, and the searched frequency point is determined as the first frequency point, so that the terminal device can register the first user identification module card with the network based on the first frequency point, so that the first user identification module card can access the network. It can be seen that the terminal device can quickly search for the frequency point supported by the first user identification module card based on the precise number of frequency points to be searched, thereby ensuring the efficiency of the terminal device in searching for frequencies and improving the speed at which the first user identification module card recovers the network.

[0281] In addition, when there is no application in the terminal device that uses the network provided by the second user identification module card to run, and when the above-mentioned application does not belong to the application whitelist, the terminal device can determine that the network load of the second user identification module card is low. Then, correspondingly, the terminal device can search for a large number of frequencies supported by the first user identification module card at this time. Therefore, the terminal device can determine the number of frequencies to be searched as the total number of frequencies supported by the first user identification module card based on the maximum frequency search capability supported by the modem chip corresponding to the first user identification module card in the terminal device, so that the terminal device can search a large number of frequencies at a time, thereby improving the efficiency of the terminal device in searching for frequencies and ensuring that the first user identification module card in the terminal device can restore the network as soon as possible.

[0282] Based on the above scenario description, below, this application takes the terminal device as an example, combined with the accompanying drawings and application scenarios, to elaborate on the network access method provided in the embodiment of this application.

[0283] Please refer to FIG6 , which shows a flow chart of a network access method provided in an embodiment of the present application.

[0284] As shown in FIG6 , the network access method provided by this application may include:

[0285] S301: When it is determined that the first subscriber identity module card is disconnected from the network, trigger a network search instruction.

[0286] Among them, S301 is implemented in a similar manner to S101 in the embodiment shown in FIG4 , and will not be described again here.

[0287] S302: In response to the network search instruction, search for frequencies under a network standard supported by the first subscriber identity module card in the order of historical frequencies first and frequencies of the entire frequency band, and obtain a searched first frequency.

[0288] Among them, the historical frequency is the frequency found last time.

[0289] When a frequency point is searched during the last network search, the terminal device may save the frequency point as a historical frequency point in the terminal device and / or the storage device.

[0290] Then, the terminal device can search for the historical frequency point in response to the network search instruction.

[0291] Among them, there are multiple network standards, which are arranged in order from high to low, including 5G, 4G, 3G, 2G and other network standards.

[0292] The network standard supported by the first subscriber identification module card may be a 5G, 4G, 3G or 2G network standard.

[0293] Assuming that the above network standard is 5G, the frequency of the 5G network standard can be the new radio interface NR frequency, and the frequency of the 4G network standard can be the long-term evolution LTE frequency.

[0294] Then, in response to the network search instruction, the terminal device may first search for the new air interface historical frequency point. When the new air interface historical frequency point does not exist or cannot be found, the terminal device may search for the long term evolution historical frequency point.

[0295] In some embodiments, the terminal device may search for frequencies under the network standard supported by the first SIM card in a descending order of multiple network standards and in a sequence of historical frequencies first and then frequencies of the full frequency band.

[0296] Among them, when searching for frequencies in order from high to low network standards and in the order of historical frequencies first and then full frequency bands, the order of searching frequencies can be: new air interface historical frequencies, long-term evolution historical frequencies, new air interface full frequency band frequencies, long-term evolution full frequency band frequencies, and frequencies with network standards lower than new air interface frequencies and long-term evolution frequencies.

[0297] For example, the terminal device can first search for the historical frequency point of the new air interface, and determine it as the first frequency point when it is found; if it is not found, it can search for the historical frequency point of the long-term evolution, and determine it as the first frequency point when it is found; if it is not found, it can search for the frequency points of the entire frequency band of the new air interface, and determine it as the first frequency point when it is searched; if it is not found, it can search for the frequency points of the entire frequency band of the long-term evolution, until the frequency point supported by the first user identification module card is found.

[0298] In other embodiments, the terminal device may further search for frequencies under the network standard supported by the first SIM card in an ascending order of multiple network standards and in an order of historical frequencies first and then frequencies of the full frequency band.

[0299] Among them, when searching for frequencies in the order of network standards from low to high and in the order of historical frequencies first and then full frequency bands, the order of searching frequencies can be: frequencies with network standards lower than new air interface frequencies and long-term evolution frequencies, frequencies in the full frequency band of long-term evolution, frequencies in the full frequency band of new air interface, long-term evolution historical frequencies, and new air interface historical frequencies.

[0300] In other embodiments, the terminal device may further search for frequencies under the network standard supported by the first SIM card by combining the arbitrary arrangement order of multiple network standards and the order of historical frequencies first and then frequencies of the full frequency band.

[0301] For example, the terminal device can first search for the frequency points of the entire frequency band of the new air interface, and determine them as the first frequency point when they are found; if they are not found, search for the historical frequency points of the new air interface, and determine them as the first frequency point when they are found; if they are not found, search for the historical frequency points of the long-term evolution, and determine them as the first frequency point when they are found; if they are not found, search for the frequency points of the entire frequency band of the long-term evolution, until the frequency points supported by the first user identification module card are found.

[0302] This application does not limit the order of network standards when searching for frequencies.

[0303] In some embodiments, before executing step S301, the terminal device may further execute the following steps:

[0304] Controlling the startup of a terminal device equipped with a first subscriber identification module card and a second subscriber identification module card;

[0305] The first and second SIM cards are registered on the network separately. When the first and second SIM cards are configured in a terminal device, after the terminal device controls the terminal device configured with the first and second SIM cards to start up, the terminal device can search for frequencies and register the first and second SIM cards on the network separately, thereby facilitating the first and second SIM cards to access the network.

[0306] S303: Register the first subscriber identity module card with the network according to the first frequency, so that the first subscriber identity module card can access the network.

[0307] Among them, S303 is implemented in a similar manner to S103 in the embodiment shown in FIG4 , and will not be described again here.

[0308] The network access method provided by the present application is that the terminal device responds to the network search instruction and searches for the frequency points under the network standard supported by the first user identification module card in the order of historical frequency points first and then frequencies of the full frequency band, and obtains the searched first frequency point. In this way, when a historical frequency point exists, the terminal device can determine the historical frequency point as the first frequency point, which can shorten the frequency search time as much as possible, improve the efficiency of the frequency search, and enable the first user identification module card in the terminal device to restore the network as soon as possible.

[0309] Based on the description of the embodiment shown in FIG6 , the terminal device can search for frequencies under the network standard supported by the first user identification module card in a descending order of multiple network standards and in a sequence of historical frequencies first and then full-band frequencies.

[0310] 7 , the specific implementation process of the network access method of the present application will be described in detail.

[0311] Please refer to FIG. 7 , which shows a flow chart of a network access method provided in an embodiment of the present application.

[0312] As shown in FIG7 , the network access method provided by this application may include:

[0313] S401: When it is determined that the first subscriber identity module card is disconnected from the network, trigger a network search instruction.

[0314] Among them, S401 is implemented in a similar manner to S101 in the embodiment shown in FIG4 , and will not be described again here.

[0315] S402: In response to the network search instruction, determine whether there is a historical frequency point under the fifth generation mobile communication technology network standard.

[0316] Among them, the historical frequency points under the fifth-generation mobile communication technology network standard are the new air interface NR frequency points searched and saved last time.

[0317] When a new air interface frequency point is searched during the last network search, the terminal device can save the new air interface frequency point as a historical frequency point under the fifth generation mobile communication technology network standard in the terminal device and / or storage device.

[0318] Then, the terminal device can determine the historical frequency points under the fifth-generation mobile communication technology network standard.

[0319] When the new air interface frequency point is not found in the last network search, the terminal device does not save the new air interface frequency point in the historical data.

[0320] Then, the terminal device can determine that there is no historical frequency point under the fifth-generation mobile communication technology network standard.

[0321] When there are historical frequency points under the fifth-generation mobile communication technology network standard, the terminal device may execute S403; when there are no historical frequency points under the fifth-generation mobile communication technology network standard, the terminal device may execute S406.

[0322] S403: When there are historical frequency points under the fifth-generation mobile communication technology network standard, search for historical frequency points under the fifth-generation mobile communication technology network standard.

[0323] Based on S403, when the terminal device determines that there is a historical frequency point under the fifth-generation mobile communication technology network standard, it can directly search for the historical frequency point under the fifth-generation mobile communication technology network standard.

[0324] S404: Determine whether a historical frequency point under the fifth generation mobile communication technology network standard is found.

[0325] Among them, the terminal device searches for historical frequency points under the fifth-generation mobile communication technology network standard, which may or may not be found.

[0326] When the historical frequency point under the fifth generation mobile communication technology network standard is searched, the terminal device may execute S405; when the historical frequency point under the fifth generation mobile communication technology network standard is not searched, the terminal device may execute S406.

[0327] S405: When a historical frequency point under the fifth-generation mobile communication technology network standard is searched, determine the historical frequency point under the fifth-generation mobile communication technology network standard as the first frequency point.

[0328] Among them, when searching for the historical frequency point under the fifth-generation mobile communication technology network standard, the terminal device can directly determine the historical frequency point under the fifth-generation mobile communication technology network standard as the first frequency point.

[0329] Therefore, when there are historical frequencies under the fifth-generation mobile communication technology network standard and the historical frequencies under the fifth-generation mobile communication technology network standard are searched, the terminal device can directly determine the first frequency point, so that the terminal device can more quickly register the first user identification module card with the network according to the first frequency point, thereby improving the efficiency of searching for frequencies, shortening the time of searching for frequencies, and ensuring that the first user identification module card in the user's terminal device can restore the network as soon as possible.

[0330] S406: When there is no historical frequency point under the fifth-generation mobile communication technology network standard or no historical frequency point under the fifth-generation mobile communication technology network standard is found, determine whether there is a historical frequency point under the fourth-generation mobile communication technology network standard.

[0331] Since there may not be any historical frequency points under the fifth-generation mobile communication technology network standard, or when there are historical frequency points under the fifth-generation mobile communication technology network standard, the historical frequency points under the fifth-generation mobile communication technology network standard are not searched, then the terminal device can determine whether there is a network standard lower than the historical frequency points under the fifth-generation mobile communication technology network standard, so as to facilitate the search for the historical frequency points under the network standard lower than the fifth-generation mobile communication technology network standard.

[0332] In some embodiments, the frequency point of the network standard lower than the frequency point of the fifth generation mobile communication technology network standard may be a historical frequency point of the fourth generation mobile communication technology network standard.

[0333] The historical frequency points under the fourth-generation mobile communication technology network standard are the long-term evolution LTE frequency points that were searched and saved last time.

[0334] When a long-term evolution frequency point is searched during the last network search, the terminal device may save the long-term evolution frequency point as a historical frequency point under the fourth generation mobile communication technology network standard in the terminal device and / or storage device.

[0335] Then, the terminal device can determine the historical frequency points under the fourth-generation mobile communication technology network standard.

[0336] When the long term evolution frequency point is not found in the last network search, the terminal device does not save the long term evolution historical frequency point because the long term evolution frequency point is not found.

[0337] Then, the terminal device can determine that there is no historical frequency point under the fourth-generation mobile communication technology network standard.

[0338] When there are historical frequency points under the fourth generation mobile communication technology network standard, the terminal device may execute S407; when there are no historical frequency points under the fourth generation mobile communication technology network standard, the terminal device may execute S410.

[0339] S407: When there are historical frequency points under the fourth generation mobile communication technology network standard, search for historical frequency points under the fourth generation mobile communication technology network standard.

[0340] Based on S406, when the terminal device determines that there is a historical frequency point under the fourth generation mobile communication technology network standard, it can directly search for the historical frequency point under the fourth generation mobile communication technology network standard.

[0341] S408: Determine whether a historical frequency point under the fourth generation mobile communication technology network standard is found.

[0342] Among them, the terminal device searches for historical frequency points under the fourth-generation mobile communication technology network standard, which may or may not be found.

[0343] When the historical frequency point under the fourth generation mobile communication technology network standard is searched, the terminal device may execute S409; when the historical frequency point under the fourth generation mobile communication technology network standard is not searched, the terminal device may execute S410.

[0344] S409: When a historical frequency point under the fourth generation mobile communication technology network standard is searched, determine the historical frequency point under the fourth generation mobile communication technology network standard as the first frequency point.

[0345] Among them, when searching for the historical frequency point under the fourth-generation mobile communication technology network standard, the terminal device can directly determine the historical frequency point under the fourth-generation mobile communication technology network standard as the first frequency point.

[0346] As a result, the terminal device can directly determine the first frequency point when there are historical frequency points under the fourth-generation mobile communication technology network standard and the historical frequency points under the fourth-generation mobile communication technology network standard are searched, so that the terminal device can quickly register the first user identification module card with the network according to the first frequency point, thereby improving the efficiency of searching for frequencies, shortening the time of searching for frequencies, and ensuring that the first user identification module card in the user's terminal device can quickly restore the network.

[0347] S410. When there is no historical frequency point under the fourth generation mobile communication technology network standard or no historical frequency point under the fourth generation mobile communication technology network standard is found, search for frequency points in all frequency bands under the fifth generation mobile communication technology network standard.

[0348] Among them, the full-band frequency points under the fifth-generation mobile communication technology network standard are the full-band frequency points of the new air interface NR.

[0349] Since there may not be any historical frequency points under the fourth-generation mobile communication technology network standard, or there may be historical frequency points under the fourth-generation mobile communication technology network standard but the historical frequency points under the fourth-generation mobile communication technology network standard have not been searched, then the terminal device may search for the full-band frequency points under the fifth-generation mobile communication technology network standard, so that when there is a search for the full-band frequency points under the fifth-generation mobile communication technology network standard, the full-band frequency points under the fifth-generation mobile communication technology network standard can be determined as the first frequency point.

[0350] S411. Determine whether all frequency bands of the fifth-generation mobile communication technology network standard have been found.

[0351] The terminal device searches for all frequency bands of the fifth-generation mobile communication technology network standard, and may or may not be able to find them.

[0352] When the area where the terminal device is currently located is covered by the frequency points under the fifth-generation mobile communication technology network standard and there is no signal interference, the terminal device can search for the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard.

[0353] When the area where the terminal device is currently located does not cover the frequencies under the fifth-generation mobile communication technology network standard, and there is signal interference, the terminal device may not be able to search for the full-band frequencies under the fifth-generation mobile communication technology network standard.

[0354] When the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched, the terminal device can execute S412; when the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are not searched, the terminal device can execute S413.

[0355] S412. When searching for frequency points of the full frequency band under the fifth-generation mobile communication technology network standard, determine the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard as the first frequency point.

[0356] Among them, when searching for the full-band frequency points under the fifth-generation mobile communication technology network standard, the terminal device can determine the full-band frequency points under the fifth-generation mobile communication technology network standard as the first frequency point.

[0357] Therefore, when the full-band frequency points under the fifth-generation mobile communication technology network standard exist and the full-band frequency points under the fifth-generation mobile communication technology network standard are searched, the terminal device can determine the first frequency point, thereby improving the efficiency of searching for frequency points, shortening the time of searching for frequency points, and ensuring that the first user identification module card in the user's terminal device can restore the network as soon as possible.

[0358] S413. When the full-band frequency points under the fifth-generation mobile communication technology network standard are not found, search the full-band frequency points under the fourth-generation mobile communication technology network standard.

[0359] Among them, the full-band frequency points under the fourth-generation mobile communication technology network standard are the full-band frequency points of the Long Term Evolution LTE.

[0360] Since the terminal device may currently be located in an area that does not cover the full frequency bands under the fifth-generation mobile communication technology network standard, the terminal device has not searched for the full frequency bands under the fifth-generation mobile communication technology network standard. In this case, the terminal device can also search for the frequency points of the network standard lower than the fifth-generation mobile communication technology, so as to facilitate determining the frequency point of the network standard lower than the new air interface frequency point as the first frequency point.

[0361] In some embodiments, the frequency point of the network standard lower than the fifth generation mobile communication technology may be a full-band frequency point under the fourth generation mobile communication technology network standard.

[0362] S414: Determine whether all frequency bands of the fourth generation mobile communication technology network standard have been found.

[0363] The terminal device searches for all frequency bands of the fourth-generation mobile communication technology network standard, and may or may not be able to find them.

[0364] When the area where the terminal device is currently located is covered by the frequency points under the fourth-generation mobile communication technology network standard and there is no signal interference, the terminal device can search for the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard.

[0365] When the area where the terminal device is currently located does not cover the frequencies under the fourth-generation mobile communication technology network standard, and there is signal interference, the terminal device may not be able to search for the full-band frequencies under the fourth-generation mobile communication technology network standard.

[0366] When the full-band frequency points under the fourth-generation mobile communication technology network standard are searched, the terminal device can execute S415; when the full-band frequency points under the fourth-generation mobile communication technology network standard are not searched, the terminal device can execute S416.

[0367] S415. When searching for frequency points of the full frequency band under the fourth generation mobile communication technology network standard, determine the frequency points of the full frequency band under the fourth generation mobile communication technology network standard as the first frequency point.

[0368] Among them, when searching for the full-band frequency points under the fourth-generation mobile communication technology network standard, the terminal device can determine the full-band frequency points under the fourth-generation mobile communication technology network standard as the first frequency point.

[0369] Therefore, when the terminal device searches for the full-band frequency points under the fourth-generation mobile communication technology network standard, it can determine the first frequency point, thereby maximizing the efficiency of searching for frequency points and ensuring that the first user identification module card in the user's terminal device can restore the network.

[0370] S416. When the full-band frequency points under the fourth-generation mobile communication technology network standard are not found, the search is for the frequency points of the network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology.

[0371] Since the terminal device may currently be located in an area that does not cover the frequencies under the fifth-generation mobile communication technology network standard, and may also not cover the frequencies under the fourth-generation mobile communication technology network standard, the terminal device has not searched for the full-band frequencies under the fifth-generation mobile communication technology network standard and the full-band frequencies under the fourth-generation mobile communication technology network standard. In this case, the terminal device can search for frequencies with network standards lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology.

[0372] In some embodiments, the frequency point of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology may be a 3G frequency point or a 2G frequency point.

[0373] S417: Determine a frequency point of the searched network standard that is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology as a first frequency point.

[0374] Among them, when searching for a frequency point where the network standard is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology, the terminal device can determine the frequency point where the network standard is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology as the first frequency point.

[0375] The frequency points of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology may be the frequency points of the third generation mobile communication technology and the second generation mobile communication technology.

[0376] Therefore, when the terminal device searches for a frequency that is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology, it can determine the first frequency, so that the user can search for the frequency in most areas, ensuring that the first user identification module card in the user's terminal device can restore the network.

[0377] S418: Register the first subscriber identity module card with the network according to the first frequency, so that the first subscriber identity module card can access the network.

[0378] Among them, S418 is implemented in a similar manner to S103 in the embodiment shown in FIG4 , and will not be described again here.

[0379] In the present application, the terminal device responds to the network search instruction and searches for the new air interface historical frequency point when there is a new air interface historical frequency point. When the new air interface historical frequency point is found, the new air interface historical frequency point can be determined as the first frequency point. It can be seen that when the new air interface historical frequency point exists and the new air interface historical frequency point is found, the terminal device can directly determine the new air interface historical frequency point as the first frequency point, thereby improving the efficiency of the frequency search, shortening the frequency search time, and ensuring that the first identification module card in the terminal device can quickly restore the network.

[0380] When there is no new air interface historical frequency point or no new air interface historical frequency point is searched, the terminal device can determine whether there is a long-term evolution historical frequency point, and when there is a long-term evolution historical frequency point, search for the long-term evolution historical frequency point, and when the long-term evolution historical frequency point is searched, the long-term evolution historical frequency point can be determined as the first frequency point. It can be seen that when there is no new air interface historical frequency point or the new air interface historical frequency point of the highest network standard is not searched, the terminal device can also search for the long-term evolution frequency point with the second highest network standard, and after searching for the long-term evolution historical frequency point, directly determine the long-term evolution historical frequency point as the first frequency point, thereby ensuring the efficiency of the frequency search and shortening the frequency search time. When the terminal device fails to search for the historical frequency point of the highest network standard, it can also search for the historical frequency point of the network standard that is one level lower than the highest network standard, thereby ensuring that the first identification module card in the terminal device can restore the network as soon as possible.

[0381] When there are no long-term evolution historical frequencies or when no long-term evolution historical frequencies are found, the terminal device can search for frequencies in the entire frequency band of the new air interface. When frequencies in the entire frequency band of the new air interface are found, the frequencies in the entire frequency band of the new air interface are determined as the first frequency. Thus, when the terminal device cannot search for historical frequencies of the highest network standard and the second-highest network standard, the terminal device can also search for frequencies in the entire frequency band of the highest network standard, thereby shortening the frequency search time as much as possible, improving the frequency search efficiency, and ensuring that the first identification module card in the terminal device can quickly restore the network.

[0382] When the full-band frequency of the NR is not searched, the terminal device can search the full-band frequency of the LTE. When the full-band frequency of the LTE is found, the full-band frequency of the LTE is determined as the first frequency. Therefore, when the terminal device cannot find the full-band frequency of the highest network standard, it can search the full-band frequency of the next highest network standard, thereby shortening the frequency search time as much as possible, improving the frequency search efficiency, and ensuring that the first identification module card in the terminal device can restore the network.

[0383] When the full-band LTE frequency band is not found, the terminal device can search for a frequency with a network standard lower than the NR frequency and the LTE frequency, and determine the searched frequency with a network standard lower than the NR frequency and the LTE frequency as the first frequency. It can be seen that when the terminal device cannot search for the frequency of the highest network standard and the second-highest network standard, it can still search for the frequency of the lower network standard, so that the user can search for the frequency in most areas where the terminal device is located, thereby ensuring that the first identification module card in the user's terminal device can restore the network.

[0384] The terminal device may first select the embodiment shown in FIG. 4-FIG 5 , and when the frequency point supported by the first SIM card cannot be found, continue to use the embodiment shown in FIG. 6-FIG 7 to search for the frequency point supported by the first SIM card.

[0385] The terminal device may first choose to use the embodiment shown in FIG6-FIG7, and when the frequency point supported by the first SIM card cannot be searched, continue to use the embodiment shown in FIG4-FIG5 to search for the frequency point supported by the first SIM card.

[0386] The terminal device may simultaneously select to adopt the embodiments shown in FIG. 4-FIG . 5 and the embodiments shown in FIG. 6-FIG . 7 to search for the frequency points supported by the first subscriber identity module card.

[0387] Taking into account the presence of an application on the terminal device that uses the network provided by the second user identification module card and whose maximum operating network speed is greater than or equal to a preset threshold, the terminal device can dynamically adjust the number of frequencies to be searched according to the current operating network speed of the application to increase the speed of searching for the frequencies supported by the first user identification module card. The terminal device can select the embodiments shown in Figures 4 and 5.

[0388] Considering that the terminal device and / or a storage device communicating with the terminal device may store historical frequency points searched last time, searching for such historical frequency points can increase the speed of searching for the frequency points supported by the first user identification module card. The terminal device can select the embodiments shown in Figures 6 and 7.

[0389] In addition, based on the description of the embodiments of Figures 4-5 and 6-7 above, the terminal device can also control the network search time by cutting the new air interface frequency band by combining the protocol frequency band, the relevant hardware capabilities of the terminal device and the frequency band supported by the user identification module card.

[0390] Illustratively, the present application also provides a network access device, which is applied to a terminal device, and the terminal device is configured with a first user identification module card and a second user identification module card.

[0391] Below, in conjunction with FIG8 , a network access device provided in an embodiment of the present application is described in detail.

[0392] Please refer to FIG8 , which shows a schematic block diagram of a network access device provided in an embodiment of the present application.

[0393] As shown in Figure 8, the network access device 500 can exist independently or be integrated into other devices. It can communicate with the above-mentioned terminal devices and is used to implement the operations corresponding to the terminal devices in the embodiments of the methods shown in Figures 4-5 above. The network access device 500 of the present application may include: a trigger module 501, a search module 502 and a registration module 503.

[0394] A trigger module 501 is configured to trigger a network search instruction when it is determined that the first subscriber identity module card is disconnected from the network;

[0395] A search module 502 is configured to respond to a network search instruction and search for frequencies supported by the first SIM card according to the current network speed of the target application, obtain a searched first frequency, and run the target application on the network provided by the second SIM card;

[0396] The registration module 503 is configured to register the first SIM card with the network according to the first frequency point, so that the first SIM card can access the network.

[0397] In some embodiments, the search module 502 is specifically configured to:

[0398] In response to a network search instruction, an application running on a network provided by a second user identification module card in a terminal device is determined; when the application belongs to an application whitelist, the application is determined as a target application, and the maximum operating network speed of each application in the application whitelist is greater than or equal to a preset threshold; based on the current operating network speed of the target application and multiple network speed thresholds associated with the target application, the number of frequency points to be searched is determined, and each application in the application whitelist is associated with multiple network speed thresholds, and the multiple network speed thresholds are determined based on the maximum operating network speed of each application; based on the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

[0399] In some embodiments, the total number of frequencies supported by the first user identification module card is one more than the number of multiple network speed thresholds, and the total number is related to the maximum frequency search capability supported by the modem chip corresponding to the first user identification module in the terminal device.

[0400] In some embodiments, the search module 502 is specifically configured to:

[0401] The current running network speed of the target application is compared with multiple network speed thresholds associated with the target application to obtain a comparison result; when the comparison result indicates that the current running network speed of the target application is greater than the maximum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be 1; when the comparison result indicates that the current running network speed of the target application is less than or equal to the second smallest network speed threshold among the multiple network speed thresholds, and greater than the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the number of multiple network speed thresholds; when the comparison result indicates that the current running network speed of the target application is less than or equal to the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the total number.

[0402] In some embodiments, the search module 502 is specifically configured to:

[0403] When there is no application in the terminal device that runs on the network provided by the second user identification module card, or the application does not belong to the application whitelist, the number of frequencies to be searched is determined to be the total number of frequencies supported by the first user identification module card, and the total number is related to the maximum frequency search capability that can be supported by the modem chip corresponding to the first user identification module in the terminal device.

[0404] In some embodiments, the network access device 500 further includes a startup module based on the structure shown in FIG8 .

[0405] In some embodiments, the startup module is configured to:

[0406] The terminal equipment equipped with the first subscriber identification module card and the second subscriber identification module card is controlled to start; and the first subscriber identification module card and the second subscriber identification module card are respectively registered on the network.

[0407] Illustratively, the present application also provides a network access device, which is applied to a terminal device, and the terminal device is configured with a first user identification module card and a second user identification module card.

[0408] 9 , a network access device provided in an embodiment of the present application will be described in detail.

[0409] Please refer to FIG. 9 , which shows a schematic block diagram of a network access device provided in an embodiment of the present application.

[0410] As shown in Figure 9, the network access device 600 can exist independently or be integrated into other devices. It can communicate with the above-mentioned terminal devices and is used to implement the operations corresponding to the terminal devices in the embodiments of the methods shown in Figures 6-7 above. The network access device 600 of the present application may include: a trigger module 601, a search module 602, and a registration module 603.

[0411] A trigger module 601 is configured to trigger a network search instruction when it is determined that the first subscriber identity module card is disconnected from the network;

[0412] A search module 602 is configured to respond to a network search instruction and search for frequencies under a network standard supported by the first subscriber identity module card in the order of first historical frequencies and then frequencies of the entire frequency band to obtain a searched first frequency;

[0413] The registration module 603 is configured to register the first SIM card with the network according to the first frequency point, so that the first SIM card can access the network.

[0414] In some embodiments, the search module 602 is specifically configured to:

[0415] In response to the network search instruction, a historical frequency point under the fifth generation mobile communication technology network standard is searched; when the historical frequency point under the fifth generation mobile communication technology network standard is searched, the historical frequency point under the fifth generation mobile communication technology network standard is determined as the first frequency point.

[0416] In some embodiments, the search module 602 is specifically configured to:

[0417] When there is no historical frequency point under the fifth-generation mobile communication technology network standard or the historical frequency point under the fifth-generation mobile communication technology network standard is not searched, the historical frequency point under the fourth-generation mobile communication technology network standard is searched; when the historical frequency point under the fourth-generation mobile communication technology network standard is searched, the historical frequency point under the fourth-generation mobile communication technology network standard is determined as the first frequency point.

[0418] In some embodiments, the search module 602 is specifically configured to:

[0419] When there are no historical frequency points under the fourth-generation mobile communication technology network standard or the historical frequency points under the fourth-generation mobile communication technology network standard are not searched, the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched; when the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched, the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are determined as the first frequency points.

[0420] In some embodiments, the search module 602 is specifically configured to:

[0421] When the full-band frequency points under the fifth-generation mobile communication technology network standard are not searched, the full-band frequency points under the fourth-generation mobile communication technology network standard are searched; when the full-band frequency points under the fourth-generation mobile communication technology network standard are searched, the full-band frequency points under the fourth-generation mobile communication technology network standard are determined as the first frequency points.

[0422] In some embodiments, the search module 602 is specifically configured to:

[0423] When the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard are not searched, the frequency points of the network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology are searched; the frequency points of the searched network standard lower than the fifth-generation mobile communication technology and the fourth-generation mobile communication technology are determined as the first frequency points.

[0424] In some embodiments, the network access device 600 further includes a startup module based on the structure shown in FIG9 .

[0425] In some embodiments, the startup module is configured to:

[0426] The terminal equipment equipped with the first subscriber identification module card and the second subscriber identification module card is controlled to start; and the first subscriber identification module card and the second subscriber identification module card are respectively registered on the network.

[0427] Exemplarily, the present application provides a terminal device, comprising a processor; when the processor executes computer code or instructions in the memory, the terminal device executes the network access method in the foregoing embodiment.

[0428] Exemplarily, the present application provides a terminal device comprising one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the terminal device executes the network access method in the foregoing embodiment.

[0429] It is understandable that, in order to implement the above functions, the terminal device includes hardware and / or software modules that perform the corresponding functions. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0430] In this embodiment, the terminal device can be divided into functional modules according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a single processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the module division in this embodiment is illustrative and only represents a logical functional division. In actual implementation, other division methods may be used.

[0431] In the case where the functional modules are divided according to their respective functions, the terminal device involved in the above embodiments may further include: a trigger module, a search module, and a registration module. The trigger module, the search module, and the registration module cooperate with each other to support the terminal device in executing the above steps and / or other processes of the technology described herein.

[0432] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0433] The terminal device provided in this embodiment is used to execute the above-mentioned network access method, and thus can achieve the same effect as the above-mentioned implementation method.

[0434] Exemplarily, the present application provides a chip system, which includes a processor for calling and running a computer program from a memory, so that a terminal device equipped with the chip system executes the network access method in the above embodiment.

[0435] Exemplarily, the present application provides a computer-readable storage medium, in which codes or instructions are stored. When the codes or instructions are executed on a terminal device, the terminal device implements the network access method in the foregoing embodiment when executing the codes or instructions.

[0436] Exemplarily, the present application provides a computer program product, which, when executed on a computer, enables a terminal device to implement the network access method in the foregoing embodiment.

[0437] Among them, the terminal device, computer-readable storage medium, computer program product or chip system provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0438] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0439] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0440] Units described as separate components may or may not be physically separate, and components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0441] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0442] If the integrated 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 readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0443] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A network access method, It is characterized in that Applied to a terminal device, the terminal device is configured with a first user identification module card and a second user identification module card; the method comprises: When it is determined that the first SIM card is disconnected from the network, triggering a network search instruction; In response to the network search instruction, searching for the frequency points supported by the first subscriber identification module card according to the current running network speed of the target application, obtaining the searched first frequency point, and the target application running under the network provided by the second subscriber identification module card; The first subscriber identification module card is registered with a network according to the first frequency point, so that the first subscriber identification module card can access a network.

2. The method according to claim 1, It is characterized in that The step of responding to the network search instruction and searching for a frequency point supported by the first user identification module card according to a current running network speed of a target application to obtain the searched first frequency point includes: In response to the network search instruction, determining an application in the terminal device that runs on the network provided by the second subscriber identification module card; When the application belongs to an application whitelist, the application is determined as the target application, and the maximum operating network speed of each application in the application whitelist is greater than or equal to a preset threshold; Determine the number of frequency points to be searched according to the current running network speed of the target application and multiple network speed thresholds associated with the target application, each application in the application whitelist is associated with multiple network speed thresholds, and the multiple network speed thresholds are determined according to the maximum running network speed of each application; According to the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

3. The method according to claim 2, It is characterized in that When the total number of frequency points supported by the first user identification module card is one more than the number of the multiple network speed thresholds, and the total number is related to the maximum frequency point search capability that can be supported by the modem chip corresponding to the first user identification module in the terminal device, the determining the number of frequency points to be searched according to the current running network speed of the target application and the multiple network speed thresholds associated with the target application includes: Comparing the current running network speed of the target application with a plurality of network speed thresholds associated with the target application to obtain a comparison result; When the comparison result indicates that the current running network speed of the target application is greater than the maximum network speed threshold among the multiple network speed thresholds, determining the number of frequency points to be searched is 1; When the comparison result indicates that the current running network speed of the target application is less than or equal to the second smallest network speed threshold among the multiple network speed thresholds, and greater than the smallest network speed threshold among the multiple network speed thresholds, determining that the number of frequency points to be searched is the number of the multiple network speed thresholds; When the comparison result indicates that the current running network speed of the target application is less than or equal to the minimum network speed threshold among the multiple network speed thresholds, the number of frequency points to be searched is determined to be the total number.

4. The method according to claim 2 or 3, It is characterized in that The method further comprises: When the application running on the network provided by the second user identification module card does not exist in the terminal device, or the application does not belong to the application whitelist, the number of frequency points to be searched is determined to be the total number of frequency points supported by the first user identification module card, and the total number is related to the maximum frequency point search capability that can be supported by the modem chip corresponding to the first user identification module in the terminal device.

5. The method according to any one of claims 1 to 4, It is characterized in that When it is determined that the first SIM card is disconnected from the network, before triggering the network search instruction, the method further includes: Controlling the terminal device equipped with the first subscriber identification module card and the second subscriber identification module card to start; The first subscriber identification module card and the second subscriber identification module card are respectively registered with the network.

6. A network access method, It is characterized in that Applied to a terminal device, the terminal device is configured with a first user identification module card and a second user identification module card; the method comprises: When it is determined that the first SIM card is disconnected from the network, triggering a network search instruction; In response to the network search instruction, searching for frequencies under the network standard supported by the first subscriber identity module card in the order of historical frequencies first and frequencies of the entire frequency band, to obtain a searched first frequency; The first subscriber identification module card is registered with a network according to the first frequency point, so that the first subscriber identification module card can access a network.

7. The method according to claim 6, It is characterized in that In response to the network search instruction, searching for the frequency points under the network standard supported by the first user identification module card in the order of first the historical frequency points and then the frequency points of the full frequency band to obtain the searched first frequency point, including: In response to the network search instruction, searching for historical frequency points under the fifth generation mobile communication technology network standard; When a historical frequency point under the fifth-generation mobile communication technology network standard is searched, the historical frequency point under the fifth-generation mobile communication technology network standard is determined as the first frequency point.

8. The method according to claim 7, It is characterized in that The method further comprises: When there is no historical frequency point under the fifth-generation mobile communication technology network standard or the historical frequency point under the fifth-generation mobile communication technology network standard is not searched, searching for the historical frequency point under the fourth-generation mobile communication technology network standard; When a historical frequency point under the fourth-generation mobile communication technology network standard is searched, the historical frequency point under the fourth-generation mobile communication technology network standard is determined as the first frequency point.

9. The method according to claim 8, It is characterized in that The method further comprises: When there is no historical frequency point under the fourth-generation mobile communication technology network standard or the historical frequency point under the fourth-generation mobile communication technology network standard is not searched, searching for the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard; When the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are searched, the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are determined as the first frequency points.

10. The method according to claim 9, It is characterized in that The method further comprises: When the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard are not found, searching for the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard; When the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard are searched, the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard are determined as the first frequency points.

11. The method according to claim 10, It is characterized in that The method further comprises: When the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are not found, searching for the frequency points of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology; The searched network standard is lower than the frequency point of the fifth generation mobile communication technology and the fourth generation mobile communication technology. is the first frequency point.

12. The method according to any one of claims 6 to 11, It is characterized in that When it is determined that the first SIM card is disconnected from the network, before triggering the network search instruction, the method further includes: Controlling the terminal device equipped with the first subscriber identification module card and the second subscriber identification module card to start; The first subscriber identification module card and the second subscriber identification module card are respectively registered with the network.

13. A network access device, It is characterized in that The network access device includes a device for executing the network access method as described in any one of claims 1-5, and / or the network access method as described in any one of claims 6-10.

14. A terminal device, It is characterized in that include: one or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the terminal device executes the network access method as described in any one of claims 1 to 5, and / or the network access method as described in any one of claims 6 to 12.

15. A chip system, It is characterized in that The chip system includes a processor for calling and running a computer program from a memory, so that a terminal device equipped with the chip system executes the network access method as described in any one of claims 1 to 5, and / or the network access method as described in any one of claims 6 to 12.

16. A computer-readable storage medium comprising a computer program, It is characterized in that When the computer program runs on a terminal device, the terminal device executes the network access method according to any one of claims 1 to 5 and / or the network access method according to any one of claims 6 to 12.

Citation Information

Patent Citations

  • Network searching control method, network searching control device and mobile terminal

    CN108632930A

  • Network searching method and related device

    CN114071655A

  • Network searching method and device in multi-card mode and terminal equipment

    CN114125991A

  • Network switching method and device, electronic equipment and storage medium

    CN114401538A

  • Network access method and terminal equipment

    CN117135721A