CN115866581A - User authentication data switching processing method, communication equipment and readable storage medium - Google Patents

User authentication data switching processing method, communication equipment and readable storage medium Download PDF

Info

Publication number
CN115866581A
CN115866581A CN202211458012.XA CN202211458012A CN115866581A CN 115866581 A CN115866581 A CN 115866581A CN 202211458012 A CN202211458012 A CN 202211458012A CN 115866581 A CN115866581 A CN 115866581A
Authority
CN
China
Prior art keywords
user authentication
authentication data
sim
module
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211458012.XA
Other languages
Chinese (zh)
Inventor
陶震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202211458012.XA priority Critical patent/CN115866581A/en
Publication of CN115866581A publication Critical patent/CN115866581A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a user authentication data switching processing method, communication equipment and a readable storage medium, wherein the method comprises the following steps: under the condition that a communication authentication module is triggered to start, the connection disconnection of a cellular network is detected or a request for reading user authentication data is received, selecting one user authentication data from a plurality of pre-stored user authentication data, wherein the user authentication data is used for authenticating in the network access process of a mobile communication network; and using the selected user authentication data for authentication in the network access process of the mobile communication network. Through the application, the problem that selection between SIM profiles is complex to realize under the condition that a plurality of user authentication data SIM profiles are adopted in the prior art is solved, and then switching of the SIM profiles is carried out when starting, so that the SIM profiles are easy to realize and can be adapted to different devices as far as possible.

Description

User authentication data switching processing method, communication equipment and readable storage medium
Technical Field
The present application relates to the field of mobile communications, and in particular, to a method for handing over user authentication data, a communication device, and a readable storage medium.
Background
Cellular networks are the basic architecture of mobile communication networks, which are somewhat cellular-like and are composed of a plurality of cells. Each cell has a base station, which is composed of a transmitter and a receiver, and is responsible for communication between users in the cell and users in the cell or other cells. The channel capacity of each cell is limited, but the system can be increased, the number of cell users is increased, and the cells can be divided into cells with smaller areas. Thus, the cellular network is a mobile communication network.
At present, in a device with mobile communication capability, an integrated circuit including multiple subscriber identity cards (i.e., SIM cards) is common, especially in an internet of things device. The problem that connection is easy to interrupt in the cellular networking process is solved through the integrated circuit comprising the plurality of SIM cards in the Internet of things equipment, and loss and manpower maintenance cost caused by interruption of customers are reduced. The essence of an integrated circuit using multiple SIM cards is that multiple user authentication data are used, where english in the user authentication data is SIM Profile (or Profile for short), and SIM Profile is a general name for a series of files and data needed for accessing to a Mobile Network Operator (MNO for short) Network. Using different SIM profiles amounts to different users accessing the cellular network.
When a plurality of SIM profiles exist in the use, how to select the SIM profiles is not explicitly described in the prior art, and in terms of the current implementation mode, the implementation mode of each manufacturer is complex, and a long period is needed for development and testing, so that a plurality of devices do not use the plurality of SIM profiles, and the popularization of the technology is influenced.
Disclosure of Invention
The embodiment of the application provides a user authentication data switching processing method, communication equipment and a readable storage medium, so as to at least solve the problem caused by complex implementation of selection between SIM profiles under the condition that a plurality of SIM profiles are adopted in the prior art.
According to an aspect of the present application, there is provided a method for switching user authentication data (SIM Profile), including: under the conditions that a communication authentication module is triggered to start, cellular network disconnection is detected or a request for reading user authentication data is received, selecting one user authentication data from a plurality of pre-stored user authentication data, wherein the user authentication data is used for authentication in the process of accessing a mobile communication network; and using the selected user authentication data for authentication in the network access process of the mobile communication network.
According to another aspect of the present application, there is also provided a cellular device comprising: the system comprises one or more communication authentication modules and a control module, wherein the control module is positioned in the communication authentication module, or the control module is connected with the communication authentication module, and the communication authentication module is used for storing one or more user authentication data; the control module is used for executing the method.
According to another aspect of the present application, there is also provided an electronic device, including: a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the above-described method steps.
According to another aspect of the present application, there is also provided a readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a processor, implement the above-described method steps.
In the embodiment of the application, under the condition that a communication authentication module is triggered to start, the connection disconnection of a cellular network is detected or a request for reading user authentication data is received, one user authentication data is selected from a plurality of user authentication data which are stored in advance, wherein the user authentication data is used for authentication in the network access process of a mobile communication network; and using the selected user authentication data for authentication in the network access process of the mobile communication network. Through the application, the problem that selection between SIM profiles is relatively complicated and caused under the condition that a plurality of SIM profiles are adopted in the prior art is solved, so that switching of the SIM profiles is performed when starting, the SIM profiles are easy to realize, and different devices can be adapted as far as possible.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a SIM Profile switching processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a first way of arranging a control module for a cellular device or module according to an embodiment of the present application;
fig. 3 is a schematic diagram of a second way of arranging a control module for a cellular device or module according to an embodiment of the present application;
fig. 4 is a flowchart of a control module switching SIM Profile according to an embodiment of the present application; and the number of the first and second groups,
fig. 5 is a flow chart of a cellular device switching SIM Profile according to an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than here.
In order to better explain the following embodiments, technical terms related to the following embodiments will be described first.
UICC
A Universal Integrated Circuit (UICC) is a generic name of a smart Card that defines physical characteristics, electrical characteristics, and the like. As a component of the terminal device, the UICC is mainly used to store information such as user information, an authentication key, and a charging policy. The UICC may include various logic modules, such as a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), an IP multimedia services Identity Module (ISIM), and other non-telecommunications application modules, such as electronic signature authentication, electronic wallet, etc. The logic modules in the UICC may exist separately or a plurality of logic modules may exist simultaneously, and different user terminals may select to use the corresponding logic modules according to the type of the radio access network. An embedded universal integrated circuit (embedded UICC, eUICC for short) is formed by embedding a UICC into a terminal in a packaging or welding manner, and is also a type of UICC, and the eUICC is inconvenient to plug and unplug and cannot be replaced at will like the UICC. The UICC in the following embodiments also includes eUICC.
SIM card
A Subscriber Identity Module (SIM) card is an IC card held by a mobile Subscriber, called a Subscriber Identity card, and is a type of UICC. The mobile telephone and the SIM card together form a mobile communication terminal device. The user of the digital mobile telephone gets a SIM card when entering the network. The SIM card is a card containing a large-scale integrated circuit inside, and the card stores the information of the digital mobile phone client, the encryption key and other contents, and can be used by the network to identify the client identity and encrypt the voice information when the client calls. The use of the SIM card completely prevents the parallel operation and the call from being intercepted, and the manufacture of the SIM card is strictly carried out according to international standards and specifications, which ensures the normal communication of customers to be reliably guaranteed. In the case where the SIM card is not installed, only the number of the emergency call can be dialed. A SIM card can be inserted into any mobile phone for use, and communication charges generated by using the mobile phone are automatically recorded on an account of a customer which is uniquely identified by the SIM card.
IoT
The Internet of Things (Internet of Things, abbreviated as IoT) is to collect any object or process needing monitoring, connection and interaction in real time and collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and location of the object or process through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, and realize the ubiquitous connection of the object and the person through various possible network accesses, and realize intelligent sensing, identification and management of the object and the process. The internet of things is an information bearer based on the internet, a traditional telecommunication network and the like, and all common physical objects which can be independently addressed form an interconnected network.
SIM Profile
The SIM Profile refers to a set of file structures, data and application programs, and includes a network access credential of one or more network access applications, such as an International Mobile Subscriber Identity (IMSI) and a personal Identity authentication Key (KI), that is, the SIM Profile may include user identification information, i.e., information such as a user Identity, an authentication parameter, an operator customization parameter, and service subscription information.
The SIM Profile may be a general name of a series of files and data related to a certain Mobile Network Operator (MNO) inside the UICC or eUICC (in the following embodiments, a SIM card is taken as an example), and the SIM Profile switching may involve activation and deactivation of the SIM Profile.
A device capable of communicating with a cellular mobile network (referred to as a cellular device for short) is provided with a cellular module (or referred to as a cellular module), and the cellular device or the cellular module can access the mobile communication network through a plurality of SIM profiles, where it is noted that a communication authentication module may be used to store the SIM profiles, one communication authentication module may store one SIM Profile, or one communication authentication module may store a plurality of SIM profiles, and it is noted that the SIM profiles may be stored in the Profile module, and thus, one communication authentication module may include one Profile module or may also include a plurality of Profile modules. For example, a SIM card may be regarded as a communication authentication module, and one SIM card may include multiple SIM profiles, or one SIM card may include only one SIM Profile. When multiple SIM profiles are needed for a cellular device or module, the multiple SIM profiles may be in a single SIM card, or each SIM Profile may be in a single SIM card, which involves the selection of multiple SIM profiles whether the integrated circuit uses one SIM card or multiple SIM cards.
Due to the existence of multiple SIM profiles, in order to implement switching among multiple SIM profiles, in the existing implementation, various devices into which control software and drivers are installed are required, in which case, a device provider and/or a module provider are required to make corresponding software modifications, which requires a long time period to coordinate each party to make development and testing human input, which hinders the development of multiple SIM Profile technologies.
In order to solve the above problem, in the following embodiments, a method for processing subscriber authentication data (SIM Profile) switching is provided, fig. 1 is a flowchart of a method for processing SIM Profile switching according to an embodiment of the present application, and as shown in fig. 1, the following describes steps included in the method related to fig. 1.
Step S102, a communication authentication module is triggered to start, a cellular network disconnection is detected or a request for reading user authentication data is received, wherein the SIM Profile is used for authentication in a mobile communication network access process, and the number of the communication authentication modules is one or more.
It should be noted that, in an optional embodiment, multiple SIM profiles may be stored in the communication authentication module (the communication authentication module may be one or multiple), but the multiple SIM profiles may also be stored in other modules or units, and as long as multiple SIM profiles are stored and one SIM Profile is selected from the multiple SIM profiles for authentication in the network entry process, the technical problem may be solved. The UICC or the SIM card with this function is an implementation of the communication authentication module. The communication authentication module is arranged in the cellular device and can be connected with a cellular module in the cellular device, and the cellular module uses the SIM Profile in the communication authentication module to access the network. The communication authentication module may be provided with a Profile module for storing SIM profiles, wherein one Profile module is used for storing one SIM Profile, and thus one communication authentication module may only include one Profile module, or may include a plurality of Profile modules.
The communication authentication module may be triggered to start, for example, a power-on procedure of the communication authentication module is a triggered start procedure, for example, the communication authentication module restarts after receiving a restart signal (reset), for example, the communication authentication module restarts after receiving a command from another module, and so on. The communication authentication module generally has a plurality of pins, and may receive a restart signal through a reset pin, or may receive a command from another module through a data pin, and start after receiving the command. Except that the communication authentication module is restarted, the cellular module or the cellular device reads the SIM Profile again to request authentication and network access, and can also trigger selection from a plurality of SIM profiles. Namely, when restarting, or when the cellular module or the cellular device reads the SIM Profile to perform network access authentication, the SIM Profile can be automatically switched.
In this step, the communication authentication module may be located in any device, and the communication authentication module is used as a functional unit for communicating with the mobile communication network, and is responsible for network access of the mobile communication network by using the SIM Profile. Since the mobile communication network is also called as a cellular network, the mobile communication network can communicate with the cellular network through a cellular module, the cellular module includes a mobile signal sending and receiving device, and the like, and the cellular module uses the SIM Profile stored in the communication authentication module to access the mobile communication network. The device comprising the communication authentication module and the cellular module is also referred to as a cellular device in the following embodiments. In the following embodiments, a module capable of performing the steps in fig. 1 is referred to as a control module, which may be in the communication authentication module or outside the communication authentication module, and is connected with the cellular module through a power supply and electrifying interface. Taking the SIM card as an example, the steps shown in fig. 1 may be implemented by a control module, which may be disposed in the SIM card and connected to the cellular module through the communication power supply interface, or the control module may be disposed outside the SIM card, where one side of the control module is connected to the cellular module, and all pins of the SIM card are connected to the other side of the control module; or one side of the control module is connected with the cellular module, one part of the pins of the SIM card is connected with the pins on the other side of the control module, and the other part of the pins of the SIM card is connected with the cellular module. Of course, the steps in fig. 1 may be performed by other modules. The switching of the SIM Profile can be done regardless of which module performs the steps in fig. 1.
In this step, the following steps S104 and S106 are executed each time the communication authentication module is started, the cellular network disconnection is detected, or a request for reading the user authentication data is received, which makes it easy to switch the SIM Profile, for example, when the SIM Profile needs to be switched, only a command for starting the communication authentication module needs to be sent. In general, there are two cases for the activation of the communication authentication module: one situation is that the communication authentication module is in a closed state, for example, the cellular device where the communication authentication module is located is in a closed state, and at this time, after the cellular device is turned on, the communication authentication module starts to be started; in another case, the communication authentication module is in an on state, and is triggered to restart (for example, a restart command or a reset signal is received, which is collectively referred to as a start command in the following embodiments), and the communication authentication module restarts. In both cases the steps of SIM Profile reselection of steps S104 and S106 below may be performed. Alternatively, as another alternative, in the first case (i.e. from the off state to the on state), a default SIM Profile may be configured, and in the case of restart, the SIM Profile reselection of step S104 and step S106 is performed. It should be noted that the restart may be the whole restart of the cellular device or the cellular module where the communication authentication module is located, or may be the restart command sent by another module inside the cellular device to the communication authentication module, where the restart command is used to instruct the communication authentication module to restart. In order to identify that the start is a restart, an indication information (e.g. an indication bit of one bit) may be used in the configuration file, the indication information is configured to be a first value before the restart, and if the indication information is found to be the first value during the start of the communication authentication module, the following steps S104 and S106 are performed, and after the start is completed, the indication information is configured to be a second value. The indication information is configured to be a first value only when a restart command is received, and if the received restart command is a shutdown command, the indication information is not configured to be the first value, so that the communication authentication module reads that the indication information is a second value in the startup process, and the default SIM Profile is directly used for network access of the mobile communication network.
And step S104, after the communication authentication module is triggered to start, selecting one SIM Profile from a plurality of prestored SIM profiles.
In this step, a plurality of SIM profiles saved in advance may be saved in one communication authentication module, or a plurality of SIM profiles may also be saved in a plurality of communication authentication modules, for example, a plurality of SIM profiles may be saved in an integrated circuit including one SIM card, or a plurality of SIM profiles may also be saved in an integrated circuit including a plurality of SIM cards, respectively. It should be noted that when the SIM card is referred to in the following embodiments, other types of UICC cards may be used instead, including an eUICC card.
The multiple SIM profiles in this step may include SIM profiles of different operators, or may include different SIM profiles of the same operator.
And step S106, using the selected SIM Profile to authenticate the mobile communication network in the network access process.
In this step, the network access authentication (hereinafter referred to as network access) of the mobile communication network using the SIM Profile is the same as the existing step, wherein different types of mobile communication networks may have different network access authentication steps, which is not described herein again.
In the above steps, when SIM Profile switching is required, network access of the mobile communication network may be performed as long as the communication authentication module selects one SIM Profile from the multiple SIM profiles in the starting process, and this processing manner does not require complex operations, so that multiple SIM profiles may all have a chance to be used, and SIM Profile switching may be implemented without requiring complex program support for cellular device installation.
For some types of mobile communication networks, it may be possible to mark the SIM Profile in use as active and the remaining SIM profiles as inactive, in order to ensure that only one SIM Profile is used at a time. To adapt to this situation, in an alternative embodiment, the SIM Profile in the active state may be first changed to the inactive state, and then the selection of the SIM Profile may be performed. That is, in this alternative embodiment, selecting one SIM Profile from a plurality of SIM profiles saved in advance may include the steps of: judging whether the SIM profiles set to be in an activated state exist in the plurality of SIM profiles, and if so, setting the SIM profiles set to be in the activated state to be in an inactivated state; one SIM Profile is selected from a plurality of SIM profiles in an inactive state. By the optional implementation mode, all the SIM profiles can be ensured to be in an inactive state, so that the selected SIM profiles can be ensured to work normally.
Meanwhile, in order to determine that the selected SIM Profile can be used correctly when accessing the network and prevent the unselected SIM Profile from being used, the selected SIM Profile may be set to the activated state first, so that other SIM profiles cannot be set to the activated state, that is, the selected SIM Profile is guaranteed to access the network normally. That is, in this alternative embodiment, the network entry of the mobile communication network using the selected SIM Profile includes: setting the state of the selected SIM Profile as an activation state; and after the SIM Profile is set to be in the activated state, using the selected SIM Profile to access the mobile communication network.
When selecting one SIM Profile from a plurality of SIM profiles, there are many selection methods, among which the implementation is relatively easy as follows: selecting one SIM Profile from a plurality of SIM profiles saved in advance includes: one SIM Profile is selected randomly or in a predetermined order. For example, three SIM profiles, i.e., SIM Profile1, SIM Profile2, and SIM Profile3, are stored in advance, and the sequence may be specified in advance, where SIM Profile1 is selected when the system is started for the first time, SIM Profile2 is selected when the system is started for the second time, SIM Profile3 is selected when the system is started for the third time, and so on. In this embodiment, a parameter may be used to record the number of times of starting or selecting the user authentication data, and when the SIM Profile used this time is selected, the parameter is read first, the number of times is obtained from the parameter, and then the SIM Profile required this time is calculated according to the number of times. This alternative embodiment requires an additional parameter and a decision step, and the processing is relatively complex, and if a simpler processing is desired, the random selection may be directly used, and a random function may be used. The random selection, although relatively simple, has no way of knowing in advance which SIM Profile is used for this boot. Therefore, the two ways of selecting the SIM Profile have advantages and disadvantages, and can be flexibly used in practical implementation.
In addition, most reboots are intended to replace one SIM Profile for use. In this regard, a parameter may be used to store the currently used SIM Profile, which is first read after startup and then the SIM Profile indicated by the parameter is not selected during this selection. That is, in this alternative embodiment, selecting one SIM Profile from a plurality of SIM profiles saved in advance includes: obtaining SIM Profile used by the network access before the communication authentication module is triggered to start; and selecting one SIM Profile from other SIM profiles except the SIM Profile used for network access before the communication authentication module is triggered to start. Still take three SIM profiles in the communication authentication module as an example for explanation, the communication authentication module uses SIM Profile1 to perform communication, the identification information of the SIM Profile1 is also stored in the predetermined parameter, after the communication authentication module receives the restart command, data is read from the predetermined parameter to find that the last used SIM Profile is SIM Profile1, and then it is determined that the SIM Profile selected this time is selected between SIM Profile2 and SIM Profile3, and SIM Profile1 is no longer used.
It can be known from the above description that the SIM Profile to be reselected for use may be active or passive. For example, the cellular device in which the communication authentication module is located is not rebooted for wireless network communication, in which case the SIM Profile reselection is passive. In another example, the cellular device may wish to reselect the SIM Profile, most often when an anomaly occurs between the cellular device and the mobile communications network (i.e., cellular network), or the cellular device or cellular module disconnects the network connection to the cellular network, in which case the cellular device may wish to reselect the SIM Profile. That is, in an alternative embodiment, the step of triggering the communication authentication module to be activated may include the following steps: judging whether the communication with the mobile communication network is abnormal or not; in case of an anomaly, the communication authentication module is triggered to start, or the cellular device or cellular component requests to read the SIM Profile. In this alternative embodiment, whether the communication is abnormal may include various situations, for example, the cellular device cannot be connected to the mobile communication network, a large amount of packet loss occurs between the cellular device and the mobile communication network, the wireless signal strength of the cellular device is lower than a threshold value, the delay between the cellular device and the mobile communication network is increased, and the like, and in these situations, if the normal operation of the cellular device is affected, a restart command may be sent or a request to re-read the SIM Profile may be made. It should be noted that the restart command may be only for the communication authentication module, that is, the communication authentication module is restarted, and other modules do not need to be restarted; or the restart command may be for this cellular device, i.e. the entire cellular device.
If the communication is started only when the communication between the communication authentication module and the mobile communication network is abnormal, replacing the used SIM Profile is an optimal choice, and as an optional implementation, the SIM Profile used when the communication is abnormal may be acquired, and then one SIM Profile may be selected from other SIM profiles of the plurality of SIM profiles except for the SIM Profile used when the communication is abnormal. In this way, the SIM Profile can be replaced after a restart. Or, SIM profiles of different operators may be selected after the restart, for example, when an abnormality occurs in the process of using the mobile communication network provided by the operator a, the restart is needed at this time, and after receiving a restart command, an SIM Profile of a non-operator a may be selected from other SIM profiles, so that the operator may be replaced by the restart, thereby avoiding the abnormality caused again by a failure of the base station after the restart.
In another alternative embodiment, it can also be counted by a parameter how many times each SIM Profile is restarted due to an abnormality occurring between the communication authentication module and the mobile communication network after being used. For example, the parameter a may be used for statistics, when the SIM Profile1 is used for communication of the mobile communication network, if it is determined that the network is abnormal, the SIM Profile needs to be restarted to reselect, and at this time, the abnormal number of times of the SIM Profile1 is increased by 1 by using the parameter a. Through the processing mode, the abnormity which occurs in other SIM profiles in history can be obtained from the parameter A after the starting, and then the SIM Profile with the least abnormal times is selected for the network access of the mobile communication network. For example, SIM Profile2 has an abnormality count of 10 and SIM Profile3 has an abnormality count of 15, and SIM Profile3 may be selected as the SIM Profile used after the restart.
In the above alternative embodiments and examples, various manners of selecting the SIM Profile are involved, and in the above embodiments, the SIM Profile is selected after the restart is taken as an example, and the above embodiments are also applicable to the case where the SIM Profile is reselected after the request for reading the user authentication data is received or the cellular network disconnection is detected, and it is only necessary to change "after the start" in the above embodiments to "after the request for reading the user authentication data is received" or "after the cellular network disconnection is detected". The modes can be displayed to the user through a configuration interface, so that the user can configure and select the mode of the SIM Profile. Therefore, the user can flexibly customize the system according to the needs of the user.
In order to make the above embodiment applicable to more devices, the control module executing the method steps in the above embodiment may be configured in the communication authentication module, that is, in an alternative embodiment, there is also provided a communication authentication module, including: one or more SIM Profile modules, wherein each SIM Profile module is used for storing one SIM Profile; and the control module is connected with the plurality of SIM Profile modules and is used for executing the method steps in the optional embodiment. The communication authentication module can directly realize the functions, so that the communication authentication module can be adapted to more devices. Of course, a device may use the communication authentication module to implement the above functions, or the control module may be configured in the device to implement the above functions, that is, in another optional implementation, there is also provided a communication device, including: the system comprises one or more communication authentication modules and a control module, wherein the control module is positioned in the communication authentication module, or the control module is connected with the communication authentication module, and the communication authentication module is used for storing one or more user authentication data; the control module is configured to perform the method steps described in the above-mentioned alternative embodiments.
There are many implementations of the communication authentication module, such as a SIM card. The following description will be made by taking a SIM card as an example. In the following example, the steps in the above embodiments may be implemented by providing a control module, and the control module may be provided in the cellular device or in the SIM card.
Fig. 2 is a schematic diagram of a first mode of setting a control module for a cellular device or a module according to an embodiment of the present disclosure, as shown in fig. 2, a base station (referred to as a cellular base station for short) in a cellular mobile network provides a base station service for the cellular device or the cellular module, the cellular device or the module communicates with the cellular base station by sending a wireless signal through an antenna, a SIM is configured inside the cellular device, the cellular device or the cellular module supplies power to a SIM card through a power supply communication interface and performs data interaction with the SIM, a plurality of SIM Profile modules (three are shown in fig. 2) exist in the SIM card, that is, a SIM Profile module 1, a SIM Profile module 2, and a SIM Profile module 3, three different SIM profiles are respectively stored in the three models, the SIM Profile module 1 stores the SIM Profile1, the SIM Profile module 2 stores in the SIM Profile module 2, and the SIM Profile module 3 stores the SIM Profile3. It should be noted that the SIM Profile module in fig. 2 may be an independent chip, or information stored in the chip, or information that is made security isolation in the chip, and the specific implementation manner of the SIM Profile is not limited herein.
In fig. 2, the control module is arranged in the SIM card, and this arrangement makes it unnecessary to change the cellular device or the cellular module, and the SIM with the control module is inserted into the cellular device or the cellular module, so as to implement the function of switching the SIM Profile during starting.
Fig. 3 is a schematic diagram of a second mode of arranging a control module in a cellular device or module according to an embodiment of the present application, where a cellular base station, an antenna, a cellular device or a cellular module in fig. 3 is the same as that shown in fig. 2, and is different from that in fig. 2 in that, as shown in fig. 3, there are multiple SIM cards in the cellular device or the cellular module, that is, the SIM card 1, the SIM card 2, and the SIM card 3 in fig. 3, and all three SIM cards are connected to the cellular device or the cellular module through a power supply communication interface. In each of the three SIM cards, there is one Profile module, wherein, in SIM card 1, profile module 1, in SIM card 2, profile module 2, and in SIM card 3, profile module 3. In fig. 3, the control module is disposed in the cellular device and connected to the three SIM cards through the power supply communication interface, so that the control module can control the switching of the Profile module through the power supply communication interface. In the scenario shown in fig. 3, the actual SIM card and control module may be connected as shown in fig. 3, or SIM card 1, SIM card 2, and SIM card 3 may be connected to the control module only through some pins, and other pins may be connected to the cellular module.
Through the analysis, the communication power supply interface connects the cellular module with the control module; under the condition that the control module is not arranged in the SIM card, the communication power supply interface also connects the control module and the SIM card, wherein all pins of the SIM card can be connected with the control module through the communication power supply interface; or part of pins of the SIM card are connected with the control module through the communication power supply interface, and the other part of pins of the SIM card are connected with the cellular module through the communication power supply interface. The two connection modes are both available, and different connection modes can be selected according to actual requirements in actual application.
It should be noted that the settings of the control module shown in fig. 2 and 3 are only two examples, and the control module may be set in other locations where the control module can be set, and the functions of the above and following embodiments can be implemented as long as the control module can obtain the SIM Profile from the Profile module. The Profile module stores SIM Profile, so switching, activating or deactivating the Profile module described in the following embodiments may also be described as switching, activating or deactivating SIM Profile, and the technical meanings expressed by these two descriptions are the same.
Fig. 2 and 3 show that the SIM includes a Profile module, and in addition to the SIM card, an eSIM card is also used, and a Profile module for storing SIM Profile is also included in the eSIM card. Likewise, the following embodiments are applicable to other types of UICCs as well as euiccs. It can be seen that, in any future manner for storing the SIM Profile, the embodiments of the present application may be applied as long as the switching between multiple SIM profiles is involved in one cellular device or cellular module.
An alternative embodiment is described below in conjunction with the control module provided in fig. 2 and 3. Fig. 4 is a flowchart of switching SIM Profile by the control module according to the embodiment of the present application, and as shown in fig. 4, the flowchart of switching SIM Profile by the control module may include the following steps.
Step S402, the control module starts, or the control module receives a request for the SIM Profile read by the cellular module or the cellular device to perform network access authentication, or the control module detects that the cellular module or the cellular device is disconnected from the cellular network. In this step, when the cellular device or the connected cellular module where the control module is located is in the closed state, the control module is started from the closed state to the open state, and this process is called a power-on process. In addition to the power-up process control module being started, if the control module is restarted, the control module is also started.
Step S404, the control module checks whether there is a SIM Profile currently set in an activated state, and if so, acquires the SIM Profile currently in the activated state or its identification information, and sets the SIM Profile in an inactivated state (i.e., deactivation). It should be noted that the step is an optional step, and in some cases, the SIM Profile desired to be used may be directly selected without being set to the inactive state, and similarly, the step S408 is also an optional step, and in some cases, the SIM Profile needs to be set to the active state, and then the SIM Profile is used to perform authentication and network entry; in some cases, the SIM Profile is not required to be set to the active state, and is directly used for authentication and network access.
In step S406, the control module selects one SIM Profile from all the SIM profiles, where the selection mode may be sequential selection or random selection, or may use other selection rules, which are not described herein any more.
In step S408, the control module sets the state of the SIM Profile selected in step S406 to an activated state. This step is also an optional step, as in step S404, and is already described in step S404, and is not described herein again.
Step S410, the control module performs authentication access of the cellular network by using the SIM Profile selected in step S406.
Fig. 4 describes a flow of reselecting the SIM Profile by the control module, and the flow in fig. 4 may be started when SIM Profile switching is needed, where a variety of situations need to switch the SIM Profile exist, for example, one of the situations is shown in fig. 5, fig. 5 is a flow chart of switching the SIM Profile by the cellular device according to the embodiment of the present application, and as shown in fig. 5, the flow of the cellular device needing to switch the SIM Profile may include the following steps.
In step S502, the cellular device detects a network status or a service connection status.
Step S504, if the cellular device detects that the network status or the service connection status is abnormal, the cellular device is restarted, or the cellular module or the cellular device reads the SIM Profile again to perform authentication and network entry, or the cellular module or the cellular device disconnects the network connection with the cellular network.
In step S506, the control module automatically switches the SIM Profile (the switching process is the process described in fig. 4 and is not described here again).
Step S508, the cellular device accesses the network using the new SIM Profile.
In the flow shown in fig. 4 and 5, a plurality of SIM profiles are provided, and when the control module is started (for example, powered on or restarted), one SIM Profile is selected from all the SIM profiles, and the selection mode may be sequential selection or random selection. Then, the control module uses the selected SIM Profile to authenticate the cellular network.
In the above embodiment, the SIM Profile is switched by using the cellular module restart or the cellular device restart, or the cellular network connection is disconnected or the SIM Profile is read to trigger the control module, so that the problem that the SIM Profile is triggered and switched by matching specific software in a complicated manner is avoided, that is, the above optional embodiment can adapt to various software and hardware forms and models, and the self-adaptive capability is stronger.
In this embodiment, an electronic device is provided, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the method in the above embodiments.
The programs described above may be run on a processor or may also be stored in memory (or referred to as computer-readable media), which includes both non-transitory and non-transitory, removable and non-removable media, that implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
These computer programs may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks, and corresponding steps may be implemented by different modules.
Such an arrangement is provided in this embodiment. The device is called a SIM Profile switching processing device and comprises: the mobile communication network access device comprises a selection module, a communication authentication module and a processing module, wherein the selection module is used for selecting one user authentication data from a plurality of pre-stored user authentication data under the condition that the communication authentication module is triggered to start or receives a request for reading the user authentication data, and the user authentication data is used for authentication in the network access process of the mobile communication network; and the processing module is used for using the selected user authentication data for authentication in the network access process of the mobile communication network.
The system or the apparatus is used for implementing the functions of the method in the foregoing embodiments, and each module in the system or the apparatus corresponds to each step in the method, which has been described in the method and is not described herein again.
Optionally, the selection module is configured to: judging whether the SIM profiles set to be in an activated state exist in the plurality of SIM profiles, and if so, setting the SIM profiles set to be in the activated state to be in an inactivated state; one SIM Profile is selected from the plurality of SIM profiles in the inactive state.
Optionally, the processing module is configured to: setting the state of the selected SIM Profile as an activation state; and after the SIM Profile is set to be in the activated state, using the selected SIM Profile to access the mobile communication network.
Optionally, the selection module is configured to: one SIM Profile is selected randomly or one SIM Profile is selected in a predetermined order.
Optionally, the selection module is configured to: obtaining SIM Profile used by the network access before the communication authentication module is triggered to start; and selecting one SIM Profile from other SIM profiles except the SIM Profile used for network access before the communication authentication module is triggered to start.
Optionally, the apparatus further comprises: the judging module is used for judging whether the communication with the mobile communication network is abnormal or not; and the sending module is used for triggering the communication authentication module to start under the condition of abnormity.
Optionally, the selecting module is configured to acquire a SIM Profile used when communication is abnormal; and selecting one SIM Profile from the other SIM profiles except the SIM Profile used when the communication is abnormal.
Optionally, the communication authentication module stores the plurality of user authentication data, and the number of the communication authentication modules is one or more.
In the above embodiment, the technical scheme when the integrated circuit includes multiple SIM cards is optimized, the adaptation between the control software and the driver of the multiple SIM cards and the client device is no longer required, and when the device encounters a network failure, the daemon of the device itself restarts the cellular module or the device. And automatically switching the SIM Profile information of the equipment when restarting, thereby realizing the network switching of the equipment.
Through the optional implementation mode, the problem caused by complex selection realization between the SIM profiles under the condition of adopting a plurality of SIM profiles in the prior art is solved, so that the SIM profiles are switched when being started, the SIM profiles are easy to realize and can be adapted to different devices as far as possible
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A user authentication data switching processing method comprises the following steps:
under the condition that a communication authentication module is triggered to start, the connection disconnection of a cellular network is detected or a request for reading user authentication data is received, selecting one user authentication data from a plurality of pre-stored user authentication data, wherein the user authentication data is used for authenticating in the network access process of a mobile communication network;
and using the selected user authentication data for authentication in the network access process of the mobile communication network.
2. The method of claim 1, wherein selecting one user authentication data from a plurality of user authentication data previously stored comprises:
judging whether the user authentication data set in the activated state exists in the plurality of user authentication data, and if so, setting the user authentication data set in the activated state to be in the inactivated state;
one user authentication data is selected from a plurality of user authentication data in an inactive state.
3. The method of claim 2, wherein the using the selected user authentication data for network entry of the mobile communication network comprises:
setting the state of the selected user authentication data as an activation state;
and after the mobile communication network is set to be in the activated state, using the selected user authentication data to access the mobile communication network.
4. The method of claim 1, wherein selecting one user authentication data from a plurality of user authentication data previously stored comprises:
a user authentication data is randomly selected or a user authentication data is selected in a predetermined order.
5. The method of any one of claims 1 to 4, wherein selecting one user authentication data from a plurality of user authentication data saved in advance comprises:
acquiring user authentication data used by network access before the communication authentication module is triggered to start;
and selecting one user authentication data from other user authentication data except the user authentication data used for network access before the communication authentication module is triggered to start.
6. The method of any one of claims 1 to 4, wherein the communication authentication module being triggered to start or receiving a request to read user authentication data comprises:
judging whether the communication with the mobile communication network is abnormal or not;
and under the condition of abnormity, triggering the communication authentication module to start, disconnect the cellular network connection or request to read the user authentication data.
7. The method of claim 6, wherein selecting one user authentication data from a plurality of user authentication data previously stored comprises:
acquiring user authentication data used when communication is abnormal;
selecting one user authentication data from the other user authentication data except the user authentication data used when the communication is abnormal in the plurality of user authentication data.
8. The method according to any one of claims 1 to 4, wherein the plurality of user authentication data are stored in the communication authentication module, and the communication authentication module is one or more.
9. A communication device, comprising: one or more communication authentication modules and a control module, wherein the control module is located in the communication authentication module or connected with the communication authentication module,
the communication authentication module is used for storing one or more user authentication data;
the control module is configured to perform the method of any one of claims 1 to 8.
10. An electronic device, comprising: a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1 to 8.
11. A readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a processor, implement the method steps of any of claims 1 to 8.
CN202211458012.XA 2022-11-16 2022-11-16 User authentication data switching processing method, communication equipment and readable storage medium Pending CN115866581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211458012.XA CN115866581A (en) 2022-11-16 2022-11-16 User authentication data switching processing method, communication equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211458012.XA CN115866581A (en) 2022-11-16 2022-11-16 User authentication data switching processing method, communication equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115866581A true CN115866581A (en) 2023-03-28

Family

ID=85664454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211458012.XA Pending CN115866581A (en) 2022-11-16 2022-11-16 User authentication data switching processing method, communication equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115866581A (en)

Similar Documents

Publication Publication Date Title
US11153746B2 (en) Method and terminal for keeping subscriber identity module card in standby state
RU2524368C2 (en) Wireless communication device, method of providing access to wireless communication, base station and method of providing crossover to wireless communication network
CN112566051B (en) Method and apparatus for efficiently transferring multiple cellular ticket services
US9143922B2 (en) Method and system for controlling communication between an UICC and an external application
US9603189B2 (en) Method and apparatus for multisim devices with embedded SIM functionality
CN108702613B (en) Embedded user identity module, device for sending command and communication system
CN106131816B (en) Virtual SIM card management method and terminal
CN106210023B (en) Virtual SIM card synchronous management method and terminal
US20170269918A1 (en) Implicit file creation in apdu scripts
US11805397B2 (en) IMEI binding and dynamic IMEI provisioning for wireless devices
CN103118365B (en) The implementation method of the one many nets of card and multi-mode communication terminal
US10893407B2 (en) Method for controlling an embedded subscriber identity module
CN112806073A (en) Communication processing method, communication processing device, mobile terminal and storage medium
CN106211132B (en) Virtual SIM card identification method and terminal
EP3286934B1 (en) System and method for managing logical channels for accessing several virtual profiles in a secure element
CN103813439A (en) Method for terminal register and terminal
US10959063B2 (en) Notification method for configuring a secure element
US10904742B2 (en) Communicating a subscriber identity module to a server, in particular upon changing profiles
CN105981416B (en) The method for managing several profiles in safety element
US10924928B1 (en) System and method for providing authenticated identity of mobile phones
CN111510910B (en) Communication module frequency band setting method and device, computer equipment and storage medium
EP3313111B1 (en) Communication network initiated operator domain subscription switching
CN115866581A (en) User authentication data switching processing method, communication equipment and readable storage medium
RU2703223C2 (en) Method of controlling operating cycles of communication profiles
CN114175702A (en) Dynamic switching network card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination