Authentication method, related equipment and storage medium
By using the base station blockchain certificate in the 6G network to authenticate the UE and the 6G base station, the problem of man-in-the-middle attacks on UE secure access in the 6G network is solved, and secure RRC connection establishment is achieved.
Patent Information
- Application Number
- CN202311378179.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2024-10-22
AI Technical Summary
Under the sixth generation mobile communication technology (6G) network architecture, there is no effective solution to ensure the safe access of user equipment (UE), especially in preventing man-in-the-middle attacks.
During the radio resource control (RRC) connection establishment process, the UE receives the signature information sent by the 6G base station and verifies the signature using the local base station blockchain certificate to determine the authenticity of the base station, thereby achieving authentication of the 6G base station. , to avoid man-in-the-middle attacks on pseudo base stations.
It effectively reduces the risk of man-in-the-middle attacks, ensures UE's safe access to the 6G network, and enhances network security.
Smart Images

Figure CN118828512A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to an authentication method, related equipment and storage medium. Background Art
[0002] The fifth generation mobile communication technology (5G) network has been commercially used worldwide. Among them, the 5G network has the characteristics of high speed, low latency and large connection, and can be applied to scenarios such as enhanced mobile broadband (eMBB), ultra-reliable low-latency communications (uRLLC) and massive machine type communications (mMTC). Figure 1 As shown in the figure, the 5G access architecture is the core component of the 5G network and an important cornerstone for the secure operation of the 5G network. Specifically, after the two-way authentication between the user equipment (UE) and the core network is completed, the transmitted signaling or data can be protected according to the derived key.
[0003] However, there is currently no effective solution to ensure secure access of UEs under the sixth-generation mobile communication technology (6G) network architecture. Summary of the invention
[0004] In order to solve the related technical problems, the embodiments of the present application provide an authentication method, related equipment and storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The embodiment of the present application provides an authentication method, which is applied to a UE, including:
[0007] In a process of establishing a radio resource control (RRC) connection, receiving first information sent by a sixth generation mobile communication technology 6G base station, wherein the first information includes signature information generated based on transmission information between the 6G base station and the 6G base station;
[0008] The 6G base station is authenticated using the second information and the first information, wherein the second information includes at least one local base station blockchain certificate.
[0009] In the above scheme, the method further comprises:
[0010] Sending third information and first authentication related information associated with the UE to the 6G base station, where the third information is used to request to establish an RRC connection;
[0011] Receive the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the fourth information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication related information, the fourth information, the sixth information, the seventh information and the second authentication related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0012] In the above scheme, the method further comprises:
[0013] When the 6G base station authentication is passed, a first key is generated using the first authentication related information and the second authentication related information, the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0014] In the above scheme, the first authentication related information includes at least a first random number and a first public key, the first public key is used for the 6G base station to generate the first key, the first public key includes the Diffie-Hellman key exchange (DH, Diffie-Hellman key exchange) public key or the elliptic curve Diffie-Hellman key exchange (ECDH, Elliptic Curve Diffie-Hellman key Exchange) public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes the DH public key or ECDH public key of the 6G base station; the generating of the first key by using the first authentication related information and the second authentication related information includes:
[0015] The first secret key is generated using the first random number, the second random number and the second public key.
[0016] In the above solution, when receiving the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the method further includes:
[0017] receiving fifth information sent by the 6G base station, where the fifth information includes verification information of the first key;
[0018] The first key is verified using the fifth information.
[0019] In the above scheme, the method further comprises:
[0020] When the 6G base station authentication is passed, verifying the 6G base station using the sixth information;
[0021] If the verification fails, the established RRC connection is disconnected.
[0022] In the above solution, the step of authenticating the 6G base station by using the second information and the first information includes:
[0023] Determine the base station blockchain certificate corresponding to the seventh information from the second information, and authenticate the 6G base station using the determined base station blockchain certificate and the first information.
[0024] In the above solution, the determined base station blockchain certificate includes at least a second key associated with the 6G base station, and the authenticating the 6G base station using the determined base station blockchain certificate and the first information includes:
[0025] Using the second key to perform signature verification processing on the first information to obtain a verification result;
[0026] When the verification result indicates that the verification has passed, it is determined that the 6G base station authentication has passed.
[0027] In the above scheme, the determined base station blockchain certificate includes at least one of the following:
[0028] Eighth information, where the eighth information is used to identify the 6G base station;
[0029] Ninth information, the ninth information including operator information of the 6G base station;
[0030] a second key, wherein the second key is associated with the 6G base station;
[0031] Tenth information, the tenth information including validity period information of the determined base station blockchain certificate;
[0032] The eleventh information includes status information of the determined base station blockchain certificate.
[0033] In the above scheme, at least one base station blockchain certificate in the second information is written into the blockchain.
[0034] The embodiment of the present application also provides an authentication method, which is applied to a 6G base station, including:
[0035] During the RRC connection establishment process, first information is sent to the UE, where the first information includes signature information generated based on the interaction information between the UE and the UE.
[0036] In the above scheme, the method further comprises:
[0037] receiving third information sent by the UE and first authentication related information associated with the UE, where the third information is used to request to establish an RRC connection;
[0038] The fourth information and the second authentication-related information associated with the 6G base station are sent to the UE, the third information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication-related information, the fourth information, the sixth information, the seventh information and the second authentication-related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0039] In the above scheme, the method further comprises:
[0040] When the 6G base station authentication is passed, a first key is generated using the first authentication related information and the second authentication related information, the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0041] The embodiment of the present application further provides a UE, comprising: a first processor and a first communication interface; wherein,
[0042] The first communication interface is used to receive first information sent by a 6G base station during the process of establishing an RRC connection, where the first information includes signature information generated based on transmission information between the 6G base station and the 6G base station;
[0043] The first processor is used to authenticate the 6G base station using second information and the first information, wherein the second information includes at least one local base station blockchain certificate.
[0044] The embodiment of the present application also provides a 6G base station, including: a second processor and a second communication interface; wherein,
[0045] The second communication interface is used to send first information to the UE during the process of establishing the RRC connection, where the first information includes signature information generated based on the interactive information between the UE and the UE.
[0046] The embodiment of the present application further provides a UE, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
[0047] The first processor is used to execute the steps of any of the above-mentioned UE-side methods when running the computer program.
[0048] The embodiment of the present application further provides a 6G base station, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
[0049] Among them, when the second processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the 6G base station side.
[0050] An embodiment of the present application also provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods on the UE side are implemented, or the steps of any of the above-mentioned methods on the 6G base station side are implemented.
[0051] The authentication method, related equipment and storage medium provided in the embodiment of the present application, during the process of establishing an RRC connection, the UE receives the first information sent by the sixth-generation mobile communication technology 6G base station, the first information includes signature information generated based on the transmission information between the 6G base station; the 6G base station is authenticated using the second information and the first information, the second information includes at least one local base station blockchain certificate. The technical solution provided in the embodiment of the present application, in the RRC establishment process, after the 6G base station signs the information interacting with the UE, it transmits the signature to the UE; the UE verifies the signature using the local blockchain certificate to determine the authenticity of the base station, so that it can prevent attackers (such as fake base stations) from performing man-in-the-middle attacks between the UE and the 6G base station, thereby ensuring the secure access of the UE. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a structural diagram of a 5G access architecture;
[0053] Figure 2 It is a flowchart of a 5G access method in the related art;
[0054] Figure 3 This is a schematic diagram of a method flow for authentication according to an embodiment of the present application;
[0055] Figure 4 This is a schematic diagram of the structure of a base station blockchain certificate for this application example;
[0056] Figure 5 A flowchart of a method for authenticating a 6G base station for an application example of this application;
[0057] Figure 6 This is a schematic diagram of the structure of the first authentication device in the embodiment of the present application;
[0058] Figure 7 This is a schematic diagram of the structure of the second authentication device in the embodiment of the present application;
[0059] Figure 8 This is a schematic diagram of the UE structure of an embodiment of the present application;
[0060] Fig. 9 This is a schematic diagram of the structure of a 6G base station in an embodiment of the present application;
[0061] Fig.10 This is a schematic diagram of the authentication system structure of the present application embodiment. DETAILED DESCRIPTION
[0062] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0063] exist Figure 1 Under the 5G access architecture shown, after the UE and the core network complete bidirectional authentication based on the authentication algorithm (such as the 5G Authentication and Key Agreement (AKA) or the Extensible Authentication Protocol-Authentication and KeyAgreement (EAP-AKA) based on the authentication and key agreement protocol), they can protect the AS signaling (such as RRC signaling) and NAS signaling according to the derived key respectively; wherein the protection may include at least one of integrity protection, anti-replay attack protection or confidentiality protection. In the case where the NAS signaling is securely protected by the derived key, the NAS signaling can also be protected again by IPsec on the backhaul link. In addition, for the UP data transmitted between the UE and the 5G base station (gNB), the UP data can be protected by the derived key, and the protection includes at least one of integrity protection, confidentiality protection and anti-replay attack protection; for the UP data transmitted between the 5G base station and the user plane function (UPF) of the core network, the UP data can be protected by IPsec on the backhaul link.
[0064] In practical application, such as Figure 2 As shown, the process of UE accessing the 5G network includes the following steps:
[0065] Step 201: The UE receives the system message broadcast regularly by the 5G base station, and can obtain the relevant information of the AS layer and the NAS layer; selects a 5G base station for connection according to the relevant information obtained; wherein, the 5G base station with a strong signal can be selected for connection according to the strength of the signal; then, step 202 is executed;
[0066] Step 202: The UE establishes a connection with the selected 5G base station based on an RRC establishment process;
[0067] First, the UE first sends an RRC establishment request (RRCSetupRequest in English) message to the 5G base station, and the RRC establishment request message carries the RRC establishment reason and the UE initial identifier; then, the 5G base station establishes context information for the UE and performs bearer 1 (SRB1, Signaling Radio Bearer1) resource access and resource allocation, and returns an RRC establishment response (RRCSetupResponse in English) message to the UE, and the RRC establishment response message carries context information and SRB1 resource access and resource allocation related information; the UE performs wireless resource configuration according to the SRB1 resource information indicated by the RRC establishment response message, and sends an RRC establishment completion (RRCSetupComplete in English) message to the 5G base station to inform that the RRC connection is successful. The RRC establishment completion message can carry relevant information of the UE and can also carry a registration request (Registration Request in English); the registration request can include a user hidden identifier (SUCI, Subscriptionconcealed identifier).
[0068] Step 203: After the RRC connection is completed, the UE and the core network perform two-way authentication based on 5G AKA or EAP-AKA;
[0069] In actual application, the 5G base station sends SUCI to the Unified Data Management (UDM) of the 5G core network; UDM decrypts SUCI to obtain the Subscription Permanent Identifier (SUPI) and starts the authentication process according to SUPI; specifically, UDM can determine whether to use 5G AKA or EAP-AKA authentication protocol based on the description (expressed as profile in English) information of the UE, and generate the corresponding authentication vector based on the determined authentication algorithm; UDM forwards the authentication vector to the Authentication Server Function (AUSF) and the Access and Mobility Management Function (AMF). AMF transparently transmits the authentication vector to the UE through the 5G base station; after the UE receives the authentication vector through the air interface, it uses the received authentication vector to authenticate the AUSF and returns the authentication response to the 5G core network.
[0070] When using 5G AKA, AMF and AUSF authenticate the UE by verifying the authentication response; when using EAP-AKA, AUSF authenticates the UE by verifying the authentication response. In this way, two-way authentication can be achieved between the UE and the AUSF of the 5G core network, and at the same time, the UE and AMF can derive the same key KAMF.
[0071] Step 204: After the two-way authentication is completed, the AMF starts the secure command mode process of NAS signaling with the UE to protect the UE registration request message from being tampered with by an attacker. At the same time, the AMF can negotiate with the UE to determine the cryptographic algorithm used to protect the NAS signaling and execute step 205.
[0072] Step 205: The UE and AMF use the negotiated cryptographic algorithm and the NAS key derived from the key KAMF to securely protect the NAS signaling, and then execute step 206.
[0073] Step 206: The 5G base station initiates the AS security command mode process with the UE to negotiate the cryptographic algorithm for protecting RRC signaling and UP data, and at the same time, activates the protection of RRC signaling.
[0074] Step 207: The UE and the 5G base station use the negotiated cryptographic algorithm and the RRC key and UP key derived from the key KAMF to securely protect the RRC signaling and UP data respectively.
[0075] From the above description, it can be seen that the 5G access architecture provides high security, such as SUPI encryption to protect user privacy, AUSF authentication to enhance the control of the home network over the user, etc. However, the 5G access architecture still has security issues; specifically, when the UE accesses, it authenticates the AUSF of the 5G core network instead of the 5G base station. Therefore, an attacker may use a 5G fake base station to implement a man-in-the-middle attack between the UE and the gNB, making it difficult to ensure the secure access of the UE.
[0076] Based on this, in various embodiments of the present application, under the 6G network architecture, during the RRC connection establishment process, the UE authenticates the 6G base station based on the base station blockchain certificate and signature information. This can reduce the risk of man-in-the-middle attacks by attackers, thereby ensuring secure access to the UE.
[0077] The present application embodiment provides an authentication method, which is applied to UE, such as Figure 3 As shown, the method includes:
[0078] Step 301: During the process of establishing an RRC connection, first information sent by a 6G base station is received, where the first information includes signature information generated based on transmission information between the 6G base station and the 6G base station;
[0079] Step 302: Authenticate the 6G base station using the second information and the first information, where the second information includes at least one local base station blockchain certificate.
[0080] In actual application, the UE can be called a terminal, a terminal device, a device or a user, etc. The embodiment of the present application does not limit the name of the terminal as long as its function is realized.
[0081] In addition, the 6G base station refers to a base station in a 6G network. It should be noted that the 6G network needs to be defined according to the development of technology, and the embodiments of the present application do not limit this.
[0082] In an embodiment of the present application, the base station blockchain certificate is a custom certificate type; wherein the base station blockchain certificate may include information such as the base station name, operator name, public key, validity period and certificate status.
[0083] In actual application, the base station blockchain certificate can be written into the blockchain to ensure the reliability and authenticity of the base station blockchain certificate through the blockchain.
[0084] Specifically, in one embodiment, at least one base station blockchain certificate in the second information is written into the blockchain.
[0085] Here, in actual application, after the operator generates the at least one base station blockchain certificate, it can write the at least one base station blockchain certificate into the blockchain through one or more accounting nodes on the blockchain (also known as the alliance chain) based on the consensus mechanism, and pre-store the blockchain to the UE, so that the UE can subsequently authenticate the 6G base station based on the at least one local base station blockchain certificate.
[0086] In actual application, before step 301, the UE can select a 6G base station according to preset rules (such as signal strength), and send an RRC connection establishment request to the selected 6G base station to request to establish an RRC connection.
[0087] Based on this, in one embodiment, the method may further include:
[0088] Sending third information and first authentication related information associated with the UE to the 6G base station, where the third information is used to request to establish an RRC connection;
[0089] Receive the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the fourth information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication related information, the fourth information, the sixth information, the seventh information and the second authentication related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0090] Among them, in actual application, the seventh information includes the name of the 6G base station, which can distinguish different 6G base stations globally, that is, it can be understood as a unique identifier.
[0091] Here, after the UE generates the first authentication-related information, it can send the first authentication-related information and the third information to the 6G base station to request the establishment of an RRC connection; after the 6G base station receives the first authentication-related information and the third information, it generates the second authentication-related information, and at the same time, determines the fourth information, the sixth information and the seventh information; then, the 6G base station uses a private key to sign the third information, the first authentication-related information, the fourth information, the sixth information, the seventh information and the second authentication-related information to obtain the first information, and returns the first information to the UE, so that the UE can authenticate the 6G base station based on the first information.
[0092] In actual application, after receiving the first information, the UE can authenticate the 6G base station.
[0093] Specifically, in one embodiment, the specific implementation process of step 302 includes:
[0094] Determine the base station blockchain certificate corresponding to the seventh information from the second information, and authenticate the 6G base station using the determined base station blockchain certificate and the first information.
[0095] In actual application, since the seventh information can identify the 6G base station, the UE can use the seventh information to determine the base station blockchain certificate of the 6G base station from the at least one base station blockchain certificate; wherein, in one embodiment, the determined base station blockchain certificate may include at least one of the following: eighth information, the eighth information is used to identify the 6G base station; ninth information, the ninth information includes the operator information of the 6G base station; a second key, the second key is associated with the 6G base station; tenth information, the tenth information includes the validity period information of the determined base station blockchain certificate; eleventh information, the eleventh information includes the status information of the determined base station blockchain certificate.
[0096] Here, since the first information is generated by the 6G base station using a private key to sign the information transmitted to the UE, the UE can use the public key of the 6G base station in the base station blockchain certificate to verify the first information to achieve authentication of the 6G base station.
[0097] Specifically, in one embodiment, the determined base station blockchain certificate includes at least a second key associated with the 6G base station, and the authenticating the 6G base station using the determined base station blockchain certificate and the first information includes:
[0098] Using the second key to perform signature verification processing on the first information to obtain a verification result;
[0099] When the verification result indicates that the verification has passed, it is determined that the 6G base station authentication has passed.
[0100] Exemplarily, the 6G base station performs a signature operation on the third information, the first authentication-related information, the fourth information, the sixth information, the seventh information and the second authentication-related information based on the signature generation algorithm and private key in the signature algorithm (such as the elliptic curve digital signature algorithm (ECDSA)) to obtain the first information, and sends the first information to the UE; after receiving the first information, the UE uses the second key (i.e., the public key of the 6G base station) and the signature verification algorithm in the signature algorithm to perform signature verification on the first information to obtain a verification result, and determines whether the 6G base station has passed the authentication based on the verification result.
[0101] Here, when the 6G base station authentication fails, it indicates that the 6G base station may be an attacker. At this time, the UE may stop transmitting signaling and / or data with the 6G base station to avoid leakage of signaling and / or data.
[0102] In actual application, after determining that the authentication of the 6G base station is passed, the UE can also use the location information of the 6G base station to further determine whether the distance to the 6G base station is reasonable, thereby determining whether there is a relay attack by an attacker (such as a fake base station).
[0103] Based on this, in one embodiment, the method may further include:
[0104] When the 6G base station authentication is passed, verifying the 6G base station using the sixth information;
[0105] If the verification fails, the established RRC connection is disconnected.
[0106] In actual application, after the 6G base station is authenticated, the UE can also obtain the twelfth information through a relevant positioning system (such as a global positioning system (GPS), where the twelfth information includes the location information of the UE; using the sixth information and the twelfth information, determine the distance between the UE and the 6G base station, and compare the determined distance with a preset threshold; wherein the value of the preset threshold can be set as needed, and the embodiment of the present application is not limited to this.
[0107] If the determined distance is greater than or equal to the preset threshold, it means that the distance to the 6G base station is not within a reasonable range, that is, the verification fails. At this time, the UE can interrupt the established RRC connection to avoid the relay attack of the fake base station; if the determined distance is less than the preset threshold, it means that the distance to the 6G base station is within a reasonable range, that is, the verification passes. At this time, the UE can maintain the established RRC connection.
[0108] In related technologies, under the 5G network architecture, before initiating security protection of information, attackers may replay, forward, or tamper with information transmitted between UE and 5G base stations, resulting in security risks.
[0109] Therefore, after completing the authentication of the 6G base station, the UE can also generate an air interface key shared with the 6G base station to protect the subsequently transmitted information and avoid any attacks by attackers on the information transmitted between the UE and the 6G base station.
[0110] Based on this, in one embodiment, the method may further include:
[0111] When the 6G base station authentication is passed, a first key is generated using the first authentication related information and the second authentication related information, the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0112] In actual application, after determining that the 6G base station authentication is passed, the UE can send the thirteenth information to the 6G base station to inform the 6G base station that the authentication is passed. At the same time, the UE can also negotiate with the 6G base station on the method of generating the first key, so that the UE can generate a first key shared with the 6G base station; that is, the UE and the 6G base station respectively generate the first key based on the transmitted information, and the first key on the UE side is the same as the first key on the 6G base station side.
[0113] Specifically, in one embodiment, the first authentication related information includes at least a first random number and a first public key, the first public key is used for the 6G base station to generate the first key, the first public key includes the DH public key or ECDH public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes the DH public key or ECDH public key of the 6G base station; the generating the first key by using the first authentication related information and the second authentication related information includes:
[0114] The first secret key is generated using the first random number, the second random number and the second public key.
[0115] Here, when the UE generates the first authentication-related information, it can generate a first public-private key pair, i.e., a first public key and a first private key, through a DH or ECDH algorithm; store the first private key locally, and send the first public key to the 6G base station, so that the 6G base station can generate the first key. Correspondingly, when the 6G base station generates the second authentication-related information, it can generate a second public-private key pair, i.e., a second public key and a second private key, through a DH or ECDH algorithm; store the second private key locally, and send the second public key to the UE, so that the UE can generate the first key.
[0116] Exemplarily, in the scenario where the first public key is a DH public key and the second public key is a DH public key, the UE generates a shared key with the 6G base station based on the stored first private key (i.e., DH private key) and the second public key (i.e., the DH public key of the 6G base station); based on the shared key, the first random number, and the second random number, the first key can be generated. Correspondingly, the 6G base station generates a shared key with the UE based on the stored second private key (i.e., DH private key) and the first public key (i.e., the DH public key of the UE); based on the shared key, the first random number, and the second random number, the first key can be generated.
[0117] It can be seen from the above description that the UE generates a shared key based on the first private key and the DH public key of the 6G base station, and the 6G base station generates a shared key based on the second private key and the DH public key of the UE; in this case, based on the characteristics of the DH or ECDH public-private key pair (which can also be understood as the mechanism of the DH or ECDH algorithm), it can ensure that the shared key generated by the UE is the same as the shared key generated by the 6G base station. On this basis, combined with the random numbers transmitted by the UE and the 6G base station, the first key on the UE side can be made the same as the first key on the 6G base station side.
[0118] In actual application, in order to ensure the consistency of the first key on the 6G base station side and the first key on the UE side, the UE can verify the generated first key.
[0119] Based on this, in one embodiment, when receiving the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the method further includes:
[0120] receiving fifth information sent by the 6G base station, where the fifth information includes verification information of the first key;
[0121] The first key is verified using the fifth information.
[0122] In actual application, after the 6G base station generates the first key, the signature information can be subjected to a verification code operation by using the first key and a verification code algorithm (such as a Cipher Block Chaining-Advanced Encryption Standard (CBC-AES) algorithm) on the 6G base station side to generate verification information of the first key, and the verification information of the first key, i.e., the fifth information, is sent to the UE; wherein the formula for generating the fifth information can be expressed as:
[0123] MAC BS =MAC(Kair, Sign) (1)
[0124] Among them, MAC represents the verification code algorithm, Kair represents the first key, Sign represents the signature information, MAC BS Indicates verification information of the first key.
[0125] Here, after the UE receives the verification information of the first key sent by the 6G base station, the verification code operation is performed on the signature information through the first key and verification code algorithm on the UE side, and the verification information of the first key can be generated; by comparing the received verification information with the generated verification information, the verification of the first key can be realized.
[0126] Specifically, when the received verification information and the generated verification information are the same, the UE can determine that the first key on the UE side is the same as the first key on the 6G base station side. In this case, the UE can protect the signaling (such as RRC signaling or NAS signaling) or user plane (UP, User Plane) data transmitted with the 6G base station based on the first key; wherein, a secure channel with the 6G base station can be constructed based on the first key to protect the transmitted signaling or UP data through the secure channel.
[0127] In the case where the received verification information is different from the generated verification information, the UE can determine that the first key on the UE side is different from the first key on the 6G base station side. In this case, the UE can send the fourteenth information to the 6G base station to inform the 6G base station that the first key on the UE side is different from the first key on the 6G base station side. At the same time, the UE can request to retransmit the first authentication related information and the second authentication related information with the 6G base station to regenerate the first key; or, the UE can stop transmitting signaling or UP data with the 6G base station, which is not limited in this embodiment of the present application.
[0128] Accordingly, an embodiment of the present application further provides an authentication method, which is applied to a 6G base station, and the method includes:
[0129] During the RRC connection establishment process, first information is sent to the UE, where the first information includes signature information generated based on the interaction information between the UE and the UE.
[0130] In one embodiment, the method may further include:
[0131] receiving third information sent by the UE and first authentication related information associated with the UE, where the third information is used to request to establish an RRC connection;
[0132] The fourth information and the second authentication-related information associated with the 6G base station are sent to the UE, the third information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication-related information, the fourth information, the sixth information, the seventh information and the second authentication-related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0133] In one embodiment, the method may further include:
[0134] When the 6G base station authentication is passed, a first key is generated using the first authentication related information and the second authentication related information, the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0135] In one embodiment, the first authentication related information includes at least a first random number and a first public key, the first public key includes a DH public key or an ECDH public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes a DH public key or an ECDH public key of the 6G base station, and the second public key is used for the UE to generate the first key; the generating the first key by using the first authentication related information and the second authentication related information includes:
[0136] The first secret key is generated using the first random number, the second random number, and the first public key.
[0137] In the authentication method provided by the embodiment of the present application, during the process of establishing an RRC connection, the UE receives the first information sent by the sixth-generation mobile communication technology 6G base station, the first information includes signature information generated based on the transmission information between the 6G base station and the 6G base station; the second information and the first information are used to authenticate the 6G base station, the second information includes at least one local base station blockchain certificate. In the technical solution provided by the embodiment of the present application, during the RRC establishment process, the 6G base station signs the information interacted with the UE and transmits the signature to the UE; the UE verifies the signature using the local blockchain certificate to determine the authenticity of the base station, so that attackers (such as fake base stations) can be prevented from performing man-in-the-middle attacks between the UE and the 6G base station, thereby ensuring the secure access of the UE.
[0138] The present application is described in further detail below in conjunction with application examples.
[0139] In this application example, a scheme for authenticating 6G base stations based on base station blockchain certificates is proposed; specifically, in the RRC establishment process, the 6G base station uses a private key to sign the message exchanged between the UE and the 6G base station to obtain signature information (i.e., the first information mentioned above); the UE uses the public key stored in the local base station blockchain certificate to verify the signature information, thereby determining the authenticity of the base station. At the same time, the UE and the base station perform DH public key or ECDH public key exchange to generate a shared air interface key Kair (i.e., the first key mentioned above), and build an air interface security channel based on Kair.
[0140] Here, the base station blockchain certificate does not contain the signature of the certificate information. This is because the authenticity and reliability of the base station blockchain certificate are guaranteed by the blockchain, not by the digital signature of a third party. Since the base station blockchain certificate only protects necessary information, the size of the base station blockchain certificate is small, that is, the base station blockchain certificate occupies less storage resources, which is convenient for subsequent UEs to store the base station blockchain certificate; Figure 4 As shown, the format of the base station blockchain certificate may include:
[0141] The base station name is used to distinguish different base stations worldwide. In the 5G network architecture, the base station name can include the global base station identifier (which can be expressed as Global gNB ID in English).
[0142] Operator name, used to distinguish different operators;
[0143] Public key, used to verify the signature of the 6G base station; the public key is generated by the certificate applicant (i.e. the operator), and the corresponding private key is stored locally by the certificate applicant;
[0144] Validity period, which indicates the time when the certificate can be used and the time when it becomes invalid;
[0145] Certificate status, including valid status and invalid status.
[0146] In actual application, after the operator generates a base station blockchain certificate and sets the status of the base station blockchain certificate to a valid state, the base station blockchain certificate is written into the alliance chain (i.e., blockchain) through one or more accounting nodes on the alliance chain (i.e., blockchain) based on a consensus mechanism; when the UE applies for the operator's services, the alliance chain is stored in the UE's hardware system, thereby realizing the issuance of the base station blockchain certificate.
[0147] Specifically, Figure 5 As shown, the process of UE authenticating 6G base station based on base station blockchain certificate includes the following steps:
[0148] Step 501: The UE receives the system message broadcast regularly by the 6G base station, obtains the AS layer and NAS layer information; selects a 6G base station for connection according to a preset rule (such as signal strength), and then executes step 502;
[0149] Step 502: The UE sends an RRC connection establishment request (RRCSetupRequest in English) (i.e., the third information mentioned above) to the selected 6G base station;
[0150] Here, the UE generates a one-time random number N UE (i.e. the first random number mentioned above) and the DH public-private key pair (including SK UE and DH UE (i.e. the first public key mentioned above)), an RRC connection establishment request is sent to the 6G base station; wherein SK UE is the DH private key, DH UE is the DH public key; the RRC connection establishment request carries the message unit M UE DH UE and N UE , M UE Establish relevant information for RRC connection, such as establishment reason, UE identity, etc. UE It is the DH public key.
[0151] Step 503: After receiving the RRC connection establishment request, the 6G base station sends an RRC connection establishment response (which can be expressed as RRCSetupResponse in English) to the UE;
[0152] In actual application, the 6G base station generates a one-time random number N BS (i.e. the second random number mentioned above), DH public-private key pair (including SK BS and DH BS (ie the second public key mentioned above)) and the connection unit M BS , and determine the base station location information (LAIBS, LocAtionInformation of Base Station) (ie the sixth information mentioned above) and the base station name ID BS (i.e. the seventh information mentioned above), M BS SK is the RRC connection response related information (ie, the fourth information mentioned above), such as the allocated resource information, etc. BS is the DH private key, DH BS It is the DH public key. Use the public key PUK in the base station blockchain certificate BS The corresponding private key PRK BS M in the RRC connection establishment request UE DH UE and N UE and M BS DH BS 、LAIBS、ID BS and N BS Sign and generate signature information Sign; the formula of Sign can be expressed as:
[0153] Sign = Alg(PRK BS , M UE ‖DH UE ‖N UE ‖M BS ‖DH BS ‖LAI BS ‖ID BS ‖N BS ); (2)
[0155] Among them, Alg represents the signature algorithm, and ‖ represents the string concatenation.
[0156] Then, the 6G base station returns an RRC connection establishment response to the UE, and the RRC connection establishment response carries M BS DH BS ,LAIBS,N BS 、ID BS and Sign.
[0157] In addition, the 6G base station uses its own DH private key SK BS And the received UE's DH public key DH UE , generate the shared key K between UE and base station DH ; Based on KDH And the one-time random number exchanged between UE and 6G base station (specifically including N BS and N UE ), generate the air interface key Kair to protect the air interface message transmitted subsequently; wherein, the formula of Kair can be expressed as:
[0158] Kair=KDF(K DH , N BS ‖N UE ); (3)
[0159] Here, KDF represents a key derivation function, such as HMAC-SHA256.
[0160] In actual application, in order to enable the UE to verify Kair to ensure the consistency of Kair generated by the UE and the 6G base station, the 6G base station can also use Kair to perform a verification code operation on Sign based on formula (1) to obtain the verification information MAC on the 6G base station side (that is, the fifth information mentioned above); send MAC to the UE through the RRC connection establishment response; that is, the RRC connection establishment response also carries MAC.
[0161] Step 504: After receiving the RRC connection establishment response, the UE BS Determine the corresponding base station blockchain certificate from the base station blockchain certificate chain (i.e., the second information mentioned above); verify the Sign using the public key of the base station blockchain certificate to authenticate the 6G base station; after the authentication is completed, send an RRC setup completion message (which can be expressed as RRCSetupComplete in English) to the 6G base station;
[0162] Here, in actual application, after the 6G base station authentication is passed, the UE can compare its own location information with the received LAIBS. If the distance between the two is not within a reasonable range (for example, not within the range of a preset threshold), the RRC connection established with the 6G base station is interrupted to prevent relay attacks by fake base stations.
[0163] In addition, UE uses its own DH private key SK UE And the received DH public key DH of the base station BS , generate the shared key K between UE and base station DH ; Based on the shared key K DH And the one-time random number exchanged between UE and base station (specifically including N BS and N UE ), and generate the air interface key Kair using formula (3).
[0164] Then, based on formula (1), the UE uses Kair to perform a verification code operation on the Sign to generate MAC'; by comparing MAC' and MAC, if the two match, the UE can determine that the Kair generated on the UE side is the same as the Kair generated on the 6G base station side, and then execute step 505.
[0165] Step 505: The UE and the 6G base station construct an air interface security channel based on Kair to protect the RRC signaling, NAS signaling and UP data transmitted on the air interface.
[0166] Among them, UP data can be protected as needed.
[0167] From the above description, it can be seen that this application example uses the DH key exchange algorithm to generate a DH public-private key pair. In addition, the ECDH key exchange algorithm can also be used to generate an ECDH public-private key pair, and based on the above process, the 6G base station can be authenticated and Kair shared with the 6G base station can be generated.
[0168] In this application example, the UE uses the base station block certificate chain stored locally to verify the signature, which can determine the authenticity of the base station, that is, it realizes the authentication of the base station; at the same time, building an air interface security channel based on the shared air interface key can prevent any attacks launched by attackers (such as fake base stations) between the UE and the 6G base station, thereby realizing UE's 6G secure access.
[0169] In addition, during the 6G base station authentication process, since the 6G base station only needs to transmit the globally unique name of the base station to the UE, but does not need to transmit the entire base station blockchain certificate to the UE, it can greatly reduce the consumption of wireless bandwidth and help reduce the energy consumption of UE and 6G base stations; among which, energy consumption is directly proportional to wireless bandwidth.
[0170] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an authentication device, which is set on the UE, such as Figure 6 As shown, the device comprises:
[0171] The first receiving unit 601 is used to receive first information sent by a 6G base station during the process of establishing an RRC connection, where the first information includes signature information generated based on transmission information between the 6G base station and the 6G base station;
[0172] The authentication unit 602 is used to authenticate the 6G base station using second information and the first information, wherein the second information includes at least one local base station blockchain certificate.
[0173] In one embodiment, the device further includes: a first sending unit; wherein,
[0174] The first sending unit is used to send third information and first authentication related information associated with the UE to the 6G base station, where the third information is used to request to establish an RRC connection;
[0175] The first receiving unit is further used to receive fourth information sent by the 6G base station and second authentication related information associated with the 6G base station, the fourth information is used to indicate resources configured for the RRC connection, the first information is based on the third information, the first authentication related information, the fourth information, the sixth information, the seventh information and the second authentication related information, and is generated by performing a signature operation using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0176] In one embodiment, the authentication unit 602 is also used to generate a first key using the first authentication related information and the second authentication related information when the 6G base station authentication is passed, and the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0177] In one embodiment, the first authentication related information includes at least a first random number and a first public key, the first public key is used for the 6G base station to generate the first key, the first public key includes the DH public key or ECDH public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes the DH public key or ECDH public key of the 6G base station, and the authentication unit 602 is used to:
[0178] The first secret key is generated using the first random number, the second random number and the second public key.
[0179] In one embodiment, the first receiving unit 601 is further configured to receive fifth information sent by the 6G base station, where the fifth information includes verification information of the first key;
[0180] Correspondingly, the authentication unit 602 is further configured to verify the first key using the fifth information.
[0181] In one embodiment, the authentication unit 602 is further configured to:
[0182] When the 6G base station authentication is passed, verifying the 6G base station using the sixth information;
[0183] If the verification fails, the established RRC connection is disconnected.
[0184] In one embodiment, the authentication unit 602 is used to determine the base station blockchain certificate corresponding to the seventh information from the second information, and authenticate the 6G base station using the determined base station blockchain certificate and the first information.
[0185] In one embodiment, the determined base station blockchain certificate includes at least a second key associated with the 6G base station, and the authentication unit 602 is used to:
[0186] Using the second key to perform signature verification processing on the first information to obtain a verification result;
[0187] When the verification result indicates that the verification has passed, it is determined that the 6G base station authentication has passed.
[0188] In actual application, the first receiving unit 601 and the first sending unit can be implemented by a communication interface in the authentication device; the authentication unit 602 can be implemented by a processor in the authentication device in combination with a communication interface.
[0189] In order to implement the method on the 6G base station side of the embodiment of the present application, the embodiment of the present application also provides an authentication device, which is set on the 6G base station, such as Figure 7 As shown, the device comprises:
[0190] The second sending unit 701 is used to send first information to the UE during the process of establishing the RRC connection, where the first information includes signature information generated based on the interactive information between the UE and the UE.
[0191] In one embodiment, the device further includes: a second receiving unit 702; wherein,
[0192] The second receiving unit 702 is further configured to receive third information sent by the UE and first authentication related information associated with the UE, wherein the third information is used to request to establish an RRC connection;
[0193] Correspondingly, the second sending unit 701 is also used to send fourth information and second authentication related information associated with the 6G base station to the UE, the third information is used to indicate the resources configured for the RRC connection, the first information is based on the third information, the first authentication related information, the fourth information, the sixth information, the seventh information and the second authentication related information using the private key of the 6G base station for signature operation, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0194] In one embodiment, the device further includes: a generating unit; wherein,
[0195] The generating unit is used to generate a first key using the first authentication related information and the second authentication related information when the 6G base station authentication is passed, wherein the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0196] In one embodiment, the first authentication related information includes at least a first random number and a first public key, the first public key includes a DH public key or an ECDH public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes a DH public key or an ECDH public key of the 6G base station, the second public key is used for the UE to generate the first key, and the generating unit is used to:
[0197] The first secret key is generated using the first random number, the second random number, and the first public key.
[0198] In actual application, the second sending unit 701 and the second receiving unit 802 can be implemented by a communication interface in the authentication device; and the generating unit can be implemented by a processor in the authentication device.
[0199] It should be noted that: when the authentication device provided in the above embodiment performs authentication, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the authentication device provided in the above embodiment and the authentication method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0200] Based on the hardware implementation of the above program modules, and in order to implement the method on the UE side of the embodiment of the present application, the embodiment of the present application also provides a UE, such as Figure 8 As shown, the UE 800 includes:
[0201] The first communication interface 801 is capable of exchanging information with a 6G base station;
[0202] A first processor 802 is connected to the first communication interface 801 to implement information interaction with a 6G base station, and is used to execute the method provided by one or more technical solutions on the UE side when running a computer program;
[0203] A first memory 803 , in which the computer program is stored.
[0204] Specifically, the first communication interface 801 is used to receive first information sent by a 6G base station during the process of establishing an RRC connection, where the first information includes signature information generated based on transmission information between the 6G base station and the 6G base station;
[0205] The first processor 802 is used to authenticate the 6G base station using second information and the first information, where the second information includes at least one local base station blockchain certificate.
[0206] In one embodiment, the first communication interface 801 is further used for:
[0207] Sending third information and first authentication related information associated with the UE to the 6G base station, where the third information is used to request to establish an RRC connection;
[0208] Receive the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the fourth information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication related information, the fourth information, the sixth information, the seventh information and the second authentication related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0209] In one embodiment, the first processor 802 is further used to generate a first key using the first authentication related information and the second authentication related information when the 6G base station authentication is passed, the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0210] In one embodiment, the first authentication related information includes at least a first random number and a first public key, the first public key is used for the 6G base station to generate the first key, the first public key includes the DH public key or ECDH public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes the DH public key or ECDH public key of the 6G base station, and the first processor 802 is used to:
[0211] The first secret key is generated using the first random number, the second random number and the second public key.
[0212] In one embodiment, the first processor 802 is further configured to:
[0213] Receiving, through the first communication interface 801, fifth information sent by the 6G base station, the fifth information including verification information of the first key;
[0214] The first key is verified using the fifth information.
[0215] In one embodiment, the first processor 802 is further configured to:
[0216] When the 6G base station authentication is passed, verifying the 6G base station using the sixth information;
[0217] If the verification fails, the established RRC connection is disconnected.
[0218] In one embodiment, the first processor 802 is used to determine a base station blockchain certificate corresponding to the seventh information from the second information, and authenticate the 6G base station using the determined base station blockchain certificate and the first information.
[0219] In one embodiment, the determined base station blockchain certificate includes at least a second key associated with the 6G base station, and the first processor 802 is configured to:
[0220] Using the second key to perform signature verification processing on the first information to obtain a verification result;
[0221] When the verification result indicates that the verification has passed, it is determined that the 6G base station authentication has passed.
[0222] It should be noted that the specific processing process of the first processor 802 and the first communication interface 801 can be understood by referring to the above method.
[0223] Of course, in actual application, the various components in UE 800 are coupled together through bus system 804. It can be understood that bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, bus system 804 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .
[0224] The first memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the UE 800. Examples of such data include: any computer program used to operate on the UE 800.
[0225] The method disclosed in the above embodiment of the present application can be applied to the first processor 802, or implemented by the first processor 802. The first processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the first processor 802 or an instruction in the form of software. The above-mentioned first processor 802 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 802 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 803, and the first processor 802 reads the information in the first memory 803 and completes the steps of the above method in combination with its hardware.
[0226] In an exemplary embodiment, UE 800 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0227] Based on the hardware implementation of the above program modules, and in order to implement the method of the 6G base station side of the embodiment of the present application, the embodiment of the present application also provides a 6G base station, such as Fig. 9 As shown, the 6G base station 900 includes:
[0228] The second communication interface 901 is capable of exchanging information with the UE;
[0229] The second processor 902 is connected to the second communication interface 901 to implement information interaction with the UE, and is used to execute the method provided by one or more technical solutions of the 6G base station side when running the computer program;
[0230] A second memory 903 , in which the computer program is stored.
[0231] Specifically, the second communication interface 901 is used to send first information to the UE during the process of establishing the RRC connection, where the first information includes signature information generated based on the interactive information between the UE and the UE.
[0232] In one embodiment, the second communication interface 901 is further used for:
[0233] receiving third information sent by the UE and first authentication related information associated with the UE, where the third information is used to request to establish an RRC connection;
[0234] The fourth information and the second authentication-related information associated with the 6G base station are sent to the UE, the third information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication-related information, the fourth information, the sixth information, the seventh information and the second authentication-related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
[0235] In one embodiment, the second processor 902 is further used to generate a first key using the first authentication related information and the second authentication related information when the 6G base station authentication is passed, the first key is at least used for signaling transmission, and the first key is shared by the UE and the 6G base station.
[0236] In one embodiment, the first authentication related information includes at least a first random number and a first public key, the first public key includes a DH public key or an ECDH public key of the UE, the second authentication related information includes at least a second random number and a second public key, the second public key includes a DH public key or an ECDH public key of the 6G base station, and the second public key is used for the UE to generate the first key, and the second processor 902 is used to:
[0237] The first secret key is generated using the first random number, the second random number, and the first public key.
[0238] It should be noted that the specific processing process of the second communication interface 901 and the second processor 902 can be understood by referring to the above method.
[0239] Of course, in actual application, the various components in the 6G base station 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.
[0240] The second memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the 6G base station 900. Examples of these data include: any computer program for operating on the 6G base station 900.
[0241] The method disclosed in the above embodiment of the present application can be applied to the second processor 902, or implemented by the second processor 902. The second processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the second processor 902 or an instruction in the form of software. The above-mentioned second processor 902 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 902 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 903, and the second processor 902 reads the information in the second memory 903 and completes the steps of the above method in combination with its hardware.
[0242] In an exemplary embodiment, the 6G base station 900 can be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0243] It can be understood that the memory (first memory 803 and second memory 903) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0244] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an authentication system, such as Fig.10 As shown, the system includes: UE 1001 and 6G base station 1002.
[0245] It should be noted here that the specific processing process of UE 1001 and 6G base station 1002 has been described in detail above and will not be repeated here.
[0246] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 803 storing a computer program, the computer program can be executed by the first processor 802 of the UE 800 to complete the steps of the aforementioned UE-side method, and for another example, including a second memory 803 storing a computer program, the computer program can be executed by the second processor 902 of the 6G base station 900 to complete the steps of the aforementioned 6G base station-side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, FlashMemory, magnetic surface storage, optical disk, or CD-ROM.
[0247] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0248] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0249] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An authentication method, characterized in that: Applied to user equipment, including: In a process of establishing a radio resource control (RRC) connection, receiving first information sent by a sixth generation mobile communication technology (6G) base station, wherein the first information includes signature information generated based on transmission information between the first and the 6G base station; The 6G base station is authenticated using the second information and the first information, wherein the second information includes at least one local base station blockchain certificate.
2. The method according to claim 1, characterized in that The method further comprises: Sending third information and first authentication related information associated with the user equipment to the 6G base station, where the third information is used to request to establish an RRC connection; Receive the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the fourth information is used to indicate the resources configured for the RRC connection, the first information is generated by signing based on the third information, the first authentication related information, the fourth information, the sixth information, the seventh information and the second authentication related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
3. The method according to claim 2, characterized in that The method further comprises: When the 6G base station authentication is passed, a first key is generated using the first authentication related information and the second authentication related information, the first key is at least used for signaling transmission, and the first key is shared by the user equipment and the 6G base station.
4. The method according to claim 3, characterized in that The first authentication related information includes at least a first random number and a first public key, the first public key is used for the 6G base station to generate the first key, the first public key includes the Diffie-Hellman key exchange DH public key or the elliptic curve Diffie-Hellman key exchange ECDH public key of the user equipment, and the second authentication related information includes at least a second random number and a second public key, the second public key includes the DH public key or ECDH public key of the 6G base station; The generating a first key by using the first authentication related information and the second authentication related information includes: The first secret key is generated using the first random number, the second random number and the second public key.
5. The method according to claim 3, characterized in that: When receiving the fourth information sent by the 6G base station and the second authentication related information associated with the 6G base station, the method further includes: receiving fifth information sent by the 6G base station, where the fifth information includes verification information of the first key; The first key is verified using the fifth information.
6. The method according to claim 2, characterized in that The method further comprises: When the 6G base station authentication is passed, verifying the 6G base station using the sixth information; If the verification fails, the established RRC connection is disconnected.
7. The method according to claim 2, characterized in that The using the second information and the first information to authenticate the 6G base station includes: Determine the base station blockchain certificate corresponding to the seventh information from the second information, and authenticate the 6G base station using the determined base station blockchain certificate and the first information.
8. The method according to claim 7, characterized in that The determined base station blockchain certificate includes at least a second key associated with the 6G base station, and the authenticating the 6G base station using the determined base station blockchain certificate and the first information includes: Using the second key to perform signature verification processing on the first information to obtain a verification result; When the verification result indicates that the verification has passed, it is determined that the 6G base station authentication has passed.
9. The method according to claim 7, characterized in that: The determined base station blockchain certificate includes at least one of the following: Eighth information, where the eighth information is used to identify the 6G base station; Ninth information, the ninth information including operator information of the 6G base station; a second key, wherein the second key is associated with the 6G base station; Tenth information, the tenth information including validity period information of the determined base station blockchain certificate; The eleventh information includes status information of the determined base station blockchain certificate.
10. The method according to any one of claims 1 to 9, characterized in that: At least one base station blockchain certificate in the second information is written into the blockchain.
11. An authentication method, characterized in that: Applied to 6G base stations, including: During the RRC connection establishment process, first information is sent to the user equipment, where the first information includes signature information generated based on the interaction information between the user equipment and the user equipment.
12. The method according to claim 11, characterized in that The method further comprises: receiving third information sent by the user equipment and first authentication related information associated with the user equipment, wherein the third information is used to request to establish an RRC connection; The fourth information and the second authentication-related information associated with the 6G base station are sent to the user equipment, the third information is used to indicate the resources configured for the RRC connection, the first information is generated by performing a signature operation based on the third information, the first authentication-related information, the fourth information, the sixth information, the seventh information and the second authentication-related information using the private key of the 6G base station, the sixth information includes the location information of the 6G base station, and the seventh information is used to identify the 6G base station.
13. The method according to claim 12, characterized in that The method further comprises: When the 6G base station authentication is passed, a first key is generated using the first authentication related information and the second authentication related information, the first key is at least used for signaling transmission, and the first key is shared by the user equipment and the 6G base station.
14. A user equipment, characterized in that: include: A first processor and a first communication interface; wherein, The first communication interface is used to receive first information sent by a 6G base station during the process of establishing an RRC connection, where the first information includes signature information generated based on transmission information between the 6G base station and the 6G base station; The first processor is used to authenticate the 6G base station using second information and the first information, wherein the second information includes at least one local base station blockchain certificate.
15. A 6G base station, characterized in that: include: A second processor and a second communication interface; wherein, The second communication interface is used to send first information to the user equipment during the RRC connection establishment process, where the first information includes signature information generated based on the interaction information between the user equipment and the user equipment.
16. A user equipment, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 10 are executed.
17. A 6G base station, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 11 to 13 are executed.
18. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 10, or implements the steps of the method according to any one of claims 11 to 13.
