Network access method and terminal equipment

By adjusting the frequency search strategy in the terminal device according to the operating network speed and load conditions, the problem of slow search network speed after the secondary card is disconnected is solved, and network connections are quickly restored and user experience is improved.

CN117135721BActive Publication Date: 2024-12-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310166402.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-12-27
Estimated Expiration
2043-02-20

AI Technical Summary

Technical Problem

After the sub-card is disconnected from the network, the speed of searching the network is slower, resulting in the sub-card dropping for a long time and not recovering, affecting the user experience.

Method used

When triggering the search command in the terminal device, dynamically adjust the number of frequency points searches and search order according to the current operating network speed and network load of the target application, give priority to searching historical frequency points and efficient frequency bands, and improve frequency point search speed.

Benefits of technology

It significantly shortens the time for the secondary card to re-connect to the network, improves the user experience and search frequency efficiency, and ensures that the terminal equipment quickly restores network connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117135721B_ABST
    Figure CN117135721B_ABST
Patent Text Reader

Abstract

The present application provides a network access method and terminal equipment, the method is applied to the terminal equipment, the terminal equipment is configured with a first user identification module card and a second user identification module card; the method includes: when determining that the first user identification module card is disconnected from the network, triggering a network search instruction; in response to the network search instruction, the frequency points supported by the first user identification module card can be searched according to the current running network speed of the target application, and the frequency points under the network standard supported by the first user identification module card can also be searched according to the order of the historical frequency points and the full-band frequency points, and the searched first frequency points are obtained; according to the first frequency point, the first user identification module card is registered with the network so that the first user identification module card can access the network. Thus, the present application ensures that the first user identification module card recovers the network as soon as possible by increasing the speed of searching the frequency points, thereby improving the user's experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] 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.

[0003] At present, for terminal devices that support dual 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 in 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 the network according to the searched frequency, allowing the secondary card to reconnect to the network.

[0004] 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. Summary of the invention

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

[0006] 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:

[0007] When it is determined that the first SIM card is disconnected from the network, triggering a network search instruction;

[0008] In response to the network search instruction, searching for the frequency points supported by the first user identification module card according to the current running network speed of the target application, obtaining the searched first frequency point, and the target application runs under the network provided by the second user identification module card;

[0009] According to the first frequency point, the first subscriber identification module card is registered with the network so that the first subscriber identification module card can access 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 search the network 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 complete the search for the frequency supported by the first user identification module card more quickly according to the network load of the second user identification module card.

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

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

[0014] In response to the network search instruction, determining an application in the terminal device that runs on the network provided by the second subscriber identity module card;

[0015] When the application belongs to the 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;

[0016] The number of frequency points to be searched is determined according to the current 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, which are determined according to the maximum network speed of each application.

[0017] According to the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

[0018] 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 a preset threshold.

[0019] 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 beneficial to improving the network search speed.

[0020] In combination with the first aspect, in some implementations of the first aspect, when 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 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, 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:

[0021] 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;

[0022] 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 that the number of frequency points to be searched is 1;

[0023] 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;

[0024] 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.

[0025] 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 a comparison result, so as to facilitate determining the load of the second user identification module card according to the comparison result. Therefore, the number of frequency points to be searched can be dynamically adjusted according to the load of the second user identification module card.

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

[0027] When there is no application running on the network provided by the second user identification module card in the terminal device, 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 supported by the modem chip corresponding to the first user identification module in the terminal device.

[0028] In the above method, when 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.

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

[0030] 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.

[0031] In combination with the first aspect, in some implementations of the first aspect, when it is determined that the first user identification module card is disconnected from the network, before triggering the network search instruction, the method further includes:

[0032] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0033] The first SIM card and the second SIM card are respectively registered with the network.

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

[0035] 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:

[0036] When it is determined that the first SIM card is disconnected from the network, triggering a network search instruction;

[0037] 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, and obtaining the searched first frequency point;

[0038] According to the first frequency point, the first subscriber identification module card is registered with the network so that the first subscriber identification module card can access the network.

[0039] 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.

[0040] 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.

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

[0042] In response to the network search instruction, searching for historical frequency points under the fifth generation mobile communication technology network standard;

[0043] 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.

[0044] 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, which improves the efficiency of searching for frequencies, saves the time of searching for frequencies, and ensures that the user's terminal equipment can restore the network as soon as possible.

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

[0046] 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;

[0047] 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.

[0048] 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 whose network standard 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 whose network standard 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.

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

[0050] 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, search for the frequency points of the full frequency band under the fifth generation mobile communication technology network standard;

[0051] 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.

[0052] 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, so as to shorten the search time of the frequency points as much as possible, improve the efficiency of the search frequency points, and ensure that the user's terminal equipment can restore the network faster.

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

[0054] When the frequency points of the full frequency band under the fifth generation mobile communication technology network standard are not searched, the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are searched;

[0055] 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.

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

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

[0058] When the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are not found, the frequency points of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology are searched;

[0059] The frequency point of the searched network standard which is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology is determined as the first frequency point.

[0060] 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.

[0061] In conjunction with the second aspect, in some implementations of the second aspect, when it is determined that the first subscriber identification module card is disconnected from the network, before triggering the network search instruction, the method further includes:

[0062] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0063] The first SIM card and the second SIM card are respectively registered with the network.

[0064] 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.

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

[0066] A trigger module, used to trigger a network search instruction when it is determined that the first user identification module card is disconnected from the network;

[0067] A search module, for responding to a network search instruction, searching for a frequency point supported by the first user identification module card according to the current network speed of the target application, obtaining the searched first frequency point, and the target application running under the network provided by the second user identification module card;

[0068] 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.

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

[0070] In response to the network search instruction, determining an application in the terminal device that runs on the network provided by the second subscriber identity module card;

[0071] When the application belongs to the 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;

[0072] The number of frequency points to be searched is determined according to the current 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, which are determined according to the maximum network speed of each application.

[0073] According to the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

[0074] In combination with the third aspect, in some implementations of the third aspect, when 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 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 search module is specifically used to:

[0075] 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;

[0076] 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 that the number of frequency points to be searched is 1;

[0077] 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;

[0078] 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.

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

[0080] When there is no application running on the network provided by the second user identification module card in the terminal device, 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 supported by the modem chip corresponding to the first user identification module in the terminal device.

[0081] In combination with the third aspect, in some implementations of the third aspect, the device further includes a startup module, and the startup module is used to:

[0082] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0083] The first SIM card and the second SIM card are respectively registered with the network.

[0084] 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.

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

[0086] A trigger module, used to trigger a network search instruction when it is determined that the first user identification module card is disconnected from the network;

[0087] A search module, for responding to a network search instruction, searching for frequencies under a network standard supported by the first user identification module card in the order of first historical frequencies and then frequencies of the entire frequency band, to obtain a searched first frequency;

[0088] 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.

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

[0090] In response to the network search instruction, searching for historical frequency points under the fifth generation mobile communication technology network standard;

[0091] 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.

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

[0093] 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;

[0094] 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.

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

[0096] When there is no historical frequency point under the fourth generation mobile communication technology network standard, searching for the frequency points of the full frequency band under the fifth generation mobile communication technology network standard;

[0097] 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.

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

[0099] When the frequency points of the full frequency band under the fifth generation mobile communication technology network standard are not searched, the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are searched;

[0100] 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.

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

[0102] When the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are not found, the frequency points of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology are searched;

[0103] The frequency point of the searched network standard which is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology is determined as the first frequency point.

[0104] In combination with the fourth aspect, in some implementations of the third aspect, the device further includes a startup module, and the startup module is used to:

[0105] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0106] The first SIM card and the second SIM card are respectively registered with the network.

[0107] In a fifth aspect, 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 first aspect and any possible design of the first aspect.

[0108] 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 the one or more processors, the terminal device executes the network access method in the first aspect and any possible design of the first aspect.

[0109] In a 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.

[0110] 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 in the first aspect and any possible design of the first aspect.

[0111] In a ninth aspect, the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the network access method in the first aspect and any possible design of the first aspect.

[0112] 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

[0113] Figure 1 A schematic diagram of the relationship between a terminal device and a base station provided in an embodiment of the present application;

[0114] Figure 2 A schematic diagram of the structure of a terminal device provided in one embodiment of the present application;

[0115] Figure 3 A schematic diagram of the structure of a terminal device provided in one embodiment of the present application;

[0116] Figure 4 A flowchart of a network access method provided in one embodiment of the present application;

[0117] Figure 5A flowchart of a network access method provided in one embodiment of the present application;

[0118] Figure 6 A flowchart of a network access method provided in one embodiment of the present application;

[0119] Figure 7 A flowchart of a network access method provided in one embodiment of the present application;

[0120] Figure 8 A schematic diagram of the structure of a network access device provided in one embodiment of the present application;

[0121] Fig. 9 A schematic diagram of the structure of a network access device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0122] In this application, "at least one" means one or more, and "plurality" means 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: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects 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 items or plural items. For example, at least one of a, b, or c alone can represent: a, b, c, a and b, a and c, or a, b, and c, where a, b, and c can be single or multiple. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

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

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

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

[0126] 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 one subscriber identification module card is the primary card.

[0127] 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 as the primary card and the other SIM card as the secondary card.

[0128] The two SIM cards mentioned above may be from the same operator or different operators.

[0129] 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, the fourth-generation mobile communication technology (4G), the third-generation mobile communication technology (3G), and the second-generation mobile communication technology (2G) network standards.

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

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

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

[0133] Figure 1A schematic diagram of a communication system architecture applicable to an embodiment of the present application is exemplarily shown, and the communication system may include a terminal device 100 and a base station 200.

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

[0135] Taking the example that the terminal device 100 supports SIM card 1 and SIM card 2, the operator networks to which SIM card 1 and SIM card 2 belong may be the same or different.

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

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

[0138] 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.

[0139] 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.

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

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

[0142] 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.

[0143] 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 initiates registration in the cell after successful access.

[0144] 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.

[0145] 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.

[0146] 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 each 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.

[0147] Among them, the new radio (NR) has a slow search due to its wide bandwidth, especially the N78 has a relatively wide bandwidth. When searching for frequencies in the full frequency band, the search time is long; in addition, under the dual-card feature, in order to ensure the throughput experience of the main card, the secondary card NR full-frequency search is reduced from searching multiple frequencies at a time to one frequency; when searching for frequencies in the full frequency band of NR, the search time is extended from 20-30s to 90-120s.

[0148] In view of the above problems, the present application can provide a network access method, a network access device, a terminal device, a chip system, a computer-readable storage medium and a computer program product, and the network access method is applied to the terminal device. Thus, the terminal device can search for frequencies with the help of the network load of the main card, and the terminal device can also search for frequencies in the order of historical frequencies first and then frequencies of the full frequency band to improve the speed of searching for frequencies, thereby ensuring the speed of the secondary card re-accessing the network, shortening the time for the secondary card to restore the network, and improving the user experience.

[0149] Among them, the terminal device can be configured with a main card and at least one secondary card.

[0150] 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.

[0151] For ease of explanation, Figure 2 In the figure, the terminal device 100 is taken as a mobile phone as an example for illustration.

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

[0153] The processor 101 may include one or more processing units, for example, the processor 101 may include 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 processor (NPU), etc. Different processing units may be independent devices or integrated into one or more processors 101.

[0154] The controller may be the nerve center and command center of the terminal device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0155] The processor 101 may also be provided with a memory for storing instructions and data.

[0156] In some embodiments, the memory in the processor 101 is a cache memory. The memory can store instructions or data that the processor 101 has just used or cyclically used. If the processor 101 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 101, and thus improves the efficiency of the system.

[0157] In some embodiments, the processor 101 may include one or more interfaces. The interface 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, etc.

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

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

[0160] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

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

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

[0163] 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 charges the battery 109, it may also power the terminal device 100 via the power management module 108.

[0164] 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 supplies 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 number, and battery health status (leakage, impedance).

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

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

[0167] 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 through the external memory interface 105 to implement a data storage function. For example, files such as music and video streams are stored in the external memory card.

[0168] The internal memory 104 can be used to store computer executable program codes, and the executable program codes include 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 memory (UFS), etc.

[0169] 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 sensing and / or acquisition functions for different signals.

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

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

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

[0173] It is understandable that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 100 .

[0174] In other embodiments, the terminal device 100 may include more or fewer components than shown, or combine some components, or split 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.

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

[0176] A plurality of applications may be installed in the application layer 201, which may include a camera application for realizing a shooting function. The camera application refers to a computer program that runs on an operating system and can perform a photo-taking task. When the format of the camera application is an Android application package (APK) format, the camera application may run on an Android operating system. In an embodiment of the present application, the camera application may be an application with a shooting function. For example, an application with the function of sharing short videos may be used as a camera application in an embodiment of the present application if it has a shooting function.

[0177] 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 enable the interaction between the operating system and the hardware circuit at the logical layer. In the embodiment of the present application, the hardware abstraction layer 202 may include a camera hardware abstraction layer (camera HAL) that enables the interaction between the camera application and the image sensor at the logical layer.

[0178] The driver layer 203 may be installed with a plurality of drivers for driving the hardware.

[0179] 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.

[0180] 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 the present application.

[0181] Next, combine Figure 4-Figure 5 ,as well as Figure 6-Figure 7 , two feasible implementation methods of network access are introduced respectively.

[0182] Figure 4-Figure 5 In the process, the terminal device searches for the frequency point by means of the network load of the second user identification module to improve the speed of searching the frequency point, so that the first user identification module card can recover the network as soon as possible.

[0183] Figure 6-Figure 7 In the process, 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, so that the first user identification module card can recover the network as soon as possible.

[0184] See also Figure 4 , Figure 4A flow chart of a network access method provided in an embodiment of the present application is shown.

[0185] like Figure 4 As shown, the network access method provided by the present application may include:

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

[0187] The terminal device may be configured with one user identification module card or two user identification module cards.

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

[0189] When two user identification module cards are configured in the terminal device, the mobile data card in the terminal device may be a first user identification module card or a second user identification module card.

[0190] In addition, when two SIM cards are configured in the terminal device, the two SIM cards may be from the same operator or different operators.

[0191] This application does not limit the operators of the two user identification module cards in the terminal device supporting dual cards.

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

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

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

[0195] 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, etc.

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

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

[0198] Among them, the network search is used to instruct the terminal device to search for the frequency point of the terminal device through the modem corresponding to the user identification module card, and initiate a registration process with the base station according to the searched frequency point.

[0199] 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.

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

[0201] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0202] The first SIM card and the second SIM card are respectively registered with the network.

[0203] When the first user identification module card and the second user identification module card are configured in the terminal device, after the terminal device controls the terminal device configured with the first user identification module card and the second user identification module card to start, the terminal device can search for frequency points and perform network registration for the first user identification module card and the second user identification module card respectively, so as to facilitate the first user identification module card and the second user identification module card to access the network.

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

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

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

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

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

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

[0210] 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 its operation.

[0211] Each application in the terminal device runs at a different network speed.

[0212] In some embodiments, the terminal device may determine the network load of the second subscriber identification module card serving as a mobile data card through the current network speed of the target application.

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

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

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

[0216] The network registration is used to indicate that the terminal device registers the first user identification module card to the base station corresponding to the frequency point according to the searched frequency point.

[0217] 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 user identification module card in the terminal device can enter a normal standby state or perform telephone services.

[0218] Therefore, after determining the first frequency point, 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, thereby ensuring that the first SIM card can recover the network as soon as possible.

[0219] The network access method provided by the present application triggers a network search instruction when it is determined that the first user identification module card is disconnected from the network, thereby preparing for the terminal device to search for the frequency points supported by the first user identification module card based on the search instruction.

[0220] 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.

[0221] 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, it can be ensured that the first SIM card can restore the network as soon as possible, thereby improving the user experience.

[0222] Based on the above Figure 4According to the description of the illustrated embodiment, the terminal device can use a whitelist to filter 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 determine the number of frequency points to be searched based on the network load of the second user identification module card of the terminal device.

[0223] Next, combine Figure 5 , which introduces in detail the specific implementation process of the network access method of this application.

[0224] See also Figure 5 , Figure 5 A flow chart of a network access method provided in an embodiment of the present application is shown.

[0225] like Figure 5 As shown, the network access method provided by the present application may include:

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

[0227] Among them, S201 and Figure 4 The implementation of S101 in the exemplary embodiment is similar and will not be described again here.

[0228] 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.

[0229] According to the network search instruction, the terminal device can determine that the current first SIM card is disconnected from the network and needs to reconnect the first SIM card to the network.

[0230] 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 in the terminal device.

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

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

[0233] When an application running on the network provided by the second SIM card is not used in the terminal device, there is no application running on the network provided by the second SIM card in the terminal device.

[0234] When one or more applications running on the network provided by the second SIM card are running in the terminal device, there are applications running on the network provided by the second SIM card in the terminal device.

[0235] For example, a video application is running in the terminal device, and the video application is running under 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.

[0236] For example, a video application and a chat application are simultaneously running in the terminal device, and both the video application and the chat application are running in the network provided by the second SIM card, then there are two applications in the terminal device that run in the network provided by the second SIM card.

[0237] When there is no application running on the network provided by the second SIM card in the terminal device, the terminal device may execute 203; 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.

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

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

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

[0241] The first user identification module card in the terminal device can communicate with the base station through the first modem to search for frequency points, and the second user identification module card in the terminal device can communicate with the base station through the second modem to search for frequency points.

[0242] For example, when the maximum frequency search capability supported by the first modem chip corresponding to the first SIM card is used to indicate 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 frequencies.

[0243] Thus, when there is no application in the terminal device that runs on the network provided by the second user identification module card, 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.

[0244] S204: Determine an application in the terminal device that is run on the network provided by the second SIM card.

[0245] There may be one or more applications in the terminal device that run on the network provided by the second SIM card.

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

[0247] 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.

[0248] 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 certain video application, and the video application runs on the network provided by the second SIM card.

[0249] 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.

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

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

[0252] When there are multiple applications running on the network provided by the second user 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.

[0253] The application whitelist is used to filter applications that use 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.

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

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

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

[0257] If the maximum operating network speed of a chat application is 60 Mbps, then the video application does not belong to the application whitelist.

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

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

[0260] Among them, S206 and Figure 4 The implementation of S203 in the exemplary embodiment is similar and will not be described again here.

[0261] In addition, similarly, when an 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.

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

[0263] 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.

[0264] 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.

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

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

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

[0268] The number of network speed thresholds associated with target application 2 is n, namely Threshold 1-2, Threshold 2-2, and Threshold n-2.

[0269] The number of network speed thresholds associated with target application 3 is n, namely Threshold 1-3, Threshold 2-3, and Threshold n-3.

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

[0271] Each network speed threshold is determined according to the maximum network speed required for running each application.

[0272] 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.

[0273] The difference between two adjacent network speed thresholds may be any positive integer.

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

[0275] 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 result.

[0276] Assume that 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.

[0277] 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.

[0278] 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.

[0279] 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.

[0280] 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 points supported by the first user identification module card, the terminal device can determine the number of frequency points to be searched to be 1.

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

[0282] 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.

[0283] 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 100 Mbps among multiple network speed thresholds, then the terminal device can determine that the number of frequency points to be searched is 1.

[0284] 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.

[0285] 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 relatively 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.

[0286] 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 user identification module card.

[0287] Assume that 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.

[0288] 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.

[0289] 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.

[0290] 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.

[0291] 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.

[0292] 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.

[0293] 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.

[0294] 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.

[0295] Combining S209, S210 and S211, it can be seen that when the second user identification module as a mobile data card is stuck in a high load scenario, the number of frequency points to be searched is small; similarly, when the second user identification module as a mobile data card is stuck in a low load scenario, the number of frequency points to be searched is large.

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

[0297] 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.

[0298] S212: According to the number of frequency points to be searched, determine the searched frequency point as the first frequency point.

[0299] 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.

[0300] 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.

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

[0302] In addition, the terminal device may also 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 searched frequency point is determined as the first frequency point.

[0303] For example, the terminal device performs a first search according to the number of frequencies to be searched, and after the first search, a frequency supported by the first SIM card is found. Then, the terminal device may determine the frequency found in the first search as the first frequency.

[0304] 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 may perform a second search. After the second search, the terminal device finds the frequency supported by the first user identification module card. The terminal device may determine the frequency found in the second search as the first frequency.

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

[0306] Among them, S213 and Figure 4 The implementation of S103 in the exemplary embodiment is similar and will not be described in detail here.

[0307] 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 according to the comparison results of the current running network speed of the target application and multiple network speed thresholds associated with the target application.

[0308] 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 according to 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.

[0309] 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 searched, 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 according to 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 according to the precise number of frequency points to be searched, thereby ensuring the efficiency of the terminal device in searching for frequency points and improving the speed at which the first user identification module card recovers the network.

[0310] In addition, when there is no application in the terminal device that runs on the network provided by the second user identification module card, 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 according to 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 for a large number of frequencies at one 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.

[0311] 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 the present application.

[0312] See also Figure 6 , Figure 6 A flow chart of a network access method provided in an embodiment of the present application is shown.

[0313] like Figure 6 As shown, the network access method provided by the present application may include:

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

[0315] Among them, S301 and Figure 4 The implementation of S101 in the illustrated embodiment is similar and will not be described in detail here.

[0316] 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.

[0317] Among them, the historical frequency is the frequency searched last time.

[0318] 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.

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

[0320] 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.

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

[0322] 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.

[0323] 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.

[0324] In some embodiments, the terminal device may search for frequencies under the network standard supported by the first SIM card in combination with the order of multiple network standards from high to low and the order of historical frequencies first and then frequencies of the full frequency band.

[0325] Among them, when searching for frequencies in order from high to low network standards and in 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.

[0326] For example, the terminal device may first search for the historical frequency points of the new air interface, and determine them as the first frequency points when they are found; if they are not found, it may search for the historical frequency points of the long-term evolution, and determine them as the first frequency points when they are found; if they are not found, it may search for the frequency points of the entire frequency band of the new air interface, and determine them as the first frequency points when they are found; if they are not found, it may 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.

[0327] In other embodiments, the terminal device may also search for frequencies under the network standard supported by the first SIM card in combination with the order of multiple network standards from low to high and the order of historical frequencies first and then frequencies of the full frequency band.

[0328] 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 of the full frequency band of long term evolution, frequencies of the full frequency band of new air interface, long term evolution historical frequencies, and new air interface historical frequencies.

[0329] In other embodiments, the terminal device may also search for frequencies under the network standard supported by the first SIM card in combination with the order of any arrangement of multiple network standards and the order of historical frequencies first and then frequencies of the full frequency band.

[0330] For example, the terminal device may first search for the frequency points of the entire frequency band of the new air interface, and determine the first frequency point when the search is successful; if the search is not successful, search the historical frequency points of the new air interface, and determine the first frequency point when the search is successful; if the search is not successful, search the historical frequency points of the long-term evolution, and determine the first frequency point when the search is successful; if the search is not successful, search 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.

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

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

[0333] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0334] The first user identification module card and the second user identification module card are registered with the network respectively. When the first user identification module card and the second user identification module card are configured in the terminal device, after the terminal device controls the terminal device configured with the first user identification module card and the second user identification module card to start, the terminal device can search for frequency points and register the first user identification module card and the second user identification module card with the network respectively, so as to facilitate the first user identification module card and the second user identification module card to access the network.

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

[0336] Among them, S303 and Figure 4 The implementation of S103 in the exemplary embodiment is similar and will not be described in detail here.

[0337] The network access method provided by the present application, the terminal device responds to the network search instruction, 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 entire frequency band, and obtains the searched first frequency point. In this way, when there is a historical frequency point, 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.

[0338] Based on the above Figure 6 As described in the illustrated embodiment, the terminal device can 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 entire frequency band.

[0339] Next, combine Figure 7 , which introduces in detail the specific implementation process of the network access method of this application.

[0340] See also Figure 7 , Figure 7 A flow chart of a network access method provided in an embodiment of the present application is shown.

[0341] like Figure 7 As shown, the network access method provided by the present application may include:

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

[0343] Among them, S401 and Figure 4 The implementation of S101 in the exemplary embodiment is similar and will not be described again here.

[0344] 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.

[0345] 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.

[0346] 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.

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

[0348] 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 historical frequency point because the new air interface frequency point is not found.

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

[0350] 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.

[0351] 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.

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

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

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

[0355] 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.

[0356] S405: 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.

[0357] 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.

[0358] 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 for 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.

[0359] S406: 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, determine whether there is a historical frequency point under the fourth-generation mobile communication technology network standard.

[0360] 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.

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

[0362] Among them, the historical frequency points under the fourth-generation mobile communication technology network standard are the long-term evolution LTE frequency points searched and saved last time.

[0363] When the long-term evolution frequency point is searched during the last network search, the terminal device can 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.

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

[0365] 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.

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

[0367] 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.

[0368] 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.

[0369] 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.

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

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

[0372] 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.

[0373] S409: 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.

[0374] 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.

[0375] As a result, the terminal device can directly determine the first frequency point when there are historical frequencies under the fourth-generation mobile communication technology network standard and the historical frequencies 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 for searching for frequencies, and ensuring that the first user identification module card in the user's terminal device can quickly restore the network.

[0376] S410: 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 found, search for the frequency points of the full frequency band under the fifth-generation mobile communication technology network standard.

[0377] 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.

[0378] Since there may be no 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, 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 are determined as the first frequency points.

[0379] S411. Determine whether full-band frequency points under the fifth-generation mobile communication technology network standard are searched.

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

[0381] 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 full-band frequency points under the fifth-generation mobile communication technology network standard.

[0382] 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.

[0383] 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.

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

[0385] 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.

[0386] Therefore, the terminal device can determine the first frequency point 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, thereby improving the efficiency of searching for frequencies, shortening the time for 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.

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

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

[0389] Since the terminal device may currently be located in an area that does not cover the full-band frequencies under the fifth-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. In this case, the terminal device may also search for frequencies in a network standard lower than the fifth-generation mobile communication technology, so as to determine the frequencies in the network standard that are lower than the new air interface frequencies as the first frequencies.

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

[0391] S414: Determine whether the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are searched.

[0392] The terminal device searches for the frequency points of the full frequency band under the fourth-generation mobile communication technology network standard, and may or may not be able to search for them.

[0393] 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 full-band frequency points under the fourth-generation mobile communication technology network standard.

[0394] 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.

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

[0396] S415. When searching for the 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.

[0397] 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.

[0398] 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 the frequency points and ensuring that the first user identification module card in the user's terminal device can restore the network.

[0399] S416. When the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are not found, the frequency points of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology are searched.

[0400] 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 may search for frequencies whose network standards are lower than those of the fifth-generation mobile communication technology and the fourth-generation mobile communication technology.

[0401] 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.

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

[0403] 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.

[0404] 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.

[0405] Therefore, when the terminal device searches for a network standard lower than the frequency of 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.

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

[0407] Among them, S418 and Figure 4 The implementation of S103 in the exemplary embodiment is similar and will not be described in detail here.

[0408] In the present application, the terminal device responds to the network search instruction, searches for the new air interface historical frequency point when there is a new air interface historical frequency point, and when the new air interface historical frequency point is searched, 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 searched, the terminal device can directly determine the new air interface historical frequency point as the first frequency point, which improves the efficiency of searching for frequency points, shortens the time of searching for frequency points, and ensures that the first identification module card in the terminal device can quickly restore the network.

[0409] When there is no new air interface historical frequency point or the new air interface historical frequency point is not searched, the terminal device can determine whether there is a long-term evolution historical frequency point. When there is a long-term evolution historical frequency point, search for the long-term evolution historical frequency point. 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, which ensures the efficiency of searching for frequencies and shortens the time of searching for frequencies, so that 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, ensuring that the first identification module card in the terminal device can restore the network as soon as possible.

[0410] When there is no long-term evolution historical frequency point or the long-term evolution historical frequency point is not searched, the terminal device can search for the frequency points of the new air interface full frequency band, and when the frequency points of the new air interface full frequency band are searched, the frequency points of the new air interface full frequency band are determined as the first frequency point. It can be seen that when the terminal device cannot search for the historical frequency points of the highest network standard and the second highest network standard, the terminal device can also search for the frequency points of the full frequency band of the highest network standard to shorten the search time as much as possible, improve the efficiency of the search frequency point, and ensure that the first identification module card in the terminal device can quickly restore the network.

[0411] When the frequency points of the full frequency band of the new air interface are not searched, the terminal device can search the frequency points of the full frequency band of the long-term evolution. When the frequency points of the full frequency band of the long-term evolution are searched, the frequency points of the full frequency band of the long-term evolution are determined as the first frequency points. It can be seen that when the terminal device cannot search the full frequency band frequency points of the highest network standard, the terminal device can search the full frequency band frequency points of the second highest network standard to shorten the search time as much as possible, improve the efficiency of the search frequency points, and ensure that the first identification module card in the terminal device can restore the network.

[0412] When the frequency points of the full frequency band of LTE are not searched, the terminal device can search for the frequency points of the network standard lower than the new air interface frequency points and the long-term evolution frequency points, and determine the searched frequency points of the network standard lower than the new air interface frequency points and the long-term evolution frequency points as the first frequency points. It can be seen that when the terminal device cannot search for the frequency points of the highest network standard and the second highest network standard, it can also search for the frequency points of the low network standard, so that the user can search for the frequency points in most areas where the terminal device is located, to ensure that the first identification module card in the user's terminal device can restore the network.

[0413] The terminal device can first choose to use Figure 4-Figure 5 In the embodiment shown in FIG. 1 , when the frequency point supported by the first user identification module card cannot be searched, the Figure 6-Figure 7In the illustrated embodiment, the frequency points supported by the first subscriber identification module card are searched.

[0414] The terminal device can first choose to use Figure 6-Figure 7 In the embodiment shown in FIG. 1 , when the frequency point supported by the first user identification module card cannot be searched, the Figure 4-Figure 5 In the illustrated embodiment, the frequency points supported by the first subscriber identification module card are searched.

[0415] Terminal equipment can also choose to use Figure 4-Figure 5 The embodiment shown, and Figure 6-Figure 7 In the illustrated embodiment, the frequency points supported by the first subscriber identification module card are searched.

[0416] Considering that there is an application on the terminal device that uses the network provided by the second user identification module card and the maximum operating network speed is greater than or equal to the preset threshold, the terminal device can dynamically adjust the number of frequency points to be searched according to the current operating network speed of the application to increase the speed of searching for the frequency points supported by the first user identification module card. The terminal device can select Figure 4-Figure 5 The embodiment shown.

[0417] Considering that the terminal device and / or a storage device communicating with the terminal device may store the historical frequency points searched last time, if the historical frequency points are searched, the speed of searching the frequency points supported by the first user identification module card can be improved. The terminal device can select Figure 6-Figure 7 The embodiment shown.

[0418] In addition, based on the above Figure 4-Figure 5 ,as well as Figure 6-Figure 7 According to the description of the embodiment, the terminal device can also control the network search time by cutting the new air interface frequency band in combination with the protocol frequency band, the relevant hardware capabilities of the terminal device and the frequency band supported by the user identification module card.

[0419] Exemplarily, 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.

[0420] Next, combine Figure 8 , a network access device provided in an embodiment of the present application is described in detail.

[0421] See also Figure 8 , Figure 8 A schematic block diagram of a network access device provided in an embodiment of the present application is shown.

[0422] like Figure 8 As shown, the network access device 500 can exist independently or be integrated in other devices, and can communicate with the above terminal devices to implement the above Figure 4-Figure 5In the embodiment of the method shown, corresponding to the operation of the terminal device, the network access device 500 of the present application may include: a trigger module 501, a search module 502 and a registration module 503.

[0423] A trigger module 501, configured to trigger a network search instruction when determining that the first SIM card is disconnected from the network;

[0424] The search module 502 is used to respond to the network search instruction, search for the frequency points supported by the first SIM card according to the current network speed of the target application, obtain the searched first frequency point, and the target application runs under the network provided by the second SIM card;

[0425] The registration module 503 is used to perform network registration on the first SIM card according to the first frequency point, so that the first SIM card can access the network.

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

[0427] In response to the network search instruction, determining an application in the terminal device that runs on the network provided by the second subscriber identity module card;

[0428] When the application belongs to the 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;

[0429] The number of frequency points to be searched is determined according to the current 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, which are determined according to the maximum network speed of each application.

[0430] According to the number of frequency points to be searched, the searched frequency point is determined as the first frequency point.

[0431] 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.

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

[0433] 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;

[0434] 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 that the number of frequency points to be searched is 1;

[0435] 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;

[0436] 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.

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

[0438] When there is no application running on the network provided by the second user identification module card in the terminal device, 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 supported by the modem chip corresponding to the first user identification module in the terminal device.

[0439] In some embodiments, the network access device 500 Figure 8 Based on the structure shown, further, a startup module is included.

[0440] In some embodiments, the startup module is used to:

[0441] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0442] The first SIM card and the second SIM card are respectively registered with the network.

[0443] Exemplarily, 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.

[0444] Next, combine Fig. 9 , a network access device provided in an embodiment of the present application is described in detail.

[0445] See also Fig. 9 , Fig. 9 A schematic block diagram of a network access device provided in an embodiment of the present application is shown.

[0446] like Fig. 9 As shown, the network access device 600 can exist independently or be integrated in other devices, and can communicate with the above terminal devices to implement the above Figure 6-Figure 7 In the embodiment of the method shown, corresponding to the operation of the terminal device, the network access device 600 of the present application may include: a trigger module 601, a search module 602, and a registration module 603.

[0447] A trigger module 601 is used to trigger a network search instruction when it is determined that the first SIM card is disconnected from the network;

[0448] A search module 602 is used to respond to the network search instruction and search 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;

[0449] The registration module 603 is used to perform network registration on the first SIM card according to the first frequency point, so that the first SIM card can access the network.

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

[0451] In response to the network search instruction, searching for historical frequency points under the fifth generation mobile communication technology network standard;

[0452] 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.

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

[0454] 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;

[0455] 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.

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

[0457] 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, search for the frequency points of the full frequency band under the fifth generation mobile communication technology network standard;

[0458] 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.

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

[0460] When the frequency points of the full frequency band under the fifth generation mobile communication technology network standard are not searched, the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are searched;

[0461] 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.

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

[0463] When the frequency points of the full frequency band under the fourth generation mobile communication technology network standard are not found, the frequency points of the network standard lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology are searched;

[0464] The frequency point of the searched network standard which is lower than the fifth generation mobile communication technology and the fourth generation mobile communication technology is determined as the first frequency point.

[0465] In some embodiments, the network access device 600 Fig. 9 Based on the structure shown, further, a startup module is included.

[0466] In some embodiments, the startup module is used to:

[0467] Controlling the terminal equipment equipped with the first user identification module card and the second user identification module card to start;

[0468] The first SIM card and the second SIM card are respectively registered with the network.

[0469] 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.

[0470] 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 embodiments.

[0471] It is understandable that, in order to implement the above functions, the terminal device includes hardware and / or software modules corresponding to the execution of each function. 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.

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

[0473] In the case of dividing each functional module according to each function, the terminal device involved in the above embodiment may also 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 to perform the above steps and / or other processes of the technology described in this article.

[0474] 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.

[0475] 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.

[0476] 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 foregoing embodiment.

[0477] 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.

[0478] 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.

[0479] 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.

[0480] 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 assigned to 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.

[0481] In the several embodiments provided in the present 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 only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, 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.

[0482] The units described as separate components may or may not be physically separated, and the 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 different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0483] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0484] 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, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0485] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A network access method, 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, 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, determining the application as a target application, the maximum operating network speed of each application in the application whitelist is greater than or equal to a preset threshold, and the target application runs under the network provided by the second subscriber identity module card; 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, determining the searched frequency point as the first frequency point; 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, 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.

3. The method according to claim 2, 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.

4. The method according to any one of claims 1 to 3, 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.

5. A network access device, characterized in that: The network access device comprises a processor, and the processor is used to execute the network access method according to any one of claims 1 to 4.

6. A terminal device, 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-4.

7. A chip system, 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 4.

8. A computer-readable storage medium comprising a computer program, 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 4.