CN115988477A - Processing method for updating APN configuration of user identity identification module - Google Patents

Processing method for updating APN configuration of user identity identification module Download PDF

Info

Publication number
CN115988477A
CN115988477A CN202211666277.9A CN202211666277A CN115988477A CN 115988477 A CN115988477 A CN 115988477A CN 202211666277 A CN202211666277 A CN 202211666277A CN 115988477 A CN115988477 A CN 115988477A
Authority
CN
China
Prior art keywords
module
configuration
apn
data
identification
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
CN202211666277.9A
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.)
Beijing Shumi Intelligent Technology Co ltd
Shenzhen Showmac Network Technology Co ltd
Beijing Showmac Network Technology Co ltd
Original Assignee
Beijing Shumi Intelligent Technology Co ltd
Shenzhen Showmac Network Technology Co ltd
Beijing Showmac Network Technology 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 Beijing Shumi Intelligent Technology Co ltd, Shenzhen Showmac Network Technology Co ltd, Beijing Showmac Network Technology Co ltd filed Critical Beijing Shumi Intelligent Technology Co ltd
Priority to CN202211666277.9A priority Critical patent/CN115988477A/en
Publication of CN115988477A publication Critical patent/CN115988477A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to a processing method for updating APN configuration of a user identity module, which comprises the following steps: the first server monitors the configuration updating state of a first module corresponding to any first user identity identification module in real time; once any first module configuration update state is updated to be a second state identifier, immediately performing data preparation processing on a configuration data packet of the current user identity identification module, and performing remote update processing on local configuration data of the current user identity identification module; when the remote updating processing is successful, updating APN configuration data corresponding to the current user identity identification module on an APN management network element of the mobile communication network corresponding to the current user identity identification module; and when the updating is successful, updating the first module configuration updating state corresponding to the current user identity identification module into a first state identifier. The invention can improve the updating flexibility and convenience of the APN configuration data of the user identity module.

Description

Processing method for updating APN configuration of user identity identification module
Technical Field
The invention relates to the technical field of data processing, in particular to a processing method for updating APN configuration of a user identity module.
Background
The APN (Access Point Name) technology refers to a network Access technology. When the mobile terminal accesses various data networks (such as the internet, the internet of things, a WAP site, a group data private network, etc.), corresponding APN access processing needs to be performed according to APN configuration data of a user identity module preset on the terminal. And the APN configuration data stored in the user identity identification module is preset in the factory under the conventional condition, and the modification of the APN configuration data needs to be carried out in a related mobile operator business hall. It is clear that such conventional APN configuration data updating approach is neither flexible nor convenient.
Disclosure of Invention
The invention aims to provide a processing method for updating APN configuration of a user identity module, electronic equipment and a computer-readable storage medium aiming at the defects of the prior art; a background server distributes a module configuration updating state for each user identity identification module, and confirms whether each user identity identification module needs to update APN configuration data or not by monitoring the module configuration updating state in real time; once confirming that a certain user identity recognition module needs to be updated, the background server immediately uses the latest configuration data (module network identification data, module network login configuration data and module APN configuration data) of the user identity recognition module to remotely update the user identity recognition module in a remote updating mode, and updates APN configuration data which is stored at a mobile communication network side and corresponds to the user identity recognition module after the remote updating at the module side is successful. In addition, three activation processing mechanisms for updating the state of the module configuration update state on the background server are also provided: 1) Initiating a module configuration update state update request and activating the state update operation of background service when each user identity identification module logs in the network for the first time; 2) Initiating a module configuration update state update request and activating the state update operation of background service when the access of the APN of the user terminal where the user identity identification module is positioned fails; 3) And a background manager or a user of the subscriber identity module modifies the mobile communication network and/or APN configuration of the subscriber identity module in a webpage mode, a client mode or a user terminal mode and initiates a module configuration updating state updating request and activates state updating operation of background service when the modified content is confirmed. By the invention, any APN configuration data is not preset before the user identity identification module leaves a factory, and the APN data is not required to be processed in a mobile operator business hall every time of updating, so that the aims of reducing the production complexity of the user identity identification module and improving the updating flexibility and convenience of the APN configuration data of the user identity identification module can be fulfilled.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides a processing method for updating an APN configuration of a subscriber identity module, where the method includes:
the first server monitors the configuration updating state of a first module corresponding to any first user identity identification module in real time; the first module configuration updating state comprises a first state identifier and a second state identifier, and is set as the first state identifier by default;
once monitoring that any first module configuration update state is updated to be a second state identifier, immediately taking the first user identity identification module corresponding to the current first module configuration update state as a corresponding current user identity identification module; carrying out data preparation processing on the configuration data packet of the current user identity identification module to generate a corresponding first configuration data packet; remote updating the local configuration data of the current user identity identification module according to the first configuration data packet; the first configuration data packet comprises first module APN configuration data;
when the remote updating processing is successful, updating APN configuration data corresponding to the current user identity identification module on an APN management network element of a mobile communication network corresponding to the current user identity identification module according to the first module APN configuration data; and when the updating is successful, updating the first module configuration updating state corresponding to the current user identity identification module into a first state identifier.
Preferably, the first subscriber identity module includes a SIM card, a USIM card, an eSIM card, and a vSIM card; the first user identity identification module locally presets a configuration data storage space; the configuration data storage space is used for storing first module type data, first module identification data, first module network login configuration data and first module APN configuration data;
the first module type data is a module type of the first subscriber identity module, and includes: a SIM card type, a USIM card type, an eSIM card type, and a vSIM card type;
the first module identification data is unique identification data corresponding to the first user identity identification module;
the first module network identification data is the network identification of the mobile communication network corresponding to the first subscriber identity module;
the first module log-on configuration data is log-on data of the mobile communication network corresponding to the first subscriber identity module;
the first module APN configuration data is APN configuration data of the mobile communication network corresponding to the first subscriber identity module, and comprises multiple groups of first APN information and corresponding first APN states; the first APN state comprises an available state and an unavailable state; the first module APN configuration data is empty before the first user identity identification module successfully logs in the network for the first time;
the first user identity recognition module is preset on a first user terminal; the first user terminal is a terminal with mobile communication capability and comprises a mobile phone, an Internet of things terminal, a mobile terminal, a tablet personal computer, a PAD and a notebook computer.
Preferably, before the first server monitors the configuration update status of the first module corresponding to any first subscriber identity module in real time, the method further includes:
the first user terminal marks the built-in first user identity identification module as a current module; based on the first module network login configuration data of the current module, performing network login processing on the mobile communication network corresponding to the first module network identification data of the current module; after the network-on processing is successful, sending a preset module activity detection instruction to the first subscriber identity module according to a preset detection frequency, if an instruction success state sent back by the first subscriber identity module is received within a preset detection waiting time period, confirming that the card activity state corresponding to the current module is an activated state, and if the instruction success state sent back by the first subscriber identity module is not received within the detection waiting time period, confirming that the card activity state corresponding to the current module is an inactivated state; when the card active state is the inactive state, performing network login processing on the mobile communication network corresponding to the first module network identification data of the current module based on the first module network login configuration data of the current module again;
when the first user identity recognition module receives the module activity detection instruction sent by the first user terminal, the first user identity recognition module sends the instruction success state back to the first user terminal; identifying whether the locally stored APN configuration data of the first module is null or not; if so, creating a data transmission channel between the first user terminal and the first server through the first user terminal, and marking the data transmission channel as a corresponding first channel; sending a first module configuration update application carrying the locally stored first module identification data to the first server through the first channel; when the transmission is successful, the first channel between the first user terminal and the first server is closed through the first user terminal;
when the first server receives the first module configuration updating application sent by the first user identity identification module through the first channel, extracting corresponding first module identification data from the first module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
Preferably, before the first server monitors the configuration update status of the first module corresponding to any first subscriber identity module in real time, the method further includes:
the first user terminal marks the built-in first user identity identification module as a current module; based on the first module network login configuration data of the current module, performing network login processing on the mobile communication network corresponding to the first module network identification data of the current module; when the network login processing is successful, recording the first APN information corresponding to the first APN state which is in the available state on the current module as a first available APN; performing first APN access processing according to each first available APN to generate a corresponding first access processing result; if at least one first access processing result is an access failure, recording the first APN information corresponding to all the first access processing results which are specifically the access failures as a first unavailable APN; updating the first APN states corresponding to the first unavailable APNs on the current module to be unavailable states; the first access processing result comprises access success and access failure;
the first user identity identification module monitors the state of each first APN in real time; once the condition that any first APN is updated to be the unavailable condition is monitored, a data transmission channel is established between the first user terminal and the first server through the first user terminal and is marked as a corresponding second channel; sending a second module configuration update application carrying the locally stored first module identification data to the first server through the second channel; when the first user terminal is successfully sent, the second channel between the first user terminal and the first server is closed through the first user terminal;
when the first server receives the second module configuration updating application sent by the first user identity identification module through the second channel, extracting corresponding first module identification data from the second module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
Preferably, before the first server monitors the configuration update status of the first module corresponding to any first subscriber identity module in real time, the method further includes:
when a first user corresponding to the first user identity identification module modifies the mobile communication network and/or APN configuration of the first user identity identification module in a webpage mode, a client mode or a user terminal mode and confirms the modified content, the webpage, the client or the user terminal used by the first user sends a third module configuration updating application carrying the first module identification data of the first user identity identification module to a first service interface preset on the first server;
when the first server receives the third module configuration updating application sent by the first user through the first service interface, extracting corresponding first module identification data from the third module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
Preferably, the performing data preparation processing on the configuration data packet of the current subscriber identity module to generate a corresponding first configuration data packet specifically includes:
the first server takes the module identification corresponding to the current user identity identification module as corresponding current module identification data; inquiring a preset configuration database, and extracting a first module network identification field, a first module network login configuration field and a first module APN configuration field of a first module configuration record, which are matched with the current module identification data, in the configuration database to serve as corresponding second module network identification data, second module network login configuration data and second module APN configuration data; a corresponding first configuration data packet plaintext is formed by the current module identification data, the second module network login configuration data and the second module APN configuration data; based on a preset first secret key, performing data encryption processing on the first configuration data packet plaintext according to a preset first encryption and decryption algorithm to generate a corresponding first ciphertext; taking the first ciphertext as the corresponding first configuration data packet; the configuration database is used for storing the latest module network identification data, the latest module network login configuration data and the latest module APN configuration data of all the first user identity identification modules; the configuration database comprises a plurality of the first module configuration records; the first module configuration record comprises the first module identification field, the first module network identification field, the first module log-on configuration field and the first module APN configuration field; the first module APN configuration field comprises a plurality of second APN information; the first encryption and decryption algorithm is a symmetric encryption and decryption algorithm and comprises an AES algorithm and a SM4 cryptographic algorithm.
Preferably, the remote updating the local configuration data of the current subscriber identity module according to the first configuration data packet specifically includes:
the first server takes the first user terminal corresponding to the current user identity identification module as a corresponding current user terminal; a data channel is established between the current user terminal and the current user identity identification module through the current user terminal and is marked as a corresponding third channel; sending the first configuration data packet to the current user identity identification module through the third channel; and when receiving a successful remote update status sent back by the current user identity identification module, confirming that the remote update processing is successful, and closing the third channel between the current user identity identification module and the current user identity identification module through the current user terminal.
Further, after the sending the first configuration data packet to the current subscriber identity module through the third channel, the method further includes:
when the current user identity recognition module receives the first configuration data packet sent by the first server through the third channel, the current user identity recognition module performs data decryption processing on the first configuration data packet based on a preset second key according to a preset second encryption and decryption algorithm to generate a corresponding second configuration data packet plaintext; extracting the current module identification data, the second module network login configuration data and the second module APN configuration data from the second configuration data packet plaintext; when the locally stored first module identification data is matched with the current module identification data, the locally stored first module network login configuration data and the locally stored first module APN configuration data are set as the corresponding second module network identification data, second module network login configuration data and second module APN configuration data; setting the first APN state corresponding to each first APN information in the newly set first module APN configuration data as an available state; when the setting is finished, the remote updating success state is sent back to the first server through the third channel; the second secret key is matched with the first secret key, and the second encryption and decryption algorithm is matched with the first encryption and decryption algorithm.
A second aspect of an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a transceiver;
the processor is configured to be coupled to the memory, read and execute instructions in the memory, so as to implement the method of the first aspect;
the transceiver is coupled to the processor, and the processor controls the transceiver to transmit and receive messages.
A third aspect of embodiments of the present invention provides a computer-readable storage medium storing computer instructions that, when executed by a computer, cause the computer to perform the method of the first aspect.
The embodiment of the invention provides a processing method for updating APN configuration of a user identity module, electronic equipment and a computer readable storage medium; distributing a module configuration updating state for each user identity identification module at a background server, and determining whether each user identity identification module needs to update APN configuration data or not by monitoring the configuration updating state of each module in real time; once confirming that a certain subscriber identity module needs to be updated, the background server immediately uses the latest configuration data (module network identification data, module network login configuration data and module APN configuration data) of the subscriber identity module to remotely update the subscriber identity module in a remote updating mode, and updates APN configuration data corresponding to the subscriber identity module and stored by the mobile communication network side after the remote updating of the module side is successful. In addition, three activation processing mechanisms for updating the state of the module configuration update state on the background server are also provided: 1) Initiating a module configuration update state update request and activating the state update operation of background service when each user identity identification module logs in the network for the first time; 2) Initiating a module configuration update state update request and activating the state update operation of background service when the access of the APN of the user terminal where the user identity identification module is positioned fails; 3) And a background manager or a user of the subscriber identity module modifies the mobile communication network and/or APN configuration of the subscriber identity module in a webpage mode, a client mode or a user terminal mode and initiates a module configuration updating state updating request and activates state updating operation of background service when the modified content is confirmed. By the invention, any APN configuration data is not preset before the user identity identification module leaves a factory, and the APN data is not required to be processed in a mobile operator business hall every time of updating, so that the production complexity of the user identity identification module is reduced, and the updating flexibility and convenience of the APN configuration data of the user identity identification module are improved.
Drawings
Fig. 1 is a schematic diagram illustrating a processing method for updating an APN configuration of a subscriber identity module according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a processing method for updating an APN configuration of a subscriber identity module, as shown in fig. 1, which is a schematic diagram of a processing method for updating an APN configuration of a subscriber identity module according to an embodiment of the present invention, and the method mainly includes the following steps:
step 1, a first server monitors a first module configuration updating state corresponding to any first user identity identification module in real time;
the first server is a background server used for remotely updating APN configuration data of any first subscriber identity module; the first subscriber identity module is a frequently-spoken mobile phone card and comprises an SIM card, a USIM card, an eSIM card and a vSIM card; here, the first server allocates a first module configuration update state to each first subscriber identity module registered on the server, where the first module configuration update state includes a first state identifier and a second state identifier, and is set as the first state identifier by default, if the first module configuration update state is the first state identifier, it indicates that APN configuration data of the corresponding first subscriber identity module does not need to be updated, and if the first module configuration update state is the second state identifier, it indicates that APN configuration data of the corresponding first subscriber identity module needs to be updated;
the first user identity identification module locally presets a configuration data storage space; the configuration data storage space is used for storing first module type data, first module identification data, first module network login configuration data and first module APN configuration data; wherein, 1) the first module type data is the module type of the first user identification module, including: a SIM card type, a USIM card type, an eSIM card type, and a vSIM card type; 2) The first module identification data is unique identification data corresponding to the first user identity identification module; 3) The first module network identification data is the network identification of the mobile communication network corresponding to the first user identity identification module; 4) The first module network login configuration data is the network login data of the mobile communication network corresponding to the first user identity identification module; 5) The first module APN configuration data is APN configuration data of a mobile communication network corresponding to a first subscriber identity module, and comprises multiple groups of first APN information and corresponding first APN states, wherein the first APN states comprise an available state and an unavailable state, and the first module APN configuration data is empty before the first subscriber identity module successfully logs in the network for the first time;
the first user identity identification module is preset on the first user terminal; the first user terminal is a terminal with mobile communication capability and comprises a mobile phone, an internet of things terminal, a mobile terminal, a tablet computer, a PAD and a notebook computer.
Here, when monitoring the configuration update status of the first module, the first server according to the first embodiment of the present invention, once finding that a certain first module configuration update status is the second status identifier, proceeds to the subsequent step 2 for processing. In the first embodiment of the present invention, there are three processing manners for activating the first server to update the first module configuration update status from the first status identifier to the second status identifier: the first activation processing mode is that when each user identity identification module logs on the network for the first time, the module configuration update state update request is initiated, and the state update operation of the background service is activated; a second activation processing mode, which is to initiate a module configuration update state update request and activate the state update operation of background service when the access of the APN of the user terminal where the user identity identification module is located fails; and in the third activation processing mode, a background manager or a user of the subscriber identity module modifies the mobile communication network and/or APN configuration of the subscriber identity module in a webpage mode, a client mode or a user terminal mode and initiates a module configuration update state update request and activates state update operation of background services when the modified content is confirmed. The following describes implementation steps of these three activation processing methods.
For the first activation processing manner, a method according to an embodiment of the present invention further includes, before the first server performs real-time monitoring on the configuration update state of the first module corresponding to any first subscriber identity module:
the first user terminal records a built-in first user identity identification module as a current module; based on the first module network-logging configuration data of the current module, performing network-logging processing on the mobile communication network corresponding to the first module network identification data of the current module; after the network-logging processing is successful, sending a preset module activity detection instruction to the first subscriber identity module according to a preset detection frequency, if an instruction success state sent back by the first subscriber identity module is received in a preset detection waiting time period, confirming that the card activity state corresponding to the current module is an activated state, and if the instruction success state sent back by the first subscriber identity module is not received in the detection waiting time period, confirming that the card activity state corresponding to the current module is an inactivated state; when the card activity state is the inactivation state, performing network login processing on a mobile communication network corresponding to the first module network identification data of the current module based on the first module network login configuration data of the current module again; here, the process of performing the log-on processing by the first user terminal based on the log-on configuration data on the first user identity module in various mobile communication networks (2/3/4/5G, LTE, etc.) is a public processing process, and is not described repeatedly herein; the first user terminal can regularly send an instruction to the first user identity identification module for detection after the first user terminal successfully logs in the network, and the detection is also an open processing process and is not repeatedly described herein; the module activity detection command may be a standard command or may be defined separately, for example, a status command sent by a mobile phone to a SIM card holding period in a 2G network is a type of module activity detection command;
the first user identity recognition module sends back an instruction success state to the first user terminal when receiving a module activity detection instruction sent by the first user terminal; identifying whether the locally stored APN configuration data of the first module is null or not; if so, creating a data transmission channel between the first user terminal and the first server through the first user terminal, and marking the data transmission channel as a corresponding first channel; sending a first module configuration updating application carrying locally stored first module identification data to a first server through a first channel; when the transmission is successful, a first channel between the first user terminal and the first server is closed through the first user terminal; here, the first subscriber identity modules in the first embodiment of the present invention all have a data channel creation function, for example, the first subscriber identity modules in the first embodiment of the present invention all support a BIP (Bearer Independent Protocol) Protocol, so that each first subscriber identity module can implement creation of a BIP data channel from the first subscriber identity module to the first server through a BIP Protocol between the first subscriber identity module and the first subscriber terminal and a BIP Protocol between the first subscriber terminal and the first server terminal;
when a first server receives a first module configuration updating application sent by a first user identity identification module through a first channel, extracting corresponding first module identification data from the first module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to be a second state identification.
For the second activation processing manner, a method according to an embodiment of the present invention further includes, before the first server performs real-time monitoring on the configuration update state of the first module corresponding to any first subscriber identity module, the method further includes:
the first user terminal records a built-in first user identity identification module as a current module; based on the first module network-logging configuration data of the current module, performing network-logging processing on the mobile communication network corresponding to the first module network identification data of the current module; when the network login processing is successful, recording first APN information corresponding to a first APN state which is in an available state on the current module as a first available APN; performing first APN access processing according to each first available APN to generate a corresponding first access processing result; if at least one first access processing result is an access failure, recording first APN information corresponding to all first access processing results which are specifically the access failures as a first unavailable APN; updating the states of the first APN corresponding to the first unavailable APNs on the current module to be unavailable states; the first access processing result comprises access success and access failure; here, the process of performing APN access processing by the first user terminal based on APN configuration data on the first subscriber identity module in various mobile communication networks (2/3/4/5G, LTE, etc.) is a public processing process, and repetitive description is not made herein;
the first user identity identification module monitors the state of each first APN in real time; once the condition that any first APN is updated to be an unavailable condition is monitored, a data transmission channel is established between the first user terminal and a first server through the first user terminal and is marked as a corresponding second channel; sending a second module configuration updating application carrying the locally stored first module identification data to the first server through a second channel; when the transmission is successful, a second channel between the first user terminal and the first server is closed through the first user terminal;
when a first server receives a second module configuration updating application sent by a first user identity identification module through a second channel, corresponding first module identification data is extracted from the second module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
For the third activation processing manner, a method according to an embodiment of the present invention further includes, before the first server performs real-time monitoring on the configuration update state of the first module corresponding to any first subscriber identity module:
when a first user corresponding to the first user identity identification module modifies the mobile communication network and/or APN configuration of the first user identity identification module in a webpage mode, a client mode or a user terminal mode and confirms the modified content, the webpage, the client or the user terminal used by the first user sends a third module configuration updating application carrying first module identification data of the first user identity identification module to a first service interface preset on a first server; here, the first user in the first embodiment of the present invention may be a staff member in a mobile business hall, a manager in a background, or a user of the subscriber identity module, and these staff may modify a mobile communication network and/or an APN configuration of the first subscriber identity module in a web page manner, a client manner, or a user terminal manner, and a method in the first embodiment of the present invention adds a message sending function to a web page, a client, or a user terminal used by these staff, that is, when these staff confirm modified contents through the web page manner, the client manner, or the user terminal manner, the web page, the client, or the user terminal used by the staff sends a third module configuration update application to the first server;
when a first server receives a third module configuration updating application sent by a first user through a first service interface, corresponding first module identification data is extracted from the third module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to be a second state identification.
Step 2, once monitoring that the configuration updating state of any first module is updated to be a second state identifier, immediately taking a first user identity identification module corresponding to the configuration updating state of the current first module as a corresponding current user identity identification module; carrying out data preparation processing on the configuration data packet of the current user identity identification module to generate a corresponding first configuration data packet; remote updating processing is carried out on the local configuration data of the current user identity identification module according to the first configuration data packet;
the method specifically comprises the following steps: step 21, taking a first user identity identification module corresponding to the current first module configuration updating state as a corresponding current user identity identification module;
step 22, performing data preparation processing on the configuration data packet of the current user identity module to generate a corresponding first configuration data packet;
the method specifically comprises the following steps: the first server takes the module identification corresponding to the current user identity identification module as corresponding current module identification data; inquiring a preset configuration database, and extracting a first module network identification field, a first module network login configuration field and a first module APN configuration field of a first module configuration record, which are matched with the current module identification data, in the configuration database to serve as corresponding second module network identification data, second module network login configuration data and second module APN configuration data; a corresponding first configuration data packet plaintext is formed by the current module identification data, the second module network login configuration data and the second module APN configuration data; based on a preset first secret key, performing data encryption processing on a first configuration data packet plaintext according to a preset first encryption and decryption algorithm to generate a corresponding first ciphertext; taking the first ciphertext as a corresponding first configuration data packet;
the configuration database is used for storing the latest module network identification data, the latest module network login configuration data and the latest module APN configuration data of all the first user identity identification modules; the configuration database includes a plurality of second databases
A module configuration record; the first module configuration record comprises a first module identification field, a first module network identification 5 identification field, a first module network login configuration field and a first module APN configuration field; the first module APN configuration field comprises a plurality of second APN information; the first encryption and decryption algorithm is a symmetric encryption and decryption algorithm and comprises an AES algorithm and a SM4 cryptographic algorithm;
step 23, performing remote update processing on the local configuration data of the current user identity module according to the first configuration data packet;
0 specifically comprises: the first server takes a first user terminal corresponding to the current user identity identification module as a corresponding current user terminal; a data channel is established between the current user terminal and the current user identity identification module through the current user terminal and is recorded as a corresponding third channel; sending the first configuration data packet to the current user identity identification module through a third channel; and returns to the current user identification module after receiving
And when the remote updating is successful, the remote updating is confirmed to be successful, and a third channel between the current user terminal and the current user identity identification module is closed through the current user terminal.
Here, in a method according to an embodiment of the present invention, after the first server sends the first configuration data packet to the current subscriber identity module through the third channel, the method further includes: when the current user identity identification module receives a first configuration data packet sent by the first server through the third channel, the current user identity identification module is based on a preset second secret key
Carrying out data decryption processing on the first configuration data packet according to a preset second encryption and decryption algorithm to generate a corresponding second configuration data packet plaintext 0; extracting current module identification data, second module network login configuration data and second module APN configuration data from a second configuration data packet plaintext; and are
When the locally stored first module identification data is matched with the current module identification data, the locally stored first module network identification data, the first module network login configuration data and the first module APN configuration data are set
Configuring 5 setting data for the corresponding second module network identification data, second module network login configuration data and second module APN configuration data; setting a first APN state corresponding to each first APN information in newly set APN configuration data of a first module as an available state; when the setting is finished, the remote updating success state is sent back to the first server through the third channel; the second key is matched with the first key, and the second encryption and decryption algorithm is matched with the first encryption and decryption algorithm.
Step 3, when the remote updating processing is successful, updating APN configuration data corresponding to the current user identity identification module on an APN management network element of a mobile communication network corresponding to the current user identity identification module according to the APN configuration data of the first module; and when the updating is successful, updating the first module configuration updating state corresponding to the current user identity identification module into a first state identifier.
Here, after confirming that the remote update processing of the current subscriber identity module is successful, in order to ensure that the module can successfully log in and successfully access the APN based on the updated configuration data, the first server needs to synchronously update APN configuration data stored on the network side and corresponding to the module, specifically, to update APN configuration data stored on an APN management network element of the mobile communication network corresponding to the module. It should be noted that the APN management network elements corresponding to different network types (2/3/4/5G, LTE) of the mobile communication network may also be different, which can be known by querying an open mobile communication network protocol, and no further extension is made herein, the first server may pre-designate a corresponding APN management network element under the condition of explicit network type, and update APN configuration data corresponding to the current user identity module stored on the designated network element according to the APN configuration data of the first module after the remote update process is successful.
Fig. 2 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention. The electronic device may be the terminal device or the server, or may be a terminal device or a server connected to the terminal device or the server and implementing the method according to the embodiment of the present invention. As shown in fig. 2, the electronic device may include: a processor 301 (e.g., a CPU), a memory 302, a transceiver 303; the transceiver 303 is coupled to the processor 301, and the processor 301 controls transceiving operation of the transceiver 303. Various instructions may be stored in memory 302 for performing various processing functions and implementing the processing steps described in the foregoing method embodiments. Preferably, the electronic device according to an embodiment of the present invention further includes: a power supply 304, a system bus 305, and a communication port 306. The system bus 305 is used to implement communication connections between the elements. The communication port 306 is used for connection communication between the electronic device and other peripherals.
The system bus 305 mentioned in fig. 2 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 2, but that does not indicate only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a Graphics Processing Unit (GPU), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
It should be noted that the embodiment of the present invention also provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the method provided in the above-mentioned embodiment.
The embodiment of the present invention further provides a chip for executing the instructions, where the chip is configured to execute the processing steps described in the foregoing method embodiment.
The embodiment of the invention provides a processing method for updating APN configuration of a user identity module, electronic equipment and a computer readable storage medium; distributing a module configuration updating state for each user identity identification module at a background server, and determining whether each user identity identification module needs to update APN configuration data or not by monitoring the configuration updating state of each module in real time; once confirming that a certain subscriber identity module needs to be updated, the background server immediately uses the latest configuration data (module network identification data, module network login configuration data and module APN configuration data) of the subscriber identity module to remotely update the subscriber identity module in a remote updating mode, and updates APN configuration data corresponding to the subscriber identity module and stored by the mobile communication network side after the remote updating of the module side is successful. In addition, three activation processing mechanisms for updating the state of the module configuration update state on the background server are also provided: 1) Initiating a module configuration update state update request and activating the state update operation of background service when each user identity identification module logs in the network for the first time; 2) Initiating a module configuration update state update request and activating the state update operation of background service when the access of the APN of the user terminal where the user identity identification module is positioned fails; 3) And when a background manager or a user of the subscriber identity module modifies the mobile communication network and/or the APN configuration of the subscriber identity module in a webpage mode, a client mode or a user terminal mode and confirms the modified content, initiating a module configuration update state update request and activating the state update operation of the background service. By the invention, any APN configuration data is not preset before the user identity identification module leaves a factory, and the APN data is not required to be processed in a mobile operator business hall every time of updating, so that the production complexity of the user identity identification module is reduced, and the updating flexibility and convenience of the APN configuration data of the user identity identification module are improved.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A processing method for updating APN configuration of a Subscriber Identity Module (SIM), the method comprising:
the first server monitors the configuration updating state of a first module corresponding to any first user identity identification module in real time; the first module configuration updating state comprises a first state identifier and a second state identifier, and is set as the first state identifier by default;
once monitoring that any first module configuration update state is updated to be a second state identifier, immediately taking the first user identity identification module corresponding to the current first module configuration update state as a corresponding current user identity identification module; carrying out data preparation processing on the configuration data packet of the current user identity identification module to generate a corresponding first configuration data packet; remote updating the local configuration data of the current user identity identification module according to the first configuration data packet; the first configuration data packet comprises first module APN configuration data;
when the remote updating processing is successful, updating APN configuration data corresponding to the current user identity identification module on an APN management network element of a mobile communication network corresponding to the current user identity identification module according to the first module APN configuration data; and when the updating is successful, updating the first module configuration updating state corresponding to the current user identity identification module into a first state identifier.
2. The method of claim 1, wherein the APN configuration of the subscriber identity module is updated according to the APN configuration of the subscriber identity module,
the first subscriber identity module comprises an SIM card, a USIM card, an eSIM card and a vSIM card; the first user identity identification module locally presets a configuration data storage space; the configuration data storage space is used for storing first module type data, first module identification data, first module network login configuration data and first module APN configuration data;
the first module type data is a module type of the first subscriber identity module, and includes: a SIM card type, a USIM card type, an eSIM card type, and a vSIM card type;
the first module identification data is unique identification data corresponding to the first user identity identification module;
the first module network identification data is the network identification of the mobile communication network corresponding to the first subscriber identity module;
the first module log-on configuration data is log-on data of the mobile communication network corresponding to the first subscriber identity module;
the first module APN configuration data is APN configuration data of the mobile communication network corresponding to the first subscriber identity module, and comprises multiple groups of first APN information and corresponding first APN states; the first APN state comprises an available state and an unavailable state; the first module APN configuration data is empty before the first user identity identification module successfully logs in the network for the first time;
the first user identity recognition module is preset on a first user terminal; the first user terminal is a terminal with mobile communication capability and comprises a mobile phone, an Internet of things terminal, a mobile terminal, a tablet personal computer, a PAD and a notebook computer.
3. The method as claimed in claim 2, wherein before the first server monitors in real time the update status of the APN configuration of any first subscriber identity module, the method further comprises:
the first user terminal marks the built-in first user identity identification module as a current module; based on the first module network login configuration data of the current module, performing network login processing on the mobile communication network corresponding to the first module network identification data of the current module; after the network-on processing is successful, sending a preset module activity detection instruction to the first subscriber identity module according to a preset detection frequency, if an instruction success state sent back by the first subscriber identity module is received within a preset detection waiting time period, confirming that the card activity state corresponding to the current module is an activated state, and if the instruction success state sent back by the first subscriber identity module is not received within the detection waiting time period, confirming that the card activity state corresponding to the current module is an inactivated state; when the card active state is the inactive state, performing network login processing on the mobile communication network corresponding to the first module network identification data of the current module based on the first module network login configuration data of the current module again;
when the first user identity recognition module receives the module activity detection instruction sent by the first user terminal, the first user identity recognition module sends the instruction success state back to the first user terminal; identifying whether the locally stored APN configuration data of the first module is null or not; if so, creating a data transmission channel between the first user terminal and the first server through the first user terminal, and marking the data transmission channel as a corresponding first channel; sending a first module configuration update application carrying the locally stored first module identification data to the first server through the first channel; when the first channel is successfully sent, the first channel between the first user terminal and the first server is closed through the first user terminal;
when the first server receives the first module configuration updating application sent by the first user identity identification module through the first channel, extracting corresponding first module identification data from the first module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
4. The method as claimed in claim 2, wherein before the first server monitors in real time the update status of the first module configuration corresponding to any first subscriber identity module, the method further comprises:
the first user terminal marks the built-in first user identity identification module as a current module; based on the first module network login configuration data of the current module, performing network login processing on the mobile communication network corresponding to the first module network identification data of the current module; when the network login processing is successful, recording the first APN information corresponding to the first APN state which is in the available state on the current module as a first available APN; performing first APN access processing according to each first available APN to generate a corresponding first access processing result; if at least one first access processing result is an access failure, recording the first APN information corresponding to all the first access processing results which are specifically the access failures as a first unavailable APN; updating the first APN states corresponding to the first unavailable APNs on the current module to be unavailable states; the first access processing result comprises access success and access failure;
the first user identity identification module monitors the state of each first APN in real time; once the condition that any first APN is updated to be the unavailable condition is monitored, a data transmission channel is established between the first user terminal and the first server through the first user terminal and is marked as a corresponding second channel; sending a second module configuration updating application carrying the locally stored first module identification data to the first server through the second channel; when the first user terminal is successfully sent, the second channel between the first user terminal and the first server is closed through the first user terminal;
when the first server receives the second module configuration updating application sent by the first user identity identification module through the second channel, extracting corresponding first module identification data from the second module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
5. The method as claimed in claim 2, wherein before the first server monitors in real time the update status of the APN configuration of any first subscriber identity module, the method further comprises:
when a first user corresponding to the first user identity identification module modifies the mobile communication network and/or APN configuration of the first user identity identification module in a webpage mode, a client mode or a user terminal mode and confirms the modified content, the webpage, the client or the user terminal used by the first user sends a third module configuration updating application carrying the first module identification data of the first user identity identification module to a first service interface preset on the first server;
when the first server receives the third module configuration updating application sent by the first user through the first service interface, extracting corresponding first module identification data from the third module configuration updating application; and updating the first module configuration update state corresponding to the first module identification data to a second state identification.
6. The method according to claim 2, wherein the performing data preparation processing on the configuration data packet of the current subscriber identity module to generate a corresponding first configuration data packet specifically includes:
the first server takes the module identification corresponding to the current user identity identification module as corresponding current module identification data; inquiring a preset configuration database, and extracting a first module network identification field, a first module network login configuration field and a first module APN configuration field of a first module configuration record, which are matched with the current module identification data, in the configuration database to serve as corresponding second module network identification data, second module network login configuration data and second module APN configuration data; the current module identification data, the second module network login configuration data and the second module APN configuration data form a corresponding first configuration data packet plaintext; based on a preset first secret key, carrying out data encryption processing on the plaintext of the first configuration data 5 data packet according to a preset first encryption and decryption algorithm to generate a corresponding first ciphertext; taking the first ciphertext as the corresponding first configuration data packet; the configuration database is used for storing the latest module network identification data, the latest module log-on configuration data and the latest module APN configuration data of all the first user identity identification modules;
the configuration database comprises a plurality of the first module configuration records; the first module configuration record comprises the first module identification field, the first module network identification field, the first module log-in configuration 0 field and the first module APN configuration field; the first module APN configuration field comprises a plurality of second APN information; the first encryption and decryption algorithm is a symmetric encryption and decryption algorithm and comprises an AES algorithm and a SM4 cryptographic algorithm.
7. The processing method for updating the APN configuration of a subscriber identity module according to claim 6,
the method is characterized in that the remote update processing is performed on the 5 local configuration data of the current subscriber identity module according to the first configuration data packet, and specifically includes:
the first server takes the first user terminal corresponding to the current user identity identification module as a corresponding current user terminal; a data channel is established between the current user terminal and the current user identity identification module through the current user terminal and is recorded as a corresponding third channel; sending the first configuration data packet to the current user identity identification module through the third channel; and when receiving 0 the remote updating success status sent back by the current user identity identification module, confirming that the remote updating processing is successful, and closing the third channel between the current user identity identification module and the current user identity identification module through the current user terminal.
8. The processing method for updating the APN configuration of a subscriber identity module according to claim 7,
wherein after sending the first configuration data packet to the current subscriber 5 identity module via the third channel, the method further comprises:
when the current user identity recognition module receives the first configuration data packet sent by the first server through the third channel, the current user identity recognition module performs data decryption processing on the first configuration data packet based on a preset second key according to a preset second encryption and decryption algorithm to generate a corresponding second configuration data packet plaintext; extracting the current module identification data, the second module network login configuration data and the second module APN configuration data from the second configuration data packet plaintext; when the locally stored first module identification data is matched with the current module identification data, setting the locally stored first module network identification data, the locally stored first module network login configuration data and the locally stored first module APN configuration data as corresponding second module network identification data, second module network login configuration data and second module APN configuration data; setting the first APN state corresponding to each first APN information in the newly set first module APN configuration data as an available state; when the setting is finished, the remote updating success state is sent back to the first server through the third channel; the second secret key is matched with the first secret key, and the second encryption and decryption algorithm is matched with the first encryption and decryption algorithm.
9. An electronic device, comprising: a memory, a processor, and a transceiver;
the processor is used for being coupled with the memory, reading and executing the instructions in the memory to realize the method of any one of claims 1 to 8;
the transceiver is coupled to the processor, and the processor controls the transceiver to transmit and receive messages.
10. A computer-readable storage medium having computer instructions stored thereon which, when executed by a computer, cause the computer to perform the method of any one of claims 1-8.
CN202211666277.9A 2022-12-23 2022-12-23 Processing method for updating APN configuration of user identity identification module Pending CN115988477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211666277.9A CN115988477A (en) 2022-12-23 2022-12-23 Processing method for updating APN configuration of user identity identification module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211666277.9A CN115988477A (en) 2022-12-23 2022-12-23 Processing method for updating APN configuration of user identity identification module

Publications (1)

Publication Number Publication Date
CN115988477A true CN115988477A (en) 2023-04-18

Family

ID=85957457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211666277.9A Pending CN115988477A (en) 2022-12-23 2022-12-23 Processing method for updating APN configuration of user identity identification module

Country Status (1)

Country Link
CN (1) CN115988477A (en)

Similar Documents

Publication Publication Date Title
US11039299B2 (en) ESIM card activation method, wireless router, and user terminal
WO2019062384A1 (en) Method and device for public network user accessing private network
JPH0657007B2 (en) Local area network
KR20050092420A (en) Communication system for information security and recovery and method therefor
CN110944319B (en) 5G communication identity verification method, equipment and storage medium
CN111132305B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN111050324B (en) 5G terminal equipment access method, equipment and storage medium
WO2022089583A1 (en) Authentication information acquisition method and apparatus, and related device and storage medium
CN110049031B (en) Interface security authentication method, server and authentication center server
JP2017510105A (en) Method and apparatus for accessing services
CN108810835B (en) Method and device for associating one number with multiple terminals, terminal and storage medium
WO2021138217A1 (en) Method, chip, device and system for authenticating a set of at least two users
CN110392012B (en) Method and apparatus for rebooting in lightweight machine-to-machine systems
JP2023552243A (en) Method and device for transmitting user identifiers
CN111726328A (en) Method, system and related device for remotely accessing a first device
WO2024103943A1 (en) Service processing method and apparatus, storage medium, and device
CN110781481A (en) Single sign-on method, client, server, and storage medium
CN111093196B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN117527338A (en) Bidirectional identity enhanced identification method and system in Internet of things application
CN115988477A (en) Processing method for updating APN configuration of user identity identification module
KR100787575B1 (en) Method for automatic update of terminal profile, mobile communication terminal and subscriber identity module card apparatus therefor
CN112469042A (en) System for locking bound equipment, module and subscriber identity module
CN114338132A (en) Secret-free login method, client application, operator server and electronic equipment
CN114007214A (en) Client terminal equipment, network switching method thereof and server
CN111163466A (en) Method for 5G user terminal to access block chain, user terminal equipment and medium

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
CB02 Change of applicant information

Address after: Room 437, Building 18, No. 1889 Huandao East Road, Hengqin New District, Zhuhai City, Guangdong Province, 519031

Applicant after: Guangdong Shumi Technology Co.,Ltd.

Applicant after: Beijing Shumi Intelligent Technology Co.,Ltd.

Applicant after: SHENZHEN SHOWMAC NETWORK TECHNOLOGY Co.,Ltd.

Address before: 100020 2902 Shangdu south tower, SOHO, Chaoyang District, Beijing

Applicant before: BEIJING SHOWMAC NETWORK TECHNOLOGY CO.,LTD.

Applicant before: Beijing Shumi Intelligent Technology Co.,Ltd.

Applicant before: SHENZHEN SHOWMAC NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information