Security authentication method, device, equipment, medium and product
By introducing an enterprise SMS gateway into the 5G private network for authentication and verification, and adding two-way authentication on the user side, the problem of the lack of two-way authentication in traditional authentication solutions is solved, the security and reliability of the 5G private network are improved, and the risk of attacks is reduced.
Patent Information
- Application Number
- CN202410102044.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2024-10-22
AI Technical Summary
The traditional 5G private network authentication scheme lacks two-way authentication on the user side, which allows attackers to steal user terminal information or impersonate access to the private network, posing serious security risks and affecting business development.
When the client accesses the 5G private network, it initiates a private network access request to the operator, and performs authentication and verification SMS interaction through the enterprise SMS gateway. Two-way authentication is added to ensure the user's identity and access rights, and the private network is used to access the IP address. Access the 5G private network.
Verify user identity and access rights through enterprise SMS gateway authentication, improve the security and reliability of 5G private network, and reduce the risk of attacks on private network resources.
Smart Images

Figure CN118828495A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular, relates to a security authentication method, device, equipment, medium and product. Background Art
[0002] With the gradual improvement of the fifth generation mobile communication technology (5G) network construction, the interactive experience of users' private network access has also been greatly improved. Dual-domain private network technology is widely used in industries such as industry, education, and government affairs, and public and private network services are managed according to different access strategies.
[0003] In related technologies, when users access a 5G private network for authentication, traditional authentication schemes focus on authenticating user identity information and access rights. If an attacker steals user terminal information or accesses the private network through APP impersonation, there may be serious security risks to private network applications, thereby affecting the development of 5G private network services. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a security authentication method and device thereof, which can reduce the possibility of attackers accessing the 5G private network and improve the security of 5G private network services.
[0005] In the first aspect, an embodiment of the present application provides a security authentication method, which includes: when a client accesses a 5G private network, initiating a private network access request to an operator side, so that the operator side performs user identity authentication on a first user corresponding to the client based on the private network access request; when the user identity authentication passes, receiving an authentication verification SMS sent by an enterprise SMS gateway; in response to the first user's reply input to the authentication verification SMS, sending a reply SMS to the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends an authentication verification result to the operator side after confirming that the first user has passed the authentication; receiving a private network access IP address allocated by the operator side to the first user based on the authentication verification result; and accessing the 5G private network using the private network access IP address.
[0006] In some implementation methods of the first aspect, the operator side includes a session management function SMF, a user plane function UPF and a 5G access authentication system, and initiates a private network access request to the operator side, including: sending a private network access request to the SMF or UPF, so that the SMF or UPF generates a DNN authentication request based on the private network access request, and sends the DNN authentication request to the 5G access authentication system; wherein, the private network access request includes the identity information of the first user, the DNN authentication request includes the identity information of the first user and the data network name DNN information of the 5G private network, and the 5G access authentication system is used to perform user authentication on the first user based on the identity information and the DNN information, and query whether the first user has access rights to the 5G private network.
[0007] In some implementable methods of the first aspect, when the user identity authentication passes, an authentication verification SMS is received from an enterprise SMS gateway, including: when the user identity authentication passes and the enterprise SMS gateway authentication passes, an authentication verification SMS is received from the enterprise SMS gateway; wherein, the authentication verification SMS is authenticated by the enterprise SMS gateway based on the user contract information and sent to the client after the authentication passes, the user contract information is generated by the enterprise SMS gateway based on the 5G private network service application request sent by the client, and the user contract information is used to indicate that the first user has the authority to perform 5G private network access authentication through the enterprise SMS gateway.
[0008] In some implementation methods of the first aspect, the 5G private network is an enterprise private network of an enterprise service platform. Before initiating a private network access request to the operator side, the method also includes: sending a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform performs user identity authentication on the first user based on the private network service application request; receiving a verification result returned by the enterprise service platform, wherein the verification result is used to characterize whether the first user has access rights to the 5G private network.
[0009] In some implementable methods of the first aspect, a private network service application request for a 5G private network is sent to an enterprise service platform, including: sending a private network service application request for a 5G private network to the enterprise service platform, so that the enterprise service platform forwards the private network service application request to the operator side; wherein, the private network service application request is used by the operator side to determine whether the first user has access rights to the 5G private network by querying the identity information of the first user in the identity source system.
[0010] In some possible implementations of the first aspect, the operator side includes a 5G access control policy system and a 5G access authentication system. The private network application request is also used by the 5G access control policy system to allocate a private network access IP address to the first user after determining that the first user has access rights to the 5G private network, and send the allocated private network access IP address to the 5G access authentication system for registration. The private network access IP address is used to authenticate the first user when the client initiates a private network access request.
[0011] In some implementable embodiments of the first aspect, the 5G private network is an enterprise private network of the enterprise service platform. Before initiating a private network access request to the operator side, the method also includes: sending a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform signs a contract with the enterprise SMS gateway based on the private network service application request, and generates user contract information, wherein the user contract information includes the port number and service code of the 5G private network, and indication information for indicating that the first user has the authority to perform 5G private network access authentication through the enterprise SMS gateway.
[0012] In the second aspect, an embodiment of the present application provides a security authentication device, which includes: a sending module, which is used to initiate a private network access request to the operator side when the client accesses the 5G private network, so that the operator side performs user identity authentication on the first user corresponding to the client based on the private network access request; a receiving module, which is used to receive an authentication verification SMS sent by the enterprise SMS gateway when the user identity authentication is passed; the sending module is also used to respond to the first user's reply input to the authentication verification SMS, and send a reply SMS of the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user authentication is passed; the receiving module is also used to receive the private network access IP address allocated by the operator side to the first user based on the authentication verification result; the access module is used to access the 5G private network using the private network access IP address.
[0013] In some implementation methods of the second aspect, the operator side includes a session management function SMF, a user plane function UPF and a 5G access authentication system, and the sending module is specifically used to: send a private network access request to the SMF or UPF, so that the SMF or UPF generates a DNN authentication request based on the private network access request, and sends the DNN authentication request to the 5G access authentication system; wherein, the private network access request includes the identity information of the first user, the DNN authentication request includes the identity information of the first user and the data network name DNN information of the 5G private network, and the 5G access authentication system is used to perform user authentication on the first user based on the identity information and the DNN information, and query whether the first user has access rights to the 5G private network.
[0014] In some implementable methods of the second aspect, the receiving module is specifically used to: receive an authentication verification SMS sent by the enterprise SMS gateway when the user identity authentication is passed and the enterprise SMS gateway authentication is passed; wherein, the authentication verification SMS is authenticated by the enterprise SMS gateway based on the user contract information, and sent to the client after the authentication is passed, the user contract information is generated by the enterprise SMS gateway based on the 5G private network service application request sent by the client, and the user contract information is used to indicate that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway.
[0015] In some possible implementation methods of the second aspect, the 5G private network is an enterprise private network of an enterprise service platform, and the device also includes: a sending module, which is also used to send a private network service application request for the 5G private network to the enterprise service platform before initiating a private network access request to the operator side, so that the enterprise service platform can perform user identity authentication for the first user based on the private network service application request; a receiving module, which is also used to receive a verification result returned by the enterprise service platform, wherein the verification result is used to characterize whether the first user has access rights to the 5G private network.
[0016] In some implementable methods of the second aspect, the sending module is specifically used to: send a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform forwards the private network service application request to the operator side; wherein, the private network service application request is used by the operator side to determine whether the first user has access rights to the 5G private network by querying the identity information of the first user in the identity source system.
[0017] In some possible implementation methods of the second aspect, the operator side includes a 5G access control policy system and a 5G access authentication system. The private network application request is also used by the 5G access control policy system to allocate a private network access IP address to the first user after determining that the first user has access rights to the 5G private network, and send the allocated private network access IP address to the 5G access authentication system for registration. The private network access IP address is used to authenticate the first user when the client initiates a private network access request.
[0018] In some possible implementation methods of the second aspect, the 5G private network is an enterprise private network of the enterprise service platform, and the device also includes: a sending module, which is also used to send a private network service application request for the 5G private network to the enterprise service platform before initiating a private network access request to the operator side, so that the enterprise service platform signs a contract with the enterprise SMS gateway based on the private network service application request and generates user contract information, wherein the user contract information includes the port number and service code of the 5G private network, and indication information for indicating that the first user has the authority to perform 5G private network access authentication through the enterprise SMS gateway.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the security authentication method of the first aspect are implemented.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the security authentication method of the first aspect are implemented.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product, which is stored in a non-volatile storage medium and is executed by at least one processor to implement the steps of the security authentication method of the first aspect.
[0022] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the security authentication method of the first aspect.
[0023] The present application provides a security authentication method, device, equipment, medium and product. When a client accesses a 5G private network, a private network access request can be initiated to the operator side, so that the operator side performs user identity authentication for the first user corresponding to the client based on the private network access request; when the user identity authentication is passed, an authentication verification SMS is received from the enterprise SMS gateway; in response to the first user's reply input to the authentication verification SMS, a reply SMS of the authentication verification SMS is sent to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication; and the private network access IP address assigned by the operator side to the first user based on the authentication verification result is received. In this way, the user identity and access rights can be authenticated by the enterprise SMS gateway, and the user's SMS can be interacted with by the enterprise SMS gateway to perform SMS authentication on the user's 5G access rights, thereby increasing two-way authentication on the user side, improving the security and reliability of 5G private network access, and reducing the risk of private network resources being attacked. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application.
[0025] Figure 1 It is a flowchart of a security authentication method provided by an embodiment of the present application;
[0026] Figure 2 is a flowchart of a security authentication method provided by another embodiment of the present application;
[0027] Figure 3is a flowchart of a security authentication method provided by yet another embodiment of the present application;
[0028] Figure 4 It is a structural schematic diagram of a security authentication device provided in an embodiment of the present application;
[0029] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0031] In related technologies, when users access a 5G private network for authentication, traditional authentication schemes focus on authenticating user identity information and access rights, and lack two-way authentication on the user side. If an attacker steals user terminal information or accesses the private network through APP impersonation, there may be serious security risks to private network applications, thereby affecting the development of 5G private network services.
[0032] The following is a detailed description of the security authentication method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0033] Figure 1 It is a flowchart of a security authentication method provided by an embodiment of the present application. The execution subject of the security authentication method can be a terminal, which is the client.
[0034] The following takes the execution subject of the security authentication method as a client as an example to illustrate the security authentication method of the present application. It should be noted that the above execution subject and application scenario do not constitute a limitation on the present application.
[0035] like Figure 1 As shown, the security authentication method provided in the embodiment of the present application may include steps 110 to 150.
[0036] Step 110: When the client accesses the 5G private network, a private network access request is initiated to the operator side, so that the operator side performs user identity authentication on the first user corresponding to the client based on the private network access request;
[0037] Step 120, when the user identity authentication is passed, receiving the authentication verification SMS sent by the enterprise SMS gateway;
[0038] Step 130, in response to the first user's reply input to the authentication verification SMS, sending a reply SMS of the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication;
[0039] Step 140, receiving a private network access IP address allocated by the operator to the first user based on the authentication result;
[0040] Step 150, access the 5G private network by using the private network to access the Internet Protocol (IP) address.
[0041] The security authentication method provided in the embodiment of the present application can initiate a private network access request to the operator side when the client accesses the 5G private network, so that the operator side performs user identity authentication on the first user corresponding to the client based on the private network access request; when the user identity authentication is passed, receive the authentication verification SMS sent by the enterprise SMS gateway; in response to the first user's reply input to the authentication verification SMS, send a reply SMS of the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication; receive the private network access IP address assigned by the operator side to the first user based on the authentication verification result. In this way, the user identity and access rights can be authenticated by the enterprise SMS gateway, and the user's SMS can be interacted with by the enterprise SMS gateway to perform SMS authentication on the user's 5G access rights, thereby increasing the two-way authentication on the user side, improving the security and reliability of 5G private network access, and reducing the risk of private network resources being attacked.
[0042] The specific implementation of the above steps will be described in detail below in conjunction with specific embodiments.
[0043] Involving step 110, when the client accesses the 5G private network, a private network access request is initiated to the operator side, so that the operator side performs user identity authentication on the first user corresponding to the client based on the private network access request.
[0044] In step 110, the private network access request accesses the 5G private network. The 5G private network can be an internal private network of an enterprise. The first user can be an enterprise employee, a school student, or a school faculty member, etc. The client accesses the 5G private network, for example, an enterprise employee logging into the enterprise's internal electronic system, or a school student logging into the school's online library.
[0045] Here, the operator side may include a session management function (SMF), a user plane function (UPF), a 5G access authentication system, and a 5G access control policy system.
[0046] Among them, the session management function is responsible for interacting with the separated data plane and managing the session of data units in the 5G network. This system supports session management of enterprise private network DNN, and supports users to use the relevant resources and management rules established by enterprise private network sessions when initiating network service registration; the user plane function is responsible for the routing and forwarding related functions of user plane data packets in the 5G network. The general UPF supports ordinary external network access, and the private network UPF supports enterprise private network access; the 5G access authentication system performs user identity authentication and resource allocation when users access the 5G private network; the 5G access control policy system implements the control policy for 5G private network access, and performs resource allocation and access permission management according to user identity when handling private network services.
[0047] In some embodiments of the present application, the operator side may include a session management function SMF, a user plane function UPF and a 5G access authentication system. Initiating a private network access request to the operator side in the above step 110 may specifically include:
[0048] Send a private network access request to SMF or UPF so that SMF or UPF generates a DNN authentication request based on the private network access request, and sends the DNN authentication request to the 5G access authentication system.
[0049] Specifically, the private network access request may include the identity information of the first user. SMF / UPF negotiates the DNN information corresponding to the 5G private network for the first user, generates a DNN authentication request based on the DNN information, and sends the DNN authentication request to the 5G access authentication system for user identity authentication.
[0050] The DNN authentication request may include the identity information of the first user and the data network name DNN information of the 5G private network. The 5G access authentication system is used to perform user identity authentication on the first user based on the identity information and DNN information, and to query whether the first user has access rights to the 5G private network.
[0051] The 5G access authentication system registers the identity information of users who have passed the 5G private network service application. Users who have passed the 5G private network service application have access rights to the 5G private network. Therefore, by comparing the identity information of the first user with the registration information, it is possible to identify whether the first user is a user who has passed the 5G private network service application and complete the user identity authentication of the first user.
[0052] The identity information of the first user may include at least one of the user's name, ID number, and mobile phone number.
[0053] In some embodiments of the present application, the 5G private network is an enterprise private network of an enterprise service platform. In order to apply for access rights to the 5G private network before accessing the 5G private network, Figure 2 is a flow chart of a security authentication method provided by another embodiment of the present application. Before initiating a private network access request to the operator in the above step 110, the method may also include: Figure 2 Steps 210 and 220 are shown.
[0054] Step 210: Send a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform performs user identity authentication on the first user based on the private network service application request;
[0055] Step 220: Receive the verification result returned by the enterprise service platform, where the verification result is used to indicate whether the first user has access rights to the 5G private network.
[0056] Specifically, the first user can input the 5G private network service application information in the front-end service interface provided by the enterprise service platform through the client. The 5G private network service application information may include the enterprise information of the first user and the user's personal information. The user's personal information includes the user's name, ID number, mobile phone number, and the user's corporate identity information in the enterprise. In this way, after the client generates a private network service application request based on the 5G private network service application information, it can submit it to the enterprise service platform so that the enterprise service platform can verify the user identity of the first user.
[0057] In some embodiments of the present application, the enterprise service platform may query the identity information of the first user in the identity source system to determine whether the first user has access rights to the 5G private network.
[0058] In some other embodiments of the present application, the above step 210 sends a private network service application request for a 5G private network to the enterprise service platform, which may specifically include:
[0059] Send a 5G private network service application request to the enterprise service platform so that the enterprise service platform can forward the private network service application request to the operator side.
[0060] Among them, the private network service application request is used by the operator to query the identity information of the first user in the identity source system to determine whether the first user has access rights to the 5G private network. The identity source system is used to store enterprise user identity information and enterprise network information, and cooperate with the 5G access control policy system to manage enterprise network access rights according to user identity.
[0061] In some embodiments of the present application, the operator side may include a 5G access control policy system and a 5G access authentication system. The private network application request is also used for the 5G access control policy system to allocate a private network access IP address to the first user after determining that the first user has access rights to the 5G private network, and send the allocated private network access IP address to the 5G access authentication system for registration. The 5G access authentication system can store the user identity information in association with the private network access IP address, and the private network access IP address can be used to authenticate the first user when the client initiates a private network access request.
[0062] Specifically, the 5G access control policy system can assign a corresponding private network access IP address to each user who successfully applies for 5G private network access rights, so that the user can use the private network access IP address to access the 5G private network.
[0063] In some embodiments of the present application, the 5G private network is an enterprise private network of an enterprise service platform. Before initiating a private network access request to the operator side in step 110, the method may further include the following steps:
[0064] Send a 5G private network service application request to the enterprise service platform, so that the enterprise service platform can sign a contract with the enterprise SMS gateway based on the private network service application request and generate user contract information.
[0065] Specifically, the private network service application request is used to activate the first user's 5G private network service. After receiving the private network service application request, the enterprise service platform forwards the private network service application request to the enterprise SMS gateway, so that the first user can sign a contract with the enterprise SMS gateway, so that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway, which is convenient for the first user to perform SMS authentication later. If the user identity changes, the change and cancellation of the 5G private network service must be initiated.
[0066] The user contract information may include the port number and service code of the 5G private network, as well as indication information indicating that the first user has the authority to perform 5G private network access authentication through the enterprise SMS gateway.
[0067] In an embodiment of the present application, when a private network user activates the service, he or she completes the contract and subscription of the 5G private network service through the enterprise service platform, so that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway, which facilitates the subsequent SMS authentication of the 5G private network access authority for the first user, improves the security of user access to 5G private network resources, and reduces the risk of private network resources being attacked.
[0068] In some embodiments, the user contract information may also include the identity information of the first user.
[0069] Involving step 120, when the user identity authentication is passed, receiving the authentication verification SMS sent by the enterprise SMS gateway.
[0070] In step 120, the authentication verification SMS is used to indicate whether the first user has accessed the 5G private network. The authentication verification SMS includes at least the following fields shown in Table (1): sender address, receiver address, information identifier, user number, enterprise intranet service code, business code, identifier of access resource, and business type, wherein the enterprise intranet service code is the port number of the 5G private network.
[0071] Table (1)
[0072]
[0073]
[0074] In some embodiments of the present application, the above step 120, when the user identity authentication is passed, receiving the authentication verification SMS sent by the enterprise SMS gateway, may specifically include:
[0075] When the user identity authentication is passed and the enterprise SMS gateway authentication is passed, the authentication verification SMS sent by the enterprise SMS gateway is received.
[0076] Among them, the authentication verification SMS is authenticated by the enterprise SMS gateway based on the user's contract information and sent to the client after the authentication is passed. The user's contract information is generated by the enterprise SMS gateway based on the 5G private network service application request sent by the client. The user contract information is used to indicate that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway.
[0077] When the enterprise SMS gateway determines that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway, it sends an authentication verification SMS to the client.
[0078] In an embodiment of the present application, after the user identity authentication is passed, the enterprise SMS gateway needs to further identify whether the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway. Only when this authority is met, the enterprise SMS gateway will send an authentication verification SMS to the client to ensure that the user accessing the 5G private network is a contracted user of the enterprise SMS gateway, thereby increasing the difficulty of security authentication and further improving the security of the 5G private network.
[0079] Involving step 130, in response to the first user's reply input to the authentication verification SMS, a reply SMS of the authentication verification SMS is sent to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication.
[0080] In step 130, the reply input is the keyboard input or handwriting input of the first user in replying to the authentication verification SMS, and the reply input is, for example, the SMS content of "yes" or "no". When the enterprise SMS gateway receives the reply SMS, it checks whether the user number used to send the reply SMS is the user number of the first user in the user contract information; if so, it continues to check whether the SMS content of the reply SMS is used to indicate an affirmative reply; if so, the enterprise SMS gateway confirms that the first user has passed the verification.
[0081] The authentication verification result is used to indicate that the first user can access the 5G private network. The authentication verification result includes at least the following fields shown in Table (2): return code, user number, operation type, information identifier, user type, service code, identifier of access resource, and service type.
[0082] Table (2)
[0083]
[0084] Involving step 140, receiving the private network access IP address allocated by the operator to the first user based on the authentication result.
[0085] In step 140, the enterprise SMS gateway sends the authentication result to the 5G access authentication system. The 5G access authentication system can store the user identity information in association with the private network access IP address. Therefore, after receiving the authentication result, the 5G access authentication system uses the user number in the authentication result to query the private network access IP address that matches the first user, and forwards the private network access IP address to the client through SMF / UPF.
[0086] Involving step 150, accessing the 5G private network using the private network access IP address.
[0087] In step 150, the client of the first user accesses the 5G private network through the allocated private network access IP address, and accesses resources matching the identity information of the first user.
[0088] For example, the first user is a subscribed user. Figure 3 As shown in the figure, there are two access methods when accessing the network: public network access and private network access. After signing up for private network services, the contracted users can access the 5G private network, that is, the enterprise private network, through the SMF / UPF in the core network and the dedicated UPF diversion. Among them, the access and mobility management function AMF, the policy control function PCF, SMF, and UPF are all network elements of the core network, which are used to implement some functions of the user plane and the control plane. Different user groups can access different resources. User group 1 accesses resource 1, user group 2 accesses resource 2, and user group 3 accesses resource 3. The access resources are determined by the user identity and 5G private network access permission information obtained in the service activation process.
[0089] In the embodiment of the present application, on the basis of 5G access diversion and identity authentication, two-way authentication on the user side is added to form a more secure and reliable user access management, authority allocation and access control process, which can strengthen the access management on the user side while realizing 5G dual-domain private network access. Secondly, through the interaction between the enterprise SMS gateway and the user's SMS, the user's 5G diversion function and access permission SMS authentication are carried out, which improves the security of the user's access to 5G private network resources and reduces the risk of private network resources being attacked.
[0090] It is understandable that the execution subject of the security authentication method provided in the embodiment of the present application may be a terminal, or a control module in the terminal for executing the security authentication method. The security authentication device is described in detail below.
[0091] Figure 4 Schematic diagram of a security authentication device provided in an embodiment of the present application. Figure 4 As shown, the security authentication device 400 may include: a sending module 410 , a receiving module 420 and an access module 430 .
[0092] Among them, the sending module 410 is used to initiate a private network access request to the operator side when the client accesses the 5G private network, so that the operator side performs user identity authentication for the first user corresponding to the client based on the private network access request; the receiving module 420 is used to receive the authentication verification SMS sent by the enterprise SMS gateway when the user identity authentication is passed; the sending module 410 is also used to respond to the first user's reply input to the authentication verification SMS, and send a reply SMS of the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication; the receiving module 420 is also used to receive the private network access IP address allocated by the operator side to the first user based on the authentication verification result; the access module 430 is used to access the 5G private network using the private network access IP address.
[0093] The security authentication device provided in this application can initiate a private network access request to the operator side when the client accesses the 5G private network, so that the operator side can perform user identity authentication on the first user corresponding to the client based on the private network access request; if the user identity authentication is passed, receive the authentication verification SMS sent by the enterprise SMS gateway; in response to the first user's reply input to the authentication verification SMS, send a reply SMS of the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication; receive the private network access IP address assigned by the operator side to the first user based on the authentication verification result. In this way, the user identity and access rights can be authenticated by the enterprise SMS gateway, and the enterprise SMS gateway can interact with the user's SMS to authenticate the user's 5G access rights through SMS, thereby increasing the two-way authentication on the user side, improving the security and reliability of 5G private network access, and reducing the risk of private network resources being attacked.
[0094] In some embodiments of the present application, the operator side includes a session management function SMF, a user plane function UPF and a 5G access authentication system, and the sending module 410 is specifically used to: send a private network access request to the SMF or UPF, so that the SMF or UPF generates a DNN authentication request based on the private network access request, and sends the DNN authentication request to the 5G access authentication system; wherein, the private network access request includes the identity information of the first user, the DNN authentication request includes the identity information of the first user and the data network name DNN information of the 5G private network, and the 5G access authentication system is used to perform user authentication on the first user based on the identity information and the DNN information, and query whether the first user has access rights to the 5G private network.
[0095] In some embodiments of the present application, the receiving module 420 is specifically used to: receive an authentication verification SMS sent by the enterprise SMS gateway when the user identity authentication is passed and the enterprise SMS gateway authentication is passed; wherein the authentication verification SMS is authenticated by the enterprise SMS gateway based on the user contract information and sent to the client after the authentication is passed, the user contract information is generated by the enterprise SMS gateway based on the 5G private network service application request sent by the client, and the user contract information is used to indicate that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway.
[0096] In some embodiments of the present application, the 5G private network is an enterprise private network of an enterprise service platform, and the device also includes: a sending module 410, which is also used to send a private network service application request for the 5G private network to the enterprise service platform before initiating a private network access request to the operator side, so that the enterprise service platform can perform user identity authentication for the first user based on the private network service application request; a receiving module 420, which is also used to receive a verification result returned by the enterprise service platform, wherein the verification result is used to characterize whether the first user has access rights to the 5G private network.
[0097] In some embodiments of the present application, the sending module 410 is specifically used to: send a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform forwards the private network service application request to the operator side; wherein, the private network service application request is used by the operator side to determine whether the first user has access rights to the 5G private network by querying the identity information of the first user in the identity source system.
[0098] In some embodiments of the present application, the operator side includes a 5G access control policy system and a 5G access authentication system. The private network application request is also used by the 5G access control policy system to allocate a private network access IP address to the first user after determining that the first user has access rights to the 5G private network, and send the allocated private network access IP address to the 5G access authentication system for registration. The private network access IP address is used to authenticate the first user when the client initiates a private network access request.
[0099] In some embodiments of the present application, the 5G private network is an enterprise private network of an enterprise service platform, and the device also includes: a sending module 410, which is also used to send a private network service application request for the 5G private network to the enterprise service platform before initiating a private network access request to the operator side, so that the enterprise service platform signs a contract with the enterprise SMS gateway based on the private network service application request and generates user contract information, wherein the user contract information includes the port number and service code of the 5G private network, and indication information for indicating that the first user has the authority to perform 5G private network access authentication through the enterprise SMS gateway.
[0100] The security authentication device provided in the embodiment of the present application can achieve Figure 1-Figure 3 The various processes implemented by the electronic device in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
[0101] Figure 5 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0102] like Figure 5 As shown, the electronic device 500 includes a memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .
[0103] In an example, the processor 502 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0104] The memory 501 may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it can be operated to perform the operations described with reference to the card opening method in the embodiment according to the first aspect of the present application.
[0105] The processor 502 runs a computer program corresponding to the executable program code by reading the executable program code stored in the memory 501, so as to implement the card activation method in the embodiment of the first aspect.
[0106] In some examples, the electronic device 500 may further include a communication interface 503 and a bus 504. Figure 5 As shown, the memory 501, the processor 502, and the communication interface 503 are connected via a bus 504 and communicate with each other.
[0107] The communication interface 503 is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication interface 503 can also be used to access input devices and / or output devices.
[0108] The bus 504 includes hardware, software, or both, coupling the components of the electronic device 500 to each other. By way of example and not limitation, the bus 504 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a Memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-E) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 504 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0109] The electronic device provided in the embodiment of the present application can realize Figure 1-Figure 3 The various processes implemented by the electronic device in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
[0110] In combination with the security authentication method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, the steps of any one of the security authentication methods in the above embodiment are implemented.
[0111] In combination with the security authentication method in the above embodiment, the embodiment of the present application can provide a computer program product for implementation. The (computer) program product is stored in a non-volatile storage medium, and when the program product is executed by at least one processor, the steps of any one of the security authentication methods in the above embodiment are implemented.
[0112] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned security authentication method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0113] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0114] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0115] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0116] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0117] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box 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, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0118] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A security authentication method, characterized in that: The method comprises: In the case where the client accesses the 5G private network, a private network access request is initiated to the operator side, so that the operator side performs user identity authentication on the first user corresponding to the client based on the private network access request; When the user identity authentication is passed, receiving the authentication verification SMS sent by the enterprise SMS gateway; In response to the first user's reply input to the authentication verification SMS, sending a reply SMS of the authentication verification SMS to the enterprise SMS gateway, so that the enterprise SMS gateway sends the authentication verification result to the operator side after confirming that the first user has passed the authentication; Receiving a private network access IP address allocated by the operator to the first user based on the authentication result; Use the private network access IP address to access the 5G private network.
2. The method according to claim 1, characterized in that The operator side includes a session management function SMF, a user plane function UPF and a 5G access authentication system, and the private network access request is initiated to the operator side, including: Send a private network access request to the SMF or UPF, so that the SMF or the UPF generates a data network name DNN authentication request based on the private network access request, and sends the DNN authentication request to the 5G access authentication system; Among them, the private network access request includes the identity information of the first user, the DNN authentication request includes the identity information of the first user and the DNN information of the 5G private network, and the 5G access authentication system is used to perform user identity authentication on the first user based on the identity information and the DNN information, and query whether the first user has access rights to the 5G private network.
3. The method according to claim 2, characterized in that When the user identity authentication is passed, receiving the authentication verification SMS sent by the enterprise SMS gateway includes: When the user identity authentication is passed and the enterprise SMS gateway authentication is passed, receiving the authentication verification SMS sent by the enterprise SMS gateway; Among them, the authentication verification SMS is authenticated by the enterprise SMS gateway based on the user contract information, and sent to the client after the authentication is passed. The user contract information is generated by the enterprise SMS gateway based on the 5G private network service application request sent by the client. The user contract information is used to indicate that the first user has the authority to perform 5G private network access identity authentication through the enterprise SMS gateway.
4. The method according to claim 1, characterized in that: The 5G private network is an enterprise private network of the enterprise service platform. Before initiating a private network access request to the operator side, the method further includes: Sending a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform performs user identity authentication on the first user based on the private network service application request; Receive the verification result returned by the enterprise service platform, wherein the verification result is used to indicate whether the first user has access rights to the 5G private network.
5. The method according to claim 4, characterized in that The sending the private network service application request of the 5G private network to the enterprise service platform includes: Sending a private network service application request for the 5G private network to the enterprise service platform, so that the enterprise service platform forwards the private network service application request to the operator side; Among them, the private network service application request is used by the operator to determine whether the first user has access rights to the 5G private network by querying the identity information of the first user in the identity source system.
6. The method according to claim 5, characterized in that The operator side includes a 5G access control policy system and a 5G access authentication system. The private network application request is also used by the 5G access control policy system to allocate the private network access IP address to the first user after determining that the first user has access rights to the 5G private network, and send the allocated private network access IP address to the 5G access authentication system for registration. The private network access IP address is used to authenticate the first user when the client initiates the private network access request.
7. The method according to claim 1, characterized in that The 5G private network is an enterprise private network of the enterprise service platform. Before initiating a private network access request to the operator side, the method further includes: A private network service application request for the 5G private network is sent to the enterprise service platform, so that the enterprise service platform signs a contract with the enterprise SMS gateway based on the private network service application request and generates user contract information, wherein the user contract information includes the port number and service code of the 5G private network, and indication information for indicating that the first user has the authority to perform 5G private network access authentication through the enterprise SMS gateway.
8. A security authentication device, characterized in that: The device comprises: A sending module, configured to initiate a private network access request to an operator side when the client accesses a 5G private network, so that the operator side performs user identity authentication on a first user corresponding to the client side based on the private network access request; A receiving module, used to receive an authentication verification SMS sent by an enterprise SMS gateway when the user identity authentication is passed; The sending module is further used to send a reply SMS of the authentication verification SMS to the enterprise SMS gateway in response to the reply input of the first user to the authentication verification SMS, so that the enterprise SMS gateway sends the authentication verification result to the operator end after confirming that the first user has passed the verification; The receiving module is further used to receive the private network access IP address allocated by the operator to the first user based on the authentication result; An access module is used to access the 5G private network using the private network access IP address.
9. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the security authentication method as described in any one of claims 1-7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the steps of the security authentication method according to any one of claims 1 to 7 are implemented.
11. A computer program product, characterized in that The computer program product is stored in a non-volatile storage medium, and when the computer program product is executed by at least one processor, the steps of the security authentication method as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Private network access system, information transmission method, storage medium and program product
CN119854057A
Private network access system, information transmission method, storage medium and program product
CN119854057B
Identity authentication method, device and system, electronic equipment and storage medium
CN121486816A
