A network access method, terminal, network functional entity, and system

By introducing a trusted measurement information verification mechanism between the terminal and network functional entities, the security risks caused by virtualization deployment in 5G communication networks are resolved, and the security and reliability of terminal access and the trustworthiness of data transmission are achieved.

CN117676749BActive Publication Date: 2026-11-17CHINA MOBILE CHENGDU INFORMATION & TELECOMM TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211094066.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2026-11-17
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

In 5G communication network systems, the virtualization deployment of core network functional entities creates system vulnerabilities, increasing the security risk of attacks on terminals and network functional entities, leading to insecure network access.

Method used

By introducing a trusted measurement information verification mechanism between the terminal and network functional entities, the trustworthiness of both parties' environments is verified using static and real-time trusted measurement values, ensuring that data storage and transmission are always carried out in a trusted environment, including a two-way authentication process between the terminal and network functional entities.

Benefits of technology

It improves the security and reliability of terminal access to the network, ensures that data interaction takes place in a trusted environment, and reduces the risk of being attacked.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117676749B_ABST
    Figure CN117676749B_ABST
Patent Text Reader

Abstract

This application provides a network access method applied to a terminal, comprising: sending a network access request to a first network functional entity, the network access request carrying at least first trust measurement information of the terminal; if the first trust measurement information passes the verification of the first network functional entity, receiving authentication response information sent by the first network functional entity, the authentication response information carrying at least second trust measurement information and authentication information of the first network functional entity; determining that the first network functional entity is in a trusted environment based on the second trust measurement information, and accessing the target network corresponding to the first network functional entity based on the authentication information. This application also provides a terminal, a network functional entity, a network access system, and an electronic device. This ensures that data storage and transmission between the terminal and the network functional entity are always in a trusted environment, thereby providing support for the security and reliability of the terminal authentication process and guaranteeing the security of terminal access.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to network access technology, specifically to a network access method, terminal, network functional entity, and system. Background Technology

[0002] When a terminal accesses a target network, both the terminal and the network functional entities need to authenticate their legitimacy in an environment free from attack and tampering, thereby ensuring network access security and reliability. However, in 5G communication network systems, the core network functional entities are all deployed virtualized, which exposes them to potential attacks when system vulnerabilities exist, significantly increasing the security risks of attacks on terminals and network functional entities. Summary of the Invention

[0003] To address the existing technical problems, the technical solution of this application is implemented as follows:

[0004] According to one aspect of this application, a network access method is provided, the method being applied to a terminal, the method comprising:

[0005] Send a network access request to the first network function entity, wherein the network access request carries at least the first trust measurement information of the terminal;

[0006] If the first trust measurement information is verified by the first network function entity, the authentication response information sent by the first network function entity is received, and the authentication response information carries at least the second trust measurement information and authentication information of the first network function entity.

[0007] Based on the second trust measurement information, it is determined that the first network function entity is in a trusted environment, and based on the authentication information, it accesses the target network corresponding to the first network function entity.

[0008] In the above scheme, the second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity;

[0009] The step of determining that the first network functional entity is in a trusted environment based on the second trust measurement information includes:

[0010] Based on the second trust measurement information, determine the second static trust measurement value and the second real-time trust measurement value of the first network functional entity;

[0011] The second static trust metric is compared with the first static trust metric, and the second real-time trust metric is compared with the first real-time trust metric.

[0012] If the comparison result indicates that the second static trust metric is the same as the first static trust metric, and the second real-time trust metric is the same as the first real-time trust metric, then the first network functional entity is determined to be in a trustworthy environment.

[0013] The method in the above scheme further includes:

[0014] If the comparison result indicates that the second static trust metric value is different from the first static trust metric value and / or the second real-time trust metric value is different from the first real-time trust metric value, it is determined that the first network functional entity is in an untrusted environment.

[0015] Access to the target network corresponding to the first network function entity is prohibited.

[0016] In the above scheme, accessing the target network corresponding to the first network function entity based on the authentication information includes:

[0017] The authentication parameters of the terminal are generated based on the authentication information;

[0018] Send the authentication parameters to the first network function entity;

[0019] If the authentication parameters pass the verification of the first network function entity, the user is connected to the target network of the first network function entity.

[0020] According to another aspect of this application, a network access method is provided, the method being applied to a first network functional entity, the method comprising:

[0021] The receiving terminal sends a network access request, wherein the network access request carries at least the terminal's first trust measurement information;

[0022] When the terminal is determined to be in a trusted environment based on the first trust measurement information, authentication information is obtained through the second network function entity.

[0023] Send authentication response information to the terminal, wherein the authentication response information carries at least the second trust measurement information of the first network function entity and the authentication information;

[0024] If the second trust measurement information passes the terminal's verification, the system determines whether to allow the terminal to access the target network based on the authentication information.

[0025] In the above scheme, the first trust measurement information includes at least the third real-time trust measurement value of the terminal;

[0026] The step of determining that the terminal is in a trusted environment based on the first trust measurement information includes:

[0027] The fourth real-time trust measurement value of the terminal is determined based on the first environmental trust measurement information;

[0028] Compare the fourth real-time trust metric with the third real-time trust metric;

[0029] If the comparison result indicates that the fourth real-time trust metric is the same as the third real-time trust metric, it is determined that the terminal is in a trustworthy environment.

[0030] In the above scheme, the first trust measurement information also includes the third static trust measurement value of the terminal;

[0031] The step of determining that the terminal is in a trusted environment based on the first trust measurement information includes:

[0032] The fourth static trust value of the terminal is determined based on the first environmental trust measurement information;

[0033] Compare the fourth static credibility metric value with the third static credibility metric value;

[0034] If the comparison result indicates that the fourth static trust metric is the same as the third static trust metric, it is determined that the terminal is in a trusted environment.

[0035] The method in the above scheme further includes:

[0036] If the comparison result indicates that the fourth static trust metric is different from the third static trust metric and / or the fourth real-time trust metric is different from the third real-time trust metric, it is determined that the terminal is in an untrusted environment;

[0037] An authentication failure notification message is sent to the terminal to deny the terminal access to the target network.

[0038] In the above scheme, determining whether to agree to the terminal accessing the target network based on the authentication information includes:

[0039] Receive authentication parameters sent by the terminal based on the authentication information;

[0040] Compare the authentication parameters with the target authentication parameters;

[0041] If the comparison result indicates that the authentication parameters are the same as the target authentication parameters, then the terminal is allowed to access the target network of the first network function entity.

[0042] In the above scheme, obtaining authentication information through the second network functional entity includes:

[0043] Send an authentication data query request to the second network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity;

[0044] If the second trust measurement information is verified by the second network function entity, the authentication information sent by the second network function entity based on the terminal identification information is received.

[0045] In the above scheme, the second network functional entity is deployed in an independent trusted computing environment.

[0046] According to a third aspect of this application, a network access method is provided, the method being applied to a second network functional entity, the method comprising:

[0047] Receive an authentication data query request sent by a first network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity;

[0048] When the first network function entity is determined to be in a trusted environment based on the second trust measurement information, authentication information is generated based on the terminal identification information. The authentication information is used by the first network function entity to determine whether to agree to the terminal corresponding to the terminal identification information accessing the target network.

[0049] The authentication information is sent to the first network function entity.

[0050] In the above scheme, the second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity;

[0051] The step of determining that the first network functional entity is in a trusted environment based on the second trust measurement information includes:

[0052] The fifth static trust metric value and the fifth real-time trust metric value of the first network functional entity are determined based on the second trust metric information.

[0053] The fifth static trust metric is compared with the first static trust metric, and the fifth real-time trust metric is compared with the first real-time trust metric.

[0054] If the comparison result indicates that the fifth static trust metric is the same as the first static trust metric, and the fifth real-time trust metric is the same as the first real-time trust metric, then the first network functional entity is determined to be in a trustworthy environment.

[0055] The method in the above scheme further includes:

[0056] If the comparison result indicates that the fifth static trust metric is different from the first static trust metric and / or the fifth real-time trust metric is different from the first real-time trust metric, it is determined that the first network functional entity is in an untrusted environment.

[0057] The authentication information was not generated.

[0058] In the above scheme, the second network functional entity is deployed in an independent trusted computing environment.

[0059] According to a fourth aspect of this application, a terminal is provided, the terminal comprising:

[0060] A sending unit is configured to send a network access request to a first network function entity, wherein the network access request carries at least the first trust measurement information of the terminal.

[0061] The receiving unit is configured to receive authentication response information sent by the first network function entity if the first trust measurement information is verified by the first network function entity, wherein the authentication response information carries at least the second trust measurement information and authentication information of the first network function entity.

[0062] The control unit is configured to determine, based on the second trust measurement information, that the first network function entity is in a trusted environment, and to control the terminal to access the target network corresponding to the first network function entity based on the authentication information.

[0063] According to a fifth aspect of this application, a network function entity is provided, the network function entity comprising:

[0064] A receiving unit is configured to receive a network access request sent by a terminal, wherein the network access request carries at least the terminal's first trust measurement information;

[0065] The acquisition unit is used to obtain authentication information through a second network function entity when it is determined that the terminal is in a trusted environment based on the first trust measurement information.

[0066] The sending unit is configured to send authentication response information to the terminal, wherein the authentication response information carries at least the second trust measurement information of the first network function entity and the authentication information.

[0067] The determining unit is configured to determine, based on the authentication information, whether to agree to allow the terminal to access the target network if the second trust measurement information passes the verification of the terminal.

[0068] According to a sixth aspect of this application, a network function entity is provided, the network function entity comprising:

[0069] The receiving unit is configured to receive an authentication data query request sent by a first network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity.

[0070] The generation unit is configured to generate authentication information based on the terminal identification information when the first network function entity is determined to be in a trusted environment based on the second trust measurement information. The authentication information is used by the first network function entity to determine whether to agree to the terminal corresponding to the terminal identification information accessing the target network.

[0071] The sending unit is used to send the authentication information to the first network function entity.

[0072] According to a seventh aspect of this application, a network access system is provided, the system comprising:

[0073] A terminal is configured to send a network access request to a network function entity, the network access request carrying first trust measurement information of the terminal; and to verify second trust measurement information of the network function entity, and if the second trust measurement information passes the verification, to send terminal authentication parameters to the network function entity based on authentication information.

[0074] A network function entity is configured to verify the first trust measurement information, and if the first trust measurement information passes verification, send authentication response information to the terminal, wherein the authentication response information carries the second trust measurement information and authentication information of the network function entity; and to verify the terminal authentication parameters if the second trust measurement information passes verification by the terminal, so as to determine whether to allow the terminal to access the target network based on the verification result.

[0075] In the above scheme, the network functional entity includes:

[0076] The first network functional entity is used to verify the first trusted measurement information. If the first trusted measurement information passes the verification, it sends an authentication data query request to the second network functional entity. The authentication data query request carries the second trusted measurement information and terminal identification information of the first network functional entity.

[0077] A second network functional entity is configured to verify the second trust measurement information, and if the second trust measurement information passes verification, generate authentication information based on the terminal identification information, and send the authentication information to the first network functional entity. According to an eighth aspect of this application, an electronic device is provided, comprising: a processor and a memory for storing a computer program capable of running on the processor.

[0078] When the processor is used to run the computer program, it executes any of the above method steps.

[0079] According to a ninth aspect of this application, a computer-readable storage medium is provided for storing computer instructions, which, when executed by a processor, perform any of the above-described method steps.

[0080] The network access method, terminal, network functional entity, and system provided in this invention, by introducing verification of environmental trustworthiness during the authentication process between the terminal and the network functional entity, can ensure that the data storage and transmission of both the terminal and the network functional entity are always in a trusted environment, thereby providing support for the security and reliability of the terminal authentication process and ensuring the security of terminal access. Attached Figure Description

[0081] Figure 1 This is a schematic diagram illustrating the implementation process of the network access method in this application. Figure 1 ;

[0082] Figure 2 This is a schematic diagram illustrating the implementation process of the network access method in this application. Figure 2 ;

[0083] Figure 3 This is a schematic diagram illustrating the implementation process of the network access method in this application. Figure 3 ;

[0084] Figure 4 This is a schematic diagram of the structural composition of the terminal in this application;

[0085] Figure 5 This is a schematic diagram of the structural composition of the network functional entities in this application. Figure 1 ;

[0086] Figure 6 This is a schematic diagram of the structural composition of the network functional entities in this application. Figure 2 ;

[0087] Figure 7 This is a schematic diagram of the structural composition of the network access system in this application;

[0088] Figure 8 This is a schematic diagram illustrating the implementation of the method flow of the network access system in this application;

[0089] Figure 9 This is a schematic diagram of the structural composition of the electronic device in this application. Detailed Implementation

[0090] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0091] Figure 1 This is a schematic diagram illustrating the implementation process of the network access method in this application. Figure 1 This method can be applied to terminals, including but not limited to mobile phones, personal digital assistants (PDAs), smartwatches, etc. Figure 1 As shown, the method includes:

[0092] Step 101: Send a network access request to the first network function entity, wherein the network access request carries at least the first trust measurement information of the terminal;

[0093] In this application, the first trust measurement information may include two authentication vectors: a first static trust measurement information and a first real-time trust measurement information. The first static trust measurement information is an original trust measurement value stored by the terminal in a secure environment. Since this original trust measurement value is typically stored in the terminal's dedicated trusted hardware and / or dedicated software space, it can only be read and not modified. Therefore, this application uses this original trust measurement value as the tamper-proof first static trust measurement information.

[0094] Here, the first static trust measurement information is specifically generated based on relevant files acquired by the terminal in its initial and / or stable state. These relevant files include configurations, specifications, procedures, parameters, etc., that can measure and / or characterize the security and / or reliability of the system, hardware, software, and operating system. The first static trust measurement information consists of these relevant files and a digest generated from them (hereinafter referred to as Digest 1), namely:

[0095] First static trust measurement information = (configuration, description, process, parameters and other documents under the security state, summary 1).

[0096] In this application, the first real-time trust measurement information is generated by the terminal initiating a network access request to the first network function entity, which collects the system's trust status in real time. The system's trust status includes system-related configurations, descriptions, processes, parameters, and other documents in the real-time state.

[0097] The first real-time trustworthiness measurement information consists of relevant configuration, description, process, parameter, and other files in the real-time state, as well as a digest generated from these files (hereinafter referred to as Digest 2), namely:

[0098] First Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 2).

[0099] In this application, when the terminal sends a network access request to the first network function entity, the network access request may also carry terminal identification information representing the terminal's identity. Both the terminal identification information and the static trust measurement information carried in the network access request are parameters obtained after encryption using a public key system.

[0100] In this application, if the terminal and the first network function entity have successfully established a network access relationship within a preset time period (e.g., one week or one month), the terminal's identifier information and the mapping relationship between the terminal and the first network function entity can be temporarily stored in both the terminal and the first network function entity. Based on this mapping relationship, the first network function entity can obtain the terminal's first static trust measurement information. In this case, when the terminal sends a network access request to the first network function entity, it can simply include the terminal's first real-time trust measurement information in the request. This reduces data processing steps and improves data transmission efficiency.

[0101] Step 102: If the first trust measurement information is verified by the first network function entity, receive the authentication response information sent by the first network function entity. The authentication response information carries at least the second trust measurement information and authentication information of the first network function entity.

[0102] In this application, when a first network function entity receives a network access request sent by a terminal, it can verify the first trust measurement information carried in the network access request to determine whether the terminal's environment is secure. When the first trust measurement information sent by the terminal passes the verification of the first network function entity, the first network function entity can send authentication response information to the terminal, wherein the authentication response information carries at least the second trust measurement information and authentication information of the first network function entity.

[0103] In this application, the second trust measurement information may include at least the second static trust measurement information and the second real-time trust measurement information of the first network functional entity. The second static trust measurement information of the first network functional entity may be generated based on relevant documents obtained by the first network functional entity in its initial and / or stable state. These relevant documents include configurations, specifications, processes, parameters, etc., capable of measuring and / or characterizing the security and / or reliability of the system, hardware, software, and operating system. The second static trust measurement information consists of these relevant documents and a digest (hereinafter referred to as Digest 3) generated from them, namely:

[0104] Second static trust measurement information = (configuration, description, process, parameters and other documents under the security state, summary 3).

[0105] The second real-time trust measurement information of the first network functional entity can be generated by the first network functional entity collecting the trust status of its system in real time. The trust status of the system includes system-related configurations, descriptions, processes, parameters, and other documents in real-time.

[0106] The second real-time trust measurement information consists of the relevant configuration, description, process, and parameter files of the first network functional entity in real-time state, as well as the digest generated from these files (hereinafter referred to as digest 4), namely:

[0107] Second Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 4).

[0108] Step 103: Based on the second trust measurement information, determine that the first network function entity is in a trusted environment, and access the target network corresponding to the first network function entity based on the authentication information.

[0109] Here, since the second trusted measurement information carried in the authentication response information is usually encrypted by a public key system, after receiving the authentication response information sent by the first network function entity, the terminal can first verify the second trusted measurement information carried in the authentication response information through the private key system corresponding to the public key system. After the second trusted measurement information is verified, the authentication process for the terminal identity is then performed based on the authentication information.

[0110] Here, since the second trust measurement information includes the second static trust measurement information and the second real-time trust measurement information; wherein the second static trust measurement information is composed of related files and digest 3, and the second real-time trust measurement information is composed of related files and digest 4; therefore, digest 3 can be used as the first static trust measurement value of the first network functional entity, and digest 4 can be used as the first real-time trust measurement value of the first network functional entity.

[0111] Specifically, the terminal can decrypt the second static trust measurement information using the private key system corresponding to the public key system to determine the second static trust measurement value (e.g., digest 3') of the first network function entity; and perform hash calculation on the second real-time trust measurement information to determine the second real-time trust measurement value (e.g., digest 4') of the first network function entity; then, it compares the second static trust measurement value (digest 3') with the first static trust measurement value (digest 3), and compares the second real-time trust measurement value (digest 4') with the first real-time trust measurement value (digest 4); if the comparison results indicate that the second static trust measurement value (digest 3') is the same as the first static trust measurement value (digest 3), and the second real-time trust measurement value (digest 4') is the same as the first real-time trust measurement value (digest 4), it indicates that the environment in which the first network function entity is located is secure and has not been tampered with, thus determining that the first network function entity is in a trusted environment. At this time, the terminal can enter the authentication process for the terminal identity based on the authentication information to access the target network corresponding to the first network function entity.

[0112] If the comparison result indicates that the second static trust metric (Summary 3') is different from the first static trust metric (Summary 3) and / or the second real-time trust metric (Summary 4') is different from the first real-time trust metric (Summary 4), it indicates that the environment in which the first network function entity is located may have been tampered with, and the first network function entity is determined to be in an untrusted environment; at this time, the terminal is prohibited from accessing the target network corresponding to the first network function entity, thereby ending the authentication process.

[0113] In this application, the terminal can also generate audit log information and upload it to a dedicated security management center if the verification of the trusted measurement information of the first network functional entity fails.

[0114] In this application, when the terminal enters the authentication process based on the authentication information to access the target network corresponding to the first network function entity, it can specifically generate authentication parameters for the terminal based on the authentication information; then, it sends the authentication parameters to the first network function entity; if the authentication parameters pass the verification of the first network function entity, it accesses the target network of the first network function entity. If the authentication parameters fail the verification of the first network function entity, the authentication process ends, and it cannot access the target network of the first network function entity.

[0115] The network access method provided in this application verifies the environment of the terminal and the first network functional entity during the authentication process between the terminal and the first network functional entity. Only when both the terminal and the first network functional entity are in a secure environment is the authentication of the legitimacy of the terminal's identity performed. In this way, the data storage and data transmission between the terminal and the first network functional entity can always be in a trusted environment, thereby improving the security of the terminal's network access.

[0116] Figure 2 This is a schematic diagram illustrating the implementation process of the network access method in this application. Figure 2 This method can be applied to a first network function entity, which specifically refers to an Access and Mobility Management Function (AMF) network element, an Authentication Server Function (AUSF) network element, and a Unified Data Management (UDM) network element. For example... Figure 2 As shown, the method includes:

[0117] Step 201: Receive a network access request sent by the terminal, wherein the network access request carries at least the first trust measurement information of the terminal;

[0118] In this application, the first trusted measurement information may include two authentication vectors: a first static trusted measurement information and a first real-time trusted measurement information. The first static trusted measurement information is an original trusted measurement value stored by the terminal in a secure environment. Since this original trusted measurement value is typically stored in the terminal's dedicated trusted hardware and / or dedicated software space, it can only be read and not modified; therefore, this original trusted measurement value is considered immutable static trusted measurement information. The first real-time trusted measurement information is generated by the terminal in real-time collecting the system's trusted state when initiating a network access request to the first network function entity. The system's trusted state includes system-related configurations, descriptions, processes, parameters, and other files in the real-time state.

[0119] In this application, the first trust measurement information may also include only the first real-time trust measurement information vector.

[0120] For example, if a terminal has successfully established a network connection with the first network function entity within a preset time period (e.g., within one week), the first network function entity can temporarily store the terminal identifier of the terminal and the mapping relationship between the terminal and the first network function entity. Based on the mapping relationship, the first network function entity can obtain the first static trust measurement information of the terminal. In this case, the first trust measurement information can only include the first real-time trust measurement information, which can reduce the amount of data transmission and improve the data transmission efficiency.

[0121] Step 202: Based on the first trust measurement information, if it is determined that the terminal is in a trusted environment, obtain authentication information through the second network function entity;

[0122] In this application, since the first static trust measurement information is encrypted by the public key system when the terminal sends the network access request to the first network function entity, the first network function entity can decrypt the first static trust measurement information through the private key system corresponding to the public key system and perform hash calculation on the terminal's first real-time trust measurement information after receiving the network access request, and determine whether the environment in which the terminal is located is secure based on the decryption result and the calculation result.

[0123] Here, the terminal's first static trust measurement information is generated based on relevant files acquired by the terminal in its initial and / or stable state. These relevant files include configurations, specifications, procedures, parameters, etc., that can measure and / or characterize the security and / or reliability of the system, hardware, software, and operating system. This first static trust measurement information consists of these relevant files and a digest (hereinafter referred to as Digest 1) generated from them, namely:

[0124] First static trust measurement information = (configuration, description, process, parameters and other documents under the security state, summary 1).

[0125] The terminal's first real-time trust measurement information is generated by collecting data on the system's trust status in real time when the terminal initiates a network access request to the first network function entity. The system's trust status includes system-related configuration, description, procedures, parameters, and other documents in real-time.

[0126] The first real-time trust measurement information consists of relevant configuration, description, process, parameter and other files of the terminal in real-time state, as well as the digest generated from these files (hereinafter referred to as digest 2), namely:

[0127] First Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 2).

[0128] Here, digest 1 can be used as the third static trust metric of the terminal, and digest 2 can be used as the third real-time trust metric of the terminal.

[0129] After receiving the network access request, the first network function entity can decrypt the first static trust measurement information of the terminal through the corresponding private key system to obtain the fourth static trust measurement value of the terminal (e.g., digest 1'); perform hash calculation on the first real-time trust measurement information of the terminal to obtain the fourth real-time trust measurement value of the terminal (e.g., digest 2'); then compare the fourth real-time trust measurement value (digest 2') with the third real-time trust measurement value (digest 2); compare the fourth static trust measurement value (digest 1') with the third static trust measurement value (digest 1); if the comparison result indicates that the fourth real-time trust measurement value (digest 2') is the same as the third real-time trust measurement value (digest 2), and the fourth static trust measurement value (digest 1') is the same as the third static trust measurement value (digest 1), it is determined that the terminal is in a trusted environment. At this time, the first network function entity can obtain authentication information through the second network function entity. If the comparison result indicates that the fourth static trust metric (digest 1') is different from the third static trust metric (digest 1) and / or the fourth real-time trust metric (digest 2') is different from the third real-time trust metric (digest 2), it is determined that the terminal is in an untrusted environment; at this time, the first network function entity can send an authentication failure notification message to the terminal to end the authentication process and refuse the terminal access to the target network.

[0130] In this application, the first network functional entity can also generate audit log information and upload it to a dedicated security management center if the verification of the terminal's trusted measurement information fails.

[0131] In this application, if the first trusted measurement information carried in the network access request only includes the first real-time trusted measurement information, then the first network function entity only needs to verify the first real-time trusted measurement information when receiving the network access request. This saves the authentication process.

[0132] In this application, when the first network function entity obtains authentication information through the second network function entity, it can specifically send an authentication data query request to the second network function entity. This authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity. If the second trust measurement information is verified by the second network function entity, the first network function entity receives the authentication information sent by the second network function entity based on the terminal identification information. This allows for the verification of the terminal's identity legitimacy through the authentication information.

[0133] Here, the second trust measurement information includes two authentication vectors: the second static trust measurement information and the second real-time trust measurement information of the first network functional entity. The second static trust measurement information of the first network functional entity can be generated based on relevant files obtained by the first network functional entity in its initial and / or stable states. These relevant files include configurations, specifications, processes, parameters, etc., that can measure and / or characterize the security and / or reliability of the system, hardware, software, and operating system. The second static trust measurement information consists of these relevant files and a digest generated from them (hereinafter referred to as Digest 3), namely:

[0134] Second static trust measurement information = (configuration, description, process, parameters and other documents under the security state, summary 3).

[0135] The second real-time trust measurement information of the first network functional entity can be generated by the first network functional entity collecting the trust status of its system in real time. The trust status of the system includes system-related configurations, descriptions, processes, parameters, and other documents in real-time.

[0136] The second real-time trustworthiness measurement information consists of relevant configuration, description, process, parameter, and other files in the real-time state, as well as a digest generated from these files (hereinafter referred to as digest 4), namely:

[0137] Second Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 4).

[0138] Here, the summary 3 can be used as the first static trust metric of the first network functional entity, and the summary 4 can be used as the first real-time trust metric of the first network functional entity.

[0139] When the first network functional entity sends an authentication data query request to the second network functional entity, the second static trust measurement information carried in the authentication data query request is usually encrypted using a public key system. Therefore, when the second network functional entity receives the authentication data query request, it can decrypt the second static trust measurement information of the first network functional entity using the private key system corresponding to the public key system to obtain the fifth static trust measurement value of the first network functional entity (e.g., digest 3"), and perform hash calculation on the second real-time trust measurement information of the first network functional entity to determine the fifth real-time trust measurement value of the first network functional entity (e.g., digest 4"). Then, it will use the fifth static trust measurement information to... The measurement value (Summary 3") is compared with the first static trust measurement value (Summary 3), and the fifth real-time trust measurement value (Summary 4") is compared with the first real-time trust measurement value (Summary 4). If the comparison result indicates that the fifth static trust measurement value (Summary 3) is the same as the first static trust measurement value (Summary 3), and the fifth real-time trust measurement value (Summary 4) is the same as the first real-time trust measurement value (Summary 4), it indicates that the environment in which the first network function entity is located is secure and has not been tampered with, and it is determined that the first network function entity is in a trust environment. At this time, the second network function entity can generate authentication information based on the terminal identification information carried in the authentication data query request, and send the authentication information to the first network function entity.

[0140] Here, the second network functional entity is deployed in an independent trusted computing environment.

[0141] Step 203: Send authentication response information to the terminal. The authentication response information carries at least the second trust measurement information of the first network function entity and the authentication information.

[0142] In this application, after receiving the authentication information sent by the second network functional entity, the first network functional entity can use the authentication information and the second trust measurement information of the first network functional entity as two authentication vectors to send the authentication response information generated by the two authentication vectors to the terminal.

[0143] Step 204: If the second trust measurement information passes the verification of the terminal, determine whether to agree to allow the terminal to access the target network based on the authentication information.

[0144] In this application, the second trusted measurement information carried in the authentication response information is usually encrypted by a public key system. Therefore, after receiving the authentication response information sent by the first network function entity, the terminal can first verify the second trusted measurement information carried in the authentication response information through the private key system corresponding to the public key system. After the second trusted measurement information is verified, the terminal sends the authentication parameters of the terminal to the first network function entity based on the authentication information, so that the first network function entity can verify the identity of the terminal based on the authentication parameters.

[0145] Here, when the terminal determines that the first network function entity is in a trusted environment, the terminal can generate its own authentication parameters based on authentication information and send these parameters to the first network function entity. The first network function entity receives the authentication parameters sent by the terminal and compares them with target authentication parameters. If the comparison result indicates that the authentication parameters are the same as the target authentication parameters, the first network function entity agrees to allow the terminal to access the target network of the first network function entity. If the comparison result indicates that the authentication parameters are different from the target authentication parameters, the first network function entity refuses the terminal's access to the target network of the first network function entity and sends a notification message indicating authentication failure to the terminal.

[0146] The network access method provided in this application merges environmental trust metrics and authentication information into an authentication vector, and uses trusted environment verification as a prerequisite for the authentication process, thereby improving the security of terminal access. This approach ensures that during the interaction process between the terminal and network entities, especially when sensitive and secure data interactions are involved, the network system operates in a trusted state.

[0147] It should be noted that the network access method provided in the above embodiments is different from the one described above. Figure 1 The provided network access method embodiments belong to the same concept and are Figure 1 The execution process of the corresponding first network functional entity can be found in [reference needed]. Figure 1 The method implementation examples are not described in detail here.

[0148] Figure 3 This is a schematic diagram illustrating the implementation process of the network access method in this application. Figure 3 This method can be applied to a second network functional entity, specifically a Unified Data Repository (UDR) network element. For example... Figure 3 As shown, the method includes:

[0149] Step 301: Receive an authentication data query request sent by the first network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity.

[0150] In this application, the second trusted measurement information and the terminal identification information are encrypted using a public key system. The second trusted measurement information includes two authentication vectors: a second static trusted measurement information and a second real-time trusted measurement information for the first network functional entity. Specifically, the second static trusted measurement information may be encrypted using a public key system.

[0151] Here, the second static trust measurement information is generated from relevant files acquired by the first network functional entity in its initial and / or stable state. These relevant files include configurations, specifications, procedures, parameters, etc., capable of measuring and / or characterizing the security and / or reliability of the system, hardware, software, and operating system. The second static trust measurement information consists of these relevant files and a digest generated from them (hereinafter referred to as Digest 3), namely:

[0152] Second static trust measurement information = (configuration, description, process, parameters and other documents under the security state, summary 3).

[0153] The second real-time trust measurement information of the first network functional entity can be generated by the first network functional entity collecting the trust status of its system in real time. The trust status of the system includes system-related configurations, descriptions, processes, parameters, and other documents in real-time.

[0154] The second real-time trustworthiness measurement information consists of relevant configuration, description, process, parameter, and other files in the real-time state, as well as a digest generated from these files (hereinafter referred to as digest 4), namely:

[0155] Second Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 4).

[0156] Here, the summary 3 can be used as the first static trust metric of the first network functional entity, and the summary 4 can be used as the first real-time trust metric of the first network functional entity.

[0157] Step 302: If the first network function entity is in a trusted environment based on the second trusted measurement information, then authentication information is generated based on the terminal identification information. The authentication information is used by the first network function entity to determine whether to agree to the terminal corresponding to the terminal identification information accessing the target network.

[0158] In this application, after receiving the authentication data query request, the second network functional entity can decrypt the second static trust measurement information using the private key system corresponding to the public key system of the first network functional entity's second static trust measurement information to obtain the fifth static trust measurement value (e.g., digest 3") of the first network functional entity; and perform hash calculation on the second real-time trust measurement information of the first network functional entity to obtain the fifth real-time trust measurement value (e.g., digest 4) of the first network functional entity. Then, the fifth static trust measurement value (digest 3) is compared with the first static trust measurement value (digest 3). The fifth real-time trust metric (Summary 4") is compared with the first real-time trust metric (Summary 4). If the comparison result indicates that the fifth static trust metric (Summary 3) is the same as the first static trust metric (Summary 3), and the fifth real-time trust metric (Summary 4) is the same as the first real-time trust metric (Summary 4), it indicates that the environment in which the first network function entity is located is secure and has not been tampered with. It is determined that the first network function entity is in a trusted environment. Therefore, authentication information is generated based on the terminal identification information carried in the authentication data query request, and the authentication information is sent to the first network function entity.

[0159] In this application, if the comparison result indicates that the fifth static trust measure (Summary 3”) is different from the first static trust measure (Summary 3), and / or the fifth real-time trust measure (Summary 4”) is different from the first real-time trust measure (Summary 4), it indicates that the environment in which the first network functional entity is located is insecure and has been tampered with, and it is determined that the first network functional entity is in an untrusted environment, thereby refusing to generate the authentication information.

[0160] Here, the second network functional entity is deployed in an independent trusted computing environment.

[0161] In this application, the second network functional entity can also generate audit log information and upload it to a dedicated security management center if the verification of the first network functional entity's trusted measurement information fails.

[0162] Step 303: Send the authentication information to the first network function entity.

[0163] In this application, the second network function entity sends authentication information to the first network function entity so that the first network function entity can authenticate the legitimacy of the terminal based on the authentication information.

[0164] The network access method provided in this application, by introducing a process to verify the credibility of the terminal and network functional entity's own environment during the authentication process of the terminal and network functional entity, can ensure that the data storage and transmission of the terminal and network functional entity are always in a secure environment, thereby improving the security of the terminal's network access and the security of the network functional entity itself.

[0165] Figure 4 This is a schematic diagram of the structural composition of the terminal in this application, as shown below. Figure 4 As shown, the terminal includes:

[0166] The sending unit 401 is used to send a network access request to the first network function entity, wherein the network access request carries at least the first trust measurement information of the terminal.

[0167] The receiving unit 402 is configured to receive authentication response information sent by the first network function entity if the first trust measurement information passes the verification of the first network function entity, wherein the authentication response information carries at least the second trust measurement information and authentication information of the first network function entity.

[0168] The control unit 403 is used to determine that the first network function entity is in a trusted environment based on the second trust measurement information, and to control the terminal to access the target network corresponding to the first network function entity based on the authentication information.

[0169] The second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity.

[0170] In a preferred embodiment, the terminal further includes: a determining unit 404 and a comparing unit 405;

[0171] The determining unit 404 is used to determine the second static trust measurement value and the second real-time trust measurement value of the first network functional entity based on the second trust measurement information.

[0172] Comparison unit 405 is used to compare the second static trust metric value with the first static trust metric value, and to compare the second real-time trust metric value with the first real-time trust metric value.

[0173] The determining unit 404 is further configured to determine that the first network functional entity is in a trusted environment when the comparison result indicates that the second static trust metric value is the same as the first static trust metric value and the second real-time trust metric value is the same as the first real-time trust metric value.

[0174] In the preferred embodiment, the determining unit 404 is further used to determine that the first network functional entity is in an untrusted environment when the comparison result characterization shows that the second static trust metric value is different from the first static trust metric value and / or the second real-time trust metric value is different from the first real-time trust metric value.

[0175] The control unit 403 is also used to control the terminal to prevent it from accessing the target network corresponding to the first network function entity.

[0176] In a preferred embodiment, the terminal further includes:

[0177] The generation unit 406 is used to generate authentication parameters for the terminal based on the authentication information;

[0178] The sending unit 401 is also configured to send the authentication parameters to the first network function entity;

[0179] The control unit 403 is specifically used to control the terminal to access the target network of the first network function entity when the authentication parameters are verified by the first network function entity.

[0180] It should be noted that the above embodiments of the terminal, when accessing the network, are only illustrated by the division of the above program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the terminal can be divided into different program modules to complete all or part of the processing described above. Furthermore, the terminal provided in the above embodiments is different from the one described above. Figure 1 The provided network access method embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0181] Figure 5 This is a schematic diagram of the structural composition of the network functional entities in this application. Figure 1 Specifically, this network functional entity can refer to AMF network elements, AUSF network elements, and UDM network elements. For example... Figure 5 As shown, the network functional entity includes:

[0182] The receiving unit 501 is used to receive a network access request sent by a terminal, wherein the network access request carries at least the first trust measurement information of the terminal;

[0183] The acquisition unit 502 is used to obtain authentication information through the second network function entity when it is determined that the terminal is in a trusted environment based on the first trust measurement information.

[0184] The sending unit 503 is used to send authentication response information to the terminal, wherein the authentication response information carries at least the second trust measurement information of the first network function entity and the authentication information.

[0185] The determining unit 504 is configured to determine, based on the authentication information, whether to agree to allow the terminal to access the target network if the second trust measurement information passes the verification of the terminal.

[0186] The first trust measurement information includes at least the third real-time trust measurement value of the terminal.

[0187] In a preferred embodiment, the network functional entity further includes: a comparison unit 505;

[0188] Here, the determining unit 504 is also used to determine the fourth real-time trust measurement value of the terminal based on the first environmental trust measurement information;

[0189] Comparison unit 505 is used to compare the fourth real-time trust metric value with the third real-time trust metric value;

[0190] If the comparison result indicates that the fourth real-time trust metric is the same as the third real-time trust metric, the determination unit 504 is triggered to determine that the terminal is in a trusted environment.

[0191] In a preferred embodiment, the first trust measurement information further includes a third static trust measurement value of the terminal;

[0192] The determining unit 504 is further configured to determine a fourth static trust measurement value of the terminal based on the first environmental trust measurement information;

[0193] The comparison unit 505 is also used to compare the fourth static confidence metric value with the third static confidence metric value;

[0194] If the comparison result indicates that the fourth static trust metric value is the same as the third static trust metric value, the determination unit 504 is triggered to determine that the terminal is in a trusted environment.

[0195] In a preferred embodiment, the determining unit 504 is further configured to determine that the terminal is in an untrusted environment if the comparison result indicates that the fourth static trust metric value is different from the third static trust metric value and / or the fourth real-time trust metric value is different from the third real-time trust metric value.

[0196] The sending unit 503 is also configured to send an authentication failure notification message to the terminal to refuse the terminal access to the target network.

[0197] In a preferred embodiment, the receiving unit 501 is further configured to receive authentication parameters sent by the terminal based on the authentication information;

[0198] The comparison unit 505 is also used to compare the authentication parameters with the target authentication parameters;

[0199] The determining unit 504 is further configured to, if the comparison result indicates that the authentication parameter is the same as the target authentication parameter, agree to allow the terminal to access the target network of the first network function entity.

[0200] In a preferred embodiment, the sending unit 503 is further configured to send an authentication data query request to the second network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity.

[0201] The receiving unit 501 is further configured to receive the authentication information sent by the second network function entity based on the terminal identification information if the second trust measurement information is verified by the second network function entity.

[0202] Here, the second network functional entity is deployed in an independent trusted computing environment.

[0203] It should be noted that the network function entity provided in the above embodiments is only illustrated by the division of the above program modules when performing network access. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the network function entity can be divided into different program modules to complete all or part of the processing described above. In addition, the network function entity provided in the above embodiments is different from the above... Figure 2 The provided network access method embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0204] Figure 6 This is a schematic diagram of the structural composition of the network functional entities in this application. Figure 2 The network functional entity can be a UDR network element, such as Figure 6 The network functional entity includes:

[0205] The receiving unit 601 is configured to receive an authentication data query request sent by the first network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity.

[0206] The generation unit 602 is used to generate authentication information based on the terminal identification information when the first network function entity is determined to be in a trusted environment based on the second trust measurement information. The authentication information is used by the first network function entity to determine whether to agree to the terminal corresponding to the terminal identification information accessing the target network.

[0207] The sending unit 603 is used to send the authentication information to the first network function entity.

[0208] The second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity.

[0209] In the preferred embodiment, the network functional entity further includes: a determining unit 604, a comparing unit 605, and a prohibiting unit 606;

[0210] The determining unit 604 is used to determine the fifth static trust value and the fifth real-time trust value of the first network functional entity based on the second trust value information.

[0211] The comparison unit 605 is used to compare the fifth static trust metric value with the first static trust metric value, and to compare the fifth real-time trust metric value with the first real-time trust metric value.

[0212] The determining unit 604 is further configured to determine that the first network functional entity is in a trusted environment if the comparison result indicates that the fifth static trust metric is the same as the first static trust metric and the fifth real-time trust metric is the same as the first real-time trust metric.

[0213] In a preferred embodiment, the determining unit 604 is further configured to determine that the first network functional entity is in an untrusted environment if the comparison result indicates that the fifth static trust metric is different from the first static trust metric and / or the fifth real-time trust metric is different from the first real-time trust metric.

[0214] The prohibition unit 606 is used to prohibit the generation of the authentication information.

[0215] Here, the second network functional entity is deployed in an independent trusted computing environment.

[0216] It should be noted that the network function entity provided in the above embodiments is only illustrated by the division of the above program modules when performing network access. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the network function entity can be divided into different program modules to complete all or part of the processing described above. In addition, the network function entity provided in the above embodiments is different from the above... Figure 3 The provided network access method embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0217] Figure 7 This is a schematic diagram of the structural composition of the network access system in this application, as shown below. Figure 7 The system includes:

[0218] Terminal 71 is configured to send a network access request to network function entity 72, the network access request carrying first trust measurement information of terminal 71; and to verify the second trust measurement information of network function entity 72, and if the second trust measurement information passes the verification, to send terminal authentication parameters to network function entity 72 based on authentication information.

[0219] Network functional entity 72 is used to verify the first trust measurement information, and if the first trust measurement information passes verification, to send authentication response information to the terminal 71. The authentication response information carries the second trust measurement information and authentication information of the network functional entity 72. It is also used to verify the terminal authentication parameters if the second trust measurement information passes verification by the terminal 71, so as to determine whether to allow the terminal 71 to access the target network based on the verification result.

[0220] In a preferred embodiment, the network functional entity 72 includes:

[0221] The first network function entity 721 is used to verify the first trust measurement information. If the first trust measurement information passes the verification, it sends an authentication data query request to the second network function entity 722. The authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity 721.

[0222] The second network function entity 722 is used to verify the second trust measurement information. If the second trust measurement information passes the verification, it generates authentication information based on the terminal identification information and sends the authentication information to the first network function entity 721.

[0223] Here, the terminal 71 can be as described above. Figure 4 The provided terminal, the first network function entity, can be the one described above. Figure 5 The provided network function entity may refer to, for example, an AMF network element, an AUSF network element, or a UDM network element; the second network function entity may be one of the aforementioned. Figure 6 The network function entity provided can be, for example, a UDR network element.

[0224] Figure 8 This is a schematic diagram illustrating the implementation of the method flow of the network access system in this application, as shown below. Figure 8 The method includes:

[0225] Step 801: The terminal sends a network access request to the authentication network function entity;

[0226] Here, the network access request carries the terminal's first trust measurement information and terminal identification information. The first trust measurement information may include first static trust measurement information and first real-time trust measurement information.

[0227] Here, the first static trust measurement information refers to the initial trust measurement value stored in the terminal, and this initial trust measurement value can only be read and cannot be modified. It is stored in the terminal's dedicated trusted hardware and / or software space.

[0228] Here, the first static trust measurement information can serve as an authentication request vector, consisting of configurations, specifications, procedures, parameters, and other documents that can measure and characterize the security and / or reliability of the system, hardware, software, and operating system in the initial and / or stable states, as well as a summary generated from these documents, i.e.:

[0229] First static trust measurement information = (configuration, description, process, parameters, etc. in the secure state, summary 1).

[0230] Before initiating a network access request, the terminal can collect the system's trusted status and generate the first real-time trusted measurement information. It then initiates the network access request using an authentication request vector (user identity identifier*, static measurement value*, real-time trusted measurement value*).

[0231] Here, the first real-time trust measurement information can be the relevant configuration, description, process, parameter, and other files, as well as the generated summary, collected in real time by the terminal when it initiates a network access request.

[0232] First Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 2).

[0233] Here, the user identity identifier and static trust measurement information carried in the network access request are both encrypted and transmitted using a public key system. The user identity identifier* is a parameter obtained by encrypting the user identity identifier using a public key system, and the static measurement value* is a parameter obtained by encrypting the first static trust measurement information using a public key system.

[0234] Step 802: The authentication network function entity verifies the first trusted measurement information carried in the network access request. If the first trusted measurement information passes the verification, it sends an authentication data query request to the contract data storage network function entity.

[0235] Here, the authentication network function entity decrypts the terminal's first static trusted measurement information using the corresponding private key to obtain the static measurement value** of the first static trusted measurement information, and performs a hash calculation on the terminal's first real-time trusted measurement information to obtain the real-time measurement value** of the first real-time trusted measurement information. The authentication network function entity compares the static measurement value** with the static measurement value*, and compares the real-time measurement value** with the real-time measurement value*. If the comparison results show that the static measurement value** and the static measurement value* are the same, and the real-time measurement value** and the real-time measurement value* are the same, then it is determined that the first trusted measurement information has passed verification and has not been illegally tampered with. At this time, the terminal is in a trusted environment. If the comparison results show that the static measurement value** and the static measurement value* are different, and / or the real-time measurement value** and the real-time measurement value* are different, then it is determined that the first trusted measurement information has failed verification and may have been illegally tampered with. At this time, the terminal is in an untrusted environment. If the terminal's first trusted measurement information fails verification, the authentication network function entity can also send an authentication failure notification message to the terminal, at which point the authentication process ends.

[0236] Here, when the first trusted measurement information of the terminal is verified, the authentication network function entity can send an authentication data query request to the contracted data warehouse network function entity with a vector (static measurement value X, real-time measurement value X) as an additional value.

[0237] Here, the authentication data query request carries the second trust measurement information and terminal identification information of the authentication network function entity. The second trust measurement information includes the second static trust measurement information and the second real-time trust measurement information.

[0238] Here, the second static trust measurement information refers to the initial trust measurement value stored in the authentication network functional entity. This initial trust measurement value can only be read and cannot be modified. It is stored in a trusted hardware and / or software space dedicated to the authentication network functional entity.

[0239] Here, the second static trust measurement information can serve as an authentication vector, consisting of configurations, specifications, procedures, parameters, and other documents that can measure and characterize the security and / or reliability of the system, hardware, software, and operating system under initial and / or stable states, as well as summaries generated from these documents, i.e.:

[0240] Second static trust measurement information = (configuration, description, process, parameters and other documents under the security state, summary 3).

[0241] Here, the second real-time trust measurement information is generated by the authentication network functional entity collecting the trust status of its environment. Specifically, the first real-time trust measurement information can be related configuration, description, process, parameter, and other files, as well as the generated summary, collected in real time by the authentication network functional entity.

[0242] Second Real-Time Trust Measurement Information = (Configuration, Description, Process, Parameters, etc. in Real-Time State, Summary 4).

[0243] Here, the static trust measurement information carried in the authentication data query request is transmitted after being encrypted using a public key system. The static measurement value X is a parameter obtained by encrypting the second static trust measurement information using a public key system.

[0244] Step 803: The contracted data warehouse network functional entity verifies the second trust measurement information carried in the authentication data query request. If the second trust measurement information passes the verification, authentication information is generated based on the terminal identification information.

[0245] Here, the contracted data warehouse network functional entity decrypts the second static trusted measurement information of the authentication network functional entity using the corresponding private key to obtain the static measurement value X* of the second static trusted measurement information, and performs a hash calculation on the second real-time trusted measurement information of the authentication network functional entity to obtain the real-time measurement value X* of the second real-time trusted measurement information. The contracted data warehouse network functional entity compares the static measurement value X* with the static measurement value X, and compares the real-time measurement value X* with the real-time measurement value X. If the comparison results show that the static measurement value X* and the static measurement value X are the same, and the real-time measurement value X* and the real-time measurement value X are the same, then it is determined that the second trusted measurement information has passed verification and has not been illegally tampered with. At this time, the authentication network functional entity is in a trusted environment. If the comparison results show that the static measurement value X* and the static measurement value X are different, and / or the real-time measurement value X* and the real-time measurement value X are different, then it is determined that the second trusted measurement information has failed verification and may have been illegally tampered with. At this time, the authentication network functional entity is in an untrusted environment. If the second trusted measurement information of the authentication network entity fails to pass verification, the contracted data warehouse network functional entity will refuse to generate authentication data and send an authentication failure notification message to the authentication network functional entity. At this point, the authentication process ends.

[0246] Here, the contracted data storage network functional entity generates authentication data based on the terminal identification information after the second trusted measurement information of the authentication network functional entity is verified.

[0247] Step 804: The contracted data warehouse network function entity sends authentication data to the authentication network function entity.

[0248] Here, the contracted data warehouse network functional entity is deployed in a separate trusted computing environment.

[0249] Step 805: The authentication network function entity generates an authentication vector based on the authentication data and sends authentication response information to the terminal.

[0250] Here, the authentication response information includes the second trust measurement information and authentication information of the authentication network functional entity.

[0251] Among them, the authentication information is represented by the authentication vector *, and the second trust measurement information includes the second static trust measurement information and the second real-time trust measurement information. The second static trust measurement information is represented by the static measurement value X, and the second real-time trust measurement information is represented by the trust measurement value X.

[0252] Step 806: The terminal verifies the second trust measurement information and the authentication information in the authentication response information. If the second trust measurement information and the authentication information pass the verification, the terminal sends the terminal authentication parameters to the authentication network function entity.

[0253] Here, the terminal first decrypts the static metric value X using the corresponding private key to obtain the static metric value X**, and then decrypts the real-time trusted metric value X to obtain the real-time trusted metric value X**. It then compares the static metric value X** with the static metric value X, and the real-time trusted metric value X** with the real-time trusted metric value X. If the comparison results show that the static metric value X** and the static metric value X are the same, and that the real-time trusted metric value X** and the real-time trusted metric value X are the same, it is determined that the second trusted metric information of the authentication network function entity has passed verification and has not been illegally tampered with, and the authentication network function entity is in a trusted environment. If the comparison results show that the static metric value X** and the static metric value X are different, and / or the real-time trusted metric value X** and the real-time trusted metric value X are different, it is determined that the second trusted metric information of the authentication network function entity has failed verification and has been illegally tampered with, and the authentication network function entity is in an untrusted environment. If the terminal determines that the second trusted metric information of the authentication network function entity has failed verification, it sends an authentication failure notification message to the authentication network function entity, ending the authentication process.

[0254] Here, after ensuring that the service network is in a trusted environment, the terminal calculates the authentication vector* to obtain the terminal authentication parameters, and sends the terminal authentication parameters to the authentication network function entity to initiate the authentication process to verify the legitimacy of the terminal's identity.

[0255] Step 807: The authentication network function entity compares the terminal authentication parameters with the authentication parameters stored in its own memory, and determines whether to allow the terminal to access the target network based on the comparison result.

[0256] Here, the authentication parameters stored by the authentication network function entity itself can be obtained based on the authentication data.

[0257] Here, if the terminal and the authentication network function entity store temporary terminal identification information and mapping relationship, the authentication network function entity can obtain the static measurement value of the terminal based on the mapping relationship, so that the terminal only needs to provide the trusted measurement value on the terminal side when initiating the network access request.

[0258] In this application, if the verification of the trusted measurement information of the terminal or the authentication network function entity fails, audit log information can be generated and uploaded to a dedicated security management center.

[0259] The network access system provided in this application incorporates environmental trust verification of the terminal and network functional entities during the authentication process. Only after the environmental trust verification is successful does the authentication process for the legitimate identity of the terminal proceed. This introduces trusted computing into network functional entities that store or generate sensitive user data, ensuring that they always operate within a trusted environment when generating and transmitting related data. This provides support for the security and reliability of the terminal authentication process.

[0260] In addition, by accessing trusted and network trusted processes, real-time monitoring of the entire network system can be achieved, and audit records can be generated based on trusted verification results and sent to a dedicated security management center, thereby realizing real-time dynamic supervision of the network environment.

[0261] Figure 9 This is a schematic diagram of the structural composition of the electronic device in this application, such as... Figure 9 As shown, electronic device 900 can be a computer device based on Windows, Linux or MacOS operating system, including but not limited to computers, digital broadcasting terminals, information transceivers, medical devices, fitness equipment, personal digital assistants and other terminals or servers. Here, servers include but are not limited to physical servers and cloud servers. Figure 9The illustrated electronic device 900 includes: at least one processor 901, a memory 902, at least one network interface 904, and a user interface 903. The network interface 904 can communicate with an external database for data access and manipulation. This external database may be a database system deployed on a computer outside this device, not a hardware component of this computer device, and provides database services to the outside via a network. The network interface 904 can also communicate with a message queue entity to place messages generated by this hardware entity into the message queue entity or consume messages from the message queue entity. This message queue may be a message queue system deployed on a computer outside this device, not a hardware component of this computer device, and provides message services to the outside via a network. The network interface 904 can also send network packets to the network interface of the system under test and receive response packets. This system under test may be a network application system deployed on a computer outside this device, not a hardware component of this computer device, and provides application services to the outside via a network.

[0262] The various components in electronic device 900 are coupled together via bus system 905. It is understood that bus system 905 is used to implement communication between these components. In addition to a data bus, bus system 905 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 9 The general labeled all buses as Bus System 905.

[0263] The user interface 903 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.

[0264] It is understood that memory 902 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 902 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0265] In this embodiment, the memory 902 is used to store various types of data to support the operation of the electronic device 900. Examples of such data include: any computer program used to operate on the electronic device 900, such as the operating system 9021 and application program 9022; contact data; phonebook data; messages; pictures; audio, etc. The operating system 9021 includes various system programs, such as the framework layer, core library layer, driver layer, etc., used to implement various basic services and handle hardware-based tasks. The application program 9022 may include various applications, such as a media player, browser, etc., used to implement various application services. Programs implementing the methods of this embodiment may be included in the application program 9022.

[0266] The methods disclosed in the embodiments of this application can be applied to or implemented by the processor 901. The processor 901 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 901 or by instructions in the form of software. The processor 901 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 901 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the memory 902. The processor 901 reads the information in the memory 902 and combines its hardware to complete the steps of the aforementioned method.

[0267] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned network access method.

[0268] In an exemplary embodiment, this application also provides a computer-readable storage medium, such as a memory 902 including a computer program, which can be executed by a processor 901 of an electronic device 900 to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM; it may also be various devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0269] A computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, perform any of the method steps of any of the network access methods described above.

[0270] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and 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 coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0271] The units described above as separate components may or may not be physically separate. 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 to achieve the purpose of this embodiment according to actual needs.

[0272] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0273] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0274] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0275] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A network access method, characterized by, The method is applied to a terminal, and the method includes: Send a network access request to the first network function entity, wherein the network access request carries at least the first trust measurement information of the terminal; If the first trust measurement information is verified by the first network function entity, the authentication response information sent by the first network function entity is received, and the authentication response information carries at least the second trust measurement information and authentication information of the first network function entity. Based on the second trust measurement information, it is determined that the first network function entity is in a trusted environment, and based on the authentication information, it accesses the target network corresponding to the first network function entity. The second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity; the second trust measurement information is information composed of a digest, which is encrypted during transmission. The step of determining that the first network functional entity is in a trusted environment based on the second trust measurement information includes: Based on the second trust measurement information, determine the second static trust measurement value and the second real-time trust measurement value of the first network functional entity; The second static trust metric is compared with the first static trust metric, and the second real-time trust metric is compared with the first real-time trust metric. If the comparison result indicates that the second static trust metric value is the same as the first static trust metric value, and the second real-time trust metric value is the same as the first real-time trust metric value, then it is determined that the first network functional entity is in a trustworthy environment. The step of determining the second static trust metric value and the second real-time trust metric value of the first network functional entity based on the second trust metric information includes: Decrypt the second static trust measurement information of the second trust measurement information to determine the second static trust measurement value of the first network functional entity; The second real-time trust measurement information of the second trust measurement information is hashed to determine the second real-time trust measurement value of the first network functional entity.

2. The method of claim 1, wherein, The method further includes: If the comparison result indicates that the second static trust metric value is different from the first static trust metric value and / or the second real-time trust metric value is different from the first real-time trust metric value, it is determined that the first network functional entity is in an untrusted environment. Access to the target network corresponding to the first network function entity is prohibited.

3. The method of claim 1, wherein, The step of accessing the target network corresponding to the first network function entity based on the authentication information includes: The authentication parameters of the terminal are generated based on the authentication information; Send the authentication parameters to the first network function entity; If the authentication parameters pass the verification of the first network function entity, the user is connected to the target network of the first network function entity.

4. A network access method, characterized by, The method is applied to a first network functional entity, and the method includes: The receiving terminal sends a network access request, wherein the network access request carries at least the terminal's first trust measurement information; When the terminal is determined to be in a trusted environment based on the first trust measurement information, authentication information is obtained through the second network function entity. Send authentication response information to the terminal, wherein the authentication response information carries at least the second trust measurement information of the first network function entity and the authentication information; If the second trust measurement information passes the terminal's verification, the system determines whether to allow the terminal to access the target network based on the authentication information. Wherein, the first trust measurement information includes at least a third real-time trust measurement value of the terminal; the first trust measurement information also includes a third static trust measurement value of the terminal; the first trust measurement information is information composed of a digest, which is encrypted during transmission; determining that the terminal is in a trusted environment based on the first trust measurement information includes: The fourth static trust value of the terminal is determined based on the first trust measurement information; Compare the fourth static credibility metric value with the third static credibility metric value; The fourth real-time trust metric value of the terminal is determined based on the first trust metric information; Compare the fourth real-time trust metric with the third real-time trust metric; If the comparison result indicates that the fourth static trust metric is the same as the third static trust metric, and the fourth real-time trust metric is the same as the third real-time trust metric, then the terminal is determined to be in a trusted environment. The step of determining the fourth static trust measurement value of the terminal based on the first trust measurement information includes: decrypting the first static trust measurement information of the first trust measurement information to obtain the fourth static trust measurement value of the terminal. Determining the fourth real-time trust metric value of the terminal based on the first trust metric information includes: performing a hash calculation on the first real-time trust metric information of the first trust metric information to obtain the fourth real-time trust metric value of the terminal.

5. The method of claim 4, wherein, The method further includes: If the comparison result indicates that the fourth static trust metric is different from the third static trust metric and / or the fourth real-time trust metric is different from the third real-time trust metric, it is determined that the terminal is in an untrusted environment; An authentication failure notification message is sent to the terminal to deny the terminal access to the target network.

6. The method of claim 4, wherein, The step of determining whether to grant permission for the terminal to access the target network based on the authentication information includes: Receive authentication parameters sent by the terminal based on the authentication information; Compare the authentication parameters with the target authentication parameters; If the comparison result indicates that the authentication parameters are the same as the target authentication parameters, then the terminal is allowed to access the target network of the first network function entity.

7. The method according to claim 4, characterized in that, The authentication information obtained through the second network functional entity includes: Send an authentication data query request to the second network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity; If the second trust measurement information is verified by the second network function entity, the authentication information sent by the second network function entity based on the terminal identification information is received.

8. The method according to claim 4, characterized in that, The second network functional entity is deployed in an independent trusted computing environment.

9. A network access method, characterized in that, The method is applied to a second network functional entity, and the method includes: Receive an authentication data query request sent by a first network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity; When the first network function entity is determined to be in a trusted environment based on the second trust measurement information, authentication information is generated based on the terminal identification information. The authentication information is used by the first network function entity to determine whether to agree to the terminal corresponding to the terminal identification information accessing the target network. Send the authentication information to the first network function entity; Wherein, the authentication data query request is sent by the first network function entity when it determines that the terminal is in a trusted environment based on the terminal's first trust measurement information; the first trust measurement information includes at least the terminal's third real-time trust measurement value; the first trust measurement information also includes the terminal's third static trust measurement value; the first trust measurement information is information composed of a digest, which is encrypted during transmission; the first network function entity is used for: The fourth static trust value of the terminal is determined based on the first trust measurement information; Compare the fourth static credibility metric value with the third static credibility metric value; The fourth real-time trust metric value of the terminal is determined based on the first trust metric information; Compare the fourth real-time trust metric with the third real-time trust metric; If the comparison result indicates that the fourth static trust metric is the same as the third static trust metric, and the fourth real-time trust metric is the same as the third real-time trust metric, then it is determined that the terminal is in a trusted environment. The step of determining the fourth static trust measurement value of the terminal based on the first trust measurement information includes: decrypting the first static trust measurement information of the first trust measurement information to obtain the fourth static trust measurement value of the terminal. Determining the fourth real-time trust metric value of the terminal based on the first trust metric information includes: performing a hash calculation on the first real-time trust metric information of the first trust metric information to obtain the fourth real-time trust metric value of the terminal.

10. The method according to claim 9, characterized in that, The second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity; The step of determining that the first network functional entity is in a trusted environment based on the second trust measurement information includes: The fifth static trust metric value and the fifth real-time trust metric value of the first network functional entity are determined based on the second trust metric information. The fifth static trust metric is compared with the first static trust metric, and the fifth real-time trust metric is compared with the first real-time trust metric. If the comparison result indicates that the fifth static trust metric is the same as the first static trust metric, and the fifth real-time trust metric is the same as the first real-time trust metric, then the first network functional entity is determined to be in a trustworthy environment.

11. The method according to claim 10, characterized in that, The method further includes: If the comparison result indicates that the fifth static trust metric is different from the first static trust metric and / or the fifth real-time trust metric is different from the first real-time trust metric, it is determined that the first network functional entity is in an untrusted environment. The authentication information was not generated.

12. The method according to claim 9, characterized in that, The second network functional entity is deployed in an independent trusted computing environment.

13. A terminal, characterized in that, The terminal includes: A sending unit is configured to send a network access request to a first network function entity, wherein the network access request carries at least the first trust measurement information of the terminal. The receiving unit is configured to receive authentication response information sent by the first network function entity if the first trust measurement information is verified by the first network function entity, wherein the authentication response information carries at least the second trust measurement information and authentication information of the first network function entity. The control unit is configured to determine that the first network function entity is in a trusted environment based on the second trust measurement information, and to control the terminal to access the target network corresponding to the first network function entity based on the authentication information. The second trust measurement information includes at least the first static trust measurement value and the first real-time trust measurement value of the first network functional entity; the second trust measurement information is information composed of a digest, which is encrypted during transmission; The determining unit is configured to determine, based on the second trust measurement information, the second static trust measurement value and the second real-time trust measurement value of the first network functional entity. The comparison unit is used to compare the second static trust metric value with the first static trust metric value, and to compare the second real-time trust metric value with the first real-time trust metric value. The determining unit is further configured to determine that the first network functional entity is in a trusted environment when the comparison result indicates that the second static trust metric value is the same as the first static trust metric value and the second real-time trust metric value is the same as the first real-time trust metric value. The determining unit is further configured to decrypt the second static trust measurement information of the second trust measurement information to determine the second static trust measurement value of the first network functional entity; and to perform hash calculation on the second real-time trust measurement information of the second trust measurement information to determine the second real-time trust measurement value of the first network functional entity.

14. A network functional entity, characterized in that, The network functional entities include: A receiving unit is configured to receive a network access request sent by a terminal, wherein the network access request carries at least the terminal's first trust measurement information; The acquisition unit is used to obtain authentication information through a second network function entity when it is determined that the terminal is in a trusted environment based on the first trust measurement information. The sending unit is configured to send authentication response information to the terminal, wherein the authentication response information carries at least the second trust measurement information of the first network function entity and the authentication information. The determining unit is configured to determine, based on the authentication information, whether to agree to allow the terminal to access the target network if the second trust measurement information passes the verification of the terminal; The first trust measurement information includes at least a third real-time trust measurement value of the terminal; the first trust measurement information also includes a third static trust measurement value of the terminal; the first trust measurement information is information composed of a digest, which is encrypted during transmission; the determining unit is further configured to determine a fourth static trust measurement value of the terminal based on the first trust measurement information; compare the fourth static trust measurement value with the third static trust measurement value; determine a fourth real-time trust measurement value of the terminal based on the first trust measurement information; compare the fourth real-time trust measurement value with the third real-time trust measurement value; if the comparison result indicates that the fourth static trust measurement value is the same as the third static trust measurement value, and the fourth real-time trust measurement value is the same as the third real-time trust measurement value, then the terminal is determined to be in a trusted environment; The determining unit is further configured to decrypt the first static trust measurement information of the first trust measurement information to obtain the fourth static trust measurement value of the terminal; and to perform hash calculation on the first real-time trust measurement information of the first trust measurement information to obtain the fourth real-time trust measurement value of the terminal.

15. A network functional entity, characterized in that, The network functional entities include: The receiving unit is configured to receive an authentication data query request sent by a first network function entity, wherein the authentication data query request carries the second trust measurement information and terminal identification information of the first network function entity. The generation unit is configured to generate authentication information based on the terminal identification information when the first network function entity is determined to be in a trusted environment based on the second trust measurement information. The authentication information is used by the first network function entity to determine whether to agree to the terminal corresponding to the terminal identification information accessing the target network. The sending unit is used to send the authentication information to the first network function entity; Wherein, the authentication data query request is sent by the first network function entity when it determines that the terminal is in a trusted environment based on the terminal's first trust measurement information; the first trust measurement information includes at least the terminal's third real-time trust measurement value; the first trust measurement information also includes the terminal's third static trust measurement value; the first trust measurement information is information composed of a digest, which is encrypted during transmission; the first network function entity is used for: The fourth static trust value of the terminal is determined based on the first trust measurement information; Compare the fourth static credibility metric value with the third static credibility metric value; The fourth real-time trust metric value of the terminal is determined based on the first trust metric information; Compare the fourth real-time trust metric with the third real-time trust metric; If the comparison result indicates that the fourth static trust metric is the same as the third static trust metric, and the fourth real-time trust metric is the same as the third real-time trust metric, then it is determined that the terminal is in a trusted environment. The step of determining the fourth static trust measurement value of the terminal based on the first trust measurement information includes: decrypting the first static trust measurement information of the first trust measurement information to obtain the fourth static trust measurement value of the terminal; the step of determining the fourth real-time trust measurement value of the terminal based on the first trust measurement information includes: performing a hash calculation on the first real-time trust measurement information of the first trust measurement information to obtain the fourth real-time trust measurement value of the terminal.

16. A network access system, characterized in that, The system includes: A terminal for performing the method steps of any one of claims 1 to 3 above; A first functional entity is used to perform the method steps of any one of claims 4 to 8 above; The second functional entity is used to perform the method steps of any one of claims 9 to 12.

17. An electronic device, characterized in that, The electronic device includes: a processor and a memory for storing computer programs capable of running on the processor. When the processor is used to run the computer program, it performs any one of the method steps of claims 1 to 3, 4 to 8, or 9 to 12.

18. A computer-readable storage medium, characterized in that, Used to store computer instructions, which, when executed by a processor, perform any one of the method steps of claims 1 to 3, 4 to 8, or 9 to 12.

Citation Information

Patent Citations

  • Method and system for proving bidirectional measurement through network access

    CN103780395A

  • Trusted network communication method and device based on safety chip hardware algorithm module

    CN108632243A