5G network information security authority authentication method and system based on asymmetric algorithm

By adopting hash chain digital signature, multi-factor weighted verification and improved elliptic curve hybrid key exchange algorithm in 5G network, the problems of low key management efficiency and static permission management are solved, and accurate identity in high concurrency environments are achieved Authentication and dynamic permission management significantly improve the system's security and attack resistance.

CN118714568BActive Publication Date: 2024-12-03SHENZHEN WEIAN TECHNOLOGY SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411210869.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-03
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

When facing large-scale multi-user concurrent and complex network attacks, the existing 5G network information security permission authentication methods have low key management efficiency, static permission management, and lack of multi-level security guarantees, resulting in insufficient security risks and attack response capabilities.

Method used

Using a multi-layer digital signature algorithm based on hash chain, a multi-factor weighted verification algorithm and an improved elliptic curve hybrid key exchange algorithm, dynamically evaluate and manage user equipment access rights to ensure the security and confidentiality of data transmission.

Benefits of technology

It improves the security and accuracy of identity authentication, adjusts permissions in real time, enhances the system's anti-attack ability, and significantly improves the security of data transmission and the overall protection ability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714568B_ABST
    Figure CN118714568B_ABST
Patent Text Reader

Abstract

The present invention discloses a 5G network information security authority authentication method and system based on an asymmetric algorithm, comprising the following steps: S1, providing an asymmetric encryption system, each user terminal device generates a public key and a private key pair; S2, the user terminal device generates a multi-layer digital signature based on a hash chain and sends it to an authentication server; S3, the authentication server verifies the digital signature and confirms the identity; S4, the authentication server assigns access rights, generates a digital certificate and an access token; S5, the network resource uses a multi-factor weighted verification algorithm to verify the digital certificate and the access token, and decides whether to grant access rights; S6, through an improved elliptic curve key exchange algorithm, a session key is negotiated to generate a session key for data encryption; S7, the generated session key is used to encrypt and transmit data. The present invention enhances the security and reliability of identity authentication and authority management in 5G networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network information security technology, and in particular to a 5G network information security authority authentication method and system based on an asymmetric algorithm. Background Art

[0002] In modern communication technology, 5G network, as the core technology of the next generation of mobile communication system, has become the focus of attention in the global communication field. With its high bandwidth, low latency and wide coverage, 5G network provides technical support for application scenarios such as the Internet of Things, smart cities, and autonomous driving. However, with the popularization of 5G network and the complexity of application scenarios, its information security issues are becoming increasingly prominent, especially in user identity authentication and permission management. The existing technology still has many shortcomings, and new solutions are urgently needed to improve the security and reliability of the system.

[0003] Most of the existing 5G network information security authorization authentication methods rely on symmetric encryption technology for data protection and identity authentication. However, although symmetric encryption technology has advantages in efficiency, it has many problems in key management and distribution, especially in a multi-user concurrent environment, which is prone to security risks such as key leakage, tampering, and replay attacks. In order to address these problems, asymmetric encryption technology has gradually been introduced into 5G networks, using public and private key pairs to achieve secure identity authentication and data encryption. However, the existing asymmetric encryption methods still have the following technical difficulties when applied to 5G networks:

[0004] The first is that although traditional asymmetric encryption algorithms such as RSA and ECC can provide high security, they are inefficient in key generation and management in the face of large-scale, multi-device 5G network environments, making it difficult to meet the real-time authentication requirements in high-concurrency scenarios. In addition, existing methods usually rely on only a single authentication method when processing user identity authentication, lacking comprehensive consideration of the user device's historical behavior and current network status, resulting in insufficient security and accuracy in the authentication process.

[0005] Second, most existing 5G network rights management methods are based on static access control policies, which are unable to dynamically adjust user rights and lack real-time monitoring of user device behavior and comprehensive multi-factor evaluation. This approach not only fails to effectively prevent security risks caused by rights leakage, but also lacks the ability to respond to complex network attacks. For example, existing methods often ignore the timeliness verification of digital certificates and access tokens, resulting in the inability to prevent illegal access in a timely manner when the token expires or is tampered with.

[0006] Third, the existing session key negotiation mechanism usually uses a single key exchange algorithm when applied in 5G networks, lacking multi-level security protection. This approach is prone to key leakage or man-in-the-middle attacks in the face of complex attack scenarios, and cannot guarantee the absolute security of data transmission. In addition, traditional key negotiation methods usually do not consider the dynamic changes in network status and real-time risk assessment of devices, resulting in insufficient key security and adaptability.

[0007] Therefore, how to provide a 5G network information security authority authentication method and system based on an asymmetric algorithm is a problem that technical personnel in this field urgently need to solve. Summary of the invention

[0008] One purpose of the present invention is to propose a 5G network information security authority authentication method and system based on an asymmetric algorithm. The present invention effectively improves the security and reliability of identity authentication and authority management in a 5G network environment by adopting a multi-layer digital signature algorithm based on a hash chain, a multi-factor weighted verification algorithm, and an improved elliptic curve hybrid key exchange algorithm. Compared with the prior art, the present invention can dynamically evaluate and manage the access rights of user devices in multi-user concurrent and complex network attack scenarios, and ensure the security and confidentiality of data transmission, thereby improving the security protection capabilities of the entire system.

[0009] A 5G network information security authority authentication method based on an asymmetric algorithm according to an embodiment of the present invention includes the following steps:

[0010] S1. Provide an asymmetric encryption system including a public key and a private key pair, and each user terminal device generates a unique public key and private key pair;

[0011] S2. When a user terminal device requests to access the 5G network, a multi-layer digital signature based on a hash chain is generated using a private key, and the digital signature is sent to the authentication server together with the corresponding public key;

[0012] S3. The authentication server uses the pre-stored public key of the user terminal device and a multi-layer digital signature algorithm based on a hash chain to verify the received digital signature and confirm the identity of the user terminal device.

[0013] S4. After the identity authentication is successful, the authentication server assigns access rights to the user terminal device, generates a corresponding digital certificate and access token, and sends them to the user terminal device;

[0014] S5. The user terminal device requests access rights from the network resource based on the received digital certificate and access token. The network resource verifies the digital certificate and access token using a multi-factor weighted verification algorithm and decides whether to grant access rights based on the comprehensive scoring result.

[0015] S6. After identity authentication and permission granting are completed, asymmetric encryption technology is combined with a hybrid key exchange algorithm based on an improved elliptic curve to negotiate session keys and dynamically generate session keys for data encryption;

[0016] S7. Use the generated session key to encrypt and transmit data in the 5G network.

[0017] Optionally, the S2 specifically includes:

[0018] S21. User terminal device generates a random number As a session identifier, the random number Used to identify the current communication session;

[0019] S22, user terminal equipment for random number Perform hash operation to get the hash value ,in Represents a hash function, which is used to generate a hash value of fixed length;

[0020] S23, the user terminal device uses the private key of the user terminal device Hash value Perform signing operation and generate digital signature ;

[0021] S24. The user terminal device generates a digital signature The corresponding public key Packaged together to form an authentication request message ;

[0022] S25: Authentication request message Sent to the authentication server through a secure channel.

[0023] Optionally, the S3 specifically includes:

[0024] S31. The authentication server receives an authentication request message from a user terminal device. ,in It is a digital signature generated by a multi-layer digital signature algorithm based on a hash chain. It is the public key of the user's terminal device;

[0025] S32, the authentication server uses the public key of the user terminal device The digital signature received During the verification process, the authentication server uses a multi-layer digital signature algorithm based on a hash chain to decrypt the signature layer by layer. , to get the original hash value ;

[0026] S33, during the layer-by-layer decryption and verification process, the authentication server compares the hash value of each layer of the hash chain to confirm that it is consistent with the expected hash chain value;

[0027] S34. If the verification of all hash chain levels is passed, and the final hash value is If it matches the reference value generated by the hash chain in the original request, the identity of the user terminal device is confirmed to be valid and the result is recorded in the authentication status.

[0028] Optionally, the S32 specifically includes:

[0029] S321: The authentication server extracts the public key of the user terminal device from the authentication request message and digital signature , the authentication server uses the public key of the user terminal device Digital Signature Perform preliminary decryption to obtain the hash value encrypted by multiple layers of hash chain :

[0030] ;

[0031] in, Represents the hash value after multiple layers of encryption in the hash chain. Indicates the use of public key The decryption operation performed, is the public key of the user's terminal device, It is a digital signature generated by the user's terminal device, containing an encrypted hash value;

[0032] S322, the authentication server uses a multi-layer hash chain decryption algorithm based on a dynamic salt value to decrypt the hash value layer by layer The decryption process consists of applying the inverse operation in the hash chain layer by layer, starting from the outermost layer. And combined with the dynamically generated salt value To decrypt:

[0033] ;

[0034] in, Indicates The decrypted hash value of the layer, Represents the corresponding inverse operation in the hash chain, Indicates that it is used for Dynamically generated salt value for layer decryption, Represents a bitwise exclusive OR operation;

[0035] S323, during the layer-by-layer decryption process, the authentication server verifies the hash value of each layer The expected hash chain value The consistency of the layers is checked and interleaved:

[0036] ;

[0037] in, Is the first Layer hash chain value, It indicates the expected operation result of the hash value of the next layer. If the verification and interleaving check of all layers pass, the identity of the user terminal device is confirmed to be valid. If the verification or interleaving check of any layer fails, the verification fails and the authentication process is terminated.

[0038] Optionally, the S5 specifically includes:

[0039] S51: The user terminal device sends an access request to the network resource, the request includes a digital certificate and an access token, and the network resource extracts the issuing authority information in the digital certificate. , Equipment Identification And the validity of the access token ;

[0040] S52. Network resources use a multi-factor weighted verification algorithm to score the extracted information:

[0041] ;

[0042] in, , and The weights of the authority of the issuing authority, the timeliness of the token, and the historical behavior score of the device are respectively. is the authority scoring function of the issuing agency, is the token validity scoring function, Scoring function for device historical behavior;

[0043] S53, Network resource calculation comprehensive score After that, the comprehensive score With the preset safety threshold For comparison, if , the access permission is granted; otherwise, the access request is denied and the relevant information is recorded.

[0044] Optionally, the S52 specifically includes:

[0045] S521, network resources extract the issuing agency information , Equipment Identification and the validity of the access token Conduct individual scoring;

[0046] S522, authoritative rating of issuing institution :

[0047] ;

[0048] in, Indicates the trust level of the issuing authority. represents the reputation factor of the issuing institution, is the establishment date of the issuing organization;

[0049] S523, Equipment Identification Scoring The calculation combines the historical behavior data of the device and the dynamic safety factor:

[0050] ;

[0051] in, is the number of successful accesses to the device, is the total number of visits to the device, is the behavior score of the device, It is a dynamic safety factor that automatically adjusts the score based on real-time risk assessment;

[0052] S524. Timeliness score of access token :

[0053] ;

[0054] in, Indicates the maximum validity period of the token. Indicates the difference between the current access time and the token issuance time.

[0055] Optionally, the S6 specifically includes:

[0056] S61: After identity authentication and permission granting are completed, the network resource and the user terminal device begin the session key negotiation process, and the network resource generates a random number. and a dynamic safety factor , the user terminal device generates a random number and a dynamic safety factor , both parties generate initial session key materials respectively;

[0057] S62, the network resources and the user terminal device use the improved elliptic curve hybrid key exchange algorithm to generate a shared session key, and both parties calculate the temporary key material and , and introduce dynamic safety factors for enhanced processing;

[0058] S63: Network resources and user terminal equipment generate temporary key materials and Combined and generated using a multi-hash chain based algorithm to generate the final session key :

[0059] ;

[0060] in, The final generated session key;

[0061] S64. Generated session key Confirmation and verification are performed between network resources and user terminal devices. After confirmation, both parties use Encrypt communication data.

[0062] Optionally, the S62 specifically includes:

[0063] S621. Network resources and user terminal devices generate their own random numbers respectively. and And the corresponding dynamic safety factor and ,The generation of dynamic security factors is based on a multi-level security assessment model, which is calculated based on the current network status, device behavior history and time factors:

[0064] ;

[0065] ;

[0066] in, Indicates the current network status evaluation value. and Represents the historical behavior data of network resources and user terminal devices respectively. Indicates the current timestamp. A dynamic factor generation function is used to dynamically generate safety factors by integrating multiple real-time parameters;

[0067] S622: The network resources and the user terminal device perform multi-layer encryption operations on the generated random number and dynamic security factor, using the private key of the network resources and the user terminal device. and The random number and dynamic security factor are initially encrypted, and then the result is encrypted again:

[0068] ;

[0069] ;

[0070] in, is the elliptic curve encryption algorithm, is the Advanced Encryption Standard algorithm, Represents a bitwise exclusive OR operation;

[0071] S623: Network resources and user terminal devices calculate temporary key materials respectively and , through a double-layer hash function Processing of encryption materials, random numbers and dynamic security factors:

[0072] ;

[0073] ;

[0074] in, and are different hash functions, which are used to enhance the security of key materials. and It is temporary key material generated by network resources and user terminal devices respectively.

[0075] A 5G network information security authority authentication system based on an asymmetric algorithm according to an embodiment of the present invention includes:

[0076] The key generation module is used to provide an asymmetric encryption system including a public key and a private key pair. Each user terminal device generates a unique public key and private key pair;

[0077] The digital signature generation module uses the private key to generate a multi-layer digital signature based on a hash chain when the user terminal device requests to access the 5G network, and sends the digital signature together with the corresponding public key to the authentication server;

[0078] Identity verification module: the authentication server uses the pre-stored public key of the user terminal device and the multi-layer digital signature algorithm based on the hash chain to verify the received digital signature and confirm the identity of the user terminal device;

[0079] The authority management module, after successful identity authentication, the authentication server assigns access rights to the user terminal device, generates the corresponding digital certificate and access token, and sends them to the user terminal device;

[0080] A multi-factor weighted authentication module, in which the user terminal device requests access rights from the network resource based on the received digital certificate and access token, and the network resource verifies the digital certificate and access token using a multi-factor weighted authentication algorithm, and decides whether to grant access rights based on the comprehensive scoring result;

[0081] The session key negotiation module, after identity authentication and permission granting, combines asymmetric encryption technology with a hybrid key exchange algorithm based on an improved elliptic curve to negotiate session keys and dynamically generate session keys for data encryption;

[0082] The data encryption module uses the generated session key to encrypt and transmit data in the 5G network.

[0083] The beneficial effects of the present invention are:

[0084] (1) The present invention adopts a multi-layer digital signature algorithm based on hash chain to achieve accurate authentication of the user terminal device identity. Compared with the traditional single-layer signature authentication method, the multi-layer hash chain algorithm can effectively prevent replay attacks and signature tampering, and improve the security and reliability of the authentication process.

[0085] (2) By introducing a multi-factor weighted verification algorithm, the present invention can dynamically evaluate the access rights of a user device based on the historical behavior of the user device, the authority of the issuing authority of the digital certificate, and the timeliness of the access token. Compared with static permission management strategies, this method can adjust permission settings in real time, significantly improving the system's ability to deal with permission leaks and unauthorized access.

[0086] (3) The present invention combines an improved elliptic curve hybrid key exchange algorithm and a dynamic security factor to achieve efficient generation and negotiation of session keys. Compared with the traditional single key exchange method, this scheme significantly enhances the anti-attack capability during the key exchange process by introducing multi-level encryption and dynamic security assessment, thus ensuring the security of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0088] Figure 1 A flowchart of a 5G network information security authority authentication method and system based on an asymmetric algorithm proposed by the present invention;

[0089] Figure 2 A flowchart of a 5G network information security authority authentication method based on an asymmetric algorithm and a multi-factor weighted verification algorithm in the system proposed by the present invention;

[0090] Figure 3 This is a system framework diagram of a 5G network information security authority authentication method and system based on an asymmetric algorithm proposed in the present invention. DETAILED DESCRIPTION

[0091] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0092] refer to Figure 1-3, a 5G network information security authority authentication method and system based on an asymmetric algorithm, comprising the following steps:

[0093] S1. Provide an asymmetric encryption system including a public key and a private key pair, and each user terminal device generates a unique public key and private key pair;

[0094] S2. When a user terminal device requests to access the 5G network, a multi-layer digital signature based on a hash chain is generated using a private key, and the digital signature is sent to the authentication server together with the corresponding public key;

[0095] S3. The authentication server uses the pre-stored public key of the user terminal device and a multi-layer digital signature algorithm based on a hash chain to verify the received digital signature and confirm the identity of the user terminal device.

[0096] S4. After the identity authentication is successful, the authentication server assigns access rights to the user terminal device, generates a corresponding digital certificate and access token, and sends them to the user terminal device;

[0097] S5. The user terminal device requests access rights from the network resource based on the received digital certificate and access token. The network resource verifies the digital certificate and access token using a multi-factor weighted verification algorithm and decides whether to grant access rights based on the comprehensive scoring result.

[0098] S6. After identity authentication and permission granting are completed, asymmetric encryption technology is combined with a hybrid key exchange algorithm based on an improved elliptic curve to negotiate session keys and dynamically generate session keys for data encryption;

[0099] S7. Use the generated session key to encrypt and transmit data in the 5G network.

[0100] In this implementation, S2 specifically includes:

[0101] S21. User terminal device generates a random number As a session identifier, the random number Used to identify the current communication session;

[0102] S22, user terminal equipment for random number Perform hash operation to get the hash value ,in Represents a hash function, which is used to generate a hash value of fixed length;

[0103] S23, the user terminal device uses the private key of the user terminal device Hash value Perform signing operation and generate digital signature ;

[0104] S24. The user terminal device generates a digital signature The corresponding public key Packaged together to form an authentication request message ;

[0105] S25: Authentication request message Sent to the authentication server through a secure channel.

[0106] In this implementation, S3 specifically includes:

[0107] S31. The authentication server receives an authentication request message from a user terminal device. ,in It is a digital signature generated by a multi-layer digital signature algorithm based on a hash chain. It is the public key of the user's terminal device;

[0108] S32, the authentication server uses the public key of the user terminal device The digital signature received During the verification process, the authentication server uses a multi-layer digital signature algorithm based on a hash chain to decrypt the signature layer by layer. , to get the original hash value ;

[0109] S33, during the layer-by-layer decryption and verification process, the authentication server compares the hash value of each layer of the hash chain to confirm that it is consistent with the expected hash chain value;

[0110] S34. If the verification of all hash chain levels is passed, and the final hash value is If it matches the reference value generated by the hash chain in the original request, the identity of the user terminal device is confirmed to be valid and the result is recorded in the authentication status.

[0111] In this implementation manner, the S32 specifically includes:

[0112] S321: The authentication server extracts the public key of the user terminal device from the authentication request message and digital signature , the authentication server uses the public key of the user terminal device Digital Signature Perform preliminary decryption to obtain the hash value encrypted by multiple layers of hash chain :

[0113] ;

[0114] in, Represents the hash value after multiple layers of encryption in the hash chain. Indicates the use of public key The decryption operation performed, is the public key of the user's terminal device, It is a digital signature generated by the user's terminal device, containing an encrypted hash value;

[0115] S322, the authentication server uses a multi-layer hash chain decryption algorithm based on a dynamic salt value to decrypt the hash value layer by layer The decryption process consists of applying the inverse operation in the hash chain layer by layer, starting from the outermost layer. And combined with the dynamically generated salt value To decrypt:

[0116] ;

[0117] in, Indicates The decrypted hash value of the layer, Represents the corresponding inverse operation in the hash chain, Indicates that it is used for Dynamically generated salt value for layer decryption, Represents a bitwise exclusive OR operation;

[0118] S323, during the layer-by-layer decryption process, the authentication server verifies the hash value of each layer The expected hash chain value The consistency of the layers is checked and interleaved:

[0119] ;

[0120] in, Is the first Layer hash chain value, It indicates the expected operation result of the hash value of the next layer. If the verification and interleaving check of all layers pass, the identity of the user terminal device is confirmed to be valid. If the verification or interleaving check of any layer fails, the verification fails and the authentication process is terminated.

[0121] In this implementation manner, S5 specifically includes:

[0122] S51: The user terminal device sends an access request to the network resource, the request includes a digital certificate and an access token, and the network resource extracts the issuing authority information in the digital certificate. , Equipment Identification And the validity of the access token ;

[0123] S52. Network resources use a multi-factor weighted verification algorithm to score the extracted information:

[0124] ;

[0125] in, , and The weights of the authority of the issuing authority, the timeliness of the token, and the historical behavior score of the device are respectively. is the authority scoring function of the issuing agency, is the token validity scoring function, Scoring function for device historical behavior;

[0126] S53, Network resource calculation comprehensive score After that, the comprehensive score With the preset safety threshold For comparison, if , the access permission is granted; otherwise, the access request is denied and the relevant information is recorded.

[0127] In this implementation manner, the S52 specifically includes:

[0128] S521, network resources extract the issuing agency information , Equipment Identification and the validity of the access token Conduct individual scoring;

[0129] S522, authoritative rating of issuing institution :

[0130] ;

[0131] in, Indicates the trust level of the issuing authority. represents the reputation factor of the issuing institution, is the establishment date of the issuing organization;

[0132] S523, Equipment Identification Scoring The calculation combines the historical behavior data of the device and the dynamic safety factor:

[0133] ;

[0134] in, is the number of successful accesses to the device, is the total number of visits to the device, is the behavior score of the device, It is a dynamic safety factor that automatically adjusts the score based on real-time risk assessment;

[0135] S524. Timeliness score of access token :

[0136] ;

[0137] in, Indicates the maximum validity period of the token. Indicates the difference between the current access time and the token issuance time.

[0138] In this implementation manner, S6 specifically includes:

[0139] S61: After identity authentication and permission granting are completed, the network resource and the user terminal device begin the session key negotiation process, and the network resource generates a random number. and a dynamic safety factor , the user terminal device generates a random number and a dynamic safety factor , both parties generate initial session key materials respectively;

[0140] S62, the network resources and the user terminal device use the improved elliptic curve hybrid key exchange algorithm to generate a shared session key, and both parties calculate the temporary key material and , and introduce dynamic safety factors for enhanced processing;

[0141] S63: Network resources and user terminal equipment generate temporary key materials and Combined and generated using a multi-hash chain based algorithm to generate the final session key :

[0142] ;

[0143] in, The final generated session key;

[0144] S64. Generated session key Confirmation and verification are performed between network resources and user terminal devices. After confirmation, both parties use Encrypt communication data.

[0145] In this implementation manner, the S62 specifically includes:

[0146] S621. Network resources and user terminal devices generate their own random numbers respectively. and And the corresponding dynamic safety factor and ,The generation of dynamic security factors is based on a multi-level security assessment model, which is calculated based on the current network status, device behavior history and time factors:

[0147] ;

[0148] ;

[0149] in, Indicates the current network status evaluation value. and Represents the historical behavior data of network resources and user terminal devices respectively. Indicates the current timestamp. A dynamic factor generation function is used to dynamically generate safety factors by integrating multiple real-time parameters;

[0150] S622: The network resources and the user terminal device perform multi-layer encryption operations on the generated random number and dynamic security factor, using the private key of the network resources and the user terminal device. and The random number and dynamic security factor are initially encrypted, and then the result is encrypted again:

[0151] ;

[0152] ;

[0153] in, is the elliptic curve encryption algorithm, is the Advanced Encryption Standard algorithm, Represents a bitwise exclusive OR operation;

[0154] S623: Network resources and user terminal devices calculate temporary key materials respectively and , through a double-layer hash function Processing of encryption materials, random numbers and dynamic security factors:

[0155] ;

[0156] ;

[0157] in, and are different hash functions, which are used to enhance the security of key materials. and It is temporary key material generated by network resources and user terminal devices respectively.

[0158] A 5G network information security authority authentication system based on an asymmetric algorithm according to an embodiment of the present invention includes:

[0159] The key generation module is used to provide an asymmetric encryption system including a public key and a private key pair. Each user terminal device generates a unique public key and private key pair;

[0160] The digital signature generation module uses the private key to generate a multi-layer digital signature based on a hash chain when the user terminal device requests to access the 5G network, and sends the digital signature together with the corresponding public key to the authentication server;

[0161] Identity verification module: the authentication server uses the pre-stored public key of the user terminal device and the multi-layer digital signature algorithm based on the hash chain to verify the received digital signature and confirm the identity of the user terminal device;

[0162] The authority management module, after successful identity authentication, the authentication server assigns access rights to the user terminal device, generates the corresponding digital certificate and access token, and sends them to the user terminal device;

[0163] A multi-factor weighted authentication module, in which the user terminal device requests access rights from the network resource based on the received digital certificate and access token, and the network resource verifies the digital certificate and access token using a multi-factor weighted authentication algorithm, and decides whether to grant access rights based on the comprehensive scoring result;

[0164] The session key negotiation module, after identity authentication and permission granting, combines asymmetric encryption technology with a hybrid key exchange algorithm based on an improved elliptic curve to negotiate session keys and dynamically generate session keys for data encryption;

[0165] The data encryption module uses the generated session key to encrypt and transmit data in the 5G network.

[0166] Embodiment 1:

[0167] The 5G network information security authority authentication system based on asymmetric algorithm of the present invention is deployed in Company B, a large telecommunications operator located in City A, China. As a leading telecommunications service provider in China, Company B has a 5G network infrastructure covering the whole country and provides high-speed mobile communication services to more than 100 million users. Against the background of the rapid development of 5G networks, how to ensure the security of user identity authentication and the reliability of authority management has become the main challenge faced by Company B in the new generation of communication networks.

[0168] In order to improve network security, Company B introduced the 5G network information security authority authentication system of the present invention into its core network. The system effectively improves the accuracy of user identity authentication and the dynamic nature of authority management through multi-layer digital signatures, dynamic authority management and improved session key negotiation algorithm.

[0169] In actual application, Company B selected five major commercial areas in Beijing as pilot areas, where more than 500,000 users connect to the 5G network every day, involving a large number of mobile terminal devices. Traditional identity authentication methods based on symmetric encryption have high latency and low authentication accuracy when processing such a large number of user requests. In order to verify the effectiveness of the present invention, Company B deployed the system of the present invention in these pilot areas and conducted a 6-month test.

[0170] During the test, the system of the present invention provides a unique encrypted identity for each user terminal device by generating a public key and a private key pair. When a user requests access to the 5G network, the system uses a multi-layer digital signature algorithm based on a hash chain to accurately authenticate the user's identity, and uses a multi-factor weighted verification algorithm to evaluate the user's access rights in real time. This dynamic permission management mechanism ensures that the system can still accurately control the user's access rights when the network environment changes. In the process of generating session keys, the present invention introduces an improved elliptic curve hybrid key exchange algorithm and a dynamic security factor to ensure that each session key is generated uniquely, thereby effectively preventing key replay attacks and man-in-the-middle attacks.

[0171] During the six-month test, Company B collected a large amount of certification data and compared it with the traditional certification system.

[0172] Table 1 5G network information security authority authentication system performance comparison table

[0173]

[0174] As shown in Table 1 above, the system of the present invention significantly improves the security and stability of the 5G network in practical applications. The average authentication time is shortened from 5 seconds to 2 seconds, and the authentication efficiency is improved by 2.5 times, which can better cope with the concurrent access of large-scale users. The success rate of user authentication is increased from 95% to 99.5%, which effectively reduces the error rate and failure rate in the authentication process. At the same time, the system of the present invention performs well in authority management, and the authority management error rate drops from 1.2% to 0.3%, which means that the system can manage user access rights more accurately and avoid unauthorized access. In terms of network security, the number of attacks detected by the system per day is reduced from 1,000 to 300, indicating that the present invention has a stronger ability to prevent network attacks. In addition, the leakage rate of session keys is reduced from 0.8% to 0.1%, which greatly reduces the security risks in the data transmission process.

[0175] By implementing the system of the present invention, Company B not only verified the effectiveness of the system of the present invention, but also further improved the security protection level of its 5G network in its core business. The system's efficient authentication mechanism and powerful authority management capabilities provide solid technical support for Company B to promote 5G networks nationwide in the future.

[0176] In summary, the 5G network information security authority authentication system based on asymmetric algorithms of the present invention not only effectively solves the efficiency problem of large-scale user concurrent authentication, but also greatly improves the security and reliability of 5G networks through multi-level security mechanisms. In a complex network environment with high concurrency and high security requirements, the present invention shows significant advantages and provides a strong guarantee for the development of next-generation communication technology.

[0177] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A 5G network information security authority authentication method based on asymmetric algorithm, It is characterized in that The steps include: S1. Provide an asymmetric encryption system including a public key and a private key pair, and each user terminal device generates a unique public key and private key pair; S2. When a user terminal device requests to access the 5G network, a multi-layer digital signature based on a hash chain is generated using a private key, and the digital signature is sent to the authentication server together with the corresponding public key; S3. The authentication server uses the pre-stored public key of the user terminal device and a multi-layer digital signature algorithm based on a hash chain to verify the received digital signature and confirm the identity of the user terminal device. S4. After the identity authentication is successful, the authentication server assigns access rights to the user terminal device, generates a corresponding digital certificate and access token, and sends them to the user terminal device; S5. The user terminal device requests access rights from the network resource based on the received digital certificate and access token. The network resource verifies the digital certificate and access token using a multi-factor weighted verification algorithm and decides whether to grant access rights based on the comprehensive scoring result. S6. After identity authentication and permission granting are completed, asymmetric encryption technology is combined with a hybrid key exchange algorithm based on an improved elliptic curve to negotiate session keys and dynamically generate session keys for data encryption; S7. Use the generated session key to encrypt and transmit data in the 5G network.

2. According to the 5G network information security authority authentication method based on an asymmetric algorithm according to claim 1, It is characterized in that The S2 specifically includes: S21. The user terminal device generates a random number r as a session identifier, where the random number r is used to identify the current communication session; S22. The user terminal device performs a hash operation on the random number r to obtain a hash value H(r), where H represents a hash function used to generate a hash value of a fixed length; S23, the user terminal device uses the private key SK of the user terminal device u Perform a signature operation on the hash value H(r) to generate a digital signature Sig(H(r)); S24, the user terminal device compares the generated digital signature Sig(H(r)) with the corresponding public key PK u Packed together to form an authentication request message M = {Sig (H (r)), PK u }; S25. Send the authentication request message M to the authentication server through a secure channel.

3. According to the 5G network information security authority authentication method based on an asymmetric algorithm according to claim 1, It is characterized in that The S3 specifically includes: S31, the authentication server receives the authentication request message M={Sig(H(r),PK u }, where sig(H(r)) is a digital signature generated by a multi-layer digital signature algorithm based on a hash chain, PK u It is the public key of the user's terminal device; S32, the authentication server uses the public key PK of the user terminal device u Verify the received digital signature Sig(H(r)). During the verification process, the authentication server uses a multi-layer digital signature algorithm based on a hash chain to decrypt the signature Sig(H(r)) layer by layer to obtain the original hash value H(r); S33, during the layer-by-layer decryption and verification process, the authentication server compares the hash value of each layer of the hash chain to confirm that it is consistent with the expected hash chain value; S34. If the verification of all hash chain levels passes, and the finally obtained hash value H(r) matches the reference value generated by the hash chain in the original request, the identity of the user terminal device is confirmed to be valid, and the result is recorded in the authentication status.

4. According to claim 3, a 5G network information security authority authentication method based on an asymmetric algorithm, It is characterized in that The S32 specifically includes: S321: The authentication server extracts the public key PK of the user terminal device from the authentication request message u and digital signature Sig(H(r)), the authentication server uses the public key PK of the user terminal device u Perform a preliminary decryption on the digital signature Sig(H(r)) to obtain the hash value H(r) encrypted by multiple layers of the hash chain. enc : H(r) enc =Decrypt(PK u ,Sig(H(r))); Among them, H(r) enc It indicates the hash value after multiple layers of hash chain encryption. Decrypt indicates the use of public key PK u Decryption operation performed, PK u is the public key of the user terminal device, Sig(H(r)) is the digital signature generated by the user terminal device, including the encrypted hash value; S322, the authentication server uses a multi-layer hash chain decryption algorithm based on a dynamic salt value to decrypt the hash value H(r) layer by layer enc The decryption process consists of applying the inverse operation H in the hash chain layer by layer, starting from the outermost layer. -1 Combined with the dynamically generated salt value S i To decrypt: Among them, H i represents the decrypted hash value of the i-th layer, H -1 Represents the corresponding inverse operation in the hash chain, S i Represents the dynamically generated salt value used for layer i decryption, Represents a bitwise exclusive OR operation; S323, during the layer-by-layer decryption process, the authentication server verifies the hash value H of each layer. i and the expected hash chain value H(r) expected_i consistency and perform inter-layer interleaving verification.

5. According to a 5G network information security authority authentication method based on an asymmetric algorithm according to claim 1, It is characterized in that The S5 specifically includes: S51: The user terminal device sends an access request to the network resource, the request includes a digital certificate and an access token, and the network resource extracts the issuing authority information CA in the digital certificate. info , Device ID And the validity of the access token exp ; S52. Network resources use a multi-factor weighted verification algorithm to score the extracted information: Score=w 1 ·f(CA info )+w 2 ·g(Token exp )+w 3 ·h(Device ID ); Among them, w 1 、w 2 and w 3 are the weights of the authority of the issuing authority, the timeliness of the token, and the historical behavior score of the device, respectively. info ) is the authority scoring function of the issuing agency, g(Token exp ) is the token validity scoring function, h(Device ID ) is the device historical behavior scoring function; S53, after calculating the comprehensive score Score, the network resource compares the comprehensive score Score with the preset security threshold Threshold. If Score ≥ Threshold, the access permission is granted; otherwise, the access request is rejected and the relevant information is recorded.

6. According to claim 5, a 5G network information security authority authentication method based on an asymmetric algorithm, It is characterized in that The S52 specifically includes: S521, network resources extract the issuing authority information CA info , Device ID And the validity of the access token exp Conduct individual scoring; S522, authority rating of issuing institution f(CA info ): Among them, TrustLevel(CA info ) indicates the trust level of the issuing authority, ReputationFactor(CA info ) represents the reputation factor of the issuing authority, Age(CA info ) is the date of establishment of the issuing organization; S523, Device Identification Score h ID ) is calculated by combining the historical behavior data of the device and the dynamic safety factor: Among them, P success is the number of successful device accesses, P total Is the total number of visits to the device, BehaviorScore(Device ID ) is the behavior score of the device, DynamicRisk(Device ID ) is a dynamic safety factor that automatically adjusts the score based on real-time risk assessment; S524, access token validity score g (Token exp ): Among them, T max Indicates the maximum validity period of the token, T current Indicates the difference between the current access time and the token issuance time.

7. According to claim 1, a 5G network information security authority authentication method based on an asymmetric algorithm, It is characterized in that The S6 specifically includes: S61. After identity authentication and permission granting are completed, the network resource and the user terminal device start the session key negotiation process. The network resource generates a random number R NR and a dynamic safety factor D NR , the user terminal device generates a random number R NU and a dynamic safety factor D NU , both parties generate initial session key materials respectively; S62: The network resource and the user terminal device use the improved elliptic curve hybrid key exchange algorithm to generate a shared session key. Both parties calculate the temporary key material T NR and T NU , and introduce dynamic safety factors for enhanced processing; S63, the network resources and the user terminal device generate the temporary key material T NR and T NU Combined and using a multi-hash chain based algorithm to generate the final session key K session : Among them, K session The final generated session key; S64, generated session key K session Confirmation and verification are performed between the network resources and the user terminal equipment. After confirmation, both parties use K session Encrypt communication data.

8. According to the 5G network information security authority authentication method based on an asymmetric algorithm according to claim 7, It is characterized in that The S62 specifically includes: S621, the network resource and the user terminal device generate their own random number R NR and R NU And the corresponding dynamic safety factor D NR and D Nu ,The generation of dynamic security factors is based on a multi-level security assessment model, which is calculated based on the current network status, device behavior history and time factors: D NR =f(S net ,H NR ,T current ); D NU =f(S net ,H NU ,T current ); Among them, S net Indicates the current network status evaluation value, H NR and H NU Represent the historical behavior data of network resources and user terminal devices respectively, T current represents the current timestamp, f is the dynamic factor generation function, which dynamically generates the safety factor by integrating multiple real-time parameters; S622: The network resources and the user terminal device perform multi-layer encryption operations on the generated random number and dynamic security factor, using the private key SK of the network resources and the user terminal device. NR and SK NU The random number and dynamic security factor are initially encrypted, and then the result is encrypted again: Among them, Enc ECC It is the elliptic curve encryption algorithm, Enc AES is the Advanced Encryption Standard algorithm, Represents a bitwise exclusive OR operation; S623, the network resources and the user terminal device respectively calculate the temporary key material T NR and T NU , the encryption material, random numbers and dynamic security factors are processed through the double-layer hash function H: Among them, H 1 and H 2 are different hash functions, which are used to enhance the security of key materials. NR and T NU It is temporary key material generated by network resources and user terminal devices respectively.

9. A 5G network information security authority authentication system based on asymmetric algorithm, It is characterized in that include: The key generation module is used to provide an asymmetric encryption system including a public key and a private key pair. Each user terminal device generates a unique public key and private key pair; The digital signature generation module uses the private key to generate a multi-layer digital signature based on a hash chain when the user terminal device requests to access the 5G network, and sends the digital signature together with the corresponding public key to the authentication server; Identity verification module: the authentication server uses the pre-stored public key of the user terminal device and the multi-layer digital signature algorithm based on the hash chain to verify the received digital signature and confirm the identity of the user terminal device; The authority management module, after successful identity authentication, the authentication server assigns access rights to the user terminal device, generates the corresponding digital certificate and access token, and sends them to the user terminal device; A multi-factor weighted authentication module, in which the user terminal device requests access rights from the network resource based on the received digital certificate and access token, and the network resource verifies the digital certificate and access token using a multi-factor weighted authentication algorithm, and decides whether to grant access rights based on the comprehensive scoring result; The session key negotiation module, after identity authentication and permission granting, combines asymmetric encryption technology with a hybrid key exchange algorithm based on an improved elliptic curve to negotiate session keys and dynamically generate session keys for data encryption; The data encryption module uses the generated session key to encrypt and transmit data in the 5G network.

Citation Information

Patent Citations

  • Smart home security authentication method based on PUF and block chain fusion

    CN114221770A

  • Blockchain transaction method and apparatus

    US20210160082A1