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

By using hash chain digital signatures, multi-factor weighted verification and elliptic curve hybrid key exchange algorithms in the 5G network, the problems of low key management efficiency and static permission management in the 5G network are solved, achieving accurate security in high concurrency environments. Identity authentication and dynamic rights management significantly improve the security and reliability of the system.

CN118714568AActive Publication Date: 2024-09-27SHENZHEN WEIAN TECHNOLOGY SERVICE CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

The existing 5G network information security authority authentication method has low key management efficiency in a high-concurrency environment and lacks comprehensive consideration of the historical behavior of user equipment and network status, resulting in insufficient authentication security and accuracy, and static authority management cannot be dynamically adjusted. It can easily lead to security risks such as permission leakage and complex network attacks.

Method used

It uses 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 to dynamically evaluate the access rights of user devices and generate session keys through asymmetric encryption technology to ensure data transmission. security and confidentiality.

Benefits of technology

It improves the security and reliability of identity authentication, adjusts permission settings in real time, enhances the ability to prevent complex attacks, and ensures the absolute security of data transmission and the overall security protection capabilities of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714568A
    Figure CN118714568A
Patent Text Reader

Abstract

The invention discloses a 5G network information security authority authentication method and system based on an asymmetric algorithm, and the method comprises the following steps: S1, providing an asymmetric encryption system, and generating a public key and private key pair by each piece of user terminal equipment; s2, the user terminal equipment generates a multi-layer digital signature based on a hash chain and sends the multi-layer digital signature to the authentication server; s3, the authentication server verifies the digital signature and confirms the identity; s4, the authentication server distributes access authority and generates a digital certificate and an access token; s5, the network resource verifies the digital certificate and the access token by using a multi-factor weighted verification algorithm, and determines whether to grant the access authority; s6, session key negotiation is carried out through an improved elliptic curve key exchange algorithm, and a session key used for data encryption is generated; and S7, performing encryption transmission on the data by using the generated session key. According to the invention, the security and reliability of identity authentication and authority management in the 5G network are enhanced.
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 communications, 5G networks, as the core technology for next-generation mobile communication systems, have become a focus of attention in the global communications sector. With their high bandwidth, low latency, and wide coverage, 5G networks provide technical support for application scenarios such as the Internet of Things, smart cities, and autonomous driving. However, with the widespread adoption of 5G networks and the increasing complexity of their application scenarios, information security issues are becoming increasingly prominent. Existing technologies, in particular, remain deficient in user authentication and rights management, necessitating new solutions to enhance system security and reliability.

[0003] Most existing 5G network information security authentication methods rely on symmetric encryption technology for data protection and identity authentication. However, while symmetric encryption technology has advantages in efficiency, it has many problems in key management and distribution. Especially in multi-user concurrent environments, it is prone to security risks such as key leakage, tampering, and replay attacks. To address these issues, 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, existing asymmetric encryption methods still face the following technical difficulties when applied to 5G networks: First, while traditional asymmetric encryption algorithms such as RSA and ECC offer high security, they suffer from inefficient key generation and management in large-scale, multi-device 5G networks, making them inefficient in meeting the real-time authentication requirements of high-concurrency scenarios. Furthermore, existing methods typically rely on a single authentication method when handling user identity authentication, lacking comprehensive consideration of the user's device's historical behavior and current network status, resulting in insufficient security and accuracy during the authentication process.

[0004] Second, existing 5G network rights management methods are mostly based on static access control policies, unable to dynamically adjust user rights and lacking real-time monitoring of user device behavior and comprehensive multi-factor assessment. This approach not only fails to effectively prevent security risks caused by rights leaks, but also lacks the ability to respond to complex network attacks. For example, existing methods often overlook the validity verification of digital certificates and access tokens, resulting in an inability to prevent unauthorized access if the token expires or has been tampered with.

[0005] Third, existing session key negotiation mechanisms, when applied in 5G networks, typically use a single key exchange algorithm, lacking multi-layered security. This approach is susceptible to key leaks or man-in-the-middle attacks in complex attack scenarios, and cannot guarantee absolute security for data transmission. Furthermore, traditional key negotiation methods typically fail to account for dynamic changes in network status and real-time device risk assessment, resulting in insufficient key security and adaptability.

[0006] Therefore, how to provide a 5G network information security authority authentication method and system based on an asymmetric algorithm is an urgent problem that needs to be solved by those skilled in the art. Summary of the Invention

[0007] One purpose of the present invention is to propose a 5G network information security authority authentication method and system based on an asymmetric algorithm. 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, the present invention effectively improves the security and reliability of identity authentication and authority management in a 5G network environment. Compared with the existing technology, the present invention can dynamically evaluate and manage user device access rights 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.

[0008] According to an embodiment of the present invention, a 5G network information security authority authentication method based on an asymmetric algorithm includes the following steps: S1. 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. S2. When a user terminal device requests to access the 5G network, it uses the private key to generate a multi-layer digital signature based on a hash chain, and sends the digital signature together with the corresponding public key to the authentication server; 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 permission 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 permission 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 a session key and dynamically generate a session key for data encryption; S7. Use the generated session key to encrypt and transmit data in the 5G network.

[0009] Optionally, the S2 specifically includes: S21. User terminal device generates a random number As a session identifier, the random number Used to identify the current communication session; S22, user terminal equipment for random number Perform hash operation to obtain hash value ,in Represents a hash function, which is used to generate a fixed-length hash value; S23. The user terminal device uses the private key of the user terminal device Hash value Perform signature operation and generate digital signature ; S24. The user terminal device generates a digital signature and the corresponding public key Packaged together to form an authentication request message ; S25, the authentication request message Sent to the authentication server through a secure channel.

[0010] Optionally, the S3 specifically includes: S31. The authentication server receives an authentication request message from the 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 terminal device; 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 hash chain to decrypt the signature layer by layer. To get the original hash value ; 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 is passed, and the final hash value is If the reference value generated by the hash chain in the original request matches, the identity of the user terminal device is confirmed to be valid and the result is recorded in the authentication status.

[0011] Optionally, the S32 specifically includes: S321: The authentication server extracts the public key of the user terminal device from the authentication request message. and digital signatures , 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 the hash chain : ; 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; 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 Combined with dynamically generated salt values To decrypt: ; in, Indicates the 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; S323: During the layer-by-layer decryption process, the authentication server verifies the hash value of each layer. The expected hash chain value consistency and perform inter-layer interleaving verification: ; in, Is the first one expected by the authentication server Layer hash chain value, Indicates the expected result of the operation 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.

[0012] Optionally, 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. The network resource extracts the issuing authority information from the digital certificate. , equipment identification And the validity of the access token ; S52. The network resource scores the extracted information using a multi-factor weighted verification algorithm: ; 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; S53, Comprehensive score of network resource calculation After that, the comprehensive score and the preset safety threshold For comparison, if , the access permission is granted; otherwise, the access request is denied and the relevant information is recorded.

[0013] Optionally, the S52 specifically includes: S521, network resources extract issuing agency information , equipment identification and the validity of access tokens Conduct individual scoring; S522, authoritative rating of the issuing agency : ; 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; S523, Equipment Identification Scoring The calculation combines the device's historical behavior data and dynamic safety factors: ; 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; S524. Timeliness score of access token : ; in, Indicates the maximum validity period of the token. Indicates the difference between the current access time and the token issuance time.

[0014] Optionally, the S6 specifically includes: 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; S62, the network resource 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; S63, network resources and user terminal equipment will generate temporary key materials and Combined and generated using a multi-hash chain based algorithm to generate the final session key : ; in, The final generated session key; S64. Generated session key Confirmation and verification are carried out between the network resources and the user terminal equipment. After confirmation, both parties use Encrypt communication data.

[0015] Optionally, the S62 specifically includes: 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 combines the current network status, device behavior history and time factors,to calculate: ; ; 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 a 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 of the network resources and the user terminal device and Perform a preliminary encryption on the random number and dynamic security factor, and then perform a secondary encryption on the result: ; ; in, is the elliptic curve encryption algorithm, is the Advanced Encryption Standard algorithm, Represents a bitwise exclusive OR operation; 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: ; ; in, and are different hash functions, used to enhance the security of key materials. and It is the temporary key material generated by network resources and user terminal devices respectively.

[0016] A 5G network information security authority authentication system based on an asymmetric algorithm according to an embodiment of the present invention includes: 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; The authentication module 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. 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. 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.

[0017] The beneficial effects of the present invention are: (1) This invention uses a multi-layer digital signature algorithm based on a hash chain to achieve accurate authentication of the user terminal device's identity. Compared with the traditional single-layer signature authentication method, the multi-layer hash chain algorithm can effectively prevent replay attacks and signature tampering, improving the security and reliability of the authentication process.

[0018] (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 user device's historical behavior, the authority of the issuing authority of the digital certificate, and the timeliness of the access token. Compared to 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.

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

[0020] 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: Figure 1 This is a flowchart of a 5G network information security authority authentication method and system based on an asymmetric algorithm proposed by the present invention; Figure 2 This is 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; 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

[0021] The present invention will now be described in further detail with reference to the accompanying drawings, which are simplified schematic diagrams that illustrate the basic structure of the present invention in a schematic manner.

[0022] refer to Figure 1-3 , a 5G network information security authority authentication method and system based on an asymmetric algorithm, comprising the following steps: S1. 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. S2. When a user terminal device requests to access the 5G network, it uses the private key to generate a multi-layer digital signature based on a hash chain, and sends the digital signature together with the corresponding public key to the authentication server; 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 permission 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 permission 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 a session key and dynamically generate a session key for data encryption; S7. Use the generated session key to encrypt and transmit data in the 5G network.

[0023] In this embodiment, S2 specifically includes: S21. User terminal device generates a random number As a session identifier, the random number Used to identify the current communication session; S22, user terminal equipment for random number Perform hash operation to obtain hash value ,in Represents a hash function, which is used to generate a fixed-length hash value; S23. The user terminal device uses the private key of the user terminal device Hash value Perform signature operation and generate digital signature ; S24. The user terminal device generates a digital signature and the corresponding public key Packaged together to form an authentication request message ; S25, the authentication request message Sent to the authentication server through a secure channel.

[0024] In this embodiment, S3 specifically includes: S31. The authentication server receives an authentication request message from the 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 terminal device; 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 hash chain to decrypt the signature layer by layer. To get the original hash value ; 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 is passed, and the final hash value is If the reference value generated by the hash chain in the original request matches, the identity of the user terminal device is confirmed to be valid and the result is recorded in the authentication status.

[0025] In this embodiment, the S32 specifically includes: S321: The authentication server extracts the public key of the user terminal device from the authentication request message. and digital signatures , 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 the hash chain : ; 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; 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 involves applying the inverse operation in the hash chain layer by layer, starting from the outermost layer. Combined with dynamically generated salt values To decrypt: ; in, Indicates the 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; S323, during the layer-by-layer decryption process, the authentication server verifies the hash value of each layer With the expected hash chain value consistency and perform inter-layer interleaving verification: ; in, Is the first one expected by the authentication server Layer hash chain value, Indicates the expected result of the operation 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.

[0026] In this embodiment, 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. The network resource extracts the issuing authority information from the digital certificate. , equipment identification And the validity of the access token ; S52. The network resource scores the extracted information using a multi-factor weighted verification algorithm: ; 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; S53, Comprehensive score of network resource calculation After that, the comprehensive score and the preset safety threshold For comparison, if , the access permission is granted; otherwise, the access request is denied and the relevant information is recorded.

[0027] In this embodiment, the S52 specifically includes: S521, network resources extract issuing agency information , equipment identification and the validity of access tokens Conduct individual scoring; S522, authoritative rating of the issuing agency : ; 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; S523, Equipment Identification Scoring The calculation combines the device's historical behavior data and dynamic safety factors: ; 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; S524. Timeliness score of access token : ; in, Indicates the maximum validity period of the token. Indicates the difference between the current access time and the token issuance time.

[0028] In this embodiment, S6 specifically includes: 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; S62, the network resource 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; S63, network resources and user terminal equipment will generate temporary key materials and Combined and generated using a multi-hash chain based algorithm to generate the final session key : ; in, The final generated session key; S64. Generated session key Confirmation and verification are carried out between the network resources and the user terminal equipment. After confirmation, both parties use Encrypt communication data.

[0029] In this embodiment, the S62 specifically includes: 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 combines the current network status, device behavior history and time factors,to calculate: ; ; 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 a 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 of the network resources and the user terminal device and Perform a preliminary encryption on the random number and dynamic security factor, and then perform a secondary encryption on the result: ; ; in, is the elliptic curve encryption algorithm, is the Advanced Encryption Standard algorithm, Represents a bitwise exclusive OR operation; 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: ; ; in, and are different hash functions, used to enhance the security of key materials. and It is the temporary key material generated by network resources and user terminal devices respectively.

[0030] A 5G network information security authority authentication system based on an asymmetric algorithm according to an embodiment of the present invention includes: 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; The authentication module 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. 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. 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 are completed, 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.

[0031] Example 1: Company B, a large telecommunications operator located in City A, China, has deployed the asymmetric algorithm-based 5G network information security authorization authentication system of the present invention. As a leading telecommunications service provider in China, Company B boasts nationwide 5G network infrastructure and provides high-speed mobile communication services to over 100 million users. Amid the rapid development of 5G networks, ensuring the security of user authentication and the reliability of authorization management has become a major challenge facing Company B in this next-generation communication network.

[0032] To improve network security, Company B introduced the 5G network information security authorization authentication system of the present invention into its core network. This system effectively improves the accuracy of user authentication and the dynamism of authorization management through multi-layer digital signatures, dynamic authorization management, and an improved session key negotiation algorithm.

[0033] In actual application, Company B selected five major commercial districts in Beijing as pilot areas. These areas have over 500,000 users connecting to the 5G network daily, involving a large number of mobile devices. Traditional identity authentication methods based on symmetric encryption suffer from high latency and low authentication accuracy when processing such a large number of user requests. To verify the effectiveness of the present invention, Company B deployed the system in these pilot areas and conducted a six-month test.

[0034] During the test, the system of the present invention provided each user terminal device with a unique encrypted identity 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 evaluates the user's access rights in real time through a multi-factor weighted verification algorithm. 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 generated is unique, thereby effectively preventing key replay attacks and man-in-the-middle attacks.

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

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

[0037] As shown in Table 1 above, the system of the present invention significantly improves the security and stability of 5G networks in practical applications. The average identity 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 concurrent access by large-scale users. The success rate of user identity authentication is increased from 95% to 99.5%, effectively reducing the error rate and failure rate in the identity authentication process. At the same time, the system of the present invention performs well in authority management, and the authority management error rate is reduced 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 stronger capabilities in preventing network attacks. In addition, the leakage rate of session keys is reduced from 0.8% to 0.1%, greatly reducing the security risks during data transmission.

[0038] By implementing the system, Company B not only verified its effectiveness but also further enhanced the security of its 5G network for its core business. The system's efficient authentication mechanism and robust rights management capabilities provide solid technical support for Company B's future nationwide rollout of 5G networks.

[0039] In summary, the present invention's 5G network information security authorization authentication system based on an asymmetric algorithm not only effectively solves the efficiency problem of large-scale concurrent user authentication, but also significantly improves the security and reliability of 5G networks through a multi-layered security mechanism. In complex network environments with high concurrency and high security requirements, this invention demonstrates significant advantages and provides a strong guarantee for the development of next-generation communication technologies.

[0040] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.

Claims

1. A 5G network information security authority authentication method based on an asymmetric algorithm, 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 the user terminal device requests access When connecting to the network, the private key is used to generate a multi-layer digital signature based on the hash chain, 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 pair The data in the network is transmitted encrypted.

2. 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 S2 specifically includes: S21. User terminal device generates a random number As a session identifier, the random number Used to identify the current communication session; S22, user terminal equipment for random number Perform hash operation to obtain hash value ,in Represents a hash function, which is used to generate a hash value of fixed length; S23, the user terminal device uses the private key of the user terminal device Hash value Perform signing operation and generate digital signature ; S24. The user terminal device generates a digital signature The corresponding public key Packaged together to form an authentication request message ; S25: Authentication request message Sent to the authentication server through a secure channel.

3. 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 S3 specifically includes: 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; 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 ; 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 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.

4. According to claim 3, a 5G network information security authority authentication method based on an asymmetric algorithm is characterized in that: The S32 specifically includes: 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 : ; 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; 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: ; 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; 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: ; 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.

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 in the digital certificate. , Equipment Identification And the validity of the access token ; S52. Network resources use a multi-factor weighted verification algorithm to score the extracted information: ; 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; 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.

6. A 5G network information security authority authentication method based on an asymmetric algorithm according to claim 5, characterized in that: The S52 specifically includes: S521, network resources extract the issuing agency information , Equipment Identification and the validity of the access token Conduct individual scoring; S522, authoritative rating of issuing institution : ; 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; S523, Equipment Identification Scoring The calculation combines the historical behavior data of the device and the dynamic safety factor: ; 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; S524. Timeliness score of access token : ; in, Indicates the maximum validity period of the token. Indicates the difference between the current access time and the token issuance time.

7. 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 S6 specifically includes: 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; 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; 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 : ; in, The final generated session key; S64. Generated session key Confirmation and verification are performed between network resources and user terminal devices. After confirmation, both parties use Encrypt communication data.

8. According to claim 7, a 5G network information security authority authentication method based on an asymmetric algorithm is characterized in that: The S62 specifically includes: 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: ; ; 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; 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: ; ; in, is the elliptic curve encryption algorithm, is the Advanced Encryption Standard algorithm, Represents a bitwise exclusive OR operation; 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: ; ; 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.

9. A 5G network information security authority authentication system based on an asymmetric algorithm, 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; Digital signature generation module, when the user terminal device requests access When connecting to the network, the private key is used to generate a multi-layer digital signature based on the hash chain, and the digital signature is sent to the authentication server together with the corresponding public key; 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; Data encryption module, using the generated session key pair The data in the network is transmitted encrypted.

Citation Information

Patent Citations

  • Methods and devices for testing signature verification for blockchain system

    CN110785783A

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

    CN114221770A

  • Blockchain transaction method and apparatus

    US20210160082A1

  • Computer implemented methods and systems for public key infrastructure and identity verification

    WO2024115139A1

Cited By

  • Data transmission method and system, electronic equipment and storage medium

    CN119363345A

  • Identity token management method, computer equipment and readable storage medium

    CN119449448A

  • Network security authentication system and method based on block chain

    CN119496621A

  • Security encryption method, device and product suitable for payment system

    CN119539807A

  • Edge computing gateway security authentication system and method based on trusted computing and asymmetric encryption

    CN119743251A