User number registration method and device

By generating cross-regional keys to encrypt IMSI data and bureau data without changing the existing SIM resources and network element resource configuration, the limitations of cross-regional registration of user numbers are resolved, remote network access for user numbers is achieved, and users' needs for opening accounts with numbers in different regions are guaranteed.

CN115967938BActive Publication Date: 2025-09-19CHINA MOBILE GROUP JIANGSU +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111187648.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-12
Publication Date
2025-09-19
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

In the prior art, when a user number is registered across regions, the SIM card's domain is inconsistent with the user number's domain, resulting in inability to remotely access the network, which limits the expansion and continuous service capabilities of the user number.

Method used

By generating a cross-regional key to encrypt the International Mobile Subscriber Identity (IMSI) data and bureau data without changing the existing SIM resources and network element resource configuration, and sending them to the SIM card and home user server for decryption respectively, cross-regional registration of user numbers is achieved.

Benefits of technology

It realizes cross-regional registration of user numbers, ensures the remote network access capability of user numbers, breaks through regional restrictions, and provides a foundation for full network operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115967938B_ABST
    Figure CN115967938B_ABST
Patent Text Reader

Abstract

The present application provides a user number registration method and device. The method includes: generating a first key based on the first home domain of the user identification card SIM card, and generating a second key based on the second home domain of the user number; encrypting the original IMSI data obtained after decrypting the preset international mobile user identity code IMSI data according to the first key to obtain first ciphertext data, and encrypting the original bureau data obtained after decrypting the preset bureau data of the SIM card according to the second key to obtain second ciphertext data; sending the first ciphertext data to the SIM card for decryption, and sending the second ciphertext data to the home user server for decryption to complete the network registration of the user number. The user number registration method and device provided in the embodiment of the present application can realize cross-regional registration without changing the configuration of existing SIM resources and network element resources, thereby ensuring the ability of user numbers to access the network remotely.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of core network technology, and in particular to a method and device for registering a user number. Background Art

[0002] Currently, the registration mechanism of the operator's core network, the Home Location Register (HLR), uses a domain-specific encryption mechanism. During the new user account registration process, the Business & Operation Support System (BOSS) sends a registration instruction encrypted for the corresponding domain to the Home Subscriber Server (HSS). The CN (Core Networt), to which the number belongs, receives the instruction, decrypts it, and registers the new user, successfully opening the account.

[0003] In the related art, when a new user opens an account and registers, the user number and the SIM (Subscriber Identify Module) card are first verified to see if their domains are consistent. Only when they are consistent can the user register and join the network normally.

[0004] However, this registration method means that when a user selects a number outside their domain online, the operator in the user's domain will be unable to provide localized network access services, which limits the user's ability to access the network remotely, resulting in a certain impact on the expansion of new online users and the continued service of new users. Summary of the Invention

[0005] The embodiments of the present application provide a user number registration method and apparatus, which implement cross-region registration without changing the configuration of existing SIM resources and network element resources, thereby ensuring the ability of user numbers to access the network remotely.

[0006] In a first aspect, an embodiment of the present application provides a user number registration method, comprising:

[0007] Generate a first key according to a first home domain of a subscriber identity card SIM card, and generate a second key according to a second home domain of a subscriber number;

[0008] Encrypting, using the first key, original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data to obtain first ciphertext data, and encrypting, using the second key, original exchange data obtained by decrypting the preset exchange data of the SIM card to obtain second ciphertext data;

[0009] The first ciphertext data is sent to the SIM card for decryption, and the second ciphertext data is sent to the home subscriber server for decryption, so as to complete the network registration of the user number.

[0010] In one embodiment, before generating the first key according to the first home domain of the SIM card, the method further includes:

[0011] Detecting the consistency between the first home domain of the user identification card SIM card and the second home domain of the user number;

[0012] The method of generating a first key according to a first home domain of a user identification card SIM card and generating a second key according to a second home domain of a user number includes:

[0013] When it is detected that the first home domain is inconsistent with the second home domain, a first key is generated according to the first home domain, and a second key is generated according to the second home domain.

[0014] In one embodiment, it further includes:

[0015] When it is detected that the first home domain is consistent with the second home domain, the preset IMSI data is sent to the SIM card, and the preset office data is sent to the home subscriber server to complete the network registration of the user number.

[0016] In one embodiment, it further includes:

[0017] The preset IMSI data is decrypted according to a first preset decryption key to obtain the original IMSI data.

[0018] In one embodiment, it further includes:

[0019] The preset local data is decrypted according to a second preset decryption key to obtain the original local data.

[0020] In one embodiment, sending the first ciphertext data to the SIM card for decryption, and sending the second ciphertext data to the home subscriber server for decryption to complete the network registration of the user number includes:

[0021] Sending the first ciphertext data to the SIM card, and obtaining first plaintext data obtained by decrypting the first ciphertext data by the SIM card; and

[0022] Sending the second ciphertext data to the home subscriber server, and obtaining second plaintext data obtained by decrypting the second ciphertext data by the home subscriber server;

[0023] When the first plaintext data and the second plaintext data meet a preset condition, the network registration of the user number is completed.

[0024] In one embodiment, the preset conditions include:

[0025] The first plaintext data is consistent with the original IMSI data, and the second plaintext data is consistent with the original IMSI data; and

[0026] The first plaintext data is consistent with the second plaintext data.

[0027] In a second aspect, an embodiment of the present application provides a user number registration device, comprising:

[0028] A key generation module is used to generate a first key according to a first home domain of a user identification card SIM card, and to generate a second key according to a second home domain of a user number;

[0029] a data encryption module configured to encrypt, using the first key, original IMSI data obtained by decrypting the preset international mobile subscriber identity (IMSI) data to obtain first ciphertext data, and to encrypt, using the second key, original locality data obtained by decrypting the preset locality data of the SIM card to obtain second ciphertext data;

[0030] The number registration module is used to send the first ciphertext data to the SIM card and send the second ciphertext data to the home subscriber server to complete the network registration of the user number.

[0031] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the steps of the user number registration method described in the first aspect are implemented.

[0032] In a fourth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the user number registration method described in the first aspect.

[0033] The user number registration method and device provided in the embodiment of the present application encrypt IMSI data by using a key generated by the home domain of the SIM card, and encrypt the local data of the SIM card by using a key generated by the home domain of the user number. Without changing the configuration of existing SIM resources and network element resources, an unequal encryption conversion is added, so that the key of the IMSI data is consistent with the home domain of the decryption key of the SIM card, and the key of the local data is consistent with the home domain of the decryption key of the home user server. Therefore, when the encrypted IMSI data and local data are sent to the SIM card and the home user server for decryption respectively, decryption can be performed without the home domain of the SIM card being consistent with the home domain of the user number, thereby enabling cross-regional registration of user numbers, breaking through the regional restrictions of user numbers, and ensuring the ability of user numbers to access the network remotely. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0035] Figure 1 This is a schematic diagram of an application scenario of the user number registration method provided in an embodiment of the present application;

[0036] Figure 2 This is a flowchart of a user number registration method provided in an embodiment of the present application;

[0037] Figure 3 This is a schematic diagram of the structure of the user number registration device provided in an embodiment of the present application;

[0038] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0040] In order to better understand the solution, the professional terms involved in the embodiments of the present invention are explained:

[0041] The IMSI (International Mobile Subscriber Identity) is a unique identifier used to distinguish different users on a cellular network. It can be used to query user information in the Home Location Register (HLR) or Visitor Location Register (VLR).

[0042] Exchange data refers to a series of command files that describe the functions of various components of the switching network. This includes switch data, inter-exchange trunk data, prefix analysis data, data to the BSC, cell data, routing data, and signaling data. The switching network consists of switching centers (SSs), toll tandem offices, base station systems, and mobile stations.

[0043] The Home Subscriber Server (HSS) is an important component of the control layer in the IP multimedia subsystem (IMS).

[0044] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0045] The user number registration method provided in the embodiment of the present application is applied to Figure 1 In the application environment shown, a SIM card 110, a business operation support system 120, and a home subscriber server 130 are included. The business operation support system 120 can be implemented as an independent server or a server cluster consisting of multiple servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence sampling point devices.

[0046] When a new user registers an account, in the related art, the business operation support system 120 will obtain the preset IMSI data and the preset station data of the SIM card. The preset IMSI data and the preset station data are encrypted using the existing static consistent encryption group. The original IMSI data and the original office data are encrypted. Indicates encryption of the original office data of the SIM card's K / OPC (Originating Point Code), where n represents the SIM card's first home domain N and x represents the encryption algorithm; It indicates that the original IMSI data is encrypted, where m indicates the second home domain M of the home subscriber server, and y indicates the encryption algorithm.

[0047] After the business operation support system 120 obtains the preset IMSI data and the preset exchange data, it sends the preset IMSI data to the home subscriber server 130, decrypts it using the decryption key on the home subscriber server 130, and sends the preset exchange data to the SIM card 110, decrypts it using the decryption key on the SIM card 110, achieving normal decryption and writing on the SIM card side and the home subscriber server, thereby completing the registration of the user number.

[0048] However, because the decryption keys on the home subscriber server and the SIM card are both generated based on their corresponding home domains, this approach requires that the SIM card's first home domain N be consistent with the home subscriber server's second home domain M. If the first home domain N and the second home domain M are inconsistent, the user number will fail to register successfully on both the home subscriber server and the SIM card, limiting the user's ability to access the network remotely.

[0049] To this end, the embodiment of the present application is based on the existing registration mechanism, does not modify the core network encryption method, and does not change the existing core network routing. The service support system 120 generates a first key based on the first home domain of the SIM card and a second key based on the second home domain of the user number. When the service support system 120 obtains the preset IMSI data and the preset office data, it decrypts the preset IMSI data and the preset office data to obtain the original IMSI data and the original office data. After that, it encrypts the original IMSI data using the first key to obtain first ciphertext data, and then encrypts the original office data using the second key to obtain second ciphertext data.

[0050] After obtaining the first ciphertext data and the second ciphertext data, the service support system sends the first ciphertext data to the SIM card for decryption, and sends the second ciphertext data to the home subscriber server for decryption, thereby completing the network registration of the user number.

[0051] The IMSI data is encrypted by the key generated by the SIM card's home domain, and the SIM card's local data is encrypted by the key generated by the user number's home domain. Without changing the configuration of existing SIM resources and network element resources, there is no need to invest in related hardware and systems. Only unequal encryption conversion is added, so that the key of the IMSI data is consistent with the home domain of the SIM card's decryption key, and the key of the local data is consistent with the home domain of the decryption key of the home user server. Therefore, when the encrypted IMSI data and local data are sent to the SIM card and the home user server for decryption respectively, decryption can be performed without the home domain of the SIM card being consistent with the home domain of the user number. This enables cross-regional registration of user numbers, ensures the ability of user numbers to access the network remotely, realizes the user's need to open accounts with numbers in different domains, and provides a foundation for subsequent full network operations.

[0052] Below, the user number registration method provided in the embodiment of the present application will be introduced and explained in detail through several specific embodiments.

[0053] Figure 2 This is one of the flow charts of the user number registration method provided in the embodiment of the present application. Figure 2 , the embodiment of the present application provides a user number registration method, and this embodiment mainly uses the method applied to a computer device as an example. The computer device can be Figure 1 The business operation support system 120 in.

[0054] Reference Figure 2 A user number registration method provided in this embodiment includes:

[0055] Step 101, generating a first key according to a first home domain of a subscriber identity card SIM card, and generating a second key according to a second home domain of a subscriber number;

[0056] Step 120: encrypting original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data using the first key to obtain first ciphertext data, and encrypting original exchange data obtained by decrypting the preset exchange data of the SIM card using the second key to obtain second ciphertext data.

[0057] Step 130: Send the first ciphertext data to the SIM card for decryption, and send the second ciphertext data to the home subscriber server for decryption, so as to complete the network registration of the user number.

[0058] The IMSI data is encrypted by the key generated by the SIM card's home domain, and the SIM card's local data is encrypted by the key generated by the user number's home domain. Without changing the configuration of existing SIM resources and network element resources, there is no need to invest in related hardware and systems. Only unequal encryption conversion is added, so that the key of the IMSI data is consistent with the home domain of the SIM card's decryption key, and the key of the local data is consistent with the home domain of the decryption key of the home user server. Therefore, when the encrypted IMSI data and local data are sent to the SIM card and the home user server for decryption respectively, decryption can be performed without the home domain of the SIM card being consistent with the home domain of the user number. This enables cross-regional registration of user numbers, ensures the ability of user numbers to access the network remotely, realizes the user's need to open accounts with numbers in different domains, and provides a foundation for subsequent full network operations.

[0059] In step 101, the first home domain and the second home domain are determined by reading the CardID of the SIM card. Specifically, the first home domain N of the SIM card and the second home domain M of the user number are obtained by reading and parsing the CardID.

[0060] In one embodiment, before step 101, the method further includes:

[0061] Detecting the consistency between the first home domain of the user identification card SIM card and the second home domain of the user number;

[0062] Step 101 includes:

[0063] When it is detected that the first home domain is inconsistent with the second home domain, a first key is generated according to the first home domain, and a second key is generated according to the second home domain.

[0064] In one embodiment, the business operation support system pre-reads the SIM card information and number information corresponding to the user number, obtains the first home domain N of the SIM card, and the second home domain M of the user number. After obtaining the first home domain N and the second home domain M, it checks whether the first home domain N and the second home domain M are consistent; if they are inconsistent, the existing statically consistent peer encryption group is used. and Generate dynamic asymmetric encryption groups in, is the first key, is the second key. n represents the first home domain N, y represents the encryption algorithm; m represents the second home domain M, and x represents the encryption algorithm.

[0065] By generating a first key and a second key when detecting that the first home domain and the second home domain are inconsistent, the key of the IMSI data is consistent with the home domain of the decryption key of the SIM card, and the key of the local data is consistent with the home domain of the decryption key of the home user server. Therefore, when the home domain of the SIM card is inconsistent with the home domain of the user number, decryption can also be performed through the SIM card and the home user server to realize cross-regional registration of the user number.

[0066] In one embodiment, it further includes:

[0067] When it is detected that the first home domain is consistent with the second home domain, the preset IMSI data is sent to the SIM card, and the preset office data is sent to the home subscriber server to complete the network registration of the user number.

[0068] In one embodiment, if the first home domain N and the second home domain M are the same, the encryption group will be used according to the existing static consistency. Generated preset IMSI data Sent to the SIM card, the encryption group will be based on the existing static consistency Generated SIM card preset data Send to the home user server so that when it detects that the SIM card has completed the preset IMSI data The decryption of the preset bureau data is completed by the home user server When the decryption is completed, it means that the user number’s network registration is completed.

[0069] Among them, the preset IMSI data and preset bureau data Available via CardID.

[0070] When detecting that the first home domain is consistent with the second home domain, the preset IMSI data is directly sent to the SIM card, and the preset office data is sent to the user home server for decryption to complete the network registration of the user number. There is no need to generate the first key and the second key, thereby reducing the amount of calculation in the user number registration process.

[0071] In step 102, the business operation support system obtains the encryption group based on the existing static consistency Generated preset IMSI data After that, the preset IMSI data Decrypt and get the original IMSI data IMSI m , where IMSI m Indicates the office data of the second home domain M. After obtaining IMSI m After that, through the first key IMSIm Re-encrypt to obtain the first ciphertext data

[0072] Similarly, the business operation support system obtains the existing static consistent encryption group Generated SIM card preset data After that, the preset bureau data Decryption is performed to obtain the original local data k / Opc. After obtaining k / Opc, the second key is used to Re-encrypt k / Opc to obtain the second ciphertext data

[0073] In one embodiment, obtaining the original IMSI data includes:

[0074] The preset IMSI data is decrypted according to a first preset decryption key to obtain the original IMSI data.

[0075] In one embodiment, the first preset decryption key For A group of equal encryption and decryption groups. After that, the preset IMSI data Decrypt and get the original IMSI data IMSI m .

[0076] The preset IMSI data is decrypted by using the first preset decryption key which is in a group of encryption and decryption groups equivalent to the key of the preset IMSI data, so that the original IMSI data can be obtained more quickly and effectively.

[0077] In one embodiment, obtaining the original bureau data includes:

[0078] The preset local data is decrypted according to a second preset decryption key to obtain the original local data.

[0079] In one embodiment, the second preset decryption key For It is a set of equal encryption and decryption groups, obtained from the SIM card. After that, the preset bureau data Decrypt it and get the original local data k / Opc.

[0080] By using preset bureau data The key is a second preset decryption key of a set of peer encryption and decryption groups to preset the data Decryption can be performed to obtain preset bureau data more quickly and effectively

[0081] In step 103, the first ciphertext data Used for SIM card writing. When the business operation support system obtains the first ciphertext data After that, the first ciphertext data Write to the SIM card to make the SIM card read the first ciphertext data Decrypt.

[0082] In one embodiment, the first ciphertext data Used for network element registration. When the business operation support system obtains the second ciphertext data Then, the second ciphertext data The network element work order is sent to the home user server, so that the home user server can process the second ciphertext data. Decrypt.

[0083] In one embodiment, after detecting that the SIM card completes the first ciphertext data The home user server completes the decryption of the second ciphertext data After decryption, the network registration of the user number is completed.

[0084] In one embodiment, step 103 specifically includes:

[0085] Sending the first ciphertext data to the SIM card, and obtaining first plaintext data obtained by decrypting the first ciphertext data by the SIM card; and

[0086] Sending the second ciphertext data to the home subscriber server, and obtaining second plaintext data obtained by decrypting the second ciphertext data by the home subscriber server;

[0087] When the first plaintext data and the second plaintext data meet the preset conditions, the network registration of the user number is completed.

[0088] In one embodiment, the preset condition can be that the first plaintext data is consistent with the original IMSI data, and the second plaintext data is consistent with the original IMSI data. After the first ciphertext data is sent to the SIM card, the decryption key of the first home domain N preset in the SIM card is used. The first plaintext data is obtained from the first ciphertext data and written into the IMSI data sector of the SIM card. After the second ciphertext data is sent to the home user server, the decryption key of the second home domain M preset in the home user server is used. Decrypt the second ciphertext data to obtain the second plaintext data. After obtaining the first plaintext data and the second plaintext data, detect whether the first plaintext data is the original IMSI data IMSI m, and whether the second plaintext data is the original office data k / Opc. If the first plaintext data is the original IMSI data IMSI m , and the second plaintext data is the original office data k / Opc, then the user number can be registered and access the Internet normally.

[0089] By verifying the first plaintext data obtained by decrypting the first ciphertext and the second plaintext data obtained by decrypting the second ciphertext data, the security of the user number during network registration is improved.

[0090] To make the verification of the first plaintext data and the second plaintext data more accurate, in one embodiment, the preset conditions include: the first plaintext data is consistent with the original IMSI data, the second plaintext data is consistent with the original bureau data; and the first plaintext data is consistent with the second plaintext data.

[0091] In one embodiment, if the first plaintext data is the original IMSI data IMSI m , and the second plaintext data is the original office data k / Opc, then the existing HLA (High Level Architecture) communication mechanism is reused to detect IMSI m Is it consistent with k / Opc? m With k / Opc, the user number can be registered to the network normally.

[0092] By verifying the consistency between the first plaintext data and the original IMSI data, the consistency between the second plaintext data and the original IMSI data, and the consistency between the first plaintext data and the second plaintext data, the first plaintext data and the second plaintext data can be verified more accurately, further improving the security of the user number when registering on the network.

[0093] The user number registration device provided in an embodiment of the present application is described below. The user number registration device described below and the user number registration method described above can be referenced to each other.

[0094] Reference Figure 3 , is one of the structural diagrams of the user number registration device provided in the embodiment of the present application.

[0095] like Figure 3 As shown, a user number registration device is provided, comprising:

[0096] The key generation module 210 is configured to generate a first key according to a first home domain of a subscriber identity card SIM card, and to generate a second key according to a second home domain of a subscriber number;

[0097] The data encryption module 220 is configured to encrypt, using the first key, original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data to obtain first ciphertext data, and to encrypt, using the second key, original locality data obtained by decrypting the preset locality data of the SIM card to obtain second ciphertext data.

[0098] The number registration module 230 is configured to send the first encrypted data to the SIM card and send the second encrypted data to the home subscriber server to complete the network registration of the user number.

[0099] In one embodiment, the key generation module 210 is specifically configured to:

[0100] detecting consistency between the first home domain and the second home domain;

[0101] When it is detected that the first home domain is inconsistent with the second home domain, a first key is generated according to the first home domain of the subscriber identity card SIM card, and a second key is generated according to the second home domain of the user number.

[0102] In one embodiment, the key generation module 210 is further configured to:

[0103] When it is detected that the first home domain is consistent with the second home domain, the preset IMSI data is sent to the SIM card, and the preset office data is sent to the home subscriber server to complete the network registration of the user number.

[0104] In one embodiment, the data encryption module 220 is further configured to:

[0105] The preset IMSI data is decrypted according to a first preset decryption key to obtain the original IMSI data.

[0106] In one embodiment, the data encryption module 220 is further configured to:

[0107] The preset local data is decrypted according to a second preset decryption key to obtain the original local data.

[0108] In one embodiment, the number registration module 230 is specifically configured to:

[0109] Sending the first ciphertext data to the SIM card, and obtaining first plaintext data obtained by decrypting the first ciphertext data by the SIM card; and

[0110] Sending the second ciphertext data to the home subscriber server, and obtaining second plaintext data obtained by decrypting the second ciphertext data by the home subscriber server;

[0111] When the first plaintext data and the second plaintext data meet the preset conditions, the network registration of the user number is completed.

[0112] In one embodiment, the preset conditions include:

[0113] The first plaintext data is consistent with the original IMSI data, and the second plaintext data is consistent with the original IMSI data; and

[0114] The first plaintext data is consistent with the second plaintext data.

[0115] The IMSI data is encrypted by the key generated by the SIM card's home domain, and the SIM card's local data is encrypted by the key generated by the user number's home domain. Without changing the configuration of existing SIM resources and network element resources, there is no need to invest in related hardware and systems. Only unequal encryption conversion is added, so that the key of the IMSI data is consistent with the home domain of the SIM card's decryption key, and the key of the local data is consistent with the home domain of the decryption key of the home user server. Therefore, when the encrypted IMSI data and local data are sent to the SIM card and the home user server for decryption respectively, decryption can be performed without the home domain of the SIM card being consistent with the home domain of the user number. This enables cross-regional registration of user numbers, ensures the ability of user numbers to access the network remotely, realizes the user's need to open accounts with numbers in different domains, and provides a foundation for subsequent full network operations.

[0116] Figure 4 An example of a physical structure diagram of an electronic device is shown below. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute the steps of the user number registration method, for example, including:

[0117] Generate a first key according to a first home domain of a subscriber identity card SIM card, and generate a second key according to a second home domain of a subscriber number;

[0118] Encrypting, using the first key, original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data to obtain first ciphertext data, and encrypting, using the second key, original exchange data obtained by decrypting the preset exchange data of the SIM card to obtain second ciphertext data;

[0119] The first ciphertext data is sent to the SIM card for decryption, and the second ciphertext data is sent to the home subscriber server for decryption, so as to complete the network registration of the user number.

[0120] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0121] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the user number registration method provided in the above embodiments, for example, including:

[0122] Generate a first key according to a first home domain of a subscriber identity card SIM card, and generate a second key according to a second home domain of a subscriber number;

[0123] Encrypting, using the first key, original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data to obtain first ciphertext data, and encrypting, using the second key, original exchange data obtained by decrypting the preset exchange data of the SIM card to obtain second ciphertext data;

[0124] The first ciphertext data is sent to the SIM card for decryption, and the second ciphertext data is sent to the home subscriber server for decryption, so as to complete the network registration of the user number.

[0125] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is configured to cause a processor to execute the steps of the methods provided in the above embodiments, for example, including:

[0126] Generate a first key according to a first home domain of a subscriber identity card SIM card, and generate a second key according to a second home domain of a subscriber number;

[0127] Encrypting, using the first key, original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data to obtain first ciphertext data, and encrypting, using the second key, original exchange data obtained by decrypting the preset exchange data of the SIM card to obtain second ciphertext data;

[0128] The first ciphertext data is sent to the SIM card for decryption, and the second ciphertext data is sent to the home subscriber server for decryption, so as to complete the network registration of the user number.

[0129] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NANDFLASH), solid-state drives (SSDs)), etc.

[0130] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0131] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A user number registration method, characterized in that: include: When detecting that the first home domain of the subscriber identity card SIM card is inconsistent with the second home domain of the user number, generating a first key according to the first home domain and generating a second key according to the second home domain; Encrypting, using the first key, original IMSI data obtained by decrypting the preset International Mobile Subscriber Identity (IMSI) data to obtain first ciphertext data, and encrypting, using the second key, original exchange data obtained by decrypting the preset exchange data of the SIM card to obtain second ciphertext data; Sending the first ciphertext data to the SIM card for decryption, and sending the second ciphertext data to the home subscriber server for decryption, so as to complete the network registration of the user number, includes: Sending the first ciphertext data to the SIM card, and obtaining first plaintext data obtained by decrypting the first ciphertext data by the SIM card; and Sending the second ciphertext data to the home subscriber server, and obtaining second plaintext data obtained by decrypting the second ciphertext data by the home subscriber server; When the first plaintext data and the second plaintext data meet a preset condition, the network registration of the user number is completed.

2. The user number registration method according to claim 1, characterized in that: Before generating a first key according to the first home domain, the method further includes: The consistency between the first home domain of the subscriber identity card SIM card and the second home domain of the user number is detected.

3. The user number registration method according to claim 1, characterized in that: Also includes: When it is detected that the first home domain is consistent with the second home domain, the preset IMSI data is sent to the SIM card, and the preset office data is sent to the home subscriber server to complete the network registration of the user number.

4. The user number registration method according to claim 1 or 2, characterized in that: Also includes: The preset IMSI data is decrypted according to a first preset decryption key to obtain the original IMSI data.

5. The user number registration method according to claim 1 or 2, characterized in that: Also includes: The preset local data is decrypted according to a second preset decryption key to obtain the original local data.

6. The user number registration method according to claim 1, characterized in that: The preset conditions include: The first plaintext data is consistent with the original IMSI data, and the second plaintext data is consistent with the original IMSI data; and The first plaintext data is consistent with the second plaintext data.

7. A user number registration device, characterized in that: include: a key generation module configured to generate a first key according to the first home domain and a second key according to the second home domain when detecting that the first home domain of the subscriber identity card SIM card is inconsistent with the second home domain of the subscriber number; a data encryption module configured to encrypt, using the first key, original IMSI data obtained by decrypting the preset international mobile subscriber identity (IMSI) data to obtain first ciphertext data, and to encrypt, using the second key, original locality data obtained by decrypting the preset locality data of the SIM card to obtain second ciphertext data; The number registration module is used to send the first encrypted data to the SIM card and the second encrypted data to the home user server to complete the network registration of the user number, including: Sending the first ciphertext data to the SIM card, and obtaining first plaintext data obtained by decrypting the first ciphertext data by the SIM card; and Sending the second ciphertext data to the home subscriber server, and obtaining second plaintext data obtained by decrypting the second ciphertext data by the home subscriber server; When the first plaintext data and the second plaintext data meet a preset condition, the network registration of the user number is completed.

8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the user number registration method according to any one of claims 1 to 6 are implemented.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the user number registration method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Remote card opening method and system and terminal equipment

    CN105631496A

  • Virtual SIM card implementation method and apparatus, SIM server and terminal

    CN108696860A