SIM card selection method, device, terminal and storage medium

The SIM card selection method in terminals ensures correct SIM card selection for slice data connections by querying and establishing slice data connections based on slice parameters and network states, resolving connectivity issues in 5G dual card systems.

JP7556151B2Active Publication Date: 2024-09-25ZTE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023532129
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-01
Filing Date
2021-11-12
Publication Date
2024-09-25
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

Conventional dual card system terminals in the 5G era cannot initiate slice data connections if an application needs a specific SIM card for a slice but the wrong card is selected, leading to failed slice data connections.

Method used

A method and apparatus for SIM card selection in terminals that receive a slice connection request, query the appropriate SIM card based on current slice parameters, and establish a slice data connection using the matching SIM card, considering network state parameters and carrier network responses.

Benefits of technology

Ensures that applications can successfully initiate slice data connections by selecting the correct SIM card that supports the required slice, improving connectivity and reducing connection failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556151000001
    Figure 0007556151000001
  • Figure 0007556151000002
    Figure 0007556151000002
  • Figure 0007556151000003
    Figure 0007556151000003
Patent Text Reader

Abstract

Provided are a SIM card selection method, device, terminal, and storage medium, the SIM card selection method being applicable to a terminal including at least two SIM cards, and including the steps of receiving a slice connection request sent from an application, the request including current slice parameters (S110), and inquiring about a SIM card corresponding to the current slice parameters, and determining the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection (S120).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application is filed based on a Chinese patent application bearing application number 202011385196.2 and filing date December 1, 2020, and claims priority to that Chinese patent application, the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The present application relates to, but is not limited to, the field of communications, and in particular to a SIM card selection method, device, terminal and storage medium. [Background technology]

[0003] In the 4G era, carriers only provide data connections with one quality of service. Meanwhile, in the 5G era, each carrier provides sliced ​​data connections with different qualities of service. An application can set its own sliced ​​data connection. However, a conventional terminal with a dual card system only has a switching function for a user to manually select data services of SIM (Subscriber Identity Module) card 1 or SIM card 2, and an application can only use the data connection service of the SIM card selected by the user. If an application needs to use a slice of card 1, but card 2 is selected for data connection, there is a problem that the application cannot start a sliced ​​data connection. Summary of the Invention [Problem to be solved by the invention]

[0004] According to an embodiment of the present application, a SIM card selection method, an apparatus, a terminal and a storage medium are provided. [Means for solving the problem]

[0005] In a first aspect, an embodiment of the present application provides a SIM card selection method applied to a terminal, the method including the steps of receiving a slice connection request sent from an application, the slice connection request including current slice parameters, inquiring about a SIM card corresponding to the current slice parameters, and determining the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection.

[0006] In a second aspect, an embodiment of the present application further provides a SIM card selection device, the device including: an acquisition module configured to receive a slice connection request sent from an application, the slice connection request including current slice parameters; and a determination module configured to query a SIM card corresponding to the current slice parameters, and determine the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection.

[0007] In a third aspect, an embodiment of the present application further provides a terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program realizing the above SIM card selection method when executed by the processor.

[0008] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having an information processing program stored therein, the information processing program realizing the above-mentioned SIM card selection method when executed by a processor. [Brief description of the drawings]

[0009] [Figure 1] 2 is a flowchart of a SIM card selection method provided by an embodiment of the present application; [Diagram 2] 1 is a flowchart illustrating a SIM card selection method according to an embodiment of the present application when there are multiple SIM cards corresponding to a slice. [Diagram 3] 1 is a flowchart illustrating a method for selecting a target SIM card based on a slice connection state in a SIM card selection method provided by an embodiment of the present application; [Figure 4] 4 is a flowchart illustrating a method for selecting a target SIM card based on a signal strength parameter in accordance with an embodiment of the present application; [Diagram 5] 1 is a flowchart illustrating a method for selecting a target SIM card based on a slice connection frequency parameter in a SIM card selection method provided by an embodiment of the present application; [Figure 6] 1 is a flowchart illustrating a SIM card selection method provided by an embodiment of the present application when there is one SIM card corresponding to a slice. [Figure 7] 1 is a flowchart illustrating a slice connection frequency parameter update method in a SIM card selection method provided by an embodiment of the present application; [Figure 8] 1 is a flowchart of slice matching in a SIM card selection method provided by an embodiment of the present application; [Figure 9] 1 is a flowchart of slice establishment and application after slice matching fails in a SIM card selection method provided by one embodiment of the present application. [Figure 10] 4 is a flowchart of a SIM card selection method provided by another embodiment of the present application; [Figure 11] FIG. 2 is a schematic diagram of a SIM card selection device provided according to an embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of a terminal provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in more detail below in combination with the accompanying drawings and embodiments. The specific embodiments described herein are only used to interpret the present application, and are not used to limit the present application.

[0011] It should be noted that although the schematic diagram of the device shows a functional module division and the flowchart shows a logical order, in some cases the division may be different from the modules within the device, or the steps shown or described may be performed in an order different from that in the flowchart.

[0012] This embodiment provides a SIM card selection method, device, terminal and storage medium, where the SIM card selection method is applied to a terminal including at least two SIM cards, and includes the steps of receiving a slice connection request sent from an application, the slice connection request including current slice parameters, and inquiring about a SIM card corresponding to the current slice parameters, and determining the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection, so that the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start a slice data connection.

[0013] In addition, the SIM card selection method and / or SIM card selection device provided by the embodiments of the present application can be applied to a terminal device. The terminal device in this specification may be referred to as a terminal, and is a device having a wireless transmission and reception function. The terminal device may be a user equipment (UE for short), and the UE includes a handheld device, an in-vehicle device, a wearable device, or a computing device having a wireless communication function. Exemplarily, the UE may be a mobile phone, a tablet computer, or a computer with a wireless transmission and reception function. In addition, the terminal device may be a virtual reality (VR for short) terminal device, an augmented reality (AR for short) terminal device, a wireless terminal in industrial control, a wireless terminal in autonomous driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in a smart city, a wireless terminal in a smart home, etc.

[0014] The embodiments of the present application are further described below with reference to the accompanying drawings.

[0015] As shown in Figure 1, Figure 1 is a flowchart of a SIM card selection method applied to a SIM card selection device in a terminal in one embodiment. In one embodiment, the SIM card selection method includes, but is not limited to, the following steps:

[0016] In step S110, a slice connection request including current slice parameters sent from an application is received.

[0017] In one embodiment, the SIM card selection device may obtain a slice connection request sent from an application, where the slice connection request may include current slice parameters that can be used to determine a SIM card for the slice connection.

[0018] In addition, the slice parameters may include a DNN (Data Network Name) or an Application ID, may include a URSP critical element traffic descriptor, or may include other data, and this embodiment does not specifically limit them.

[0019] In step S120, query the SIM card corresponding to the current slice parameters, and determine the SIM card corresponding to the current slice parameters as the target SIM card for establishing a slice data connection.

[0020] In one embodiment, the SIM card selection device can inquire with the acquired current slice parameters to obtain a target SIM card corresponding to the current slice parameters, and establish a data connection and a slice connection through the target SIM card, so that the slice data connection of the application can be completed, that is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem of the application being unable to start the slice data connection.

[0021] In one embodiment, by adopting the above steps S110 to S120, the SIM card selection device can obtain a slice connection request sent from an application, where the slice connection request may include current slice parameters that can be used to determine a SIM card for slice connection. Then, the SIM card selection device can inquire with the obtained current slice parameters to obtain a target SIM card corresponding to the current slice parameters, and establish a data connection and a slice connection through the target SIM card, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0022] The number of SIM cards provided in the terminal according to the embodiment of the present application is at least two, and may be two or three, and is not specifically limited in the present embodiment.

[0023] The different SIM cards may correspond to the same carrier or to different carriers, and this embodiment does not specifically limit the same.

[0024] Referring to FIG. 2, in one embodiment, step S120 includes, but is not limited to, the following steps.

[0025] In step S210, if there are multiple SIM cards that correspond to the current slice parameters, the multiple SIM cards that correspond to the current slice parameters are determined as candidate SIM cards.

[0026] In one embodiment, if there are multiple SIM cards in the terminal that can support the current slice parameters, the multiple corresponding SIM cards can be set as candidate SIM cards for selection in the next step.

[0027] In step S220, network condition parameters of the candidate SIM cards are obtained.

[0028] In one embodiment, after determining the candidate SIM cards, the network condition parameters of the candidate SIM cards can be obtained in preparation for the next step of analyzing the network condition parameters.

[0029] In addition, the network state parameters may include one or more of a slice connection state, a signal strength parameter, a slice connection frequency parameter, and a connection cost, which is the status of the impact that the SIM card of the selected data connection has on slices used by other applications, and in this embodiment, there are no specific limitations on the network state parameters.

[0030] In step S230, determine a target SIM card for establishing a slice data connection from among the candidate SIM cards based on the network condition parameters.

[0031] In one embodiment, a target SIM card for establishing a slice connection can be determined based on the status of the network state parameters of all the candidate SIM cards, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0032] In one embodiment, by using the above steps S210 to S230, when there are multiple SIM cards corresponding to the current slice parameters, the multiple SIM cards corresponding to the current slice parameters are determined as candidate SIM cards. After the candidate SIM cards are determined, the network state parameters of the candidate SIM cards can be obtained. Then, based on the status of the network state parameters of all the candidate SIM cards, the target SIM card for establishing the slice connection can be determined, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0033] 3, when there are multiple SIM cards corresponding to the current slice parameters, the network state parameters include a slice connection state. In one embodiment, step S230 includes, but is not limited to, the following steps:

[0034] In step S310, if there is a SIM card whose slice connection state is connected among the candidate SIM cards, the SIM card whose slice connection state is connected is determined as the target SIM card.

[0035] In one embodiment, when there are multiple candidate SIM cards corresponding to the current slice parameters, when one of the candidate SIM cards is in a state of being connected to the slice, the candidate SIM card already connected to the slice can be directly determined as the target SIM card so as not to affect the slice of the current application, so that the slice data connection of the application can be completed with a low connection cost. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0036] 4, if there are multiple SIM cards corresponding to the current slice parameters, the network condition parameters include a signal strength parameter. In one embodiment, step S230 includes, but is not limited to, the following steps:

[0037] In step S410, if the slice connection state of the candidate SIM card is an unconnected state and the difference in signal strength parameter between the candidate SIM card with the highest signal strength parameter and the candidate SIM card with the next highest signal strength parameter is greater than a first threshold, the candidate SIM card with the highest signal strength parameter is determined as the target SIM card.

[0038] In one embodiment, when there are multiple SIM cards corresponding to the current slice parameters, the signal strength parameters of the candidate SIM cards can be compared and analyzed to provide a better quality network data transmission capability for the slice connection of the application. If the difference between the signal strength parameters of the candidate SIM card with the highest signal strength parameter and the candidate SIM card with the second highest signal strength parameter is greater than a first threshold, the candidate SIM card with the highest signal strength parameter can be determined as the target SIM card, and the slice data connection of the application can be completed. That is, the problem that the application cannot start the slice data connection is solved by making the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection the same SIM card.

[0039] In one embodiment, when there are two SIM cards corresponding to the current slice parameters, i.e., when the candidate SIM cards are a first SIM card and a second SIM card, respectively, the signal strength parameters of the first SIM card and the second SIM card can be obtained, and when the difference between the signal strength parameter of the first SIM card and the signal strength parameter of the second SIM card is equal to or greater than a first threshold, the first SIM card with a relatively good signal strength parameter can be determined as the target SIM card, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0040] The first threshold value can be set according to the actual situation, and is not specifically limited in this embodiment.

[0041] 5, when there are multiple SIM cards corresponding to the current slice parameters, the network state parameters include a slice connection frequency parameter corresponding to the application. In one embodiment, step S230 includes, but is not limited to, the following steps:

[0042] In step S510, if the difference in signal strength parameter between the first candidate SIM card and the second candidate SIM card is less than or equal to a first threshold, the candidate SIM card with the highest slice connection frequency parameter is determined as the target SIM card.

[0043] In one embodiment, when there are multiple SIM cards corresponding to the current slice parameters, a target SIM card can be determined from among the candidate SIM cards according to the status of the slice connection frequency parameter of the application, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0044] In one embodiment, when there are multiple SIM cards corresponding to the current slice parameters, the slice connection frequency parameters of the application can be obtained. The frequency status of the SIM card used for the slice of the application can be obtained by querying the second data module in the policy data module, and the target SIM card can be determined according to the slice connection frequency of the SIM card used for the application, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0045] Referring to FIG. 6, in one embodiment, the SIM card selection method includes, but is not limited to, the following steps.

[0046] In step S610, a slice connection request including current slice parameters sent from an application is received.

[0047] In one embodiment, the SIM card selection device may obtain a slice connection request sent from an application, where the slice connection request may include current slice parameters that can be used to determine a SIM card for the slice connection.

[0048] In step S620, the SIM card corresponding to the current slice parameters is queried.

[0049] In one embodiment, the SIM card selection device can inquire about the obtained current slice parameters to obtain the SIM card corresponding to the current slice parameters.

[0050] In step S630, if the number of SIM cards corresponding to the current slice parameters is one, determine the SIM card corresponding to the current slice parameters as the target SIM card.

[0051] In one embodiment, when there is only one SIM card in the terminal that can support the current slice parameters, the SIM card is set as the target SIM card, and a slice connection is made between the slice of the application and the SIM card, and it can be confirmed that the data network of the terminal performs the data connection through the SIM card, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0052] Referring to FIG. 7, in one embodiment, after step S120, the following steps are included, but not limited to:

[0053] In step S710, when the target SIM card is determined, update the slice connection frequency parameter of the target SIM card corresponding to the application.

[0054] In one embodiment, after the target SIM card has been confirmed, the slice connection frequency parameter of the target SIM card corresponding to the application can be updated, and the accuracy of determining the next slice connection request can be improved, so that the slice data connection of the application can be more accurately completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0055] Referring to FIG. 8, in one embodiment, after inquiring about the SIM card corresponding to the current slice parameters in step S120, the following steps are included, but not limited to:

[0056] In step S810, if there is no query result of a SIM card corresponding to the current slice parameters, a slice matching request carrying the current slice parameters is sent to each carrier network to which each SIM card belongs.

[0057] In step S820, a slice matching request result returned from the carrier network in response to the slice matching request is received.

[0058] In step S830, a target SIM card for establishing a slice data connection is determined based on the slice matching request result.

[0059] In one embodiment, when the SIM card selection device starts an inquiry in response to a slice connection request but cannot obtain an inquiry result of the data information of the SIM card corresponding to the current slice parameters, the SIM card selection device can establish a matching relationship between the current slice parameters and the SIM cards by sending a slice matching request holding the current slice parameters to the carrier network of each SIM card in the terminal. After the establishment of the matching relationship is completed, the slice matching request result returned by the carrier network in response to the slice matching request can be received to determine the target SIM card for establishing the slice data connection. That is, the problem that the application cannot start the slice data connection is solved by making the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection the same SIM card.

[0060] Referring to FIG. 9, in one embodiment, after step S820, the following steps are included, but not limited to:

[0061] In step S910, if all the slice matching request results returned from all the carrier networks are matching failures, a slice application message holding the current slice parameters is sent to the application slice server, and the SIM card corresponding to the current slice parameters is re-queried, and the SIM card corresponding to the current slice parameters is determined as the target SIM card for establishing a slice data connection.

[0062] In one embodiment, if all slice matching request results returned from all carrier networks are matching failures, a slice application notification is sent to the application slice server, and the application slice server can subscribe, register, and change the slice to the carrier to which each SIM card belongs. After the slice subscription, registration, and change are completed, the data of the correspondence between the current slice parameters and the SIM cards can be updated, for example, by updating to the first data module. Then, the SIM card corresponding to the current slice parameters is re-queried, and the SIM card corresponding to the current slice parameters is determined as the target SIM card for establishing the slice data connection, thereby solving the problem that the application cannot start the slice data connection.

[0063] Referring to Figure 10, in one embodiment, Figure 10 is a flowchart of a SIM card selection method applied to a SIM card selection device in one embodiment. In one embodiment, the SIM card selection system is provided in a dual SIM card terminal including a first SIM card and a second SIM card, and the SIM card selection method includes, but is not limited to, the following steps:

[0064] In step S1001, complete network registration of the first SIM card and the second SIM card, respectively, and during 5G network registration signaling interaction, obtain default slice lists NSSAI and corresponding URSPs supported by the networks to which the first SIM card and the second SIM card are registered, respectively.

[0065] In step S1002, obtain the URSP of the first SIM card and the second SIM card respectively, and establish a first data module according to the URSP.

[0066] In addition, the first data module may include correspondence data between a traffic descriptor of the URSP of the slice and a card description (eg, a Slot Id or a Subscription Id).

[0067] In step S1003, the first application initiates a slice connection request to the connection management module using slice parameters (e.g., DNN or Application Id) in the traffic descriptor in the URSP.

[0068] In step S1004, upon receiving a slice connection request, the first data module is inquired about a target SIM card corresponding to the slice.

[0069] In step S1005, it is determined whether any candidate SIM card has been matched. If YES, step S1012 is executed; if NO, step S1006 is executed.

[0070] In step S1006, send an instruction to a wireless protocol stack module so that the first SIM card and the second SIM card respectively send a request NSSAI to the network.

[0071] In step S1007, determine whether there is at least one SIM card whose corresponding carrier network supports slicing; if YES, execute step S1008; if NO, execute step S1009.

[0072] In step S1008, data module A is updated, and step S1005 is executed again.

[0073] In step S1009, the application slice server initiates slice subscription, registration, and modification to the carrier network corresponding to the first SIM card and the second SIM card.

[0074] In step S1010, it is determined whether the carrier network can update the slice and the URSP. If YES, step S1011 is executed; if NO, step S1008 is executed.

[0075] In step S1011, the slice connection request of the first application fails.

[0076] In step S1012, it is determined whether the candidate SIM card is a dual card or a single card. If it is a dual card, step S1014 is executed, and if it is a single card, step S1013 is executed.

[0077] In step S1013, the candidate SIM card is determined as the target SIM card.

[0078] In addition, while the terminal is operating, the SIM card selection policy module can monitor the usage frequency and foreground scheduling frequency of each application in the terminal, and detect the signal quality of the dual cards.

[0079] In step S1014, it is determined whether there is currently an established slice connection with the second application, and if YES, step S1015 is executed, and if NO, step S1016 is executed.

[0080] In step S1015, the current SIM card is directly used to establish a new slice.

[0081] In step S1016, signal quality parameters of the first SIM card and the second SIM card are obtained, and it is determined whether the difference between the signal quality parameters of the first SIM card and the signal quality parameters of the second SIM card is greater than a first difference threshold. If the answer is YES, step S1017 is executed; if the answer is NO, step S1018 is executed.

[0082] In step S1017, the first SIM card is determined as the target SIM card.

[0083] In step S1018, a second data module that stores data of a target SIM card corresponding to an application with a high scheduling frequency is queried to determine whether a candidate SIM card corresponding to the slice of the frequently scheduled application exists. If YES, step S1019 is executed; if NO, step S1021 is executed.

[0084] In step S1019, the candidate SIM card corresponding to the slice of the frequently used application is determined as the target SIM card.

[0085] In step S1020, the default SIM card set in the terminal is determined as the target SIM card.

[0086] In step S1021, the second data module is updated.

[0087] In one embodiment, the SIM card selection device can obtain a slice connection request sent from a first application, where the slice connection request may include current slice parameters that can be used to determine a SIM card for slice connection. Then, the first data module can be queried with the obtained current slice parameters to obtain a target SIM card corresponding to the current slice parameters, and a data connection and a slice connection can be established through the target SIM card. If the target SIM card corresponding to the current slice parameters cannot be obtained in the first data module, the application slice server can initiate slice subscription, registration and modification to the carrier network corresponding to the first SIM card and the second SIM card to update the first data module. If there are two candidate SIM cards corresponding to the current slice parameters, the target SIM card can be determined based on the network status parameters of the SIM cards. According to the above SIM card selection method, the slice data connection of the first application can be completed. That is, the problem that the application cannot start the slice data connection is solved by making the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection the same SIM card.

[0088] As shown in FIG. 11, which is a schematic diagram of a SIM card selection device, the SIM card selection device includes an acquisition module 1110 configured to receive a slice connection request sent from an application, the slice connection request including a current slice parameter, and a determination module 1120 configured to inquire about a SIM card corresponding to the current slice parameter and determine the SIM card corresponding to the current slice parameter as a target SIM card for establishing a slice data connection. The acquisition module 1110 can acquire a slice connection request sent from an application, where the slice connection request may include a current slice parameter that can be used to determine a SIM card of the slice connection. Then, the determination module 1120 can inquire with the acquired current slice parameter to obtain a target SIM card corresponding to the current slice parameter, and establish a data connection and a slice connection through the target SIM card, so that the slice data connection of the application can be completed. That is, the problem that the application cannot start the slice data connection is solved by making the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection the same SIM card.

[0089] In one embodiment, the determination module 1120 may be configured to determine the SIM card corresponding to the current slice parameter as the target SIM card when the number of SIM cards corresponding to the current slice parameter is one. When there is only one SIM card in the terminal that can correspond to the current slice parameter, the determination module 1120 sets the SIM card as the target SIM card, performs slice connection between the slice of the application and the SIM card, and can confirm that the data network of the terminal performs data connection through the SIM card, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0090] In one embodiment, the determination module 1120 may be configured to determine the SIM cards corresponding to the current slice parameters as candidate SIM cards when there are multiple SIM cards corresponding to the current slice parameters, obtain network state parameters of the candidate SIM cards, and determine a target SIM card for establishing a slice data connection from among the multiple candidate SIM cards based on the network state parameters. When there are multiple SIM cards corresponding to the current slice parameters, the determination module 1120 may determine the SIM cards corresponding to the current slice parameters as candidate SIM cards, and obtain the network state parameters of the candidate SIM cards after determining the candidate SIM cards. Then, based on the status of the network state parameters of all the candidate SIM cards, a target SIM card for establishing a slice connection can be determined, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0091] In one embodiment, the determining module 1120 may be configured to determine the candidate SIM card as the target SIM card when the slice connection state of the candidate SIM card is in a connected state. The network state parameters include slice connection states, and when one of the candidate SIM cards is in a connected state of the slice, the determining module 1120 can directly determine the candidate SIM card already connected to the slice as the target SIM card, so as not to affect the slice of the current application, so that the slice data connection of the application can be completed with a low connection cost. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0092] In one embodiment, the determination module 1120 may be configured to sort the candidate SIM cards in descending order of signal strength parameters when the slice connection state of the candidate SIM cards is unconnected, and determine the first candidate SIM card as the target SIM card when the difference between the signal strength parameters of the first candidate SIM card and the second candidate SIM card is greater than a first threshold. In order to provide a better quality network data transmission capability for the slice connection of the application, when the slice connection state of the candidate SIM cards is unconnected, the determination module 1120 sorts the candidate SIM cards in descending order of signal strength parameters, and determine the first candidate SIM card as the target SIM card when the difference between the signal strength parameters of the first candidate SIM card and the second candidate SIM card is greater than a first threshold, so that the slice data connection of the application can be completed. That is, the problem that the application cannot start the slice data connection is solved by making the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection the same SIM card.

[0093] In one embodiment, the determination module 1120 may be configured to determine the candidate SIM card with the highest slice connection frequency parameter as the target SIM card when the difference in signal strength parameters between the first candidate SIM card and the second candidate SIM card is equal to or less than the first threshold. When the difference in signal strength parameters between the first candidate SIM card and the second candidate SIM card is equal to or less than the first threshold, the determination module 1120 can determine the candidate SIM card with the highest slice connection frequency parameter as the target SIM card based on the status of the slice connection frequency parameter of the application, so that the slice data connection of the application can be completed. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0094] In one embodiment, the update module 1130 may be further included, and the update module 1130 may be configured to update the slice connection frequency parameter of the target SIM card when the target SIM card is determined. After the target SIM card has been confirmed, the update module 1130 may update the slice connection frequency parameter of the target SIM card corresponding to the application in the data of the second data module in the policy data module, so as to improve the accuracy of the determination of the next slice connection request, so as to more accurately complete the slice data connection of the application. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0095] In one embodiment, the SIM card selection device further includes a slice establishment module 1140, which may be configured to send a slice matching request carrying the current slice parameters to the carrier network to which each SIM card belongs when there is no query result of the SIM card corresponding to the current slice parameters, receive a slice matching request result returned by the carrier network in response to the slice matching request, and determine a target SIM card for establishing a slice data connection based on the slice matching request result. When the SIM card selection device initiates a query in response to the slice connection request but cannot obtain a query result of the data information of the SIM card corresponding to the current slice parameters, slice The establishment module 1140 can establish a matching relationship between the current slice parameters and the SIM cards by sending a slice matching request carrying the current slice parameters to the carrier network of each SIM card in the terminal. After the establishment of the matching relationship is completed, slice The establishment module 1140 can receive a slice matching request result returned by the carrier network in response to the slice matching request, and determine a target SIM card for establishing a slice data connection. That is, the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same SIM card, thereby solving the problem that the application cannot start the slice data connection.

[0096] In one embodiment, the slice establishment module 1140 may be configured to send a slice request message holding the current slice parameters to the application slice server when all slice matching request results returned from all carrier networks are matching failures, re-query a SIM card corresponding to the current slice parameters, and determine the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection. When all slice matching request results returned from all carrier networks are matching failures, the slice establishment module 1140 may send a slice request notification to the application slice server to subscribe, register, and change slices from the application slice server to the carrier to which each SIM card belongs. After the slice subscription, registration, and change are completed, the slice establishment module 1140 may update the data of the correspondence relationship between the current slice parameters and the SIM cards, for example, by updating the data in the first data module. Then, the SIM card corresponding to the current slice parameters is re-queried, and the SIM card corresponding to the current slice parameters is determined as a target SIM card for establishing a slice data connection, thereby solving the problem that the application cannot start the slice data connection.

[0097] Another embodiment of the present application further provides a terminal. Referring to Fig. 12, the terminal 1200 includes a memory 1220, a processor 1210, and a computer program stored in the memory 1220 and executable on the processor 1210, the computer program implementing any one of the above SIM card selection methods when executed by the processor 1210.

[0098] Another embodiment of the present application further provides a computer-readable storage medium, the computer-readable storage medium storing computer-executable instructions, the computer-executable instructions being executed by a processor or controller, for example, a processor in a terminal of the above-mentioned embodiment, to perform the above-mentioned embodiment. SIM card selection The processor may be caused to execute methods such as method steps S110 to S120 in FIG. 1, method steps S210 to S230 in FIG. 2, method step S310 in FIG. 3, method steps S410 to S420 in FIG. 4, method step S510 in FIG. 5, method steps S610 to S630 in FIG. 6, method step S710 in FIG. 7, method steps S810 to S830 in FIG. 8, method step S910 in FIG. 9, and method steps S1001 to S1021 in FIG. 10 described above.

[0099] According to the embodiments of the present application, a SIM card selection method, a device, a terminal and a storage medium are provided. According to the SIM card selection method, after receiving a slice connection request including current slice parameters sent by an application, the terminal can inquire about a SIM card corresponding to the current slice parameters, and then determine the corresponding SIM card as a target SIM card for establishing a slice data connection, so that the SIM card corresponding to the slice connection of the application and the SIM card corresponding to the data connection are the same, thereby solving the problem that the application cannot start the slice data connection.

[0100] Those skilled in the art will understand that all or part of the steps of the method disclosed above, the system can be implemented as software, firmware, hardware, and appropriate combinations thereof. Part or all of the physical assembly can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software can be distributed on computer readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). It is well known to those skilled in the art that the term computer storage media includes volatile and non-volatile, removable and non-removable media, implemented in any method or technology for storing information (computer readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and that can be accessed by a computer. Additionally, communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media, as known to those skilled in the art.

[0101] The above is the present application Some Although the examples have been specifically described, the present application is not limited to the above-mentioned embodiments. range Various equivalent modifications or substitutions may be made within the scope of the appended claims without departing from the spirit and scope of the present invention.

Claims

1. 1. A SIM card selection method performed by a terminal including at least two SIM cards, comprising: The terminal receives a slice connection request sent from an application, the slice connection request including current slice parameters; the terminal inquiring from the at least two SIM cards which SIM card corresponds to the current slice parameters, and determining the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection; Including, The step of the terminal determining a SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection includes: When there are multiple SIM cards corresponding to the current slice parameters, the terminal determines the multiple SIM cards corresponding to the current slice parameters as candidate SIM cards; said terminal obtaining network condition parameters of said candidate SIM card; and determining, by the terminal, a target SIM card for establishing a sliced ​​data connection from among the candidate SIM cards based on the network condition parameters; The network state parameters include at least one of a slice connection state, a signal strength parameter, and a slice connection frequency parameter. How to select a SIM card.

2. The network state parameters include a slice connection state, and the step of the terminal determining, based on the network state parameters, a target SIM card for establishing a slice data connection from among the candidate SIM cards, comprises: determining, when a SIM card whose slice connection state is a connected state is present among the candidate SIM cards, the SIM card whose slice connection state is a connected state as the target SIM card; 2. The SIM card selection method of claim 1, comprising:

3. The network condition parameters include a slice connection state and a signal strength parameter, and the step of the terminal determining, based on the network condition parameters, a target SIM card for establishing a slice data connection from among the candidate SIM cards, comprises: When the slice connection state of the candidate SIM card is an unconnected state and the difference in signal strength parameter between the candidate SIM card having the highest signal strength parameter and the candidate SIM card having the second highest signal strength parameter is greater than a first threshold value, the terminal determines the candidate SIM card having the highest signal strength parameter as the target SIM card.

3. The SIM card selection method according to claim 2, comprising:

4. The network condition parameters further include the slice connection frequency parameter, and the step of the terminal determining, based on the network condition parameters, a target SIM card for establishing a slice data connection from among the candidate SIM cards, comprises: When a difference in signal strength parameter between the first candidate SIM card and the second candidate SIM card is equal to or less than a first threshold, the terminal determines the candidate SIM card having the highest slice connection frequency parameter as the target SIM card.

4. The SIM card selection method of claim 3, further comprising:

5. The step of the terminal determining a SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection, comprising: If the number of SIM cards corresponding to the current slice parameter is one, the terminal determines the SIM card corresponding to the current slice parameter as a target SIM card.

2. The SIM card selection method of claim 1, comprising:

6. When the target SIM card is determined, the terminal updates a slice connection frequency parameter of the target SIM card.

6. The SIM card selection method according to claim 1, further comprising:

7. After the step of the terminal inquiring about a SIM card corresponding to the current slice parameters, the method further comprises: When there is no SIM card inquiry result corresponding to the current slice parameters, the terminal sends a slice matching request holding the current slice parameters to each carrier network to which each SIM card of the at least two SIM cards belongs; The terminal receives a slice matching request result returned by the carrier network in response to the slice matching request; The terminal determines a target SIM card for establishing a slice data connection based on the slice matching request result; 2. The SIM card selection method of claim 1, further comprising:

8. After the step of the terminal receiving a slice matching request result returned by the carrier network in response to the slice matching request, the method further comprises: If all slice matching request results returned from all the carrier networks are matching failures, the terminal sends a slice request message carrying the current slice parameters to an application slice server, inquires again about a SIM card corresponding to the current slice parameters, and determines the SIM card corresponding to the current slice parameters as a target SIM card for establishing a slice data connection.

8. The SIM card selection method of claim 7, further comprising:

9. A terminal comprising a memory, a processor, at least two SIM cards, and a computer program stored in the memory and executable on the processor, When the computer program is executed by the processor, the computer program implements the SIM card selection method according to any one of claims 1 to 8. Terminal.

10. A computer-readable storage medium having computer-executable instructions stored thereon, The computer executable instructions are configured to perform a SIM card selection method according to any one of claims 1 to 8. A computer-readable storage medium.

Citation Information

Patent Citations

  • Cell reselection method and device, information transmission method and device, communication equipment and storage medium

    CN111386727A

  • Do not take action.

    JP2019522418A

  • Network slice reselection

    JP2019533333A

  • Method and system for access and use of multiple ISIM or ISIM credentials

    US20190044980A1

  • Systems and methods for better resource utilization in 5g networks using enablement layer

    US20190373443A1