Remote attestation method and device and storage medium

By concentrating the remote attestation function on the second network element in MEC, the problem of differences in remote attestation of TEEs from different manufacturers is solved, and interoperability and efficient remote attestation of heterogeneous TEEs are achieved.

CN118540704APending Publication Date: 2024-08-23CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410764560.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In multi-access edge computing (MEC), there are large differences in the TEE remote attestation mechanisms, processes and packaging formats of different manufacturers, resulting in the relying party needing to integrate too many TEE remote attestation report parsing and verification libraries, reducing the TEE remote attestation efficiency, and it is difficult for heterogeneous TEEs to communicate with each other.

Method used

By concentrating the remote attestation function on the second network element in MEC, the relying party does not need to integrate too many TEE remote attestation report parsing and verification libraries, and realizes the interoperability of heterogeneous TEEs, simplifying the remote attestation process and improving efficiency.

Benefits of technology

It reduces the burden on relying parties, enables interoperability of different TEE types, simplifies remote certification methods, and improves the efficiency of TEE remote certification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540704A
    Figure CN118540704A
Patent Text Reader

Abstract

The invention provides a remote attestation method, a remote attestation device and a storage medium, relates to the technical field of communication, and can enable a relying party not to integrate too many TEE remote attestation report analysis and verification libraries when performing remote attestation on a TEE instance in an MEC, and improves the efficiency of TEE remote attestation. The method is applied to an MEC host, the MEC host comprises at least one TEE instance, and the method comprises the following steps: in response to obtaining first request information sent by a first network element, sending second request information to a second network element, the first request information being used for initiating a remote attestation challenge to a target instance in the at least one TEE instance, the second request information is used for requesting the second network element to carry out remote certification on the target instance; receiving second response information sent by the second network element, wherein the second response information comprises a remote attestation result of the target instance; based on the second response information, first response information is sent to the first network element, and the first response information comprises a remote attestation result of the target instance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a remote certification method, device and storage medium. Background Art

[0002] With the development of communication technology, multi-access edge computing (MEC) has been increasingly widely used due to its advantages of proximity to users, low latency, and high bandwidth. However, since MEC is usually deployed at the edge of the network, the environment is complex, and the infrastructure and applications belong to different owners, there are certain risks in the credibility and privacy of its data processing.

[0003] In related technologies, the security of data in MEC can be improved by introducing a trusted execution environment (TEE) and performing remote attestation through TEE.

[0004] However, due to the large differences in TEE remote attestation mechanisms, remote attestation processes, transmission parameters, and encapsulation formats among different manufacturers, when remotely attesting TEE instances in MEC, the relying party needs to integrate too many TEE remote attestation report parsing and verification libraries, which brings many inconveniences to TEE remote attestation. In addition, there are large differences in the remote attestation processes corresponding to different TEE types, which also requires considering multiple independent remote attestation implementation processes, reducing the efficiency of TEE remote attestation. Summary of the invention

[0005] The present disclosure provides a remote attestation method, device and storage medium, which can eliminate the need for a relying party to integrate too many TEE remote attestation report parsing and verification libraries when remotely attesting a TEE instance in an MEC, and improve the efficiency of TEE remote attestation.

[0006] On the one hand, a remote attestation method is provided, which is applied to an MEC host, where the MEC host includes at least one trusted execution environment TEE instance, and the method includes:

[0007] In response to obtaining the first request information sent by the first network element, sending second request information to the second network element, where the first request information is used to initiate a remote attestation challenge to a target instance in at least one TEE instance, and the second request information is used to request the second network element to remotely attest to the target instance;

[0008] receiving a second response message sent by the second network element, where the second response message includes a remote attestation result of the target instance;

[0009] Based on the second response information, a first response information is sent to the first network element, where the first response information includes a remote certification result of the target instance.

[0010] On the other hand, a remote attestation method is provided, which is applied to a second network element, and includes:

[0011] Receive second request information sent by the MEC host, where the second request information is used to request the second network element to remotely attest the trusted execution environment to the target instance, where the target instance is an instance in at least one TEE instance included in the MEC host;

[0012] A second response message is sent to the MEC host, where the second response message includes the remote attestation result of the target instance.

[0013] In another aspect, a remote attestation method is provided, applied to a first network element, comprising:

[0014] Sending first request information to the MEC host. The MEC host includes at least one trusted execution environment TEE instance, and the first request information is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance;

[0015] Receive a first response message sent by the MEC host, where the first response message includes a remote attestation result of the target instance.

[0016] On the other hand, a communication device is provided, comprising: a processor and a memory for storing instructions executable by the processor; the processor is configured to execute the instructions so that the communication device implements any remote attestation method provided by the embodiments of the present disclosure.

[0017] On the other hand, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer implements any remote attestation method provided in the embodiments of the present disclosure.

[0018] On the other hand, a computer program product is provided, which includes computer program instructions. When the computer instructions are executed on a computer, the computer implements any remote attestation method provided by the embodiments of the present disclosure.

[0019] The remote attestation method provided by the embodiment of the present disclosure, on the one hand, concentrates the remote attestation function in the second network element in the MEC, so that the relying party of the remote attestation (such as the first network element) does not have to integrate too many TEE remote attestation report parsing and verification libraries, reducing the burden on the relying party. On the other hand, since the remote attestation function is concentrated in the second network element in the MEC, even if the relying party includes a TEE instance of a different type from the target instance, the intercommunication of heterogeneous TEEs can be achieved through the second network element. On another hand, the process of the remote attestation method is applicable to different TEE types. Compared with the related art that various TEE types correspond to different remote attestation processes, the remote attestation method provided by the embodiment of the present disclosure does not have to consider multiple independent remote attestation implementation processes, which simplifies the remote attestation method and improves the efficiency of remote attestation. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A structural diagram of a MEC system provided in an embodiment of the present disclosure;

[0021] Figure 2 One of the flowcharts of a remote attestation method provided by an embodiment of the present disclosure;

[0022] Figure 3 A structural diagram of another MEC system provided in an embodiment of the present disclosure;

[0023] Figure 4 A structural diagram of a remote certification system provided by an embodiment of the present disclosure;

[0024] Figure 5 A second flowchart of a remote certification method provided by an embodiment of the present disclosure;

[0025] Figure 6 A third flowchart of a remote attestation method provided in an embodiment of the present disclosure;

[0026] Figure 7 A fourth flowchart of a remote attestation method provided in an embodiment of the present disclosure;

[0027] Figure 8 A fifth flowchart of a remote attestation method provided in an embodiment of the present disclosure;

[0028] Fig. 9 Flow chart six of a remote attestation method provided in an embodiment of the present disclosure;

[0029] Fig.10 Flowchart 7 of a remote attestation method provided in an embodiment of the present disclosure;

[0030] Fig.11 A schematic diagram of the structure of a MEC host provided in an embodiment of the present disclosure;

[0031] Fig.12 A schematic diagram of the structure of a second network element provided in an embodiment of the present disclosure;

[0032] Fig.13 A schematic diagram of the structure of a communication device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.

[0034] In the description of the present disclosure, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0035] In addition, "at least one" means one or more, and "plurality" means two or more. In order to facilitate the clear description of the technical solutions of the embodiments of the present disclosure, in the embodiments of the present disclosure, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. It should be understood that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit them to be different.

[0036] In addition, in the present disclosure, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific way.

[0037] With the deployment of 5G, especially the deployment of 5G private networks, the demand for data processing at the network edge is also increasing. For example, there is a low latency requirement in a specific business, requiring the business to provide agile and fast response. For another example, there is a data management policy requirement that requires business data to be processed within the park.

[0038] Since multi-access edge computing (MEC) can provide information technology (IT) services and cloud computing capabilities in data centers close to the edge of the network, MEC is gradually being used by OTT (Over-The-Top) and operators as a necessary infrastructure for building a 5G business ecosystem. Since MEC is close to users and has low latency, it is very attractive for some services that require low latency processing and high privacy protection.

[0039] Figure 1 A structural diagram of a MEC system is shown in FIG. Figure 1 The MEC system includes: an operations support system (OSS) 110, a MEC orchestrator (MEC orchestrator) network element 120, a mobile edge platform management (MEPM) network element 130, a virtualization infrastructure management (VIM) network element 140, and a MEC host 150. In some embodiments, the MEC system further includes a customer facing services (CFS) portal 160, a user terminal application 170, and a user application lifecycle management network element 180.

[0040] The operation support system 110 can receive requests for MEC application instantiation generation and termination from the customer service portal 160 and the user terminal application 170, and decide whether to authorize these requests, and send the authorized requests to the MEC orchestrator network element 120 for further processing. The operation support system 110 can also selectively receive requests from user terminals for the migration of MEC applications between external clouds and MEC systems.

[0041] The MEC orchestrator network element 120 can maintain an overall view of the MEC hosts used, available resources, available MEC services, and topology in the MEC system. The MEC system can receive user requirements through the MEC orchestrator network element 120, uniformly orchestrate MEC Infrastructure as a Service (IaaS) resources, and manage the MEC application lifecycle.

[0042] The MEPM network element 130 may have at least one of the following capabilities: MEC platform operation and maintenance management, MEC application rules and demand management, and MEC application lifecycle management.

[0043] The virtualized infrastructure management network element 140 has at least one of the following functions: allocation, management and release of virtualized resources such as computing, storage and network of the virtualized infrastructure; preparation of virtualized infrastructure for running MEC application image files; collection and reporting of performance and fault information of virtualized infrastructure; selective support for migration of MEC applications between MEC system and external cloud environment. In some embodiments, the VIM network element 140 can manage IaaS resources of the local data center, including resource reporting, resource allocation, virtual machine (VM) / docker container startup / logout, etc.

[0044] The MEC host 150 includes a mobile edge platform (MEP), a virtualization infrastructure (VI), and at least one MEC application (APP). Figure 1 As shown, the MEC system may further include at least one other MEC host. The structure of other MEC hosts may refer to the content corresponding to MEC host 150. For example, other MEC hosts may further include other MEPs, which is not specifically limited in the present disclosure.

[0045] The user application lifecycle management network element 180 supports the MEC application loading, instantiation, and termination requirements proposed by the user terminal application 170, and selectively supports the migration of MEC applications within or outside the MEC system.

[0046] It should be understood that MEC is close to users, for example, it can provide IT services and computing capabilities at the edge of an access network that includes one or more access technologies, and MEC has been increasingly widely used due to its advantages such as proximity to users, low latency, and high bandwidth.

[0047] However, since MEC is usually deployed at the edge of the network, closer to the user side, with a complex management environment, and infrastructure and applications owned by different parties, new requirements are put forward for the credibility and privacy protection of its data processing. For example, when some business data in MEC involves sensitive data, such as face recognition data, location data, production data, etc., there may be a risk of privacy leakage. For another example, for data processed locally in the park, it is necessary to provide two-way protection for local data and third-party algorithms.

[0048] In the related technology, an MEC host that supports a trusted execution environment (TEE) can be introduced in the MEC to protect user data and program code at runtime and improve the security of data in the MEC.

[0049] For example, based on the TEE capability of the central processing unit (CPU) or the TEE capability of the graphics processing unit (GPU) in the MEC host, sensitive data and third-party program code can be input into the TEE in encrypted form to complete the calculation, and the calculation results can be output, thereby protecting the privacy of the data and code and preventing tenants of the MEC underlying infrastructure and shared infrastructure from obtaining the sensitive data and third-party program code.

[0050] For ease of understanding, the following is a brief introduction to the Trusted Execution Environment (TEE).

[0051] A Trusted Execution Environment (TEE) is an execution environment that enforces that only authorized program code can be executed within the TEE, and the data used by the program code cannot be read or tampered with by code outside the TEE. A Trusted Execution Environment (TEE) can be a secure area within the CPU. It runs in an independent environment and in parallel with the operating system. The CPU ensures that the confidentiality and integrity of the code and data in its TEE are protected. Trusted applications running in the TEE have access to the full functionality of the device's main processor and memory, while hardware isolation protects these components from user-installed applications running in the main operating system. Therefore, some data-sensitive application processing can be performed in the TEE, such as key generation and storage, payment account authentication, privacy data processing, etc.

[0052] Among them, TEE types include but are not limited to at least one of the following: Intel SGX, Intel TDX, ARMtrustzone, ARM CCA, AMD SEV-SNP, Haiguang CSV, Zhaoxin ZX-TCT and RISC-Vkeystone.

[0053] Furthermore, when a TEE instance is provided in the MEC host, before interacting with the TEE instance, it is also possible to verify whether the security attributes of the TEE instance environment meet expectations, that is, whether it is trustworthy. Therefore, a remote attestation service function can be introduced in the MEC to verify the credibility of the TEE instance.

[0054] For ease of understanding, the following is a brief introduction to the remote attestation process. Figure 2 As shown, Figure 2 A flow chart of a remote attestation method is shown in FIG.

[0055] Reference Figure 2 , the remote attestation system includes an attestor 210, a relying party 220, and a verifier 230. In some embodiments, the remote attestation system further includes at least one of the following: an endorser, a reference value provider, a verifier owner, and a relying party owner.

[0056] The prover 210 generates credible information about itself, also called evidence, and sends the evidence to the verifier 230 .

[0057] The verifier 230 includes a remote attestation program, which can verify the credible information sent by the prover 210 and obtain attestation results.

[0058] Furthermore, the relying party 220 may decide whether to regard the proving party 210 as a trustworthy peer based on the authentication result of the verifying party 230 .

[0059] The endorser may provide endorsement information to the verifier 220. For example, the endorsement information may be certificate information.

[0060] The reference value provider may provide the verifier 220 with a reference value required for verification.

[0061] The verifier owner may provide the verifier 220 with an appraisal policy for evidence, so that the verifier may verify the credible information sent by the prover 210 based on the appraisal policy for evidence and obtain an authentication result.

[0062] The relying party owner may provide an appraisal policy for attestation results to the relying party 230 , so that the relying party 230 may decide whether to regard the proving party 210 as a trustworthy peer based on the appraisal policy for attestation results and the attestation result of the verifier 230 .

[0063] When TEE remote attestation is provided in MEC, there are large differences in the TEE remote attestation mechanism, remote attestation process, transmission parameters, and packaging format of different manufacturers. Therefore, when remotely attesting TEE instances in MEC, the relying party needs to integrate too many TEE remote attestation report parsing and verification libraries, which brings many inconveniences to TEE remote attestation. In addition, there are great differences in the remote attestation processes corresponding to different TEE types, which also requires considering multiple independent remote attestation implementation processes, reducing the efficiency of TEE remote attestation.

[0064] In addition, when heterogeneous TEEs are used in different MEC hosts in MEC, the remote attestation processes between heterogeneous TEEs are difficult to communicate with each other. Among them, heterogeneous TEEs are TEEs with different remote attestation mechanisms, remote attestation processes, transmission parameters, and encapsulation formats. In a specific example, heterogeneous TEEs refer to TEEs implemented by different mechanisms. In another specific example, when two TEE instances use the same CPU architecture and use different TEE remote attestation mechanisms, they are also heterogeneous TEEs.

[0065] In this regard, an embodiment of the present disclosure provides a remote attestation method, which is applied to an MEC host, wherein the MEC host includes at least one trusted execution environment TEE instance, and the method includes: in response to obtaining a first request message sent by a first network element, sending a second request message to a second network element, wherein the first request message is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance, and the second request message is used to request the second network element to remotely attest the target instance; receiving a second response message sent by the second network element, wherein the second response message includes a remote attestation result of the target instance; and based on the second response message, sending a first response message to the first network element, wherein the first response message includes a remote attestation result of the target instance. In view of this, when remotely attesting the TEE instance in the MEC, the relying party does not need to integrate too many TEE remote attestation report parsing and verification libraries, and the efficiency of TEE remote attestation is improved.

[0066] The remote attestation method provided by the embodiments of the present disclosure can be applied to systems of various communication formats. For example, applicable systems include, but are not limited to, long term evolution (LTE) systems, various versions based on LTE evolution, fifth generation (5G) systems, new radio (NR) systems, fifth generation new radio 5G NR systems, fifth generation new radio-advanced (5G-Advanced) systems, and sixth generation (6G) systems and other next generation communication systems. In addition, the remote attestation method provided by the embodiments of the present disclosure can also be applied to future-oriented communication technologies, etc.

[0067] In order to more clearly illustrate the solution provided by the present disclosure, Figure 3 Another system structure diagram of MEC is shown in FIG.

[0068] Reference Figure 3 The MEC system includes: an operation support system 110, a MEC orchestrator network element 120, a MEPM network element 130, a VIM network element 140, a MEC host 150, and a remote attestation service function network element 190.

[0069] The relevant contents of the operation support system 110, the MEC orchestrator network element 120, the MEPM network element 130, the VIM network element 140, and the MEC host 150 can be referred to in Figure 1 Description in .

[0070] In some embodiments, the MEC host supports TEE capabilities.

[0071] Exemplarily, the MEC host 150 includes a mobile edge platform MEP, a virtualized infrastructure VI, and at least one TEE instance. The TEE instance includes: MEC application and / or MEC data information. In a specific example, there is a target instance in the TEE instance that needs to be remotely certified.

[0072] In some embodiments, the virtualization infrastructure VI in the MEC host 150 supports remote attestation evidence collection functionality.

[0073] For example, Figure 3As shown, there is a remote attestation evidence collection module of the TEE instance in the virtualization infrastructure VI; in other words, the remote attestation evidence collection module included in the TEE instance is located in the virtualization infrastructure VI. Among them, the remote attestation evidence collection module of the TEE instance is used to generate a remote attestation report and / or remote attestation report information of the TEE instance. The remote attestation report information of the TEE instance includes at least one of the following: the TEE type used by the TEE instance, the certificate of the TEE instance, the identifier of the TEE instance, the remote attestation report of the TEE instance, and the Nonce random number.

[0074] In a specific example, when the TEE instance is the target instance, it can be considered that the target instance includes a remote attestation evidence collection module of the target instance, and the remote attestation evidence collection module of the target instance is located in the virtualization infrastructure VI of the MEC host. Among them, the remote attestation evidence collection module of the target instance is used to generate a remote attestation report and / or remote attestation report information of the target instance. The remote attestation report information of the target instance includes at least one of the following: the TEE type used by the target instance, the certificate of the target instance, the identifier of the target instance, the remote attestation report of the target instance, and the Nonce random number. The remote attestation report of the target instance includes at least one remote attestation parameter of the target instance, and at least one remote attestation parameter of the target instance is used to indicate the trusted execution environment hardware and software information used by the target instance in the MEC host. The specific content of the remote attestation parameter can be referred to the description of the method embodiment below, which will not be repeated here.

[0075] In a specific example, the certificate of the target instance includes the public key of the target instance, and the public key of the target instance is used to verify whether the remote attestation report of the target instance is signed by the private key of the target instance. If the remote attestation report of the target instance is signed by the private key of the target instance, it is confirmed that the remote attestation report of the target instance has not been tampered with.

[0076] For example, the remote attestation evidence collection module can obtain at least one remote attestation parameter of the target instance, and use the private key of the target instance to sign based on at least one remote attestation parameter of the target instance to generate a remote attestation report of the target instance. Furthermore, the remote attestation evidence collection module can also generate remote attestation report information of the TEE instance based on the remote attestation report of the TEE instance, the certificate of the TEE instance, and the Nonce random number.

[0077] In a specific example, the remote attestation evidence collection module can generate remote attestation parameters based on the TEE type of the TEE instance; the relevant content of the TEE type can refer to the description above.

[0078] For example, in the case where the TEE type of the TEE instance is Intel SGX, the remote attestation parameters include a digital signature generated by the Intel SGX security area (enclave).

[0079] For another example, when the TEE type of the TEE instance is ARM CCA, the remote attestation parameters include remote attestation parameters generated by ARM CCA. The specific content of the remote attestation parameters can refer to the description in the method embodiment below.

[0080] The remote attestation service function network element 190 is used to remotely attest the TEE instance. It should be noted that the second network element provided in this embodiment can be understood as Figure 3 The remote attestation service function network element 190 is shown.

[0081] In some embodiments, the remote attestation service function network element 190 may receive the remote attestation report information of the TEE instance and determine the remote attestation result of the TEE instance. For example, the remote attestation report in the remote attestation report information may be verified based on the verification strategy to generate a remote attestation result. Furthermore, the remote attestation service function network element 190 may also use a private key to sign the remote attestation report and return the signed remote attestation report and the certificate of the remote attestation service function network element 190.

[0082] In some embodiments, the remote attestation service function network element 190 supports remote attestation engines of different TEE types, and the TEE types can refer to the description above. Further, the remote attestation result is returned.

[0083] In some embodiments, the remote attestation service function network element 190 also integrates remote attestation report parsing and verification libraries of various TEE types to adapt to different TEE peers.

[0084] In some embodiments, the remote attestation service function 190 can also interact with the services provided by the TEE manufacturer to obtain the verification reference values ​​required for remote attestation of the TEE instance during the remote attestation process, such as the TEE instance security software version, certificate chain verification, etc.

[0085] In some embodiments, the remote attestation service functionality 190 can provide configurable verification policies as needed.

[0086] also, Figure 4 A structural diagram of a remote certification system is also shown. Figure 4 The remote attestation system includes: a TEE instance 410 and a remote attestation verification function network element 420. In some embodiments, a MEC management network element 440 and / or a TEE manufacturer 430 are also included.

[0087] The TEE instance 410 is located in the MEC host. In some embodiments, the TEE instance 410 interacts directly with the remote attestation verification function network element 420. In other embodiments, the TEE instance 410 interacts with the remote attestation verification function network element 420 through the MEP and MEPM network elements. In a specific example, the TEE instance also includes a remote attestation evidence collection module for the TEE instance, which is used to generate a remote attestation report for the TEE instance, and / or remote attestation report information for the TEE instance. In some embodiments, when the TEE instance 410 is created, the public key and private key of the TEE instance are generated and maintained. In some embodiments, the TEE instance 410 can also obtain a certificate for the TEE instance from a TEE manufacturer or a local certificate server.

[0088] The remote attestation verification function network element 420, which may also be referred to as the remote attestation service function network element, supports remote attestation of TEE instances. The capabilities of the remote attestation verification function network element 420 may refer to Figure 3 The second network element of the present disclosure may also be understood as the remote attestation verification function network element 420.

[0089] like Figure 4 As shown, the remote attestation verification function network element 420 includes: an interface module 421, a registration management module 422, a remote attestation verification engine 423, a reference value management module 424, and a policy management module 425.

[0090] The interface module 421 is used to interact with the TEE instance 410. In some embodiments, the interface module 421 can provide TEE instance registration interaction and TEE remote attestation information interaction for the TEE instance 410. In some embodiments, the interface module 421 can also verify the integrity of the information.

[0091] The registration management module 422 is used to hierarchically maintain the registration information of the TEE instance, such as the identification of the TEE instance or the certificate of the TEE instance.

[0092] The remote attestation verification engine 423 is in communication connection with the interface module 421. In some embodiments, the remote attestation verification engine 423 can obtain the remote attestation report information of the TEE instance 410 through the interface module 421. In some embodiments, the remote attestation verification engine 423 can remotely attest the TEE instance 410 and obtain the remote attestation result. For example, the remote attestation verification engine 423 can call the preset policy in the policy management module 425 to verify the remote attestation report information of the TEE instance and obtain the remote attestation result. In some embodiments, the remote attestation verification engine 423 can support the verification of remote attestation report information of multiple TEE types, and the TEE type can refer to the description above. In some embodiments, the remote attestation verification engine 423 can compare the reference value in the reference value management module 424 with the security software and hardware measurement value related to the TEE instance 410 to determine the remote attestation result of the TEE instance 410.

[0093] The reference value management module 424 is used to obtain and store the latest reference value of the TEE instance, for example, the latest reference value of the security software and hardware measurement value related to the TEE instance can be obtained or stored. In some embodiments, the reference value management module 424 can also obtain reference values ​​related to the TEE instance from the TEE manufacturer, such as the latest reference value of the security software and hardware measurement value.

[0094] The policy management module 425 is used to obtain remote certification results based on preset policies.

[0095] TEE manufacturer 430 can provide and maintain TEE manufacturer reference values ​​and certificate issuance, for example, it can issue certificates for TEE instances. For another example, it can also synchronously update the reference values ​​required for remote attestation verification of TEE instances based on TEE software and hardware version updates. It should be noted that the capabilities of TEE manufacturers are only used to understand the solution and do not constitute a specific limitation on this solution.

[0096] The MEC management network element 440 may be a MEPM network element. In the case of initiating a remote attestation challenge to the TEE instance 410 in the MEC system, the MEC management network element is required to forward the remote attestation report information to the remote attestation verification network element 420.

[0097] It should be understood that the above system examples are only for more clearly illustrating the technical solutions of the present disclosure and do not constitute a limitation of the present disclosure. A person skilled in the art will know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the present disclosure are also applicable to similar technical problems.

[0098] In order to explain the scheme more clearly, the remote attestation method provided by the present disclosure is introduced below in conjunction with the accompanying drawings. It should be pointed out that the various embodiments of the present disclosure can refer to each other, for example, the same or similar steps, method embodiments and device embodiments can refer to each other, and this is not limited.

[0099] like Figure 5 As shown, the embodiment of the present disclosure provides a remote attestation method, which is applied to a MEC host. The method includes:

[0100] S101. In response to obtaining the first request information sent by the first network element, the MEC host sends a second request information to the second network element; the MEC host includes at least one TEE instance, the first request information is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance, and the second request information is used to request the second network element to remotely attest to the target instance.

[0101] Here, the MEC host includes at least one TEE instance, and each TEE instance includes: MEC application and / or MEC data information. MEC data information can be data information that needs to be secured, such as private keys, face recognition information, etc. The target instance is a TEE instance in at least one TEE instance.

[0102] In some embodiments, each TEE instance has been registered in the second network element. In a specific embodiment, the target instance is a TEE instance registered in the second network element.

[0103] Here, the first network element is a third-party application; or, the MEC host includes a MEP, and the first network element is the MEP.

[0104] In some embodiments, the first network element is a third-party application, and the third-party application is an application deployed in the TEE instance.

[0105] In other embodiments, the first network element is a third-party application, and the third-party application is an application that is not deployed in the TEE instance.

[0106] Here, the first request information is used to initiate a remote attestation challenge to a target instance in at least one TEE instance.

[0107] In some embodiments, the first network element is a third-party application; for example, if the third-party application needs to interact with the target instance or the MEC application deployed in the target instance, it is necessary to initiate a remote attestation challenge to the target instance through the first request information.

[0108] In some other embodiments, the first network element is a MEP; for example, if a MEPM network element passes configuration parameters to a target instance or a MEC application deployed in the target instance through a MEP, the environment of the target instance needs to be remotely attested first in order to determine the environmental security of the target instance; therefore, the MEP needs to send a first request message to the MEC host to initiate a remote attestation challenge to the target instance, and only when the MEP determines that the environment of the target instance is safe can it receive the configuration parameters passed by the MEPM network element.

[0109] Here, the second request information is used to request the second network element to remotely certify the target instance.

[0110] In some embodiments, the second request information includes remote attestation report information of the target instance.

[0111] In some embodiments, the remote attestation report information of the target instance includes at least one of the following: the TEE type used by the target instance, the certificate of the target instance, the identifier of the target instance, the remote attestation report of the target instance, and the Nonce random number; the remote attestation report of the target instance includes at least one remote attestation parameter of the target instance, and the at least one remote attestation parameter of the target instance is used to indicate the trusted execution environment hardware and software information used by the target instance in the MEC host.

[0112] TEE types include but are not limited to at least one of the following: Intel SGX, Intel TDX, ARM trustzone, ARMCCA, AMD SEV-SNP, Haiguang CSV, Zhaoxin ZX-TCT, and RISC-V keystone. It should be noted that the above TEE types are only examples. With the development of technology, there may be other possible TEE types, which are not specifically limited in this disclosure.

[0113] Remote attestation parameters include but are not limited to at least one of the following: TEE security software version, trusted software base measurement value, TEE instance ID, Hash algorithm, measurement value hash, signature certificate, operating system firmware identification, operating system version identification, operating system update time, identification of the CPU used by the TEE instance, etc. It should be noted that the remote attestation parameters of the TEE instance are related to the TEE type of the TEE instance. The above remote attestation parameters are only examples and do not constitute a specific limitation on this solution.

[0114] The Nonce random number is an arbitrary or non-repetitive random value that is used only once, and can prevent replay attacks. In a specific example, the Nonce random number is the Nonce random number in the first request information sent by the first network element.

[0115] As a possible implementation method, the remote attestation report information of the target instance includes at least: the certificate of the target instance, and the remote attestation report of the target instance; wherein, the remote attestation report of the target instance is signed by the private key of the target instance, and the certificate of the target instance includes the public key of the target instance, and the public key of the target instance is used to verify whether the remote attestation report of the target instance is signed by the private key of the target instance. When it is confirmed that the remote attestation report of the target instance is signed by the private key of the target instance, it is confirmed that the remote attestation report of the target instance has not been tampered with. Based on this, the second network element can verify the remote attestation report of the target instance based on the certificate of the target instance to ensure that the received remote attestation report has not been tampered with, thereby improving the reliability of the remote attestation.

[0116] As another possible implementation, the target instance is a TEE instance registered in the second network element, and the certificate of the target instance is stored in the second network element. The remote attestation report information of the target instance includes at least: the remote attestation report of the target instance; wherein the remote attestation report of the target instance is signed by the private key of the target instance. The certificate of the target instance includes the public key of the target instance, and the public key of the target instance is used to verify whether the remote attestation report of the target instance is signed by the private key of the target instance. In the case of confirming that the remote attestation report of the target instance is signed by the private key of the target instance, it is confirmed that the remote attestation report of the target instance has not been tampered with. Based on this, on the one hand, the second network element can verify the remote attestation report of the target instance based on the certificate of the target instance to ensure that the received remote attestation report has not been tampered with, thereby improving the reliability of remote attestation. On the other hand, the attestation report information of the target instance sent by the MEC host can be made to not include the certificate of the target instance, thereby reducing the amount of data transmission, improving the efficiency of data transmission, and thus improving the efficiency of remote attestation.

[0117] In some embodiments, the target instance includes a remote attestation evidence collection module of the target instance, wherein the remote attestation evidence collection module of the target instance is used to generate a remote attestation report of the target instance and / or remote attestation report information.

[0118] In a specific example, the remote proof evidence collection module of the target instance is located in the virtualized infrastructure VI of the MEC host. Figure 3 shown.

[0119] In a specific example, the remote attestation report information of the target instance is generated by the target instance calling the remote attestation evidence collection module.

[0120] In a specific example, the remote attestation report information of the target instance is generated by the remote attestation evidence collection module based on the target instance.

[0121] For example, the remote attestation evidence collection module obtains the remote attestation parameters of the target instance based on the target instance, and generates a remote attestation report of the target instance based on the remote attestation parameters of the target instance; further, the remote attestation evidence collection module can also generate remote attestation report information of the target instance based on the remote attestation report of the target instance, as well as the TEE type used by the target instance, the certificate of the target instance, the identifier of the target instance, and the Nonce random number.

[0122] In a specific example, the remote attestation report information of the target instance is generated by the remote attestation evidence collection module based on the TEE type of the target instance.

[0123] For example, when the TEE type of the target instance is Intel SGX, the remote attestation parameters include a digital signature generated by the Intel SGX enclave.

[0124] For another example, when the TEE type of the target instance is ARM CCA, the remote attestation parameters include remote attestation parameters generated by ARM CCA.

[0125] In a specific example, the remote attestation report of the target instance is signed by the private key of the target instance; the certificate of the target instance includes the public key of the target instance, and the public key of the target instance is used to verify whether the remote attestation report of the target instance is signed based on the private key of the target instance. When it is confirmed that the remote attestation report of the target instance is signed by the private key of the target instance, it is confirmed that the remote attestation report of the target instance has not been tampered with.

[0126] For example, the remote attestation evidence collection module can obtain at least one remote attestation parameter of the target instance, and use the private key of the target instance to sign based on at least one remote attestation parameter of the target instance to generate a remote attestation report of the target instance. Furthermore, the remote attestation evidence collection module can also generate remote attestation report information of the TEE instance based on the remote attestation report of the TEE instance, the certificate of the TEE instance, and the Nonce random number.

[0127] It should be noted that the specific implementation of the above step S101 can be referred to the description below and will not be repeated here.

[0128] S102. The MEC host receives a second response message sent by the second network element, where the second response message includes a remote certification result of the target instance.

[0129] In some embodiments, the remote attestation result includes at least one of the following: a remote verification test result, a TEE type of the target instance, an identifier of the target instance, and a Nonce random number.

[0130] In a specific example, the remote verification test result is used to indicate whether the environment of the target instance is safe or not, for example, it can be true or false, where true means safe and false means unsafe.

[0131] In some embodiments, the second response information is signed by a private key of the second network element.

[0132] As a possible implementation, the second response information also includes: a certificate of the second network element, the certificate of the second network element includes a public key of the second network element, and the public key of the second network element is used to verify whether the second response information is signed by the private key of the second network element. When it is confirmed that the second response information is signed by the private key of the second network element, it is confirmed that the second response information has not been tampered with. Based on this, the MEC host can verify the second response information to ensure that the remote attestation result of the received target instance has not been tampered with, thereby improving the reliability of the remote attestation.

[0133] As another possible implementation, the target instance is a TEE instance registered in the second network element, and the certificate of the second network element is obtained when the target instance is registered with the second network element, or in other words, the certificate of the second network element is stored in the target instance, and the certificate of the second network element includes the public key of the second network element, and the public key of the second network element is used to verify whether the second response information is signed by the private key of the second network element. When it is confirmed that the second response information is signed by the private key of the second network element, it is confirmed that the second response information has not been tampered with. Based on this, on the one hand, the MEC host can verify the second response information to ensure that the remote attestation result of the received target instance has not been tampered with, thereby improving the reliability of remote attestation. On the other hand, the certificate of the second network element may not be included in the second response information, which reduces the amount of data transmission, improves the efficiency of data transmission, and thus improves the efficiency of remote attestation.

[0134] S103. The MEC host sends a first response message to the first network element based on the second response message, where the first response message includes a remote certification result of the target instance.

[0135] Here, the second response information includes the remote attestation result of the target instance.

[0136] In some embodiments, step S103 includes: the MEC host directly sends a first response message to the first network element based on the remote attestation result of the target instance in the second response message.

[0137] In some other embodiments, the second response information is signed by the private key of the second network element; step S103 includes: based on the public key included in the certificate of the second network element, verifying whether the second response information is signed by the private key of the second network element; in response to the second response information being signed by the private key of the second network element, sending the first response information to the first network element. It should be understood that, when it is confirmed that the second response information is signed by the private key of the second network element, it can be confirmed that the second response information has not been tampered with.

[0138] In some embodiments, the target instance is a TEE instance registered in the second network element, and the certificate of the second network element is obtained when the target instance is registered in the second network element.

[0139] The remote attestation method provided by the embodiment of the present disclosure, on the one hand, concentrates the remote attestation function in the second network element in the MEC, so that the relying party of the remote attestation (such as the first network element) does not have to integrate too many TEE remote attestation report parsing and verification libraries, reducing the burden on the relying party. On the other hand, since the remote attestation function is concentrated in the second network element in the MEC, even if the relying party includes a TEE instance of a different type from the target instance, the intercommunication of heterogeneous TEEs can be achieved through the second network element. On another hand, the process of the remote attestation method is applicable to different TEE types. Compared with the related art that various TEE types correspond to different remote attestation processes, the remote attestation method provided by the embodiment of the present disclosure does not have to consider multiple independent remote attestation implementation processes, which simplifies the remote attestation method and improves the efficiency of remote attestation.

[0140] In some embodiments, when the first network element is a third-party application, in response to obtaining first request information sent by the first network element, the first network element directly sends second request information to the second network element.

[0141] Exemplarily, when the first network element is a third-party application, step S101 includes: in response to obtaining first request information sent by the first network element, sending second request information to the second network element based on a uniform resource locator (URL) of the second network element.

[0142] In a specific example, the target instance is a TEE instance registered in the second network element, and the URL of the second network element is obtained when the target instance is registered in the second network element. The method of registering the target instance in the second network element can refer to the description in the following embodiment, which will not be described in detail here.

[0143] The remote attestation method provided in the embodiment of the present disclosure can enable the MEC host to interact with the second network element directly based on the URL of the second network element without having to go through multiple information forwardings when a third-party application initiates TEE remote attestation for a target instance in the MEC host, thereby improving the efficiency of TEE remote attestation.

[0144] In some other embodiments, the MEC host also includes a MEP. When the first network element is the MEP, step S101 includes: in response to obtaining a first request message sent by the first network element, sending a second request message to the mobile edge platform management MEPM network element through the MEP, so that the MEPM network element sends a second request message to the second network element; step S102 includes: receiving a second response message sent by the MEPM network element through the MEP, and the second response message is sent by the second network element to the MEPM network element.

[0145] That is, the MEC host also includes a MEP. When the first network element is a MEP, step S101 includes: in response to obtaining a first request message sent by the first network element, sending a second request message to the second network element through the MEP and the MEPM network element in sequence; step S102 includes: receiving a second response message sent by the second network element through the MEPM network element and the MEP in sequence.

[0146] In a specific example, when the MEPM network element performs lifecycle management on the MEC application deployed in the target instance in the MEC host, it is necessary to pass configuration parameters to the MEC application, such as traffic rule configuration parameters, domain name system (DNS) configuration parameters, service configuration parameters, etc. In response to the MEP receiving the configuration request sent by the MEPM network element, the MEP sends a first request message to the MEC host to verify the environmental security of the target instance.

[0147] The remote attestation method provided in the embodiment of the present disclosure can realize remote attestation of the target instance within the MEC system. In addition, the remote attestation challenge of the target instance to the cross-domain and network isolation of the MEC management network element (such as MEPM) is realized by forwarding information within the MEC system.

[0148] In some embodiments, the target instance is a TEE instance registered in the second network element, and the target instance is registered in the second network element based on the following method:

[0149] Sending a third request message to the second network element through the virtualized infrastructure management VIM network element and the MEC orchestrator network element in sequence, where the third request message is used to request registration of the target instance in the second network element, and the third request message includes: a certificate of the target instance, and / or an identifier of the target instance;

[0150] The third response information sent by the second network element is received in sequence through the MEC orchestrator network element and the VIM network element, where the third response information includes: the URL of the second network element and / or the certificate of the second network element.

[0151] In a specific example, the certificate of the second network element includes a public key of the second network element.

[0152] The remote attestation method provided by the embodiment of the present disclosure can register the target instance in the second network element. On the one hand, it is conducive to maintaining each TEE instance (such as the target instance) in the MEC system on the second network element side; on the other hand, the URL of the second network element and the certificate of the second network element can be obtained in advance. Thus, based on the URL of the second network element, the MEC host can directly access the second network element; based on the certificate of the second network element, the MEC host can be able to verify the information sent by the second network element. For example, based on the public key of the second network element, it can be verified whether the information sent by the second network element is signed by the private key of the second network element. If it is confirmed that it is signed by the private key of the second network element, it can be confirmed that the received information has not been tampered with.

[0153] It can be seen that the above mainly introduces the remote attestation method applied to the MEC host. The present disclosure also provides a remote attestation method applied to the second network element and a remote attestation method applied to the first network element. It should be understood that the relevant content of the remote attestation method applied to the MEC host can be cross-referenced with the following remote attestation method applied to the second network element and the following remote attestation method applied to the first network element.

[0154] like Figure 6 As shown, the embodiment of the present disclosure also provides a remote certification method, which is applied to a second network element; the method includes:

[0155] S201. The second network element receives a second request message sent by the MEC host. The MEC host includes at least one TEE instance. The second request message is used to request the second network element to remotely attest the trusted execution environment of the target instance. The target instance is an instance in the at least one TEE instance included in the MEC host.

[0156] Here, the second network element supports remote attestation of the TEE instance. The capabilities of the second network element can refer to the above Figure 3 The remote certification service function network element 190 shown, Figure 4 The remote attestation verification function network element 420 shown and the description of the second network element in each embodiment provided in the present disclosure are not specifically limited in the present disclosure.

[0157] In some embodiments, the second request information includes remote attestation report information of the target instance.

[0158] In some embodiments, the remote attestation report information of the target instance includes at least one of the following: a TEE type used by the target instance, a certificate of the target instance, an identifier of the target instance, a remote attestation report of the target instance, and a Nonce random number;

[0159] Among them, the remote attestation report of the target instance includes at least one remote attestation parameter of the target instance, and the at least one remote attestation parameter of the target instance is used to indicate the trusted execution environment hardware and software information used by the target instance in the MEC host.

[0160] S202. The second network element sends a second response message to the MEC host, where the second response message includes a remote certification result of the target instance.

[0161] In some embodiments, the second response information is signed by a private key of the second network element.

[0162] In some embodiments, the second response information also includes a certificate of the second network element, the certificate of the second network element includes a public key of the second network element, and the public key of the second network element can be used to verify whether the second response information is signed by the private key of the second network element.

[0163] The remote attestation method provided by the embodiment of the present disclosure can realize remote attestation of TEE instances in the MEC system. On the one hand, the remote attestation function is concentrated in the second network element in the MEC, so that the relying party of the remote attestation does not have to integrate too many TEE remote attestation report parsing and verification libraries, reducing the burden on the relying party. On the other hand, the process of this remote attestation method is applicable to different TEE types. Compared with the related art that various TEE types correspond to different remote attestation processes, the remote attestation method provided by the embodiment of the present disclosure does not have to consider multiple independent remote attestation implementation processes, which simplifies the remote attestation method and improves the efficiency of remote attestation.

[0164] In some embodiments, after step S201, the following steps are also included: the second network element performs remote attestation verification on the target instance based on the second request information to obtain a remote attestation result of the target instance.

[0165] In some embodiments, step S201 includes: based on the uniform resource locator URL of the second network element, receiving a second request information sent by the MEC host.

[0166] Based on this, the MEC host does not need to go through multiple information forwarding to interact with the second network element, but can directly interact with the second network element based on the URL of the second network element, thereby improving the efficiency of TEE remote attestation.

[0167] In some other embodiments, the MEC host also includes a MEP, and step S201 includes: the second network element receives a second request message sent by the MEPM network element, and the second request message is sent by the MEC host to the MEPM network element through the MEP; step S202 includes: sending a second response message to the MEPM network element, so that the MEPM network element sends the second response message to the MEC host through the MEP.

[0168] That is, the MEC host also includes a MEP, and step S201 includes: the second network element receives the second request information sent by the MEC host through the MEP and the MEPM network element in sequence; step S202 includes: sending the second response information to the MEC host through the MEPM network element and the MEP in sequence.

[0169] Based on this, remote attestation of the target instance in the MEC host can be achieved within the MEC system.

[0170] In some embodiments, the target instance is a TEE instance registered in the second network element, and the target instance is registered in the second network element based on the following method:

[0171] The second network element receives the third request information sent by the MEC host through the VIM network element and the MEC orchestrator network element in sequence, where the third request information is used to request to register the target instance in the second network element, and the third request information includes: a certificate of the target instance, and / or an identifier of the target instance;

[0172] Registering the target instance in the second network element based on the third request information;

[0173] The second network element sends a third response message to the MEC host through the MEC orchestrator network element and the VIM network element in sequence. The third response message includes: the URL of the second network element, and / or the certificate of the second network element.

[0174] Based on this, the target instance can be registered in the second network element. On the one hand, it is beneficial to maintain various TEE instances (such as the target instance) in the MEC system on the second network element side; on the other hand, the URL of the second network element and the certificate of the second network element can be informed to the MEC host in advance. Thus, the MEC host can directly access the second network element based on the URL of the second network element; in addition, the MEC host can verify the information sent by the second network element (such as the second response information, etc.) based on the certificate of the second network element to confirm whether the information sent by the second network element has been tampered with.

[0175] like Figure 7 As shown, the embodiment of the present disclosure also provides a remote certification method, which is applied to a first network element, and the method includes:

[0176] S301. A first network element sends a first request message to an MEC host, where the MEC host includes at least one TEE instance. The first request message is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance.

[0177] In some embodiments, the first network element is a third-party application; or, the MEC host includes a MEP, and the first network element is the MEP.

[0178] S302. The first network element receives a first response message sent by the MEC host, where the first response message includes a remote certification result of the target instance.

[0179] In order to more clearly illustrate the remote attestation method provided by the present disclosure, the present disclosure also provides some specific embodiments in the above-mentioned MEC host, the second network element, and the first network element interaction scenario. It should be understood that the following embodiments are only some combinations of the above-mentioned remote attestation methods, not all combinations, and should not constitute a specific limitation of the present disclosure. Other possible combinations are also within the scope of protection of the present disclosure.

[0180] Figure 8 A remote attestation method provided by an embodiment of the present disclosure is shown. Specifically, a specific process of registering a target instance in remote attestation is shown. Figure 8 , the method comprises the following steps:

[0181] Step 1: The MEC host sends a third request message to the second network element through the virtualized infrastructure management VIM network element and the MEC orchestrator network element in turn. Correspondingly, the second network element receives the third request message sent by the MEC host through the VIM network element and the MEC orchestrator network element in turn. The third request message is used to request registration of the target instance in the second network element, and the third request message includes: the certificate of the target instance, and / or, the identifier of the target instance.

[0182] Specifically, Figure 8 As shown, the target instance in the MEC host sends the third request information to the second network element through the virtualization infrastructure management VIM network element and the MEC orchestrator network element in turn; correspondingly, the second network element receives the third request information sent by the target instance in the MEC host through the VIM network element and the MEC orchestrator network element in turn.

[0183] Step 2: The second network element registers the target instance in the second network element based on the third request information; further, the second network element can also maintain the target instance. For example, the second network element can maintain the certificate of the target instance and / or the identifier of the target instance. The relevant functions of the second network element can refer to the above embodiments.

[0184] In a specific example, Figure 8As shown, the target instance is registered and maintained in the second network element.

[0185] Step 3: The second network element sends a third response message to the MEC host through the MEC orchestrator network element and the VIM network element in sequence. Correspondingly, the MEC host receives the third response message sent by the second network element through the MEC orchestrator network element and the VIM network element in sequence. The third response message includes: the URL of the second network element, and / or the certificate of the second network element.

[0186] Specifically, Figure 8 As shown, the second network element sends the third response information to the target instance in the MEC host through the MEC orchestrator network element and the VIM network element in sequence. Correspondingly, the target instance in the MEC host receives the third response information sent by the second network element through the MEC orchestrator network element and the VIM network element in sequence.

[0187] The remote attestation method provided by the embodiment of the present disclosure can register the target instance in the second network element. On the one hand, it is beneficial to maintain each TEE instance (such as the target instance) in the MEC system on the second network element side; on the other hand, the URL of the second network element and the certificate of the second network element can be notified to the MEC host in advance. Thus, the MEC host can directly access the second network element based on the URL of the second network element; in addition, the MEC host can verify the information sent by the second network element based on the certificate of the second network element to confirm whether the information sent by the second network element has been tampered with.

[0188] Fig. 9 A remote attestation method provided by an embodiment of the present disclosure is shown, and MEP is the first network element shown in the embodiment of the present disclosure. It should be understood that when the MEPM network element needs to interact with the MEC application deployed in the target instance in the MEC host, for example, when the MEPM network element performs lifecycle management of the MEC application deployed in the target instance through the MEP, it is necessary to send a configuration request to the MEP in the MEC host. Since the MEC application is deployed in the target instance, the MEP needs to remotely attest to the target instance before passing the configuration parameters. Fig. 9 , the method comprises the following steps:

[0189] Step 1: The MEPM network element initiates a configuration request to the MEP; correspondingly, the MEP receives the configuration request sent by the MEPM network element. The configuration request may carry configuration parameters.

[0190] It should be noted that step 1 can also be replaced by a scenario where other MEPM network elements interact with the target instance through MEP. Fig. 9 Step 1 is not an optional step.

[0191] Step 2: The MEP sends a first request message to the MEC host; the first request message is used to initiate a remote attestation challenge to a target instance in at least one TEE instance; correspondingly, the MEC host receives the first request message.

[0192] Specifically, Fig. 9 As shown, the MEP sends a first request message to the MEC application in the target instance in the MEC host; correspondingly, the MEC application in the target instance in the MEC host receives the first request message.

[0193] Step 3: The target instance in the MEC host calls the remote attestation evidence collection module to obtain the remote attestation report of the target instance generated by the remote attestation evidence collection module; further, remote attestation report information can be generated based on the remote attestation report of the target instance.

[0194] Specifically, the MEC application in the target instance in the MEC host calls the remote attestation evidence collection module to obtain the remote attestation report of the target instance; further, the remote attestation report information can be generated based on the remote attestation report of the target instance.

[0195] Step 4: The MEC host sends a second request message to the second network element through the MEP and MEPM network elements in turn. The second request message is used to request the second network element to remotely authenticate the target instance, and the second request message includes remote authentication report information of the target instance. Correspondingly, the second network element receives the second request message through the MEP and MEPM network elements in turn.

[0196] That is, the MEC host sends a second request message to the mobile edge platform management MEPM network element through the MEP, so that the MEPM network element sends a second request message to the second network element; correspondingly, the second network element receives the second request message sent by the MEPM network element, and the second request message is sent by the MEC host to the MEPM network element through the MEP.

[0197] Specifically, Fig. 9 As shown, the MEC application in the target instance in the MEC host sends the second request information to the second network element through the MEP and MEPM network elements in sequence; correspondingly, the second network element receives the second request information through the MEP and MEPM network elements in sequence.

[0198] Step 5. The second network element performs TEE remote attestation on the target instance based on the remote attestation report information to determine the remote attestation result of the target instance.

[0199] Step six, the second network element sends a second response message to the MEC host through the MEPM network element and the MEP in turn, and the second response message includes the remote certification result of the target instance; correspondingly, the MEC host receives the second response message through the MEPM network element and the MEP in turn.

[0200] That is, the second network element sends the second response information to the MEPM network element, so that the MEPM network element sends the second response information to the MEC host through the MEP; correspondingly, the MEC host receives the second response information sent by the MEPM network element through the MEP, and the second response information is sent by the second network element to the MEPM network element.

[0201] Specifically, the second network element sends the second response information to the MEC application in the target instance in the MEC host through the MEPM network element and the MEP in turn; correspondingly, the MEC application in the target instance in the MEC host receives the second response information through the MEPM network element and the MEP in turn.

[0202] Step 7: The MEC host sends a first response message to the MEP based on the second response message, where the first response message includes the remote attestation result of the target instance; correspondingly, the MEP receives the first response message.

[0203] Specifically, the MEC application in the target instance in the MEC host sends a first response message to the MEP based on the second response message, where the first response message includes the remote certification result of the target instance; correspondingly, the MEP receives the first response message.

[0204] The remote attestation method provided in the embodiments of the present disclosure can implement TEE remote attestation of the target instance in the MEC host within the MEC system.

[0205] Fig.10 As shown, the first network element is a third-party application, and the third-party application can be an application deployed in the TEE instance or an application not deployed in the TEE instance. Fig.10 , the method comprises the following steps:

[0206] Step 1: The third-party application sends a message to the MEC host ( Fig.10 (not shown) sends a first request message, the MEC host includes at least one TEE instance, and the first request message is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance; correspondingly, the MEC host receives the first request message.

[0207] Specifically, Fig.10 As shown, the third-party application sends a first request message to the MEC application in the target instance in the MEC host; correspondingly, the MEC application in the target instance in the MEC host receives the first request message.

[0208] Step 2: The target instance in the MEC host calls the remote attestation evidence collection module to obtain the remote attestation report of the target instance generated by the remote attestation evidence collection module; further, the remote attestation report information of the target instance can be generated based on the remote attestation report of the target instance.

[0209] Specifically, the MEC application in the target instance in the MEC host calls the remote attestation evidence collection module to obtain the remote attestation report of the target instance; further, the remote attestation report information can be generated based on the remote attestation report of the target instance.

[0210] Step 3: MEC host ( Fig.10 (not shown) sends a second request message to the second network element, the second request message is used to request the second network element to remotely certify the target instance, and the second request message includes remote certification report information of the target instance; correspondingly, the second network element receives the second request message.

[0211] Specifically, Fig.10 As shown, the MEC application in the target instance in the MEC host sends a second request message to the second network element; correspondingly, the second network element receives the second request message.

[0212] Step 4: The second network element performs TEE remote attestation on the target instance based on the remote attestation report information to determine the remote attestation result of the target instance.

[0213] Step 5: The second network element sends a second response message to the MEC host, where the second response message includes the remote certification result of the target instance; correspondingly, the MEC host receives the second response message.

[0214] Specifically, Fig.10 As shown, the second network element sends a second response message to the MEC application in the target instance in the MEC host, and the second response message includes the remote certification result of the target instance; correspondingly, the MEC application in the target instance in the MEC host receives the second response message.

[0215] Step 6: The MEC host sends a first response message to the third-party application based on the second response message, where the first response message includes the remote attestation result of the target instance; correspondingly, the third-party application receives the first response message.

[0216] Specifically, Fig.10 As shown, the MEC application in the target instance in the MEC host sends a first response message to the third-party application based on the second response message, and the first response message includes the remote certification result of the target instance; correspondingly, the third-party application receives the first response message.

[0217] The remote attestation method provided in the embodiments of the present disclosure can implement a remote attestation challenge by a third-party application to a target instance in a MEC host.

[0218] It can be seen that the above mainly introduces the solution provided by the embodiment of the present disclosure from the perspective of the method. In order to achieve the above functions, the embodiment of the present disclosure provides a hardware structure and / or software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0219] The following is an introduction to the relevant devices provided by the present disclosure. It should be understood that the MEC host, the first network element, the second network element, and the communication device described below can be referred to in correspondence with the remote attestation method described above.

[0220] like Fig.11 As shown, an embodiment of the present disclosure also provides a structural diagram of a MEC host, including a remote certification module 1110 and a first communication module 1120.

[0221] The remote attestation module 1110 is used to send a second request message to a second network element in response to obtaining a first request message sent by a first network element, wherein the first request message is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance, and the second request message is used to request the second network element to remotely attest to the target instance.

[0222] The remote attestation module 1110 is further configured to receive a second response message sent by the second network element, wherein the second response message includes a remote attestation result of the target instance.

[0223] The first communication module 1120 is used to send first response information to the first network element based on the second response information, where the first response information includes the remote certification result of the target instance.

[0224] like Fig.12 As shown, an embodiment of the present disclosure also provides a structural diagram of a second network element, including a second communication module 1210; in some embodiments, the second network element also includes a proof response module 1220.

[0225] The second communication module 1210 is used to receive a second request message sent by the MEC host, where the second request message is used to request the second network element to remotely attest the trusted execution environment of the target instance, where the target instance is an instance of at least one TEE instance included in the MEC host.

[0226] The second communication module 1210 is further used to send a second response message to the MEC host, where the second response message includes a remote certification result of the target instance.

[0227] The proof response module 1220 is used to, after receiving the second request information sent by the MEC host, the second network element also performs remote proof verification on the target instance based on the second request information to obtain the remote proof result of the target instance.

[0228] In addition, an embodiment of the present disclosure also provides a structure of a first network element, where the first network element includes a third communication module.

[0229] The third communication module is used to send a first request message to the MEC host, where the MEC host includes at least one TEE instance, and the first request message is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance.

[0230] The third communication module is also used to receive a first response message sent by the MEC host, where the first response message includes a remote certification result of the target instance.

[0231] It should be noted that Figure 11 to Figure 12 The division of modules in the figure is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, two or more functions may be integrated into one processing module. The above integrated modules may be implemented in the form of hardware or software function modules.

[0232] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present disclosure also provides a possible structure of a communication device, which is used to execute the remote attestation method provided by the embodiment of the present disclosure. Similarly, the communication device and the remote attestation method described above can be referenced to each other.

[0233] like Fig.13 As shown, the communication device includes a processor 1302 and a communication interface 1303. In some examples, the communication device may also include at least one of a bus 1304 and a memory 1301.

[0234] The processor 1302 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The processor 1302 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The processor 1302 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0235] The communication interface 1303 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0236] The memory 1301 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0237] As a possible implementation, the memory 1301 may exist independently of the processor 1302, and the memory 1301 may be connected to the processor 1302 via a bus 1304, and is used to store instructions or program codes executable by the processor 1302, such as computer program instructions, etc. When the processor 1302 calls and executes the instructions or program codes stored in the memory 1301, the remote attestation method provided in the embodiment of the present disclosure can be implemented.

[0238] In another possible implementation, the memory 1301 may also be integrated with the processor 1302 .

[0239] The bus 1304 may be an extended industry standard architecture (EISA) bus, etc. The bus 1304 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0240] Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), in which computer program instructions are stored. When the computer program instructions are executed on a computer (e.g., the above-mentioned communication device, communication device, base station, first terminal, second terminal and its processor, etc.), the computer executes the remote attestation method described in any of the above-mentioned embodiments. It should be understood that the present disclosure does not limit the specific form of the computer.

[0241] In some examples, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks, or key drives, etc.). The various computer-readable storage media described in the present disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0242] The embodiments of the present disclosure provide a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the remote certification method described in any one of the above embodiments.

[0243] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A remote attestation method, characterized in that: Applied to an MEC host, the MEC host includes at least one trusted execution environment TEE instance, the method includes: In response to obtaining the first request information sent by the first network element, sending second request information to the second network element, wherein the first request information is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance, and the second request information is used to request the second network element to remotely attest to the target instance; receiving a second response message sent by the second network element, where the second response message includes a remote attestation result of the target instance; Based on the second response information, a first response information is sent to the first network element, where the first response information includes a remote certification result of the target instance.

2. The method according to claim 1, characterized in that The second request information includes remote attestation report information of the target instance, and the remote attestation report information of the target instance includes at least one of the following: The TEE type used by the target instance, the certificate of the target instance, the identity of the target instance, the remote attestation report of the target instance, and the Nonce random number; Among them, the remote attestation report of the target instance includes at least one remote attestation parameter of the target instance, and the at least one remote attestation parameter of the target instance is used to indicate the trusted execution environment hardware and software information used by the target instance in the MEC host.

3. The method according to claim 2, characterized in that The target instance includes a remote attestation evidence collection module of the target instance, and the remote attestation evidence collection module is used to generate a remote attestation report of the target instance and / or remote attestation report information of the target instance.

4. The method according to claim 1, characterized in that In a case where the first network element is a third-party application, in response to acquiring the first request information sent by the first network element, sending the second request information to the second network element includes: In response to acquiring the first request information sent by the first network element, second request information is sent to the second network element based on the uniform resource locator URL of the second network element.

5. The method according to claim 4, characterized in that The target instance is a TEE instance registered in the second network element, and the URL of the second network element is obtained when the target instance is registered in the second network element.

6. The method according to claim 1, characterized in that The MEC host further includes a mobile edge platform MEP. When the first network element is the MEP, in response to acquiring the first request information sent by the first network element, sending the second request information to the second network element includes: In response to obtaining the first request information sent by the first network element, sending a second request message to the mobile edge platform management MEPM network element through the MEP, so that the MEPM network element sends the second request information to the second network element; The receiving second response information sent by the second network element includes: The second response information sent by the MEPM network element is received through the MEP, where the second response information is sent by the second network element to the MEPM network element.

7. The method according to claim 1, characterized in that The second response information is signed by a private key of the second network element; and sending the first response information to the first network element based on the second response information includes: Verifying, based on a public key included in the certificate of the second network element, whether the second response information is signed based on a private key of the second network element; In response to the second response information being signed based on the private key of the second network element, first response information is sent to the first network element.

8. The method according to claim 1, characterized in that The target instance is a TEE instance registered in the second network element, and the certificate of the second network element is obtained when the target instance is registered in the second network element.

9. The method according to claim 1, characterized in that: The target instance is a TEE instance registered in the second network element, and the target instance is registered in the second network element based on the following method: Sending a third request message to the second network element in sequence through the virtualized infrastructure management VIM network element and the MEC orchestrator network element, wherein the third request message is used to request registration of the target instance in the second network element, and the third request message includes: a certificate of the target instance and / or an identifier of the target instance; The third response information sent by the second network element is received in sequence through the MEC orchestrator network element and the VIM network element, and the third response information includes: the URL of the second network element, and / or the certificate of the second network element.

10. A remote attestation method, characterized in that: Applied to a second network element, the method comprises: receiving second request information sent by the MEC host, where the second request information is used to request the second network element to remotely attest a target instance using a trusted execution environment, where the target instance is an instance in at least one TEE instance included in the MEC host; Send a second response message to the MEC host, where the second response message includes a remote attestation result of the target instance.

11. The method according to claim 10, characterized in that The second request information includes remote attestation report information of the target instance, and the remote attestation report information of the target instance includes at least one of the following: The TEE type used by the target instance, the certificate of the target instance, the identity of the target instance, the remote attestation report of the target instance, and the Nonce random number; Among them, the remote attestation report of the target instance includes at least one remote attestation parameter of the target instance, and the at least one remote attestation parameter of the target instance is used to indicate the trusted execution environment hardware and software information used by the target instance in the MEC host.

12. The method according to claim 10, characterized in that The receiving the second request information sent by the MEC host includes: Based on the uniform resource locator URL of the second network element, receive the second request information sent by the MEC host.

13. The method according to claim 10, characterized in that The MEC host also includes a mobile edge platform MEP, and the receiving the second request information sent by the MEC host includes: receiving a second request message sent by the MEPM network element, where the second request message is sent by the MEC host to the MEPM network element through the MEP; The sending the second response information to the MEC host includes: Send a second response message to the MEPM network element, so that the MEPM network element sends the second response message to the MEC host through the MEP.

14. The method according to claim 10, characterized in that The second response information is signed by the private key of the second network element.

15. The method according to claim 10, characterized in that The target instance is a TEE instance registered in the second network element, and the target instance is registered in the second network element based on the following method: receiving, through the VIM network element and the MEC orchestrator network element in sequence, the third request information sent by the MEC host, wherein the third request information is used to request registration of the target instance in the second network element, and the third request information includes: a certificate of the target instance, and / or an identifier of the target instance; Registering the target instance in the second network element based on the third request information; The third response information is sent to the MEC host through the MEC orchestrator network element and the VIM network element in sequence, and the third response information includes: the URL of the second network element, and / or the certificate of the second network element.

16. A remote attestation method, characterized in that: Applied to a first network element, the method includes: Sending a first request message to an MEC host, where the MEC host includes at least one trusted execution environment TEE instance, and the first request message is used to initiate a remote attestation challenge to a target instance in the at least one TEE instance; Receive a first response message sent by the MEC host, where the first response message includes a remote attestation result of the target instance.

17. The method according to claim 16, characterized in that The first network element is a third-party application; or, the first network element is a MEP in the MEC host.

18. A communication device, characterized in that: include: a processor and a memory for storing instructions executable by the processor; The processor is configured to execute the instructions so that the communication device performs the remote attestation method as described in any one of claims 1-17.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the remote attestation method according to any one of claims 1 to 17.

20. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the remote attestation method according to any one of claims 1 to 17.

Citation Information

Cited By

  • Edge processing method and device, equipment and storage medium

    CN119520316A

  • Edge processing methods, apparatus, devices and storage media

    CN119520316B

  • Remote attestation method and device for multiple services, medium and product

    CN121585458A