User identity verification method, device and system, medium and program product
Through the identity verification method between user equipment and functional network equipment, the public and private keys are used to generate and decrypt signature information, the problem of security protection of service data in 6G network is solved, and the end-to-end between the terminal and the functional network is realized security verification reduces the risk of data leakage.
Patent Information
- Application Number
- CN202411016923.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-01
AI Technical Summary
In 6G network, if the network providing services is not the user's visiting network or the home network, it is impossible to achieve end-to-end security protection of service data between the terminal and the functional network providing services, and there is a risk of service data leakage. .
Through the identity verification method between the user equipment and the functional network equipment, the public and private keys of the user equipment are used to generate and decrypt signature information, and authenticate to ensure the security of business data. The specific steps include the user equipment sending service requests and signature information to the functional network equipment, the functional network equipment uses the user equipment's public key to decrypt the signature information, verify the user's identity, and further improve security through two-way authentication when necessary.
It realizes end-to-end security protection of service data between user equipment and the network providing services, reduces the risk of data leakage and improves communication security.
Smart Images

Figure CN118890621A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless communications, and in particular to a user identity verification method, device, system, medium and program product. Background Art
[0002] In the current 5G network, after the terminal accesses through the visited network, the visited network and the home network work together to complete mutual authentication with the terminal. In the subsequent service provision, the network no longer performs further identity verification on the terminal. However, in the future 6G network, the network will be deployed in a hierarchical and distributed manner, and the network that provides the service may not be the user's visited network or home network.
[0003] When the network providing services is not a visited network or a home network of the user, in the related art, it is impossible to achieve end-to-end security protection of business data between the terminal and the network providing services, and there is a risk of business data leakage. Summary of the invention
[0004] A technical problem to be solved by the present disclosure is to provide a user identity verification method, device, system, medium and program product, which can enable the functional network providing services to verify the identity of the user equipment and improve the security of the business data between the user equipment and the functional network equipment.
[0005] According to one aspect of the present disclosure, a user identity verification method is proposed, which is executed by a functional network device that provides services for a user device. The functional network device is different from the home network device and the visited network device corresponding to the user device. The user identity verification method includes: receiving a service request and first signature information sent by the user device through the visited network device accessed by the user device, the first signature information being information generated based on a first private key of the user device; and decrypting the first signature information using the first public key of the user device to verify the user identity.
[0006] In some embodiments, receiving the first signature information includes: sending an identity verification request to a user device, wherein the identity verification request carries a first field; and receiving the first signature information sent by the user device, wherein the first signature information is generated by encrypting the first field using a first private key of the user device.
[0007] In some embodiments, decrypting the first signature information using the first public key of the user device includes: obtaining the first public key from a network registration center, and decrypting the first signature information using the first public key; or receiving a first digital certificate containing the first public key sent by the user device, and decrypting the first signature information using the first public key.
[0008] In some embodiments, verifying the user identity includes: comparing the second field obtained by decrypting the first signature information using the first public key with the first field carried in the identity verification request to verify the user identity.
[0009] In some embodiments, receiving a service request and a first signature information sent by a user device through a visited network device accessed by the user device includes: receiving an encrypted service request and a first signature information generated by the user device and sent by the visited network device, wherein the user device encrypts the service request using a second public key of the functional network device to obtain an encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using a first private key of the user device to obtain the first signature information.
[0010] In some embodiments, verifying the user identity includes: decrypting the encrypted service request using the second private key of the functional network device to obtain the service request, hashing the service request to obtain a second summary, comparing the second summary with the first summary obtained by decrypting the first signature information using the first public key, and verifying the user identity.
[0011] In some embodiments, a first service response is generated; the first service response is encrypted using a first public key to generate a second service response; the second service response is hashed to obtain a third summary; the third summary is encrypted using a second private key of the functional network device to obtain second signature information; and the second signature information and the second service response are sent to a user device via a visited network device so that the user device can authenticate the functional network device.
[0012] According to another aspect of the present disclosure, a user identity verification method is also proposed, which is executed by a visited network device accessed by a user device, including: receiving a service request sent by the user device; determining a functional network device that provides services to the user device, the functional network device being different from a home network device and a visited network device corresponding to the user device; and sending the service request to the functional network device, so that the functional network device obtains a first signature information sent by the user device, and uses the first public key of the user device to decrypt the first signature information to verify the user identity, the first signature information being information generated based on the first private key of the user device.
[0013] In some embodiments, receiving a service request sent by a user device includes: receiving first signature information and an encrypted service request sent by the user device, wherein the user device encrypts the service request using a second public key of the functional network to obtain an encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using a first private key of the user device to obtain first signature information; sending the service request to the functional network device includes: sending the encrypted service request and the first signature information to the functional network device.
[0014] In some embodiments, second signature information and a second service response sent by a functional network device are received, wherein the functional network device generates a first service response, encrypts the first service response using a first public key to generate a second service response, hashes the second service response to obtain a third digest, and encrypts the third digest using a second private key of the functional network device to obtain second signature information; and the second signature information and the second service response are sent to a user device so that the user device can authenticate the functional network device.
[0015] In some embodiments, determining the functional network device that provides services to the user equipment includes: when it is determined that the user equipment cannot be provided with services, querying the network registration center for information of the functional network device; and receiving the information of the functional network device sent by the network registration center.
[0016] In some embodiments, determining the functional network device that provides services to the user equipment includes: determining information of the functional network device according to local configuration information or predetermined parameters.
[0017] In some embodiments, determining the functional network device that provides services to the user equipment includes: receiving a functional network identifier sent by the user equipment; and querying information of the functional network device in a network registration center according to the functional network identifier.
[0018] In some embodiments, a registration request sent by a user device is received; a home network device corresponding to the user device is determined; and a registration request is sent to the home network device to trigger two-way authentication between the home network device and the user device, wherein the home network device generates a first digital certificate based on a first public key and sends the first digital certificate to the user device.
[0019] In some embodiments, determining the home network device corresponding to the user equipment includes: querying a network registration center for information about the home network device corresponding to the user equipment; and receiving the information about the home network device sent by the network registration center.
[0020] In some embodiments, determining the home network device corresponding to the user equipment includes: determining the home network device corresponding to the user equipment according to local configuration information or a predetermined parameter carried in a registration request.
[0021] According to another aspect of the present disclosure, a functional network device is also proposed. The functional network device is different from the home network device and the visited network device corresponding to the user equipment, and includes: a first processing module, configured to receive a service request and first signature information sent by the user equipment through the visited network device accessed by the user equipment, the first signature information being information generated based on the first private key of the user equipment; and a second processing module, configured to use the first public key of the user equipment to decrypt the first signature information to verify the user identity.
[0022] According to another aspect of the present disclosure, a functional network device is also proposed, including: a memory; and a processor connected to the memory, wherein the processor is configured to execute the user identity verification method as described above based on instructions stored in the memory.
[0023] According to another aspect of the present disclosure, a visited network device is also proposed, including: a third processing module, configured to receive a service request sent by a user device; a fourth processing module, configured to determine a functional network device that provides services to the user device, the functional network device being different from a home network device and a visited network device corresponding to the user device; and a fifth processing module, configured to send the service request to the functional network device, so that the functional network device obtains the first signature information sent by the user device, and uses the first public key of the user device to decrypt the first signature information to verify the user identity, the first signature information being information generated based on the first private key of the user device.
[0024] According to another aspect of the present disclosure, a visited network device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the user identity verification method as described above based on instructions stored in the memory.
[0025] According to another aspect of the present disclosure, a user identity verification system is also proposed, including: the above-mentioned functional network device; and the above-mentioned visited network device.
[0026] In some embodiments, the home network device is configured to receive a registration request sent by the visited network device to trigger two-way authentication with the user device; generate a first digital certificate based on a first public key of the user device; and send the first digital certificate to the user device.
[0027] In some embodiments, the home network device is configured to receive a first public key sent by the user equipment, and generate a first digital certificate based on the first public key.
[0028] In some embodiments, the home network device is configured to receive a first public key sent by the user equipment and encrypted using a third public key of the home network device, decrypt the encrypted first public key, and generate a first digital certificate based on the first public key.
[0029] In some embodiments, the home network device is configured to obtain a first public key based on a shared key between the user equipment and the home network, and generate a first digital certificate based on the first public key.
[0030] In some embodiments, the home network device is configured to send the first digital certificate and an identifier of the shared key to the user device.
[0031] In some embodiments, the home network device is further configured to update the identity information of the user equipment in the network registration center.
[0032] In some embodiments, the home network device is also configured to receive a user contract signing and service activation message sent by the user device through the information technology system, send the user information and the home network information to the network registration center so that the network registration center can bind the user information and the home network information, receive a registration response message sent by the network registration center, and send the registration response message to the information technology system.
[0033] In some embodiments, the home network device is further configured to send a second digital certificate of the home network and a third digital certificate of the functional network device providing services for the user equipment to the user equipment through the information technology system.
[0034] According to another aspect of the present disclosure, a computer-readable storage medium is also provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the user identity verification method as described above is implemented.
[0035] According to another aspect of the present disclosure, a computer program product is also proposed, including a computer program or instructions, and the computer program or instructions implement the above-mentioned user identity verification method when executed by a processor.
[0036] In the disclosed embodiment, the functional network device uses the public key of the user device to decrypt the first signature information sent by the user device, thereby verifying the user identity and improving the end-to-end security protection of business data between the user device and the network providing the service.
[0037] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0039] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0040] Figure 1 A schematic diagram of a distributed network framework in some embodiments of the present disclosure;
[0041] Figure 2 A schematic diagram of the flow of some embodiments of the user identity verification method disclosed in the present invention;
[0042] Figure 3 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0043] Figure 4 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0044] Figure 5 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0045] Figure 6 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0046] Figure 7 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0047] Figure 8 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0048] Fig. 9 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0049] Fig.10 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0050] Fig.11 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0051] Fig.12 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0052] Fig.13 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0053] Fig.14Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0054] Fig.15 Schematic diagram of the flow chart of other embodiments of the user identity verification method disclosed in the present invention;
[0055] Fig.16 It is a schematic diagram of the structure of some embodiments of the functional network device disclosed in the present invention;
[0056] Fig.17 It is a structural schematic diagram of some other embodiments of the functional network device disclosed in the present invention;
[0057] Fig.18 It is a schematic diagram of the structure of some embodiments of the visited network device disclosed in the present invention;
[0058] Fig.19 It is a schematic diagram of the structure of some other embodiments of the visited network device disclosed in the present invention;
[0059] Fig. 20 The following is a schematic diagram of the structure of some embodiments of the user identity verification system disclosed in the present invention. DETAILED DESCRIPTION
[0060] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0061] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0062] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0063] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0064] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0065] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0066] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0067] In the future 6G network, the network will be deployed in a layered and distributed manner, such as Figure 1 As shown, Figure 1 This is a schematic diagram of a distributed network framework in some embodiments of the present disclosure, and the distributed network framework is logically divided into a distributed network 1 and a functional network 2. Distributed network 1 includes a 2C sinking edge network and a 2B private network. The 2C sinking edge network provides low-latency access requirements for 2C, and the 2B private network provides 2B basic private network services, such as access services that can meet local needs without leaving the park. Functional network 1 is a network that meets the value-added service needs of users. The functional network is deployed on demand, and multiple distributed networks share one functional network. According to the function, the functional network 2 is divided into a holographic communication network 21 enhanced based on IMS (IP Multimedia Subsystem, IP Multimedia Subsystem), a perception service private network 22, an intelligent service network 23, and a connection communication network 24. The intelligent service network 23 mainly completes the scheduling of data, computing power, and algorithms to complete intelligent tasks. The connection communication network 24 is a network that provides users with connection services such as the Internet, similar to the current 5G network.
[0068] Functional networks and 2C sinking edge networks jointly provide services for 2C users; functional networks and 2B private networks jointly provide services for 2B users. Through networking, each network works together to provide users with services such as connection, intelligence, perception, and multimedia communication.
[0069] Different 2C or 2B distributed networks can belong to different operators. Different functional networks can belong to different operators, and the same functional network can serve the 2C or 2B edge networks of different operators.
[0070] Based on the above distributed network framework, in order to solve the problem in the related art that when the network providing the service is not the user's visited network or home network, the end-to-end security protection of the service data between the terminal and the functional network providing the service cannot be achieved. The present disclosure provides a user identity verification solution.
[0071] Figure 2The flowchart of some embodiments of the user identity verification method disclosed in the present invention is performed by a functional network device corresponding to a user device, including steps S11-S12. The functional network device is neither a device of a visited network of the user device nor a device of a home network of the user device. The functional network device is a device of a network that provides services for the user device, and is used to meet the user's value-added service needs, and is a third-party network device. The user device can be called a terminal device or a terminal, which is a device with a wireless transceiver function and can communicate with one or more CNs (core networks).
[0072] In step S11, a service request and first signature information sent by a user equipment through a visited network device are received, where the first signature information is information generated based on a first private key of the user equipment.
[0073] In some embodiments, the user device initiates a service request to the visited network device to which it is connected. If the visited network device determines that the relevant service cannot be provided locally, it queries the network registration center for information about the functional network that can provide the service. After receiving the request, the network registration center returns the information about the functional network to the visited network device, and the visited network device can then forward the service request to the functional network device.
[0074] In other embodiments, the visited network device determines the information of the functional network device through local configuration information or predetermined parameters, and then the visited network device can forward the service request to the functional network device.
[0075] The first signature information may be signature information generated by encrypting the first field using the first private key of the user device. In other embodiments, the user device encrypts the service request using the functional network public key to obtain an encrypted service request, performs hash encryption on the encrypted service request to obtain a first summary, and encrypts the first summary using the first private key of the user device to obtain the first signature information. The first private key is a temporary private key of the user device.
[0076] The service request may be an encrypted service request or an unencrypted service request.
[0077] In step S12, the first signature information is decrypted using the first public key of the user device to verify the user identity.
[0078] For example, the first signature information is decrypted to obtain a second field, and the second field is compared with the first field sent to the user device, so that the user identity can be verified.
[0079] For another example, the first signature information is decrypted to obtain a first summary, the encrypted service request is hashed to obtain a second summary, and the second summary is compared with the first summary to verify the identity of the user.
[0080] In the above embodiment, the functional network device uses the public key of the user equipment to decrypt the first signature information sent by the user equipment, thereby verifying the user identity and improving the end-to-end security protection of business data between the user equipment and the network providing the service.
[0081] Figure 3 1 is a flowchart of some other embodiments of the user identity verification method disclosed in the present invention. The embodiment is executed by a functional network device and includes steps S1110-S1211.
[0082] In step S1110, a service request sent by a user equipment through a visited network device is received.
[0083] The visited network device forwards the service request of the user equipment to the functional network device, and establishes a transparent signaling, data or service transmission channel between the user equipment and the functional network device.
[0084] In step S1111, an identity verification request is sent to a user equipment, wherein the identity verification request carries a first field.
[0085] The first field is a special field used for signing.
[0086] In step S1112, first signature information sent by the user equipment is received, wherein the first signature information is generated by encrypting a first field using a first private key of the user equipment.
[0087] The user equipment uses the temporary private key to encrypt the specific field in the identity verification request to obtain the first signature information, and sends the first signature information to the functional network device.
[0088] In step S1210, the first signature information is decrypted using the first public key, which is a temporary public key of the user equipment.
[0089] In some embodiments, the functional network device obtains the first public key of the user equipment from the network registration center, and uses the first public key to decrypt the first signature information.
[0090] For example, after receiving the first signature information, the functional network device obtains the first public key of the user device from the network registration center based on the user information, and uses the first public key to decrypt the first signature information.
[0091] In some embodiments, the functional network device receives a first digital certificate including a first public key sent by a user device, and decrypts the first signature information using the first public key.
[0092] For example, when the user equipment sends the first signature information to the functional network device, it provides the functional network device with a digital certificate including the first public key, and then uses the first public key to decrypt the first signature information.
[0093] In step S1211, the second field obtained by decrypting the first signature information using the first public key is compared with the first field carried in the identity verification request to verify the user identity.
[0094] For example, if the second field is consistent with the first field, the user identity verification is passed and the subsequent business process can be carried out. If the second field is inconsistent with the first field, the user identity verification fails.
[0095] In the above embodiment, the functional network device uses the public key of the user device to decrypt the first signature information sent by the user device, obtains the second field, and compares the second field with the first field sent to the user device to verify the user identity, thereby realizing the verification of the user device identity by the network providing the service.
[0096] Figure 4 1 is a flowchart of other embodiments of the user identity verification method disclosed in the present invention. The embodiment is executed by a functional network device and includes steps S1120-S1220.
[0097] In step S1120, an encrypted service request generated by a user device and a first signature information are received and sent by a visited network device, wherein the user device encrypts the service request using the second public key of the functional network device to obtain an encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using the first private key of the user device to obtain the first signature information.
[0098] In some embodiments, when a user wants to obtain a specific service, the user device selects a specific functional network based on the digital certificate of the functional network written in the SIM (Subscriber Identity Module) card, generates a service request, and then encrypts the service request using the functional network public key contained in the digital certificate of the corresponding functional network, and then hashes the service request to generate a summary, and finally encrypts the summary using the temporary private key of the user device to obtain the first signature information. The user device sends the encrypted service request and the first signature information to the visited network device to which it is connected.
[0099] In some embodiments, the user equipment may also send a user identity and a functional network identifier to the visited network equipment. The visited network equipment may query the registration center for other information about the functional network based on the functional network identifier.
[0100] In step S1121, a first public key of the user equipment is obtained.
[0101] For example, the functional network device may request a temporary public key of the user device from the network registration center based on the user identity.
[0102] For another example, the user equipment may also send the first digital certificate including the temporary public key to the functional network device through the visited network device.
[0103] In step S1220, the encrypted service request is decrypted using the second private key of the functional network device to obtain a service request, the service request is hashed to obtain a second summary, the second summary is compared with the first summary obtained by decrypting the first signature information using the first public key to verify the user identity.
[0104] For example, the functional network device uses its own private key to decrypt the encrypted service request to obtain the original service request information, and then hashes the original service request information to generate a second summary. The temporary public key of the user device is then used to decrypt the first signature information to obtain the first summary. If the second summary is consistent with the first summary, the user identity verification is successful. If the second summary is inconsistent with the first summary, the user identity verification fails.
[0105] In some other embodiments of the present disclosure, after the functional network device verifies the identity of the user equipment, the user equipment may also verify the functional network. Figure 5 As shown, steps S1310-S1314 are included.
[0106] In step S1310, a first service response is generated.
[0107] In step S1311, the first service response is encrypted using the first public key to generate a second service response.
[0108] In step S1312, the second service response is hashed to obtain a third digest.
[0109] For example, the second service response is hashed to generate a third digest.
[0110] In step S1313, the third summary is encrypted using the second private key of the functional network device to obtain second signature information.
[0111] In step S1314, the second signature information and the second service response are sent to the user equipment through the visited network device, so that the user equipment authenticates the functional network device.
[0112] The functional network device may also send the user identity and the functional network identifier to the user device through the visited network device.
[0113] The user device uses the public key of the functional network device to decrypt the second signature information to obtain the third summary, decrypts the third summary to obtain the encrypted service response, and then uses the private key of the user device to decrypt the encrypted service response. The user device can verify the identity of the functional network device by comparing the service response.
[0114] In this embodiment, the security of the business data between the user equipment and the functional network device providing the service is further improved through bidirectional verification.
[0115] Figure 6 1 is a flow chart of other embodiments of the user identity verification method disclosed in the present invention. The embodiment is executed by a visited network device accessed by a user device, and includes steps S21-S23.
[0116] In step S21, a service request sent by a user equipment is received.
[0117] In some embodiments, a visited network device receives first signature information and an encrypted service request sent by a user device, wherein the user device encrypts the service request using a second public key of the functional network to obtain an encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using a first private key of the user device to obtain the first signature information.
[0118] In step S22, a functional network device providing services for the user equipment is determined.
[0119] In some embodiments, when it is determined that the service cannot be provided to the user equipment, the network registration center is queried for information of the functional network device; and the information of the functional network device sent by the network registration center is received.
[0120] In some other embodiments, the visited network device determines the home network device corresponding to the user equipment according to the local configuration information or the predetermined parameters carried in the registration request.
[0121] In some other embodiments, the visited network device receives the functional network identifier sent by the user device, and queries the network registration center for information about the functional network device according to the functional network identifier. After receiving the query request, the network registration center returns the information about the functional network.
[0122] In step S23, the service request is sent to the functional network device so that the functional network device obtains the first signature information sent by the user device and decrypts the first signature information using the first public key of the user device to verify the user identity. The first signature information is signature information generated based on the first private key of the user device.
[0123] In this embodiment, if the visited network device cannot provide services to the user, the user needs to obtain services through the functional network, and the functional network verifies the user device, which can improve the security of subsequent communications.
[0124] In some other embodiments of the present disclosure, a visited network device receives second signature information and a second service response sent by a functional network device, wherein the functional network device generates a first service response, encrypts the first service response using a first public key to generate a second service response, hashes the second service response to obtain a third summary, and encrypts the third summary using a second private key of the functional network device to obtain second signature information; the second signature information and the second service response are sent to a user device so that the user device can authenticate the functional network device.
[0125] In this embodiment, the visited network device forwards the second signature information and the second service response generated by the functional network device to the user device, so that the user device authenticates the functional network device, thereby realizing two-way authentication between the user device and the functional network device, and further improving system security.
[0126] Figure 7 1 is a flow chart of other embodiments of the user identity verification method disclosed in the present invention. The method is executed by a visited network device accessed by a user device, and includes steps S31-S33.
[0127] In step S31, a registration request sent by a user equipment is received.
[0128] In step S32, the home network device corresponding to the user equipment is determined.
[0129] In some embodiments, the visited network device queries the network registration center for information about the home network device corresponding to the user equipment; and receives the information about the home network device sent by the network registration center.
[0130] In some other embodiments, the visited network device determines the home network device corresponding to the user equipment according to the local configuration information or the predetermined parameters carried in the registration request.
[0131] In step S33, a registration request is sent to the home network device to trigger two-way authentication between the home network device and the user equipment, wherein the home network device generates a first digital certificate based on the first public key and sends the first digital certificate to the user equipment.
[0132] For example, the user equipment completes two-way authentication and authorization via the visited network device and the home network setting, and then the user equipment can complete registration at the home network device.
[0133] Figure 8 1 is a flowchart of other embodiments of the user identity verification method disclosed in the present invention. The embodiment is executed by a home network device corresponding to the user equipment, and includes steps S41-S43.
[0134] In step S41, a registration request sent by a visited network device is received to trigger a two-way authentication with the user device.
[0135] The home network device and the user device complete two-way authentication and authorization via the visited network device. For example, the 5G network's 5G-AKA (Authentication and Key Agreement) or EAP-AKA' (Enhanced Authentication and Key Agreement) is used for authentication.
[0136] In step S42, a first digital certificate is generated based on the first public key of the user equipment.
[0137] In some embodiments, the user equipment generates a temporary public key and private key pair, and sends the temporary public key to the home network device, stating that a digital certificate needs to be generated for the public key.
[0138] In other embodiments, the user equipment uses the home network device public key contained in the home digital certificate, that is, the third public key, to encrypt the temporary public key of the user equipment, and sends the encrypted temporary public key to the home network device. The home network device decrypts the encrypted temporary public key, and then generates a digital certificate based on the temporary public key.
[0139] In some other embodiments, the home network device uses a shared key (such as K ausf ) derives the temporary public key of the user device and issues a digital certificate for the temporary public key.
[0140] The digital certificate includes, for example, the identity of the user equipment, the temporary public key of the user equipment, the certificate issuing authority (ie, the home network), and the certificate fingerprint (ie, the signature of the home network private key on the certificate).
[0141] The validity period included in the digital certificate should be short enough to ensure safe use. For example, the validity period of the digital certificate is 24 hours.
[0142] In step S43, the first digital certificate is sent to the user equipment.
[0143] In some embodiments, the home network device sends the first digital certificate and the identifier of the shared key to the user device, that is, it indicates which shared key the public key in the certificate is derived from, as well as the derivation algorithm, etc.
[0144] In some embodiments, the home network device may not send the shared key identifier to the user equipment, but inform the user equipment by presetting or issuing a policy.
[0145] In some embodiments, the home network device may also update the user identity information to the network registration center, for example, by binding the public key to the user's existing information and updating it in the network registration center.
[0146] Before users register, they need to activate the service. Fig. 9 As shown, Fig. 9 1 is a flowchart of other embodiments of the user identity verification method disclosed in the present invention. The embodiment is executed by a home network device corresponding to the user equipment, and includes steps S51-S53.
[0147] In step S51, a user subscription and service activation message sent by a user equipment through an information technology system is received.
[0148] The home network device writes the information of the user equipment and the contracted service authorization information.
[0149] In step S52, the user information and the home network information are sent to the network registration center so that the network registration center binds the user information and the home network information.
[0150] In step S53, a registration response message sent by the network registration center is received, and the registration response message is sent to the information technology system.
[0151] For example, the home network device sends the user ID and its own network ID, NF (Network Function) service management function address and other information to the network registration center. After receiving the request, the network registration center binds the user information and the corresponding home network information, and sends a registration response message to the home network device, indicating that the user registration is successful.
[0152] In some embodiments, the home network device also sends the second digital certificate of the home network and the third digital certificate of the functional network device providing services to the user equipment through the information technology system to the user equipment, so as to be written into the SIM card of the user equipment.
[0153] The following describes the solution of the present disclosure with reference to three processes: user service activation, user registration, and user service acquisition, taking specific embodiments as examples.
[0154] User service activation process Fig.10 As shown, Fig.10 Schematic diagram of the flow of other embodiments of the user identity verification method disclosed in the present invention, including steps S61 to S66.
[0155] In step S61, after receiving the user account opening information, the IT system initiates the user contract signing and service activation process to the user's home network device.
[0156] The home network device writes the user's information and the contracted service authorization information. The user's information is, for example, a user ID.
[0157] In step S62, the home network device sends the user information and home network information to the network registration center. The home network information includes, for example, a network identifier, an NF service management function address, and the like.
[0158] In step S63, after receiving the request, the network registration center binds the user information and the corresponding home network information.
[0159] In step S64, the network registration center replies with a registration response message, indicating that the registration is successful.
[0160] In step S65, the home network device returns a service activation notification to the IT system.
[0161] In some embodiments, based on the service subscribed by the user, the notification carries the digital certificates of the home network and the corresponding network providing the service.
[0162] In step S66, the IT system writes the digital certificates of the home network and the network providing the service into the SIM card.
[0163] Through the above steps, the user device completes the network account opening process.
[0164] In some embodiments of the present disclosure, the user initially accesses the network to complete the registration and obtain the digital certificate, such as Figure 11-13 shown.
[0165] Fig.11 Schematic diagram of the flow of other embodiments of the user identity verification method disclosed in the present invention.
[0166] In step S71, the user equipment initiates a registration request to the visited network.
[0167] In step S72, the visited network device queries the registration center for the user's home network information.
[0168] In some embodiments, the visited network device can obtain the user's home network information through local query of local configuration information, or directly confirm it based on the explicit parameters carried in the registration request. The local configuration information is, for example, the number segment information based on the user. The explicit parameters include, for example, the home network identifier (HomeNetwork Identifier) and the routing indicator (Routing Indicator) in the SUCI (Subscription Concealed Identifier) carried by the user equipment when registering, as defined by 3GPP.
[0169] In step S73, after receiving the request, the network registration center returns the information of the home network.
[0170] In step S74, the visited network device forwards the user's registration request to the user's home network device, triggering the user's authentication process.
[0171] In step S75, the home network device and the user equipment complete two-way authentication via the visited network device.
[0172] In step S76, the user device generates a temporary public key and private key pair.
[0173] In step S77, the user equipment sends the temporary public key to the home network node, stating that a digital certificate needs to be generated for the public key.
[0174] In some embodiments, the temporary public key of the user equipment is encrypted using the home network public key contained in the home digital certificate written into the SIM card in step S66 of the "user service activation" process.
[0175] In step S78, the home network device generates a digital certificate for the temporary public key of the user device, which includes the identity of the user device, the temporary public key of the user device, the certificate issuing authority (i.e., the home network) and the certificate fingerprint (i.e., the signature of the home network private key on the certificate).
[0176] In some embodiments, the validity period included in the issued digital certificate should be short enough, for example, the validity period is set to 24 hours.
[0177] In step S79, the home network device sends the digital certificate issued to the user equipment to the user equipment, and the user equipment stores the digital certificate locally.
[0178] In step S710, the home network device updates the user identity information to the network registration center, for example, by binding the public key with the existing information of the user.
[0179] Fig.12 Schematic diagram of the flow of other embodiments of the user identity verification method disclosed in the present invention.
[0180] In step S81, the user equipment initiates a registration request to the visited network equipment to which it is connected, and the registration request carries a temporary public key.
[0181] The user device pregenerates a temporary public key and private key pair.
[0182] In step S82, the visited network device queries the registration center for the user's home network information.
[0183] In some embodiments, the visited network device can obtain the user's home network information through local query of local configuration information, or directly confirm based on explicit parameters carried in the registration request. The local configuration information is, for example, based on the user's number segment information.
[0184] In step S83, after receiving the request, the network registration center returns the information of the home network.
[0185] In step S84, the visited network device forwards the user's registration request to the user's home network device, triggering the user's authentication process, and forwards the temporary public key to the home network device.
[0186] In step S85, the home network device and the user equipment complete two-way authentication via the visited network device.
[0187] In step S86, the home network device issues a digital certificate to the user equipment.
[0188] In step S87, the home network device sends the digital certificate issued to the user equipment to the user equipment, and the user equipment stores the digital certificate locally.
[0189] In step S88, the home network device updates the user identity information to the network registration center.
[0190] Fig.13 Schematic diagram of the flow of other embodiments of the user identity verification method disclosed in the present invention.
[0191] In step S91, the user equipment initiates a registration request to the visited network.
[0192] In step S92, the visited network device queries the registration center for the user's home network information.
[0193] In some embodiments, the visited network device can obtain the user's home network information through local query of local configuration information, or directly confirm based on explicit parameters carried in the registration request. The local configuration information is, for example, based on the user's number segment information.
[0194] In step S93, after receiving the request, the network registration center returns the information of the home network.
[0195] In step S94, the visited network device forwards the user's registration request to the user's home network device, triggering the user's authentication process.
[0196] In step S95, the home network device and the user equipment complete two-way authentication via the visited network device.
[0197] In step S96, the home network device derives a temporary public key of the user equipment from the shared key between the user equipment and the visited network device, and issues a digital certificate for the temporary public key. The shared key is, for example, Kausf.
[0198] In step S97, the home network device sends the digital certificate and the shared key identifier to the user equipment.
[0199] In some embodiments, the home network device may also only send the digital certificate to the user equipment, and the shared key identifier is notified to the user equipment by way of preset or policy delivery.
[0200] In step S98, the home network device updates the user identity information to the network registration center.
[0201] After the user completes the registration, if the user cannot obtain the relevant services on the visited network, the user can obtain the services through the functional network that can provide the services, such as Figure 14-15 shown.
[0202] Fig.14 Schematic diagram of the flow of other embodiments of the user identity verification method disclosed in the present invention.
[0203] In step S101, a user equipment sends a service request to a visited network device.
[0204] In step S102, the visited network determines that the relevant service cannot be provided locally, and queries the registration center for information on functional networks that can provide the service.
[0205] In step S103, after receiving the request, the network registration center returns the information of the functional network, which includes, for example, IP or port information.
[0206] In some embodiments, the visited network device may directly confirm the functional network information providing the service through local configuration information or based on explicit parameters carried in the registration request.
[0207] For example, taking a digital certificate in the standard X509 format as an example, the Subject Alternative Name available in the extension field extension can be a domain name, IP address, etc. This information can be put into the registration request. The functional network information of the service can be determined through the extension field.
[0208] In step S104, the visited network device forwards the user's service request to the functional network device, and establishes a transparent signaling, data or service transmission channel between the user equipment and the functional network device.
[0209] In step S105, the functional network device sends an identity verification request to the user equipment, and the request carries a specific field for signature.
[0210] In step S106, the user device uses the user's temporary private key to encrypt a specific field in the request to obtain a signature, and sends the signature to the functional network device.
[0211] In some embodiments, the user equipment may also send a digital certificate including a temporary public key to the functional network device.
[0212] In step S107, after receiving the signature, the functional network device requests the user's temporary public key from the network registration center based on the user information.
[0213] In some embodiments, if the user device sends a digital certificate including a temporary public key to the functional network device, the functional network device does not need to request the user's temporary public key from the network registration center.
[0214] In step S108, the functional network device uses the temporary public key to decrypt the signature and compares it with the specific field in step S105 to verify the user identity.
[0215] In step S109, the signature verification is successful, and the subsequent business process continues.
[0216] Fig.15 Schematic diagram of the flow of other embodiments of the user identity verification method disclosed in the present invention.
[0217] In step S1101, the user equipment generates a service request, encrypts the service request and generates a digital signature.
[0218] For example, if a user wants to obtain a specific service, the user device selects a specific functional network through the digital certificate of the functional network written in the SIM card, generates a service request, and then encrypts the service request using the functional network public key contained in the digital certificate of the corresponding functional network. The service request is then hashed to generate a summary, and finally the summary is encrypted using the temporary private key of the user device to obtain a digital signature.
[0219] In step S1102, the user equipment sends an encrypted service request, a digital signature, a user identity and a functional network identity to the visited network device.
[0220] In step S1103, the visited network device queries the registration center for other information of the functional network device, such as the NF service management function address, based on the functional network identifier.
[0221] In some embodiments, the visited network may directly confirm other information of the functional network through local configuration information or based on explicit parameters carried in the registration request.
[0222] In step S1104, after receiving the query request, the network registration center returns other information of the functional network.
[0223] In step S1105, the visited network device forwards the encrypted service request, digital signature and user identity to the functional network device.
[0224] In step S1106, the functional network device requests a temporary public key of the user equipment from the network registration center based on the user identity.
[0225] In step S1107, the functional network device performs decryption verification.
[0226] The functional network device uses its own private key to decrypt the encrypted service request to obtain the original service request information, then hashes the original service request information to generate a summary, and then uses the temporary public key of the user device to decrypt the digital signature to obtain the summary, and finally compares the two summaries.
[0227] In step S1108, the functional network device generates a service response and encrypts it using the temporary public key of the user device, then performs hash encryption on the service response to generate a digest, and finally encrypts the digest using its own private key to generate a digital signature.
[0228] In step S1109, the functional network device returns an encrypted service response, a digital signature, a user identity, and a functional network identity.
[0229] In step S11010, the visited network device forwards the encrypted service response, digital signature and functional network identifier to the user equipment.
[0230] In step S11011, the user equipment performs decryption verification.
[0231] In the above embodiments, the process of user service activation, user registration, and user service acquisition is introduced. For a network providing services that is a non-visited network or a home network of a user device, the identity verification of the terminal can be implemented, thereby improving the security of business data between the user device and the network providing services.
[0232] Fig.16 It is a schematic diagram of the structure of some embodiments of the functional network device disclosed in the present invention. The functional network device includes a first processing module 110 and a second processing module 120.
[0233] The first processing module 110 is configured to receive a service request and first signature information sent by a user equipment through a visited network device.
[0234] In some embodiments, the first processing module 110 sends an identity verification request to a user device, wherein the identity verification request carries a first field; and receives first signature information sent by the user device, wherein the first signature information is generated by encrypting the first field using a first private key of the user device.
[0235] In some embodiments, the first processing module 110 is also configured to receive an encrypted service request generated by a user device and sent by a visited network device, wherein the user device encrypts the service request using the second public key of the functional network device to obtain an encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using the first private key of the user device to obtain the first signature information.
[0236] The second processing module 120 is configured to decrypt the first signature information using the first public key of the user device to verify the user identity.
[0237] In some embodiments, the second processing module 120 obtains the first public key from the network registration center and uses the first public key to decrypt the first signature information; or receives a first digital certificate containing the first public key sent by the user device and uses the first public key to decrypt the first signature information.
[0238] In some embodiments, the second processing module 120 compares the second field obtained by decrypting the first signature information using the first public key with the first field carried in the identity verification request to verify the user identity.
[0239] In some embodiments, the second processing module 120 is also configured to use the second private key of the functional network device to decrypt the encrypted service request to obtain the service request, hash the service request to obtain a second summary, compare the second summary with the first summary obtained by decrypting the first signature information using the first public key, and verify the user identity.
[0240] In some other embodiments of the present disclosure, the second processing module 120 is also configured to generate a first service response; encrypt the first service response using the first public key to generate a second service response; hash the second service response to obtain a third summary; encrypt the third summary using the second private key of the functional network device to obtain second signature information; and send the second signature information and the second service response to the user device through the visited network device so that the user device can authenticate the functional network device.
[0241] Fig.17 Schematic diagram of the structure of some other embodiments of the functional network device of the present disclosure, the functional network device 200 includes a memory 210 and a processor 220. Wherein: the memory 210 can be a disk, a flash memory or any other non-volatile storage medium. The memory is used to store the instructions in the above embodiments. The processor 220 is coupled to the memory 210 and can be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 220 is used to execute the instructions stored in the memory.
[0242] In some embodiments, the processor 220 is coupled to the memory 210 via the BUS 230. The functional network device 200 can also be connected to an external storage device 250 via a storage interface 240 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 260. No further detailed description will be given here.
[0243] Fig.18 1 is a schematic diagram of the structure of some embodiments of the visited network device of the present disclosure, where the visited network device includes a third processing module 310 , a fourth processing module 320 and a fifth processing module 330 .
[0244] The third processing module 310 is configured to receive a service request sent by a user equipment.
[0245] In some embodiments, the third processing module 310 receives first signature information and an encrypted service request sent by a user device, wherein the user device encrypts the service request using the second public key of the functional network to obtain an encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using the first private key of the user device to obtain the first signature information.
[0246] The fourth processing module 320 is configured to determine a functional network device that provides a service for the user equipment.
[0247] For example, when it is determined that the service cannot be provided to the user equipment, the network registration center is queried for information of the functional network equipment; and the information of the functional network equipment sent by the network registration center is received.
[0248] For another example, information of the functional network device is determined according to local configuration information or predetermined parameters.
[0249] For another example, a functional network identifier sent by a user device is received; and information about the functional network device is queried in a network registration center according to the functional network identifier.
[0250] In some embodiments, the fourth processing module 320 sends the encrypted service request and the first signature information to the functional network device.
[0251] In some embodiments, the third processing module 310 is further configured to receive the second signature information and the second service response sent by the functional network device, wherein the functional network device generates a first service response, encrypts the first service response using the first public key, generates a second service response, performs hash encryption on the second service response, obtains a third summary, and encrypts the third summary using the second private key of the functional network device to obtain the second signature information. The fourth processing module 320 is further configured to send the second signature information and the second service response to the user device so that the user device authenticates the functional network device.
[0252] The fifth processing module 330 is configured to send the service request to the functional network device so that the functional network device obtains the first signature information sent by the user device and decrypts the first signature information using the first public key of the user device to verify the user identity.
[0253] In some other embodiments of the present disclosure, the visited network device also includes a sixth processing module (not shown in the drawings), which is configured to receive a registration request sent by a user device; determine a home network device corresponding to the user device; and send a registration request to the home network device to trigger two-way authentication between the home network device and the user device, wherein the home network device generates a first digital certificate based on the first public key and sends the first digital certificate to the user device.
[0254] For example, querying the network registration center for information of the home network device corresponding to the user equipment; and receiving the information of the home network device sent by the network registration center.
[0255] For another example, the home network device corresponding to the user equipment is determined according to the local configuration information or the predetermined parameters carried in the registration request.
[0256] Fig.19 The structure diagram of some other embodiments of the visited network device of the present disclosure is shown in FIG. 4 , wherein the visited network device 400 includes a memory 410 and a processor 420. The memory 410 may be a disk, a flash memory, or any other non-volatile storage medium. The memory is used to store the instructions in the above embodiments. The processor 420 is coupled to the memory 410 and may be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 420 is used to execute the instructions stored in the memory.
[0257] In some embodiments, the processor 420 is coupled to the memory 410 via a BUS 430. The visited network device 400 can also be connected to an external storage device 450 via a storage interface 440 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 460. No further detailed description will be given here.
[0258] Fig. 20 The user identity verification system of the present disclosure is a schematic diagram of the structure of some embodiments. The user identity verification system includes a functional network device 510, a visited network device 520 and a home network device 530. The functional network device 510 and the visited network device 520 have been described in detail in the above embodiments and will not be further described here.
[0259] The home network device 530 is configured to receive a registration request sent by the visited network device to trigger two-way authentication with the user device; generate a first digital certificate based on a first public key of the user device; and send the first digital certificate to the user device.
[0260] In some embodiments, the home network device is configured to receive a first public key sent by the user equipment, and generate a first digital certificate based on the first public key.
[0261] In other embodiments, the home network device is configured to receive a first public key sent by the user equipment and encrypted using a third public key of the home network device, decrypt the encrypted first public key, and generate a first digital certificate based on the first public key.
[0262] In some other embodiments, the home network device is configured to obtain a first public key based on a shared key between the user equipment and the home network, and generate a first digital certificate based on the first public key.
[0263] The home network device is configured to send the first digital certificate and an identifier of the shared key to the user equipment.
[0264] In some embodiments, the home network device is further configured to update the identity information of the user equipment in the network registration center.
[0265] In some embodiments, the home network device is also configured to receive a user contract signing and service activation message sent by the user device through the information technology system, send the user information and the home network information to the network registration center so that the network registration center can bind the user information and the home network information, receive a registration response message sent by the network registration center, and send the registration response message to the information technology system.
[0266] The home network device is further configured to send a second digital certificate of the home network and a third digital certificate of the functional network device providing services for the user equipment to the user equipment through the information technology system.
[0267] In some embodiments, Fig. 20 As shown, the user identity verification system also includes a user device 540 and a network registration center 550.
[0268] The user device 540 sends a registration request to the visited network device, generates a temporary public key and a private key pair, sends the temporary public key to the home network device, and receives a digital certificate sent by the home network device. If the user device does not generate a temporary public key, it can also receive a shared key identifier.
[0269] The user equipment may also send a service request to the visited network device, and send the signature information to the network function node.
[0270] Alternatively, the user equipment may also send an encrypted service request, a digital signature, and a functional network identifier to the visited network device, and receive an encrypted service response and a digital signature sent by the visited network device to verify the identity of the functional network device.
[0271] In some embodiments, the network registration center 550 can bind user information and corresponding home network information during the user activation process. During the user registration process, the home network information is provided to the visited network device and the information is updated according to the user identity information sent by the home network device. During the user acquisition service process, the functional network information is provided to the visited network device and the user's temporary public key is provided to the functional network device.
[0272] In other embodiments, a computer-readable storage medium stores computer program instructions, which implement the steps of the methods in the above-mentioned embodiments when executed by a processor. It should be understood by those skilled in the art that the embodiments of the present disclosure may be provided as methods, devices, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0273] In some embodiments, a computer program product is protected, including a computer program or an instruction, which implements the above method when the computer program or instruction is executed by a processor. The computer program product includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by the CPU, the above functions defined in the method of the embodiment of the present disclosure are executed.
[0274] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0275] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0276] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0277] So far, the present disclosure has been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
[0278] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0279] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A user identity verification method, performed by a functional network device providing services for a user device, wherein the functional network device is different from a home network device and a visited network device corresponding to the user device, and the user identity verification comprises: Receiving a service request and first signature information sent by the user equipment through a visited network device accessed by the user equipment, where the first signature information is information generated based on a first private key of the user equipment; as well as The first signature information is decrypted using the first public key of the user device to verify the user identity.
2. The user identity verification method according to claim 1, wherein: Receiving the first signature information includes: Sending an identity verification request to the user equipment, wherein the identity verification request carries a first field; and Receive first signature information sent by the user equipment, wherein the first signature information is generated by encrypting the first field using a first private key of the user equipment.
3. The user identity verification method according to claim 1, wherein: Decrypting the first signature information using the first public key of the user equipment includes: Obtain the first public key from a network registration center, and use the first public key to decrypt the first signature information; or Receive a first digital certificate containing the first public key sent by the user equipment, and use the first public key to decrypt the first signature information.
4. The user identity verification method according to claim 3, wherein: Verifying the user identity includes: The second field obtained by decrypting the first signature information using the first public key is compared with the first field carried in the identity verification request to verify the user identity.
5. The user identity verification method according to claim 1, wherein: Receiving a service request and first signature information sent by a user device through a visited network device includes: Receive the encrypted service request generated by the user device and the first signature information sent by the visited network device, wherein the user device encrypts the service request using the second public key of the functional network device to obtain the encrypted service request, hashes the encrypted service request to obtain a first summary, and encrypts the first summary using the first private key of the user device to obtain the first signature information.
6. The user identity verification method according to claim 5, wherein: Verifying the user identity includes: The encrypted service request is decrypted using the second private key of the functional network device to obtain the service request, the service request is hashed to obtain a second summary, the second summary is compared with the first summary obtained by decrypting the first signature information using the first public key to verify the user identity.
7. The user identity verification method according to claim 6, further comprising: generating a first service response; Encrypting the first service response using the first public key to generate a second service response; Performing hash encryption on the second service response to obtain a third digest; Encrypting the third summary using the second private key of the functional network device to obtain second signature information; as well as The second signature information and the second service response are sent to the user equipment through the visited network device, so that the user equipment authenticates the functional network device.
8. A user identity verification method, executed by a visited network device accessed by a user device, comprising: receiving a service request sent by the user equipment; Determine a functional network device that provides services for the user equipment, where the functional network device is different from a home network device and a visited network device corresponding to the user equipment; as well as The service request is sent to the functional network device so that the functional network device obtains the first signature information sent by the user device, and uses the first public key of the user device to decrypt the first signature information to verify the user identity, where the first signature information is information generated based on the first private key of the user device.
9. The user identity verification method according to claim 8, wherein: Receiving the service request sent by the user equipment includes: receiving first signature information and an encrypted service request sent by the user equipment, wherein the user equipment encrypts the service request by using the second public key of the functional network to obtain the encrypted service request, performs hash encryption on the encrypted service request to obtain a first digest, and encrypts the first digest by using the first private key of the user equipment to obtain the first signature information; Sending the service request to the functional network device includes: The encrypted service request and the first signature information are sent to the functional network device.
10. The user identity verification method according to claim 9, further comprising: receiving second signature information and a second service response sent by the functional network device, wherein the functional network device generates a first service response, encrypts the first service response using the first public key to generate the second service response, performs hash encryption on the second service response to obtain a third digest, and encrypts the third digest using the second private key of the functional network device to obtain the second signature information; and The second signature information and the second service response are sent to the user equipment so that the user equipment authenticates the functional network device.
11. The user identity verification method according to claim 8, wherein: The functional network device determined to provide services for the user equipment includes: In the case where it is determined that the service cannot be provided to the user equipment, querying the network registration center for information of the functional network equipment; and Receive the information of the functional network device sent by the network registration center.
12. The user identity verification method according to claim 8, wherein: The functional network device determined to provide services for the user equipment includes: The information of the functional network device is determined according to the local configuration information or the predetermined parameters.
13. The user identity verification method according to claim 8, wherein: The functional network device determined to provide services for the user equipment includes: receiving a functional network identifier sent by the user equipment; and According to the functional network identifier, the information of the functional network device is queried in a network registration center.
14. The user identity verification method according to any one of claims 8 to 13, further comprising: receiving a registration request sent by the user equipment; Determine a home network device corresponding to the user equipment; as well as A registration request is sent to the home network device to trigger two-way authentication between the home network device and the user device, wherein the home network device generates a first digital certificate based on the first public key and sends the first digital certificate to the user device.
15. The user identity verification method according to any one of claims 8 to 13, wherein: Determining the home network device corresponding to the user equipment includes: Querying a network registration center for information about a home network device corresponding to the user equipment; and Receive the information of the home network device sent by the network registration center.
16. The user identity verification method according to claim 14, wherein: Determining the home network device corresponding to the user equipment includes: The home network device corresponding to the user equipment is determined according to the local configuration information or the predetermined parameters carried in the registration request.
17. A functional network device, wherein the functional network device is different from a home network device and a visited network device corresponding to the user equipment, comprising: A first processing module is configured to receive a service request and first signature information sent by the user equipment through a visited network device accessed by the user equipment, where the first signature information is information generated based on a first private key of the user equipment; as well as The second processing module is configured to decrypt the first signature information using the first public key of the user device to verify the user identity.
18. A functional network device, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the user identity verification method according to any one of claims 1 to 7 based on instructions stored in the memory.
19. A visited network device, comprising: A third processing module is configured to receive a service request sent by the user equipment; A fourth processing module is configured to determine a functional network device that provides services for the user equipment, where the functional network device is different from a home network device and a visited network device corresponding to the user equipment; as well as The fifth processing module is configured to send the service request to the functional network device so that the functional network device obtains the first signature information sent by the user device, and uses the first public key of the user device to decrypt the first signature information to verify the user identity, where the first signature information is information generated based on the first private key of the user device.
20. A visited network device, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the user identity verification method according to any one of claims 8 to 16 based on instructions stored in the memory.
21. A user identity verification system, comprising: The functional network device according to claim 17 or 18; The visited network device as claimed in claim 19 or 20.
22. The user identity verification system according to claim 21, further comprising: A home network device, configured to receive a registration request sent by the visited network device to trigger a two-way authentication with the user device; Generate a first digital certificate based on a first public key of the user device; And sending the first digital certificate to the user equipment.
23. The user identity verification system according to claim 22, wherein: The home network device is configured to receive the first public key sent by the user equipment, and generate the first digital certificate based on the first public key.
24. The user identity verification system according to claim 22, wherein: The home network device is configured to receive the first public key sent by the user equipment and encrypted using the third public key of the home network device, decrypt the encrypted first public key, and generate the first digital certificate based on the first public key.
25. The user identity verification system according to claim 22, wherein: The home network device is configured to obtain the first public key based on a shared key between the user equipment and the home network, and generate the first digital certificate based on the first public key.
26. The user identity verification system according to claim 25, wherein: The home network device is configured to send the first digital certificate and an identifier of the shared key to the user equipment.
27. The user identity verification system according to claim 22, wherein: The home network device is further configured to update the identity information of the user equipment in a network registration center.
28. The user identity verification system according to any one of claims 22 to 27, wherein: The home network device is also configured to receive a user signing and service activation message sent by the user equipment through the information technology system, send the user information and the home network information to the network registration center so that the network registration center binds the user information and the home network information, receive a registration response message sent by the network registration center, and send the registration response message to the information technology system.
29. The user identity verification system according to claim 28, wherein: The home network device is further configured to send a second digital certificate of the home network and a third digital certificate of a functional network device providing a service for the user equipment to the user equipment through the information technology system.
30. A computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the user identity verification method according to any one of claims 1 to 16.
31. A computer program product, comprising a computer program or instructions, wherein when the computer program or instructions are executed by a processor, the user identity verification method according to any one of claims 1 to 16 is implemented.
