Network registration method, apparatus, device, and storage medium
By identifying the activation configuration type and flag bits of the embedded SIM card, the registration verification information is determined, which solves the problem of low network registration success rate of eSIM cards in network-locked mobile terminals and achieves efficient network connectivity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TCL COMM TECH (CHENGDU) LTD
- Filing Date
- 2026-03-24
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, mobile terminals equipped with network locks have a low success rate when registering for networks using eSIM cards, resulting in the device being unable to connect to the network normally.
By determining the activation configuration type of the embedded SIM card, configuring the card slot flag, obtaining the activation configuration flag, and determining the registration verification information based on the flag and network user identification information, if it is the target verification information, the target configuration file is downloaded for network registration.
This improves the success rate of network registration for mobile terminals equipped with network locks using embedded SIM cards, ensuring that the device can connect to the network normally.
Smart Images

Figure CN122160889A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network registration technology, specifically to a network registration method, apparatus, device, and storage medium. Background Technology
[0002] Currently, with the rapid development of mobile smart terminals and communication technologies, more and more mobile smart terminals (such as smartphones, smart wearable devices, and IoT modules) support eSIM functionality for communication. Mobile smart terminals supporting eSIM functionality automatically activate a temporary profile upon first power-on to provide limited network connectivity and download the official profile for network registration. However, when enabling a mobile terminal with network locking, the network registration will be rejected upon verification failure, preventing the device from establishing a data connection based on the eSIM card. Summary of the Invention
[0003] This application provides a network registration method, apparatus, device, and storage medium, aiming to solve the technical problem of low success rate of network registration using eSIM cards for mobile terminals with network locks in the prior art.
[0004] On the one hand, embodiments of this application provide a network registration method, which includes the following steps: In response to a network registration request triggered by the target mobile terminal, determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal; Configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification information of the target mobile terminal is determined based on the activation configuration flag and the network user identification information; If the registration verification information is target verification information, then the target configuration file corresponding to the target mobile terminal is downloaded based on the initial configuration file corresponding to the activation configuration type to perform network registration and obtain the network registration result.
[0005] In one possible implementation of this application, determining the activation configuration type of the target mobile terminal includes: Drive the network interaction module in the target mobile terminal to load the initial configuration file corresponding to the embedded SIM card; The configuration file information in the embedded SIM card is read based on the configuration identification interface and configuration identification instructions. Based on the target information structure, the configuration file information is parsed to determine the activation configuration type corresponding to the initial configuration file that has been activated in the embedded SIM card.
[0006] In one possible implementation of this application, the step of configuring the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit includes: Obtain the target card slot corresponding to the embedded SIM card, and the card slot flag bit corresponding to the target card slot; Update the card slot flag bit according to the activation configuration array corresponding to the activation configuration type to obtain the activation configuration flag bit corresponding to the embedded SIM card.
[0007] In one possible implementation of this application, determining the registration verification information of the target mobile terminal based on the activation configuration flag and network user identification information includes: The network lock detection type is determined based on the network lock verification engine of the target mobile terminal and the activation configuration flag. The network lock detection type includes a first detection type that represents skipping network lock detection and a second detection type that performs network lock detection. If the network lock detection type is the first detection type, then the target verification information that allows network registration is output as the registration verification information; If the network lock detection type is the second detection type, then network lock detection is performed based on the network user identification information to determine the registration verification information of the target mobile terminal.
[0008] In one possible implementation of this application, determining the network lock detection type based on the network lock verification engine of the target mobile terminal and the activation configuration flag includes: The network lock verification engine of the target mobile terminal reads the activation configuration flag bit; If the activation configuration flag is a boot configuration flag, then the network lock detection type is determined to be the first detection type; If the activation configuration flag is an operation configuration flag or a test configuration type flag, then the network lock detection type is determined to be the second detection type.
[0009] In one possible implementation of this application, the step of performing network lock detection based on the network user identification information to determine the registration verification information of the target mobile terminal includes: Obtain the mobile country code and mobile network code from the network user identification information; By combining the mobile country code and the mobile network code, the network lock identification information of the target mobile terminal is obtained; If the network lock identification information is the same as any of the authorization identification information in the preset authorization list, then the registration verification information of the target mobile terminal is determined to be the target verification information.
[0010] In one possible implementation of this application, the step of downloading the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, performing network registration, and obtaining the network registration result includes: A temporary data link is established with the network access subsystem based on the initial configuration file; Download the target configuration file corresponding to the target mobile terminal in the network access subsystem based on the temporary data link; Network registration is performed based on the target configuration file to obtain the network registration result.
[0011] On the other hand, this application provides a network registration device, the network registration device comprising: The configuration identification module is configured to respond to a network registration request triggered by the target mobile terminal and determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal. The flag configuration module is configured to configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification module is configured to determine the registration verification information of the target mobile terminal based on the activation configuration flag and the network user identification information. The network registration module is configured to, if the registration verification information is target verification information, download the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, perform network registration, and obtain the network registration result.
[0012] On the other hand, this application also provides a network registration device, the network registration device comprising: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the network registration method.
[0013] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in the network registration method.
[0014] This application determines the activation configuration type of the embedded SIM card in the target mobile terminal by responding to a network registration request triggered by the target mobile terminal; configures the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; determines the registration verification information of the target mobile terminal based on the activation configuration flag bit and network user identification information; if the registration verification information is target verification information, downloads the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type and performs network registration to obtain the network registration result. This enables the accurate identification of the opportunity configuration type corresponding to the activated initial configuration file when a target mobile terminal with a network lock performs network registration for an embedded SIM card, thereby configuring the card slot flag bit to obtain the activation configuration flag bit. The activation configuration flag bit is used to determine whether to perform network lock verification to obtain registration verification information. When the registration verification information is target verification information indicating that network registration is allowed, network registration is performed, thereby improving the registration success rate of target mobile terminals with network locks when performing network registration for embedded SIM cards. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram illustrating a scenario of the network registration method in an embodiment of this application; Figure 2 This is a flowchart illustrating one embodiment of the network registration method in this application. Figure 3 A flowchart illustrating one embodiment of the network registration method for determining the network lock detection type provided in this application; Figure 4 A flowchart illustrating an embodiment of network lock verification in the network registration method provided in this application; Figure 5 A schematic diagram of the structure of one embodiment of the network registration device provided in this application; Figure 6 This is a schematic diagram of the structure of one embodiment of the network registration device provided in this application. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0019] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0020] Currently, with the rapid development of mobile smart terminals and communication technologies, more and more mobile smart terminals (such as smartphones, smart wearable devices, and IoT modules) support eSIM functionality for communication. Mobile smart terminals supporting eSIM functionality automatically activate a temporary profile upon first power-on to provide limited network connectivity and download the official profile for network registration. However, when enabling a mobile terminal with network locking, the network registration will be rejected upon verification failure, preventing the device from establishing a data connection based on the eSIM card.
[0021] Based on this, this application proposes a network registration method, apparatus, device, and computer-readable storage medium to solve the technical problem of low success rate of network registration using eSIM cards for mobile terminals with network locks in the prior art.
[0022] The network registration method in this embodiment of the invention is applied to a network registration device, which is configured in a network registration equipment. The network registration device includes one or more processors, a memory, and one or more application programs. The one or more application programs are stored in the memory and configured to be executed by the processor to implement the network registration method. The network registration device can be a smart terminal capable of network registration based on an embedded SIM card, such as a mobile phone, tablet computer, network device, IoT device, and smart wearable device. Optionally, the network registration device can also be a server or a service cluster composed of multiple servers.
[0023] like Figure 1 As shown, Figure 1 This is a schematic diagram of a network registration method according to an embodiment of the present application. The network registration scenario in this embodiment includes a network registration device 100 (the network registration device 100 integrates a network registration apparatus), and the network registration device 100 is equipped with a computer-readable storage medium corresponding to the network registration method to execute the steps of the network registration method.
[0024] Understandable Figure 1 The network registration device in the network registration method scenario shown, or the device included in the network registration device, does not constitute a limitation on the embodiments of the present invention. That is, the number or type of network registration device in the network registration method scenario, or the number or type of device included in each device, does not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0025] In this embodiment of the invention, the network registration device 100 is mainly used for: responding to a network registration request triggered by a target mobile terminal, determining the activation configuration type corresponding to the embedded SIM card in the target mobile terminal; configuring the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; determining the registration verification information of the target mobile terminal according to the activation configuration flag bit and network user identification information; if the registration verification information is target verification information, downloading the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type to perform network registration and obtain the network registration result.
[0026] In this embodiment of the invention, the network registration device 100 can be an independent network registration device, such as a mobile phone, tablet computer, network device, Internet of Things device, and smart wearable device, or it can be a network registration network or network registration cluster composed of multiple network registration devices.
[0027] This application provides a network registration method, apparatus, device, and computer-readable storage medium, which will be described in detail below.
[0028] It will be understood by those skilled in the art that Figure 1 The application environment shown is only one application scenario related to the solution of this application and does not constitute a limitation on the application scenario of this application. Other application environments may include more than one application scenario. Figure 1 The number of network registered devices shown, or the number of network registered network connections, for example Figure 1 Only one network registration device is shown in the diagram. It is understood that the scenario of this network registration method may also include one or more network registration devices, which are not specifically limited here. The network registration device 100 may also include a memory for storing activation configuration types and other data.
[0029] It should be noted that, Figure 1 The schematic diagram of the network registration method shown is merely an example. The scenarios of the network registration method described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention and do not constitute a limitation on the technical solutions provided in the embodiments of the present invention.
[0030] Based on the scenarios described above regarding network registration methods, various embodiments of the network registration method disclosed in this invention are proposed.
[0031] like Figure 2 As shown, Figure 2 This is a flowchart illustrating one embodiment of the network registration method in this application. The network registration method includes the following steps 201 to 204: 201. Respond to the network registration request triggered by the target mobile terminal and determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal; The network registration method in this embodiment is applied to a network registration device. The type and number of network registration devices are not specifically limited. That is, the network registration device can be one or more target mobile terminals that have a network lock and use an embedded ESIM card or other SIM card for network registration. In a specific embodiment, the network registration device is a smartphone.
[0032] Optionally, the target mobile terminal is a smart mobile terminal with a network lock that needs to register with a network using an embedded eSIM card or other SIM card. This network lock is a security restriction mechanism jointly set up by the device manufacturer or operator. By verifying the key identification information of the SIM card (or eSIM configuration information), it restricts the device to access only the network of a designated operator, prohibiting access to network services of unauthorized operators. However, when registering with an embedded SIM card, the network user identification information in the initial configuration file activated by the embedded SIM card may not match the network authorized by the operator, resulting in a failure to register normally. This leads to a low success rate for network registration of embedded SIM cards on target mobile terminals with network locks.
[0033] Optionally, a network registration request is an operational event that drives the network registration device to adjust the network registration process based on the activation configuration type of the embedded SIM card to improve the success rate of network registration. That is, when the target mobile terminal is powered on for the first time and has no physical SIM card and WiFi network, the embedded SIM card corresponding to the target mobile terminal triggers a network registration request.
[0034] Optionally, the embedded SIM card is an embedded communication module that integrates SIM card functionality directly into the device's motherboard chip, enabling remote writing / switching of operator configuration files via over-the-air (OTA) technology, thus providing communication services without the need for a physical card.
[0035] Optionally, the activation configuration type represents the activation configuration type of the initial configuration file activated when the target mobile terminal uses the embedded SIM card for network registration. That is, the embedded SIM card can establish a temporary initial configuration file during network registration to perform network registration and then download the formal configuration file to achieve network communication. Optionally, the initial configuration file of the embedded SIM card includes a boot configuration file, an operation configuration file, and a test configuration file, corresponding to activation configuration types of boot configuration type, operation configuration type, and test configuration type, respectively. Specifically, the boot configuration type represents the activation configuration type of the initial configuration file already activated in the target mobile terminal, which has automatic activation capability and provides limited data connectivity to complete the booting and configuration of the embedded SIM card. The operation configuration type represents the activation configuration type of the initial configuration file already activated in the target mobile terminal, which is an operation configuration file containing complete operator service configuration. The test configuration type represents the activation configuration type of the configuration file already activated in the target mobile terminal, which is a test configuration file used only for network testing during the equipment production or debugging phase.
[0036] Optionally, after responding to the network registration request triggered when the embedded SIM card registers for the network, the network registration device drives the network interaction module in the target mobile terminal to load the initial configuration file corresponding to the embedded SIM card. This network interaction module is the module in the target mobile terminal responsible for interacting with the mobile network, and includes a terminal module such as a communication protocol stack and a SIM card driver. Optionally, in one specific embodiment, the network interaction module is a Modem module.
[0037] Optionally, the network registration device reads the configuration file information in the embedded SIM card based on the configuration identification interface and configuration identification instructions. That is, the network registration device sends configuration identification instructions to the embedded SIM card through the configuration identification interface to read all the configuration file information stored in the embedded SIM card. The configuration identification interface is an interactive interface used to obtain configuration file information in the embedded SIM card. Optionally, in a specific embodiment, the configuration identification interface is the GetProfilesInfo interface. The configuration identification instructions are interactive instructions used to obtain configuration file information in the embedded SIM card. Optionally, in a specific embodiment, the instruction text of the configuration identification instructions is APDU "BF 2D 00".
[0038] Optionally, after obtaining the configuration file information, the network registration device further parses the configuration file information based on the target information structure to determine the activation configuration type corresponding to the activated initial configuration file in the embedded SIM card. The target information structure is a data parsing structure corresponding to the remote SIM configuration protocol, used to parse the configuration file information returned by eSIM. Optionally, in a specific embodiment, the target information structure is a TLV (Tag-Length-Value) structure. That is, the network registration device parses the configuration file information through this target information structure to locate the activated configuration file in the embedded SIM card, identifies this configuration file as the initial configuration file, and determines the configuration file type of the initial configuration file as the activation configuration type. Optionally, in a specific embodiment, the target registration device locates the activated initial configuration file by searching for Tag '9F70' profileState in the target information structure and determines the activation configuration type by using Tag '95' profileClass in the target information structure.
[0039] 202. Configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; Optionally, after determining the activation configuration type corresponding to the embedded SIM card, the network registration device also configures the card slot flag bit of the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit.
[0040] Optionally, the card slot flag is the boot configuration file flag set in the target card slot corresponding to the embedded SIM card, used to indicate whether the embedded SIM card has activated the configuration boot file. For example, in one specific embodiment, when the activation configuration type is boot configuration type, the card slot flag is updated to the first flag (true) indicating that the embedded SIM card has activated the configuration boot file. In another specific embodiment, when the activation configuration type is test configuration type or operation configuration type, the card slot flag is updated to the second flag (false) indicating that the embedded SIM card has not activated the configuration boot file.
[0041] Optionally, the activation configuration flag is the configuration file flag information obtained by configuring the card slot flag bit.
[0042] Optionally, the network interaction module in the network registration device can define and pass the activation configuration array corresponding to the activation configuration type through shared memory. The activation configuration array is used to identify whether the activation configuration type of the embedded SIM card is a boot configuration type, and the activation configuration array is passed to update the card slot flag.
[0043] That is, the network registration device obtains the target card slot corresponding to the embedded SIM card and the card slot flag bit corresponding to the target card slot, transmits the activation configuration array, updates the card slot flag bit according to the activation configuration array corresponding to the activation configuration type, and obtains the activation configuration flag bit corresponding to the embedded SIM card, thereby enabling the network lock verification engine to determine whether to perform network lock verification processing by recognizing the activation configuration flag.
[0044] 203. Determine the registration verification information of the target mobile terminal based on the activation configuration flag and network user identification information; Optionally, after obtaining the activation configuration flag, the network registration device also determines the registration verification information of the target mobile terminal based on the activation configuration flag and the network user identification information.
[0045] Optionally, the network user identification information is identification information used to uniquely identify the network user. Optionally, in one specific embodiment, the network user identification information is IMSI (International Mobile Subscriber Identity). Optionally, the network user identification information includes at least a mobile country code and a mobile network code.
[0046] Optionally, the registration verification information is verification information indicating whether the embedded SIM card is allowed to register on the network. This registration verification information includes target verification information that allows the embedded SIM card and the target mobile terminal to register on the network, and abnormal verification information that disallows the embedded SIM card and the target mobile terminal to register on the network.
[0047] Optionally, after determining the activation configuration flag, the network registration device determines the network lock detection type based on the network lock verification engine of the target mobile terminal and the activation configuration flag. That is, before performing network lock detection through the network lock verification engine, the network registration device also reads the activation configuration flag of the target card slot corresponding to the embedded SIM card, and then uses the activation configuration flag to determine whether to skip network lock detection, and generates the corresponding network lock detection type. Here, the network lock detection type is type information representing whether network lock detection is performed during the network registration process. Optionally, the network lock detection type includes a first detection type representing skipping network lock detection and a second detection type representing performing network lock detection.
[0048] Optionally, if the network registration device determines that the network lock detection type is the first detection type, the network registration device skips the network lock detection step and outputs the target verification information that allows network registration as the registration verification information. This ensures that when the activation configuration type is the boot configuration type during the first power-on network registration process, it is not affected by the network user identification information and can achieve normal network registration, thereby improving the network registration success rate.
[0049] Optionally, if the network registration device determines that the network lock detection type is the second detection type, the network registration device determines that a network lock detection step needs to be performed, and performs network lock detection based on the network user identification information to determine the registration verification information of the target mobile terminal.
[0050] 204. If the registration verification information is target verification information, then download the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, perform network registration, and obtain the network registration result.
[0051] Optionally, after determining that the registration verification information is the target verification information, the network registration device downloads the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type to perform network registration and obtain the network registration result.
[0052] Optionally, the target configuration file is a formal configuration file that contains the complete service configuration of the carrier and is used for normal network communication of the device.
[0053] Optionally, the network registration result is the registration result obtained by the target mobile terminal through network registration.
[0054] Optionally, after obtaining the registration verification information and confirming that it is the target verification information, the network registration device establishes a temporary data link with the network access subsystem based on the initial configuration file. This temporary data link, built upon the initial configuration file, is used to establish a communication connection between the target mobile terminal and the network access subsystem to download the target configuration file. This temporary data link and the initial configuration file are used solely for downloading the target configuration file to prevent users from circumventing the lock for extended periods, thereby improving terminal security.
[0055] Optionally, the network registration device downloads the target configuration file corresponding to the target mobile terminal in the network access subsystem based on the temporary data link, and performs network registration based on the target configuration file to obtain the network registration result. This achieves network registration without a physical SIM card or WiFi, using only an embedded SIM card, and effectively improves the network registration success rate of the embedded SIM card.
[0056] In this embodiment, the network registration device determines the activation configuration type corresponding to the embedded SIM card in the target mobile terminal by responding to the network registration request triggered by the target mobile terminal; configures the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; determines the registration verification information of the target mobile terminal according to the activation configuration flag bit and network user identification information; if the registration verification information is target verification information, downloads the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type and performs network registration to obtain the network registration result. This enables the accurate identification of the opportunity configuration type corresponding to the activated initial configuration file when a target mobile terminal with a network lock performs network registration for an embedded SIM card, thereby configuring the card slot flag bit to obtain the activation configuration flag bit. The activation configuration flag bit is used to determine whether to perform network lock verification to obtain registration verification information. When the registration verification information is target verification information indicating that network registration is allowed, network registration is performed, thereby improving the registration success rate of target mobile terminals with network locks when performing network registration for embedded SIM cards.
[0057] like Figure 3 As shown, Figure 3 This is a flowchart illustrating one embodiment of the network registration method for determining the network lock detection type provided in this application. Figure 3 In the illustrated embodiment, the network registration method includes steps 301 to 303: 301. The network lock verification engine of the target mobile terminal reads the activation configuration flag bit; 302. If the activation configuration flag is a boot configuration flag, then the network lock detection type is determined to be the first detection type; 303. If the activation configuration flag is the operation configuration flag or the test configuration type flag, then the network lock detection type is determined to be the second detection type.
[0058] Based on the above embodiments, in this embodiment, after determining the activation configuration flag, the network registration device determines the network lock detection type based on the network lock verification engine of the target mobile terminal and the activation configuration flag. That is, before performing network lock detection through the network lock verification engine, the network registration device also reads the activation configuration flag of the target card slot corresponding to the embedded SIM card, and then uses the activation configuration flag to determine whether to skip network lock detection, and generates the corresponding network lock detection type. Here, the network lock detection type is type information representing whether network lock detection is performed during the network registration process.
[0059] Optionally, the network registration device reads the activation configuration flag bit of the target card slot corresponding to the embedded SIM card through the network lock verification engine, and then determines whether to skip the network lock detection based on the activation configuration flag bit, and generates the corresponding network lock detection type.
[0060] Optionally, if the network registration device determines that the activation configuration flag is the boot configuration flag, it determines that the network lock detection type is the first detection type that allows skipping network lock detection, so as to skip network lock detection during the boot network registration process.
[0061] Optionally, if the network registration device determines that the activation configuration flag is the operation configuration flag or the test configuration type flag, then the network lock detection type is determined to be the second detection type that needs to be network lock detected. This is to ensure that the official operator's card locking policy is not changed, and that the network lock detection is not abused through security mechanisms such as automatic invalidation and scope limitation (e.g., configuration files with non-boot configuration flags need to be network lock detected), thereby improving terminal security.
[0062] In this embodiment, the network registration device reads the activation configuration flag bit through the network lock verification engine based on the target mobile terminal. If the activation configuration flag bit is a guide configuration flag bit, the network lock detection type is determined to be a first detection type; if the activation configuration flag bit is an operation configuration flag bit or a test configuration type flag bit, the network lock detection type is determined to be a second detection type. This enables the identification of the activation configuration flag bit to determine the activated configuration file, and dynamically judges whether to skip network lock detection based on the configuration file type. This improves the registration success rate of target mobile terminals with network locks when performing embedded SIM card network registration and reduces the probability of lock bypass abuse.
[0063] like Figure 4 As shown, Figure 4This is a flowchart illustrating an embodiment of the network lock verification process provided in the network registration method of this application. Figure 4 In the illustrated embodiment, the network registration method includes steps 401 to 403: 401. Obtain the mobile country code and mobile network code from the network user identification information; 402. Combine the mobile country code and the mobile network code to obtain the network lock identification information of the target mobile terminal; 403. If the network lock identification information is the same as any of the authorization identification information in the preset authorization list, then the registration verification information of the target mobile terminal is determined to be the target verification information.
[0064] Based on the above embodiments, in this embodiment, if the network registration device determines that the network lock detection type is the second detection type, then the network registration device determines that the network lock detection step needs to be performed, and performs network lock detection based on the network user identification information to determine the registration verification information of the target mobile terminal.
[0065] Optionally, the network registration device obtains the Mobile Country Code and Mobile Network Code from the network user identification information. The Mobile Country Code is the identifier of the user's country / region within the network user identification information. The Mobile Network Code is the identifier of the user's operator within the network user identification information.
[0066] Optionally, after obtaining the Mobile Country Code and the Mobile Network Code, the network registration device combines the Mobile Country Code and the Mobile Network Code to obtain the network lock identification information of the target mobile terminal. The network lock identification information is the detection identifier information to be verified by the network lock.
[0067] Optionally, after obtaining the network lock identification information, the network registration device compares this information with the authorized identification information in the preset authorization list provided by the operator to determine whether the target mobile terminal can register on the network and obtain the corresponding registration verification information. The authorized identification information is a combination of the mobile country code and mobile network code authorized by the operator to perform network registration.
[0068] Optionally, if the network registration device determines that the network lock identification information is the same as any of the authorized identification information in the preset authorized list, then the embedded SIM card is determined to be an authorized SIM card that is allowed to perform network registration, and the registration verification information of the target mobile terminal is determined as the target verification information.
[0069] Optionally, if the network registration device determines that the network lock identification information is different from any of the authorized identification information in the preset authorization list, it determines that the embedded SIM card has not been authorized and determines the registration verification information of the target mobile terminal as abnormal verification information indicating rejection of network registration.
[0070] In this embodiment, the network registration device obtains the Mobile Country Code and Mobile Network Code from the network user identification information; combines the Mobile Country Code and the Mobile Network Code to obtain the network lock identification information of the target mobile terminal; if the network lock identification information is the same as any authorized identification information in a preset authorization list, then the registration verification information of the target mobile terminal is determined to be the target verification information. This achieves legality detection of the target terminal through the Mobile Country Code and Mobile Network Code, improving network registration security.
[0071] To better implement the network registration method in the embodiments of this application, a network registration device is also provided in the embodiments of this application, such as... Figure 5 As shown, Figure 5 This is a schematic diagram of one embodiment of the network registration device provided in this application. Specifically, the network registration device 500 includes: The configuration identification module 501 is configured to respond to a network registration request triggered by the target mobile terminal and determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal. The flag configuration module 502 is configured to configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification module 503 is configured to determine the registration verification information of the target mobile terminal based on the activation configuration flag and the network user identification information. The network registration module 504 is configured to, if the registration verification information is target verification information, download the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, perform network registration, and obtain the network registration result.
[0072] In one possible implementation of this embodiment, the network registration device determines the activation configuration type of the target mobile terminal, including: Drive the network interaction module in the target mobile terminal to load the initial configuration file corresponding to the embedded SIM card; The configuration file information in the embedded SIM card is read based on the configuration identification interface and configuration identification instructions. Based on the target information structure, the configuration file information is parsed to determine the activation configuration type corresponding to the initial configuration file that has been activated in the embedded SIM card.
[0073] In one possible implementation of this embodiment, the network registration device configures the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit, including: Obtain the target card slot corresponding to the embedded SIM card, and the card slot flag bit corresponding to the target card slot; Update the card slot flag bit according to the activation configuration array corresponding to the activation configuration type to obtain the activation configuration flag bit corresponding to the embedded SIM card.
[0074] In one possible implementation of this embodiment, the network registration device determines the registration verification information of the target mobile terminal based on the activation configuration flag and the network user identification information, including: The network lock detection type is determined based on the network lock verification engine of the target mobile terminal and the activation configuration flag. The network lock detection type includes a first detection type that represents skipping network lock detection and a second detection type that performs network lock detection. If the network lock detection type is the first detection type, then the target verification information that allows network registration is output as the registration verification information; If the network lock detection type is the second detection type, then network lock detection is performed based on the network user identification information to determine the registration verification information of the target mobile terminal.
[0075] In one possible implementation of this embodiment, the network registration device determines the network lock detection type based on the network lock verification engine of the target mobile terminal and the activation configuration flag, including: The network lock verification engine of the target mobile terminal reads the activation configuration flag bit; If the activation configuration flag is a boot configuration flag, then the network lock detection type is determined to be the first detection type; If the activation configuration flag is an operation configuration flag or a test configuration type flag, then the network lock detection type is determined to be the second detection type.
[0076] In one possible implementation of this embodiment, the network registration device performs network lock detection based on the network user identification information to determine the registration verification information of the target mobile terminal, including: Obtain the mobile country code and mobile network code from the network user identification information; By combining the mobile country code and the mobile network code, the network lock identification information of the target mobile terminal is obtained; If the network lock identification information is the same as any of the authorization identification information in the preset authorization list, then the registration verification information of the target mobile terminal is determined to be the target verification information.
[0077] In one possible implementation of this embodiment, the network registration device downloads the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, performs network registration, and obtains the network registration result, including: A temporary data link is established with the network access subsystem based on the initial configuration file; Download the target configuration file corresponding to the target mobile terminal in the network access subsystem based on the temporary data link; Network registration is performed based on the target configuration file to obtain the network registration result.
[0078] In this embodiment, the network registration device determines the activation configuration type corresponding to the embedded SIM card in the target mobile terminal by responding to the network registration request triggered by the target mobile terminal; configures the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; determines the registration verification information of the target mobile terminal according to the activation configuration flag bit and network user identification information; if the registration verification information is target verification information, downloads the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type and performs network registration to obtain the network registration result. This enables the accurate identification of the opportunity configuration type corresponding to the activated initial configuration file when a target mobile terminal with a network lock performs network registration for an embedded SIM card, thereby configuring the card slot flag bit to obtain the activation configuration flag bit. The activation configuration flag bit is used to determine whether to perform network lock verification to obtain registration verification information. When the registration verification information is target verification information indicating that network registration is allowed, network registration is performed, thereby improving the registration success rate of target mobile terminals with network locks when performing network registration for embedded SIM cards.
[0079] This invention also provides a network registration device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of one embodiment of the network registration device provided in this application.
[0080] The network registration device integrates any of the network registration apparatuses provided in the embodiments of the present invention, and the network registration device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor in the steps of the network registration method described in any of the embodiments of the above network registration method.
[0081] Specifically, a network registration device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The network registration device structure shown does not constitute a limitation on the network registration device. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 601 is the control center of the network registration device. It connects various parts of the network registration device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data of the network registration device, thereby providing overall monitoring of the network registration device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0082] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and network registration by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the network registration device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0083] The network registration device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0084] The network registration device may also include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0085] Although not shown, the network registration device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the network registration device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows: In response to a network registration request triggered by the target mobile terminal, determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal; Configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification information of the target mobile terminal is determined based on the activation configuration flag and the network user identification information; If the registration verification information is target verification information, then the target configuration file corresponding to the target mobile terminal is downloaded based on the initial configuration file corresponding to the activation configuration type to perform network registration and obtain the network registration result.
[0086] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the network registration methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps: In response to a network registration request triggered by the target mobile terminal, determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal; Configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification information of the target mobile terminal is determined based on the activation configuration flag and the network user identification information; If the registration verification information is target verification information, then the target configuration file corresponding to the target mobile terminal is downloaded based on the initial configuration file corresponding to the activation configuration type to perform network registration and obtain the network registration result.
[0087] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0088] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0089] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0090] The above provides a detailed description of a network registration method provided by the embodiments of this application. Specific embodiments have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A network registration method, characterized in that, The network registration method includes: In response to a network registration request triggered by the target mobile terminal, determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal; Configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification information of the target mobile terminal is determined based on the activation configuration flag and the network user identification information; If the registration verification information is target verification information, then the target configuration file corresponding to the target mobile terminal is downloaded based on the initial configuration file corresponding to the activation configuration type to perform network registration and obtain the network registration result.
2. The network registration method according to claim 1, characterized in that, Determining the activation configuration type of the target mobile terminal includes: Drive the network interaction module in the target mobile terminal to load the initial configuration file corresponding to the embedded SIM card; The configuration file information in the embedded SIM card is read based on the configuration identification interface and configuration identification instructions. Based on the target information structure, the configuration file information is parsed to determine the activation configuration type corresponding to the initial configuration file that has been activated in the embedded SIM card.
3. The network registration method according to claim 1, characterized in that, The step of configuring the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit includes: Obtain the target card slot corresponding to the embedded SIM card, and the card slot flag bit corresponding to the target card slot; Update the card slot flag bit according to the activation configuration array corresponding to the activation configuration type to obtain the activation configuration flag bit corresponding to the embedded SIM card.
4. The network registration method according to claim 1, characterized in that, The step of determining the registration verification information of the target mobile terminal based on the activation configuration flag and network user identification information includes: The network lock detection type is determined based on the network lock verification engine of the target mobile terminal and the activation configuration flag. The network lock detection type includes a first detection type that represents skipping network lock detection and a second detection type that performs network lock detection. If the network lock detection type is the first detection type, then the target verification information that allows network registration is output as the registration verification information; If the network lock detection type is the second detection type, then network lock detection is performed based on the network user identification information to determine the registration verification information of the target mobile terminal.
5. The network registration method according to claim 4, characterized in that, The determination of the network lock detection type based on the network lock verification engine of the target mobile terminal and the activation configuration flag includes: The network lock verification engine of the target mobile terminal reads the activation configuration flag bit; If the activation configuration flag is a boot configuration flag, then the network lock detection type is determined to be the first detection type; If the activation configuration flag is an operation configuration flag or a test configuration type flag, then the network lock detection type is determined to be the second detection type.
6. The network registration method according to claim 4, characterized in that, The step of performing network lock detection based on the network user identification information to determine the registration verification information of the target mobile terminal includes: Obtain the mobile country code and mobile network code from the network user identification information; By combining the mobile country code and the mobile network code, the network lock identification information of the target mobile terminal is obtained; If the network lock identification information is the same as any of the authorization identification information in the preset authorization list, then the registration verification information of the target mobile terminal is determined to be the target verification information.
7. The network registration method according to any one of claims 1-6, characterized in that, The process of downloading the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, performing network registration, and obtaining the network registration result includes: A temporary data link is established with the network access subsystem based on the initial configuration file; Download the target configuration file corresponding to the target mobile terminal in the network access subsystem based on the temporary data link; Network registration is performed based on the target configuration file to obtain the network registration result.
8. A network registration device, characterized in that, The network registration device includes: The configuration identification module is configured to respond to a network registration request triggered by the target mobile terminal and determine the activation configuration type corresponding to the embedded SIM card in the target mobile terminal. The flag configuration module is configured to configure the card slot flag bit corresponding to the embedded SIM card according to the activation configuration type to obtain the activation configuration flag bit; The registration verification module is configured to determine the registration verification information of the target mobile terminal based on the activation configuration flag and the network user identification information. The network registration module is configured to, if the registration verification information is target verification information, download the target configuration file corresponding to the target mobile terminal based on the initial configuration file corresponding to the activation configuration type, perform network registration, and obtain the network registration result.
9. A network registration device, characterized in that, The network registration device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the network registration method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the network registration method according to any one of claims 1 to 7.