TEE resource orchestration method, system, device and storage medium in NFV

Through the TEE resource orchestration method in NFV, the problem that servers in NFV do not support TEE capability reporting and resource orchestration is solved, privacy protection of data and code is achieved, and business security is enhanced.

CN116208501BActive Publication Date: 2024-10-22CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211693686.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2024-10-22
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

In NFV, there are servers that do not support TEE capability reporting, NFVO does not describe TEE requirements during resource orchestration and does not perform affinity processing for TEE resource orchestration. There is a lack of authentication method selection, resulting in data privacy leaks and insufficient security.

Method used

Provides a TEE resource orchestration method in NFV. It receives the TEE capability information of the host through NFVO, selects the host with TEE capability for resource orchestration, and performs remote verification of TEE instances to ensure the privacy protection of data and code. This method includes the host reporting TEE capability information, NFVO selecting the appropriate host according to user needs, and performing remote authentication and verification after the TEE function is turned on.

Benefits of technology

It achieves advanced privacy protection of data and code in the NFV environment, ensures business security, and enhances data privacy and security in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208501B_ABST
    Figure CN116208501B_ABST
Patent Text Reader

Abstract

The present invention provides a TEE resource orchestration method, system, device and storage medium in NFV, which relates to the field of cloud computing technology. The method includes: NFVO receives TEE capability information of a host notified by the host through its VIM; NFVO selects the VIM and associated VNFM managed by the host with TEE capability according to the received TEE capability information and based on the TEE capability requirements of the user side, and initiates a VNF instantiation request to the VNFM, allocates resources in the host with TEE capability, so as to realize TEE resource orchestration of NFVO; the host performs remote verification of the TEE instance after the TEE capability is enabled; and a third-party application verifies the TEE application instance. The technical solution provided by the present invention enables NFVO to deploy processing functions or modules with high requirements for data and code privacy protection in infrastructure resources supporting TEE when deploying VNF.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and in particular to a TEE resource orchestration method in NFV, a TEE resource orchestration system in NFV, a TEE resource orchestration device and a computer-readable storage medium. Background Art

[0002] As NFV (Network Function Virtualisation) becomes an important enabling technology for 5G networks, 5G core networks, IMS, and service network elements in the network have widely adopted NFV technology and have been deployed. The common NFVI (Network Function Virtualisation Infrastructure) is used to carry VNFs (Virtual Network Functions) from multiple manufacturers, or VNFCs (Virtualised Network Function Components) from multiple manufacturers exist in the same x86 host. Some VNF network elements store business-sensitive data (such as user contract data, user identity data, user location data, etc.) and secret key data (such as TLS private key data, etc.). There is a certain risk of privacy leakage when different manufacturers share infrastructure. In addition, NFV is also used as an enabling technology by MEC (Multi-access Edge Computing), and MANO (Management and Orchestration) can manage the deployment of VNFs (MEC APPs) in edge computing infrastructure. However, MEC is deployed at the edge of the network, the environment is complex, and the infrastructure and applications belong to different owners, which puts forward new requirements for the trustworthiness and privacy protection of data processing. On the one hand, some business processing involves sensitive data, such as face recognition, location data, production data, etc., and there is a risk of privacy leakage in the shared virtual environment built on general x86; on the other hand, for data processed locally in the park, it is necessary to provide two-way protection for local data and third-party algorithms. Confidential computing based on TEE (Trusted Execution Environment) is considered to be a scalable solution that can be used to achieve "data is available but not accessible". Sensitive data and program code are input into the TEE instance in ciphertext form to complete the calculation, and the calculation results are output, thereby protecting the privacy of data and code.

[0003] However, when NFV is orchestrating NFVI (including VM or Docker's computing, storage, and network) resources, the following problems exist: the host cannot inform VIM (NFVI Management Module, Virtualized Infrastructure Managers) and the upper-layer NFVO (Network Function Virtualization Orchestrator, NFV Orchestrator) of whether it supports TEE, whether the TEE function is enabled, and what type of TEE it supports. When NFVO is orchestrating resources, on the one hand, there is no description of TEE requirements in VNFD (VNFDescriptor, i.e., virtualized network function module descriptor) or NSD (NS Descriptor), and on the other hand, NFVO does not handle the affinity of TEE resource orchestration. When it comes to remote authentication using TEE instances, NFV does not provide authentication method selection. Summary of the invention

[0004] The present invention is completed in order to at least partially solve the technical problems existing in the prior art, such as NFVI server does not support TEE capability reporting, NFVO does not describe TEE requirements and handle affinity of TEE resource orchestration when performing resource orchestration, and NFV does not provide authentication method selection.

[0005] According to one aspect of the present invention, a method for orchestrating TEE resources in a trusted execution environment (TEE) in a network function virtualization (NFV) is provided, the method comprising the following steps: S1, a network function virtualization orchestrator NFVO receives TEE capability information of a host used as a network function virtualization infrastructure NFVI notified by a network function virtualization infrastructure management module VIM managed by the host; S2, the NFVO selects a VIM managed by a host with TEE capability and an associated virtualized network function module management module VNFM based on the received TEE capability information and based on the TEE capability requirements of the user side, and initiates a virtualized network function module VNF instantiation request to the VNFM, allocates resources in the host with TEE capability, so as to implement TEE resource orchestration of the NFVO; S3, the host with TEE capability performs remote verification of the TEE instance after the TEE capability is enabled; S4, a third-party application verifies the TEE application instance environment.

[0006] Optionally, the TEE capability information includes TEE support status, TEE support type, TEE activation status and TEE (necessary) configuration information, and step S1 includes: S11, the host notifies the VIM of the TEE capability information; S12, the VIM records the TEE capability information, and notifies the NFVO of the TEE capability information; S13, the NFVO receives the TEE capability information, and records the TEE support status of the host and information about the VIM.

[0007] Optionally, the TEE capability requirement on the user side is provided by adding TEE related description requirements in the description file of the virtualized network function module descriptor VNFD.

[0008] Optionally, step S2 includes: S201, the NFVO receives a VNF instantiation request sent by an operation support system OSS; S202, the NFVO checks the VNF package configuration including the description file sent by the OSS, parses the resource requirements and the TEE capability requirements in the description file, and selects the VIM and the associated VNFM managed by the host with TEE capability; S203, the NFVO initiates a VNF instantiation request to the VNFM; S204, the VNFM sends a resource allocation request to the VIM, and carries VNF software image information in the request message; S205, the VIM allocates corresponding resources on the host with TEE capability based on the request of the VNFM, downloads the VNF software image, and instantiates the image on the host with TEE capability; S20 6. The VIM sends a resource allocation request response to the VNFM; S207. The VNFM sends a service configuration request to the VNF / virtualized network function module component VNFC, wherein the service configuration request includes a TEE specific support library file and a TEE remote verification configuration; S208. The VNF / VNFC sends a service configuration request response to the VNFM; S209. The VNFM sends a VNF instantiation result response to the NFVO, and reports the resource allocation status to the NFVO; S210. The NFVO returns the VNF instantiation result response to the OSS.

[0009] Optionally, step S3 includes: S301, after the TEE capability is enabled, the host with TEE capability sends authentication information and CA certificate application information to the VIM, and the authentication information includes at least CPU ID, TEE instance ID and TEE instance public key; S302, the VIM forwards the authentication information and the CA certificate application information to the NFVO managed by the VIM; S303, the NFVO forwards the authentication information and the CA certificate application information to the TEE manufacturer server; S304, the TEE manufacturer server verifies whether the TEE instance represented by the authentication information is a real TEE environment based on the factory information of the TEE, and obtains the remote authentication result; if the remote authentication result is passed, the host with TEE capability is provided with The TEE public key issues a CA certificate; S305, the TEE manufacturer server returns the remote authentication result and the CA certificate to the NFVO; S306, the NFVO checks the remote authentication result and saves the CA certificate locally; S307, the NFVO returns the remote authentication result and the CA certificate to the VIM; S308, the VIM returns the remote authentication result and the CA certificate to the host with TEE capability; S309, the host with TEE capability saves the CA certificate locally.

[0010] Optionally, when the third-party application and the TEE application instance are in the same NFV environment, step S4 includes: S411, the TEE application instance generates an authentication report locally, and sends the authentication report to the third-party application; S412, the third-party application sends the authentication report to the VNFM under its management to request authentication; S413, the VNFM sends the authentication report to the NFVO under its management to request authentication; the NFVO verifies the signature information in the authentication report based on the locally stored CA certificate, completes the remote authentication, and returns the remote authentication result to the VNFM; S414, the VNFM returns the remote authentication result to the third-party application; S415, the third-party application determines whether to continue to interact with the TEE application instance based on the remote authentication result; if the remote authentication result is passed, the third-party application establishes trusted communication with the TEE application instance to continue interacting.

[0011] Optionally, when the third-party application and the TEE application instance are not in the same NFV environment, step S4 includes: S421, the TEE application instance generates an authentication report locally, and sends the authentication report to the third-party application; S422, the third-party application sends the authentication report to the VNFM under its management to request authentication; S423, the VNFM sends the authentication report to the first NFVO under its management to request authentication; the first NFVO sends an authentication request to the second NFVO under the management of the TEE application instance based on the address in the authentication report; the second NFVO verifies the signature information in the authentication report, completes the remote authentication, and returns the remote authentication result to the first NFVO; S424, the first NFVO returns the remote authentication result to the VNFM; S425, the VNFM returns the remote authentication result to the third-party application; S426, the third-party application determines whether to continue to interact with the TEE application instance based on the remote authentication result; if the remote authentication result is passed, the third-party application establishes trusted communication with the TEE application instance to continue interacting.

[0012] Optionally, when the third-party application is not in the NFV environment, step S4 includes: S431, the TEE application instance generates an authentication report locally, and sends the authentication report to the third-party application; S432, the third-party application sends the authentication report to the NFVO to request authentication; the NFVO verifies the signature information in the authentication report and completes the remote authentication; S433, the NFVO returns the authentication result to the third-party application.

[0013] According to another aspect of the present invention, a trusted execution environment TEE resource orchestration system in network function virtualization NFV is provided, the system comprising: a virtualized network function module VNF, a virtualized network function module management module VNFM for managing the VNF, a host of a network function virtualization infrastructure NFVI for providing a running environment for the VNF, a network function virtualization infrastructure management module VIM for managing the NFVI, and a network function virtualization orchestrator NFVO for managing the entire NFV, the NFVO being used to receive TEE capability information of the host notified by the host through the VIM managed by the host; the NFVO selecting the VIM managed by the host with TEE capability and the associated VNFM according to the received TEE capability information and based on the TEE capability requirements of the user side, and initiating a VNF instantiation request to the VNFM, allocating resources in the host with TEE capability, so as to realize the TEE resource orchestration of the NFVO; and the host with TEE capability is used to perform remote verification of the TEE instance after the TEE capability is enabled, and a third-party application can remotely authenticate the TEE application instance environment.

[0014] According to another aspect of the present invention, a TEE resource orchestration device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the aforementioned TEE resource orchestration method in NFV.

[0015] According to yet another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the aforementioned TEE resource orchestration method in NFV.

[0016] The technical solution provided by the present invention may include the following beneficial effects:

[0017] The TEE resource orchestration method in NFV provided by the present invention increases the computing resource orchestration capability supporting TEE in NFV, so that when NFVO deploys VNF, it can deploy processing functions or modules with high requirements for data and code privacy protection in infrastructure resources supporting TEE, thereby protecting business security and data privacy in NFV deployed in complex environments.

[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0020] Figure 1 A schematic diagram of a process for TEE resource orchestration in NFV provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of the structure of a TEE resource orchestration system in NFV provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of the process of reporting TEE capabilities of an NFVI server in the TEE resource orchestration method in NFV provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of the process of identifying and arranging TEE resource requirements by NFVO in the TEE resource orchestration method in NFV provided in an embodiment of the present invention;

[0024] Figure 5 A schematic diagram of the process of TEE identity authentication and CA certificate acquisition in the TEE resource orchestration method in NFV provided by an embodiment of the present invention;

[0025] Figure 6 A flowchart of a first embodiment of the authentication of a TEE instance environment by a third-party application in a TEE resource orchestration method in NFV provided by an embodiment of the present invention;

[0026] Figure 7 A flow chart of a second embodiment of the authentication of a TEE instance environment by a third-party application in the TEE resource orchestration method in NFV provided by an embodiment of the present invention;

[0027] Figure 8 A flowchart of a third embodiment of the authentication of a TEE instance environment by a third-party application in the TEE resource orchestration method in NFV provided by an embodiment of the present invention;

[0028] Fig. 9 A schematic diagram of the structure of a TEE resource orchestration device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0030] 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. TEE is a secure area within the CPU. The TEE runs in an independent environment and runs in parallel with the operating system. The CPU ensures that the confidentiality and integrity of the code and data in the TEE are protected. Trusted applications running in the TEE can access 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. Usually hardware TEEs include Intel SGX, ARM TrustZone, AMD SEV, etc., which can be deployed in general-purpose X86 servers.

[0031] Network Function Virtualization (NFV) refers to running traditional network devices based on dedicated hardware in a virtualized environment based on X86 general-purpose servers, and enabling automated management and unified resource orchestration. By deploying virtualized network function modules (VNFs), network function virtualization can get rid of the manufacturer lock-in of dedicated hardware on the one hand, and on the other hand, it can take advantage of the advantages of cloud computing technology and flexibly perform network element expansion and contraction, network service (NS network services) orchestration, etc. As a 5G enabling technology, NFV has been widely used in 5G core networks and 5G MEC.

[0032] Although the ETSI (European Telecommunications Standards Institute) NFV function has been in the process of evolution, its basic architecture remains stable. NFV mainly includes the following network elements (refer to Figure 2 ):

[0033] VNF (Virtual Network Functions) refers to virtual machines and the service network elements and network function software deployed on them.

[0034] NFVI (Network Function Virtualization Infrastructure, NFV Infrastructure), NFV infrastructure, including the required hardware and software, provides an operating environment for VNF. NFVI includes: Hardware layer (Hardware), which includes hardware devices that provide computing, network, and storage resource capabilities; Virtualization Layer (Virtualization Layer), which mainly abstracts hardware resources to form virtual resources, such as virtual computing resources, virtual storage resources, and virtual network resources.

[0035] MANO (Management and Orchestration) is responsible for the management and orchestration of NFV, including VIM, VNFM and NFVO, and provides unified management and orchestration functions for VNF and NFVI resources. The main functions of VIM (NFVI management module, i.e., Virtualized Infrastructure Managers) include: resource discovery, management and allocation of virtual resources, fault handling, etc. VNFM (VNF management module, i.e., virtualized network function module management module, VNF Managers) mainly controls the life cycle of VNF (instantiation, configuration, shutdown, etc.). NFVO (NFV Orchestrator) realizes the orchestration and management of the entire NFV infrastructure, software resources, and network services.

[0036] Generally, NFVI servers do not support TEE capability reporting, NFVO does not describe TEE requirements and handle affinity for TEE resource orchestration when performing resource orchestration, and NFV does not provide authentication method selection. Figure 1 The present disclosure provides a method for orchestrating TEE computing resources in NFV (a method for orchestrating trusted execution environment computing resources in NFV). The method includes: reporting TEE capability of NFVI server (host) (S1), identifying and orchestrating TEE resource requirements of NFVO (S2), and remote authentication of TEE application instances by NFVO (S3).

[0037] More specifically, the present disclosure provides a method for orchestrating TEE computing resources in NFV. The method comprises the following steps: S1, NFVO 16 (refer to Figure 2 ) receiving TEE capability information of a host notified (reported) by a host used as NFVI 13 through a VIM 14 managed by the host;

[0038] S2. NFVO 16 selects VIM 14 and associated VNFM 15 that are managed by the host with TEE capability according to the received TEE capability information and based on the TEE capability requirements on the user side, and initiates a VNF instantiation request to VNFM 15, and allocates resources in the host with TEE capability to implement TEE resource orchestration of NFVO 16; S3. The host with TEE capability performs remote verification of the TEE instance after the TEE capability is enabled; S4. The third-party application authenticates the TEE application instance environment.

[0039] The following describes in detail the specific steps S1 to S3 of the TEE computing resource orchestration method in NFV.

[0040] NFVI server TEE capability reporting (S1)

[0041] refer to Figure 3 , step S1 comprises the following steps:

[0042] S11: The general server host (hereinafter referred to as the host) of NFVI 13 notifies the VIM 14 managed by the host of its TEE support status, support type, TEE capability activation status and other TEE configuration information (TEE necessary configuration information) (the VIM managed by the host means that the VIM is used to manage the host). TEE support status refers to whether the host supports hardware TEE capabilities. TEE support type refers to the specific manufacturer and TEE model, CPU model, etc., such as Inte SGX2, Xeon D-2752TER. TEE capability activation refers to whether the TEE capability in the host has been enabled. Other TEE configuration information (TEE necessary configuration information) includes TEE remote authentication URL, certificate type, etc. It should be noted that before the host notifies the VIM of TEE support status, the host should have completed the installation and configuration of the necessary TEE support library files.

[0043] S12: The VIM 14 records the TEE information notified by the host, and notifies the NFVO 16 managed by the VIM 14 of whether the TEE is supported, the supported type, the TEE capability activation, and other TEE configuration information (TEE necessary configuration information);

[0044] S13: NFVO 16 records information on whether the host TEE is supported or not, and the VIM 14 and data center information to which it belongs (here, the VIM to which the NFVO belongs means that the NFVO is the NFVO used to manage the VIM).

[0045] NFVO identifies and orchestrates TEE resource requirements (S2)

[0046] NFVO 16 orchestrates infrastructure resources based on user-side requirements to meet the computing resources, storage resources, and network resources required for VNF creation. NFVO 16 creates resources based on the description of VNFD (VNF Descriptor). ETSIGS NFV-IFA 011v4.2.1 defines the VDU data type to describe the requirements for the smallest unit VNFC virtual computing, virtual memory, virtual hard disk and other resources of VNF 12. However, VNFD does not include relevant parameters for TEE capabilities. In order to provide NFVO 16 with the ability to identify and orchestrate TEE resource requirements to meet user-side requirements, VNFD needs to provide whether the resources required by VNF 12 require TEE support, the required TEE type, the required TEE version, and an identification description of the TEE resource requirements. The present disclosure provides a type definition of TEE computing resources in VNFD, for example, including a newly added data field in the VDU data type as shown in the following table:

[0047]

[0048] After providing the TEE capability requirements on the user side by adding TEE-related description requirements in the VNFD description file as described above, NFVO 16 can perform TEE computing resource orchestration.

[0049] Specifically, the prerequisite for NFVO 16 to orchestrate TEE computing resources is that the VNF on-board package has been generated by the user side, sent to NFVO through OSS 11 (Operations Support System), and loaded (onboard) in NFVO 16. The VNF image included in the VNF onboard package requires TEE capability support and is described in the VNFD descriptor. The VNF package contains the software image (or image link) for building the VNF and the VNFD description file.

[0050] refer to Figure 4 , a VNF instantiation resource orchestration step (step S2) including TEE capability requirements may include the following steps:

[0051] S201: The OSS 11 sends a VNF instantiation request to the NFVO 16.

[0052] S202: NFVO 16 checks the VNF package configuration, parses the resource requirements and TEE capability requirements in the VNFD description file, and selects a VIM 14 with TEE capability (a VIM managed by a host with TEE capability) and an associated VNFM 15.

[0053] S203: The NFVO 16 initiates a VNF instantiation request to the VNFM 15.

[0054] S204: VNFM 15 sends a resource allocation request to VIM 14 that manages the host with TEE capability, and carries VNF software image information (such as image address) in the request message. The requested resources include computing resources, storage resources, network resources, memory space used by TEE, etc.

[0055] S205: VIM 14 allocates corresponding resources on the NFVI server (host with TEE capability) based on the request of VNFM 15, downloads the VNF software image and instantiates the image on the NFVI server.

[0056] S206 : The VIM 14 sends a resource allocation request response to the VNFM 15 .

[0057] S207: VNFM 15 sends a service configuration request to VNF / VNFC, which includes TEE specific support library files, TEE remote verification configuration, etc.

[0058] S208: VNF / VNFC sends a service configuration request response to VNFM 15.

[0059] S209: VNFM 15 sends a VNF instantiation result response to NFVO 16, and reports the resource allocation status to NFVO 16.

[0060] S210: The NFVO 16 returns a VNF instantiation result response to the OSS 11.

[0061] It should be noted that a VNF may contain multiple VNFCs or only one VNFC. When a VNF has multiple VNFCs, the VNFC that has no demand for TEE computing resources will be orchestrated in the original NFV way.

[0062] NFVI server performs remote authentication of TEE instances (S3)

[0063] When the TEE function is enabled on the NFVI server (host with TEE capability), if the certificate is not installed in the TEE in advance, the TEE identity and the secret key generated in the TEE need to be verified and the certificate issued. It should be noted that the "no certificate is installed in the TEE in advance" means that the private key is generated after the TEE is enabled and the CA certificate is applied for by itself; however, since the NFVI server with TEE cannot always directly access the internet, the CPU manufacturer containing the TEE directly authenticates the TEE identity and TEE instance remotely, and the NFV network element needs to assume the proxy function.

[0064] The specific authentication process involving NFV network elements to TEE mainly includes: 1. TEE identity authentication and CA certificate acquisition when TEE is activated; 2. Verification of whether the TEE instance environment meets the integrity and authenticity of trusted execution capabilities.

[0065] Reference below Figure 5 Describe TEE identity authentication and CA certificate acquisition, which can specifically include the following steps.

[0066] S301: After the NFVI server (host with TEE capability) turns on the TEE capability, it completes the installation and configuration of the library files required by TEE, and sets the remote authentication method and remote authentication URL address. The NFVI server initiates remote authentication to NFVO, carrying information such as CPU ID, TEE instance ID, public key generated locally by the TEE instance, authentication address, etc., to authenticate whether the TEE environment is authentic and whether the TEE environment has trusted execution capabilities, and applies for a CA certificate from the TEE manufacturer server (such as a signer server). It should be noted that the NFVI server configures remote authentication, and the URL address can be NFVO as a proxy address, or the TEE manufacturer signer server address. When the NFVI server cannot be directly connected to the internet, it should be configured with NFVO as the proxy address (the case in the present invention); TEE manufacturer signer generally refers to the manufacturer of the TEE chip.

[0067] S302: After receiving the authentication request and CA certificate application message from the NFVI server, the VIM 14 forwards the information to the NFVO 16 managed by the VIM 14.

[0068] S303: After receiving the authentication request and CA certificate application message of the NFVI server forwarded by the VIM 14, the NFVO 16 forwards the message to the TEE vendor signer server corresponding to the TEE according to the pre-configured proxy settings. Optionally, the NFVO 16 signs the authentication request and CA certificate application message of the NFVI server using its own private key.

[0069] S304: The TEE manufacturer signer server verifies whether the TEE instance is a real TEE environment based on the factory information such as the TEE ID; if the verification is successful, a CA certificate is issued for the public key provided by the NFVI server TEE.

[0070] S305: The TEE manufacturer signer server returns the remote authentication result and CA certificate to NFVO 16.

[0071] S306: The NFVO 16 checks the remote authentication result and saves the CA certificate locally.

[0072] S307: NFVO 16 returns the TEE instance remote authentication result and CA certificate to VIM 14.

[0073] S308: VIM 14 returns the TEE instance remote authentication result and CA certificate to the NFVI server.

[0074] S309: The NFVI server saves the CA certificate locally.

[0075] The third-party application verifies the TEE application instance environment (S4)

[0076] Reference below Figures 6 to 8 Describe various embodiments of third-party application authentication of TEE instance environment (TEE application instance).

[0077] When a third-party application needs to interact with the execution program in the TEE instance environment, such as using encrypted data as input for the code in the TEE instance environment, it is necessary to determine whether the TEE instance environment is a real trusted environment. It should be noted that the TEE instance environment can be a separate application instance environment of the TEE or the TEE environment itself. The TEE instance environment is used to carry third-party application code and sensitive data.

[0078] refer to Figure 6 When a third-party application and a TEE application instance are in the same NFV environment, the third-party application may authenticate the TEE application instance by:

[0079] S411: The TEE application instance generates an authentication report locally. The authentication report may include CPU security information, TEE security information, TEE application instance execution environment security attributes and configuration information summary, TEE CA certificate, authentication report integrity signature, etc. The TEE application instance sends the authentication report to the third-party application.

[0080] S412: The third-party application sends a TEE application instance authentication report to the VNFM 15 to which it is managed to request authentication.

[0081] S413: VNFM 15 sends a TEE application instance authentication report to the NFVO 16 under its management to request authentication; NFVO 16 verifies the signature information in the TEE application instance authentication report based on the locally stored TEE CA certificate, completes the remote authentication, and returns the authentication result.

[0082] S414: VNFM 15 returns the TEE application instance authentication result to the third-party application.

[0083] S415: The third-party application determines whether to continue interacting with the TEE application instance based on the TEE application instance authentication result; if the TEE application instance authentication passes, the third-party application and the TEE application instance can establish trusted communication and continue interacting.

[0084] refer to Figure 7 When the third-party application and the TEE application instance are not in the same NFV environment, the third party can access the local NFVO to remotely authenticate the TEE application instance. Specifically, the third-party application can authenticate the TEE application instance by the following steps:

[0085] S421: The TEE application instance generates an authentication report locally. The authentication report may include CPU security information, TEE security information, TEE application instance execution environment security attributes and configuration information summary, TEE CA certificate, authentication report integrity signature, etc. The TEE application instance sends the authentication report to the third-party application.

[0086] S422: The third-party application sends a TEE application instance authentication report to the VNFM 15 to which it is managed to request authentication.

[0087] S423: VNFM 15 sends a TEE application instance authentication report to the first NFVO (NFVO-1) under its management to request authentication; the first NFVO sends an authentication request to the second NFVO (NFVO-2) under the management of the TEE application instance based on the URL address in the TEE application instance authentication report; the second NFVO verifies the signature information in the TEE application instance authentication report based on the locally stored TEE CA certificate, completes the remote authentication, and returns the authentication result to the first NFVO.

[0088] S424: The first NFVO returns the TEE application instance remote authentication result to the VNFM 15.

[0089] S425: VNFM 15 returns the TEE application instance remote authentication result to the third-party application.

[0090] S426: The third-party application determines whether to continue interacting with the TEE application instance based on the TEE application instance authentication result; if the TEE application instance authentication passes, the third-party application and the TEE application instance can establish trusted communication and continue interacting.

[0091] refer to Figure 8 When the third-party application is not in the NFV environment, the third party can directly access the NFVO to remotely authenticate the TEE application instance. Specifically, the third-party application can authenticate the TEE application instance by the following steps:

[0092] S431: The TEE application instance generates an authentication report locally. The TEE application instance sends the authentication report to a third-party application.

[0093] S432: The third-party application sends a TEE application instance authentication report to NFVO 16 to request authentication; NFVO 16 verifies the signature information in the TEE application instance authentication report based on the locally stored TEE CA certificate and completes the remote authentication.

[0094] S433: The NFVO 16 returns the authentication result to the third-party application.

[0095] The embodiment of the present invention also provides a TEE resource orchestration system 10 in NFV, referring to Figure 2 The system includes VNF 12, VNFM 15 for managing VNF 12, a host of NFVI 13 for providing an operating environment for VNF 12, VIM 14 for managing NFVI 13, and NFVO 16 for managing the entire NFV, NFVO 16 receives the TEE capability information of the host notified by the host through VIM 14 managed by the host; NFVO 16 is used to select VIM 14 and associated VNFM 15 managed by the host with TEE capability according to the received TEE capability information and based on the TEE capability requirements of the user side, and initiate a VNF instantiation request to VNFM 15, allocate resources in the host with TEE capability, so as to realize TEE resource orchestration of NFVO 16; and the host with TEE capability is used to perform TEE instance remote verification after TEE capability is enabled, and third-party applications can remotely authenticate the TEE application instance environment. The TEE resource orchestration method in NFV can be executed by the TEE resource orchestration system 10 in NFV. It should be understood that the TEE resource orchestration system 10 may also include other necessary modules such as OSS (or BSS) 11, WIM, EM, etc.

[0096] Based on the same technical concept, the embodiment of the present invention also provides a TEE resource arrangement device 20, such as Fig. 9 As shown, the TEE resource orchestration device 20 includes a memory 21 and a processor 22. The memory 21 stores a computer program. When the processor 22 runs the computer program stored in the memory 21, the processor 22 executes the TEE resource orchestration method in the aforementioned NFV.

[0097] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the TEE resource orchestration method in the aforementioned NFV.

[0098] In summary, the TEE resource orchestration method, system, device and storage medium in NFV provided by the embodiments of the present invention increase the computing resource orchestration capability supporting TEE in NFV, so that when NFVO deploys VNF, it can deploy processing functions or modules with high requirements for data and code privacy protection in infrastructure resources supporting TEE, thereby protecting business security and data privacy in NFV deployed in complex environments.

[0099] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for orchestrating TEE resources in network function virtualization (NFV), characterized in that: The following steps are involved: S1. A network function virtualization orchestrator NFVO receives TEE capability information of a host used as a network function virtualization infrastructure NFVI notified by a network function virtualization infrastructure management module VIM for host home management; S2. The NFVO selects the VIM and the associated virtualized network function module management module VNFM of the host with TEE capability according to the received TEE capability information and based on the TEE capability requirements of the user side, and initiates a virtualized network function module VNF instantiation request to the VNFM, and allocates resources in the host with TEE capability to implement TEE resource orchestration of the NFVO; S3. The host with TEE capability performs remote verification of the TEE instance after the TEE capability is enabled; S4. The third-party application verifies the TEE application instance environment.

2. The TEE resource arrangement method in NFV according to claim 1, characterized in that: The TEE capability information includes whether TEE is supported, the type of TEE support, TEE activation status and TEE configuration information, and step S1 includes: S11, the host notifies the VIM of the TEE capability information; S12, the VIM records the TEE capability information and notifies the TEE capability information to the NFVO; S13. The NFVO receives the TEE capability information and records whether the host supports the TEE and information about the VIM.

3. The TEE resource arrangement method in NFV according to claim 1, characterized in that: The TEE capability requirement on the user side is provided by adding TEE related description requirements in the description file of the virtualized network function module descriptor VNFD.

4. The TEE resource orchestration method in NFV according to claim 3, characterized in that: Step S2 includes: S201, the NFVO receives a VNF instantiation request sent by an operation support system OSS; S202, the NFVO checks the VNF package configuration including the description file sent by the OSS, parses the resource requirements and the TEE capability requirements in the description file, and selects the VIM and the associated VNFM managed by the host with TEE capability; S203, the NFVO initiates a VNF instantiation request to the VNFM; S204, the VNFM sends a resource allocation request to the VIM, and carries VNF software image information in the request message; S205, the VIM allocates corresponding resources on the host with TEE capability based on the request of the VNFM, downloads the VNF software image, and instantiates the image on the host with TEE capability; S206. The VIM sends a resource allocation request response to the VNFM. S207, the VNFM sends a service configuration request to the VNF / virtualized network function module component VNFC, wherein the service configuration request includes a TEE specific support library file and a TEE remote verification configuration; S208. The VNF / VNFC sends a service configuration request response to the VNFM; S209, the VNFM sends a VNF instantiation result response to the NFVO, and reports the resource allocation status to the NFVO; S210. The NFVO returns the VNF instantiation result response to the OSS.

5. The TEE resource arrangement method in NFV according to claim 1, characterized in that: Step S3 includes: S301, after the TEE capability is enabled, the host with TEE capability sends authentication information and CA certificate application information to the VIM, where the authentication information includes at least CPUID, TEE instance ID and TEE instance public key; S302, the VIM forwards the authentication information and the CA certificate application information to the NFVO managed by the VIM; S303, the NFVO forwards the authentication information and the CA certificate application information to the TEE manufacturer server; S304, the TEE manufacturer server verifies whether the TEE instance represented by the authentication information is a real TEE environment based on the factory information of the TEE, and obtains a remote authentication result; if the remote authentication result is passed, a CA certificate is issued for the TEE public key provided by the host with TEE capability; S305. The TEE vendor server returns the remote authentication result and the CA certificate to the NFVO; S306. The NFVO checks the remote authentication result and saves the CA certificate locally; S307, the NFVO returns the remote authentication result and the CA certificate to the VIM; S308, the VIM returns the remote authentication result and the CA certificate to the host with TEE capability; S309: The host with TEE capability saves the CA certificate locally.

6. The TEE resource arrangement method in NFV according to claim 1, characterized in that: When the third-party application and the TEE application instance are in the same NFV environment, step S4 includes: S411, the TEE application instance generates an authentication report locally, and sends the authentication report to the third-party application; S412, the third-party application sends the authentication report to the VNFM managed by it to request authentication; S413, the VNFM sends the authentication report to the NFVO under its management to request authentication; the NFVO verifies the signature information in the authentication report based on the locally stored CA certificate, completes the remote authentication, and returns the remote authentication result to the VNFM; S414. The VNFM returns the remote authentication result to the third-party application; S415. The third-party application determines whether to continue interacting with the TEE application instance based on the remote authentication result; if the remote authentication result is passed, the third-party application establishes trusted communication with the TEE application instance and continues to interact.

7. The TEE resource arrangement method in NFV according to claim 1, characterized in that: When the third-party application and the TEE application instance are not in the same NFV environment, step S4 includes: S421, the TEE application instance generates an authentication report locally, and sends the authentication report to the third-party application; S422, the third-party application sends the authentication report to the VNFM managed by it to request authentication; S423, the VNFM sends the authentication report to the first NFVO under its management to request authentication; the first NFVO sends an authentication request to the second NFVO under the management of the TEE application instance based on the address in the authentication report; the second NFVO verifies the signature information in the authentication report, completes the remote authentication, and returns the remote authentication result to the first NFVO; S424. The first NFVO returns the remote authentication result to the VNFM. S425. The VNFM returns the remote authentication result to the third-party application; S426. The third-party application determines whether to continue interacting with the TEE application instance based on the remote authentication result; if the remote authentication result is passed, the third-party application establishes trusted communication with the TEE application instance and continues to interact.

8. The TEE resource arrangement method in NFV according to claim 1, characterized in that: When the third-party application is not in the NFV environment, step S4 includes: S431, the TEE application instance generates an authentication report locally, and sends the authentication report to the third-party application; S432, the third-party application sends the authentication report to the NFVO to request authentication; the NFVO verifies the signature information in the authentication report and completes remote authentication; S433: The NFVO returns an authentication result to the third-party application.

9. A trusted execution environment TEE resource orchestration system in network function virtualization NFV, characterized in that: include: A virtualized network function module VNF, a virtualized network function module management module VNFM for managing the VNF, a host of a network function virtualization infrastructure NFVI for providing an operating environment for the VNF, a network function virtualization infrastructure management module VIM for managing the NFVI, and a network function virtualization orchestrator NFVO for managing the entire NFV, wherein the NFVO is used to receive TEE capability information of the host notified by the host through the VIM managed by the host; The NFVO selects the VIM and the associated VNFM managed by the host with TEE capability according to the received TEE capability information and based on the TEE capability requirements of the user side, and initiates a VNF instantiation request to the VNFM, and allocates resources in the host with TEE capability to implement TEE resource orchestration of the NFVO; And the host with TEE capability is used to perform remote verification of TEE instance after TEE capability is enabled, and third-party applications can remotely authenticate the TEE application instance environment.

10. A TEE resource arrangement device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the TEE resource orchestration method in NFV according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor performs the TEE resource orchestration method in NFV according to any one of claims 1 to 8.