Network Access Control Method, Device, Terminal and Storage Medium

By allocating the RF resources to the current default data card after authentication failure in a multi-card terminal, the problem of slow network access speed caused by the main card occupies resources, and faster network access is achieved.

CN115297476BActive Publication Date: 2025-07-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210685747.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-16
Publication Date
2025-07-29
Estimated Expiration
2042-06-16

AI Technical Summary

Technical Problem

In a multi-card terminal, after the main card fails to be stationed on the network, the secondary card waits for the high priority of service to be stationed on the network, resulting in the RF resources being occupied by the main card, affecting the network access speed.

Method used

After generating the failure information of the mobile network authentication request, the failure reason type is determined. If it is a preset type, the radio frequency resources of the target SIM card are allocated to the current default data card so that it can access the corresponding mobile network.

Benefits of technology

Reduces network latency caused by the default data caine occupies radio frequency resources for too long, improving network access efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115297476B_ABST
    Figure CN115297476B_ABST
Patent Text Reader

Abstract

An embodiment of the present disclosure discloses a network access control method, apparatus, terminal, and storage medium. Among them, the network access control method is executed by a terminal and includes: after generating failure information of a mobile network authentication request based on a target user identification SIM card, determining a failure reason type based on the failure information; if the failure reason type is a preset type, determining whether a current default data card (DDS) is the target SIM card; if the current DDS is not the target SIM card, allocating radio frequency (RF) resources occupied by the target SIM card to the current DDS; and accessing a mobile network corresponding to the current DDS based on the RF resources. In this way, after the default data card is switched, the RF resources can be more quickly allocated to the switched default data card, thereby improving the speed at which the default data card accesses the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of wireless communication technologies, but is not limited thereto, and in particular, relates to a network access control method, apparatus, terminal, and storage medium. Background Art

[0002] In related technologies for the mobile network access of a multi-SIM terminal, when the primary SIM card fails to camp on the network, the primary SIM card will retry camping on the network, but the secondary SIM card will not start camping on the network until its service priority is relatively high. For example, after hot-plugging the terminal, the primary SIM card network is often preferentially registered, and the service priority of the primary SIM card is relatively high, resulting in the Radio Frequency (RF) resources being continuously occupied by the primary SIM card.

[0003] After the default data card (DDS) of the terminal is switched, the primary SIM card and the secondary SIM card are swapped. Before the swap, the primary SIM card still occupies the RF resources and still needs to receive the authentication feedback information after the camping-on failure. For example, when completing the re-synchronization operation and retrying network access, it will be detected that the primary SIM card has changed. Only then will the swapped primary SIM card start to occupy the RF resources and perform network registration. Therefore, when the user uses the terminal network function, the camping-on speed is often slow, affecting the user experience. Summary of the Invention

[0004] Embodiments of the present disclosure disclose a network access control method, apparatus, terminal, and storage medium.

[0005] According to a first aspect in the embodiments of the present disclosure, a network access control method is provided, which is executed by a terminal and includes:

[0006] After generating a failure message for a mobile network authentication request based on a target user identification SIM card, determining a failure reason type based on the failure message;

[0007] If the failure reason type is a preset type, determining whether the current default data card (DDS) is the target SIM card;

[0008] If the current DDS is not the target SIM card, allocating the RF resources occupied by the target SIM card to the current DDS;

[0009] Accessing the mobile network corresponding to the current DDS based on the RF resources.

[0010] In one embodiment, the step of if the failure reason type is a preset type, determining whether the current default data card (DDS) is the target SIM card includes:

[0011] If the failure reason type indicates that the serial number verification received by the terminal based on the authentication request fails, determine whether the current default data card (DDS) is the target SIM card.

[0012] In one embodiment, the allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS includes:

[0013] Determine whether the current DDS is connected to the corresponding mobile network;

[0014] If the current DDS is not connected to the corresponding mobile network, determine whether the RF resources required for the current DDS to connect to the corresponding mobile network are occupied by the target SIM card;

[0015] If the RF resources are occupied by the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0016] In one embodiment, the allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS includes:

[0017] Determine whether the mobile network supported by the current DDS is a preset network;

[0018] If the mobile network supported by the current DDS is a preset network, allocate the RF resources occupied by the target SIM card to the current DDS.

[0019] In one embodiment, the allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS includes:

[0020] Obtain the first service priority of the target SIM card;

[0021] Set the second service priority of the current DDS based on the first service priority; the second service priority is higher than the first service priority;

[0022] Allocate the RF resources occupied by the target SIM card to the current DDS based on the second service priority.

[0023] In one embodiment, the method further includes:

[0024] After the current DDS accesses the corresponding mobile network based on the RF resources, allocate the RF resources occupied by the current DDS to the target SIM card;

[0025] Access the mobile network corresponding to the target SIM card through the RF resources.

[0026] In one embodiment, determining the failure cause type based on the failure information includes:

[0027] Determining the failure cause type based on the cause value carried in the failure information.

[0028] In one embodiment, the method further includes:

[0029] If the failure cause type is not the preset type, re-receive the mobile network authentication request of the target SIM card.

[0030] In one embodiment, the method further includes:

[0031] If successfully accessing the mobile network corresponding to the target SIM card based on the mobile network authentication request of the target SIM card, determine whether the current DDS is the target SIM card;

[0032] If the current DDS is not the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0033] According to a second aspect of the embodiments of the present disclosure, there is provided a network access control device, which is applied to a terminal and includes:

[0034] A first determination unit, configured to determine the failure cause type based on the failure information after generating the failure information of the mobile network authentication request based on the target user identification SIM card;

[0035] A second determination unit, configured to determine whether the current default data card DDS is the target SIM card if the failure cause type is the preset type;

[0036] An allocation unit, configured to allocate the radio frequency RF resources occupied by the target SIM card to the current DDS if the current DDS is not the target SIM card;

[0037] An access unit, configured to access the mobile network corresponding to the current DDS based on the RF resources.

[0038] In one embodiment, the second determination unit is specifically configured to:

[0039] If the failure cause type indicates that the serial number verification received by the terminal based on the authentication request fails, determine whether the current default data card DDS is the target SIM card.

[0040] In one embodiment, the allocation unit is specifically configured to:

[0041] Determine whether the current DDS accesses the corresponding mobile network;

[0042] If the current DDS is not connected to the corresponding mobile network, determine whether the radio frequency (RF) resources required for the current DDS to access the corresponding mobile network are occupied by the target SIM card;

[0043] If the RF resources are occupied by the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0044] In one embodiment, the allocation unit is specifically configured to:

[0045] Determine whether the mobile network supported by the current DDS is a preset network;

[0046] If the mobile network supported by the current DDS is a preset network, allocate the radio frequency (RF) resources occupied by the target SIM card to the current DDS.

[0047] In one embodiment, the allocation unit is specifically configured to:

[0048] Obtain the first service priority of the target SIM card;

[0049] Set the second service priority of the current DDS based on the first service priority; the second service priority is higher than the first service priority;

[0050] Allocate the radio frequency (RF) resources occupied by the target SIM card to the current DDS based on the second service priority.

[0051] In one embodiment, the allocation unit is further configured to:

[0052] After the current DDS accesses the corresponding mobile network based on the RF resources, allocate the RF resources occupied by the current DDS to the target SIM card;

[0053] Access the mobile network corresponding to the target SIM card through the RF resources.

[0054] In one embodiment, the first determination unit is specifically configured to:

[0055] Determine the failure cause type based on the cause value carried in the failure information.

[0056] In one embodiment, the device further includes:

[0057] A sending unit, configured to re-receive the mobile network authentication request of the target SIM card if the failure cause type is not the preset type.

[0058] In one embodiment, the allocation unit is further configured to:

[0059] If the mobile network authentication request based on the target SIM card successfully accesses the mobile network corresponding to the target SIM card, determine whether the current DDS is the target SIM card;

[0060] If the current DDS is not the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0061] According to the third aspect of the embodiments of the present disclosure, there is provided a terminal, the terminal including:

[0062] A processor;

[0063] A memory for storing executable instructions executable by the processor;

[0064] Wherein, the processor is configured to: when running the executable instructions, implement the method described in any embodiment of the present disclosure.

[0065] According to the fourth aspect of the embodiments of the present disclosure, there is provided a computer storage medium, the computer storage medium storing a computer executable program, and when the executable program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.

[0066] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0067] In the embodiments of the present disclosure, after generating the failure information of the mobile network authentication request based on the target user identification SIM card, determine the type of failure cause based on the failure information; if the type of failure cause is a preset type, determine whether the current default data card DDS is the target SIM card; if the current DDS is not the target SIM card, allocate the radio frequency RF resources occupied by the target SIM card to the current DDS; access the mobile network corresponding to the current DDS based on the RF resources. In this way, after the target SIM card fails to camp on the network, the identity of the default data card is detected immediately. If the default data card changes from the target SIM card to another SIM card, under the specified type of failure cause, there is no need to perform re-authentication operations such as re-synchronization, nor to wait for the authentication feedback information to detect the change of the DDS, so as to timely switch the RF resources occupied by the target SIM card to the changed default data card, and reduce the time for the non-default data card to occupy the RF resources for too long, resulting in the default data card being unable to camp on the network for a long time. Therefore, it reduces the time for the main card, that is, the default data card, to camp on the network for too long due to the main and secondary card switching, and improves the network access efficiency.

[0068] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Description of the Drawings

[0069] The accompanying drawings herein are incorporated into and form a part of this specification, showing embodiments consistent with the present invention and, together with the specification, are used to explain the principles of the present invention.

[0070] Figure 1 is a schematic flowchart of a network access control method shown according to an exemplary embodiment;

[0071] Figure 2 is a schematic flowchart of a network access control method in the related art shown according to an exemplary embodiment;

[0072] Figure 3 is a schematic flowchart of a network access control method shown according to an exemplary embodiment;

[0073] Figure 4 is a schematic flowchart of a network access control method shown according to an exemplary embodiment;

[0074] Figure 5 is a schematic flowchart of a network access control method shown according to an exemplary embodiment;

[0075] Figure 6 is a schematic flowchart of a network access control method shown according to an exemplary embodiment;

[0076] Figure 7 is a schematic structural diagram of a network access control device shown according to an exemplary embodiment;

[0077] Figure 8 is a block diagram of a terminal shown according to an exemplary embodiment. Detailed implementation manners

[0078] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0079] For the convenience of those skilled in the art to understand, multiple implementation manners are enumerated in the embodiments of the present disclosure to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art can understand that the multiple embodiments provided by the embodiments of the present disclosure can be executed alone, or can be executed together after being combined with the methods of other embodiments in the embodiments of the present disclosure, or can be executed alone or in combination with some methods in other related arts; the embodiments of the present disclosure do not make any limitations in this regard.

[0080] As shown Figure 1 in the figure, in this embodiment, a network access control method is provided and executed by a terminal, including:

[0081] S110: After generating failure information of a mobile network authentication request based on a target user identification SIM card, determining a failure cause type based on the failure information;

[0082] S120: If the failure cause type is a preset type, determining whether the current default data card (DDS) is the target SIM card;

[0083] S130: If the current DDS is not the target SIM card, allocating radio frequency (RF) resources occupied by the target SIM card to the current DDS;

[0084] S140: Accessing a mobile network corresponding to the current DDS based on the RF resources.

[0085] In an embodiment of the present disclosure, the terminal may be a terminal device configured with at least two subscriber identity module (SIM) cards, such as a mobile phone, a tablet computer, or a smart watch with an independent call function, etc. For example, it may include a first SIM card and a second SIM card. Among them, when the first SIM card receives a mobile network authentication request, the first SIM card may be the default data card (DDS) in the terminal, that is, the primary SIM card in the terminal. The terminal may also include a second SIM card. For example, when the first SIM card is the primary SIM card, the second SIM card may be used as a secondary SIM card.

[0086] Here, the primary SIM card, that is, the DDS, may be the SIM card that the terminal uses by default or preferentially for calls, mobile network access, and usage, etc. The secondary SIM card may be used as an alternative SIM card. For example, it can be used for the user to switch the secondary SIM card to the primary SIM card on the terminal.

[0087] In one embodiment, in step S110, the target SIM card may be the current default data card (DDS) to be resident. For example, the target SIM card may be the first SIM card or the second SIM card in the terminal. The mobile network authentication request may be an authentication request (Authentication request) sent by the mobile network when the target SIM card needs to be resident, such as for authenticating the identity information of the terminal.

[0088] In related technologies, as Figure 2As shown, after a hot plug operation on the terminal, the primary SIM card can be the target SIM card. For example, if it is the first SIM card in the terminal, then at this time the target SIM card preferentially accesses the mobile network, that is, a mobile network access request (Attach request) is sent based on the target SIM card and an authentication request returned by the network side in response to the mobile network access request is received. And a DDS switch occurs on the terminal application processor (Application Process, AP) side, that is, at this time, DDS switches from the first SIM card to the second SIM card.

[0089] In the related art, when determining that the cause value carried in the failure information returned to the network side in response to an authentication failure is "Synch failure", re-authentication, that is, retry Authentication, is performed, or the T3320 timer is started, and re-synchronization (Synch) is performed during the timing. During the re-synchronization process, it is required that the Smart Grid Communication Network (SGCN) delete all unused authentication vectors of the International Mobile Subscriber Identifier (IMSI) in it and obtain new vectors from the Home Location Register (HLR). When the re-synchronization is completed, the network side will start the verification and encryption program. After receiving the authentication and encryption request message, if it is running, the terminal will stop the timer T3320. After receiving the authentication request feedback information (Authentication response), the network access (Attach) is retried. At this time, the terminal only detects that the target SIM card is no longer the primary card, and at this time, the RF resources of the target SIM card are switched to the second SIM card, that is, the current DDS is used for network registration.

[0090] In one embodiment, before step S110, the method may further include: after detecting a hot plug operation of the terminal, determining the default data card in the terminal as the target SIM card; sending a mobile network access request based on the target SIM card; receiving a mobile network authentication request corresponding to the mobile network access request. For example, after the terminal performs operations such as SIM card insertion or SIM card switching, the target SIM card that is currently the primary card is determined, and a mobile network access request (Attach request) is sent based on the target SIM card, and an authentication request returned by the network side based on the mobile network access request is received.

[0091] In one embodiment, the generated failure information may be the failure information (Authentication_failure) generated by the terminal and returned to the network side after the authentication fails based on the authentication request. Among them, the failure reason type may be indicated in the failure information. For example, the failure reason type identifier may be carried. Exemplarily, the failure reason value or the failure reason type code, etc. may be carried in the failure information. After the failure information is generated, determining the failure reason type based on the failure information may be to determine the failure reason type indicated by the failure information by obtaining the carried failure reason type identifier, etc.

[0092] In one embodiment, the current DDS is also a SIM card in the terminal. For example, the current DDS is the first SIM card or the second SIM card. Determining whether the current DDS is the target SIM card may be to detect whether a DDS switching operation occurs in the terminal, or to detect whether the card identifier of the current DDS is consistent with the card identifier of the target SIM card, etc. For example, the current DDS is not the target SIM card, but has been switched from the first SIM card corresponding to the target SIM card to the second SIM card.

[0093] Among them, the mobile network modes supported by the first SIM card and the second SIM card may be the same or different. For example, the mobile network mode supported by the second SIM card is higher than that of the first SIM card, so that when the DDS is switched to the second SIM card, a mobile network with better signal quality can be quickly accessed.

[0094] Exemplarily, the first SIM card may support a 2G or 3G mobile network, and the second SIM card may support a 5G Stand Alone (SA) mobile network.

[0095] In one embodiment, when it is detected that the current DDS has been switched, the radio frequency (RF) resources occupied by the target SIM card with network registration failure are switched to the current DDS. For example, when the target SIM card is the first SIM card, the RF resources it occupies are switched to the second SIM card that is currently the primary SIM card.

[0096] In one embodiment, allocating the RF resources occupied by the target SIM card to the current DDS may be to obtain the first total amount of the RF resources occupied by the target SIM card and the second total amount of the RF resources occupied by the current DDS; and allocate the RF resources occupied by the target SIM card to the current DDS according to the difference between the first total amount and the second total amount.

[0097] For example, when the difference between the total amount of the first resource and the total amount of the second resource reaches a preset value, allocate the RF resources occupied by the target SIM card to the current DDS, or allocate the RF resources occupied by the target SIM card to the current DDS according to a preset ratio of the difference between the total amount of the first resource and the total amount of the second resource. The preset ratio can be a ratio determined according to the historical DDS resource occupancy in the terminal and / or the resource amount required by the current DDS.

[0098] In one embodiment, allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS can be to allocate the RF resources occupied by the target SIM card to the current DDS according to the amount of RF resources required for the current DDS to access the corresponding mobile network.

[0099] In one embodiment, allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS can be to determine to allocate the RF resources occupied by the target SIM card to the current DDS according to the mobile network mode or type corresponding to the current DDS. For example, for different mobile network types corresponding to the current DDS, different proportions of RF resources are retrieved from the RF resources occupied by the target SIM card and allocated to the current DDS, etc.

[0100] In this way, after the target SIM card fails to register on the network, detect whether the DDS is different from that before registration. If the DDS changes, the RF resources occupied by the target SIM card can be switched to the current DDS in a timely manner, thereby reducing the time that the non-default data card occupies the RF resources for too long, resulting in the default data card being unable to register on the network for a long time. Therefore, the waiting time for the main card, i.e., the default data card, to quickly obtain RF resources after the main and secondary card switching, which leads to too long network access waiting time, is reduced, and thus the network access efficiency is improved.

[0101] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0102] In some embodiments, as Figure 3 shown, S120 may include:

[0103] S121: If the failure reason type indicates that the serial number verification received by the terminal based on the authentication request fails, determine whether the current default data card (DDS) is the target SIM card.

[0104] In the embodiments of the present disclosure, the sequence number received based on the authentication request may be the sequence number (Sequence Number, SQN) carried in the received authentication request. For example, the received authentication request may include an authentication token (AuthenticationToken, AUTN), and the SQN to be verified is recorded in the AUTN, etc.

[0105] In one embodiment, when the terminal fails to verify the sequence number SQN, it indicates that the card identifier of the SIM card currently used by the terminal for verification does not match the SQN indicated in the authentication request. At this time, it can be determined whether the verification fails due to a change in the card identifier of the default data card caused by DDS switching.

[0106] In one embodiment, the failure reason type indicates that the terminal fails to verify the sequence number received based on the authentication request. The reason value corresponding to the failure reason type may be "Synch failure", indicating that the SQN in the authentication request sent by the network side fails to synchronize with the terminal.

[0107] In one embodiment, determining whether the current DDS is the target SIM card may be determining whether the card identifier of the current DDS is the same as the card identifier of the target SIM card. Among them, the card identifier of the target SIM card can be determined according to the received sequence number. For example, the sequence number SQN indicated in the authentication request sent by the network side is the SQN corresponding to the primary SIM card in the terminal before DDS switching, that is, the target SIM card.

[0108] In this way, when the verification of the sequence number based on the authentication request fails, it is more likely that the DDS switching in the terminal causes the change of the primary SIM card. Therefore, determining whether the DDS is still the same as the target SIM card can more quickly and accurately detect the occurrence of the DDS switching operation.

[0109] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0110] In some embodiments, the allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS includes:

[0111] Determining whether the current DDS is connected to the corresponding mobile network;

[0112] If the current DDS is not connected to the corresponding mobile network, determining whether the RF resources required for the current DDS to connect to the corresponding mobile network are occupied by the target SIM card;

[0113] If the RF resources are occupied by the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0114] In an embodiment of the present disclosure, determining whether the current DDS is connected to the corresponding mobile network may be determining whether the mobile network authentication success information corresponding to the current DDS is detected within a preset duration, or determining whether data interaction occurs between the current DDS and the corresponding mobile network within a preset duration, etc.

[0115] In one embodiment, determining whether the radio frequency (RF) resources required for the current DDS to access the corresponding mobile network are occupied by the target SIM card may be determining whether the required RF resources are occupied by the target SIM card according to the RF resource identifier and / or the total amount of RF resources required for the current DDS to access the corresponding mobile network.

[0116] Among them, the RF resource identifier required for the current DDS to access the corresponding mobile network can be determined, and then it can be determined whether the RF resources corresponding to the RF resource identifier are being occupied by the target SIM card. For example, it is determined whether the RF resource identifier occupied by the target SIM card contains the RF resource identifier required by the current DDS. If so, it can be determined that the required RF resources are occupied by the target SIM card.

[0117] Among them, the total amount of RF resources required for the current DDS to access the corresponding mobile network can also be determined, and then it is determined whether the remaining available RF resource amount in the terminal is greater than the total amount of the RF resources. If the remaining RF resource amount is less than or equal to the total amount of the RF resources, it can be determined that the required RF resources are occupied by the target SIM card.

[0118] In one embodiment, allocating the RF resources occupied by the target SIM card to the current DDS may be allocating the RF resources occupied by the target SIM card to the current DDS according to the RF resource identifier and / or the total amount of RF resources occupied by the target SIM card, and the RF resource identifier and / or the total amount of RF resources required for the current DDS to access the corresponding mobile network.

[0119] In one embodiment, allocating the RF resources occupied by the target SIM card to the current DDS may be allocating some or all of the RF resources occupied by the target SIM card to the current DDS according to the total amount of RF resources occupied by the target SIM card and the total amount of RF resources required for the current DDS to access the corresponding mobile network.

[0120] For example, when the total amount of RF resources required for the current DDS to access the corresponding mobile network is less than or equal to the total amount of RF resources occupied by the target SIM card, the total amount of RF resources required for the current DDS to access the corresponding mobile network can be retrieved from the RF resources occupied by the target SIM card and allocated to the current DDS.

[0121] Alternatively, when the total amount of RF resources required for the current DDS to access the corresponding mobile network is greater than the total amount of RF resources occupied by the target SIM card, all the RF resources occupied by the target SIM card can be allocated to the current DDS, or the total amount of RF resources occupied by the target SIM card minus the amount of RF resources that the target SIM card needs to reserve can be allocated to the current DDS.

[0122] In this way, when it is determined that the current DDS needs to access the mobile network and the required RF resources are still occupied by the target SIM card, the RF resources occupied by the target SIM card are released and allocated to the current DDS, thereby reducing the switching of the RF resources of the target SIM card when the RF resources of the target SIM card have been released, and further improving the accuracy and efficiency of RF resource scheduling.

[0123] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0124] In some embodiments, the allocating the RF resources occupied by the target SIM card to the current DDS includes:

[0125] Determining whether the mobile network supported by the current DDS is a preset network;

[0126] If the mobile network supported by the current DDS is a preset network, then allocate the RF resources occupied by the target SIM card to the current DDS.

[0127] In the embodiments of the present disclosure, the preset network can be a network type that needs to be accessed or preferentially accessed. For example, when the mobile network supported by the current DDS is the preset network 5G SA network, allocate the RF resources occupied by the target SIM card to the current DDS, etc.

[0128] In one embodiment, the preset network can be determined according to the historical mobile network usage of the terminal. For example, it is determined according to the mobile network with the highest historical usage frequency or usage duration of the terminal.

[0129] In one embodiment, the preset network can also be determined according to the mobile network types supported by multiple SIM cards in the terminal. For example, the preset network can be the mobile network with the highest network mode among the mobile networks supported by multiple SIM cards in the terminal, etc.

[0130] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0131] In some embodiments, allocating the radio frequency (RF) resources occupied by the target SIM card to the current DDS includes:

[0132] Obtaining a first service priority of the target SIM card;

[0133] Setting a second service priority of the current DDS based on the first service priority; the second service priority is higher than the first service priority;

[0134] Allocating the RF resources occupied by the target SIM card to the current DDS based on the second service priority.

[0135] In the embodiments of the present disclosure, the service priority may be the network access (Attach) service priority of the SIM card, or the overall service priority of the SIM card, etc. Among them, the higher the service priority, the higher the priority of the corresponding SIM card to occupy RF resources. When multiple SIM cards need RF resources at the same time, the SIM card with a higher service priority preferentially occupies the RF resources.

[0136] In one embodiment, obtaining the first service priority of the target SIM card may be obtaining the network access service priority of the mobile network corresponding to the target SIM card in the terminal. Among them, the network access service priority is determined by the mobile network type or the priority order recorded by the terminal.

[0137] In one embodiment, setting the second service priority of the current DDS based on the first service priority may be setting the second service priority of the mobile network corresponding to the current DDS based on the first service priority. For example, it may be setting or modifying the second service priority of the mobile network corresponding to the current DDS based on the first service priority.

[0138] Exemplarily, if the first service priority is level 1, the second service priority may be set to level 2 or level 3, etc., so as to satisfy that the network access service priority of the current DDS is higher, and it can preferentially occupy RF resources to ensure the stability of the network access service.

[0139] In one embodiment, allocating the RF resources occupied by the target SIM card to the current DDS based on the second service priority may be allocating the RF resources occupied by the target SIM card to the current DDS based on the second service priority and the first service priority. For example, determining the total amount of RF resources required to allocate the RF resources occupied by the target SIM card to the current DDS based on the difference between the second service priorities.

[0140] Exemplarily, the proportion of RF resources allocated to the current DDS among the RF resources occupied by the target SIM card may be positively correlated with the gap between the second service priority and the first service priority. For example, if the second service priority is higher than the first service priority and the gap between the second service priority and the first service priority is larger, a higher proportion of RF resources can be retrieved from the RF resources occupied by the target SIM card and allocated to the current DDS.

[0141] In this way, by setting the service priority corresponding to the current DDS, RF resources can be more stably scheduled for the current DDS, thereby improving the stability of the current DDS during the process of accessing the mobile network and reducing the slow network registration speed and high volatility caused by the preemption of RF resources by other SIM cards.

[0142] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0143] In some embodiments, the method further includes:

[0144] After the current DDS accesses the corresponding mobile network based on the RF resources, allocate the RF resources occupied by the current DDS to the target SIM card;

[0145] Access the mobile network corresponding to the target SIM card through the RF resources.

[0146] In the embodiments of the present disclosure, since the target SIM card switches the RF resources to the current DDS after the network registration fails, after the current DDS successfully registers on the network, the RF resources can be switched back to the target SIM card to complete the network registration of the target SIM card.

[0147] In one embodiment, allocating the RF resources occupied by the current DDS to the target SIM card can be when the service processing situation of the current DDS and the RF resources occupied by the current DDS meet preset conditions. For example, the preset conditions can be that the service processing volume or resource occupancy rate of the current DDS is lower than a preset threshold, or it can also be that the total amount of RF resources occupied by the current DDS is higher than a preset threshold value of the resources required for the service processing of the current DDS, etc.

[0148] In one embodiment, after accessing the mobile network corresponding to the target SIM card through the RF resources, it may further include: when the service priority of the current target SIM card is lower than the service priority of the current DDS, or when the current DDS remains unchanged, switch the RF resources occupied by the target SIM card back to the current DDS.

[0149] Thus, after the current DDS successfully registers and accesses the mobile network, the RF resources can be switched back to the target SIM card that has not successfully camped on the network to re-camp on the network, so that the RF resource scheduling can be more flexibly achieved, and the camping operation efficiency of multiple SIM cards in the terminal can be further improved.

[0150] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0151] In some embodiments, as Figure 4 shown, S110 may include:

[0152] S111: After generating the failure information of the mobile network authentication request based on the target user identification SIM card, determine the failure cause type based on the cause value carried in the failure information.

[0153] In the embodiments of the present disclosure, the cause value may be a preset value indicating the failure cause type. For example, it may be a numerical value in binary, octal, or hexadecimal, etc., or a preset type identification value, etc. For example, the cause value indicating the SQN verification failure may be "Synch failure", and the cause value indicating the local area network address (Media Access Control Address, MAC) error may be "MAC failure", etc.

[0154] In one embodiment, determining the failure cause type based on the cause value carried in the failure information may be to determine the cause value carried in the failure information according to the SQN carried in the authentication request, and determine the failure cause type according to the cause value. For example, determine the cause value carried in the failure information according to whether the SQN matches the card identification corresponding to the current DDS, etc.

[0155] Among them, the SQN carried in the authentication request may be the SQN recorded in the AUTN parameter carried in the authentication request, etc.

[0156] It should be noted that those skilled in the art can understand that the method provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0157] In some embodiments, as Figure 5 shown, the method further includes:

[0158] S150: If the failure cause type is not the preset type, re-receive the mobile network authentication request of the target SIM card.

[0159] In the embodiments of the present disclosure, if the failure reason type is not the preset type, for example, the reason value is not "Synchfailure", it indicates that the current default data card of the terminal is not inconsistent with the SQN carried in the authentication request. Therefore, at this time, DDS changes often do not occur, and instead of detecting whether DDS has changed, the terminal directly continues the network registration attempt for the target SIM card.

[0160] In one embodiment, if the re - received authentication request still fails in authentication, continue to determine the failure reason type indicated by the failure information. If the failure reason type is the preset type, determine whether the current default data card DDS is the target SIM card; if the current DDS is not the target SIM card, allocate the radio frequency RF resources occupied by the target SIM card to the current DDS; access the mobile network corresponding to the current DDS based on the RF resources.

[0161] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0162] In some embodiments, the method further includes:

[0163] If the authentication request based on the mobile network of the target SIM card successfully accesses the mobile network corresponding to the target SIM card, determine whether the current DDS is the target SIM card;

[0164] If the current DDS is not the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0165] In the embodiments of the present disclosure, if the target SIM card successfully registers on the network, the RF resources occupied by the target SIM card can be directly allocated to another SIM card, such as the second SIM card, or the RF resources of the target SIM card can be allocated to the current DDS after determining that the current DDS is not the target SIM card.

[0166] In one embodiment, if the current DDS is not the target SIM card, allocating the RF resources occupied by the target SIM card to the current DDS may include: if the current DDS is not the target SIM card, and the mobile network corresponding to the current DDS is the preset network, or the mobile network mode corresponding to the current DDS is higher than that of the target SIM card, then allocate the RF resources occupied by the target SIM card to the current DDS.

[0167] In this way, the flexibility and intelligence of RF resource scheduling can be further improved, thereby enhancing the network registration speed of multi - SIM cards and the user experience.

[0168] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0169] To better understand the embodiments of the present disclosure, the technical solution of the present disclosure will be further described below through an exemplary embodiment:

[0170] In this embodiment, a network access control method in a multi-SIM card terminal is provided. Taking the terminal as a mobile phone as an example, it may specifically include: Figure 6 As shown, taking the terminal as a mobile phone as an example, it may specifically include:

[0171] 1. Check whether the network mode of the mobile phone terminal is that the main card supports 2 / 3G and the secondary card supports 5G SA network (for example, the card supporting the 2 / 3G network mode is the first SIM card, and the card supporting the 5G SA network mode is the second SIM card);

[0172] 2. Perform a hot plug operation;

[0173] 3. Perform an Attach request (the first SIM card of the main card occupies the RF resource);

[0174] 4. Check whether the Authentication authentication is successful. If successful, the first SIM card of the main card camps on the network. If failed, go to step 6;

[0175] 5: At this time, a DDS switch occurs on the AP side (the main card becomes the second SIM card, the secondary card becomes the first SIM card, and at this time, the first SIM card of the secondary card occupies the RF resource);

[0176] 6. Determine whether the cause value carried in the failure message Authentication_failure is Synch failure. If not, re-attempt authentication. If so, go to step 7;

[0177] 7. Check whether the main card, the second SIM card, supports 5G SA network and whether the RF resource is occupied by the first SIM card of the secondary card. If so, go to step 8. If not, go to step 9;

[0178] 8. Increase the priority of the 5G SA network registration service so that the second SIM card of the main card occupies the RF resource;

[0179] 9. Perform 5G SA network registration and end;

[0180] 10. Subsequently, re-attempt to attach the network access of the first SIM card of the secondary card and perform 2 / 3G network registration.

[0181] Thus, considering that the 5G SA network will bring a better user experience, it is preferred to register for the 5G SA network first. After successfully registering for the 5G SA network, the process of re-registering for the 2 / 3G network can be carried out.

[0182] As Figure 7 shown, in this embodiment, a network access control device is provided, which is applied to a terminal and includes:

[0183] A first determination unit 10, configured to determine a failure cause type based on the failure information after generating failure information of a mobile network authentication request based on a target user identification SIM card;

[0184] A second determination unit 20, configured to determine whether the current default data card DDS is the target SIM card if the failure cause type is a preset type;

[0185] An allocation unit 30, configured to allocate the radio frequency RF resources occupied by the target SIM card to the current DDS if the current DDS is not the target SIM card;

[0186] An access unit 40, configured to access the mobile network corresponding to the current DDS based on the RF resources.

[0187] In some embodiments, the second determination unit 20 is specifically configured to:

[0188] Determine whether the current default data card DDS is the target SIM card if the failure cause type indicates that the serial number verification received by the terminal based on the authentication request fails.

[0189] In some embodiments, the allocation unit 30 is specifically configured to:

[0190] Determine whether the current DDS is accessing the corresponding mobile network;

[0191] If the current DDS is not accessing the corresponding mobile network, determine whether the radio frequency RF resources required for the current DDS to access the corresponding mobile network are occupied by the target SIM card;

[0192] If the RF resources are occupied by the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0193] In some embodiments, the allocation unit 30 is specifically configured to:

[0194] Determine whether the mobile network supported by the current DDS is a preset network;

[0195] If the mobile network supported by the current DDS is a preset network, allocate the radio frequency (RF) resources occupied by the target SIM card to the current DDS.

[0196] In some embodiments, the allocation unit 30 is specifically configured to:

[0197] Obtain the first service priority of the target SIM card;

[0198] Set the second service priority of the current DDS based on the first service priority; the second service priority is higher than the first service priority;

[0199] Allocate the RF resources occupied by the target SIM card to the current DDS based on the second service priority.

[0200] In some embodiments, the allocation unit 30 is further configured to:

[0201] After the current DDS accesses the corresponding mobile network based on the RF resources, allocate the RF resources occupied by the current DDS to the target SIM card;

[0202] Access the mobile network corresponding to the target SIM card through the RF resources.

[0203] In some embodiments, the first determination unit 10 is specifically configured to:

[0204] Determine the failure cause type based on the cause value carried in the failure information.

[0205] In some embodiments, the device further includes:

[0206] A sending unit, configured to re-receive the mobile network authentication request of the target SIM card if the failure cause type is not the preset type.

[0207] In some embodiments, the allocation unit 30 is further configured to:

[0208] If successfully accessing the mobile network corresponding to the target SIM card based on the mobile network authentication request of the target SIM card, determine whether the current DDS is the target SIM card;

[0209] If the current DDS is not the target SIM card, allocate the RF resources occupied by the target SIM card to the current DDS.

[0210] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0211] An embodiment of the present disclosure also provides a terminal, including:

[0212] An antenna;

[0213] A memory;

[0214] A processor, which is respectively connected to the antenna and the memory, and is configured to control the antenna to transmit and receive wireless signals by executing an executable program stored on the memory, and can execute the steps of the network access control method provided in any of the foregoing embodiments.

[0215] The terminal provided in this embodiment may be the aforementioned terminal or base station. The terminal may be various types of human-carried terminals or vehicle-mounted terminals. The base station may be various types of base stations, for example, a 4G base station or a 5G base station, etc.

[0216] The antenna may be various types of antennas, for example, mobile antennas such as 3G antennas, 4G antennas or 5G antennas; the antenna may also include: a WiFi antenna or a wireless charging antenna, etc.

[0217] The memory may include various types of storage media, and the storage media is a non-temporary computer storage medium, which can continue to remember the information stored thereon after the communication device loses power.

[0218] The processor may be connected to the antenna and the memory through a bus, etc., and is configured to read the executable program stored on the memory, for example, at least one of the methods shown in any embodiment of the present disclosure.

[0219] An embodiment of the present disclosure also provides a non-temporary computer-readable storage medium, and the non-temporary computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the steps of the network access control method provided in any of the foregoing embodiments are implemented, for example, at least one of the methods shown in any embodiment of the present disclosure.

[0220] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.

[0221] Figure 8 It is a block diagram of a terminal 600 shown according to an exemplary embodiment. For example, the terminal 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0222] Refer to Figure 8, the terminal 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0223] The processing component 602 generally controls the overall operation of the terminal 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described methods. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0224] The memory 604 is configured to store various types of data to support the operation of the device 600. Examples of such data include instructions for any application or method operating on the terminal 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.

[0225] The power component 606 provides power to the various components of the terminal 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 600.

[0226] The multimedia component 608 includes a screen that provides an output interface between the terminal 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0227] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), which is configured to receive external audio signals when the terminal 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 further includes a speaker for outputting audio signals.

[0228] The I / O interface 612 provides an interface between the processing component 602 and a peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.

[0229] The sensor component 614 includes one or more sensors for providing status assessments of various aspects of the terminal 600. For example, the sensor component 614 can detect the on / off state of the device 600, the relative positioning of components, such as the display and keypad of the terminal 600. The sensor component 614 can also detect a change in the position of the terminal 600 or a component of the terminal 600, the presence or absence of user contact with the terminal 600, the orientation or acceleration / deceleration of the terminal 600, and the temperature change of the terminal 600. The sensor component 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 614 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 614 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0230] The communication component 616 is configured to facilitate communication between the terminal 600 and other devices in a wired or wireless manner. The terminal 600 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0231] In an exemplary embodiment, the terminal 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0232] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the above instructions can be executed by a processor 820 of the terminal 600 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0233] Those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.

[0234] In some cases, any two of the above technical features can be combined into a new method technical solution without conflict.

[0235] In some cases, any two of the above technical features can be combined into a new device technical solution without conflict.

[0236] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. A network access control method, characterized in that, Executed by a terminal, the method includes: After generating failure information of a mobile network authentication request based on a target user identification SIM card, determining a failure reason type based on the failure information; If the failure reason type is a preset type, determining whether the current default data card (DDS) is the target user identification SIM card; If the current default data card DDS is not the target user identification SIM card, allocating the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS; Accessing the mobile network corresponding to the current default data card DDS based on the RF resources.

2. The method according to claim 1, wherein The step of if the failure reason type is a preset type, determining whether the current default data card DDS is the target user identification SIM card includes: If the failure reason type indicates that the serial number verification received by the terminal based on the authentication request fails, determining whether the current default data card DDS is the target user identification SIM card.

3. The method according to claim 1, characterized in that, The step of allocating the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS includes: Determining whether the current default data card DDS accesses the corresponding mobile network; If the current default data card DDS does not access the corresponding mobile network, determining whether the RF resources required for the current default data card DDS to access the corresponding mobile network are occupied by the target user identification SIM card; If the RF resources are occupied by the target user identification SIM card, allocating the RF resources occupied by the target user identification SIM card to the current default data card DDS.

4. The method according to claim 1, wherein The step of allocating the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS includes: Determining whether the mobile network supported by the current default data card DDS is a preset network; If the mobile network supported by the current default data card DDS is a preset network, allocating the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS.

5. The method according to claim 4, wherein The step of allocating the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS includes: Obtaining a first service priority of the target user identification SIM card; Setting a second service priority of the current default data card DDS based on the first service priority; the second service priority is higher than the first service priority; Allocating the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS based on the second service priority.

6. The method according to claim 1, wherein The method further includes: After the current default data card DDS accesses the corresponding mobile network based on the RF resources, allocating the RF resources occupied by the current default data card DDS to the target user identification SIM card; Accessing the mobile network corresponding to the target user identification SIM card through the RF resources.

7. The method according to claim 1, wherein The step of determining the failure reason type based on the failure information includes: Determining the failure reason type based on the cause value carried in the failure information.

8. The method according to claim 1, characterized in that, The method further includes: If the failure cause type is not the preset type, re - receive the mobile network authentication request of the target user identification SIM card.

9. The method according to claim 1, wherein The method further includes: If successfully accessing the mobile network corresponding to the target user identification SIM card based on the mobile network authentication request of the target user identification SIM card, determine whether the current DDS is the target user identification SIM card; If the current default data card DDS is not the target user identification SIM card, allocate the RF resources occupied by the target user identification SIM card to the current default data card DDS.

10. A network access control device, characterized in that, Applied to a terminal, the device includes: A first determination unit, configured to determine a failure cause type based on the failure information after generating the failure information of the mobile network authentication request based on the first user identification SIM card; A second determination unit, configured to determine whether the current default data card DDS is the target user identification SIM card if the failure cause type is a preset type; An allocation unit, configured to allocate the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS if the current default data card DDS is not the target user identification SIM card; An access unit, configured to access the mobile network corresponding to the current default data card DDS based on the RF resources.

11. The device according to claim 10, wherein, The second determination unit is specifically configured to: Determine whether the current default data card DDS is the target user identification SIM card if the failure cause type indicates that the serial number verification received by the terminal based on the authentication request fails.

12. The device according to claim 10, characterized in that, The allocation unit is specifically configured to: Determine whether the current default data card DDS accesses the corresponding mobile network; If the current default data card DDS does not access the corresponding mobile network, determine whether the RF resources required for the current default data card DDS to access the corresponding mobile network are occupied by the target user identification SIM card; If the RF resources are occupied by the target user identification SIM card, allocate the RF resources occupied by the target user identification SIM card to the current default data card DDS.

13. The device according to claim 10, characterized in that, The allocation unit is specifically configured to: Determine whether the mobile network supported by the current default data card DDS is a preset network; If the mobile network supported by the current default data card DDS is a preset network, allocate the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS.

14. The device according to claim 13, characterized in that, The allocation unit is specifically configured to: Obtain the first service priority of the target user identification SIM card; Set the second service priority of the current default data card DDS based on the first service priority; the second service priority is higher than the first service priority; Allocate the radio frequency (RF) resources occupied by the target user identification SIM card to the current default data card DDS based on the second service priority.

15. A terminal, characterized in that, The terminal includes: a processor and a memory for storing computer services that can run on the processor, wherein when the processor is used to run the computer services, the method according to any one of claims 1 to 9 is implemented.

16. A storage medium, characterized in that The computer-executable instructions are stored in the storage medium, and when executed by a processor, the computer-executable instructions implement the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Mobile network mode switching method and device, terminal and storage medium

    CN108495300A

  • Radio frequency channel sharing method and related device

    CN114584966A