Method and device for establishing secure channel and readable storage medium
By verifying the security status of network elements and issuing tokens before establishing secure channels between them, combined with pre-configured certificates, the security issues of data transmission between network elements are resolved, ensuring the security and continuous monitoring of data transmission and preventing data leakage.
Patent Information
- Application Number
- CN202310202950.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-08-23
AI Technical Summary
In existing mobile communication networks, the security protection of service data between network elements is not perfect, and there is a risk that malicious software will steal private data. In particular, when a certain module or function of a network element is infiltrated by malicious software, the security of data transmission cannot be guaranteed.
Before establishing a secure channel between network elements, remote authentication technology is used to verify the security status of the network elements, and a token is issued after successful verification. Then, a secure channel is established using a pre-configured certificate to ensure the security of data transmission.
It effectively protects the security of user data transmission between network elements, prevents data leakage, and continuously confirms the security status of network elements, thereby improving the security of data transmission.
Smart Images

Figure CN118540707A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device and readable storage medium for establishing a secure channel. Background Art
[0002] In recent years, the number of embedded systems, cyber-physical systems, and IoT devices has increased significantly. Their continuous growth has involved many scenarios in daily life: such as homes, offices, and factories. As users rely more and more on smart devices, the security of these smart devices becomes more and more important. Malware may affect security or steal private data when the device driver is updated.
[0003] Existing mobile communication networks, such as the fifth generation (5G) mobile communication network, break the original hierarchical structure and disassemble the network functions of network equipment to form different network elements. With the development of mobile communication technology, future mobile communication networks (such as the sixth generation mobile communication network) may include more and more network elements. The business data transmitted between these network elements needs to be securely protected. However, the current security protection of business data is not perfect. Summary of the invention
[0004] The embodiments of the present application provide a method, device and readable storage medium for establishing a secure channel, which can protect the security of business data transmitted between network elements and improve the security protection mechanism of business data.
[0005] The present application is introduced below from different aspects. It should be understood that the implementation methods and beneficial effects of the following different aspects can be referenced to each other.
[0006] In the first aspect, the present application provides a method for establishing a secure channel, the method comprising: a first network element sends a measurement request to a verifier, the measurement request is used to request the verifier to issue a token to the second network element after the evidence verification of the second network element is passed; the first network element sends secure channel indication information to the second network element, the secure channel indication information is used to indicate that the Token needs to be verified to establish a secure channel; the first network element receives a secure channel establishment request sent by the second network element, the secure channel establishment request is used to request to establish a secure channel with the first network element, the secure channel establishment request includes the information of the Token, and the information of the Token is used to determine the Token; if the Token verification passes, the first network element and the second network element execute a secure channel establishment process. In the present application, the secure channel can be used to transmit user plane data. The first network element and the second network element execute the secure channel establishment process, which can be understood as: the first network element and the second network element continue to execute the existing secure channel handshake protocol based on pre-configured certificates (such as transport layer security (TLS) handshake).
[0007] Before the first network element and the second network element of the present application execute the process of establishing a secure channel, they determine the security status of the second network element (i.e., whether the Token verification passes) based on the Token issued by the verifier to the second network element, and then, when the security status of the second network element is secure (i.e., the Token verification passes), a secure channel on the user plane is established through a pre-configured certificate, thereby protecting the security of user data transmitted between network elements and improving the security protection mechanism of user data.
[0008] In combination with the first aspect, in a possible implementation, the measurement request can also be described as: used to request the verification party to initiate measurement on the second network element and issue a token to the second network element after the evidence verification of the second network element is passed. Wherein, the measurement method includes remote attestation. Then the measurement request can also be described as: used to request the verification party to perform remote attestation on the second network element and issue a token to the second network element after the remote attestation result is passed.
[0009] In combination with the first aspect, in a possible implementation, before the first network element sends a measurement request to the verifier, the method further includes: the first network element receives a connection establishment request, the connection establishment request is used to request the second network element to establish a secure channel with the first network element. The connection establishment request includes an identifier of the second network element and a connection type requested to be established. Here, the connection type requested to be established may include but is not limited to one or more of the following: a control plane data transmission channel, or a base station connection channel.
[0010] Exemplarily, the connection establishment request is sent by the second network element.
[0011] In combination with the first aspect, in a possible implementation, the measurement request may include an identifier of the second network element and a first fresh value. The identifier of the second network element is used to uniquely identify the second network element. The first fresh value is used by the verification party to generate a Token. In some scenarios, the first fresh value may also be passed to the measurement party for use in generating evidence by the measurement party. For details, see the description of Embodiment 1 below, which will not be described in detail here.
[0012] Optionally, the measurement request may further include a token verification policy. The token verification policy is used to indicate the conditions for the verifier to determine the issuance of a token to the second network element. In other words, the token verification policy is used to indicate the algorithm used to generate the token; in other words, the token verification policy is used to indicate what algorithm needs to be used to generate the token.
[0013] This application carries a Token verification strategy in the measurement request, which is helpful for the verifier to trigger the measurement process or remote attestation process as required.
[0014] In combination with the first aspect, in a possible implementation, before the first network element sends the secure channel indication information to the second network element, the method further includes: the first network element receives the Token indication information sent by the verifier, and the Token indication information is used to indicate that the second network element has the above Token. Exemplarily, the Token indication information may include: the identifier of the first network element, the identifier of the second network element, the Token, or the identifier of the Token.
[0015] After the evidence verification of the second network element is passed, the verifier of the present application also sends Token indication information to the first network element to facilitate the subsequent verification of the validity of the Token by the first network element.
[0016] In combination with the first aspect, in a possible implementation, after the first network element receives a secure channel establishment request sent by the second network element, the method also includes: the first network element sends Token verification information to the verifier, the Token verification information includes information of the Token, and the Token verification information is used to request the verifier to verify whether the Token is valid; the first network element receives the Token verification result sent by the verifier, and the Token verification result is that the Token is valid; the first network element determines that the token verification has passed based on the Token verification result.
[0017] In combination with the first aspect, in a possible implementation, after the first network element and the second network element complete the process of establishing a secure channel, the method also includes: the first network element sends a resource service establishment request to the second network element, and the resource service establishment request is used to request to obtain the user resources or service cell resource configuration of the second network element; the first network element receives the signaling sent by the second network element, and the signaling is used to notify the first network element of the failure of remote certification.
[0018] In combination with the first aspect, in a possible implementation, after the first network element sends a resource service establishment request to the second network element, the method also includes: the first network element receives a first subscription message sent by the second network element, and the first subscription message is used to subscribe to the remote certification result of the verifier on the first network element; the first network element sends the first subscription message to the verifier.
[0019] Optionally, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote attestation result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy. Or the measurement requirement can be used to indicate what algorithm or verification process the verifier uses to verify the evidence. The present application carries the measurement requirement in the first subscription message, which can help the verifier trigger the remote attestation process for the first network element as required.
[0020] Optionally, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first integrity protection information includes a message authentication code (MAC) generated based on the first subscription message. The first encryption information includes information after the first subscription message is encrypted. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message, and of course, integrity protection or encryption of the entire first subscription message may also be performed.
[0021] In combination with the first aspect, in a possible implementation method, before the first network element receives the signaling sent by the second network element, the method also includes: the first network element receives the remote certification result sent by the verification party; the first network element sends the remote certification result to the second network element, and the remote certification result includes the remote certification success of the first network element or the remote certification failure of the first network element.
[0022] Optionally, the remote attestation result further includes one or more of the following: second integrity protection information, or second encrypted information. The second integrity protection information includes a message authentication code generated based on the remote attestation result. The second encrypted information includes information encrypted from the remote attestation result.
[0023] On the second aspect, the present application provides a method for establishing a secure channel, the method comprising: a second network element receives a Token issued by a verifier; the second network element receives secure channel indication information sent by a first network element, the secure channel indication information is used to indicate that the Token needs to be verified to establish a secure channel; the second network element sends a secure channel establishment request to the first network element, the secure channel establishment request is used to request to establish a secure channel with the first network element, the secure channel establishment request includes information about the Token, and the information about the Token is used to determine the Token; the second network element and the first network element execute a secure channel establishment process. In the present application, the secure channel can be used to transmit user plane data. The second network element and the first network element execute a secure channel establishment process, which can be understood as: the second network element and the first network element continue to execute the existing secure channel handshake protocol based on pre-configured certificates (such as a TLS handshake).
[0024] In combination with the second aspect, in a possible implementation, before the second network element receives the Token issued by the verifier, the method further includes: the second network element sends a connection establishment request to the first network element, and the connection establishment request is used to request to establish a secure channel with the first network element. The connection establishment request includes an identifier of the second network element and the type of connection requested to be established. Here, the type of connection requested to be established may include, but is not limited to, one or more of the following: a control plane data transmission channel, or a base station connection channel.
[0025] In combination with the second aspect, in a possible implementation, after the second network element and the first network element complete the process of establishing a secure channel, the method also includes: the second network element receives a resource service establishment request sent by the first network element, and the resource service establishment request is used to request to obtain the user resources or service cell resource configuration of the second network element; the second network element sends a first subscription message to the verifier, and the first subscription message is used to subscribe to the remote certification result of the verifier for the first network element; the second network element receives the remote certification result sent by the verifier, and the remote certification result includes the remote certification success of the first network element or the remote certification failure of the first network element; if the remote certification result is the remote certification failure of the first network element, the second network element sends a signaling to the first network element, and the signaling is used to notify the first network element of the remote certification failure.
[0026] This application triggers the second network element to subscribe to the remote certification result of the first network element when the first network element requests the second network element to obtain the user resources or service cell resource configuration of the second network element, thereby ensuring that the second network element can obtain the security status of the dynamically changing first network element, and then provide local resource data, which can further improve data security and continuously confirm the security status of the first network element.
[0027] Optionally, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote proof result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement can be used to indicate what algorithm or verification process the verifier uses to verify the evidence.
[0028] In combination with the second aspect, in a possible implementation manner, the second network element sends the first subscription message to the verification party, including: the second network element sends the first subscription message to the verification party through the first network element.
[0029] Optionally, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote proof result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy.
[0030] Optionally, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first integrity protection information includes a message authentication code generated based on the first subscription message. The first encryption information includes information after the first subscription message is encrypted. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message. Of course, integrity protection or encryption may also be performed on the entire first subscription message.
[0031] The present application provides a security protection mechanism (integrity protection or encryption) for subscription messages in a scenario where the interaction between the second network element and the authenticator needs to be forwarded through the first network element.
[0032] In conjunction with the second aspect, in a possible implementation, after the second network element sends the first subscription message to the verifier, the method further includes: the second network element starts a timer, and if the second network element does not receive the remote certification result sent by the verifier before the timer times out, the second network element sends a signal to the first network element, and the signal is used to notify the first network element that the remote certification fails. The present application provides a timeout processing mechanism to reduce the waiting time for resource service establishment requests.
[0033] In combination with the second aspect, in a possible implementation manner, the second network element receives the remote certification result sent by the verifier, including: the second network element receives the remote certification result sent by the verifier through the first network element.
[0034] Optionally, the above-mentioned remote attestation result also includes one or more of the following: second integrity protection information, or second encrypted information. The second integrity protection information includes a message verification code generated based on the remote attestation result. The second encrypted information includes the encrypted information of the remote attestation result. It can be understood that if the second network element uses encryption to protect the above-mentioned first subscription message, then the verifier can also use encryption to protect the remote attestation result. In other words, if the above-mentioned first subscription message includes the first encrypted information, then the remote attestation result includes the second encrypted information. If the second network element uses integrity protection to protect the above-mentioned first subscription message, then the verifier can also use integrity protection to protect the remote attestation result. In other words, if the above-mentioned first subscription message includes the first integrity protection information, then the remote attestation result includes the second integrity protection information.
[0035] The present application provides a mechanism for security protection of remote attestation results in a scenario where the interaction between the second network element and the verifier needs to be forwarded through the first network element, thereby preventing the request and results from being tampered with by the first network element whose security status has not been confirmed.
[0036] In combination with the second aspect, in one possible implementation, after the second network element sends a signaling to the first network element, that is, after the remote authentication of the first network element fails, the method also includes: the second network element sends a secure channel connection reset request to the operation management and maintenance network element, requesting to reset the secure channel established between the second network element and the first network element.
[0037] This application makes timely operations on the established security channel (such as resetting the established security channel) based on the remote proof results to reduce the risk of data leakage.
[0038] In conjunction with the second aspect, in a possible implementation, after the second network element sends a secure channel connection reset request to the operation management and maintenance network element, the method further includes: the second network element sends a reestablishment connection request to the first network element, for requesting to reestablish a control plane connection with the first network element. Alternatively, the second network element sends a service discovery request to other network elements, for requesting to connect to other network elements having similar functions to the first network element.
[0039] In a third aspect, the present application provides a method for establishing a secure channel, the method comprising: a verifier receives a measurement request sent by a first network element, the measurement request is used to request the verifier to issue a Token to the second network element after the evidence of the second network element is verified; the verifier sends an evidence acquisition message to the measurement party, the evidence acquisition message is used to obtain evidence of the second network element; the verifier receives the evidence of the second network element sent by the measurement party, and verifies the evidence of the second network element; if the evidence of the second network element is verified, the verifier issues a Token to the second network element, and the Token is used to verify whether the second network element can execute the secure channel establishment process with the first network element.
[0040] In conjunction with the third aspect, in a possible implementation, the measurement request can also be described as: used to request the verification party to initiate measurement on the second network element and issue a token to the second network element after the evidence verification of the second network element is passed. Wherein, the measurement method includes remote attestation. Then the measurement request can also be described as: used to request the verification party to perform remote attestation on the second network element and issue a token to the second network element after the remote attestation result is passed.
[0041] In conjunction with the third aspect, in a possible implementation, the measurement request may include an identifier of the second network element and a first fresh value. The identifier of the second network element is used to uniquely identify the second network element. The first fresh value is used by the verification party to generate a Token. In some scenarios, the first fresh value may also be passed to the measurement party for use in generating evidence by the measurement party. For details, see the description of Embodiment 1 below, which will not be described in detail here.
[0042] Optionally, the measurement request may further include a Token verification policy. After the verifier receives the measurement request sent by the first network element, the method further includes: the verifier determines the conditions for issuing the Token to the second network element according to the Token verification policy; or the verifier determines the algorithm used to generate the Token according to the Token verification policy.
[0043] In conjunction with the third aspect, in a possible implementation, the evidence acquisition message includes one or more of the following: a second fresh value, an identifier of a second network element, or a second measurement strategy. The second fresh value is used by the measurement party to generate evidence, and the second fresh value can be generated based on the first fresh value. The identifier of the second network element is used to identify the second network element. The second measurement strategy is used to determine (obtain) (which) evidence of the second network element, and the second measurement strategy can be determined based on the Token verification strategy.
[0044] In conjunction with the third aspect, in a possible implementation, after the verification direction issues a token Token to the second network element, the method further includes: the verification direction sends Token indication information to the first network element, and the Token indication information is used to indicate that the second network element has the Token. Exemplarily, the Token indication information may include: an identifier of the first network element, an identifier of the second network element, the Token, or an identifier of the Token.
[0045] In combination with the third aspect, in a possible implementation method, after the verification party issues a Token to the second network element, the method also includes: the verification party receives Token verification information sent by the first network element, the Token verification information includes information of the Token, the Token information is used to determine the Token, and the Token verification information is used to request the verification party to verify whether the Token is valid; the verification party verifies the Token and obtains a Token verification result, and the Token verification result is that the Token is valid; the verification party sends the Token verification result to the first network element.
[0046] In combination with the third aspect, in a possible implementation, after the verification direction issues a Token to the second network element, the method further includes: the verification direction receives a first subscription message sent by the second network element or the first network element, and the first subscription message is used to subscribe to the verification direction's remote attestation result for the first network element; the verification direction sends a second subscription message to the measurement direction, and the second subscription message is used to subscribe to the evidence of the first network element; the verification direction receives an evidence notification message sent by the measurement direction, and the evidence notification message includes the target evidence of the first network element, and the target evidence is used to determine the remote attestation result of the first network element; the verification direction verifies the target evidence of the first network element; the verification direction sends a remote attestation result to the second network element or the first network element, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element. If the target evidence is verified, the remote attestation result is the remote attestation success of the first network element, and if the target evidence is not verified, the remote attestation result is the remote attestation failure of the first network element.
[0047] Optionally, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote proof result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement can be used to indicate what algorithm or verification process the verifier uses to verify the evidence.
[0048] In conjunction with the third aspect, in a possible implementation, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first integrity protection information includes a message verification code generated based on the first subscription message. The first encryption information includes information after the first subscription message is encrypted. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message. Of course, integrity protection or encryption may also be performed on the entire first subscription message.
[0049] Optionally, before the verifier sends the second subscription message to the measurement party, the method further includes: the verifier determines that the first subscription message is valid based on the first integrity protection information or the first encryption information.
[0050] In combination with the third aspect, in a possible implementation, the second subscription message includes a first measurement strategy, and the first measurement strategy is used to determine the evidence number subscribed to by the second subscription message. After the verifier receives the first subscription message sent by the second network element, the method further includes: the verifier determines the first measurement strategy according to the measurement requirements in the second subscription message. The target evidence is the evidence in the first network element corresponding to the evidence number subscribed to by the second subscription message.
[0051] In combination with the third aspect, in a possible implementation, before the verification party sends the remote attestation result to the second network element, the method also includes: the verification party determines the timestamp verification method according to the measurement requirements in the first subscription message; the verification party adopts the determined timestamp verification method to jointly verify the timestamp in the first subscription message, the timestamp in the evidence notification message, and the timestamp in the second subscription message. Wherein, when the joint verification passes and the target evidence verification passes, the remote attestation result is that the remote attestation of the first network element is successful. When the joint verification fails or the target evidence verification fails, the remote attestation result is that the remote attestation of the first network element fails.
[0052] In conjunction with the third aspect, in a possible implementation, the remote attestation result further includes one or more of the following: second integrity protection information, or second encrypted information. The second integrity protection information includes a message verification code generated based on the remote attestation result. The second encrypted information includes information encrypted from the remote attestation result.
[0053] In a fourth aspect, the present application provides a method for establishing a secure channel, the method comprising: a measurement party receives an evidence acquisition message sent by a verification party, the evidence acquisition message is used to obtain evidence of a second network element; the measurement party sends the evidence of the second network element to the verification party, and the evidence of the second network element is used by the verification party to perform evidence verification.
[0054] In conjunction with the fourth aspect, in a possible implementation, the evidence acquisition message includes one or more of the following: a second fresh value, an identifier of a second network element, or a second measurement strategy. The second fresh value is used by the measurement party to generate evidence, and the second fresh value can be generated based on the first fresh value. The identifier of the second network element is used to identify the second network element. The second measurement strategy is used to determine (obtain) (which) evidence of the second network element, and the second measurement strategy can be determined based on the Token verification strategy.
[0055] In combination with the fourth aspect, in a possible implementation method, after the measurement party sends evidence of the second network element to the verification party, the method also includes: the measurement party receives a second subscription message sent by the verification party, and the second subscription message is used to subscribe to the evidence of the first network element; the measurement party sends an evidence notification message to the verification party, and the evidence notification message includes target evidence of the first network element, and the target evidence is used to determine the remote proof result of the first network element.
[0056] Optionally, the second subscription message includes a first metric strategy, and the first metric strategy is used to determine the evidence number subscribed to by the second subscription message. The target evidence is evidence in the first network element corresponding to the evidence number subscribed to by the second subscription message.
[0057] In a fifth aspect, the present application provides a method for establishing a secure channel, the method comprising: a second network element receives a resource service establishment request sent by a first network element, the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element; the second network element sends a first subscription message to a verifier, the first subscription message is used to subscribe to the remote certification result of the verifier for the first network element; the second network element receives the remote certification result sent by the verifier, the remote certification result includes the remote certification success of the first network element or the remote certification failure of the first network element; if the remote certification result is the remote certification failure of the first network element, the second network element sends a signaling to the first network element, the signaling is used to notify the first network element of the remote certification failure.
[0058] This application triggers the second network element to subscribe to the remote certification result of the first network element when the first network element requests the second network element to obtain the user resources or service cell resource configuration of the second network element, thereby ensuring that the second network element can obtain the security status of the dynamically changing first network element, and then provide local resource data, which can further improve data security and continuously confirm the security status of the first network element.
[0059] In conjunction with the fifth aspect, in a possible implementation, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote proof result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement can be used to indicate what algorithm or verification process the verifier uses to verify the evidence.
[0060] In combination with the fifth aspect, in a possible implementation manner, the second network element sends a first subscription message to the verification party, including: the second network element sends the first subscription message to the verification party through the first network element.
[0061] Optionally, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote proof result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy.
[0062] Optionally, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first integrity protection information includes a message authentication code generated based on the first subscription message. The first encryption information includes information after the first subscription message is encrypted. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message. Of course, integrity protection or encryption may also be performed on the entire first subscription message.
[0063] The present application provides a security protection mechanism (integrity protection or encryption) for subscription messages in a scenario where the interaction between the second network element and the authenticator needs to be forwarded through the first network element.
[0064] In conjunction with the fifth aspect, in a possible implementation, after the second network element sends the first subscription message to the verifier, the method further includes: the second network element starts a timer, and if the second network element does not receive the remote certification result sent by the verifier before the timer times out, the second network element sends a signaling to the first network element, and the signaling is used to notify the first network element that the remote certification fails. The present application provides a timeout processing mechanism to reduce the waiting time for resource service establishment requests.
[0065] In combination with the fifth aspect, in a possible implementation method, the second network element receives the remote certification result sent by the verification party, including: the second network element receives the remote certification result sent by the verification party through the first network element.
[0066] Optionally, the above-mentioned remote attestation result also includes one or more of the following: second integrity protection information, or second encrypted information. The second integrity protection information includes a message verification code generated based on the remote attestation result. The second encrypted information includes the encrypted information of the remote attestation result. It can be understood that if the second network element uses encryption to protect the above-mentioned first subscription message, then the verifier can also use encryption to protect the remote attestation result. In other words, if the above-mentioned first subscription message includes the first encrypted information, then the remote attestation result includes the second encrypted information. If the second network element uses integrity protection to protect the above-mentioned first subscription message, then the verifier can also use integrity protection to protect the remote attestation result. In other words, if the above-mentioned first subscription message includes the first integrity protection information, then the remote attestation result includes the second integrity protection information.
[0067] The present application provides a mechanism for security protection of remote attestation results in a scenario where the interaction between the second network element and the verifier needs to be forwarded through the first network element, thereby preventing the request and results from being tampered with by the first network element whose security status has not been confirmed.
[0068] In combination with the fifth aspect, in a possible implementation method, after the second network element sends a signaling to the first network element, that is, after the remote authentication of the first network element fails, the method also includes: the second network element sends a security channel connection reset request to the operation management and maintenance network element, requesting to reset the security channel established between the second network element and the first network element.
[0069] This application makes timely operations on the established security channel (such as resetting the established security channel) based on the remote proof results to reduce the risk of data leakage.
[0070] In conjunction with the fifth aspect, in a possible implementation, after the second network element sends a secure channel connection reset request to the operation management and maintenance network element, the method further includes: the second network element sends a reestablishment connection request to the first network element, for requesting to reestablish a control plane connection with the first network element. Alternatively, the second network element sends a service discovery request to other network elements, for requesting to connect to other network elements having similar functions to the first network element.
[0071] In a sixth aspect, the present application provides a method for establishing a secure channel, the method comprising: a first network element sends a resource service establishment request to a second network element, the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element; the first network element receives a signaling sent by the second network element, the signaling is used to notify the first network element of the failure of remote certification.
[0072] In combination with the sixth aspect, in a possible implementation method, after the first network element sends a resource service establishment request to the second network element, the method also includes: the first network element receives a first subscription message sent by the second network element, and the first subscription message is used to subscribe to the remote certification result of the verification party on the first network element; the first network element sends the first subscription message to the verification party.
[0073] Optionally, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote attestation result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy. Or the measurement requirement can be used to indicate what algorithm or verification process the verifier uses to verify the evidence. The present application carries the measurement requirement in the first subscription message, which can help the verifier trigger the remote attestation process for the first network element as required.
[0074] Optionally, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first integrity protection information includes a message authentication code generated based on the first subscription message. The first encryption information includes information after the first subscription message is encrypted. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message, and of course, integrity protection or encryption of the entire first subscription message may also be performed.
[0075] In combination with the sixth aspect, in a possible implementation method, before the first network element receives the signaling sent by the second network element, the method also includes: the first network element receives the remote certification result sent by the verification party; the first network element sends the remote certification result to the second network element, and the remote certification result includes the remote certification success of the first network element or the remote certification failure of the first network element.
[0076] Optionally, the remote attestation result further includes one or more of the following: second integrity protection information, or second encrypted information. The second integrity protection information includes a message authentication code generated based on the remote attestation result. The second encrypted information includes information encrypted from the remote attestation result.
[0077] In a seventh aspect, the present application provides a method for establishing a secure channel, the method comprising: a verifier receives a first subscription message sent by a second network element or a first network element, the first subscription message being used to subscribe to the remote attestation result of the verifier on the first network element; the verifier sends a second subscription message to a measurement party, the second subscription message being used to subscribe to evidence of the first network element; the verifier receives an evidence notification message sent by the measurement party, the evidence notification message including target evidence of the first network element, the target evidence being used to determine the remote attestation result of the first network element; the verifier verifies the target evidence of the first network element; the verifier sends a remote attestation result to the second network element or the first network element, the remote attestation result including remote attestation success of the first network element or remote attestation failure of the first network element. If the target evidence is verified, the remote attestation result is remote attestation success of the first network element, and if the target evidence is not verified, the remote attestation result is remote attestation failure of the first network element.
[0078] In conjunction with the seventh aspect, in a possible implementation, the first subscription message includes one or more of the following: an identifier of the second network element, an identifier of the first network element, a subscription request, or a measurement requirement. The subscription request is used to request the verifier to return the remote proof result of the first network element in a subscription manner. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement can be used to indicate what algorithm or verification process the verifier uses to verify the evidence.
[0079] In conjunction with the seventh aspect, in a possible implementation, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first integrity protection information includes a message verification code generated based on the first subscription message. The first encryption information includes information encrypted from the first subscription message. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message. Of course, integrity protection or encryption may also be performed on the entire first subscription message.
[0080] Optionally, before the verifier sends the second subscription message to the measurement party, the method further includes: the verifier determines that the first subscription message is valid based on the first integrity protection information or the first encryption information.
[0081] In conjunction with the seventh aspect, in a possible implementation, the second subscription message includes a first measurement strategy, and the first measurement strategy is used to determine the evidence number subscribed to by the second subscription message. After the verifier receives the first subscription message sent by the second network element, the method further includes: the verifier determines the first measurement strategy according to the measurement requirements in the second subscription message. The target evidence is the evidence in the first network element corresponding to the evidence number subscribed to by the second subscription message.
[0082] In combination with the seventh aspect, in a possible implementation, before the verification party sends the remote attestation result to the second network element, the method also includes: the verification party determines the timestamp verification method according to the measurement requirements in the first subscription message; the verification party adopts the determined timestamp verification method to jointly verify the timestamp in the first subscription message, the timestamp in the evidence notification message, and the timestamp in the second subscription message. Wherein, when the joint verification passes and the target evidence verification passes, the remote attestation result is that the remote attestation of the first network element is successful. When the joint verification fails or the target evidence verification fails, the remote attestation result is that the remote attestation of the first network element fails.
[0083] In conjunction with the seventh aspect, in a possible implementation, the remote attestation result further includes one or more of the following: second integrity protection information, or second encrypted information. The second integrity protection information includes a message verification code generated based on the remote attestation result. The second encrypted information includes information encrypted from the remote attestation result.
[0084] In an eighth aspect, the present application provides a method for establishing a secure channel, the method comprising: a measurement party receives a second subscription message sent by a verification party, the second subscription message is used to subscribe to evidence of a first network element; the measurement party sends an evidence notification message to the verification party, the evidence notification message includes target evidence of the first network element, and the target evidence is used to determine a remote proof result of the first network element.
[0085] In conjunction with the eighth aspect, in a possible implementation, the second subscription message includes a first metric strategy, and the first metric strategy is used to determine the evidence number subscribed by the second subscription message. The target evidence is evidence in the first network element corresponding to the evidence number subscribed by the second subscription message.
[0086] In a ninth aspect, the present application provides a communication device, which may be any one of a first network element, a second network element, a verifier, a metric, or a chip therein. The communication device includes a unit and / or module for executing the method provided by any one of the first to eighth aspects, or any possible implementation of any one of the aspects, such as a transceiver unit and / or a processing unit, and the transceiver unit is used to send and receive various information or signaling, so that the beneficial effects (or advantages) of the method provided in any of the above aspects can also be achieved.
[0087] In a tenth aspect, the present application provides a communication device, which may include a processor and a transceiver. The transceiver is used to send and receive various information or signaling, and the computer program includes program instructions. When the processor runs the program instructions, the communication device executes the method described in any one of the first to eighth aspects above, or any possible implementation of any one of the aspects. The transceiver may be a radio frequency module in the communication device, or a combination of a radio frequency module and an antenna, or an input and output interface of a chip or circuit. Optionally, the communication device also includes a memory, which is used to store the computer program.
[0088] In the eleventh aspect, the present application provides a readable storage medium having program instructions stored thereon, which, when executed on a computer, enables the computer to execute the method described in any one of the first to eighth aspects, or any possible implementation of any one of the aspects.
[0089] In a twelfth aspect, the present application provides a program product comprising instructions, which, when executed, enables the method described in any possible implementation of any one of the first to eighth aspects to be executed.
[0090] In a thirteenth aspect, the present application provides a device, which can be implemented in the form of a chip or in the form of a device, and the device includes a processor. The processor is used to read and execute a program stored in a memory to execute one or more of any one of the first to eighth aspects above, or one or more of any possible implementations of any one of the aspects. Optionally, the device also includes a memory, which is connected to the processor via a circuit. Further optionally, the device also includes a communication interface, and the processor is connected to the communication interface. The communication interface is used to receive information and / or signaling to be processed, the processor obtains the information and / or signaling from the communication interface, processes the information and / or signaling, and outputs the processing results through the communication interface. The communication interface can be an input and output interface.
[0091] Optionally, the processor and memory mentioned above may be physically independent units, or the memory may be integrated with the processor.
[0092] In a fourteenth aspect, the present application provides a communication system, comprising: a first network element described in the first aspect or the sixth aspect, a second network element described in the second aspect or the fifth aspect, a verifier described in the third aspect or the seventh aspect, and a measurer described in the fourth aspect or the eighth aspect.
[0093] The technical effects achieved in the above-mentioned aspects can be referred to each other or to the beneficial effects in the method embodiments shown below, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] Figure 1 is a schematic diagram of the network function virtualization architecture;
[0095] Figure 2 This is a schematic diagram of the 5G network architecture defined by 3GPP TS 23.501;
[0096] Figure 3a This is a schematic diagram of a network architecture in which multiple DUs share one CU, provided in an embodiment of the present application;
[0097] Figure 3b It is a schematic diagram of the protocol layer functions of a CU and a DU provided in an embodiment of the present application;
[0098] Figure 4 A simplified flowchart of a challenge-response protocol for remote attestation provided in an embodiment of the present application;
[0099] Figure 5 It is a schematic diagram of the technical problems existing in establishing a secure channel based on a pre-configured certificate provided in an embodiment of the present application;
[0100] Figure 6 This is a schematic diagram of a possible application scenario provided by an embodiment of the present application;
[0101] Figure 7 This is a first flow chart of a method for establishing a secure channel provided in an embodiment of the present application;
[0102] Figure 8 It is a schematic diagram illustrating the beneficial effects provided by the embodiments of the present application;
[0103] Fig. 9 This is a second flow chart of the method for establishing a secure channel provided in an embodiment of the present application;
[0104] Fig.10 This is a third flow chart of the method for establishing a secure channel provided in an embodiment of the present application;
[0105] Fig.11 is a schematic diagram of a structure of a communication device provided in an embodiment of the present application;
[0106] Fig.12 is another structural schematic diagram of a communication device provided in an embodiment of the present application;
[0107] Fig.13 This is another structural diagram of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0108] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0109] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c; a and b; a and c; b and c; or a, b, and c. Among them, a, b, and c can be single or multiple.
[0110] In the description of the present application, the words "first", "second", etc. are only used to distinguish different objects, and do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit them to be different. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0111] In this application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described in this application as "exemplary", "for example" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the words "exemplary", "for example" or "for example" is intended to present the related concepts in a concrete way.
[0112] It should be understood that in the present application, "when", "if" and "if" all mean that the device will take corresponding actions under certain objective circumstances, and do not limit the time, nor do they require that the device must have a judgment action when it is implemented, nor do they mean that there are other limitations.
[0113] The term “simultaneously” in the present application may be understood as at the same time point, within a period of time, or within the same cycle, and may be understood in conjunction with the context.
[0114] Elements used in the singular herein are intended to mean "one or more" rather than "one and only one" unless specifically stated otherwise.
[0115] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0116] It can be understood that in each embodiment of the present application, "A corresponds to B" means that there is a corresponding relationship between A and B, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0117] The network architecture of the present application is briefly described below. It should be understood that the network architecture described in the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application.
[0118] The technical solution provided in this application can be applied to various communication systems deployed with virtual network functions. For example: the fifth generation (5G) communication system or new radio (NR), equipped with network functions virtualization infrastructure (NFVI) or other long term evolution (LTE) networks with virtual network functions (VNF), MulteFire networks (creating new wireless networks by independently running LTE technology on unlicensed spectrum (such as the global 5GHz unlicensed spectrum)), or home base station networks, mobile networks accessed by wireless fidelity (WiFi), wideband code division multiple access (WCDMA) networks, fixed-mobile converged networks (fixed access networks access mobile networks), and other future communication systems, such as the sixth generation mobile communication system.
[0119] Network function virtualization can be understood as: separating the network functions of traditional network devices (such as servers, switches and storage) from their physical devices and running them on commercial off-the-shelf hosts (COTS) in the form of software (or software programs). Network function virtualization can also be understood as: using information technology (IT) virtualization technology to form virtual machines (VMs), and then deploying traditional communications technology (CT) services on virtual machines (VMs).
[0120] See also Figure 1 , Figure 1 Figure 1 is a schematic diagram of the network function virtualization architecture. Figure 1 As shown, the network function virtualization architecture may include but is not limited to several parts: virtual network functions (VNF), network function virtualization infrastructure (NFVI), virtualized infrastructure manager (VIM), management automation and network orchestration (MANO), network function virtualization orchestrator (NFVO), or virtual network function manager (VNFM), etc.
[0121] Among them, the virtual network function is a software application that provides network functions (such as file sharing, directory services, and IP address configuration, etc.), including VNF and element management system (EMS). The element management system can configure and manage the functions of VNF. Generally, EMS and VNF correspond one to one. Simply put, VNF is a software group that provides network services and is deployed in virtual machines, containers, or physical machines using the infrastructure provided by NFVI. Compared with VNF, traditional hardware-based network elements can be called physical network functions (PNF). VNF and PNF can be networked separately or in a mixed manner to form a service chain. It should be understood that a VNF can be installed in one or more virtual instances. Virtual instance can be understood as a generalized concept, which refers to any virtualization solution such as virtual machine (VM) and container.
[0122] NFVI is a set of resources used to host and connect virtual functions. Specifically, NFVI is a cloud data center that includes servers, hypervisors, operating systems (OS), virtual machines, containers, virtual switches, and network resources. NFVI can virtualize physical resources into virtual resources for use by VNFs.
[0123] VIM manages NFVI. VIM controls the allocation of virtual resources of VNF, such as virtual computing, virtual storage and virtual network. It can be understood that VIM is a cloud platform management responsible for hardware management, VM deployment, VM coordination and scheduling, etc.
[0124] VNFM manages the life cycle of VNFs, such as going online, going offline, and performing status monitoring and image onboarding. VNFM manages VNFs based on VNF descriptors (VNFDs). In simple terms, VNFM is responsible for the life cycle management of network elements, such as adding, deleting, checking, and modifying network element virtual machines.
[0125] NFVO is used to manage the life cycle of network services (NS), such as coordinating the management of NS life cycle, coordinating the management of VNF life cycle (needs to be supported by VNFM), and coordinating the management of various NFVI resources (needs to be supported by VIM), so as to ensure the optimal configuration of various resources and connections required. NFVO runs based on the network service description (NSdescriptor, NSD), which includes service chain, NFV and performance goal. In short, NFVO is responsible for the deployment of network services.
[0126] MANO provides a framework for managing NFV infrastructure and provisioning new VNFs. Simply put, MANO can be understood as an integrated management and scheduling of network services. MANO includes VIM, VNFM, and NFVO.
[0127] For example, the technical solution provided in this application can be applied to the 5G network architecture defined in the 3rd Generation Partnership Project Technical Specifications (3GPP TS) 23.501.
[0128] See also Figure 2 , Figure 2 This is a schematic diagram of the 5G network architecture defined by 3GPP TS 23.501. Figure 2As shown, the 5G network architecture is divided into two parts: access network and core network. The access network is used to implement functions related to wireless access, which may include radio access network (RAN) and user equipment (UE). The core network may include but is not limited to the following logical network elements: network slice selection function (NSSF), network exposure function (NEF), network repository function (NRF), policy control function (PCF), unified data management (UDM), application function (AF), network slice specific authentication and authorization function (NSSAAF), authentication server function (AUSF), access and mobility management function (AMF), session management function (SMF), or user plane function (UPF), etc. It can be understood that Figure 2 "Nnssf", "Nnef", "Nnrf", "Npcf", "Nudm", "Naf", "Nnssaaf", "Nausf", "Namf", and "Nsmf" represent the names of service-oriented interfaces. For details, please refer to the relevant description in the 3GPP standard protocol, which is not elaborated here.
[0129] Optionally, the UE may access the data network by establishing a session from the UE to the RAN, to the UPF, and then to the data network (DN), namely, a protocol data unit (PDU) session (PDU session).
[0130] Among them, UE can be a terminal device, such as a mobile phone, an IoT terminal device, a smart terminal, a vehicle terminal, a vehicle device, a wearable device, a multimedia device, a streaming media device, etc. RAN is used to provide wireless access for terminal devices, including but not limited to: 5G base station (Next-Generation node B, gNB), wireless base station (evolved Node B, eNodeB or eNB) in LTE network, wireless access point (wireless fidelity access point, WiFiAP), worldwide interoperability for microwave access base station (worldwide interoperability for microwave access base station, WiMAXBS), etc. AMF is mainly responsible for mobility management in mobile networks, such as user location update, user registration network, user switching, etc. SMF is mainly responsible for session management in mobile networks, such as session establishment, modification, and release. Specific functions include allocating Internet Protocol (Internet Protocol, IP) addresses to users, selecting UPF that provides message forwarding functions, etc. PCF is responsible for providing policies to AMF and SMF, such as quality of service (quality of service, QoS) policies, slice selection policies, etc. UDM is used to store user data, such as contract information, authentication or authorization information. NSSAAF is mainly responsible for the authentication and authorization of network slices, and can interact with the authentication, authorization, and accounting server (AAA-S) through the authentication, authorization, and accounting proxy (AAA-P). UPF is mainly responsible for processing user messages, such as forwarding and billing.
[0131] Understandably, Figure 2 The functions or roles of each network element shown can refer to relevant protocols or standards, etc., and this application does not elaborate on them. It should also be understood that Figure 2 The N1, N2, N3, N4, N6, etc. shown are all interface serial numbers. For example, the meaning of the above interface serial numbers can refer to the meaning defined in the 3GPP standard protocol, and this application does not limit the meaning of the above interface serial numbers.
[0132] In the 5G RAN architecture, gNB can include a centralized unit (CU) and a distributed unit (DU). The gNB can also include a radio unit (RU). CU and DU can be understood as the division of the base station from a logical functional perspective. CU and DU can be physically separated or deployed together. For example, multiple DUs can share one CU or one DU can be connected to multiple CUs. The CU and DU can be connected through the F1 interface. For example, see Figure 3a , Figure 3a Schematic diagram of a network architecture in which multiple DUs share one CU, provided in an embodiment of the present application. Figure 3a As shown, the core network and RAN are interconnected and communicated, and the base stations in the RAN are separated into CU and DU, and multiple DUs share one CU. A DU is usually used in conjunction with an RU. The RU is mainly responsible for processing the digital front end (DFE) and some physical (PHY) layer functions. The key factors in its design are size, weight and power consumption. The base station including CU nodes and DU nodes splits the protocol layer. The functions of some protocol layers are centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers are distributed in the DU, which is centrally controlled by the CU. As an implementation method, see Figure 3b , Figure 3b Schematic diagram of the protocol layer functions of a CU and a DU provided in an embodiment of the present application. Figure 3b As shown, the CU is deployed with the radio resource control (RRC) layer, the packet data convergence protocol (PDCP) layer, and the service data adaptation protocol (SDAP) layer in the protocol stack. The DU is deployed with the radio link control (RLC) layer, the medium access control (MAC) layer, and the physical layer (PHY) in the protocol stack. Thus, the CU has the processing capabilities of RRC, PDCP, and SDAP. The DU has the processing capabilities of RLC, MAC, and PHY.
[0133] It is understandable that the above-mentioned division of functions is only an example and does not constitute a limitation on CU and DU. That is to say, there may be other ways of dividing functions between CU and DU. For example, some functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in DU. For example, the functions of CU or DU can also be divided according to the service type of call service, voice service or SMS service or other system requirements. For example, the functions of CU or DU are divided according to latency, and the functions whose processing time needs to meet the latency requirements can be set in DU, and the functions that do not need to meet the latency requirements can be set in CU. For example, CU may also have one or more functions of the core network, and one or more CUs may be set centrally or separately. For example, CU can be set on the network side for centralized management, DU can have multiple radio frequency functions, or the radio frequency functions can be set remotely.
[0134] The functions of CU can be implemented by one entity or by different entities. For example, the functions of CU can be further divided, for example, the control plane (CP) and the user plane (UP) are separated, that is, the control plane (CU-CP) of CU and the user plane (CU-UP) of CU. For example, CU-CP and CU-UP can be implemented by different functional entities, and the CU-CP and CU-UP can be coupled with DU to jointly complete the functions of the base station. In one possible way, CU-CP is responsible for the control plane function, mainly including RRC and PDCP control plane PDCP-C. PDCP-C is mainly responsible for one or more of the encryption and decryption, integrity protection, and data transmission of control plane data. CU-UP is responsible for the user plane function, mainly including SDAP and PDCP user plane PDCP-U. Among them, SDAP is mainly responsible for processing the data of the core network and mapping the data flow to the bearer. PDCP-U is mainly responsible for one or more of the encryption and decryption, integrity protection, header compression, sequence number maintenance, and data transmission of the data plane. Among them, CU-CP and CU-UP are connected through the E1 interface. CU-CP represents the access network equipment connected to the core network through the Ng interface. It is connected to the DU through F1-C (control plane). CU-UP is connected to the DU through F1-U (user plane). Of course, another possible implementation is that PDCP-C is also in CU-UP. Since the information of the RRC layer will eventually become the information of the PHY layer, or, it is converted from the information of the PHY layer, therefore, under this architecture, high-level signaling, such as RRC layer signaling or PDCP layer signaling, can also be considered to be sent by DU, or, sent by DU+RU. It can be understood that the gNB can be a CU node, or a DU node, or a device including a CU node and a DU node.
[0135] The above content briefly describes the network architecture of the embodiment of the present application. In order to better understand the technical solution of the embodiment of the present application, several terms or nouns related to the present application are briefly introduced below.
[0136] 1. Remote attestation (RA)
[0137] Remote attestation (RA) is a security service that allows a measuring party (also known as an attester) to obtain data from the "verified party", which will be sent as evidence to the "verifier (called Verifier)". The "Verifier" verifies or interprets the data (that is, evidence) sent by the measuring party to determine whether the internal state (including memory and storage) of the "verified party" that may be infected with malware is safe or can be trusted. Remote attestation can also be extended to allow remote code updates, which can be used to securely update the software running on the device, reset an infected device, or wipe the device, etc.
[0138] Among them, the "verified party" refers to the network element whose security status needs to be confirmed, or the network element whose trust status / trusted status needs to be confirmed. Attester (certifier or measurement party) is used to cooperate with Verifier (verifier) to perform trust measurement on the network element (i.e., the "verified party"). Attester can perform integrity measurement on the network element to be proved, and generate a set of statements called evidence (Evidence), which is mainly used to measure the resources (such as virtual machines VM), applications (APP), and hardware (Hardware) in the network element. Attester is usually in the same physical location as the "verified party", that is, Attester can be combined with the "verified party" in the setting. Verifier (verifier or verification party) is the executor used to verify the evidence of the network element, which can complete the verification and return the verification result. The specific verification method is not limited in this application. For example, verification can be performed locally according to the pre-configured evidence reference value, or it can be verified on a remote server.
[0139] One possible way to remotely authenticate is through a "challenge and response" protocol. Figure 4 , Figure 4 A simplified flowchart of the challenge-response protocol for remote attestation provided in an embodiment of the present application. Figure 4As shown, Verifier generates a request message (this request message is also called a "challenge") and sends it to Attester. The request message (i.e., "challenge") is used to request Attester to perform measurement. The request message contains a random number to ensure that the evidence obtained by Attester is the latest. After receiving the request message, Attester obtains the evidence of the "verified party" and calculates a hash value of the evidence through measurement and other means, and then performs an XOR operation on the hash value and the random number contained in the request message to generate a response, which Attester then sends to Verifier. After receiving the response, Verifier obtains the evidence in the response and verifies the validity of the evidence; the specific verification method is not limited in this application. If the verification passes, it means that the remote attestation is successful, that is, the "verified party" is safe, that is, the "verified party" has not been attacked or occupied by malicious software, and there is no security risk. If the verification fails, it means that the remote attestation has failed, that is, the "verified party" may have a security risk, that is, the "verified party" may be attacked or occupied by malicious software.
[0140] 2. Establishing a secure channel based on pre-configured certificates
[0141] At present, if two network elements want to transmit data securely, they need to establish a secure channel. The secure channel of the present application can be understood as the data transmission between the two network elements having a certain security protection protocol, such as the datagram transport layer security (DTLS) protocol, the Internet protocol security (IPSEC), or the transport layer security (TLS) protocol. The present application does not limit the specific security protection protocol. Generally speaking, after the secure channel is established, each data packet is protected. If the data packet is tampered with, lost or attacked, the network element at the other end can identify and discover it through the algorithm.
[0142] The common way to establish a secure channel between two network elements (such as gNB-CU and gNB-DU, or AMF and SMF) is through pre-configured certificates. Pre-configured certificates are required to establish a secure channel. The certificate of this application can be understood as a method to prevent "man in the middle attack". The two network elements can exchange public keys through a trusted third party, that is, the server does not send the public key directly to the client, but requires a trusted third party, that is, the certificate authority (CA), to merge the public key into the digital certificate. The server will then send the public key together with the certificate to the client, and the private key will be kept by the server itself to ensure security. Since the main process for establishing a secure channel is established through a protocol handshake, after the certificate is configured, a handshake can be performed between the two network elements. Taking the TLS protocol handshake as an example, the method for establishing a secure channel based on a pre-configured certificate may include but is not limited to one or more of stages one to four.
[0143] Phase 1: The client sends Random 1, one or more supported ciphers, and the Secure Socket Layer (SSL) version to the server. The server sends the determined cipher #1 and Random 2 to the client. Cipher #1 is a cipher selected from the ciphers sent by the client. Random 1 and Random 2 can be used to generate symmetric keys later.
[0144] Phase 2: The server sends its own certificate to the client, asking the client to verify the server's identity. The server notifies the client, and the server handshake (server hello) ends. Optionally, the server can also ask the client to report its own certificate, and after the client reports the certificate to the server, the server can notify the client and the server handshake (serverhello) ends.
[0145] Phase 3: After the client receives the certificate issued by the server, it verifies the legitimacy of the certificate from the certificate authority (CA). After verification, the client extracts the public key from the certificate, generates a random number 3 (Random3), and uses the public key to asymmetrically encrypt Random3 to generate the PreMaster Key. The client sends the PreMaster Key to the server, and the server decrypts it with its own private key to obtain Random3. At this point, both the server and the client have random numbers 1 to 3. The server and the client use the same algorithm to generate the key, and the data transmission after the handshake is completed uses this key for symmetrical encryption.
[0146] Phase 4: The client notifies the server that all subsequent messages will be encrypted using the previously negotiated key. The client generates a digest of the handshake message, encrypts the digest using the previously negotiated key, and sends it to the server. The server uses the key to decrypt, and successful decryption indicates that the keys are consistent. The server notifies the client that all subsequent messages will be encrypted using the previously negotiated key. The server generates a digest of the handshake message, encrypts the digest using the previously negotiated key, and sends it to the client. The client uses the key to decrypt, and successful decryption indicates that the keys are consistent. At this point, the secure channel based on the pre-configured certificate is established.
[0147] Although establishing a secure channel can effectively prevent data from being tampered with during transmission, that is, it can ensure the security of transmission. However, it is not certain whether a module or function of the opposite network element of the communication has been infiltrated by malware. If a module or function of the opposite network element has been infiltrated by malware, there is still a risk of data leakage. This is because when establishing a secure channel, as long as the certificate is legitimate, a secure channel can be established. That is to say, even if a module or function of a network element is infiltrated by malware, as long as its certificate is legitimate, this network element can establish a secure channel with other network elements, and this malware can obtain business data (such as user data) of communication between network elements through the infiltrated module or function. Figure 5 Schematic diagram of the technical problem of establishing a secure channel based on pre-configured certificates provided in the embodiment of the present application. Figure 5 As shown, the network element 1 includes four functional modules, namely, functional module 1 ( Figure 5 In the example, Func1 is used to represent the function module 2 ( Figure 5 In the example, Func2 is used to represent the function module 3 ( Figure 5 Func3) and function module 4 ( Figure 5 In the example, the function module 3 is infiltrated by malware (such as a Trojan horse function). However, the certificate a of NE 1 and the certificate b of NE 2 are both legitimate, so NE 1 and NE 2 can establish a secure channel, such as an IPSEC channel. At this time, the data transmitted from NE 2 to NE 1 through the secure channel (such as PDCP data on the user plane) is likely to be stolen by malware through the function module 3 of NE 1, resulting in data leakage.
[0148] Therefore, the method of establishing a secure channel based on pre-configured certificates still has certain security risks. How to ensure data security is a problem that needs to be considered.
[0149] Based on this, the embodiment of the present application provides a method, device and readable storage medium for establishing a secure channel, which verifies the security status of the network element before establishing the secure channel, thereby ensuring the security of the data transmitted by the network element after the secure channel is established. In addition, after the secure channel is established, the embodiment of the present application continuously confirms the security status of the network element, thereby changing the status of the secure channel and further improving the security of the data. The technical solution provided by the present application will be described in detail below in conjunction with more drawings.
[0150] The technical solution provided in the present application is described through multiple embodiments, with specific reference to the description of each embodiment below. Among them, the same or similar parts between each embodiment or implementation can refer to each other. In each embodiment in the present application, and each implementation method / implementation method / implementation method in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and each implementation method / implementation method / implementation method in each embodiment are consistent and can be referenced to each other, and the technical features in different embodiments and each implementation method / implementation method / implementation method in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The implementation methods of the present application described below do not constitute a limitation on the scope of protection of the present application.
[0151] Optionally, to facilitate understanding of the technical solution of the embodiment of the present application, a possible application scenario of the embodiment of the present application is briefly described before introducing the embodiment of the present application. It can be understood that the application scenario described in this application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application.
[0152] See also Figure 6 , Figure 6It is a schematic diagram of a possible application scenario provided by an embodiment of the present application. Among them, network elements (including base stations, core network elements, third-party network elements, etc.) may be deployed in the following two locations: a centralized location (centralized location) and a distributed location (distributed location). Usually, a centralized location is deployed with a centralized function (CF) or a centralized network element, and a distributed location is deployed with a distributed function (DF) or a distributed network element. CF (centralized network element) is usually deployed dynamically, and its functional modules usually change dynamically. For example, the functional modules of CF usually increase or decrease dynamically with the actual situation. This is because most CFs (centralized network elements), such as gNB-CU and core network elements, are deployed in a cloud / virtualized manner, and their functions / components will change with the migration of the platform and the increase or decrease of capacity. DF (distributed network element), such as gNB-DU, is usually statically deployed and deployed close to the user side (such as UE). In Figure 6 In the network, the security status of CF (centralized network element) and DF (distributed network element) is difficult to guarantee. This is because DF (distributed network element) is deployed at a remote end and it is difficult to ensure that it will not be infiltrated. The functional modules of CF (centralized network element) are often changed, and its security status cannot be guaranteed. Figure 6 The Verifier and operations, administration and maintenance (OAM) network elements in the network are credible, that is, the Verifier and OAM network elements are trusted, assuming that there is no security risk.
[0153] like Figure 6As shown, since the DF (distributed network element) is closer to the UE in the network, the DF (distributed network element) is directly or indirectly connected to the UE relative to the CF (centralized network element); and the CF (centralized network element) aggregates the service data of the DF (distributed network element) for unified processing. In some scenarios, the CF (centralized network element) may be a CU, and the DF (distributed network element) may be a DU. Alternatively, the CF (centralized network element) is an AMF, and the DF (distributed network element) is a base station. Alternatively, the CF (centralized network element) is a 5GC (5G core, i.e., 5G core network), and the DF (distributed network element) is a gNB. It should be understood that with the development of communication technology, the name of the network element may change, and this application does not limit this. In other words, CF (centralized network element) and DF (distributed network element) may also be network elements in future networks, for example, CF (centralized network element) is a 6G core network, and DF (distributed network element) is a 6G base station; or, CF (centralized network element) is a network element with the same function as AMF in a 6G network, and DF (distributed network element) is a 6G base station, etc. This application embodiment is not limited.
[0154] Optionally, the first network element in this application may be the above Figure 6 The CF (centralized network element) in the second network element can be the above Figure 6 DF (distributed network element) in. Exemplarily, taking the 5G network as an example, the first network element is gNB-CU, and the second network element is gNB-DU; or the first network element is AMF, and the second network element is gNB; or the first network element is the 5G core network, and the second network element is gNB. The Verifier (verifier) in this application is usually an independently set network element, that is, the Verifier is usually in a different physical location from the first network element and the second network element; of course, the Verifier can also be combined with the first network element or the second network element (or located in the same physical location). The Attester (certifier or measurer) in this application is usually combined with the first network element or the second network element (or located in the same physical location), of course, the Attester can also be set independently, that is, the Attester is in a different physical location from the first network element and the second network element. This application does not limit the setting method of the Verifier and Attester.
[0155] Embodiment 1
[0156] Embodiment 1 of the present application mainly introduces a method for establishing a secure channel using remote attestation and certificates.
[0157] See also Figure 7 , Figure 7 This is a first flow chart of the method for establishing a secure channel provided in the embodiment of the present application. Figure 7As shown, the method for establishing a secure channel may include but is not limited to the following steps:
[0158] S101, a second network element (DF) sends a connection establishment request to a first network element (CF), where the connection establishment request is used to request to establish a secure channel with the first network element.
[0159] Correspondingly, the first network element (CF) receives the connection establishment request.
[0160] S102, the first network element (CF) sends a measurement request to the verifier (Verifier), where the measurement request is used to request the verifier to issue a token Token to the second network element after the evidence verification of the second network element is passed.
[0161] Correspondingly, the verifier receives the measurement request sent by the first network element.
[0162] Optionally, when the second network element wants to exchange data with the first network element, the second network element may send a connection establishment request to the first network element on the control plane, and the connection establishment request may be used to request to establish a secure channel with the first network element, and the secure channel may be used to transmit service data, such as user data. For example, if the second network element is a DU, the second network element may send an F1 Setup Request message in the control plane of the F1 interface, and the F1 Setup Request message carries the connection establishment request, which is used to request the CU (i.e., the first network element) to establish a connection with it. After receiving the connection establishment request, the first network element may confirm the trusted state of the second network element. When the first network element cannot confirm the trusted state of the second network element, the first network element sends a measurement request to the Verifier on the control plane, which is used to request the Verifier to initiate measurement on the second network element and issue a Token to the second network element after the evidence verification of the second network element is passed. When the first network element confirms that the trusted state of the second network element is trusted, the first network element may perform a secure channel establishment process on the user plane with the second network element. The specific secure channel establishment method may refer to the aforementioned secure channel establishment based on the pre-configured certificate, which is not described in detail here.
[0163] The connection establishment request may include the identifier of the second network element (eg, DF ID) and the type of connection requested to be established. Here, the type of connection requested to be established may include, but is not limited to, one or more of the following: a control plane data transmission channel, or a base station connection channel.
[0164] Optionally, the measurement request may include an identifier of a second network element (DF) and a first fresh value. The identifier of the second network element may be used to uniquely identify the second network element, such as a DF identifier (DF ID). Exemplarily, the DF ID may be an identity identifier of a network element in a DF profile, which is used to identify messages sent by the network element in the network. For example, the DFID may be the address of the DF. If the IP address of the DF is 113.2.114.3, then the IP address may be the DF ID. The first fresh value may be used by the Verifier to generate a token Token. In some scenarios, the first fresh value may also be passed to the Attester for use by the Attester to generate evidence. See the description below for details, which will not be described in detail here. Exemplarily, the first fresh value may be a random number #1 or a time #1, such as the sending time of the measurement request. For ease of understanding, the first fresh value may be expressed as a fresh value for the Token.
[0165] Optionally, the measurement request may also include a Token verification policy. The Token verification policy may be used to instruct the Verifier to determine the conditions for issuing a Token to the second network element. In other words, the Token verification policy is used to indicate the algorithm used to generate the Token; or in other words, the Token verification policy is used to indicate what algorithm is required to generate the Token. For example, a Token is generated by verifying specific evidence, that is, only the evidence corresponding to a specific evidence number is verified. When the evidence corresponding to these specific evidence numbers is verified, the Verifier can generate a Token and issue it to the second network element. If one of the evidences corresponding to these specific evidence numbers is not verified, the Verifier cannot generate a Token or issue a Token to the second network element. In other words, the Token verification policy may indicate which evidence needs to be verified to generate the Token. For example, the evidence numbers of the second network element are 1 to 10, a total of 10 pieces of evidence, and the Token verification policy indicates that the evidence numbers 1, 3, and 9 need to be verified. If the evidence numbers 1, 3, and 9 are all verified, the Verifier can generate a Token and issue it to the second network element. This is conducive to the Verifier triggering the measurement process or remote attestation process as required.
[0166] Optionally, there are multiple ways for the first network element to confirm the trusted status of the second network element. One possible way is: the first network element can query whether there is a trusted status result of the second network element in the local cache. If there is a trusted status result of the second network element in the local cache, query whether the trusted status of the second network element is still within the validity period. If the trusted status of the second network element is within the validity period and is trusted, the first network element determines that the trusted status of the second network element is trusted. If the trusted status of the second network element is not within the validity period, it means that the first network element cannot determine the trusted status of the second network element. Another possible way is: the first network element can request the Verifier to obtain the trusted status result of the second network element cached in the Verifier. If the trusted status result of the second network element is trusted and still within the validity period, the first network element determines that the trusted status of the second network element is trusted. If the trusted status result of the second network element is not within the validity period, it means that the first network element cannot determine the trusted status of the second network element. Another possible way is: the first network element can obtain the trusted status result of the second network element through other functional network elements (such as the RAN intelligent controller (RIC)), and then determine the trusted status of the second network element according to the trusted status result of the second network element. Please refer to the previous description for details, which will not be repeated here.
[0167] Optionally, after the first network element receives the above-mentioned connection establishment request, the first network element may send a connection waiting indication to the second network element in the control plane, so as to inform the second network element that it needs to wait for the first network element to confirm the security status of the second network element. Exemplarily, when the first network element cannot confirm the trustworthy status of the second network element, it may send a connection waiting indication to the second network element in the control plane. The connection waiting indication may include an identifier of the second network element (such as DF ID) and a reason value #1. The reason value #1 may be used to describe the reason why the second network element needs to wait. It can be understood that the correspondence between the reason value #1 and the reason may be preset, and the embodiment of the present application does not limit it. Since the message interaction between each network element may have a default waiting interval, if a network element does not receive a message returned by the opposite network element within a waiting interval after sending a message, the network element may consider that the message has failed to be sent, and thus resend the message. In the embodiment of the present application, since the security status of the second network element needs to be confirmed, the required time is relatively long, which may exceed a waiting interval. Therefore, the embodiment of the present application sends a connection waiting indication to inform the second network element to wait, so as to avoid the second network element from resending the connection establishment request and reduce the waste of signaling resources.
[0168] In an optional embodiment, the first network element may send a measurement request to the Verifier without a trigger condition. Instead, before the first network element wants to exchange data with the second network element, or when the first network element cannot determine the trusted status of the second network element, the first network element may send a measurement request to the Verifier on the control plane to request the Verifier to send measurements to the second network element and issue a token to the second network element after the evidence of the second network element is verified. In other words, the measurement request can be used to request the Verifier to remotely attest the second network element and issue a token to the second network element when the remote attestation result is successful. Exemplarily, the measurement request may be a control plane message or signaling. For example, the measurement request may be carried in an already used control plane message or signaling, or may be a newly designed control plane message or signaling, and the embodiments of the present application are not limited thereto.
[0169] S103, the verifier sends an evidence acquisition message to the attester, where the evidence acquisition message is used to acquire evidence of the second network element.
[0170] Correspondingly, the Attester receives the evidence acquisition message sent by the Verifier, and acquires the corresponding evidence of the second network element (DF) according to the evidence acquisition message.
[0171] S104, the Attester sends the evidence of the second network element to the Verifier.
[0172] Correspondingly, the verifier receives the evidence of the second network element.
[0173] Optionally, the above-mentioned evidence acquisition message may include one or more of the following: an identifier of the second network element (such as DFID), a second fresh value, or a second measurement strategy. Among them, the second fresh value can be used by Attester to generate evidence. The second fresh value can be generated based on the above-mentioned first fresh value (i.e., fresh value for Token). For example, the first fresh value (i.e., fresh value for Token) is used as the second fresh value, or the result of the XOR of the first fresh value (i.e., fresh value for Token) and the preset value is used as the second fresh value. Of course, the second fresh value can also be configured by Verifier and has nothing to do with the first fresh value (i.e., fresh value for Token). The embodiment of the present application does not limit the specific generation method of the second fresh value. Exemplarily, the second fresh value can be a random number #2 or a time #2, such as the sending time of the evidence acquisition message. For ease of understanding, the second fresh value can be expressed as a measurement fresh value. The second measurement strategy can be used to determine which evidence of the second network element is obtained. The second measurement strategy can be pre-configured or generated according to the Token verification strategy. For example, the Token verification strategy can be used as the second measurement strategy. For example, if the Token verification strategy indicates that the evidence with evidence numbers 1, 3, and 9 needs to be verified, the second measurement strategy can indicate obtaining and feeding back the evidence with evidence numbers 1, 3, and 9 in the second network element. In some scenarios, if the evidence acquisition message does not carry the second measurement strategy, the Attester can decide which evidence of the second network element to obtain according to its own needs. In other words, the Attester can determine the second measurement strategy according to its own needs. In other scenarios, if the evidence acquisition message does not carry the second measurement strategy, the Attester can also obtain all the evidence of the second network element and feed it back to the Verifier.
[0174] Optionally, after receiving the above-mentioned evidence acquisition message sent by Verifier, Attester can obtain the corresponding evidence of the second network element according to the needs of Verifier (i.e., the above-mentioned evidence acquisition message), and can feed back the obtained evidence to Verifier. Verifier receives the evidence of the second network element fed back by Attester. For example, Attester can obtain the original evidence of the second network element according to the above-mentioned second measurement strategy, and generate an evidence chain (i.e., the evidence of the second network element) according to the obtained original evidence and the above-mentioned second fresh value (i.e., the measurement fresh value), such as {evidence 1, evidence 2, ..., evidence n}. Assuming that the second fresh value is a random number #2, the generation method of evidence 1 in the evidence chain can be the result of the value of the original evidence 1 of the second network element being XORed by the second fresh value (i.e., the measurement fresh value), and similarly, the generation method of evidence 2 in the evidence chain can be the result of the value of the original evidence 2 of the second network element being XORed by evidence 1, and the generation method of evidence 3 in the evidence chain can be the result of the value of the original evidence 3 of the second network element being XORed by evidence 2, and so on, and finally the evidence chain, i.e., the evidence of the second network element, is obtained.
[0175] Optionally, after Attester obtains the evidence of the second network element, it can also sign the evidence of the second network element to obtain evidence signature #1, and then send the evidence of the second network element and evidence signature #1 to Verifier. For example, after Attester obtains the evidence chain (i.e., the evidence of the second network element), Attester can sign the evidence chain to generate evidence signature #1. For example, Attester can sign the evidence chain using a key pre-shared with Verifier. Attester can carry the evidence chain and evidence signature #1 in a message (recorded as message #1 for ease of description) and feed it back to Verifier.
[0176] That is to say, the above step S103 can be replaced by: the measurement party (Attester) sends message #1 to the verification party (Verifier), and message #1 includes evidence of the second network element (such as the aforementioned evidence chain {evidence 1, evidence 2,..., evidence n}). Correspondingly, the verification party (Verifier) receives message #1 sent by the measurement party (Attester). Optionally, message #1 also includes one or more of the following: evidence signature #1, Attester's identifier (such as Attester ID), or an identifier of the second network element (such as DFID). For example, message #1 can be simply expressed as {Attester ID, DFID, evidence chain, evidence signature #1}. Exemplarily, the Attester ID can be the address of the Attester.
[0177] S105, the verifier (Verifier) verifies the evidence of the second network element (DF).
[0178] S106, if the evidence verification of the second network element passes, the verifier (Verifier) issues a token Token to the second network element (DF), and the token Token is used to verify whether the second network element can execute the process of establishing a secure channel with the first network element.
[0179] Correspondingly, the second network element (DF) receives the Token issued by the verifier (Verifier).
[0180] Optionally, after receiving the evidence of the second network element fed back by Attester, Verifier can verify the evidence of the second network element. Exemplarily, Verifier can verify the evidence of the second network element according to the aforementioned Token verification strategy and evidence reference value. For example, the evidence of the second network element is an evidence chain {evidence 1, evidence 2, ..., evidence n}, and the Token verification strategy indicates that evidence 1 and evidence 3 need to be verified to generate a Token, then Verifier only needs to verify whether evidence 1 and evidence 3 are valid. Of course, the evidence of the second network element can also include only evidence 1 and evidence 3, and the specific evidence of the second network element can be determined by Attester according to the above-mentioned second measurement strategy. Specifically, compare evidence 1 and evidence 3 with the evidence reference value. If they are consistent, it means that the evidence verification of the second network element has passed, and if they are inconsistent, it means that the evidence verification of the second network element has failed. For example, evidence 1 and evidence 3 are version numbers, and the evidence reference value is the range of the version number. Compare whether evidence 1 and evidence 3 are within this range. If both evidence 1 and evidence 3 are within this range, it means that the evidence verification of the second network element has passed; if at least one of evidence 1 and evidence 3 is not within this range, it means that the evidence verification of the second network element has failed. Among them, the evidence reference value can be locally pre-configured or obtained from other network elements, which is not limited in the embodiments of the present application. Optionally, the Verifier can verify the evidence of the second network element by itself, and can allow other network elements to assist in verifying the evidence of the second network element and receive the evidence verification results of the second network element, which is not limited in the embodiments of the present application. It can be understood that the embodiments of the present application do not limit the specific method of evidence verification, and the method of evidence verification can also refer to the prior art, which is not described in detail here.
[0181] Optionally, Verifier receives message #1 sent by Attester, and message #1 includes evidence of the second network element, evidence signature #1, Attester ID, and an identifier of the second network element (such as DF ID). Verifier can verify evidence signature #1, such as decrypting evidence signature #1 using a key pre-shared with Attester. If the decryption is successful, it means that the evidence of the second network element in message #1 comes from Attester, and Verifier can verify the evidence of the second network element. The specific verification process is as described above and will not be repeated here. If the decryption fails, it means that the evidence of the second network element in message #1 does not come from Attester, and Verifier can discard message #1 and ask Attester to feedback the evidence of the second network element.
[0182] The embodiment of the present application signs the evidence of the second network element through Attester, which can ensure that the evidence received by Verifier comes from Attester, thereby improving the security of evidence verification.
[0183] Optionally, if the evidence verification of the second network element passes, the Verifier can issue a Token to the second network element (DF), and the Token can be used to verify whether the second network element can execute the process of establishing a secure channel with the first network element. Exemplarily, if the evidence verification of the second network element passes, the Verifier can send a message #2 to the second network element, and the message #2 includes the identifier of the second network element (such as DF ID) and the Token or the identifier of the Token (such as Token ID). For example, message #2 can be simply expressed as {DF ID, Token or Token ID}. Among them, the Token ID is used to uniquely identify the Token.
[0184] Optionally, after the Verifier issues the Token to the second network element, the Verifier may also send token Token indication information to the first network element (CF). The token Token indication information may be used to indicate that the second network element has the above-mentioned Token. Exemplarily, the token Token indication information may include: an identifier of the first network element (such as CF ID), an identifier of the second network element (such as DFID), and an identifier of the Token or Token (Token ID). For example, the token Token indication information may be simply expressed as {CFID, DF ID, Token or Token ID}. After the first network element receives the token Token indication information, it may store the identifier of the second network element and the Token (or Token ID) correspondingly. After the Verifier of the embodiment of the present application issues the Token to the second network element, it also sends token Token indication information to the first network element to facilitate the subsequent verification of the validity of the Token by the first network element.
[0185] S107, the first network element (CF) sends a secure channel indication message to the second network element (DF), where the secure channel indication message is used to indicate that a token Token needs to be verified to establish a secure channel.
[0186] Correspondingly, the second network element (DF) receives the security channel indication information sent by the first network element (CF).
[0187] Optionally, after the above step S102, the first network element may send a secure channel indication message to the second network element on the control plane, indicating that the Token needs to be verified to establish the secure channel. This is because the first network element has notified the Verifier in step S102 to issue a Token to the second network element after the evidence verification of the second network element is passed. Therefore, after the above step S102, the second network element may be notified that the Token needs to be used to request when the secure channel is subsequently established, thereby avoiding a long period of two-way waiting. Alternatively, if the connection establishment request sent by the second network element to the first network element does not carry a Token, and the first network element believes that the second network element has a valid token based on judgment, the first network element may send a secure channel indication message to the second network element on the control plane, indicating that the Token needs to be verified to establish the secure channel. Alternatively, the first network element may send a secure channel indication message to the second network element on the control plane based on its own judgment, such as when the UE sends a user plane message to the CF (such as UPF) through the DF (such as gNB), and the CF finds that a secure channel for the user plane has not been established with the DF, the first network element may send a secure channel indication message to the second network element on the control plane, indicating that the Token needs to be verified to establish the secure channel. Alternatively, after the above step S106, the first network element sends a secure channel indication message to the second network element on the control plane, indicating that a verification Token is required to establish a secure channel.
[0188] The above-mentioned secure channel indication information can also be understood as: used to indicate that the second network element needs to carry a specific token when initiating the establishment of a secure channel. Exemplarily, the secure channel indication information can be carried in the successful response to the control plane establishment request. The secure channel here can be an IPSEC or DTLS channel for user plane data.
[0189] Optionally, the above-mentioned secure channel indication information may include one or more of the following: an identifier of the second network element (such as DFID), a Token indication, or a service type. Among them, the Token indication may indicate that the second network element needs to carry a specific Token when initiating the establishment of a secure channel. Exemplarily, the Token indication may be a Token ID or a True (yes) / False (no) indication. The service type may indicate the type of secure channel, such as a user plane IPSEC channel. In some scenarios, the above-mentioned secure channel indication information may be used to indicate what type of secure channel establishment the second network element initiates and needs to carry a specific Token.
[0190] S108, the second network element (DF) sends a secure channel establishment request to the first network element (CF), where the secure channel establishment request is used to request to establish a secure channel with the first network element, and the secure channel establishment request includes information of a token Token, where the information of the token Token is used to determine the token Token.
[0191] Correspondingly, the first network element (CF) receives the secure channel establishment request.
[0192] Optionally, the second network element sends a secure channel establishment request to the first network element on the control plane, which can be used to request to establish a secure channel on the user plane with the first network element. Exemplarily, the secure channel establishment request can be carried in a UE context setup request (UE CONTEXT SETUP REQUEST) message or a UE context update (UE CONTEXT SETUP UPDATE) message. Among them, the above-mentioned secure channel establishment request can include Token information, such as a Token or a Token ID, and the Token information can be used to determine the Token. Exemplarily, the Token information can be carried in a field of a pre-configured certificate, such as: an extended encryption field or a Proof-of-Possession (POP) of private key field of a pre-configured certificate.
[0193] It is understandable that if the Verifier only informs the Token ID when issuing the Token to the second network element, then the Token information in the above secure channel establishment request can be the Token ID. If the Verifier informs the Token when issuing the Token to the second network element, then the Token information in the above secure channel establishment request can be the Token. In other words, the Verifier can centrally manage the Token and only provide the TokenID to the first network element and the second network element, or the Verifier can also send the Token to the first network element and the second network element.
[0194] Optionally, the secure channel establishment request may also include an identifier (CF ID) of the first network element and a handshake request. The handshake request may be used by the first network element to determine the security protocol to be used for the transmission channel. Exemplarily, the handshake request may be a TLS certificate, and the first network element determines that the security protocol to be used for the transmission channel is the TLS protocol.
[0195] S109, if the token verification passes, the first network element (CF) and the second network element (DF) execute the process of establishing a secure channel.
[0196] Optionally, after receiving the above-mentioned secure channel establishment request, the first network element can verify the validity of the Token. There are many ways to verify the Token. For example, if the above-mentioned secure channel establishment request carries a Token, the first network element can verify whether the signature of the Verifier in the Token is valid. If the signature of the Verifier in the Token is valid, it means that the Token is valid, that is, the Token verification passes; if the signature of the Verifier in the Token is invalid, it means that the Token is invalid, that is, the Token verification fails. For another example, if the Verifier sends a token indication message to the first network element (assuming that the Token is included), the first network element can directly compare the Token corresponding to the locally cached second network element with the Token carried in the above-mentioned secure channel establishment request. If the Token corresponding to the locally cached second network element is consistent with the Token carried in the above-mentioned secure channel establishment request, it means that the Token is valid, that is, the Token verification passes. If the Token corresponding to the locally cached second network element is inconsistent with the Token carried in the above-mentioned secure channel establishment request, it means that the Token is invalid, that is, the Token verification fails. For another example, if the above secure channel establishment request carries a Token ID, the first network element can ask the Verifier to perform auxiliary verification. For example, the first network element can send the TokenID and the identifier of the second network element (such as DF ID) to the Verifier, and the Verifier verifies whether the Token identified by the TokenID is valid and whether the Token ID corresponds to the second network element identified by the identifier of the second network element. After the Verifier completes the verification, it can send the verification result to the first network element.
[0197] Optionally, if the token Token verification passes, the first network element and the second network element can execute the user-side secure channel establishment process, that is, the first network element and the second network element can continue to execute the existing secure channel handshake protocol based on the preconfigured certificate (such as the aforementioned TLS handshake). It can be understood that the verification of the Token can be placed between the steps of the secure channel handshake protocol based on the preconfigured certificate, or the Token can be verified first and then the secure channel handshake protocol based on the preconfigured certificate is executed. It can also be understood that when the Token is carried in a field of the preconfigured certificate (such as the extension encryption field), it means that the process of verifying the Token is executed between the handshake protocols. The embodiment of the present application does not limit the coupling order.
[0198] It can be understood that after the token verification is passed, the first network element and the second network element can execute the secure channel establishment process to establish the user plane transmission channel. After the secure channel is established, the first network element and the second network element can carry out user plane data transmission, thereby ensuring the security of user plane data.
[0199] Optionally, if the token verification fails, the first network element may refuse to perform the secure channel establishment process with the second network element. For example, the first network element may send a secure channel establishment response to the second network element on the control plane to refuse the secure channel establishment request sent by the second network element.
[0200] Before establishing a secure channel, the first network element and the second network element (these two network elements can be located in different locations) of the embodiment of the present application generate a Token through remote attestation and determine the security status of the network element (i.e., whether the Token verification passes) based on the Token. Then, when the security status of the network element is secure (i.e., the Token verification passes), a secure channel on the user plane is established through a pre-configured certificate, thereby protecting the security of user data transmitted between network elements and improving the security protection mechanism of user data.
[0201] In order to better understand the embodiments of the present application, the beneficial effects of the embodiments of the present application are illustrated below.
[0202] See also Figure 8 , Figure 8 It is a schematic diagram illustrating the beneficial effects provided by the embodiment of the present application. It is understandable that since the transmission protection on the line has been improved after the secure channel is established, it is particularly important to ensure the security status of the network element before the secure channel is established. In the embodiment of the present application, when the first network element (CF) needs to confirm the security status of the second network element (DF), the first network element can initiate remote certification to the second network element, and determine whether the secure channel establishment process can be executed based on the remote certification result. Figure 8 As shown, the first network element (CF) requests the Verifier to remotely attest the second network element (DF), and the Verifier requests the Attester to obtain evidence of the second network element (DF). The Attester obtains evidence 1, evidence 2, and evidence 3 of the second network element (DF) and feeds them back to the Verifier. The Verifier verifies the received evidence 1, evidence 2, and evidence 3. If the verification of evidence 2 fails, assuming that evidence 2 comes from functional module 3 (Func3) of the second network element (DF), then the first network element can find that functional module 3 of the second network element (DF) may be infiltrated. The first network element (CF) can refuse to establish a secure channel with the second network element (DF), or refuse to transmit user plane data with the second network element (DF). The first network element (CF) can also request the second network element (DF) to re-initiate the connection.
[0203] It can be seen that the embodiment of the present application uses remote authentication combined with pre-configured certificates to establish a secure channel, which can ensure the security of business data (such as user data) transmitted between network elements.
[0204] Embodiment 2
[0205] The embodiments of the present application mainly introduce how to continuously confirm the security status of network elements after establishing a secure channel to further improve the security of data.
[0206] Optionally, the second embodiment of the present application can be implemented alone or in combination with the first embodiment, which is not limited in the present application. When the second embodiment of the present application is implemented in combination with the first embodiment, the second embodiment of the present application can be executed after the first embodiment has established a secure channel.
[0207] See also Fig. 9 , Fig. 9 This is a second flow chart of the method for establishing a secure channel provided in the embodiment of the present application. Fig. 9 As shown, the method for establishing a secure channel may include but is not limited to one or more of the following steps:
[0208] S201, a first network element (CF) sends a resource service establishment request to a second network element (DF), where the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element.
[0209] Correspondingly, the second network element (DF) receives the resource service establishment request.
[0210] S202, the second network element (DF) sends a first subscription message to the verifier (Verifier), where the first subscription message is used to subscribe to the remote certification result of the verifier on the first network element (CF).
[0211] Correspondingly, the verifier receives the first subscription message.
[0212] Optionally, after establishing a secure channel, the first network element (CF) may send a resource service establishment request to the second network element (DF) on the control plane. The resource service establishment request may be used to request the user resource or service cell resource configuration of the second network element (DF). In some scenarios, the first network element is a CU, the second network element is a DU, and the CU requests the UE resource or cell information of the DU. Exemplarily, when the first network element is a CU and the second network element is a DU, the resource service establishment request may be carried in an F1 resource status request (F1 RESOURCE STATUS REQUEST) message. Exemplarily, when the first network element is an AMF and the second network element is a gNB, the resource service establishment request may be carried in a paging message of a specific UE. After receiving the resource service establishment request, the second network element (DF) may confirm the trusted status of the first network element (CF). The specific confirmation method may refer to the description related to the first network element confirming the trusted status of the second network element in the aforementioned embodiment 1, which will not be repeated here. When the second network element cannot confirm the trust status of the first network element, the second network element can send a first subscription message to the Verifier to subscribe to the remote certification result of the Verifier on the first network element. When the second network element confirms that the trust status of the first network element is trustworthy, the second network element can retain a secure channel with the first network element.
[0213] It can be understood that in the embodiment of the present application, the remote attestation of the first network element by the Verifier can be triggered at any time or under specific circumstances. For example, in a scenario where the first network element is a CU and the second network element is a DU, the remote attestation of the first network element by the Verifier can be triggered when the CU sends an F1 RESOURCE STATUS REQUEST message to the DU to obtain UE resources or cell information. For another example, in a scenario where the first network element is an AMF and the second network element is a gNB, the remote attestation of the first network element by the Verifier can be triggered after the AMF sends a paging message of a specific UE to the gNB. The embodiment of the present application does not limit the timing when the second network element sends the first subscription message to the Verifier.
[0214] Optionally, the first subscription message may include one or more of the following: an identifier of the second network element (such as DFID), an identifier of the first network element (such as CF ID), a subscription request, a measurement requirement, or a timestamp #1. The subscription request may be used to request the Verifier to return the remote attestation result of the first network element in a subscription manner. In other words, the subscription request may indicate that the result of the remote attestation is received in a subscription manner. Exemplarily, the subscription request may be carried in an explicit manner or in an implicit manner, such as by using the message name of the first subscription message to indicate that the Verifier is requested to return the remote attestation result of the first network element in a subscription manner. The measurement requirement may be used to (Verifier) determine the first measurement strategy. The specific determination method is described below and is not described in detail here. The measurement requirement may be used to indicate what algorithm or verification process the Verifier uses to verify the evidence, for example: the Verifier uses a method of verifying specific evidence for verification. Exemplarily, the method of verifying specific evidence may be understood as only verifying evidence with a specific evidence number. Carrying the measurement requirement in the first subscription message may help the Verifier trigger the remote attestation process for the first network element as required. The timestamp #1 can be used to verify whether the remote certification result of the first network element is valid. The specific verification method is described below and will not be described in detail here.
[0215] In an optional embodiment, after establishing the secure channel, when the second network element wants to confirm the security status of the first network element, it can also send a first subscription message to the Verifier to subscribe to the remote certification result of the Verifier on the first network element. In other words, the second network element can send the first subscription message to the Verifier without a trigger condition.
[0216] S203, the verifier sends a second subscription message to the attester, where the second subscription message is used to subscribe to the evidence of the first network element.
[0217] Correspondingly, the Attester receives the second subscription message and obtains the target evidence of the first network element (CF) according to the second subscription message.
[0218] S204, the measurer (Attester) sends an evidence notification message to the verifier (Verifier), where the evidence notification message includes target evidence of the first network element (CF), where the target evidence is used to determine the remote attestation result of the first network element.
[0219] Correspondingly, the verifier receives the evidence notification message.
[0220] Optionally, the above-mentioned second subscription message may include a first measurement strategy, which can be used to determine the evidence number of the subscription of the second subscription message. The second subscription message may also include one or more of the following: an identifier of the second network element (such as DF ID), an identifier of the first network element (such as CF ID), a subscription indication, or a timestamp #2. Among them, the subscription indication can be used to instruct Attester to periodically obtain evidence of the first network element in the form of subscription. The subscription indication can be displayed or carried implicitly, and the embodiment of the present application is not limited. The timestamp #2 can be used to verify the validity of the second subscription message. The specific verification method is described below and is not described in detail here.
[0221] Optionally, the first measurement strategy can be determined based on the measurement requirements in the aforementioned second subscription message. For example, the relationship between the measurement requirements and the measurement strategy is pre-stored in the Verifier. After receiving the second subscription message, the Verifier can determine the first measurement strategy corresponding to the measurement requirements in the second subscription message based on the relationship between the pre-stored measurement requirements and the measurement strategy. As shown in Table 1 below, Table 1 shows a possible relationship between the measurement requirements and the measurement strategy. It can be understood that Table 1 is only an example, and the embodiments of the present application do not limit the corresponding relationship between the measurement requirements and the measurement strategy.
[0222] Table 1
[0223]
[0224]
[0225] In Table 1, when the measurement requirement is to measure the default strategy, it means that the Verifier needs to verify the evidence of the default evidence number; when the measurement requirement is to measure the startup state, it means that the Verifier needs to verify the evidence of a specific evidence number; when the measurement requirement is to measure all contents, it means that the Verifier needs to verify the evidence of all evidence numbers.
[0226] Optionally, the first measurement strategy mentioned above may also be independent of the measurement requirements in the second subscription message mentioned above. The first measurement strategy may indicate obtaining rated evidence, such as obtaining evidence 1 to evidence 10. However, when the Verifier verifies the evidence, it may verify the evidence with the specified evidence number according to the above measurement requirements, and other evidence is not verified; the embodiments of the present application do not limit the specific implementation method. It can be understood that the evidence number that the above measurement requirements indicate that the Verifier needs to verify is included in the rated evidence indicated by the first measurement strategy. For example, if the measurement requirements indicate that the Verifier needs to verify evidence with evidence numbers 1, 3, and 4, then the first measurement strategy indicates that the rated evidence obtained includes evidence with evidence numbers 1, 3, and 4.
[0227] Optionally, after receiving the above-mentioned second subscription message, Attester can obtain the evidence of the specified evidence number in the first network element according to the content of the first metric strategy in the second subscription message. For the convenience of description, the evidence of the specified evidence number in the first network element obtained by Attester is recorded as the target evidence of the first network element. It can be understood that the target evidence of the first network element is the evidence corresponding to the evidence number subscribed by the above-mentioned second subscription message. Optionally, Attester can also sign the target evidence of the first network element to generate evidence signature #2. The specific signing method can refer to the relevant description in the aforementioned embodiment 1, which is not repeated here. Attester can then send an evidence notification message to Verifier, and the evidence notification message includes the target evidence of the first network element. The target evidence is used to determine the remote proof result of the first network element. The evidence notification message can also include one or more of the following: the identifier (CF ID) of the first network element, evidence signature #2, or timestamp #3. For example, the evidence notification message can be simply expressed as {CF ID, target evidence of the first network element, evidence signature #2, timestamp #3}. Among them, evidence signature #2 can be used to verify whether the target evidence of the first network element comes from Attester. Timestamp #3 can be used to verify the validity of the target evidence.
[0228] Optionally, the above-mentioned evidence notification message can be fed back regularly through the user plane. For example, Attester feeds back the evidence notification message to Attester regularly through the user plane heartbeat packet of the F1 interface.
[0229] S205, the verifier (Verifier) verifies the target evidence of the first network element (CF).
[0230] S206, the verifier (Verifier) sends a remote certification result to the second network element (DF), where the remote certification result includes a remote certification success of the first network element or a remote certification failure of the first network element.
[0231] Correspondingly, the second network element (DF) receives the remote certification result.
[0232] Optionally, after receiving the above-mentioned evidence notification message, the Verifier can obtain the target evidence of the first network element therein and can verify the target evidence. It can be understood that since the second network element (DF) is remotely deployed, if the Verifier and the second network element (DF) are remotely deployed together, the Verifier may not be able to update the evidence reference value in time. Or, the Verifier does not store the evidence reference value (reference value) required for verifying the evidence. Among them, the evidence reference value can be understood as a numerical value used to compare whether the evidence is valid. In this case, that is, the Verifier does not store the evidence reference value or does not update the evidence reference value in time, the Verifier needs to request the latest evidence reference value through the OAM network element. For example, the Verifier can send an evidence reference value acquisition request to the OAM network element to request OAM to feedback the latest evidence reference value of the first network element (CF). The OAM network element sends the latest evidence reference value of the first network element to the Verifier, and the Verifier receives and updates the evidence reference value of the first network element stored locally. The Verifier can then verify the target evidence of the first network element according to the aforementioned measurement requirements and the latest evidence reference value of the first network element obtained from the OAM network element. Exemplarily, the target evidence of the first network element includes {evidence 1, evidence 2, ..., evidence n}, and the above measurement requirement indicates that Verifier needs to verify evidence 1 and evidence 3, then Verifier only needs to verify whether evidence 1 and evidence 3 are valid. Of course, the target evidence of the first network element may also include only evidence 1 and evidence 3. The specific target evidence of the first network element can be determined by Attester based on the above-mentioned first measurement strategy. The embodiments of the present application do not limit the specific method of evidence verification. The method of evidence verification can refer to the relevant description and prior art in the aforementioned embodiment one, which will not be repeated here.
[0233] Optionally, if the above-mentioned evidence notification message includes evidence signature #2, Verifier can also verify evidence signature #2, such as using the key pre-shared with Attester to decrypt evidence signature #2. If the decryption is successful, it means that the target evidence of the second network element in the evidence notification message comes from Attester, that is, the evidence signature #2 is verified. In some scenarios, if the evidence signature #2 is verified, Verifier verifies the target evidence of the second network element. The specific verification process is as described above and will not be repeated here. If the decryption fails, it means that the target evidence of the second network element in the evidence notification message does not come from Attester, that is, the evidence signature #2 verification fails, then Verifier can discard the evidence notification message and ask Attester to feedback the evidence of the first network element.
[0234] It can be understood that the embodiment of the present application signs the target evidence of the first network element through Attester, which can ensure that the evidence received by Verifier comes from Attester, thereby improving the security of evidence verification.
[0235] Optionally, if the above-mentioned first subscription message, the above-mentioned second subscription message and the above-mentioned evidence notification message all carry timestamps, since the transmission method between network elements is stream transmission, the Verifier needs to verify whether the timestamp complies with the preset rules. Exemplarily, if the above-mentioned first subscription message includes timestamp #1 and measurement requirements, the above-mentioned second subscription message includes timestamp #2, and the above-mentioned evidence notification message includes timestamp #3, the Verifier can determine the timestamp verification method according to the above-mentioned measurement requirements. The Verifier can then use the determined timestamp verification method to jointly verify timestamp #1, timestamp #2 and timestamp #3. For example, the Verifier can pre-store the relationship between the measurement requirements and the timestamp verification method. Among them, the timestamp verification method can be predefined. As shown in Table 2 below, Table 2 shows a possible relationship between the measurement requirements and the timestamp verification method. It can be understood that Table 2 is only an example, and the embodiments of the present application do not limit the specific value of the timestamp and the corresponding relationship between the measurement requirements and the timestamp verification method.
[0236] Table 2
[0237]
[0238] Optionally, the Verifier determines the remote attestation result in combination with the verification result of the target evidence of the first network element, the verification result of the evidence signature #2, and the verification result of the timestamp. Exemplarily, when the verification result of the target evidence is passed, the verification result of the evidence signature #2 is also passed, and the verification result of the timestamp is also passed, the Verifier determines that the remote attestation result is that the remote attestation of the first network element is successful. When at least one of the verification result of the target evidence, the verification result of the evidence signature #2, or the verification result of the timestamp fails, the Verifier determines that the remote attestation result is that the remote attestation of the first network element has failed.
[0239] It is understandable that if there is no evidence signature #2 in the evidence notification message, then the Verifier does not need to combine the verification result of evidence signature #2 to determine the remote attestation result. Similarly, if there is no timestamp in the first subscription message, the second subscription message, and the evidence notification message, then the Verifier does not need to combine the verification result of the timestamp to determine the remote attestation result.
[0240] Optionally, after Verifier determines the remote attestation result, it can send the remote attestation result to the second network element. The remote attestation result may include the success of remote attestation of the first network element or the failure of remote attestation of the first network element. Accordingly, the second network element receives the remote attestation result. Exemplarily, Verifier may have two sending strategies, one sending strategy is: Verifier periodically sends the remote attestation result to the second network element. Another sending strategy is: when the remote attestation result is the failure of remote attestation of the first network element, send the remote attestation result to the second network element. The embodiments of the present application do not limit this.
[0241] S207, if the remote certification result is that the remote certification of the first network element fails, the second network element (DF) sends a signaling to the first network element (CF), and the signaling is used to notify the first network element of the remote certification failure.
[0242] Correspondingly, the first network element (CF) receives the signaling.
[0243] Optionally, after the second network element receives the remote attestation result fed back by the Verifier, if the remote attestation result is a remote attestation failure of the first network element, it indicates that the first network element may be infiltrated by malware, and the second network element may send a signaling to the first network element. The signaling may be used to notify the first network element of the remote attestation failure. The signaling may be a management plane interface management signaling. Exemplarily, when the first network element is a CU and the second network element is a DU, the signaling may be an F1 RESOURCE STATUS FAILURE message.
[0244] Optionally, the above signaling may include reason value #2. Reason value #2 may be used to describe the failure of remote certification of the first network element. It is understood that the correspondence between reason value #2 and the reason may be preset, and the embodiment of the present application does not limit this.
[0245] Optionally, after step S206, the method for establishing a secure channel may further include the following steps:
[0246] S208, the second network element (DF) sends a secure channel connection reset request to the OAM network element, and the secure channel connection reset request is used to request to reset the secure channel established between the second network element and the first network element. Here, "reset" can be understood as re-establishing the secure channel between the first network element and the second network element; or releasing the secure channel established between the second network element and the first network element, and waiting for the next establishment.
[0247] Optionally, after step S206, the second network element may also send a secure channel connection reset request to the OAM network element to request the reset of the secure channel established between the second network element and the first network element. For example, the secure channel established between the second network element and the first network element may refer to a DTLS connection, an IPSEC connection, or a quick user datagram protocol (UDP) network connection (QUIC), etc., for transmitting business data, and the embodiments of the present application are not limited thereto. Exemplarily, the secure channel connection reset request may include a reason value #3, which may be used to describe the reason for requesting the reset of the secure channel established between the second network element and the first network element. For example, the reason value #3 indicates that the remote attestation of the first network element has failed. It can be understood that the correspondence between the reason value #3 and the reason may be pre-set, and the embodiments of the present application are not limited thereto.
[0248] Optionally, after the second network element sends a secure channel connection reset request to the OAM network element, the second network element may also send a reestablishment request to the first network element to request to re-establish the control plane connection with the first network element. Alternatively, the second network element sends a service discovery request to other network elements to request to connect to other network elements that have similar functions to the first network element. For example, when the second network element is a DU and the first network element is a CU, the DU may send an F1 reset (F1 RESET) request to the CU to request to re-establish the control plane connection with the CU. For details, please refer to the description of 3GPP TS 38.473, which will not be described in detail here.
[0249] The embodiment of the present application subscribes to the regular remote attestation results to ensure that the second network element can obtain the security status of the dynamically changing first network element, and then provide local resource data, which can further improve the security of the data and continuously confirm the security status of the first network element. In addition, the embodiment of the present application can also make timely operations on the established security channel (such as resetting the established security channel) according to the remote attestation results to reduce the risk of data leakage.
[0250] Embodiment 3
[0251] The embodiment of the present application mainly introduces how to continuously confirm the security status of the network element after establishing a secure channel in a scenario where the DF needs to connect to the Verifier through the CF. It can be understood that the embodiment of the present application can be applied to the scenario where the base station DU must establish a connection with the Verifier through the CU.
[0252] Optionally, the third embodiment of the present application can be implemented alone or in combination with the first embodiment, which is not limited in the present application. When the third embodiment of the present application is implemented in combination with the first embodiment, the third embodiment of the present application can be executed after the first embodiment has established a secure channel.
[0253] See also Fig.10 , Fig.10 FIG. 1 is a third flow chart of the method for establishing a secure channel provided in the embodiment of the present application. Fig.10 As shown, the method for establishing a secure channel may include but is not limited to one or more of the following steps:
[0254] S301, a first network element (CF) sends a resource service establishment request to a second network element (DF), where the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element.
[0255] Correspondingly, the second network element (DF) receives the resource service establishment request.
[0256] S302, the second network element (DF) sends a first subscription message to the first network element (CF).
[0257] S303, the first network element (CF) forwards the first subscription message to the verifier (Verifier), where the first subscription message is used to subscribe to the remote certification result of the verifier on the first network element (CF).
[0258] Correspondingly, the verifier receives the first subscription message.
[0259] Optionally, after establishing a secure channel, the first network element (CF) may send a resource service establishment request to the second network element (DF) on the control side. The resource service establishment request may be used to request the user resources or service cell resource configuration of the second network element (DF). For specific implementation, please refer to the relevant description in the aforementioned embodiment 2, which will not be repeated here. After receiving the resource service establishment request, the second network element (DF) may confirm the trusted status of the first network element (CF). The specific confirmation method may refer to the description related to the first network element confirming the trusted status of the second network element in the aforementioned embodiment 1, which will not be repeated here. When the second network element cannot confirm the trusted status of the first network element, the second network element may send a first subscription message to the Verifier through the first network element to subscribe to the remote certification result of the Verifier for the first network element. When the second network element confirms that the trusted status of the first network element is trusted, the second network element may retain a secure channel with the first network element.
[0260] In some possible scenarios, after the second network element (DF) sends the first subscription message to the first network element (CF) (i.e., step S302), the second network element may start a timer according to a preconfigured policy. The initial value of the timer may be preconfigured. If the second network element has not received the remote certification result fed back by the Verifier after the timer expires, the process jumps to step S309. In other words, if the second network element has not received the remote certification result fed back by the Verifier after the timer expires, the second network element may send a signaling to the first network element, which is used to notify the first network element of the failure of the remote certification.
[0261] Optionally, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The first subscription message may also include one or more of the following: an identifier of the second network element (such as DF ID), an identifier of the first network element (such as CF ID), a subscription request, a measurement requirement, or a timestamp #1. The functions or effects of the subscription request, the measurement requirement, and the timestamp #1 refer to the description in the aforementioned embodiment 2, and are not repeated here. The first integrity protection information may include a message authentication code (MAC) generated based on the first subscription message. The first encryption information may include information encrypted from the first subscription message. For example, the first integrity protection information or the first encryption information may be integrity protection or encryption of key parameters (such as subscription requests and / or measurement requirements) in the first subscription message, and of course, integrity protection or encryption of the entire first subscription message. Exemplarily, integrity protection may refer to generating a message authentication code for all or part of the content of the first subscription message using a key. The key used here may be a key pre-shared by the Verifier and the second network element. Exemplarily, encryption may be performed using a key pre-shared by the Verifier and the second network element. The encryption algorithm may be an Advanced Encryption Standard (AES) algorithm, for example, using the AES algorithm to generate ciphertext and then replacing the corresponding one or more plaintext cells.
[0262] It can be understood that in the field of information security, common information protection methods are divided into two categories: encryption and authentication. Authentication is divided into two methods: user authentication and message authentication. User authentication is used to identify whether the user's identity is a legitimate user; message authentication is used to verify whether the received message comes from the real sender and has not been modified, and the accuracy of the message can be verified. Message authentication is actually a redundant information generated for the message itself, namely the message authentication code (MAC). Message authentication code is a technology that confirms integrity and performs authentication. In cryptography, message authentication code refers to a verification mechanism used by both communication entities and a tool to ensure message integrity. Message authentication code can be a hash function with a key. Because the message can be tampered with during transmission, in order to ensure that the message has not been tampered with when it is received, the MAC algorithm is used to generate a message authentication code with part or all of the message as input, so that after the recipient receives the message, the message authentication code can be used to judge the integrity of the entire message, thereby achieving the purpose of information transmission.
[0263] In an optional embodiment, since DF needs to connect to Verifier through CF, after establishing a secure channel, when the second network element wants to confirm the security status of the first network element, it needs to first send a first subscription message to the first network element, and the first network element can then forward the first subscription message to Verifier. The first subscription message can be used to subscribe to the remote certification result of Verifier for the first network element. It can be understood that the forwarding in the embodiment of the present application can be understood as transparent transmission, which will not be repeated below.
[0264] S304, the verifier sends a second subscription message to the attester, where the second subscription message is used to subscribe to the evidence of the first network element.
[0265] Correspondingly, the Attester receives the second subscription message and obtains the target evidence of the first network element (CF) according to the second subscription message.
[0266] S305, the Attester sends an evidence notification message to the Verifier, where the evidence notification message includes target evidence of the first network element (CF), where the target evidence is used to determine a remote attestation result of the first network element.
[0267] Correspondingly, the verifier receives the evidence notification message.
[0268] S306, the verifier (Verifier) verifies the target evidence of the first network element (CF).
[0269] Optionally, the implementation of steps S304 to S306 in the embodiment of the present application may refer to the implementation of steps S203 to S205 in the aforementioned embodiment 2, which will not be repeated here.
[0270] Optionally, before step S304, that is, before the Verifier sends the second subscription message to the Attester, the Verifier verifies the received first subscription message to determine whether the first subscription message is valid. If the first subscription message is valid, step S304 is executed.
[0271] In a possible implementation, if the Verifier locally stores a MAC key or a decryption key required for verifying the MAC, after receiving the first subscription message, the Verifier can use the locally stored MAC key to verify whether the first integrity protection information in the first subscription message is valid, or use the locally stored decryption key to decrypt the first encrypted information in the first subscription message. It can be understood that the first integrity protection information is verified using the MAC key. If the verification result (such as the decrypted content) is consistent with the content before integrity protection (such as the key parameters in the first subscription message), it means that the first integrity protection information is valid. If the verification result (such as the decrypted content) is inconsistent with the content before integrity protection (such as the key parameters in the first subscription message), it means that the first integrity protection information is invalid. It can also be understood that if the result of decrypting the first encrypted information using the decryption key is consistent with the plaintext content before encryption, it means that the first encrypted information is valid. If the result of decrypting the first encrypted information using the decryption key is inconsistent with the plaintext content before encryption, it means that the first encrypted information is invalid.
[0272] If the first integrity protection information is valid, the Verifier can determine that the first subscription message is valid. If the first integrity protection information is invalid, the Verifier can determine that the first subscription message is invalid. If the first encryption information is valid, the Verifier can determine that the first subscription message is valid. If the first encryption is invalid, the Verifier can determine that the first subscription message is invalid. If the first subscription message includes both the first integrity protection information and the first encryption information, the first subscription message is valid only when both the first integrity protection information and the first encryption information are valid. In the case that the first subscription message is invalid, the Verifier can return a rejection message to the second network element through the first network element to reject the second network element from subscribing to the remote attestation result of the first network element (CF). Alternatively, the Verifier can request the second network element to resubscribe.
[0273] In another possible implementation, the Verifier does not locally store the key and decryption key required for verifying the MAC, and the Verifier may request the OAM network element to assist in determining whether the first subscription message is valid.
[0274] For example, when the second network element uses message encryption to protect the first subscription message, that is to say, the first subscription message includes the first encrypted information. The Verifier can send a request #1 to the OAM network element, and the request #1 includes the identifier of the second network element (such as DF ID) and the encryption container. Here, the encryption container may include all encrypted information elements, that is, the first encrypted information. The request #1 can be used to request the OAM network element to decrypt the first encrypted information. After receiving the request #1, the OAM network element uses the decryption key of the second network element to decrypt the first encrypted information, and sends a response #1 to the Verifier. The response #1 includes the Verifier ID and the decrypted container. Here, the decrypted container may include the information element obtained after decrypting the encryption container, that is, the result of decrypting the first encrypted information. The Verifier determines whether the result of the decryption of the first encrypted information is consistent with the plaintext content before encryption. If they are consistent, it means that the first subscription message is valid. If they are inconsistent, it means that the first subscription message is invalid.
[0275] For another example, the first subscription message includes the first encrypted information. The Verifier can send a request #2 to the OAM network element to request the OAM network element to feedback the decryption password of the second network element. The request #2 can include the identifier of the second network element, and optionally also includes key auxiliary information, such as a timestamp. After receiving the request #2, the OAM network element can send a response #2 to the Verifier. The response #2 includes the identifier of the second network element, the Verifier ID, and the decryption key. The Verifier uses the decryption key to decrypt the first encrypted information and obtain the plaintext content, thereby determining whether the first subscription message is valid.
[0276] For another example, when the second network element uses integrity protection to protect the first subscription message, that is to say, the first subscription message includes the first integrity protection information. The Verifier can send request #3 to the OAM network element to request the OAM network element to feedback the MAC key of the second network element. The request #3 may include the identifier of the second network element, and optionally also includes MAC key auxiliary information, such as a timestamp or the original MAC code. After receiving request #3, the OAM network element can send response #3 to the Verifier. The response #3 includes the identifier of the second network element, the Verifier ID, and the MAC key. The Verifier uses the MAC key to verify the first integrity protection information, and then determines whether the first subscription message is valid. The specific verification method is as described above and will not be repeated here.
[0277] For another example, the first subscription message includes the first integrity protection information. The Verifier can send a request #4 to the OAM network element, and the request #4 includes the identifier of the second network element (such as DF ID) and the original MAC code (i.e., the first integrity protection information). The request #4 can be used to request the OAM network element to verify the first integrity protection information. After receiving the request #4, the OAM network element verifies the first integrity protection information using the MAC key of the second network element, and sends a response #4 to the Verifier. The response #4 includes the Verifier ID, the identifier of the second network element, and the verification result. The Verifier determines whether the first subscription message is valid based on the verification result. The specific judgment method can be referred to the previous description and will not be repeated here.
[0278] S307, the verifier (Verifier) sends the remote certification result to the first network element (CF).
[0279] S308, the first network element (CF) forwards the remote certification result to the second network element (DF), where the remote certification result includes the success of the remote certification of the first network element or the failure of the remote certification of the first network element.
[0280] Correspondingly, the second network element (DF) receives the remote certification result.
[0281] Optionally, the above remote attestation result may include: remote attestation success of the first network element or remote attestation failure of the first network element, second integrity protection information and / or second encrypted information. Among them, the second integrity protection information includes a message verification code generated based on the remote attestation result. The second encrypted information includes the encrypted information of the remote attestation result. It can be understood that if the second network element uses encryption to protect the above first subscription message, then the Verifier can also use encryption to protect the remote attestation result. In other words, if the above first subscription message includes the first encrypted information, then the remote attestation result includes the second encrypted information. If the second network element uses integrity protection to protect the above first subscription message, then the Verifier can also use integrity protection to protect the remote attestation result. In other words, if the above first subscription message includes the first integrity protection information, then the remote attestation result includes the second integrity protection information.
[0282] It can also be understood that if the Verifier stores a MAC key or a decryption key locally, the remote attestation result can be processed locally to obtain the second integrity protection information and / or the second encrypted information. If the Verifier does not store a MAC key or a decryption key locally, the second integrity protection information and / or the second encrypted information can be generated with the assistance of the OAM network element. The specific implementation can refer to the previous description and will not be repeated here.
[0283] Optionally, the Verifier may transparently transmit the remote certification result to the second network element through the first network element. The specific implementation method may refer to the implementation method of step S206 in the aforementioned embodiment 2, which will not be repeated here.
[0284] S309: If the remote certification result is that the remote certification of the first network element fails, the second network element (DF) sends a signaling to the first network element (CF), and the signaling is used to notify the first network element of the remote certification failure.
[0285] Correspondingly, the first network element (CF) receives the signaling.
[0286] Optionally, the implementation method of step S309 of the embodiment of the present application may refer to the implementation method of step S207 in the aforementioned embodiment 2, which will not be repeated here.
[0287] Optionally, before step S309, after the second network element (DF) receives the above-mentioned remote attestation result, it can verify the second integrity protection information in the remote attestation result through the locally pre-configured Verifier security context, and / or decrypt and verify the second encrypted information in the remote attestation result. The specific verification method can refer to the description in the previous text and will not be repeated here. Here, the Verifier security context may refer to the key and other contents pre-shared by the second network element and the Verifier. When the second integrity protection information is verified and the remote attestation of the first network element fails, the second network element sends a signal to the first network element. Alternatively, when the second encrypted information is verified and the remote attestation of the first network element fails, the second network element sends a signal to the first network element. Alternatively, when both the second integrity protection information and the second encrypted information are verified and the remote attestation of the first network element fails, the second network element sends a signal to the first network element.
[0288] Optionally, after step S309, the second network element may also send a secure channel connection reset request to the OAM network element to request the reset of the secure channel established between the second network element and the first network element. Exemplarily, the secure channel connection reset request may include a reason value #3, which may be used to describe the reason for requesting the reset of the secure channel established between the second network element and the first network element. For example, the reason value #3 indicates that the remote attestation of the first network element has failed. It is understandable that the correspondence between the reason value #3 and the reason may be preset, and the embodiments of the present application are not limited thereto.
[0289] Optionally, after step S309, the second network element may also send a reestablishment request to the first network element to request to reestablish a control plane connection with the first network element. Alternatively, the second network element sends a service discovery request to other network elements to request to connect to other network elements with similar functions to the first network element. For example, when the second network element is a DU and the first network element is a CU, the DU may send an F1 reset (F1 RESET) request to the CU to request to reestablish a control plane connection with the CU. For details, please refer to the description of 3GPP TS 38.473, which will not be described in detail here.
[0290] In the scenario where DF needs to be forwarded through CF, the embodiment of the present application provides a mechanism for security protection of remote attestation results to prevent tampering of requests and results by the first network element whose security status has not been confirmed. In addition, by subscribing to regular remote attestation results, the embodiment of the present application ensures that the second network element can obtain the security status of the dynamically changing first network element before providing local resource data, which can further improve data security and continuously confirm the security status of the first network element. The embodiment of the present application can also make timely operations on the established security channel (such as resetting the established security channel) according to the remote attestation results to reduce the risk of data leakage.
[0291] The above content elaborates on the method of the present application in detail. In order to facilitate better implementation of the above scheme of the embodiment of the present application, the embodiment of the present application also provides corresponding devices or equipment.
[0292] The embodiment of the present application can divide the functional modules of each network element of the present application according to the above method example, and also divide the functional modules of the above network elements according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic, which is only a logical functional division. There may be other division methods in actual implementation. The following will be combined with Figures 11 to 13 The communication device according to the embodiment of the present application is described in detail.
[0293] See also Fig.11 , Fig.11 is a schematic diagram of a structure of a communication device provided in an embodiment of the present application. Fig.11 As shown, the communication device includes: a transceiver unit 10 and a processing unit 20.
[0294] In some embodiments of the present application, the communication device may be the first network element shown above or a chip or circuit that may be arranged in the first network element. That is, the communication device may be used to execute the steps or functions executed by the first network element in the above method embodiment.
[0295] In one design, the transceiver unit 10 is used to send a measurement request to the verifier, and the measurement request is used to request the verifier to issue a Token to the second network element after the evidence verification of the second network element is passed; the transceiver unit 10 is also used to send security channel indication information to the second network element, and the security channel indication information is used to indicate that the Token needs to be verified to establish a security channel; the transceiver unit 10 is also used to receive a security channel establishment request sent by the second network element, and the security channel establishment request is used to request to establish a security channel with the first network element, and the security channel establishment request includes information of the Token, and the information of the Token is used to determine the Token; the processing unit 20 is used to execute the security channel establishment process after the Token verification is passed.
[0296] Exemplarily, the transceiver unit 10 is further configured to receive a connection establishment request, where the connection establishment request is used to request the second network element to establish a secure channel with the first network element.
[0297] Exemplarily, the transceiver unit 10 is further used to receive Token indication information sent by the verifier, where the Token indication information is used to indicate that the second network element has the Token, and the Token indication information at least includes the Token or an identifier of the Token.
[0298] Exemplarily, the transceiver unit 10 is further used to send Token verification information to the verifier, where the Token verification information includes information of the Token, and the Token verification information is used to request the verifier to verify whether the Token is valid; the transceiver unit 10 is further used to receive the Token verification result sent by the verifier, where the Token verification result indicates that the Token is valid; the processing unit 20 is further used to determine whether the Token verification has passed based on the Token verification result.
[0299] Exemplarily, the transceiver unit 10 is also used to send a resource service establishment request to the second network element, where the resource service establishment request is used to request to obtain the user resources or service cell resource configuration of the second network element; the transceiver unit 10 is also used to receive signaling sent by the second network element, where the signaling is used to notify the first network element of the failure of remote certification.
[0300] Exemplarily, the transceiver unit 10 is also used to receive the remote attestation result sent by the verifier; the transceiver unit 10 is also used to send the remote attestation result to the second network element, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element.
[0301] In the embodiment of the present application, the description of the measurement request, the connection establishment request, the resource service establishment request, the first subscription message, the remote certification result, etc. can refer to the above method embodiment (including Figure 7 , Fig. 9 ,or Fig.10 ) are introduced in detail here.
[0302] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0303] In another design, the transceiver unit 10 is used to send a resource service establishment request to the second network element, and the resource service establishment request is used to request to obtain the user resources or service cell resource configuration of the second network element; the transceiver unit 10 is also used to receive signaling sent by the second network element, and the signaling is used to notify the first network element of the failure of remote certification.
[0304] Exemplarily, the processing unit 20 is configured to generate a resource service establishment request.
[0305] Exemplarily, the transceiver unit 10 is further used to receive a first subscription message sent by the second network element, where the first subscription message is used to subscribe to the remote certification result of the verifier on the first network element; the transceiver unit 10 is also used to send the first subscription message to the verifier.
[0306] Exemplarily, the transceiver unit 10 is also used to receive a remote attestation result sent by the verifier; the transceiver unit 10 is also used to send the remote attestation result to the second network element, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element.
[0307] In the embodiment of the present application, the description of the resource service establishment request, signaling, the first subscription message, the remote certification result, etc. can refer to the above method embodiment (including Fig. 9 or Fig.10 ) are introduced in detail here.
[0308] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0309] Reuse Fig.11 In some other embodiments of the present application, the communication device may be the second network element shown above or a chip or circuit that may be arranged in the second network element. That is, the communication device may be used to execute the steps or functions executed by the second network element in the above method embodiment.
[0310] In one design, the transceiver unit 10 is used to receive a Token issued by a verifier; the transceiver unit 10 is also used to receive security channel indication information sent by a first network element, where the security channel indication information is used to indicate that the Token needs to be verified to establish a security channel; the transceiver unit 10 is also used to send a security channel establishment request to the first network element, where the security channel establishment request is used to request to establish a security channel with the first network element, where the security channel establishment request includes information about the Token, and the information about the Token is used to determine the Token; the processing unit 20 is used to execute a security channel establishment process.
[0311] Exemplarily, the transceiver unit 10 is further configured to send a connection establishment request to the first network element, where the connection establishment request is used to request to establish a secure channel with the first network element.
[0312] Exemplarily, the transceiver unit 10 is also used to receive a resource service establishment request sent by the first network element, and the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element; the transceiver unit 10 is also used to send a first subscription message to the verifier, and the first subscription message is used to subscribe to the remote attestation result of the verifier for the first network element; the transceiver unit 10 is also used to receive the remote attestation result sent by the verifier, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element; the transceiver unit 10 is also used to send signaling to the first network element when the remote attestation result is the remote attestation failure of the first network element, and the signaling is used to notify the first network element of the remote attestation failure.
[0313] Exemplarily, the transceiver unit 10 is specifically configured to send a first subscription message to the verification party.
[0314] Exemplarily, the transceiver unit 10 is specifically configured to receive a remote certification result sent by a verification party.
[0315] Exemplarily, the transceiver unit 10 is further used to send a secure channel connection reset request to the operation management and maintenance network element, where the secure channel connection reset request is used to request to reset the secure channel established between the second network element and the first network element.
[0316] In the embodiment of the present application, the description of the measurement request, the connection establishment request, the resource service establishment request, the first subscription message, the remote certification result, etc. can refer to the above method embodiment (including Figure 7 , Fig. 9,or Fig.10 ) are introduced in detail here.
[0317] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0318] In another design, the transceiver unit 10 is used to receive a resource service establishment request sent by the first network element, and the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element; the transceiver unit 10 is also used to send a first subscription message to the verifier, and the first subscription message is used to subscribe to the remote attestation result of the verifier for the first network element; the transceiver unit 10 is also used to receive the remote attestation result sent by the verifier, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element; the transceiver unit 10 is also used to send signaling to the first network element when the remote attestation result is the remote attestation failure of the first network element, and the signaling is used to notify the first network element of the remote attestation failure.
[0319] Exemplarily, the processing unit 20 is configured to generate a first subscription message and signaling.
[0320] Exemplarily, the transceiver unit 10 is specifically configured to send a first subscription message to the verification party.
[0321] Exemplarily, the transceiver unit 10 is specifically configured to receive a remote certification result sent by a verification party.
[0322] Exemplarily, the transceiver unit 10 is further configured to send a security channel connection reset request to the operation management and maintenance network element, requesting to reset the security channel established between the second network element and the first network element.
[0323] In the embodiment of the present application, the description of the resource service establishment request, signaling, the first subscription message, the remote certification result, etc. can refer to the above method embodiment (including Fig. 9 or Fig.10 ) are introduced in detail here.
[0324] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0325] Reuse Fig.11 In some other embodiments of the present application, the communication device may be the authenticator shown above or a chip or circuit in the authenticator. That is, the communication device may be used to execute the steps or functions performed by the authenticator in the above method embodiments.
[0326] In one design, the transceiver unit 10 is used to receive a measurement request sent by a first network element, where the measurement request is used to request a verifier to issue a Token to a second network element after the evidence of the second network element is successfully verified; the transceiver unit 10 is also used to send an evidence acquisition message to the measurement party, where the evidence acquisition message is used to obtain evidence of the second network element; the transceiver unit 10 is also used to receive evidence of the second network element sent by the measurement party; the processing unit 20 is used to verify the evidence of the second network element; the transceiver unit 10 is also used to issue a Token to the second network element after the evidence of the second network element is successfully verified, where the Token is used to verify whether the second network element can execute a secure channel establishment process with the first network element.
[0327] Exemplarily, the measurement request may further include a Token verification policy. The processing unit 20 is further configured to determine a condition for issuing the Token to the second network element according to the Token verification policy.
[0328] Exemplarily, the transceiver unit 10 is further used to send Token indication information to the first network element, where the Token indication information is used to indicate that the second network element has the Token.
[0329] Exemplarily, the transceiver unit 10 is further used to receive Token verification information sent by the first network element, the Token verification information includes information of the Token, the Token information is used to determine the Token, and the Token verification information is used to request the verification party to verify whether the Token is valid; the processing unit 20 is further used to verify the Token and obtain a Token verification result, and the Token verification result is that the Token is valid; the transceiver unit 10 is also used to send the Token verification result to the first network element.
[0330] Exemplarily, the transceiver unit 10 is also used to receive a first subscription message sent by the second network element or the first network element, and the first subscription message is used to subscribe to the remote attestation result of the first network element by the verification party; the transceiver unit 10 is also used to send a second subscription message to the measurement party, and the second subscription message is used to subscribe to the evidence of the first network element; the transceiver unit 10 is also used to receive an evidence notification message sent by the measurement party, and the evidence notification message includes the target evidence of the first network element, and the target evidence is used to determine the remote attestation result of the first network element; the processing unit 20 is also used to verify the target evidence of the first network element; the transceiver unit 10 is also used to send a remote attestation result to the second network element or the first network element, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element. If the target evidence is verified, the remote attestation result is the remote attestation success of the first network element, and if the target evidence is not verified, the remote attestation result is the remote attestation failure of the first network element.
[0331] Exemplarily, the processing unit 20 is further configured to determine, based on the first integrity protection information or the first encryption information, that the first subscription message is valid.
[0332] Exemplarily, the second subscription message includes a first metric strategy, and the first metric strategy is used to determine the evidence number subscribed to by the second subscription message. The processing unit 20 is also used to determine the first metric strategy according to the metric requirement in the second subscription message. The target evidence is the evidence in the first network element corresponding to the evidence number subscribed to by the second subscription message.
[0333] Exemplarily, the processing unit 20 is further used to determine a timestamp verification method according to the measurement requirements in the first subscription message; the processing unit 20 is further used to adopt the determined timestamp verification method to jointly verify the timestamp in the first subscription message, the timestamp in the evidence notification message, and the timestamp in the second subscription message. Wherein, when the joint verification passes and the target evidence verification passes, the remote attestation result is that the remote attestation of the first network element is successful. When the joint verification fails or the target evidence verification fails, the remote attestation result is that the remote attestation of the first network element fails.
[0334] In the embodiments of the present application, the description of the measurement request, the evidence acquisition message, the first subscription message, the evidence notification message, the remote attestation result, etc. can refer to the above method embodiments (including Figure 7 , Fig. 9 ,or Fig.10 ) are introduced in detail here.
[0335] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0336] In another design, the transceiver unit 10 is used to receive a first subscription message sent by the second network element or the first network element, and the first subscription message is used to subscribe to the remote attestation result of the first network element by the verification party; the transceiver unit 10 is also used to send a second subscription message to the measurement party, and the second subscription message is used to subscribe to the evidence of the first network element; the transceiver unit 10 is also used to receive an evidence notification message sent by the measurement party, and the evidence notification message includes the target evidence of the first network element, and the target evidence is used to determine the remote attestation result of the first network element; the processing unit 20 is used to verify the target evidence of the first network element; the transceiver unit 10 is also used to send a remote attestation result to the second network element or the first network element, and the remote attestation result includes the remote attestation success of the first network element or the remote attestation failure of the first network element. If the target evidence is verified, the remote attestation result is the remote attestation success of the first network element, and if the target evidence is not verified, the remote attestation result is the remote attestation failure of the first network element.
[0337] Exemplarily, the first subscription message includes one or more of the following: first integrity protection information, or first encryption information. The processing unit 20 is further configured to determine that the first subscription message is valid according to the first integrity protection information or the first encryption information.
[0338] Exemplarily, the second subscription message includes a first metric strategy, and the first metric strategy is used to determine the evidence number subscribed to by the second subscription message. The processing unit 20 is also used to determine the first metric strategy according to the metric requirement in the second subscription message. The target evidence is the evidence in the first network element corresponding to the evidence number subscribed to by the second subscription message.
[0339] Exemplarily, the processing unit 20 is further used to determine a timestamp verification method according to the measurement requirements in the first subscription message; the processing unit 20 is further used to adopt the determined timestamp verification method to jointly verify the timestamp in the first subscription message, the timestamp in the evidence notification message, and the timestamp in the second subscription message. Wherein, when the joint verification passes and the target evidence verification passes, the remote attestation result is that the remote attestation of the first network element is successful. When the joint verification fails or the target evidence verification fails, the remote attestation result is that the remote attestation of the first network element fails.
[0340] In the embodiments of the present application, the description of the evidence acquisition message, the first subscription message, the evidence notification message, the remote proof result, etc. can refer to the above method embodiments (including Fig. 9 or Fig.10 ) are introduced in detail here.
[0341] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0342] Reuse Fig.11 In some other embodiments of the present application, the communication device may be the measurement method shown above or a chip or circuit in the measurement method. That is, the communication device may be used to execute the steps or functions performed by the measurement method in the above method embodiment.
[0343] In one design, the transceiver unit 10 is used to receive an evidence acquisition message sent by a verifier, where the evidence acquisition message is used to obtain evidence of a second network element. The transceiver unit 10 is also used to send the evidence of the second network element to the verifier, where the evidence of the second network element is used by the verifier to perform evidence verification.
[0344] Exemplarily, the processing unit 20 is configured to obtain evidence of the second network element.
[0345] Exemplarily, the transceiver unit 10 is also used to receive a second subscription message sent by the verifier, where the second subscription message is used to subscribe to the evidence of the first network element; the transceiver unit 10 is also used to send an evidence notification message to the verifier, where the evidence notification message includes target evidence of the first network element, and the target evidence is used to determine the remote proof result of the first network element.
[0346] In the embodiments of the present application, the description of the evidence acquisition message, the second subscription message, the evidence notification message, etc. can refer to the above method embodiments (including Figure 7 , Fig. 9 or Fig.10 ) are introduced in detail here.
[0347] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0348] In another design, the transceiver unit 10 is used to receive a second subscription message sent by the verifier, and the second subscription message is used to subscribe to the evidence of the first network element; the transceiver unit 10 is also used to send an evidence notification message to the verifier, and the evidence notification message includes target evidence of the first network element, and the target evidence is used to determine the remote proof result of the first network element.
[0349] Exemplarily, the processing unit 20 is configured to obtain target evidence of the first network element.
[0350] In the embodiment of the present application, the description of the second subscription message, the evidence notification message, etc. can refer to the above method embodiment (including Fig. 9or Fig.10 ) are introduced in detail here.
[0351] It can be understood that the specific description of the transceiver unit and the processing unit shown in the embodiment of the present application is only an example. For the specific functions or execution steps of the transceiver unit and the processing unit, reference can be made to the above-mentioned method embodiment, which will not be described in detail here.
[0352] The above describes the communication device of the embodiment of the present application, and the following describes possible product forms of the communication device. It should be understood that any device having the above Fig.11 Any form of product with the functions of the communication device described above falls within the protection scope of the embodiments of the present application. It should also be understood that the following description is only an example and does not limit the product form of the communication device of the embodiments of the present application to this.
[0353] In one possible implementation, Fig.11 In the communication device shown, the processing unit 20 may be one or more processors, the transceiver unit 10 may be a transceiver, or the transceiver unit 10 may also be a sending unit and a receiving unit, the sending unit may be a transmitter, the receiving unit may be a receiver, and the sending unit and the receiving unit are integrated into one device, such as a transceiver. In the embodiment of the present application, the processor and the transceiver may be coupled, etc., and the embodiment of the present application does not limit the connection mode of the processor and the transceiver. In the process of executing the above method, the process of sending information in the above method can be understood as the process of outputting the above information by the processor. When outputting the above information, the processor outputs the above information to the transceiver so that it is transmitted by the transceiver. After the above information is output by the processor, it may also need to be processed in other ways before it reaches the transceiver. Similarly, the process of receiving information in the above method can be understood as the process of the processor receiving the input information. When the processor receives the input information, the transceiver receives the above information and inputs it into the processor. Furthermore, after the transceiver receives the above information, the above information may need to be processed in other ways before it is input into the processor.
[0354] See also Fig.12 , Fig.12 is another structural diagram of the communication device provided in the embodiment of the present application. Fig.11 As shown, the communication device provided in the embodiment of the present application can be used to implement the method described in the above method embodiment, and reference can be made to the description in the above method embodiment. The communication device can be any network element of the aforementioned first network element, second network element, verifier, and metric. Exemplarily, the communication device includes one or more processors 1001 and a transceiver 1002. The communication device may further include a memory 1003. In one implementation, the communication device also includes an input and output device (not shown in the figure).
[0355] Processor 1001 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and the communication data, and the central processing unit may be used to control the device (such as the first network element, the second network element, the verifier, the measurement party, etc.), execute the software program, and process the data of the software program. The device may include a transceiver to realize the input (reception) and output (transmission) of the signal. For example, the device may be a chip, and the transceiver may be the input and / or output circuit of the chip, or the communication interface. The chip may be used for the first network element, the second network element, the verifier, and the measurement party. For another example, the device may be the first network element, the second network element, the verifier, and the measurement party, and the transceiver may be a radio frequency chip, etc.
[0356] The processor 1001 is mainly used to process the communication protocol and communication data, and to control the entire communication device, execute the software program, and process the data of the software program. The memory 1003 is mainly used to store the software program and data. The transceiver 1002 may include a control circuit and an antenna. The control circuit is mainly used to convert the baseband signal and the radio frequency signal and process the radio frequency signal. The antenna is mainly used to send and receive radio frequency signals in the form of electromagnetic waves. The input and output devices, such as a touch screen, a display screen, a keyboard, etc., are mainly used to receive data input by the user and output data to the user.
[0357] When the communication device is turned on, the processor 1001 can read the software program in the memory 1003, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 1001 performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and then sends the radio frequency signal outward in the form of electromagnetic waves through the antenna. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 1001. The processor 1001 converts the baseband signal into data and processes the data.
[0358] In another implementation, the RF circuit and antenna may be arranged independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be arranged remotely from the communication device.
[0359] The transceiver 1002 may include a receiver and a transmitter, wherein the receiver is used to perform a receiving function (or operation) and the transmitter is used to perform a transmitting function (or operation), and the transceiver is used to communicate with other devices / apparatuses through a transmission medium.
[0360] The processor 1001 , the transceiver 1002 , and the memory 1003 may be connected via a communication bus.
[0361] In one implementation, the processor 1001 may store instructions, which may be computer programs. The computer programs run on the processor 1001, and may enable the communication device to perform the method described in the above method embodiment. The computer program may be fixed in the processor 1001, in which case the processor 1001 may be implemented by hardware.
[0362] In one implementation, the communication device may include a circuit that can implement the functions of sending or receiving or communicating in the aforementioned method embodiment. The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFIC), a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0363] It is understandable that the communication device shown in the embodiment of the present application may also have Fig.12 The embodiments of the present application do not limit the number of components and the like. The methods executed by the processor and transceiver shown above are only examples, and the specific steps executed by the processor and transceiver can refer to the introduction of the above method embodiments.
[0364] In another possible implementation, Fig.11In the communication device shown, the processing unit 20 may be one or more logic circuits, and the transceiver unit 10 may be an input / output interface, or a communication interface, or an interface circuit, or an interface, etc. Alternatively, the transceiver unit 10 may be a sending unit and a receiving unit, the sending unit may be an output interface, the receiving unit may be an input interface, and the sending unit and the receiving unit may be integrated into one unit, such as an input / output interface. Fig.13 , Fig.13 is another structural diagram of a communication device provided in an embodiment of the present application. Fig.13 As shown, Fig.13 The communication device shown includes a logic circuit 901 and an interface 902. That is, the processing unit 20 can be implemented by the logic circuit 901, and the transceiver unit 10 can be implemented by the interface 902. The logic circuit 901 can be a chip, a processing circuit, an integrated circuit or a system on chip (SoC) chip, etc., and the interface 902 can be a communication interface, an input / output interface, a pin, etc. For example, Fig.13 The above communication device is taken as an example of a chip, and the chip includes a logic circuit 901 and an interface 902 .
[0365] In the embodiment of the present application, the logic circuit and the interface may also be coupled to each other. The embodiment of the present application does not limit the specific connection method between the logic circuit and the interface.
[0366] Optional, Fig.13 The communication device shown can be used to implement the method described in the above method embodiment, and reference can be made to the description in the above method embodiment. The communication device can be any one of the above-mentioned first network element, second network element, verifier, and measurer.
[0367] It can be understood that the communication device shown in the embodiment of the present application can implement the method provided in the embodiment of the present application in the form of hardware, or can implement the method provided in the embodiment of the present application in the form of software, etc., and the embodiment of the present application is not limited to this.
[0368] for Fig.13 The specific implementation methods of the various embodiments shown can also refer to the above embodiments, which will not be described in detail here.
[0369] An embodiment of the present application also provides a wireless communication system, which includes a first network element, a second network element, a verifier and a metric. The first network element, the second network element, the verifier and the metric can be used to execute the method of any of the aforementioned method embodiments.
[0370] In addition, the present application also provides a computer program, which is used to implement the operations and / or processing performed by the first network element in the method provided by the present application.
[0371] The present application also provides a computer program, which is used to implement the operations and / or processing performed by the second network element in the method provided by the present application.
[0372] The present application also provides a computer program, which is used to implement the operations and / or processing performed by the verification party in the method provided by the present application.
[0373] The present application also provides a computer program, which is used to implement the operations and / or processing performed by the measurement party in the method provided by the present application.
[0374] The present application also provides a computer-readable storage medium, in which computer codes are stored. When the computer codes are executed on a computer, the computer executes the method steps of any network element described in the foregoing embodiments.
[0375] The present application also provides a computer program product, which includes a computer code or a computer program. When the computer code or the computer program runs on a computer, the operations and / or processes performed by any network element described in the foregoing embodiments are executed.
[0376] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0377] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the technical effects of the solutions provided in the embodiments of the present application.
[0378] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0379] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or partly contributed to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
Claims
1. A method for establishing a secure channel, characterized in that: include: The first network element sends a measurement request to the verifier, where the measurement request is used to request the verifier to issue a token Token to the second network element after the evidence verification of the second network element is passed; The first network element sends secure channel indication information to the second network element, where the secure channel indication information is used to indicate that the token Token needs to be verified when establishing a secure channel; The first network element receives a secure channel establishment request sent by the second network element, the secure channel establishment request is used to request to establish a secure channel with the first network element, the secure channel establishment request includes information of the token Token, and the information of the token Token is used to determine the token Token; If the token verification passes, the first network element and the second network element execute the process of establishing a secure channel.
2. The method according to claim 1, characterized in that Before the first network element sends the measurement request to the verifier, the method further includes: The first network element receives a connection establishment request, where the connection establishment request is used to request the second network element to establish a secure channel with the first network element.
3. The method according to claim 1 or 2, characterized in that: The secure channel is used to transmit user plane data.
4. The method according to any one of claims 1 to 3, characterized in that The measurement request includes the identifier of the second network element and a first fresh value, the identifier of the second network element is used to identify the second network element, and the first fresh value is used by the verifier to generate a token Token.
5. The method according to any one of claims 1 to 4, characterized in that The measurement request further includes a token verification policy, where the token verification policy is used to instruct the verifier to determine a condition for issuing the token to the second network element.
6. The method according to any one of claims 1 to 5, characterized in that Before the first network element sends the secure channel indication information to the second network element, the method further includes: The first network element receives token indication information sent by the verifier, where the token indication information is used to indicate that the second network element has the token, and the token indication information at least includes the token or an identifier of the token.
7. The method according to any one of claims 1 to 6, characterized in that After the first network element receives the secure channel establishment request sent by the second network element, the method further includes: The first network element sends token verification information to the verifier, where the token verification information includes information of the token, and the token verification information is used to request the verifier to verify whether the token is valid; The first network element receives a token verification result sent by the verifier, where the token verification result indicates that the token is valid; The first network element determines that the token Token verification passes according to the token Token verification result.
8. The method according to any one of claims 1 to 7, characterized in that After the first network element and the second network element execute a process of establishing a secure channel, the method further includes: The first network element sends a resource service establishment request to the second network element, where the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element; The first network element receives signaling sent by the second network element, where the signaling is used to notify the first network element of remote certification failure.
9. The method according to claim 8, characterized in that After the first network element sends a resource service establishment request to the second network element, the method further includes: The first network element receives a first subscription message sent by the second network element, where the first subscription message is used to subscribe to a remote certification result of the verifier on the first network element; The first network element sends the first subscription message to the authenticator.
10. The method according to claim 9, characterized in that The first subscription message includes one or more of the following: first integrity protection information, first encryption information; the first integrity protection information includes a message verification code generated based on the first subscription message, and the first encryption information includes information after the first subscription message is encrypted.
11. The method according to claim 9 or 10, characterized in that: The first subscription message includes one or more of the following: a subscription request and a measurement requirement; the subscription request is used to request the verifier to return the remote certification result of the first network element by subscription, and the measurement requirement is used to determine a first measurement strategy.
12. The method according to any one of claims 8 to 11, characterized in that Before the first network element receives the signaling sent by the second network element, the method further includes: The first network element receives the remote certification result sent by the verifier; The first network element sends the remote attestation result to the second network element, where the remote attestation result includes a success of remote attestation of the first network element or a failure of remote attestation of the first network element.
13. The method according to claim 12, characterized in that The remote attestation result also includes one or more of the following: second integrity protection information, second encryption information; the second integrity protection information includes a message verification code generated based on the remote attestation result, and the second encryption information includes information encrypted from the remote attestation result.
14. A method for establishing a secure channel, characterized in that: include: The second network element receives the token Token issued by the verifier; The second network element receives the secure channel indication information sent by the first network element, where the secure channel indication information is used to indicate that the token Token needs to be verified when establishing a secure channel; The second network element sends a secure channel establishment request to the first network element, where the secure channel establishment request is used to request to establish a secure channel with the first network element, and the secure channel establishment request includes information about the token Token, where the information about the token Token is used to determine the token Token; The second network element and the first network element execute a process of establishing a secure channel.
15. The method according to claim 14, characterized in that Before the second network element receives the token Token issued by the verification party, the method further includes: The second network element sends a connection establishment request to the first network element, where the connection establishment request is used to request to establish a secure channel with the first network element.
16. The method according to claim 14 or 15, characterized in that The secure channel is used to transmit user plane data.
17. The method according to claims 14-16, characterized in that After the second network element and the first network element execute a process of establishing a secure channel, the method further includes: The second network element receives a resource service establishment request sent by the first network element, where the resource service establishment request is used to request to obtain user resources or service cell resource configuration of the second network element; The second network element sends a first subscription message to the verifier, where the first subscription message is used to subscribe to a remote certification result of the verifier on the first network element; The second network element receives a remote attestation result sent by the verifier, where the remote attestation result includes a remote attestation success of the first network element or a remote attestation failure of the first network element; If the remote certification result is that the remote certification of the first network element fails, the second network element sends a signaling to the first network element, and the signaling is used to notify the first network element of the remote certification failure.
18. The method according to claim 17, characterized in that The second network element sends a first subscription message to the verification party, including: The second network element sends a first subscription message to the authenticator through the first network element.
19. The method according to claim 17 or 18, characterized in that The first subscription message includes one or more of the following: first integrity protection information, first encryption information; the first integrity protection information includes a message verification code generated based on the first subscription message, and the first encryption information includes information after the first subscription message is encrypted.
20. The method according to any one of claims 17 to 19, characterized in that The first subscription message includes one or more of the following: a subscription request and a measurement requirement; the subscription request is used to request the verifier to return the remote certification result of the first network element by subscription, and the measurement requirement is used to determine a first measurement strategy.
21. The method according to claim 17, characterized in that The second network element receives the remote attestation result sent by the verifier, including: The second network element receives the remote certification result sent by the verifier through the first network element.
22. The method according to claim 21, characterized in that The remote attestation result also includes one or more of the following: second integrity protection information, second encryption information; the second integrity protection information includes a message verification code generated based on the remote attestation result, and the second encryption information includes information encrypted from the remote attestation result.
23. The method according to any one of claims 17 to 22, characterized in that After the second network element sends signaling to the first network element, the method further includes: The second network element sends a secure channel connection reset request to the operation management and maintenance network element, where the secure channel connection reset request is used to request to reset the secure channel established between the second network element and the first network element.
24. A communication device, characterized in that: The method comprises a unit or a module for executing the method according to any one of claims 1 to 23.
25. A readable storage medium, characterized in that: The readable storage medium stores program instructions, and when the program instructions are executed on a computer, the method according to any one of claims 1 to 23 is executed.
