Method and apparatus for establishing secure channel, and readable storage medium
By using remote certification and token mechanisms in mobile communication networks, the problem of insufficient data transmission security between network elements is solved, achieving higher data security and reducing leakage risks, and is suitable for smart devices and Internet of Things devices. The safe channel is established.
Patent Information
- Application Number
- PCT/CN2024/075046
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-23
- Filing Date
- 2024-01-31
- Publication Date
- 2024-08-29
AI Technical Summary
The security protection of existing mobile communication networks for transmitting business data between network elements is not perfect, especially in the wide application of smart devices and Internet of Things devices. Malware may affect security or steal private data. The existing mobile communication network is based on pre-configured certificates. The establishment of a secure channel carries the risk of data leakage.
By verifying the security status of network elements before establishing a secure channel, using remote attestation to generate tokens, and ensuring that the token verification passes before establishing a secure channel on the user plane, the security status of network elements is continuously confirmed to improve data security.
It effectively protects the security of user data transmitted between network elements, reduces the risk of data leakage, and ensures the integrity and security of data transmission. It is suitable for multi-network element scenarios in future mobile communication networks.
Smart Images

Figure CN2024075046_29082024_PF_FP_ABST
Abstract
Description
Method, device and readable storage medium for establishing a secure channel
[0001] This application claims priority to the Chinese patent application with application number 202310202950.1 filed with the State Intellectual Property Office of China on February 23, 2023, and priority to the Chinese patent application with the invention name “Method, device and readable storage medium for establishing a secure channel”, all contents of which are incorporated by reference into this application. Technical Field
[0002] 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
[0003] In recent years, the number of embedded systems, cyber-physical systems, and IoT devices has increased dramatically. This continued growth has already reached many parts of our daily lives, including homes, offices, and factories. As users become increasingly reliant on smart devices, the security of these devices is becoming increasingly important. Malware can compromise security or steal private data during device driver updates.
[0004] Existing mobile communication networks, such as the fifth-generation (5G) mobile communication network, have broken down the original hierarchical structure, breaking down the network functions of network devices into distinct network elements. With the advancement of mobile communication technology, future mobile communication networks (such as the sixth-generation mobile communication network) are likely to include an increasing number of network elements. The service data transmitted between these network elements requires security protection. However, current security protection for service data is inadequate.
[0005] Summary of the Invention
[0006] 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.
[0007] 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.
[0008] 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 Token information, and the Token information is used to determine the Token; if the Token verification passes, the first network element and the second network element execute the 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).
[0009] Before executing the process of establishing a secure channel, the first network element and the second network element of the present application determine the security status of the second network element (i.e., whether the Token verification is passed) based on the Token issued to the second network element by the verification party, and then, when the security status of the second network element is secure (i.e., the Token verification is passed), 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.
[0010] In conjunction with the first aspect, in one possible implementation, the measurement request can also be described as requesting the verifier to initiate measurement of the second network element and issue a token to the second network element after the second network element's evidence verification passes. The measurement method includes remote attestation. The measurement request can also be described as requesting the verifier to perform remote attestation of the second network element and issue a token to the second network element after the remote attestation passes.
[0011] In conjunction with the first aspect, in one possible implementation, before the first network element sends a measurement request to the verifier, the method further includes: the first network element receiving a connection establishment request, the connection establishment request being 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 the type of connection being requested. The type of connection being requested 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.
[0012] Exemplarily, the connection establishment request is sent by the second network element.
[0013] In conjunction with the first aspect, in one possible implementation, the measurement request may include an identifier of the second network element and a first freshness value. The identifier of the second network element is used to uniquely identify the second network element. The first freshness value is used by the verifier to generate a token. In some scenarios, the first freshness value may also be transmitted to the metric for use in generating evidence. For details, see the description of Example 1 below and will not be detailed here.
[0014] Optionally, the measurement request may also include a token verification policy. The token verification policy indicates the conditions under which the verifier determines to issue a token to the second network element. Alternatively, the token verification policy indicates the algorithm used to generate the token; alternatively, the token verification policy indicates the algorithm to be used to generate the token.
[0015] This application carries a token verification strategy in the measurement request, which helps the verifier trigger the measurement process or remote attestation process as required.
[0016] In conjunction with the first aspect, in one possible implementation, before the first network element sends secure channel indication information to the second network element, the method further includes: the first network element receiving token indication information sent by the verifier, where the token indication information is used to indicate that the second network element has the aforementioned 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.
[0017] After the second network element passes the evidence verification, the verification party of this application also sends Token indication information to the first network element to facilitate the first network element to subsequently verify the validity of the Token.
[0018] 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 further 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.
[0019] 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.
[0020] 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 for the first network element; the first network element sends the first subscription message to the verifier.
[0021] 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 by subscription. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement can be used to indicate which algorithm or verification process the verifier uses to verify the evidence. The inclusion of the measurement requirement in the first subscription message of the present application can facilitate the verifier in triggering the remote attestation process for the first network element as required.
[0022] 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. Of course, integrity protection or encryption may also be performed on the entire first subscription message.
[0023] In combination with the first aspect, in a possible implementation, 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 verifier; 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.
[0024] 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.
[0025] On the second aspect, the present application provides a method for establishing a secure channel, the method comprising: the second network element receives a token issued by a verifier; the second network element receives secure channel indication information sent by the 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).
[0026] In conjunction with the second aspect, in one possible implementation, before the second network element receives the token issued by the verifier, the method further includes: the second network element sending a connection establishment request to the first network element, where the connection establishment request is used to request establishment of 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. The type of connection requested 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.
[0027] 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 signaling to the first network element, and the signaling is used to notify the first network element of the remote certification failure.
[0028] 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, 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 the security of the data and continuously confirm the security status of 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 that the verifier return the remote attestation result of the first network element via a subscription. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement may be used to indicate which algorithm or verification process the verifier uses to verify the evidence.
[0030] In combination with the second aspect, in a possible implementation manner, the second network element sends the first subscription message to the authenticator, including: the second network element sends the first subscription message to the authenticator through the first network element.
[0031] 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 by subscription. The measurement requirement is used to determine the first measurement strategy.
[0032] 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 encrypted with 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 a subscription request 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.
[0033] This 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.
[0034] In conjunction with the second aspect, in one possible implementation, after the second network element sends the first subscription message to the verifier, the method further includes: the second network element starting a timer; if the second network element does not receive the remote attestation result sent by the verifier before the timer expires, the second network element sending signaling to the first network element, the signaling being used to notify the first network element of the remote attestation failure. This application provides a timeout handling mechanism to reduce the waiting time for resource service establishment requests.
[0035] In combination with the second aspect, in a possible implementation, 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.
[0036] 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.
[0037] This application provides a mechanism for securely protecting 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, to prevent the request and results from being tampered with by the first network element whose security status has not been confirmed.
[0038] In combination with the second aspect, in one possible implementation, after the second network element sends signaling to the first network element, that is, after the remote attestation 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.
[0039] This application makes timely operations on the established security channel (such as resetting the established security channel) based on the remote attestation results to reduce the risk of data leakage.
[0040] In conjunction with the second aspect, in one possible implementation, after the second network element sends a secure channel connection reset request to the operation, administration, and maintenance network element, the method further includes: the second network element sending a re-establishment request to the first network element to request re-establishment of 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 connection to other network elements having similar functionality to the first network element.
[0041] 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 being 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 being 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.
[0042] In conjunction with the third aspect, in one possible implementation, the measurement request can also be described as requesting the verifier to initiate measurement of the second network element and issue a token to the second network element after the second network element's evidence verification passes. Where the measurement method includes remote attestation, the measurement request can also be described as requesting the verifier to perform remote attestation of the second network element and issue a token to the second network element after the remote attestation passes.
[0043] In conjunction with the third aspect, in one possible implementation, the measurement request may include the identifier of the second network element and a first freshness value. The identifier of the second network element is used to uniquely identify the second network element. The first freshness value is used by the verifier to generate a token. In some scenarios, the first freshness value may also be transmitted to the metric for use in generating evidence. For details, see the description of Example 1 below and will not be detailed here.
[0044] 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 determining the conditions for issuing the token to the second network element based on the token verification policy; or the verifier determining the algorithm used to generate the token based on the token verification policy.
[0045] In conjunction with the third aspect, in one possible implementation, the evidence acquisition message includes one or more of the following: a second freshness value, an identifier of the second network element, or a second measurement policy. The second freshness value is used by the measurement party to generate evidence, and the second freshness value can be generated based on the first freshness value. The identifier of the second network element is used to identify the second network element. The second measurement policy is used to determine (acquire) evidence(s) for the second network element, and the second measurement policy can be determined based on the token verification policy.
[0046] In conjunction with the third aspect, in one possible implementation, after the verification direction issues a token to the second network element, the method further includes: the verification direction sending 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. 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.
[0047] In combination with the third aspect, in a possible implementation, after the verification direction issues the Token to the second network element, the method also includes: the verification direction receives the Token verification information sent by the first network element, the Token verification information includes the information of the Token, the information of the Token is used to determine the Token, and the Token verification information is used to request the verification direction to verify whether the Token is valid; the verification direction verifies the Token and obtains the Token verification result, and the Token verification result is that the Token is valid; the verification direction sends the Token verification result to the first network element.
[0048] 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 to be successful, the remote attestation result is the remote attestation success of the first network element; if the target evidence is verified to be unsuccessful, the remote attestation result is the remote attestation failure of the first network element.
[0049] 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 that the verifier return the remote attestation result of the first network element via a subscription. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement may be used to indicate which algorithm or verification process the verifier uses to verify the evidence.
[0050] In conjunction with the third aspect, in one 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 authentication 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 a subscription request 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.
[0051] 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.
[0052] In conjunction with the third aspect, in one possible implementation, the second subscription message includes a first measurement strategy, which 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 determining the first measurement strategy based on the measurement requirements in 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.
[0053] In combination with the third aspect, in a possible implementation, before the verifier sends the remote attestation result to the second network element, the method further includes: the verifier determines a timestamp verification method based on the measurement requirements in the first subscription message; the verifier 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. 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.
[0054] In conjunction with the third aspect, in one 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 authentication code generated based on the remote attestation result. The second encrypted information includes information encrypted from the remote attestation result.
[0055] In a fourth aspect, the present application provides a method for establishing a secure channel, the method comprising: a measuring party receives an evidence acquisition message sent by a verifying party, the evidence acquisition message being used to obtain evidence of a second network element; the measuring party sends evidence of the second network element to the verifying party, the evidence of the second network element being used by the verifying party to perform evidence verification.
[0056] In conjunction with the fourth aspect, in one possible implementation, the evidence acquisition message includes one or more of the following: a second freshness value, an identifier of the second network element, or a second measurement policy. The second freshness value is used by the measurement party to generate evidence, and the second freshness value can be generated based on the first freshness value. The identifier of the second network element is used to identify the second network element. The second measurement policy is used to determine (acquire) evidence(s) for the second network element, and the second measurement policy can be determined based on a token verification policy.
[0057] In combination with the fourth aspect, in a possible implementation, after the measurement direction sends the 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 direction sends an evidence notification message to the verification 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 proof result of the first network element.
[0058] Optionally, the second subscription message includes a first metric strategy, the first metric strategy being used to determine an 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.
[0059] 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 being used to request acquisition of 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 being used to subscribe to the verifier's remote certification result for the first network element; the second network element receives a remote certification result sent by the verifier, the remote certification result including a remote certification success of the first network element or a remote certification failure of the first network element; if the remote certification result is a remote certification failure of the first network element, the second network element sends signaling to the first network element, the signaling being used to notify the first network element of the remote certification failure.
[0060] 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, 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 the security of the data and continuously confirm the security status of the first network element.
[0061] In conjunction with the fifth aspect, in one 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 that the verifier return the remote attestation result of the first network element via a subscription. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement may be used to indicate the algorithm or verification process used by the verifier to verify the evidence.
[0062] In combination with the fifth 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.
[0063] 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 by subscription. The measurement requirement is used to determine the first measurement strategy.
[0064] 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 encrypted with 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 a subscription request 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.
[0065] This 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.
[0066] In conjunction with the fifth aspect, in one possible implementation, after the second network element sends the first subscription message to the verifier, the method further includes: the second network element starting a timer; if the second network element does not receive the remote attestation result sent by the verifier before the timer expires, the second network element sending signaling to the first network element, the signaling being used to notify the first network element of the remote attestation failure. This application provides a timeout handling mechanism to reduce the waiting time for resource service establishment requests.
[0067] In combination with the fifth aspect, in a possible implementation method, 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.
[0068] 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.
[0069] This application provides a mechanism for securely protecting 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, to prevent the request and results from being tampered with by the first network element whose security status has not been confirmed.
[0070] In combination with the fifth aspect, in one possible implementation, after the second network element sends 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.
[0071] This application makes timely operations on the established security channel (such as resetting the established security channel) based on the remote attestation results to reduce the risk of data leakage.
[0072] In conjunction with the fifth aspect, in one possible implementation, after the second network element sends the secure channel connection reset request to the operation, administration, and maintenance network element, the method further includes: the second network element sending a re-establishment request to the first network element to request re-establishment of 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 connection to other network elements having similar functionality to the first network element.
[0073] In the 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 the user resources or service cell resource configuration of the second network element; the first network element receives signaling sent by the second network element, the signaling is used to notify the first network element of the failure of remote certification.
[0074] In combination with the sixth 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 for the first network element; the first network element sends the first subscription message to the verifier.
[0075] 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 by subscription. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement can be used to indicate which algorithm or verification process the verifier uses to verify the evidence. The inclusion of the measurement requirement in the first subscription message of the present application can facilitate the verifier in triggering the remote attestation process for the first network element as required.
[0076] 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 encrypted with 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 a subscription request and / or measurement requirements) in the first subscription message. Alternatively, the entire first subscription message may be integrity protected or encrypted.
[0077] 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 verifier; 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.
[0078] 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.
[0079] 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 verifier's remote attestation result for 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 successfully, the remote attestation result is remote attestation success of the first network element; if the target evidence is not verified successfully, the remote attestation result is remote attestation failure of the first network element.
[0080] In conjunction with the seventh aspect, in one 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 that the verifier return the remote attestation result of the first network element using a subscription method. The measurement requirement is used to determine the first measurement strategy. Alternatively, the measurement requirement may be used to indicate the algorithm or verification process used by the verifier to verify the evidence.
[0081] In conjunction with the seventh aspect, in one 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 authentication code generated based on the first subscription message. The first encryption information includes information encrypted with 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.
[0082] 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.
[0083] In conjunction with the seventh aspect, in one possible implementation, the second subscription message includes a first measurement strategy, which 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 determining the first measurement strategy based on the measurement requirements in 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.
[0084] In conjunction with the seventh aspect, in a possible implementation method, before the verifier sends the remote attestation result to the second network element, the method further includes: the verifier determines the timestamp verification method based on the measurement requirements in the first subscription message; the verifier 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. 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.
[0085] In conjunction with the seventh aspect, in one 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 authentication code generated based on the remote attestation result. The second encrypted information includes information encrypted from the remote attestation result.
[0086] In an eighth aspect, the present application provides a method for establishing a secure channel, the method comprising: a measuring party receives a second subscription message sent by a verifying party, the second subscription message being used to subscribe to evidence of a first network element; the measuring party sends an evidence notification message to the verifying party, the evidence notification message including target evidence of the first network element, the target evidence being used to determine a remote proof result of the first network element.
[0087] In conjunction with the eighth aspect, in one possible implementation, the second subscription message includes a first metric strategy, the first metric strategy being used to determine an 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.
[0088] 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 thereof. 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. The transceiver unit is used to send and receive various information or signaling, and thus can also achieve the beneficial effects (or advantages) of the method provided by any of the above aspects.
[0089] 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 them. The transceiver can 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 for storing the computer program.
[0090] 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 above-mentioned aspects from the first to the eighth aspect, or any possible implementation of any one of the aspects.
[0091] 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 of the above-mentioned first to eighth aspects to be executed.
[0092] 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 above-mentioned first to eighth aspects, or one or more of the methods provided in any possible implementation 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, and 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.
[0093] Optionally, the processor and memory may be physically independent units, or the memory may be integrated with the processor.
[0094] In the fourteenth aspect, the present application provides a communication system, which includes: the first network element described in the first aspect or the sixth aspect, the second network element described in the second aspect or the fifth aspect, the verifier described in the third aspect or the seventh aspect, and the measurement party described in the fourth aspect or the eighth aspect.
[0095] 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 repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0096] Figure 1 is a schematic diagram of a network function virtualization architecture;
[0097] FIG2 is a schematic diagram of the 5G network architecture defined in 3GPP TS 23.501;
[0098] FIG3a is a schematic diagram of a network architecture in which multiple DUs share one CU, provided by an embodiment of the present application;
[0099] FIG3 b is a schematic diagram of protocol layer functions of a CU and a DU provided in an embodiment of the present application;
[0100] FIG4 is a simplified flowchart of a challenge-response protocol for remote attestation provided in an embodiment of the present application;
[0101] FIG5 is a schematic diagram of a technical problem in establishing a secure channel based on a pre-configured certificate provided in an embodiment of the present application;
[0102] FIG6 is a schematic diagram of a possible application scenario provided by an embodiment of the present application;
[0103] FIG7 is a schematic diagram of a first flow chart of a method for establishing a secure channel provided in an embodiment of the present application;
[0104] FIG8 is a schematic diagram illustrating the beneficial effects provided by an embodiment of the present application;
[0105] FIG9 is a schematic diagram of a second flow chart of a method for establishing a secure channel provided in an embodiment of the present application;
[0106] FIG10 is a schematic diagram of a third flow chart of a method for establishing a secure channel according to an embodiment of the present application;
[0107] FIG11 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0108] FIG12 is another schematic structural diagram of a communication device provided in an embodiment of the present application;
[0109] FIG13 is another structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0110] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0111] 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 merely 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 items" or similar expressions refers to any combination of these items, including any combination of single items 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.
[0112] In the description of this application, words such as "first" and "second" are used only to distinguish different objects and do not limit the quantity or execution order. Moreover, words such as "first" and "second" do not necessarily mean 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 the process, method, product, or device.
[0113] In this application, words such as "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 construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete way.
[0114] It should be understood that in this application, "when", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances, and do not limit the time. It does not require that the device must perform a judgment action when it is implemented, nor does it mean that there are other limitations.
[0115] The term "simultaneously" in this 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.
[0116] Elements used in the singular herein are intended to mean "one or more" rather than "one and only one" unless specifically stated otherwise.
[0117] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0118] It is 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 based on A. However, it should also be understood that determining B based on A does not mean determining B based solely on A, and B can also be determined based on A and / or other information.
[0119] The following briefly introduces the network architecture of the present application. It should be understood that the network architecture described in the present application is for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application and does not constitute a limitation on the technical solutions provided by the embodiments of the present application.
[0120] The technical solution provided in this application can be applied to various communication systems deployed with virtual network functions. For example: fifth-generation (5G) communication systems or new radio (NR), long-term evolution (LTE) networks equipped with network functions virtualization infrastructure (NFVI) or other 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 with wireless fidelity (WiFi) access, wideband code division multiple access (WCDMA) networks, fixed-mobile converged networks (fixed access networks access mobile networks), and other future communication systems, such as sixth-generation mobile communication systems.
[0121] Network functions virtualization can be understood as separating the network functions of traditional network devices (such as servers, switches, and storage) from their physical counterparts and running them as software (or software programs) on commercial off-the-shelf (COTS) hosts. Network functions virtualization can also be understood as leveraging information technology (IT) virtualization technology to create virtual machines (VMs), then deploying traditional communications technology (CT) services onto these VMs.
[0122] Refer to Figure 1, which is a schematic diagram of a network function virtualization architecture. As shown in Figure 1, the network function virtualization architecture may include, but is not limited to, several components: virtual network functions (VNFs), 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).
[0123] Among them, a virtual network function is a software application that provides network functions (such as file sharing, directory services, and IP address configuration). It consists of two parts: VNF and element management system (EMS). The element management system can configure and manage the functions of the VNF. Generally, there is a one-to-one correspondence between the EMS and the VNF. Simply put, a 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 to VNFs, traditional hardware-based network elements can be called physical network functions (PNFs). VNFs and PNFs can be networked separately or in combination 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 machines (VMs) and containers.
[0124] 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 (OSs), virtual machines, containers, virtual switches, and network resources. NFVI virtualizes physical resources into virtual resources for use by VNFs.
[0125] VIM manages NFVI and controls the allocation of virtual resources to VNFs, such as virtual computing, virtual storage, and virtual networking. It can be understood that VIM is a cloud platform manager responsible for hardware management, VM deployment, VM coordination, and scheduling.
[0126] VNFM manages the VNF lifecycle, including onboarding and offboarding, status monitoring, and image onboarding. VNFM manages VNFs based on VNF descriptors (VNFDs). Simply put, VNFM manages the lifecycle of network elements (NEs), such as adding, deleting, querying, and modifying NE virtual machines.
[0127] NFVO manages the lifecycle of network services (NSs). For example, it coordinates NS lifecycle management, VNF lifecycle management (requiring support from VNFM), and NFVI resource management (requiring support from VIM), ensuring optimal configuration of all required resources and connections. NFVO operates based on the Network Service Description (NSD), which includes service chaining, NFV, and performance goals. Simply put, NFVO is responsible for the deployment of network services.
[0128] 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.
[0129] 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.
[0130] See Figure 2, which is a schematic diagram of the 5G network architecture defined in 3GPP TS 23.501. As shown in Figure 2, the 5G network architecture is divided into two parts: the access network and the core network. The access network is used to implement functions related to wireless access and can include the 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 "Nnssf", "Nnef", "Nnrf", "Npcf", "Nudm", "Naf", "Nnssaaf", "Nausf", "Namf", and "Nsmf" in Figure 2 represent the names of service interfaces. For details, please refer to the relevant description in the 3GPP standard protocol, which is not explained in detail here.
[0131] Optionally, the UE may access the data network by establishing a session from the UE to the RAN, then to the UPF, and then to the data network (DN), ie, a protocol data unit (PDU) session (PDU session).
[0132] The UE can be a terminal device, such as a mobile phone, IoT terminal device, smart terminal, vehicle-mounted terminal, vehicle-mounted device, wearable device, multimedia device, streaming media device, etc. The RAN provides wireless access for terminal devices, including but not limited to 5G base stations (Next-Generation Node B, gNB), wireless base stations (evolved Node B, eNodeB or eNB) in LTE networks, wireless fidelity access points (WiFi APs), and worldwide interoperability for microwave access base stations (WiMAX BSs). The AMF is primarily responsible for mobility management in mobile networks, such as user location updates, user network registration, and user handover. The SMF is primarily responsible for session management in mobile networks, such as session establishment, modification, and release. Specific functions include allocating Internet Protocol (IP) addresses to users and selecting the UPF that provides packet forwarding functions. The PCF is responsible for providing policies to the AMF and SMF, such as Quality of Service (QoS) policies and slice selection policies. The UDM stores user data, such as subscription information, authentication, and authorization information. NSSAAF is primarily responsible for network slice authentication and authorization, and can interact with the authentication, authorization, and accounting server (AAA-S) through the authentication, authorization, and accounting proxy (AAA-P). UPF is primarily responsible for processing user messages, such as forwarding and billing.
[0133] It is understood that the functions or roles of each network element shown in Figure 2 can be referenced to relevant protocols or standards, etc., and this application does not elaborate on them. It should also be understood that N1, N2, N3, N4, N6, etc. shown in Figure 2 are all interface sequence numbers. For example, the meaning of the above interface sequence numbers can be found in the meaning defined in the 3GPP standard protocol, and this application does not limit the meaning of the above interface sequence numbers.
[0134] In the 5G RAN architecture, the gNB can include a centralized unit (CU) and a distributed unit (DU). The gNB can also include a radio unit (RU). The CU and DU can be understood as a division of the base station from a logical functional perspective. The CU and DU can be physically separated or deployed together. For example, multiple DUs can share a CU, or a single DU can be connected to multiple CUs. The CU and DU can be connected via an F1 interface. For example, see Figure 3a, which is a schematic diagram of a network architecture in which multiple DUs share a single CU, provided in an embodiment of the present application. As shown in Figure 3a, the core network and the RAN are interconnected and communicate with each other. The base stations in the RAN are separated into CUs and DUs, and multiple DUs share a single CU. A DU is usually used in conjunction with a 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 the CU node and the DU node splits the protocol layer, places the functions of some protocol layers under the centralized control of the CU, and distributes the functions of the remaining part or all of the protocol layers in the DU, which is centrally controlled by the CU. As an implementation method, see Figure 3b, which is a schematic diagram of the protocol layer functions of a CU and a DU provided in an embodiment of the present application. As shown in Figure 3b, 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.
[0135] 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. Functions whose processing time needs to meet latency requirements can be set in DU, and functions that do not need to meet latency requirements can be set in CU. For example, CU can also have one or more functions of the core network, and one or more CUs can 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.
[0136] The functions of the CU can be implemented by a single entity or by different entities. For example, the functions of the CU can be further divided, for example, by separating the control plane (CP) and the user plane (UP), namely the CU control plane (CU-CP) and the CU user plane (CU-UP). For example, the CU-CP and the CU-UP can be implemented by different functional entities, and the CU-CP and the CU-UP can be coupled with the DU to jointly perform the functions of the base station. In one possible embodiment, the CU-CP is responsible for the control plane functions, mainly including RRC and PDCP control plane PDCP-C. PDCP-C is mainly responsible for one or more of the following: encryption and decryption, integrity protection, and data transmission of control plane data. The CU-UP is responsible for the user plane functions, mainly including SDAP and PDCP user plane PDCP-U. SDAP is mainly responsible for processing core network data and mapping data flows to bearers. PDCP-U is mainly responsible for one or more of the following: encryption and decryption, integrity protection, header compression, sequence number maintenance, and data transmission of the data plane. The CU-CP and CU-UP are connected via the E1 interface. The CU-CP represents the access network equipment connected to the core network via the Ng interface. It connects to the DU via the F1-C (control plane). The CU-UP connects to the DU via the F1-U (user plane). Alternatively, the PDCP-C can also be located in the CU-UP. Because RRC layer information ultimately becomes PHY layer information, or is converted from PHY layer information, in this architecture, higher-layer signaling, such as RRC or PDCP, can also be considered to be sent by the DU, or by both the DU and the RU. It should be understood that a gNB can be a CU node, a DU node, or a combination of both.
[0137] 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.
[0138] 1. Remote Attestation (RA)
[0139] Remote attestation (RA) is a security service that allows a measuring party (also known as an attester) to obtain data from the "attested party". This data will be sent as evidence to the "verifying party (called a 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 "attested 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 the infected device, or wipe the device.
[0140] 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. The Attester (certifier or measurement party) is used to cooperate with the Verifier (verifier) to perform trust measurement on the network element (i.e., the "verified party"). The 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. The Attester is usually in the same physical location as the "verified party", that is, the Attester can be combined with the "verified party". The 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 results. The specific verification method is not limited in this application. For example, verification can be performed locally based on pre-configured evidence reference values, or it can be verified on a remote server.
[0141] A possible remote attestation method is the "challenge and response" protocol. See Figure 4, which is a simplified flowchart of the challenge-response protocol of remote attestation provided by an embodiment of the present application. As shown in Figure 4, the Verifier generates a request message (this request message is also called a "challenge") and sends it to the Attester. The request message (i.e., the "challenge") is used to request the Attester to perform a measurement. The request message contains a random number to ensure that the evidence obtained by the Attester is the latest. After receiving the request message, the 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 the Attester then sends to the Verifier. After receiving the response, the Verifier obtains the evidence in the response and verifies the validity of the evidence; the specific verification method is not limited by 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 malware, and there is no security risk. If the verification fails, it means that the remote attestation has failed, which means that the "verified party" may be at security risk, or the "verified party" may be attacked or occupied by malware.
[0142] 2. Establishing a secure channel based on pre-configured certificates
[0143] At present, if two network elements want to transmit data securely, they need to establish a secure channel. The secure channel of this application can be understood as the data transmission between the two network elements having a certain specific security protection protocol, such as the Datagram Transport Layer Security (DTLS) protocol, the Internet Protocol Security (IPSEC), or the Transport Layer Security (TLS) protocol. This 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.
[0144] 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 when establishing a secure channel. The certificate in 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, a certificate authority (CA), to merge the public key into a 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 phases one to four.
[0145] Phase 1: The client sends Random Number 1 (Random1), one or more supported cipher suites, and the Secure Sockets Layer (SSL) version to the server. The server sends the determined Cipher Suite #1 and Random Number 2 (Random2) to the client. Cipher Suite #1 is a cipher suite selected from the cipher suites sent by the client. Random Number 1 and Random Number 2 are used to generate the symmetric key.
[0146] Phase 2: The server issues its 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 request the client to submit its own certificate. After the client submits its certificate to the server, the server notifies the client, and the server handshake (server hello) ends.
[0147] Phase 3: After receiving the certificate from the server, the client verifies the certificate's legitimacy with the Certificate Authority (CA). After verification, the client extracts the public key from the certificate, generates a random number 3 (Random3), and asymmetrically encrypts Random3 with the public key to generate the PreMaster Key. The client sends the PreMaster Key to the server, which decrypts Random3 with its private key. At this point, both the server and client possess random numbers 1 through 3. The server and client use the same algorithm to generate keys, and all subsequent data transmissions after the handshake are symmetrically encrypted using this key.
[0148] 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 it using the previously negotiated key, and sends it to the server. The server decrypts it using the key. 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 it using the previously negotiated key, and sends it to the client. The client decrypts it using the key. Successful decryption indicates that the keys are consistent. This completes the establishment of a secure channel based on the pre-configured certificate.
[0149] 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 impossible to determine whether a module or function of the communicating peer network element has been infiltrated by malware. If a module or function of the peer network element has been infiltrated by malware, there is still a risk of data leakage. This is because when establishing a secure channel, a secure channel can be established as long as the certificate is legal. That is to say, even if a module or function of a network element is infiltrated by malware, as long as its certificate is legal, 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 is a schematic diagram of the technical problems existing in the establishment of a secure channel based on pre-configured certificates provided by an embodiment of the present application. As shown in Figure 5, network element 1 includes four functional modules, namely functional module 1 (represented by Func1 in Figure 5), functional module 2 (represented by Func2 in Figure 5), functional module 3 (represented by Func3 in Figure 5) and functional module 4 (represented by Fun4 in Figure 5), wherein functional module 3 is infiltrated by malware (such as a Trojan function). However, if both NE 1's certificate a and NE 2's certificate b are legitimate, NE 1 and NE 2 can establish a secure channel, such as an IPSEC channel. At this point, data transmitted from NE 2 to NE 1 over the secure channel (such as user-plane PDCP data) could be intercepted by malware via NE 1's functional module 3, leading to data leakage.
[0150] Therefore, establishing a secure channel based on pre-configured certificates still carries certain security risks. Ensuring data security is a necessary consideration.
[0151] Based on this, embodiments of the present application provide a method, apparatus, and readable storage medium for establishing a secure channel. By verifying the security status of a network element before establishing the secure channel, the security of data transmitted by the network element after the secure channel is established is ensured. Furthermore, after the secure channel is established, embodiments of the present application continuously verify the security status of the network element, thereby modifying the state of the secure channel and further improving data security. The technical solutions provided by this application will be described in detail below with reference to further figures.
[0152] The technical solutions provided in this application are described through a plurality of 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 this 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 this application described below do not constitute a limitation on the scope of protection of this application.
[0153] Optionally, to facilitate understanding of the technical solutions of the embodiments of the present application, a possible application scenario of the embodiments of the present application is briefly described before introducing the embodiments of the present application. It is understood that the application scenario described in this application is intended to more clearly illustrate the technical solutions of the embodiments of the present application and does not constitute a limitation on the technical solutions provided in the embodiments of the present application.
[0154] Refer to Figure 6, which is a schematic diagram of a possible application scenario provided by an embodiment of the present application. Network elements (including base stations, core network elements, and third-party network elements) may be deployed in two locations: centralized and distributed. Typically, centralized functions (CFs), also known as centralized network elements, are deployed in centralized locations, while distributed functions (DFs), also known as distributed network elements, are deployed in distributed locations. CFs (centralized network elements) are typically deployed dynamically, and their functional modules often change dynamically. For example, CF functional modules are often added or removed based on actual needs. This is because most CFs (centralized network elements), such as gNB-CUs and core network elements, are deployed in a cloud-based / virtualized manner, and their functions / components change with platform migration and capacity expansion and contraction. DFs (distributed network elements), such as gNB-DUs, are typically deployed statically and are located close to the user side (e.g., UE). In Figure 6, the security status of both the CF (centralized network element) and the DF (distributed network element) is difficult to guarantee. This is because the DF (distributed network element) is deployed remotely, making it difficult to ensure it is not infiltrated. Furthermore, the functional modules of the CF (centralized network element) frequently change, making its security status unreliable. However, the Verifier and operations, administration, and maintenance (OAM) network elements in Figure 6 are trusted. In other words, the Verifier and OAM network elements are trusted and are assumed to pose no security risks.
[0155] As shown in Figure 6, since the DF (distributed network element) is located closer to the UE in the network, the DF (distributed network element) is directly or indirectly connected to the UE, while 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) can be the CU and the DF (distributed network element) can be the DU. Alternatively, the CF (centralized network element) can be the AMF and the DF (distributed network element) can be the base station. Alternatively, the CF (centralized network element) can be the 5G core (5G core network) and the DF (distributed network element) can be the gNB. It should be understood that with the development of communication technology, the names of network elements may change, and this application does not limit them. In other words, CF (centralized network element) and DF (distributed network element) can also be network elements in the future network, 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 the 6G network, and DF (distributed network element) is a 6G base station, and so on. The embodiments of this application are not limited.
[0156] Optionally, the first network element in this application may be the CF (centralized network element) in Figure 6 above, and the second network element may be the DF (distributed network element) in Figure 6 above. For example, using a 5G network as an example, the first network element is a gNB-CU and the second network element is a gNB-DU; or the first network element is an AMF and the second network element is a gNB; or the first network element is a 5G core network and the second network element is a gNB. The Verifier in this application is typically a standalone network element, meaning that the Verifier is typically located in a different physical location from the first and second network elements. Of course, the Verifier can also be co-located with the first or second network element (or located in the same physical location). The Attester in this application is typically co-located with the first or second network element (or located in the same physical location). Of course, the Attester can also be independently located, meaning that the Attester is located in a different physical location from the first and second network elements. This application does not limit the configuration of the Verifier and Attester.
[0157] Example 1
[0158] Embodiment 1 of the present application mainly introduces a method for establishing a secure channel using remote attestation and certificates.
[0159] Referring to Figure 7, Figure 7 is a schematic diagram of a first flow chart of a method for establishing a secure channel provided by an embodiment of the present application. As shown in Figure 7, the method for establishing a secure channel may include but is not limited to the following steps:
[0160] 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.
[0161] Correspondingly, the first network element (CF) receives the connection establishment request.
[0162] 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 of the second network element is verified successfully.
[0163] Correspondingly, the verifier receives the measurement request sent by the first network element.
[0164] Optionally, when a second network element wants to exchange data with a first network element, the second network element may send a connection establishment request to the first network element on the control plane. This connection establishment request may be used to request the establishment of a secure channel with the first network element. This 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 on the control plane of the F1 interface. This F1 Setup Request message carries the connection establishment request and 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 trust status of the second network element. If the first network element cannot confirm the trust status of the second network element, the first network element may send a measurement request to the Verifier on the control plane, requesting the Verifier to initiate measurements on the second network element and issue a token to the second network element after the second network element's evidence is verified. If the first network element confirms the trust status of the second network element as trustworthy, the first network element may execute the secure channel establishment process on the user plane with the second network element. The specific secure channel establishment method can refer to the aforementioned secure channel establishment based on pre-configured certificates and is not described in detail here.
[0165] The connection establishment request may include an identifier of the second network element (eg, DF ID) and the type of connection requested. The type of connection requested 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.
[0166] Optionally, the measurement request may include an identifier of a second network element (DF) and a first freshness 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 the identity identifier of the network element in the DF profile, used to identify messages sent by the network element in the network. For example, the DF ID 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 freshness value may be used by the Verifier to generate a token. In some scenarios, the first freshness value may also be passed to the Attester for use in generating evidence by the Attester. Please refer to the description below for details, which will not be described in detail here. Exemplarily, the first freshness value may be a random number #1 or a time #1, such as the time when the measurement request is sent. For ease of understanding, the first freshness value may be expressed as a freshness value for the Token.
[0167] Optionally, the measurement request may also include a token verification policy. The token verification policy can be used to instruct the Verifier on the conditions for issuing a token to the second network element. Alternatively, the token verification policy specifies the algorithm used to generate the token; furthermore, the token verification policy specifies which algorithm should be used to generate the token. For example, token generation can be performed by verifying specific evidence, meaning only evidence corresponding to specific evidence numbers is verified. If the evidence corresponding to these specific evidence numbers passes verification, the Verifier can generate a token and issue it to the second network element. However, if any of the evidence corresponding to these specific evidence numbers fails verification, the Verifier cannot generate a token or issue a token to the second network element. In other words, the token verification policy can specify which evidence must be verified for token generation. For example, if the second network element has 10 evidence numbers from 1 to 10, and the token verification policy specifies that evidence numbers 1, 3, and 9 must be verified, then if evidence numbers 1, 3, and 9 all pass verification, the Verifier can generate a token and issue it to the second network element. This facilitates the Verifier triggering measurement or remote attestation processes as needed.
[0168] Optionally, there are multiple ways for the first network element to confirm the trustworthy status of the second network element. One possible way is: the first network element can query whether there is a trustworthy status result of the second network element in the local cache. If there is a trustworthy status result of the second network element in the local cache, then query whether the trustworthy status of the second network element is still within the validity period. If the trustworthy status of the second network element is within the validity period and is trustworthy, the first network element determines that the trustworthy status of the second network element is trustworthy. If the trustworthy status of the second network element is not within the validity period, it means that the first network element cannot determine the trustworthy status of the second network element. Another possible way is: the first network element can request the Verifier to obtain the trustworthy status result of the second network element cached in the Verifier. If the trustworthy status result of the second network element is trustworthy and still within the validity period, the first network element determines that the trustworthy status of the second network element is trustworthy. If the trustworthy status result of the second network element is not within the validity period, it means that the first network element cannot determine the trustworthy status of the second network element. Another possible approach 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 based on the trusted status result of the second network element. Please refer to the previous description for details, which will not be repeated here.
[0169] Optionally, after receiving the connection establishment request, the first network element may send a connection waiting indication to the second network element on the control plane, informing the second network element that it needs to wait for the first network element to confirm the second network element's security status. For example, when the first network element cannot confirm the second network element's trustworthy status, it may send a connection waiting indication to the second network element on the control plane. The connection waiting indication may include the second network element's identifier (e.g., DF ID) and cause value #1. Cause value #1 may describe the reason why the second network element needs to wait. It is understood that the correspondence between cause value #1 and the cause may be pre-set and is not limited in this embodiment of the present application. Because message exchanges between network elements may have a default waiting interval, if a network element does not receive a response from the peer network element within a waiting interval after sending a message, the network element may deem the message transmission failure and resend the message. However, in this embodiment of the present application, the need to confirm the second network element's security status may take a long time, potentially exceeding the waiting interval. Therefore, by sending a connection waiting indication to inform the second network element to wait, this embodiment of the present application can avoid the second network element from resending the connection establishment request and reduce the waste of signaling resources.
[0170] 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 trust status of the second network element, the first network element may send a measurement request to the Verifier on the control plane, requesting 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 authenticate the second network element and issue a token to the second network element when the remote authentication result is successful. Exemplarily, the measurement request can be a control plane message or signaling. For example, the measurement request can be carried in an already used control plane message or signaling, or it can be a newly designed control plane message or signaling, and this embodiment of the present application does not limit this.
[0171] 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.
[0172] 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.
[0173] S104, the Attester sends the evidence of the second network element to the Verifier.
[0174] Correspondingly, the verifier receives the evidence of the second network element.
[0175] Optionally, the evidence acquisition message may include one or more of the following: an identifier of the second network element (e.g., a DF ID), a second freshness value, or a second measurement policy. The second freshness value can be used by the Attester to generate evidence. The second freshness value can be generated based on the first freshness value (i.e., the token freshness value). For example, the first freshness value (i.e., the token freshness value) can be used as the second freshness value, or the result of XORing the first freshness value (i.e., the token freshness value) with a preset value can be used as the second freshness value. Of course, the second freshness value can also be configured by the Verifier and is independent of the first freshness value (i.e., the token freshness value). This embodiment of the application does not limit the specific method for generating the second freshness value. For example, the second freshness value can be a random number #2 or a time #2, such as the time the evidence acquisition message was sent. For ease of understanding, the second freshness value can be expressed as a measurement freshness value. The second measurement policy can be used to determine which evidence of the second network element to obtain. The second measurement policy can be preconfigured or generated based on a token verification policy. For example, a token verification policy can be used as the second measurement policy. For example, if the token verification policy indicates that evidence numbers 1, 3, and 9 need to be verified, the second measurement policy can indicate that evidence numbers 1, 3, and 9 from the second network element need to be obtained and fed back. In some scenarios, if the evidence acquisition message does not include the second measurement policy, the attester can determine which evidence from the second network element to obtain based on its own needs. In other words, the attester can determine the second measurement policy based on its own needs. In other scenarios, if the evidence acquisition message does not include the second measurement policy, the attester can also obtain all evidence from the second network element and feed it back to the verifier.
[0176] Optionally, after receiving the evidence acquisition message sent by the Verifier, the Attester can obtain evidence corresponding to the second network element based on the Verifier's requirements (i.e., the evidence acquisition message) and can feed the obtained evidence back to the Verifier. The Verifier receives the evidence of the second network element fed back by the Attester. For example, the Attester can obtain the original evidence of the second network element based on the second measurement strategy and generate an evidence chain (i.e., evidence of the second network element) based on the obtained original evidence and the second freshness value (i.e., the measurement freshness value), such as {evidence 1, evidence 2, ..., evidence n}. Assuming that the second freshness value is a random number #2, evidence 1 in the evidence chain can be generated by XORing the value of the original evidence 1 of the second network element with the second freshness value (i.e., the measurement freshness value). Similarly, evidence 2 in the evidence chain can be generated by XORing the value of the original evidence 2 of the second network element with evidence 1. Evidence 3 in the evidence chain can be generated by XORing the value of the original evidence 3 of the second network element with evidence 2. And so on, ultimately obtaining the evidence chain, i.e., the evidence of the second network element.
[0177] Optionally, after obtaining the evidence of the second network element, the Attester 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 the Verifier. For example, after the Attester obtains the evidence chain (i.e., the evidence of the second network element), the Attester can sign the evidence chain to generate evidence signature #1. For example, the Attester can use a key pre-shared with the Verifier to sign the evidence chain. The Attester can carry the evidence chain and evidence signature #1 in a message (for ease of description, denoted as message #1) and feedback it to the Verifier.
[0178] 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 the identifier of the second network element (such as DF ID). For example, message #1 can be simply expressed as {Attester ID, DFID, evidence chain, evidence signature #1}. Exemplarily, Attester ID can be Attester's address.
[0179] S105, the verifier (Verifier) verifies the evidence of the second network element (DF).
[0180] S106, if the evidence verification of the second network element is successful, 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 secure channel establishment process with the first network element.
[0181] Correspondingly, the second network element (DF) receives the Token issued by the verifier (Verifier).
[0182] Optionally, after receiving the evidence for the second network element from the Attester, the Verifier can verify the evidence for the second network element. Exemplarily, the Verifier can verify the evidence for the second network element based on the aforementioned token verification strategy and evidence reference value. For example, if the evidence for the second network element is an evidence chain {evidence 1, evidence 2, ..., evidence n}, and the token verification strategy indicates that token generation requires verification of evidence 1 and evidence 3, then the Verifier only needs to verify the validity of evidence 1 and evidence 3. Of course, the evidence for the second network element can also include only evidence 1 and evidence 3. The specific evidence for the second network element can be determined by the Attester based on the aforementioned second measurement strategy. Specifically, evidence 1 and evidence 3 are compared with the evidence reference value. If they are consistent, the evidence verification for the second network element has passed; if they are inconsistent, the evidence verification for the second network element has failed. For example, if evidence 1 and evidence 3 are version numbers, and the evidence reference value is a version number range, evidence 1 and evidence 3 are compared to see if they are within this range. If both evidence 1 and evidence 3 are within this range, the evidence verification for the second network element has passed; if at least one of evidence 1 and evidence 3 is not within this range, the evidence verification for the second network element has failed. Among them, the evidence reference value can be locally pre-configured or obtained from other network elements, and this embodiment of the present application does not limit this. 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. This embodiment of the present application does not limit this. It can be understood that the embodiment of the present application does not limit the specific method of evidence verification. The method of evidence verification can also refer to the existing technology and will not be described in detail here.
[0183] Optionally, the Verifier receives message #1 sent by Attester, which includes the evidence of the second network element, evidence signature #1, Attester ID, and the identifier of the second network element (such as DF ID). The Verifier can verify the evidence signature #1, such as using the key pre-shared with Attester to decrypt the evidence signature #1. If the decryption is successful, it means that the evidence of the second network element in message #1 comes from Attester, and the 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 the Verifier can discard the message #1 and ask Attester to feedback the evidence of the second network element.
[0184] In the embodiment of the present application, the Attester signs the evidence of the second network element, thereby ensuring that the evidence received by the Verifier comes from the Attester, thereby improving the security of evidence verification.
[0185] 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 secure channel establishment process 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.
[0186] Optionally, after the Verifier issues the Token to the second network element, the Verifier may also send token indication information to the first network element (CF). The token indication information may be used to indicate that the second network element has the above-mentioned Token. Exemplarily, the 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 DF ID), and an identifier of the Token or Token (Token ID). For example, the token indication information may be simply expressed as {CFID, DF ID, Token or Token ID}. After the first network element receives the token indication information, it may store the identifier of the second network element and the Token (or Token ID) in correspondence. After the Verifier of the embodiment of the present application issues the Token to the second network element, it 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.
[0187] S107, the first network element (CF) sends secure channel indication information to the second network element (DF), where the secure channel indication information is used to indicate that a token verification Token is required to establish a secure channel.
[0188] Correspondingly, the second network element (DF) receives the secure channel indication information sent by the first network element (CF).
[0189] Optionally, after step S102, the first network element may send secure channel indication information to the second network element in the control plane, indicating that token verification is required to establish the secure channel. This is because the first network element has already notified the Verifier in step S102 to issue a token to the second network element after the second network element's evidence verification is successful. Therefore, after step S102, the first network element may notify the second network element that the token must be used for subsequent secure channel establishment requests, thereby avoiding long bidirectional waiting times. Alternatively, if the connection establishment request sent by the second network element to the first network element does not include a token, and the first network element determines that the second network element has a valid token, the first network element may send secure channel indication information to the second network element in the control plane, indicating that token verification is required to establish the secure channel. Alternatively, if the first network element determines that the UE sends a user plane message to the CF (e.g., UPF) via the DF (e.g., gNB), and the CF discovers that a user plane secure channel has not yet been established with the DF, the first network element may send secure channel indication information to the second network element in the control plane, indicating that token verification is required 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 token verification is required to establish a secure channel.
[0190] The secure channel indication information can also be understood as indicating that the second network element needs to carry a specific token when initiating secure channel establishment. For example, the secure channel indication information can be included in a successful response to the control plane establishment request. The secure channel here can be an IPSEC or DTLS channel for user plane data.
[0191] 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 DF ID), 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 requires a specific Token.
[0192] 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. The secure channel establishment request includes information about a token Token, which is used to determine the token Token.
[0193] Correspondingly, the first network element (CF) receives the secure channel establishment request.
[0194] 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. The above-mentioned secure channel establishment request may 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.
[0195] It is understood that if the Verifier only provides the Token ID when issuing the Token to the second network element, then the Token information in the secure channel establishment request can be the Token ID. If the Verifier provides the Token when issuing the Token to the second network element, then the Token information in the secure channel establishment request can be the Token. In other words, the Verifier can centrally manage the Token and only provide the Token ID to the first and second network elements, or the Verifier can also send the Token to the first and second network elements.
[0196] Optionally, the secure channel establishment request may further 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, in which case the first network element determines that the security protocol to be used for the transmission channel is the TLS protocol.
[0197] S109: If the token verification passes, the first network element (CF) and the second network element (DF) execute a secure channel establishment process.
[0198] 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 it includes a Token), 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 to see if it is consistent. 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 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 Token ID and the identifier of the second network element (such as the DF ID) to the Verifier, and the Verifier will verify whether the Token identified by the Token ID 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.
[0199] Optionally, if the 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 pre-configured 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 pre-configured certificate, or the Token can be verified first and then the secure channel handshake protocol based on the pre-configured certificate is executed. It can also be understood that when the Token is carried in a field of the pre-configured certificate (such as the extension encryption field), it indicates 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.
[0200] It is understood that after the token verification passes, 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.
[0201] Optionally, if the token verification fails, the first network element may refuse to execute 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 reject the secure channel establishment request sent by the second network element.
[0202] 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 proof and determine the security status of the network element (i.e., whether the Token verification is passed) based on the Token. Then, when the security status of the network element is secure (i.e., the Token verification is passed), 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.
[0203] In order to better understand the embodiments of the present application, the beneficial effects of the embodiments of the present application are illustrated below.
[0204] Refer to Figure 8, which is a schematic diagram illustrating the beneficial effects provided by an embodiment of the present application. It is understood that since transmission protection on the line is already complete 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 an embodiment of the present application, when a first network element (CF) needs to confirm the security status of a second network element (DF), the first network element can initiate remote attestation to the second network element and, based on the remote attestation result, determine whether the secure channel establishment process can be executed. As shown in Figure 8, 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 for the second network element (DF). The Attester obtains evidence 1, evidence 2, and evidence 3 from 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), the first network element can discover that functional module 3 of the second network element (DF) may have been infiltrated. The first network element (CF) may 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) may also request the second network element (DF) to re-initiate a connection.
[0205] It can be seen from this 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.
[0206] Example 2
[0207] The embodiments of this application mainly introduce how to continuously confirm the security status of network elements after establishing a secure channel to further improve data security.
[0208] Optionally, the second embodiment of the present application can be implemented alone or in combination with the first embodiment, which is not limited in this 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 secure channel is established in the first embodiment.
[0209] Referring to Figure 9, Figure 9 is a second flow chart of a method for establishing a secure channel provided in an embodiment of the present application. As shown in Figure 9, the method for establishing a secure channel may include but is not limited to one or more of the following steps:
[0210] 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.
[0211] Correspondingly, the second network element (DF) receives the resource service establishment request.
[0212] 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).
[0213] Correspondingly, the verifier receives the first subscription message.
[0214] Optionally, after establishing a secure channel, the first network element (CF) may send a resource service establishment request to the second network element (DF) in the control plane. This resource service establishment request may be used to request the user resources or service cell resource configuration of the second network element (DF). In some scenarios, the first network element is a CU and the second network element is a DU, and the CU requests the DU's UE resources or cell information. 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 for a specific UE. After receiving the resource service establishment request, the second network element (DF) may confirm the trust status of the first network element (CF). The specific confirmation method can refer to the description of the first network element confirming the trust status of the second network element in the first embodiment, and 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 Verifier's remote attestation result for 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 maintain a secure channel with the first network element.
[0215] It is understood that in the embodiments 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 F1RESOURCESTATUSREQUEST message to the DU to obtain UE resource 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 for a specific UE to the gNB. The embodiments of the present application do not limit the timing when the second network element sends the first subscription message to the Verifier.
[0216] Optionally, the first subscription message may include one or more of the following: an identifier of the second network element (e.g., DF ID), an identifier of the first network element (e.g., CF ID), a subscription request, a measurement requirement, or timestamp #1. The subscription request may be used to request the Verifier to return the remote attestation results of the first network element using a subscription method. In other words, the subscription request may indicate the receipt of the remote attestation results using a subscription method. Exemplarily, the subscription request may be carried explicitly or implicitly, such as by using the message name of the first subscription message to indicate a request for the Verifier to return the remote attestation results of the first network element using a subscription method. The measurement requirement may be used by the Verifier to determine the first measurement strategy. The specific determination method is described below and is not detailed here. The measurement requirement may be used to indicate which algorithm or verification process the Verifier uses to verify evidence. For example, the verification method for specific evidence may be understood as verifying only evidence with a specific evidence number. Carrying the measurement requirement in the first subscription message may facilitate the Verifier triggering 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.
[0217] In an optional embodiment, after establishing a secure channel, when the second network element wishes to confirm the security status of the first network element, it may also send a first subscription message to the Verifier to subscribe to the Verifier's remote attestation results for the first network element. In other words, the second network element may send the first subscription message to the Verifier without any triggering condition.
[0218] 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.
[0219] 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.
[0220] S204, 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.
[0221] Correspondingly, the verifier receives the evidence notification message.
[0222] 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 accordance with the subscription form. The subscription indication can be displayed or carried implicitly, and the embodiment of the present application does not impose any restrictions. 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.
[0223] 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 pre-stored relationship between the 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 will be understood that Table 1 is merely an example, and the embodiments of the present application do not limit the corresponding relationship between the measurement requirements and the measurement strategy.
[0224] Table 1
[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 above-mentioned first measurement strategy may also be independent of the measurement requirements in the above-mentioned second subscription message. 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-mentioned measurement requirements, and other evidence is not verified; the embodiment of the present application does not limit the specific implementation method. It can be understood that the above-mentioned measurement requirements indicate that the evidence number 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 second subscription message, Attester can obtain evidence with a specified evidence number from the first network element based on the content of the first metric policy in the second subscription message. For ease of description, the evidence with a specified evidence number from the first network element obtained by Attester is referred to as the target evidence for the first network element. It is understood that the target evidence for the first network element is the evidence corresponding to the evidence number subscribed to in the second subscription message. Optionally, Attester can also sign the target evidence for the first network element to generate evidence signature #2. The specific signing method can be referred to in the relevant description of the first embodiment and is not repeated here. Attester can then send an evidence notification message to Verifier, which includes the target evidence for the first network element. The target evidence is used to determine the remote attestation result of the first network element. The evidence notification message can also include one or more of the following: the first network element's identifier (CF ID), evidence signature #2, or timestamp #3. For example, the evidence notification message can be simply represented as {CF ID, target evidence for the first network element, evidence signature #2, timestamp #3}. Evidence signature #2 can be used to verify whether the target evidence for the first network element originated from Attester. Timestamp #3 can be used to verify the validity of the target evidence.
[0228] Optionally, the above-mentioned evidence notification message may be fed back periodically via the user plane, for example, Attester feeds back the evidence notification message periodically to Attester via 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 success of the remote certification of the first network element or a failure of the remote certification 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 verify the target evidence. It is understandable that since the second network element (DF) is deployed remotely, if the Verifier and the second network element (DF) are deployed remotely together, the Verifier may not be able to update the evidence reference value in a timely manner. Alternatively, the Verifier does not store the evidence reference value required to verify the evidence. 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 the evidence reference value is not updated in a timely manner, the Verifier needs to request the latest evidence reference value from 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 locally stored evidence reference value of the first network element. The Verifier can then verify the target evidence of the first network element based on 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 requirements indicate that the Verifier needs to verify evidence 1 and evidence 3, so the 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 embodiment of the present application does 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, the 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, the Verifier will verify 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 the 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 based on 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 embodiment of the present application does not limit the specific value of the timestamp and the correspondence between the measurement requirements and the timestamp verification method.
[0236] Table 2
[0237] Optionally, the Verifier determines the remote attestation result by combining 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.
[0238] It is understood that if the Evidence Notification message does not include Evidence Signature #2, then the Verifier does not need to combine the verification results of Evidence Signature #2 to determine the remote attestation result. Similarly, if the first subscription message, the second subscription message, and the Evidence Notification message do not include a timestamp, then the Verifier does not need to combine the timestamp verification results to determine the remote attestation result.
[0239] Optionally, after the Verifier determines the remote attestation result, it may send the remote attestation result to the second network element. The remote attestation result may include the success of the remote attestation of the first network element or the failure of the remote attestation of the first network element. Accordingly, the second network element receives the remote attestation result. Exemplarily, the Verifier may have two sending strategies, one sending strategy is: the 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 the remote attestation of the first network element, the remote attestation result is sent to the second network element. The embodiments of the present application do not impose any restrictions on this.
[0240] 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.
[0241] Correspondingly, the first network element (CF) receives the signaling.
[0242] Optionally, after the second network element receives the remote attestation result fed back by the Verifier, if the remote attestation result indicates that the remote attestation of the first network element has failed, it indicates that the first network element may have been 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.
[0243] Optionally, the signaling may include a cause value #2. Cause value #2 may be used to describe the failure of remote attestation of the first network element. It is understood that the correspondence between cause value #2 and the cause may be pre-set, and this embodiment of the application does not impose any limitation thereto.
[0244] Optionally, after step S206, the method for establishing a secure channel may further include the following steps:
[0245] S208: The second network element (DF) sends a secure channel connection reset request to the OAM network element. The secure channel connection reset request is used to request resetting the secure channel established between the second network element and the first network element. Here, "resetting" can be understood as re-establishing the secure channel between the first network element and the second network element; or releasing the established secure channel between the second network element and the first network element, waiting for the next establishment.
[0246] 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 do not limit this. Exemplarily, the secure channel connection reset request may include a reason value #3, and the reason value #3 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 do not limit this.
[0247] 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 re-establishment 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 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 (F1RESET) 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.
[0248] By subscribing to periodic 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. 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) based on the remote attestation results, reducing the risk of data leakage.
[0249] Example 3
[0250] This embodiment of the application mainly describes 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 is understood that this embodiment of the application can also be applied to the scenario where the base station DU must establish a connection with the Verifier through the CU.
[0251] Optionally, the third embodiment of the present application can be implemented alone or in combination with the first embodiment, which is not limited in this 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 secure channel is established in the first embodiment.
[0252] Referring to Figure 10, Figure 10 is a schematic diagram of a third flow chart of a method for establishing a secure channel provided in an embodiment of the present application. As shown in Figure 10, the method for establishing a secure channel may include but is not limited to one or more of the following steps:
[0253] 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.
[0254] Correspondingly, the second network element (DF) receives the resource service establishment request.
[0255] S302: The second network element (DF) sends a first subscription message to the first network element (CF).
[0256] 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).
[0257] Correspondingly, the verifier receives the first subscription message.
[0258] 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 Verifier's remote certification result 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.
[0259] 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 attestation result fed back by the Verifier after the timer expires, the process jumps to step S309. That is, if the second network element has not received the remote attestation 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 that the remote attestation has failed.
[0260] 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 (e.g., a DF ID), an identifier of the first network element (e.g., a CF ID), a subscription request, a measurement requirement, or timestamp #1. The functions or effects of the subscription request, measurement requirement, and timestamp #1 are described in the second embodiment and are not further elaborated 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 include integrity protection or encryption of key parameters in the first subscription message (e.g., a subscription request and / or measurement requirement). Alternatively, the entire first subscription message may be integrity protected or encrypted. Exemplarily, integrity protection may involve generating a message authentication code using a key for all or part of the first subscription message. The key used here may be a key pre-shared between the Verifier and the second network element. Exemplarily, encryption may be performed using a key pre-shared between the Verifier and the second network element. The encryption algorithm may be an Advanced Encryption Standard (AES) algorithm. For example, the AES algorithm is used to generate ciphertext, and then the corresponding one or more plaintext cells are replaced.
[0261] As you can understand, in the field of information security, common information protection methods fall into two categories: encryption and authentication. Authentication can be further categorized into user authentication and message authentication. User authentication verifies that a user is legitimate; message authentication verifies that a received message originates from the authentic sender and has not been modified, thereby verifying the message's accuracy. Message authentication is essentially a redundant form of information generated for the message itself, known as a message authentication code (MAC). A MAC is a technique for verifying integrity and authentication. In cryptography, a MAC refers to a verification mechanism used by communicating entities to ensure message integrity. A MAC can be a keyed hash function. Because messages can be tampered with during transmission, a MAC algorithm generates a MAC using part or all of a message as input to ensure it has not been tampered with upon receipt. Upon receiving the message, the recipient can use the MAC to verify the integrity of the entire message, thereby achieving the purpose of information transmission.
[0262] In one optional embodiment, since the DF needs to connect to the Verifier through the CF, after establishing a secure channel, when the second network element wants to confirm the security status of the first network element, it must first send a first subscription message to the first network element, and the first network element can then forward this first subscription message to the Verifier. This first subscription message can be used to subscribe to the Verifier's remote attestation results for the first network element. It is understood that forwarding in this embodiment of the application can be understood as transparent transmission, and will not be further explained below.
[0263] 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.
[0264] 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.
[0265] 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), and the target evidence is used to determine a remote attestation result of the first network element.
[0266] Correspondingly, the verifier receives the evidence notification message.
[0267] S306, the verifier (Verifier) verifies the target evidence of the first network element (CF).
[0268] Optionally, the implementation of steps S304 to S306 in the embodiment of the present application can refer to the implementation of steps S203 to S205 in the aforementioned embodiment 2, and will not be repeated here.
[0269] 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.
[0270] In one possible implementation, if the Verifier locally stores a MAC key or decryption key required for verifying the MAC, then 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 when the MAC key is used to verify the first integrity protection information, 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.
[0271] 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, for rejecting 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.
[0272] 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.
[0273] For example, when the second network element uses message encryption to protect the first subscription message, that is, 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 encryption information. The request #1 can be used to request the OAM network element to decrypt the first encryption information. After receiving the request #1, the OAM network element uses the decryption key of the second network element to decrypt the first encryption 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 elements obtained after decrypting the encryption container, that is, the result of decrypting the first encryption information. The Verifier determines whether the result of the decryption of the first encryption 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.
[0274] 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 include 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 to obtain the plaintext content, thereby determining whether the first subscription message is valid.
[0275] For another example, when the second network element uses integrity protection to protect the first subscription message, that is, the first subscription message includes the first integrity protection information. The Verifier can send a 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 include MAC key auxiliary information, such as a timestamp or the original MAC code. After receiving the request #3, the OAM network element can send a 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.
[0276] 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 uses the MAC key of the second network element to verify the first integrity protection information, 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.
[0277] S307, the verifier (Verifier) sends the remote certification result to the first network element (CF).
[0278] S308, the first network element (CF) forwards the remote attestation result to the second network element (DF), where the remote attestation result includes the success of the remote attestation of the first network element or the failure of the remote attestation of the first network element.
[0279] Correspondingly, the second network element (DF) receives the remote certification result.
[0280] Optionally, the above-mentioned 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-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.
[0281] It is also understood that if the Verifier locally stores a MAC key or decryption key, it can locally process the remote attestation result to obtain the second integrity protection information and / or second encrypted information. If the Verifier does not locally store a MAC key or decryption key, the OAM network element can assist in generating the second integrity protection information and / or second encrypted information. The specific implementation can be referred to the previous description and is not repeated here.
[0282] 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.
[0283] 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.
[0284] Correspondingly, the first network element (CF) receives the signaling.
[0285] Optionally, the implementation method of step S309 in the embodiment of the present application can refer to the implementation method of step S207 in the aforementioned embodiment 2, which is not repeated here.
[0286] 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 encryption 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 encryption 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.
[0287] Optionally, after step S309, the second network element may further send a secure channel connection reset request to the OAM network element, requesting 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 cause 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, cause value #3 indicates that remote attestation of the first network element has failed. It is understood that the correspondence between cause value #3 and the cause may be pre-set, and this embodiment of the present application does not impose any limitation thereto.
[0288] Optionally, after step S309, the second network element may further send a re-establishment 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 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 (F1RESET) 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.
[0289] 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 and then provide 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) based on the remote attestation results to reduce the risk of data leakage.
[0290] 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.
[0291] The embodiment of the present application can divide the functional modules of each network element of the present application according to the above-mentioned method example, and also divide the functional modules of the above-mentioned network elements according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module 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 and is only a logical functional division. There may be other division methods in actual implementation. The communication device of the embodiment of the present application will be described in detail below with reference to Figures 11 to 13.
[0292] 11 is a schematic diagram of a communication device according to an embodiment of the present invention. As shown in FIG11 , the communication device includes a transceiver unit 10 and a processing unit 20 .
[0293] In some embodiments of the present application, the communication device may be the first network element shown above or a chip or circuit provided in the first network element. That is, the communication device may be used to execute the steps or functions performed by the first network element in the above method embodiment.
[0294] In one design, the transceiver unit 10 is used to send a measurement request to the verifier, where 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 transceiver unit 10 is also used to send secure channel indication information to the second network element, where the secure channel indication information is used to indicate that the token needs to be verified to establish a secure channel. The transceiver unit 10 is also used to receive a secure channel establishment request sent by the second network element, where the secure channel establishment request is used to request to establish a secure channel with the first network element, where the secure 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 the secure channel establishment process when the token verification is passed.
[0295] 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.
[0296] Exemplarily, the transceiver unit 10 is further configured to receive Token indication information sent by the authenticator, 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.
[0297] Exemplarily, the transceiver unit 10 is further used to send Token verification information to the verifier, where the Token verification information includes information about 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.
[0298] Exemplarily, the transceiver unit 10 is also 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.
[0299] Exemplarily, the transceiver unit 10 is also used to receive the remote certification result sent by the verification party; the transceiver unit 10 is also used to send 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.
[0300] In the embodiments of the present application, descriptions of measurement requests, connection establishment requests, resource service establishment requests, first subscription messages, remote certification results, etc. can be referred to the introduction in the above method embodiments (including Figure 7, Figure 9, or Figure 10), and will not be described in detail here.
[0301] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0302] 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.
[0303] Exemplarily, the processing unit 20 is configured to generate a resource service establishment request.
[0304] 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.
[0305] Exemplarily, the transceiver unit 10 is also used to receive the remote certification result sent by the verification party; the transceiver unit 10 is also used to send 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.
[0306] In the embodiments of the present application, descriptions of resource service establishment requests, signaling, first subscription messages, remote certification results, etc. can be referred to the introduction in the above method embodiments (including Figure 9 or Figure 10), and will not be described in detail here.
[0307] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0308] Reusing Figure 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 provided in the second network element. That is, the communication device may be used to execute the steps or functions performed by the second network element in the above method embodiment.
[0309] 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 secure channel indication information sent by a first network element, where the secure channel indication information is used to indicate that the token needs to be verified to establish a secure channel; the transceiver unit 10 is also used to send 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, where the secure 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 the secure channel establishment process.
[0310] 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.
[0311] 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 the 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 verifier's remote certification result for the first network element; the transceiver unit 10 is also used to receive 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; the transceiver unit 10 is also used to send signaling to the first network element when the remote certification result is the remote certification failure of the first network element, and the signaling is used to notify the first network element of the remote certification failure.
[0312] Exemplarily, the transceiver unit 10 is specifically configured to send a first subscription message to the verification party.
[0313] Exemplarily, the transceiver unit 10 is specifically configured to receive a remote certification result sent by a verification party.
[0314] Exemplarily, the transceiver unit 10 is further configured 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 resetting the secure channel established between the second network element and the first network element.
[0315] In the embodiments of the present application, descriptions of measurement requests, connection establishment requests, resource service establishment requests, first subscription messages, remote certification results, etc. can be referred to the introduction in the above method embodiments (including Figure 7, Figure 9, or Figure 10), and will not be described in detail here.
[0316] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0317] 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 the 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 verifier's remote certification result for the first network element; the transceiver unit 10 is also used to receive 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; the transceiver unit 10 is also used to send signaling to the first network element when the remote certification result is the remote certification failure of the first network element, and the signaling is used to notify the first network element of the remote certification failure.
[0318] Exemplarily, the processing unit 20 is configured to generate a first subscription message and signaling.
[0319] Exemplarily, the transceiver unit 10 is specifically configured to send a first subscription message to the verification party.
[0320] Exemplarily, the transceiver unit 10 is specifically configured to receive a remote certification result sent by a verification party.
[0321] 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.
[0322] In the embodiments of the present application, descriptions of resource service establishment requests, signaling, first subscription messages, remote certification results, etc. can be referred to the introduction in the above method embodiments (including Figure 9 or Figure 10), and will not be described in detail here.
[0323] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0324] Reusing Figure 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.
[0325] In one design, the transceiver unit 10 is used to receive a measurement request sent by the first network element, where 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 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 the process of establishing a secure channel with the first network element.
[0326] 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.
[0327] Exemplarily, the transceiver unit 10 is further configured 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.
[0328] Exemplarily, the transceiver unit 10 is further used to receive Token verification information sent by the first network element, where the Token verification information includes information about the Token, where the information about the Token is used to determine the Token, and where 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, where the Token verification result indicates that the Token is valid; the transceiver unit 10 is further used to send the Token verification result to the first network element.
[0329] Exemplarily, the transceiver unit 10 is further used to receive a first subscription message sent by the second network element or the first network element, where 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 further used to send a second subscription message to the measurement party, where the second subscription message is used to subscribe to the evidence of the first network element; the transceiver unit 10 is further used to receive an evidence notification message sent by the measurement party, where the evidence notification message includes the target evidence of the first network element, where the target evidence is used to determine the remote attestation result of the first network element; the processing unit 20 is further used to verify the target evidence of the first network element; the transceiver unit 10 is further used to send a remote attestation result to the second network element or the first network element, where 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 successfully, the remote attestation result is the remote attestation success of the first network element; if the target evidence is verified unsuccessfully, the remote attestation result is the remote attestation failure of the first network element.
[0330] Exemplarily, the processing unit 20 is further configured to determine, based on the first integrity protection information or the first encryption information, whether the first subscription message is valid.
[0331] Exemplarily, the second subscription message includes a first metric strategy, the first metric strategy being used to determine an evidence number subscribed to by the second subscription message. Processing unit 20 is further configured to determine the first metric strategy based on the metric requirement in 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.
[0332] Exemplarily, the processing unit 20 is further configured to determine a timestamp verification method based on the measurement requirements in the first subscription message; the processing unit 20 is further configured to use 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. 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.
[0333] In the embodiments of the present application, descriptions of measurement requests, evidence acquisition messages, first subscription messages, evidence notification messages, remote attestation results, etc. can be referred to the introduction in the above method embodiments (including Figure 7, Figure 9, or Figure 10), and will not be described in detail here.
[0334] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0335] 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 verifier for the first network element; 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 successfully, the remote attestation result is the remote attestation success of the first network element, and if the target evidence is verified unsuccessfully, the remote attestation result is the remote attestation failure of the first network element.
[0336] 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 whether the first subscription message is valid based on the first integrity protection information or the first encryption information.
[0337] Exemplarily, the second subscription message includes a first metric strategy, the first metric strategy being used to determine an evidence number subscribed to by the second subscription message. Processing unit 20 is further configured to determine the first metric strategy based on the metric requirement in 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.
[0338] Exemplarily, the processing unit 20 is further configured to determine a timestamp verification method based on the measurement requirements in the first subscription message; the processing unit 20 is further configured to use 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. 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.
[0339] 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 introduction in the above method embodiment (including Figure 9 or Figure 10), and will not be described in detail here.
[0340] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0341] Reusing Figure 11, in still other embodiments of the present application, the communication device may be the metric shown above or a chip or circuit in the metric, that is, the communication device may be used to execute the steps or functions performed by the metric in the above method embodiments.
[0342] In one design, the transceiver unit 10 is used to receive an evidence acquisition message sent by the verifier, and the evidence acquisition message is used to obtain evidence of the second network element; the transceiver unit 10 is also used to send the evidence of the second network element to the verifier, and the evidence of the second network element is used by the verifier to verify the evidence.
[0343] Exemplarily, the processing unit 20 is configured to obtain evidence of the second network element.
[0344] Exemplarily, the transceiver unit 10 is also 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 the target evidence of the first network element, and the target evidence is used to determine the remote proof result of the first network element.
[0345] 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 introduction in the above method embodiments (including Figure 7, Figure 9 or Figure 10), and will not be described in detail here.
[0346] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0347] 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 the target evidence of the first network element, and the target evidence is used to determine the remote proof result of the first network element.
[0348] Exemplarily, the processing unit 20 is configured to obtain target evidence of the first network element.
[0349] In the embodiment of the present application, the description of the second subscription message, evidence notification message, etc. can be referred to the introduction in the above method embodiment (including Figure 9 or Figure 10), and will not be described in detail here.
[0350] 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, please refer to the above-mentioned method embodiment and will not be described in detail here.
[0351] The above describes the communication device according to the embodiment of the present application. The following describes possible product forms of the communication device. It should be understood that any product having the functions of the communication device described in FIG. 11 falls within the scope of protection of the embodiment of the present application. It should also be understood that the following description is merely illustrative and does not limit the product forms of the communication device according to the embodiment of the present application to these examples.
[0352] In one possible implementation, in the communication device shown in FIG11 , the processing unit 20 may be one or more processors, and the transceiver unit 10 may be a transceiver. Alternatively, the transceiver unit 10 may be a transmitting unit and a receiving unit, wherein the transmitting unit may be a transmitter and the receiving unit may be a receiver, and the transmitting unit and receiving unit are integrated into a single device, such as a transceiver. In embodiments of the present application, the processor and transceiver may be coupled, etc., and the connection method between the processor and transceiver is not limited in embodiments of the present application. During the execution of the above-described method, the process of sending information in the above-described method can be understood as the process of the processor outputting the above-described information. When outputting the above-described information, the processor outputs the above-described information to the transceiver for transmission by the transceiver. After being output by the processor, the above-described information may require further processing before reaching the transceiver. Similarly, the process of receiving information in the above-described method can be understood as the process of the processor receiving the above-described information. When the processor receives the input information, the transceiver receives the above-described information and inputs it into the processor. Furthermore, after the transceiver receives the above-described information, the above-described information may require further processing before being input into the processor.
[0353] Refer to Figure 12, which is another structural diagram of the communication device provided in an embodiment of the present application. As shown in Figure 11, the communication device provided in an 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).
[0354] The processor 1001 may be a general-purpose processor or a dedicated processor. 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 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 can 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.
[0355] Processor 1001 is primarily used to process communication protocols and communication data, control the entire communication device, execute software programs, and process software program data. Memory 1003 is primarily used to store software programs and data. Transceiver 1002 may include control circuitry and an antenna. The control circuitry is primarily used to convert baseband signals into radio frequency signals and process radio frequency signals. The antenna is primarily used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input / output devices, such as a touch screen, display, and keyboard, are primarily used to receive user input and output data to the user.
[0356] When the communication device is powered 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 transmits the radio frequency signal to the outside 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.
[0357] In another implementation, the RF circuit and antenna may be provided independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be remotely arranged independent of the communication device.
[0358] The transceiver 1002 may include a receiver and a transmitter, wherein the receiver is configured to perform a receiving function (or operation) and the transmitter is configured to perform a transmitting function (or operation), and the transceiver is configured to communicate with other devices / apparatuses via a transmission medium.
[0359] The processor 1001 , the transceiver 1002 , and the memory 1003 may be connected via a communication bus.
[0360] In one implementation, processor 1001 may store instructions, which may be computer programs. The computer programs, when executed on processor 1001, may cause the communication device to perform the methods described in the above method embodiments. The computer programs may be embedded in processor 1001, in which case processor 1001 may be implemented by hardware.
[0361] In one implementation, the communication device may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiment. The processor and transceiver described in this 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.
[0362] It is understood that the communication device shown in the embodiment of the present application may also have more components than those in Figure 12, and the embodiment of the present application is not limited to this. The method performed by the processor and transceiver shown above is only an example. For the specific steps performed by the processor and transceiver, please refer to the description of the method embodiment above.
[0363] In another possible implementation, in the communication device shown in Figure 11, the processing unit 20 can be one or more logic circuits, and the transceiver unit 10 can be an input / output interface, or a communication interface, or an interface circuit, or an interface, etc. Or the transceiver unit 10 can also be a sending unit and a receiving unit, the sending unit can be an output interface, the receiving unit can be an input interface, and the sending unit and the receiving unit are integrated into one unit, such as an input / output interface. Referring to Figure 13, Figure 13 is another structural diagram of a communication device provided in an embodiment of the present application. As shown in Figure 13, the communication device shown in Figure 13 includes a logic circuit 901 and an interface 902. That is, the above-mentioned processing unit 20 can be implemented with a logic circuit 901, and the transceiver unit 10 can be implemented with an interface 902. Among them, 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. Exemplarily, Figure 13 is shown as an example of the above-mentioned communication device being a chip, and the chip includes a logic circuit 901 and an interface 902.
[0364] 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.
[0365] Optionally, the communication device shown in FIG13 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 of the above-mentioned first network element, second network element, verifier, and measurer.
[0366] 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.
[0367] For the specific implementation of each embodiment shown in FIG13 , reference may also be made to the above embodiments, which will not be described in detail here.
[0368] 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.
[0369] 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.
[0370] 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 in 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 verification party 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 measurement party in the method provided by the present application.
[0373] The present application also provides a computer-readable storage medium, which stores computer code. When the computer code runs on a computer, the computer executes the method steps of any network element described in the above embodiments.
[0374] The present application also provides a computer program product, which includes computer code or computer program. When the computer code or computer program runs on a computer, the operations and / or processing performed by any network element described in the above embodiments are executed.
[0375] In the several embodiments provided in this 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. In actual implementation, there may be other division methods, 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 can be electrical, mechanical or other forms of connection.
[0376] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across 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.
[0377] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0378] 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 the part that contributes 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 enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute 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), magnetic 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 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 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, 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, where the information about 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.
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 an identifier of the second network element and a first fresh value, wherein 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.
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 about 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 verification passes according to the 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 a 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 needs to be verified to establish 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, where the information about the token is used to determine the 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 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 in a subscription manner, 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.
26. A communication device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store instructions or programs; The processor is configured to execute the instructions or programs to enable the communication device to perform the method according to any one of claims 1 to 23.
27. A communication system, characterized in that: include: A first network element for executing the method according to any one of claims 1 to 13, and a second network element for executing the method according to any one of claims 14 to 23.
28. 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 to the second network element after the evidence verification of the second network element is passed; The second network element receives a token issued by the verification party; 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 needs to be verified to establish 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, where the information about 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.
Citation Information
Patent Citations
Discovery method and device based on servitization architecture
CN109428875A
Network function service identity verification method and related device
CN111865598A
Remote certification method and device
CN112217775A
Authorization verification method and device
CN115706997A
Hub-based token generation and endpoint selection for secure channel establishment
US20220038283A1
