WO2015117278A1 - Method for obtaining clock interruption signal, and nfv functional entity - Google Patents

Method for obtaining clock interruption signal, and nfv functional entity Download PDF

Info

Publication number
WO2015117278A1
WO2015117278A1 PCT/CN2014/071929 CN2014071929W WO2015117278A1 WO 2015117278 A1 WO2015117278 A1 WO 2015117278A1 CN 2014071929 W CN2014071929 W CN 2014071929W WO 2015117278 A1 WO2015117278 A1 WO 2015117278A1
Authority
WO
WIPO (PCT)
Prior art keywords
vnf
clock
address
nfvo
functional entity
Prior art date
Application number
PCT/CN2014/071929
Other languages
French (fr)
Chinese (zh)
Inventor
余芳
熊春山
朱雷
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480000618.6A priority Critical patent/CN105103125B/en
Priority to PCT/CN2014/071929 priority patent/WO2015117278A1/en
Publication of WO2015117278A1 publication Critical patent/WO2015117278A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4825Interrupt from clock, e.g. time of day

Definitions

  • the present invention relates to communication technologies, and in particular, to a method for acquiring a clock interrupt signal and an NFV functional entity. Background technique
  • NFV Network Functions Virtualization
  • the clock interrupt signal generated by the underlying hardware needs to be provided to the virtual machine, and the virtual machine simulates the software clock interrupt signal to transmit to the virtualized network function (VNF).
  • VNF virtualized network function
  • This process may cause the program to be unable to be scheduled in time because the virtual machine's software clock emulation program cannot guarantee that the clock signal acquired by the virtual network function is delayed due to timely scheduling.
  • this delay of the clock signal will affect the processing of the network function and reduce the network performance.
  • Embodiments of the present invention provide a method for acquiring a clock interrupt signal and an NFV functional entity, which have been solved.
  • the delay of the clock signal and the delay jitter caused by calling the underlying hardware clock interrupt signal is a first aspect of the present invention.
  • a first aspect of the present invention provides a method for acquiring a clock interrupt signal, including:
  • the NFV function entity determines the clock interrupt precision requirement of the virtualized network function VNF according to the description information in the virtual network function requirement description file VNFD;
  • the NFV function entity sends an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to acquire a clock interrupt signal.
  • the NFV functional entity is a network function virtualization orchestrator NFVO or a virtual network function manager VNFM.
  • the NFV function entity before determining a hardware clock address for the VNF according to the clock interrupt precision requirement, further includes :
  • the NFVO or VNFM determines the hardware clock address for the VNF.
  • the NFV function entity determines a hardware clock address for the VNF according to a clock interrupt precision requirement of the VNF, and specifically includes:
  • the NFVO or the VNFM sends a query request to the clock address manager, where the query request carries the identifier information of the VNF and the identifier information of the physical device mapped by the VNF;
  • the NFVO or VNFM receives the hardware clock address returned by the clock address manager.
  • the method further includes:
  • the NFVO or VNFM receives an access period and an access duration of the VNF returned by the clock address manager to the hardware clock address.
  • the fifth possible implementation in the first aspect wherein the NFV functional entity stores information of a hardware clock, and the NFV functional entity is configured according to
  • the clock interrupt precision requirement of the VNF, determining the hardware clock address for the VNF specifically includes: the NFVO determining, according to the stored information of the hardware clock, the hardware clock address that the VNF can directly access.
  • the NFV functional entity determines, according to the stored information of the hardware clock, the NFV directly accessible After the hardware clock address, it also includes:
  • the NFVO determines an access period and an access duration of the VNF to the hardware clock address.
  • the method further includes :
  • the NFVO sends an access period and an access duration of the VNF to the hardware clock address to the VNF.
  • the NFV function entity before determining a hardware clock address for the VNF according to the clock interrupt precision requirement, further includes :
  • the NFVO receives the resource reservation result returned by the VIM, and the resource reservation result carries the identifier of the physical device.
  • the NFVO receives a resource reservation result returned by the VIM, where the resource reservation result carries a physical device After the identification, it also includes:
  • the VNFM requests the VIM to create and start a virtual machine.
  • the resource reservation result includes: the hardware clock address
  • the determining, by the NFV function entity, the hardware clock address for the VNF specifically: the NFVO acquiring the hardware clock address from the resource reservation result.
  • the eleventh possible implementation in the first aspect further includes: an access period and an access duration of the VNF to the hardware clock address.
  • the method further includes:
  • the NFVO determines an access period and an access duration of the VNF to the hardware clock address.
  • the second aspect of the present invention provides a network function virtualization NFV function entity, including: a first determining module, configured to determine a clock interrupt precision requirement of the VNF according to the VNFD description information;
  • a second determining module configured to determine a hardware clock address for the VNF according to the clock interrupt precision requirement
  • a sending module configured to send an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to obtain a clock interrupt signal.
  • the NFV functional entity is NFVO or VNFM.
  • the method further includes:
  • a third determining module configured to determine, according to a clock interrupt precision requirement of the VNF, that the VNF needs to directly access the hardware clock before the second determining module determines a hardware clock address for the VNF according to the clock interrupt precision requirement ;
  • the second determining module is further configured to determine a hardware clock address for the VNF if it is determined that the NFVO or the VNFM needs to directly access the hardware clock.
  • the sending module is specifically configured to:
  • the NFV functional entity further includes: a first receiving module, configured to receive the hardware clock address returned by the clock address manager.
  • the first receiving module is further configured to receive, by the second determining module, the clock address Receiving the returned by the clock address manager after the hardware clock address returned by the processor
  • the access period and access duration of the VNF to the hardware clock address are the access period and access duration of the VNF to the hardware clock address.
  • the NFV functional entity is the NFVO, and the NFVO further includes:
  • a storage module configured to store information of a hardware clock
  • the second determining module specifically determines, according to the stored information of the hardware clock, the hardware clock address that the VNF can directly access.
  • the NFV functional entity is the NFVO, and the NFVO further includes:
  • a fourth determining module configured to determine, according to the second determining module, the access period and the access duration of the VNF to the hardware clock address after determining the hardware clock address that the NFV can directly access.
  • the NFV functional entity is the NFVO
  • the sending module is further used in After the address of the hardware clock is sent to the VNF, the access period and the access duration of the VNF to the hardware clock address are sent to the VNF.
  • the NFV functional entity is the NFVO, and the NFVO further includes:
  • a fifth determining module configured to determine, according to the clock interrupt precision requirement of the VNF, a VIM that satisfies the VNF requirement resource according to a clock interrupt precision requirement of the VNF, according to the clock interrupt precision requirement;
  • the sending module is further configured to: send a resource reservation request to the VIM;
  • a second receiving module configured to receive a resource reservation result returned by the VIM, where the resource reservation result carries an identifier of the physical device.
  • the NFV functional entity is the VNFM
  • the VNFM further includes: a requesting module, configured to: After the fifth determining module receives the resource reservation result returned by the VIM, and the resource reservation result carries the identifier of the physical device, the VIM is requested to create and start the virtual machine.
  • the tenth aspect of the second aspect may
  • the NFV function entity is the NFVO
  • the resource reservation result includes: the hardware clock address
  • the second determining module is specifically configured to: obtain the hardware clock address from the resource reservation result.
  • the resource reservation result further includes: an access period and an access of the VNF to the hardware clock address duration.
  • the NFV functional entity is the NFVO, and the NFVO further includes:
  • a sixth determining module configured to determine, according to the second determining module, the access period and the access duration of the hardware clock address after the hardware clock address is obtained from the resource reservation result.
  • a third aspect of the present invention provides a network function virtualization NFV functional entity, including: a processor and a memory, wherein the memory stores an execution instruction, when the clock interrupt signal acquisition system is running, the processor and the memory In communication, the processor executes the execution instruction such that the acquisition system of the clock interrupt signal performs the method of any one of claims 1 to 13.
  • the embodiment of the invention provides a method for acquiring a clock interrupt signal and an NFV function entity.
  • the NFV function entity determines a clock interrupt precision requirement of the VNF according to the VNFD description information, and then the NFV function entity determines the hardware for the VNF according to the clock interrupt precision requirement.
  • the clock address is finally sent to the VNF by the determined hardware clock address.
  • the VNF can access the hardware clock according to the obtained hardware clock address and obtain the clock interrupt signal.
  • the virtual machine guest operating system software clock interrupt signal is generated without calling the underlying hardware clock interrupt signal by the virtual machine, and the software clock interrupt signal is provided to the VNF for VNF execution program scheduling clock signal transmission process, thereby avoiding the clock signal.
  • FIG. 1 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention
  • FIG. 3 is an embodiment of the present invention. I: The architecture and interface diagram 1 of the method for obtaining the clock interrupt signal provided;
  • FIG. 4 is a schematic diagram showing an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic diagram of an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic diagram of an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention
  • FIG. 8 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 3 of the present invention
  • FIG. 9 is a flowchart of an embodiment of the present invention
  • I3 Architecture and interface of the method for obtaining the clock interrupt signal provided:
  • FIG. 10 is a schematic diagram showing the architecture and interface of a method for acquiring a clock interrupt signal according to Embodiment 3 of the present invention.
  • FIG. 11 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention
  • FIG. 12 is a schematic diagram showing a structure and an interface of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention
  • FIG. 13 is a second schematic diagram of an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention.
  • FIG. 14 is a schematic structural diagram 1 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 15 is a schematic structural diagram 2 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 16 is a schematic structural diagram 3 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 17 is a schematic diagram of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention. Schematic diagram four;
  • FIG. 18 is a schematic structural diagram 5 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 19 is a schematic structural diagram 6 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 20 is a schematic structural diagram 7 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 21 is a schematic structural diagram VIII of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention.
  • FIG. 22 is a schematic diagram of a network function virtualization NFV functional entity according to Embodiment 6 of the present invention.
  • the technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method includes:
  • Step 101 Network function virtualization
  • the NFV function entity determines the clock interruption accuracy requirement of the VNF according to the virtual network function description file (VNFD) description information;
  • VNFD virtual network function description file
  • the NFV functional entity may be a Network Function Virtualized Orchestrator (NFVO) or a Virtualized Network Function Manager (VNFM).
  • the information described by the VNFD includes the configuration of the VNF deployment behavior and operational behavior.
  • the deployment behavior includes, but is not limited to, the deployment environment required by the VNF.
  • the VNF refers to the Network Function Virtualized Infrastructure (NFVI) resource. Requirements, such as the number of virtual machines, the number of virtual machine images, the required computing resources, and storage resources.
  • Operational behavior is mainly VNF Behaviors in the lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and more.
  • VNFD is sent to NFVO by a third-party entity during VNF on-boarding. It is submitted by NFVO to the NFV catalog. NFVO reads VNFD from the NFV catalog when needed.
  • the third-party entity here can be any entity that represents the VNF provider, or an entity within the service provider management domain.
  • the VNF clock interrupt accuracy refers to the VNF's need for the frequency of the clock interrupt and the frequency stability.
  • Step 102 The NFV functional entity determines a hardware clock address for the VNF according to a clock interrupt precision requirement;
  • the NFV functional entity can first determine whether the VNF needs to directly access the hardware clock according to the clock interruption precision requirement of the VNF. If it is determined that the VNF needs to directly access the hardware clock, the NFVO or VNFM can be a clock address as a feasible implementation manner.
  • the manager sends a query request, where the query request carries the identification information of the VNF and the identification information of the physical device mapped by the VNF, and then the NFVO or VNFM receives the hardware clock address accessible by the VNF returned by the clock address manager, and the VNF accesses the hardware clock. Access period and access duration.
  • the information of the hardware clock can also be pre-stored on the NFVO, so that the NFVO can directly determine the hardware clock address that the VNF can directly access according to the information of the stored hardware clock, and can further determine the VNF.
  • the access period and access duration of the hardware clock can also be pre-stored on the NFVO, so that the NFVO can directly determine the hardware clock address that the VNF can directly access according to the information of the stored hardware clock, and can further determine the VNF.
  • the hardware clock address manager may be a business support system/Operation support system (Business Support System/Operation support system, NFVO, VNFM, or a virtualized infrastructure manager (Virtualized Infrastructure Manager).
  • NFVO Business Support System/Operation support system
  • VNFM Virtualized Infrastructure Manager
  • VIM Virtualized Infrastructure Manager
  • Step 103 The NFV function entity sends the address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to the address of the hardware clock to obtain the clock interrupt signal.
  • the NFV functional entity sends the received hardware clock address returned by the clock address manager and the access period and access duration of the hardware clock to the VNF.
  • the VNF then acquires the clock interrupt signal based on the received accessible hardware clock address.
  • the method for acquiring a clock interrupt signal provided by the present invention the NFV functional entity is described according to VNFD
  • the information determines the clock interrupt precision requirement of the VNF.
  • the NFV function entity determines the hardware clock address for the VNF according to the clock interrupt precision requirement, and finally sends the determined hardware clock address to the VNF, and the VNF can access according to the obtained hardware clock address.
  • Hardware clock and get the clock interrupt signal.
  • the virtual machine guest operating system software clock interrupt signal is generated without calling the underlying hardware clock interrupt signal by the virtual machine, and the software clock interrupt signal is provided to the VNF for VNF execution program scheduling clock signal transmission process, thereby avoiding the clock signal. Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.
  • FIG. 2 is a flowchart 1 of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention.
  • a clock address manager is maintained by an OSS/BSS system or a clock address server. And sending, by NFVO, a clock address query request to the clock address manager, the method comprising:
  • Step 200 Add VNF to the VNFD requirements for clock interrupt accuracy.
  • the VNFD is sent to the NFVO by the third-party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM can acquire the VNF. Peer needs.
  • the third-party entity may be any entity that represents the VNF provider, or an entity within the service provider management domain.
  • VNFD is a configuration template that describes the VNF deployment and operational behavior. It includes a description of the VNF deployment behavior and operational behavior configuration.
  • the deployment behavior includes but is not limited to the deployment environment required by the VNF. Specifically, the VNF needs for NFVI resources, such as The number of virtual machines, the number of virtual machine images, the required computing resources, and storage resources.
  • the operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, and functional scripts that match VNF lifecycle events.
  • Step 201 NFVO receives a request from the trigger Sender to instantiate the VNF.
  • This request is used to instantiate a new VNF
  • Sender can be OSS, Element Management System (EMS), VNFM.
  • EMS Element Management System
  • VNFM Vehicle-to-Network Interface
  • Step 202 The NFVO verifies the validity of the received request for instantiating the VNF sent by the Sender; wherein, the validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself.
  • the legality of the Sender refers to whether the sender is authorized to send the request; the legality of the instantiation request itself refers to whether the security parameter carried by the request can Prove that the request is legal and has not been tampered with by a third party.
  • Step 203 NFVO reads the VNFD from the VNF directory, including reading the VNF's need for a clock interrupt.
  • Step 204 NFVO generates a VNF instance item and adds the generated instance item to the "NFV Instances" database.
  • the VNF instance is specifically used to query and maintain information about the VNF instance according to the VNF instance item during the running of the VNF instance.
  • the VNF instance information refers to the NFVI resources used by the VNF instance and the running status and performance of the VMs corresponding to the VNF instance.
  • Step 205a NFVO submits the instantiation parameter to VNFM.
  • the instantiation parameters include application-related parameters and application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or the throughput of the service to be satisfied by the virtual machine deploying the VNF, Parameters such as network bandwidth;
  • Non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management.
  • Instantiation parameters and VNFD used to describe requirements and requirements for resources and VNF instantiation processes that deploy VNF.
  • Steps 205b-205c VNFM obtains the VNFD and checks the instantiation parameters, and if necessary, makes some modifications to the instantiation parameters.
  • the VNFM modifies the inconsistent instantiation parameters.
  • the NFVO may not directly read the information about the clock interrupt requirement added in the VNFD.
  • the VNFM parses the clock interrupt request from the VNFD and sends it to the NFVO.
  • Step 206a NFVO chooses a resource that is considered to provide VNF with a demand
  • the "NFVI resource” database includes a record of the capabilities of the NFVI server, including the resource descriptions that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining resources available, and the pre-requisites. Keep resources and so on.
  • NFVO selects a VIM based on the records in the "NFVI resource" database, the VIM
  • the ability of the managed NFVI server to meet the needs of the VNF is specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
  • Step 206b The NFVO sends a resource reservation request to the VIM, which includes not only the VNF requirements for calculation, storage, and network resources, but also the VNF requirement for a clock interrupt (whether the VNF needs to directly access the hardware clock device to obtain a clock interrupt).
  • Step 206c The VIM checks the status of the managed resource and returns the resource reservation result. In addition to considering the state of the computing, storage, and network resources, the VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 206d may be performed, that is, the resource reservation failure indication is returned to the NFVO, NFVO. Re-execute steps 200-206c until the appropriate VIM is selected.
  • Step 207a If the VNF needs to obtain a clock interrupt by directly accessing the hardware clock device, the NFVO sends a query request to the clock address manager, and the query request carries the VNF identification number (ID), the mapped physical The ID of the device (which may include one or more) information.
  • ID VNF identification number
  • Steps 207b-207c The clock address manager locally queries the hardware clock address that the VNF can directly access according to the query request, and confirms the access authority of the VNF, and returns the result to the NFVO.
  • the result includes the address of the hardware clock, and may also include the VNF. Access to the hardware clock cycle and duration configuration information.
  • Step 208 The NFVO sends a VNF instantiation request to the VNFM, which carries the identifier of the corresponding VIM (such as a Uniform Resource Locator (URL), and a hardware clock address and configuration information indication.
  • VIM Uniform Resource Locator
  • NFVO can also configure the period and duration of the VNF access hardware clock in this step.
  • Steps 209a-209b The VNFM requests the VIM to allocate resources for the VNF.
  • Step 21 Oa-210b VNFM requests VIM to create and start a virtual machine based on VNFD request, including installing a software package, executing a startup script, sending configuration data, and connecting the virtual machine to the network.
  • Step 211 The VNFM indicates the hardware clock address, access period, and duration that the VNF can directly access.
  • Step 212 The VNF accesses the hardware clock according to the indication of the VNFM, acquires a hardware clock interrupt, and schedules the program.
  • Steps 214a-214b The NFVO updates the resource status based on the VNF instantiation result returned by the VNFM.
  • Step 215 NFVO updates the "NFV Instances" and "NF VI resource” databases.
  • the clock address manager in this embodiment is maintained by the OSS/BSS system or the clock address server. Specifically, it can be maintained by the EMS in the OSS/BSS system, and the clock module and the hardware can be connected through the interface. As shown in Figure 3, the clock module can also be integrated in the hardware, as shown in Figure 4, or the clock address manager is maintained by a clock address server, which is responsible for managing and maintaining the status of each clock module/device in the network. address. And the clock module and the hardware can be connected through the interface. As shown in Figure 5, the clock module can also be integrated in the hardware, as shown in Figure 6.
  • the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and then, the NFV function entity determines the hardware clock address for the VNF according to the clock interrupt precision requirement, and finally The determined hardware clock address is sent to the VNF, and the VNF can access the hardware clock according to the obtained hardware clock address and obtain the clock interrupt signal.
  • the software clock interrupt signal is provided to the VNF for the VNF execution program to schedule the clock signal transmission process, thereby avoiding the clock signal. Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.
  • FIG. 7 is a flowchart 2 of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention.
  • a clock address manager is maintained by an OSS/BSS system or a clock address server. And sending, by the VNFM, a clock address query request to the clock address manager, the method comprising:
  • Step 300 Add a VNF requirement for clock interrupt accuracy in the VNFD.
  • the VNFD is sent to the NFVO by the third-party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM can acquire the VNF. Peer needs.
  • the third-party entity may be any entity that represents the VNF provider or an entity within the management domain of the service provider.
  • VNFD refers to a configuration template that describes the VNF deployment and operational behavior, including VNF.
  • Description of the deployment behavior and operational behavior configuration including but not limited to the deployment environment required by the VNF, specifically the VNF requirements for NFVI resources, such as the number of virtual machines, the number of virtual machine images, and the required Computing resources, storage resources, etc.
  • the operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and so on.
  • Step 301 NFVO receives a request for instantiating a VNF sent by Sender.
  • This request is used to instantiate a new VNF
  • Sender can be OSS, EMS, VNFM.
  • Step 302 The NFVO verifies the validity of the request sent by the Sender to instantiate the VNF.
  • the validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself.
  • the legality of the Sender refers to whether the sender is authorized to send the request;
  • the legality refers to whether the security parameters carried by the request can prove that the request is legal and has not been tampered with by a third party.
  • Step 303 NFVO reads the VNFD from the VNF directory, including reading the VNF for the clock interrupt.
  • Step 304 NFVO generates a VNF instance item and adds the generated instance item to the "NFV Instances" database.
  • the VNF instance item is specifically used to query and maintain the information about the VNF instance according to the VNF instance item during the running of the VNF instance.
  • the information about the VNF instance refers to the NFVI resource used by the VNF instance, the running status and performance of the VM corresponding to the VNF instance.
  • Step 305a NFVO submits the instantiation parameters to VNFM.
  • the instantiation parameters include application-related parameters and non-application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or throughput of services to be satisfied by the virtual machine deploying the VNF. Parameters such as quantity and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management.
  • the instantiation parameters are used together with the VNFD to describe requirements and requirements for the resources and VNF instantiation process for deploying the VNF.
  • Steps 305b-305c VNFM obtains VNFD and checks for instantiation parameters, if needed Make some modifications to the instantiation parameters.
  • the VNFM modifies the inconsistent instantiation parameters.
  • the NFVO may not directly read the related information about the clock interrupt requirement added in the VNFD, and the VNFM will parse the clock interrupt request from the VNFD in this step and send it to the NFVO.
  • Step 306a NFVO selects a VIM that is considered to provide VNF with a resource that satisfies the demand.
  • the "NFVI resource” database includes a record of the capabilities of the NFVI server, including the resource descriptions that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining available resources, and the resources that have been reserved. Wait.
  • NFVO Based on the records in the "NFVI resource” database, NFVO selects a VIM capable of managing the NFVI server that meets the VNF requirements.
  • the requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
  • Step 306b The NFVO sends a resource reservation request to the VIM, which includes not only the VNF requirements for computing, storage, and network resources, but also a VNF requirement for a clock interrupt (whether the VNF needs to directly access the hardware clock device to obtain a clock interrupt).
  • Step 306c The VIM checks the status of the managed resources and returns the resource reservation result. In addition to considering the state of the computing, storage, and network resources, the VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 306d may be performed, that is, the resource reservation failure indication is returned to the NFVO, NFVO. Re-execute steps 300-306c until the appropriate VIM is selected.
  • Step 307 The NFVO sends a VNF instantiation request to the VNFM, which carries an identifier (such as a URL) corresponding to the VIM.
  • an identifier such as a URL
  • Steps 308a-308b The VNFM requests the VIM to allocate resources to the VNF.
  • Steps 309a-309b The VNFM creates and starts a virtual machine based on the VNFD request VIM, including installing a software package, executing a startup script, sending configuration data, and connecting the VM to the network.
  • Step 310a If the VNF needs to adopt a clock interrupt if the VNF needs to directly access the hardware clock device, the VNFM sends a query request to the clock address manager, carries the VNF ID, and maps the ID of the physical device (may include one or more Information).
  • VNFM also needs to request the address of the clock address manager from NFVO for clock address management. Send a query request;
  • the NFVO carries the address of the clock address manager when sending the VNF instantiation request to the VNFM.
  • Steps 310b-310c The clock address manager locally queries the address of the hardware clock that the VNF can directly access, and confirms the access authority of the VNF, and returns the result to the NFVO.
  • the result includes the address of the hardware clock, and may also include the VNF access.
  • Step 311 VNFM indicates the hardware clock address, access period and duration of time that the VNF can directly access.
  • the VNFM can also configure the period and duration of the VNF access hardware clock in this step.
  • Step 312 The VNF accesses the hardware clock according to the instruction of the VNFM, acquires a hardware clock interrupt, and schedules the program.
  • Step 313 The VNFM returns the VNF instantiation result to the NFVO.
  • Steps 314a-314b NFVO performs resource status update based on the VNF instantiation result returned by VNFM.
  • Step 315 NFVO updates the "NFV Instances" and "NF VI resource” databases.
  • Step 316 NFVO returns the VNF instantiation result to Sender.
  • the clock address manager in this embodiment is maintained by the OSS/BSS system or the clock address server. Specifically, it can be maintained by the EMS in the OSS/BSS system, and the clock module and the hardware can be connected through the interface. As shown in Figure 3, the clock module can also be integrated in the hardware, as shown in Figure 4, or the clock address manager is maintained by a clock address server, which is responsible for managing and maintaining the status of each clock module/device in the network. address. And the clock module and the hardware can be connected through the interface. As shown in Figure 5, the clock module can also be integrated in the hardware, as shown in Figure 6.
  • the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and then the NFV function entity determines the hardware clock address for the VNF according to the clock interrupt precision requirement, and finally The determined hardware clock address is sent to the VNF, and the VNF can access the hardware clock according to the obtained hardware clock address and obtain the clock interrupt signal.
  • FIG. 8 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 3 of the present invention. As shown in FIG. 8, in the implementation scenario provided by the embodiment, the clock address manager is maintained by the NFVO, and the method includes:
  • Step 400 Add a VNF requirement for clock interrupt accuracy in the VNFD.
  • the VNFD is sent to the NFVO by the third party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM acquire the VNF. ⁇ demand.
  • the third-party entity may be any entity that represents the VNF provider or an entity within the management domain of the service provider.
  • VNFD is a configuration template that describes the VNF deployment and operational behavior. It includes a description of the VNF deployment behavior and operational behavior configuration.
  • the deployment behavior includes but is not limited to the deployment environment required by the VNF. Specifically, the VNF needs the NFVI resources. Such as the number of virtual machines, the number of virtual machine images, the required computing resources and storage resources.
  • the operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and so on.
  • Step 401 NFVO receives a request for instantiating a VNF sent by Sender.
  • This request is used to instantiate a new VNF
  • Sender can be OSS, EMS, VNFM.
  • Step 402 The NFVO verifies the validity of the request for instantiating the VNF sent by the Sender; wherein, the validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself. Specifically, the validity of the Sender refers to whether the sender is authorized to send the request; the legality of the instantiation request itself refers to whether the security parameter carried by the request can prove that the request is legal and has not been tampered with by a third party.
  • Step 403 NFVO reads the VNFD from the VNF directory. VNF including reading the clock interrupt demand 0
  • Step 404 NFVO generates a VNF instance item and adds the generated instance item to the "NFV Instances" database.
  • the VNF instance item is specifically used to run NFVO and/or VNFM during VNF instance operation. Query and maintain related information of the VNF instance according to the VNF instance item.
  • the information about the VNF instance refers specifically to the NFVI resources used by the VNF instance, the running status and performance of the virtual machine corresponding to the VNF instance.
  • Step 405a NFVO submits the instantiation parameters to VNFM.
  • the instantiation parameters include application-related parameters and non-application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or throughput of services to be satisfied by the virtual machine deploying the VNF. Parameters such as quantity and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management.
  • the instantiation parameters are used together with the VNFD to describe requirements and requirements for the resources and VNF instantiation process for deploying the VNF.
  • Steps 405b-405c VNFM takes VNFD and checks for instantiation parameters, and some modifications are made to the instantiation parameters if needed.
  • the VNFM modifies the inconsistent instantiation parameters.
  • NFVO may not be able to directly read the relevant information about the clock interrupt requirement added in VNFD.
  • VNFM will parse the clock interrupt request from VNFD and send it to NFVO in this step.
  • Step 406a NFVO selects a VIM that is considered to provide the VNF with a resource that satisfies the demand.
  • the "NFVI resource” database includes a record of the capabilities of the NFVI server, including the resource descriptions that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining available resources, and the resources that have been reserved. Wait.
  • NFVO Based on the records in the "NFVI resource” database, NFVO selects a VIM capable of managing the NFVI server that meets the VNF requirements.
  • the requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
  • Step 406b The NFVO sends a resource reservation request to the VIM, which includes not only the VNF requirements for computing, storage, and network resources, but also a VNF requirement for a clock interrupt (whether the VNF needs to directly access the hardware clock device to obtain a clock interrupt).
  • Step 406c The VIM checks the status of the managed resource and returns the resource reservation result. among them, In addition to considering the state of computing, storage, and network resources, VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 406d can be performed, that is, the resource reservation failure indication is returned to NFVO, and NFVO is re-executed. Steps 400-406c, until the appropriate VIM is selected.
  • Step 407 If the VNF needs to directly access the hardware clock device to obtain a clock interrupt, the NFVO locally queries the address of the hardware clock that the VNF can directly access according to the ID of the physical device in the resource reservation result returned by the VIM, and confirms the VNF. Access rights. Also configure the period and duration of the VNF access hardware clock.
  • Step 408 The NFVO sends a VNF instantiation request to the VNFM, where the VIM identifier (such as a URL) and the hardware clock address and configuration information indication are carried.
  • VIM identifier such as a URL
  • Steps 409a-409b The VNFM requests the VIM to allocate resources to the VNF.
  • Steps 410a-410b The VNFM creates and starts a virtual machine based on the VNFD request VIM, including installing a software package, executing a startup script, sending configuration data, and connecting the VM to the network.
  • Step 411 VNFM indicates the hardware clock address, access period and duration of time that the VNF can directly access.
  • Step 412 The VNF accesses the hardware clock according to the indication of the VNFM, acquires a hardware clock interrupt, and schedules the program.
  • Step 413 The VNFM returns the VNF instantiation result to the NFVO.
  • Steps 414a-414b The NFVO performs resource status update based on the VNF instantiation result returned by the VNFM.
  • Step 415 NFVO updates the "NFV Instances" and "NF VI resource” databases.
  • Step 416 NFVO returns the VNF instantiation result to Sender.
  • the clock address manager in this embodiment is maintained by NFVO, and the clock address manager module and the hardware can be connected through an interface. As shown in FIG. 9, the clock address manager module can also be integrated in the hardware, as shown in FIG. Shown.
  • the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and then the NFV function entity locally queries the VNF to determine the hardware clock address, and then sends the determined hardware clock address.
  • the VNF can access the hardware clock based on the obtained hardware clock address and obtain the clock interrupt signal.
  • the virtual machine's guest operating system software clock interrupt signal is generated without calling the underlying hardware clock interrupt signal through the virtual machine, and then the software clock interrupt signal is provided to the VNF for the VNF to execute the program scheduling clock signal.
  • the transmission process avoids the delay of the clock signal and the delay jitter, ensures the timeliness of the execution of the interrupt signal, and ensures that the program is scheduled in time.
  • FIG. 11 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention. As shown in FIG. 11, in the implementation scenario provided by the embodiment, the clock address manager is maintained by the VIM, and the method includes:
  • Step 500 Add VNF to the VNFD requirements for clock interrupt accuracy.
  • the VNFD is sent to the NFVO by the third-party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM can acquire the VNF. Peer needs.
  • the third-party entity may be any entity that represents the VNF provider or an entity within the management domain of the service provider.
  • VNFD is a configuration template that describes the VNF deployment and operational behavior. It includes a description of the VNF deployment behavior and operational behavior configuration.
  • the deployment behavior includes but is not limited to the deployment environment required by the VNF. Specifically, the VNF needs the NFVI resources. Such as the number of virtual machines, the number of virtual machine images, the required computing resources and storage resources.
  • the operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and so on.
  • Step 501 NFVO receives a request for instantiating a VNF sent by Sender.
  • This request is used to instantiate a new VNF
  • Sender can be OSS, EMS, VNFM.
  • Step 502 The validity of the NFVO verification request.
  • the validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself.
  • the legality of the Sender refers to whether the sender is authorized to send the request;
  • the legality refers to whether the security parameters carried by the request can prove that the request is legal and has not been tampered with by a third party.
  • Step 503 NFVO reads the VNFD from the VNF directory, including the requirement to read the VNF for the clock interrupt.
  • Step 504 NFVO generates a VNF instance item and adds the generated instance item to the "NFV Inastances" database.
  • the VNF instance item is specifically used to query and maintain related information of the VNF instance according to the VNF instance item during the running of the VNF instance.
  • Phase of the VNF instance The information about the NFVI resource used by the VNF instance and the running status and performance of the VM corresponding to the VNF instance.
  • Step 505a NFVO submits the instantiation parameters to VNFM.
  • the instantiation parameters include application-related parameters and non-application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or throughput of services to be satisfied by the virtual machine deploying the VNF. Parameters such as quantity and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management.
  • the instantiation parameters are used together with the VNFD to describe requirements and requirements for the resources and VNF instantiation process for deploying the VNF.
  • Steps 505b-505c VNFM checks the instantiation parameters and obtains VNFD. It can also make some modifications to the instantiation parameters as needed.
  • the VNFM modifies the inconsistent instantiation parameters.
  • step 503 the NFVO may not directly read the related information about the clock interrupt requirement added in the VNFD.
  • the VNFM parses the clock interrupt request from the VNFD and sends it to the NFVO.
  • Step 506a NFVO selects a VIM that can provide the VNF with the required resources; wherein the "NFVI resource" database includes a record of the capabilities of the NFVI server, including a description of the resources that the NFVI server can provide, including all resources that can be provided. , resources already provided, remaining resources available, and reserved resources.
  • NFVO Based on the records in the "NFVI resource” database, NFVO selects a VIM capable of managing the NFVI server that meets the VNF requirements.
  • the requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
  • Step 506b The NFVO sends a resource reservation request to the VIM that can provide the VNF with the required resource, which includes not only the VNF requirements for computing, storage, and network resources, but also the VNF requirement for the clock interrupt, which may be a VNF. Whether direct access to the hardware clock device is required to obtain a clock interrupt.
  • Step 506c The VIM checks the status of the managed resource and returns the resource reservation result. If the VNF needs to obtain a clock interrupt by directly accessing the hardware clock device, the resource reservation result includes the address information of the hardware clock and the period and duration configuration information of the VNF access hardware clock. In addition to considering the state of computing, storage, and network resources, VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 506d can be performed to return the resource reservation failure indication to NFVO, and NFVO is re-executed. Steps 500-506c, until the appropriate VIM is selected.
  • Step 507 NFVO configures the period and duration of the VNF access hardware clock.
  • step 508 is directly executed without performing this step.
  • Step 508 The NFVO sends a VNF instantiation request to the VNFM, which carries an identifier (such as a URL, etc.) corresponding to the VIM, and a hardware clock address and configuration information indication.
  • an identifier such as a URL, etc.
  • Steps 509a-509b The VNFM requests the VIM to allocate resources to the VNF.
  • Steps 510a-510b VNFM requests VIM to create and start a virtual machine based on VNFD request, including installing a software package, executing a startup script, sending configuration data, and connecting the VM to the network.
  • Step 511 VNFM indicates the hardware clock address, access period and duration that the VNF can directly access.
  • Step 512 The VNF accesses the hardware clock according to the instructions of the VNFM, acquires a hardware clock interrupt, and schedules the program.
  • Step 513 VNFM returns the VNF instantiation result to NFVO.
  • Steps 514a-514b NFVO performs resource status update.
  • Step 515 NFVO updates the "NFV Instances" and "NF VI resource” databases.
  • Step 516 NFVO returns the VNF instantiation result to Sender.
  • the clock address manager in this embodiment is maintained by the VIM, and the clock address manager module and the hardware can be connected through an interface. As shown in FIG. 12, the clock address manager module can also be integrated in the hardware, as shown in FIG. Shown.
  • the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and selects a VIM that can provide a resource, and the VIM returns a hardware clock address and configuration information, and the VNF can be obtained according to the VNF.
  • the hardware clock address accesses the hardware clock and acquires a clock interrupt signal. Without calling the underlying hardware clock interrupt letter through the virtual machine The virtual machine's guest operating system software clock interrupt signal is generated, and the software clock interrupt signal is provided to the VNF for VNF execution program scheduling clock signal transmission process, thereby avoiding the delay of the clock signal and delay jitter, and ensuring the execution of the interrupt signal. Timeliness and guarantee that the program is scheduled in time.
  • FIG. 14 is a schematic structural diagram of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention. As shown in FIG. 14, the NFV functional entity provided in this embodiment specifically includes:
  • the first determining module 101 is configured to determine, according to the VNFD description information, a clock interrupt precision requirement of the VNF;
  • a second determining module 102 configured to determine a hardware clock address for the VNF according to the clock interrupt precision requirement
  • the sending module 103 is configured to send an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to obtain a clock interrupt signal.
  • the NFV functional entity is NFVO or VNFM.
  • the NFV functional entity may further include: a third determining module 104, configured to determine, by the second determining module 102, the hardware for the VNF according to the clock interrupt precision requirement. Before the clock address, according to the clock interruption precision requirement of the VNF, determining whether the VNF needs to directly access the hardware clock;
  • the second determining module 102 is further configured to determine a hardware clock address for the VNF if it is determined that the NFVO or the VNFM needs to directly access the hardware clock.
  • the sending module is specifically configured to:
  • the foregoing NFV functional entity may further include: a first receiving module 105, configured to receive the hardware clock address returned by the clock address manager.
  • the first receiving module 105 is further configured to: after the second determining module 102 receives the hardware clock address returned by the clock address manager, receive the VNF pair returned by the clock address manager. The access cycle and access duration of the hardware clock address.
  • the NFV function entity is the NFVO, which may further include: a storage module 106, configured to store information of a hardware clock;
  • the second determining module 102 is specifically configured to determine, according to the information about the hardware clock stored by the storage module 106, the hardware clock address that the VNF can directly access.
  • the NFV functional entity is the NFVO, which may further include: a fourth determining module 107, configured to determine the NFV according to the second determining module 102. After the hardware clock address that can be directly accessed, the access period and access duration of the VNF to the hardware clock address are determined.
  • the sending module 103 is further configured to: after the address of the hardware clock is sent to the VNF, send an access period and an access duration of the VNF to the hardware clock address to the
  • the NFV functional entity is the NFV functional entity
  • the fifth determining module 108 is configured to determine, after the second determining module 102 determines the hardware clock address for the VNF according to the clock interrupt precision requirement, according to the clock interrupt precision requirement of the VNF, determine that the VNF requirement resource is satisfied.
  • VIM the hardware clock address for the VNF according to the clock interrupt precision requirement, according to the clock interrupt precision requirement of the VNF, determine that the VNF requirement resource is satisfied.
  • the sending module 103 is further configured to send a resource reservation request to the VIM, and further include a second receiving module 109, configured to receive a resource reservation result returned by the VIM, where the resource reservation result is Carry the identity of the physical device.
  • the NFV functional entity is the VNFM, which may further include:
  • the requesting module 110 is configured to receive, by the fifth determining module 108, the resource reservation result returned by the VIM, and after the resource reservation result carries the identifier of the physical device, request the VIM to create and start the virtual machine.
  • the NFV functional entity is the NFVO, and the resource reservation result includes: the hardware clock address;
  • the second determining module 102 is specifically configured to: obtain the hardware clock address from the resource reservation result.
  • the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address.
  • the NFV functional entity is the NFVO
  • the NFVO may further include:
  • the sixth determining module 111 is configured to determine, according to the second determining module 102, the hardware clock address from the resource reservation result, the access period and the access duration of the VNF to the hardware clock address.
  • the NFV function entity provided in this embodiment is an execution device of the method for acquiring a clock interrupt signal provided by the embodiment of the present invention.
  • the related description in the method embodiment is not described here.
  • FIG. 22 is a schematic diagram showing the structure of a network function virtualization NFV function entity provided by the present invention.
  • the NFV function entity provided in this embodiment includes: a processor 21 and a memory 22.
  • the memory 22 stores execution instructions
  • the processor 21 communicates with the memory 22, and the processor 21 calls execution instructions in the memory 22 for performing the following operations:
  • the NFV functional entity is NFVO or VNFM.
  • the processor 21 further includes:
  • the hardware clock address is determined for the VNF.
  • the processor 21 determines the hardware clock address for the VNF according to the clock interrupt precision requirement of the VNF, and specifically includes:
  • the processor 21 further includes:
  • the processor 21 receives an access period and an access duration of the VNF returned by the clock address manager to the hardware clock address.
  • the processor 21 may further store the information of the hardware clock, and the processor 21 determines the hardware clock address for the VNF according to the clock interrupt precision requirement of the VNF, and specifically includes: the processor 21 according to the stored location The information of the hardware clock determines the hardware clock address that the VNF can directly access.
  • the processor 21 determines, after the hardware clock address that the NFV can directly access, the method further includes:
  • the processor 21 determines an access period and an access duration of the VNF to the hardware clock address.
  • the method further includes:
  • the processor 21 sends an access period and an access duration of the VNF to the hardware clock address to the VNF.
  • the processor 21 further includes:
  • the processor 21 determines, according to the clock interruption precision requirement of the VNF, a VIM that satisfies the VNF requirement resource;
  • the processor 21 sends a resource reservation request to the VIM
  • the processor 21 receives the resource reservation result returned by the VIM, where the resource reservation result carries the identifier of the physical device.
  • the processor 21 receives the resource reservation result returned by the VIM, and after the resource reservation result carries the identifier of the physical device, the method further includes:
  • the processor 21 requests the VIM to create and start a virtual machine.
  • the resource reservation result includes: the hardware clock address
  • the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address.
  • the method further includes:
  • the processor 21 determines an access period and access time of the VNF to the hardware clock address Long.
  • the NFV functional entity provided by the embodiment of the present invention may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the foregoing storage unit includes: a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like can store program codes. Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention provides a method for obtaining a clock interruption signal, and an NFV functional entity. The method comprises: an NFV functional entity determining a clock interruption precision demand of a VNF according to VNFD description information; then, the NFV functional entity determining a hardware clock address for the VNF according to the clock interruption precision demand; and finally, the NFV functional entity sending the determined hardware clock address to the VNF, so that the VNF can access a hardware clock according to the obtained hardware clock address and obtain a clock interruption signal. By using the technical scheme of the present invention, a software clock interruption signal of a user operating system of a virtual machine is generated without calling, by means of the virtual machine, a bottom layer hardware clock interruption signal, and then, the software clock interruption signal is provided to a VNF to enable the VNF to execute a clock signal transmission process of program scheduling, thereby avoiding the delay of the clock signal and the delay jitter, and ensuring the timeliness of the execution of the interruption signal and ensuring that a program is timely scheduled.

Description

时钟中断信号的获取方法和 NFV功能实体  Clock interrupt signal acquisition method and NFV functional entity
技术领域 Technical field
本发明涉及通信技术, 尤其涉及一种时钟中断信号的获取方法和 NFV 功能实体。 背景技术  The present invention relates to communication technologies, and in particular, to a method for acquiring a clock interrupt signal and an NFV functional entity. Background technique
随着智能终端和支持第三代移动通信技术(the 3rd-Generation, 简称 3G) 的数据卡 /笔记本电脑的迅猛发展, 移动互联网业务在过去几年内呈指数型增 长。为了应付日益增长的数据流量,运营商们提出了网络功能虚拟化 (Network Functions Virtualization, 简称 NFV)的概念, NFV的主要设计思路是硬件平台 采用通用服务器, 服务器之上运行虚拟化软件并生成虚拟机, 各种网元以软 件的形式运行在虚拟机当中。 采用这种架构, 运营商将维护一个统一的虚拟 化平台, 而不同的网元将以虚拟机的形式运行在虚拟化平台之上, 新增网元 或者网元的升级则体现为新虚拟机的导入或虚拟机中软件版本的变更。同时, 由于虚拟化技术屏蔽了底层物理平台的差异, 跨厂家的硬件资源共享问题将 迎刃而解。 并且, 利用虚拟机动态迁移, 动态生成等特性, 结合对虚拟化平 台的智能管理, 根据业务量的变化实现网元的动态扩容, 缩容, 从而实现对 硬件资源更高效的利用。  With the rapid development of smart terminals and data cards/laptops supporting the 3rd-generation mobile communication technology (3G), the mobile Internet business has grown exponentially over the past few years. In order to cope with the increasing data traffic, operators have proposed the concept of Network Functions Virtualization (NFV). The main design idea of NFV is that the hardware platform adopts a general-purpose server, and the virtualization software runs on the server and generates virtual Machines, various network elements run in virtual machines in the form of software. With this architecture, operators will maintain a unified virtualization platform, and different network elements will run on the virtualization platform in the form of virtual machines. The upgrade of new network elements or network elements will be reflected in the new virtual machine. Import or change of software version in the virtual machine. At the same time, because virtualization technology shields the differences between the underlying physical platforms, the issue of hardware resource sharing across vendors will be solved. In addition, the functions of virtual machine dynamic migration and dynamic generation are combined with the intelligent management of the virtualization platform to dynamically expand and shrink the network elements according to the change of the traffic volume, thereby achieving more efficient use of hardware resources.
现有技术中, NFV的虚拟环境中, 底层硬件产生的时钟中断信号, 需要 提供给虚拟机, 通过虚拟机模拟软件时钟中断信号来传输给虚拟化网络功能 (Virtualized Network Function, 简称 VNF) , 而这一过程会由于虚拟机的 软件时钟模拟程序无法保证被及时调度导致虚拟网络功能获取的时钟信号发 生延迟, 从而导致程序无法被及时调度。 尤其对于无线网络中很多对实时性 和时钟精度要求较高的应用或者网络功能, 时钟信号的这种延迟会影响网络 功能对业务的处理, 降低网络性能。 发明内容  In the prior art, in the virtual environment of the NFV, the clock interrupt signal generated by the underlying hardware needs to be provided to the virtual machine, and the virtual machine simulates the software clock interrupt signal to transmit to the virtualized network function (VNF). This process may cause the program to be unable to be scheduled in time because the virtual machine's software clock emulation program cannot guarantee that the clock signal acquired by the virtual network function is delayed due to timely scheduling. Especially for many applications or network functions in wireless networks that require high real-time and clock accuracy, this delay of the clock signal will affect the processing of the network function and reduce the network performance. Summary of the invention
本发明实施例提供一种时钟中断信号的获取方法和 NFV功能实体, 已解 决由于调用底层硬件时钟中断信号而产生的时钟信号的延迟以及延迟抖动。 本发明第一方面提供一种时钟中断信号的获取方法, 包括: Embodiments of the present invention provide a method for acquiring a clock interrupt signal and an NFV functional entity, which have been solved. The delay of the clock signal and the delay jitter caused by calling the underlying hardware clock interrupt signal. A first aspect of the present invention provides a method for acquiring a clock interrupt signal, including:
网络功能虚拟化 NFV功能实体根据虚拟网络功能需求描述文件 VNFD 中的描述信息, 确定虚拟化网络功能 VNF的时钟中断精度需求;  Network function virtualization The NFV function entity determines the clock interrupt precision requirement of the virtualized network function VNF according to the description information in the virtual network function requirement description file VNFD;
所述 NFV功能实体根据所述时钟中断精度需求,为所述 VNF确定硬件 时钟地址;  Determining, by the NFV functional entity, a hardware clock address for the VNF according to the clock interrupt precision requirement;
所述 NFV功能实体将所述硬件时钟的地址发送给所述 VNF, 以使所述 VNF根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。  The NFV function entity sends an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to acquire a clock interrupt signal.
在第一方面的第一种可能实现方式中,所述 NFV功能实体为网络功能虚 拟化编排器 NFVO或虚拟网络功能管理器 VNFM。  In a first possible implementation manner of the first aspect, the NFV functional entity is a network function virtualization orchestrator NFVO or a virtual network function manager VNFM.
结合第一方面的第一种可能实现方式, 在第一方面的第二种可能实现方 式中, 所述 NFV功能实体根据所述时钟中断精度需求, 为所述 VNF确定硬 件时钟地址之前, 还包括:  With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the NFV function entity, before determining a hardware clock address for the VNF according to the clock interrupt precision requirement, further includes :
所述 NFV功能实体根据 VNF的时钟中断精度需求,确定所述 VNF是否 需要直接访问硬件时钟;  Determining, by the NFV function entity, whether the VNF needs to directly access the hardware clock according to the clock interrupt precision requirement of the VNF;
若确定所述 NFVO或 VNFM需要直接访问硬件时钟, 则所述 NFVO或 VNFM为所述 VNF确定硬件时钟地址。  If it is determined that the NFVO or VNFM requires direct access to the hardware clock, the NFVO or VNFM determines the hardware clock address for the VNF.
结合第一方面的第一种可能实现方式, 在第一方面的第三种可能实现方 式中, 所述 NFV功能实体根据 VNF的时钟中断精度需求, 为所述 VNF确定 硬件时钟地址, 具体包括:  In conjunction with the first possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the NFV function entity determines a hardware clock address for the VNF according to a clock interrupt precision requirement of the VNF, and specifically includes:
所述 NFVO或 VNFM向时钟地址管理器发送查询请求,所述查询请求中 携带所述 VNF的标识信息以及所述 VNF映射的物理设备的标识信息;  The NFVO or the VNFM sends a query request to the clock address manager, where the query request carries the identifier information of the VNF and the identifier information of the physical device mapped by the VNF;
所述 NFVO或 VNFM接收所述时钟地址管理器返回的所述硬件时钟地 址。  The NFVO or VNFM receives the hardware clock address returned by the clock address manager.
结合第一方面的第三种可能实现方式, 在第一方面的第四种可能实现方 式中,所述 NFV功能实体接收所述时钟地址管理器返回的所述硬件时钟地址 之后, 还包括:  In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation of the first aspect, after the NFV functional entity receives the hardware clock address returned by the clock address manager, the method further includes:
所述 NFVO或 VNFM接收所述时钟地址管理器返回的所述 VNF对所述 硬件时钟地址的访问周期和访问时长。  The NFVO or VNFM receives an access period and an access duration of the VNF returned by the clock address manager to the hardware clock address.
结合第一方面的第一种可能实现方式, 在第一方面的第五种可能实现方 式中, 所述 NFV功能实体上存储硬件时钟的信息, 所述 NFV功能实体根据In combination with the first possible implementation of the first aspect, the fifth possible implementation in the first aspect Wherein the NFV functional entity stores information of a hardware clock, and the NFV functional entity is configured according to
VNF的时钟中断精度需求, 为所述 VNF确定硬件时钟地址, 具体包括: 所述 NFVO根据存储的所述硬件时钟的信息, 确定所述 VNF能够直接 访问的所述硬件时钟地址。 The clock interrupt precision requirement of the VNF, determining the hardware clock address for the VNF, specifically includes: the NFVO determining, according to the stored information of the hardware clock, the hardware clock address that the VNF can directly access.
结合第一方面的第五种可能实现方式, 在第一方面的第六种可能实现方 式中, 所述 NFV功能实体根据存储的所述硬件时钟的信息, 确定所述 NFV 能够直接访问的所述硬件时钟地址之后, 还包括:  In conjunction with the fifth possible implementation of the first aspect, in a sixth possible implementation manner of the first aspect, the NFV functional entity determines, according to the stored information of the hardware clock, the NFV directly accessible After the hardware clock address, it also includes:
所述 NFVO确定所述 VNF对所述硬件时钟地址的访问周期和访问时长。 结合第一方面的第四种或第六种可能实现方式, 在第一方面的第七种可 能实现方式中, 所述 NFV功能实体将所述硬件时钟的地址发送给所述 VNF 之后, 还包括:  The NFVO determines an access period and an access duration of the VNF to the hardware clock address. With reference to the fourth or the sixth possible implementation of the first aspect, in a seventh possible implementation manner of the first aspect, after the NFV functional entity sends the address of the hardware clock to the VNF, the method further includes :
所述 NFVO将所述 VNF对所述硬件时钟地址的访问周期和访问时长发 送给所述 VNF。  The NFVO sends an access period and an access duration of the VNF to the hardware clock address to the VNF.
结合第一方面的第一种可能实现方式, 在第一方面的第八种可能实现方 式中, 所述 NFV功能实体根据所述时钟中断精度需求, 为所述 VNF确定硬 件时钟地址之前, 还包括:  With reference to the first possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the NFV function entity, before determining a hardware clock address for the VNF according to the clock interrupt precision requirement, further includes :
所述 NFVO根据所述 VNF的时钟中断精度需求, 确定满足所述 VNF需 求资源的虚拟化基础设施管理器 VIM;  Determining, by the NFVO, a virtualized infrastructure manager VIM that satisfies the VNF requirement resource according to a clock interruption accuracy requirement of the VNF;
所述 NFVO向所述 VIM发送资源预留请求;  Sending, by the NFVO, a resource reservation request to the VIM;
所述 NFVO接收所述 VIM返回的资源预留结果,所述资源预留结果中携 带物理设备的标识。  The NFVO receives the resource reservation result returned by the VIM, and the resource reservation result carries the identifier of the physical device.
结合第一方面的第八种可能实现方式, 在第一方面的第九种可能实现方 式中,所述 NFVO接收所述 VIM返回的资源预留结果,所述资源预留结果中 携带物理设备的标识之后, 还包括:  In conjunction with the eighth possible implementation of the first aspect, in a ninth possible implementation manner of the first aspect, the NFVO receives a resource reservation result returned by the VIM, where the resource reservation result carries a physical device After the identification, it also includes:
所述 VNFM请求所述 VIM创建和启动虚拟机。  The VNFM requests the VIM to create and start a virtual machine.
结合第一方面的第八种或第九种可能实现方式, 在第一方面的第十种可 能实现方式中, 所述资源预留结果中包括: 所述硬件时钟地址;  With reference to the eighth or the ninth possible implementation manner of the foregoing aspect, in the tenth possible implementation manner of the foregoing aspect, the resource reservation result includes: the hardware clock address;
所述 NFV功能实体为所述 VNF确定硬件时钟地址, 具体包括: 所述 NFVO从所述资源预留结果中获取所述硬件时钟地址。  The determining, by the NFV function entity, the hardware clock address for the VNF, specifically: the NFVO acquiring the hardware clock address from the resource reservation result.
结合第一方面的第十种可能实现方式, 在第一方面的第十一种可能实现 方式中, 所述资源预留结果中还包括: 所述 VNF对所述硬件时钟地址的访问 周期和访问时长。 In conjunction with the tenth possible implementation of the first aspect, the eleventh possible implementation in the first aspect In the method, the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address.
结合第一方面的第十种可能实现方式, 在第一方面的第十二种可能实现 方式中,所述 NFV功能实体从所述资源预留结果中获取所述硬件时钟地址之 后, 还包括:  With the tenth possible implementation of the first aspect, in a twelfth possible implementation manner of the first aspect, after the NFV function entity obtains the hardware clock address from the resource reservation result, the method further includes:
所述 NFVO确定所述 VNF对所述硬件时钟地址的访问周期和访问时长。 本发明第二方面提供一种网络功能虚拟化 NFV功能实体, 包括: 第一确定模块, 用于根据 VNFD描述信息, 确定 VNF的时钟中断精度 需求;  The NFVO determines an access period and an access duration of the VNF to the hardware clock address. The second aspect of the present invention provides a network function virtualization NFV function entity, including: a first determining module, configured to determine a clock interrupt precision requirement of the VNF according to the VNFD description information;
第二确定模块, 用于根据所述时钟中断精度需求, 为所述 VNF确定硬 件时钟地址;  a second determining module, configured to determine a hardware clock address for the VNF according to the clock interrupt precision requirement;
发送模块, 用于将所述硬件时钟的地址发送给所述 VNF, 以使所述 VNF 根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。  And a sending module, configured to send an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to obtain a clock interrupt signal.
在第二方面的第二种可能实现方式中, 所述 NFV功能实体为 NFVO或 VNFM。  In a second possible implementation of the second aspect, the NFV functional entity is NFVO or VNFM.
结合第二方面的第一种可能实现方式, 在第二方面的第二种可能实现方 式中, 还包括:  In conjunction with the first possible implementation of the second aspect, in a second possible implementation of the second aspect, the method further includes:
第三确定模块, 用于在所述第二确定模块根据所述时钟中断精度需求, 为所述 VNF确定硬件时钟地址之前, 根据 VNF的时钟中断精度需求, 确定 所述 VNF是否需要直接访问硬件时钟;  a third determining module, configured to determine, according to a clock interrupt precision requirement of the VNF, that the VNF needs to directly access the hardware clock before the second determining module determines a hardware clock address for the VNF according to the clock interrupt precision requirement ;
所述第二确定模块还用于,若确定所述 NFVO或 VNFM需要直接访问硬 件时钟, 则为所述 VNF确定硬件时钟地址。  The second determining module is further configured to determine a hardware clock address for the VNF if it is determined that the NFVO or the VNFM needs to directly access the hardware clock.
结合第二方面的第一种可能实现方式, 在第二方面的第三种可能实现方 式中, 所述发送模块具体用于:  In conjunction with the first possible implementation of the second aspect, in a third possible implementation of the second aspect, the sending module is specifically configured to:
向时钟地址管理器发送查询请求,所述查询请求中携带所述 VNF的标识 信息以及所述 VNF映射的物理设备的标识信息;  Sending a query request to the clock address manager, where the query request carries the identifier information of the VNF and the identifier information of the physical device mapped by the VNF;
所述 NFV功能实体还包括: 第一接收模块, 用于接收所述时钟地址管理 器返回的所述硬件时钟地址。  The NFV functional entity further includes: a first receiving module, configured to receive the hardware clock address returned by the clock address manager.
结合第二方面的第三种可能实现方式, 在第二方面的第四种可能实现方 式中, 所述第一接收模块, 还用于在所述第二确定模块接收所述时钟地址管 理器返回的所述硬件时钟地址之后, 接收所述时钟地址管理器返回的所述In conjunction with the third possible implementation of the second aspect, in a fourth possible implementation manner of the second aspect, the first receiving module is further configured to receive, by the second determining module, the clock address Receiving the returned by the clock address manager after the hardware clock address returned by the processor
VNF对所述硬件时钟地址的访问周期和访问时长。 The access period and access duration of the VNF to the hardware clock address.
结合第二方面的第一种可能实现方式, 在第二方面的第五种可能实现方 式中, 所述 NFV功能实体为所述 NFVO, 则所述 NFVO还包括:  In conjunction with the first possible implementation of the second aspect, in a fifth possible implementation of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:
存储模块, 用于存储硬件时钟的信息;  a storage module, configured to store information of a hardware clock;
所述第二确定模块具体:根据存储的所述硬件时钟的信息,确定所述 VNF 能够直接访问的所述硬件时钟地址。  The second determining module specifically determines, according to the stored information of the hardware clock, the hardware clock address that the VNF can directly access.
结合第二方面的第五种可能实现方式, 在第二方面的第六种可能实现方 式中, 所述 NFV功能实体为所述 NFVO, 则所述 NFVO还包括:  In conjunction with the fifth possible implementation of the second aspect, in a sixth possible implementation of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:
第四确定模块,用于根据所述第二确定模块确定所述 NFV能够直接访问 的所述硬件时钟地址之后,确定所述 VNF对所述硬件时钟地址的访问周期和 访问时长。  And a fourth determining module, configured to determine, according to the second determining module, the access period and the access duration of the VNF to the hardware clock address after determining the hardware clock address that the NFV can directly access.
结合第二方面的第四种或第六种可能实现方式, 在第二方面的第七种可 能实现方式中, 所述 NFV功能实体为所述 NFVO, 则所述发送模块, 还用于 在将所述硬件时钟的地址发送给所述 VNF之后, 将所述 VNF对所述硬件时 钟地址的访问周期和访问时长发送给所述 VNF。  With reference to the fourth or the sixth possible implementation of the second aspect, in a seventh possible implementation manner of the second aspect, the NFV functional entity is the NFVO, and the sending module is further used in After the address of the hardware clock is sent to the VNF, the access period and the access duration of the VNF to the hardware clock address are sent to the VNF.
结合第二方面的第一种可能实现方式, 在第二方面的第八种可能实现方 式中, 所述 NFV功能实体为所述 NFVO, 则所述 NFVO还包括:  In conjunction with the first possible implementation of the second aspect, in the eighth possible implementation of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:
第五确定模块, 用于在第二确定模块根据所述时钟中断精度需求, 为所 述 VNF确定硬件时钟地址之前, 根据所述 VNF的时钟中断精度需求, 确定 满足所述 VNF需求资源的 VIM;  a fifth determining module, configured to determine, according to the clock interrupt precision requirement of the VNF, a VIM that satisfies the VNF requirement resource according to a clock interrupt precision requirement of the VNF, according to the clock interrupt precision requirement;
所述发送模块还用于: 向所述 VIM发送资源预留请求;  The sending module is further configured to: send a resource reservation request to the VIM;
还包括第二接收模块, 用于接收所述 VIM返回的资源预留结果, 所述 资源预留结果中携带物理设备的标识。  And a second receiving module, configured to receive a resource reservation result returned by the VIM, where the resource reservation result carries an identifier of the physical device.
结合第二方面的第八种可能实现方式, 在第二方面的第九种可能实现方 式中, 所述 NFV功能实体为所述 VNFM, 则所述 VNFM还包括: 还包括: 请求模块, 用于在所述第五确定模块接收所述 VIM返回的资源预留结果, 所 述资源预留结果中携带物理设备的标识之后,请求所述 VIM创建和启动虚拟 机。  With reference to the eighth possible implementation of the second aspect, in a ninth possible implementation manner of the second aspect, the NFV functional entity is the VNFM, the VNFM further includes: a requesting module, configured to: After the fifth determining module receives the resource reservation result returned by the VIM, and the resource reservation result carries the identifier of the physical device, the VIM is requested to create and start the virtual machine.
结合第二方面的第八种或第九种可能实现方式, 在第二方面的第十种可 能实现方式中,所述 NFV功能实体为所述 NFVO,所述资源预留结果中包括: 所述硬件时钟地址; In combination with the eighth or ninth possible implementation of the second aspect, the tenth aspect of the second aspect may In an implementation manner, the NFV function entity is the NFVO, and the resource reservation result includes: the hardware clock address;
所述第二确定模块具体用于: 从所述资源预留结果中获取所述硬件时钟 地址。  The second determining module is specifically configured to: obtain the hardware clock address from the resource reservation result.
结合第二方面的第十种可能实现方式, 在第二方面的第十一种可能实现 方式中, 所述资源预留结果中还包括: 所述 VNF对所述硬件时钟地址的访问 周期和访问时长。  With reference to the tenth possible implementation manner of the second aspect, in the eleventh possible implementation manner of the second aspect, the resource reservation result further includes: an access period and an access of the VNF to the hardware clock address duration.
结合第二方面的第十种可能实现方式, 在第二方面的第十二种可能实现 方式中, 所述 NFV功能实体为所述 NFVO, 则所述 NFVO还包括:  With reference to the tenth possible implementation of the second aspect, in a twelfth possible implementation manner of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:
第六确定模块, 用于根据所述第二确定模块从所述资源预留结果中获取 所述硬件时钟地址之后,确定所述 VNF对所述硬件时钟地址的访问周期和访 问时长。  And a sixth determining module, configured to determine, according to the second determining module, the access period and the access duration of the hardware clock address after the hardware clock address is obtained from the resource reservation result.
本发明第三方面提供一种网络功能虚拟化 NFV功能实体, 包括: 处理器 和存储器, 所述存储器存储执行指令, 当所述时钟中断信号的获取系统运行 时, 所述处理器与所述存储器之间通信, 所述处理器执行所述执行指令使得 所述时钟中断信号的获取系统执行如权利要求 1〜13任一项所述的方法。  A third aspect of the present invention provides a network function virtualization NFV functional entity, including: a processor and a memory, wherein the memory stores an execution instruction, when the clock interrupt signal acquisition system is running, the processor and the memory In communication, the processor executes the execution instruction such that the acquisition system of the clock interrupt signal performs the method of any one of claims 1 to 13.
本发明实施例提供了一种时钟中断信号的获取方法和 NFV功能实体, NFV功能实体根据 VNFD描述信息, 确定 VNF的时钟中断精度需求, 然后, NFV功能实体根据时钟中断精度需求, 为 VNF确定硬件时钟地址, 最后将 所确定的硬件时钟地址发送给 VNF, VNF就可根据获得的硬件时钟地址访问 硬件时钟, 并获取时钟中断信号。 而无需通过虚拟机调用底层硬件时钟中断 信号而产生虚拟机的客户操作系统软件时钟中断信号, 再将软件时钟中断信 号提供给 VNF供 VNF执行程序调度的时钟信号传输过程, 从而避免了时钟 信号的延迟以及延迟抖动, 保证了中断信号执行的及时性, 并保证程序被及 时调度。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。 The embodiment of the invention provides a method for acquiring a clock interrupt signal and an NFV function entity. The NFV function entity determines a clock interrupt precision requirement of the VNF according to the VNFD description information, and then the NFV function entity determines the hardware for the VNF according to the clock interrupt precision requirement. The clock address is finally sent to the VNF by the determined hardware clock address. The VNF can access the hardware clock according to the obtained hardware clock address and obtain the clock interrupt signal. The virtual machine guest operating system software clock interrupt signal is generated without calling the underlying hardware clock interrupt signal by the virtual machine, and the software clock interrupt signal is provided to the VNF for VNF execution program scheduling clock signal transmission process, thereby avoiding the clock signal. Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the invention, to those of ordinary skill in the art In other words, other drawings can be obtained based on these drawings without paying for creative labor.
图 1为本发明实施例一提供的时钟中断信号的获取方法的流程图; 图 2为本发明实施例二 :提供的时钟中断信号的获取方法的流程图一 ·, 图 3为本发明实施例 I二: 提供的时钟中断信号的获取方法的架构和接口示 意图一;  1 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention, and FIG. 3 is an embodiment of the present invention. I: The architecture and interface diagram 1 of the method for obtaining the clock interrupt signal provided;
图 4为本发明实施例 I二: 提供的时钟中断信号的获取方法的架构和接口示 意图二;  4 is a schematic diagram showing an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention;
图 5为本发明实施例 I二: 提供的时钟中断信号的获取方法的架构和接口示 意图三;  5 is a schematic diagram of an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention;
图 6为本发明实施例 I二: 提供的时钟中断信号的获取方法的架构和接口示 意图四;  6 is a schematic diagram of an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention;
图 7为本发明实施例二:提供的时钟中断信号的获取方法流程图二; 图 8为本发明实施例三 :提: 供的时钟中断信号的获取方法流程图; 图 9为本发明实施例 I三: 提供的时钟中断信号的获取方法的架构和接口: 意图一;  FIG. 7 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention; FIG. 8 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 3 of the present invention; FIG. 9 is a flowchart of an embodiment of the present invention; I3: Architecture and interface of the method for obtaining the clock interrupt signal provided:
图 10 为本发明实施例三提供的时钟中断信号的获取方法的架构和接口 示意图二;  FIG. 10 is a schematic diagram showing the architecture and interface of a method for acquiring a clock interrupt signal according to Embodiment 3 of the present invention; FIG.
图 11为本发明实施例四提供的时钟中断信号的获取方法流程图; 图 12 为本发明实施例四提供的时钟中断信号的获取方法的架构和接口 示意图一;  FIG. 11 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention; FIG. 12 is a schematic diagram showing a structure and an interface of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention;
图 13 为本发明实施例四提供的时钟中断信号的获取方法的架构和接口 示意图二;  13 is a second schematic diagram of an architecture and an interface of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention;
图 14为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图一;  14 is a schematic structural diagram 1 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention;
图 15为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图二;  FIG. 15 is a schematic structural diagram 2 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention;
图 16为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图三;  16 is a schematic structural diagram 3 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention;
图 17为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图四; FIG. 17 is a schematic diagram of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention; Schematic diagram four;
图 18为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图五;  FIG. 18 is a schematic structural diagram 5 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention; FIG.
图 19为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图六;  FIG. 19 is a schematic structural diagram 6 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention; FIG.
图 20为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图七;  FIG. 20 is a schematic structural diagram 7 of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention; FIG.
图 21为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图八;  FIG. 21 is a schematic structural diagram VIII of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention;
图 22所示为本发明实施例六提供的一种网络功能虚拟化 NFV功能实体 的示意图。 具体实施方式 为使本发明实施例的目的: 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  FIG. 22 is a schematic diagram of a network function virtualization NFV functional entity according to Embodiment 6 of the present invention. The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1 为本发明实施例一提供的时钟中断信号的获取方法流程图, 如图 1 所示, 该方法包括:  FIG. 1 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method includes:
歩骤 101 : 网络功能虚拟化 NFV功能实体根据虚拟网络功能需求描述文 件 (Virtualized Network Function Descriptor, 简称 VNFD) 描述信息, 确定 VNF的时钟中断精度需求;  Step 101: Network function virtualization The NFV function entity determines the clock interruption accuracy requirement of the VNF according to the virtual network function description file (VNFD) description information;
其中, NFV功能实体可以为网络功能虚拟化编排器 (Network Function Virtualized Orchestrator, 简称 NFVO)或者虚拟网络功能管理器(Virtualized Network Function Manager, 简称 VNFM) 。 VNFD描述的信息具体包括对 VNF部署行为和操作行为的配置, 其中部署行为包括但不限于 VNF要求的 部署环境, 具体是指 VNF 对网络功能虚拟化基础设施 (Network Function Virtualized Infrastructure, 简称 NFVI) 资源的需求, 如虚拟机个数, 虚拟机 映象 (image) 个数、 需要的计算资源和存储资源等。 操作行为主要是 VNF 生命周期管理过程中的行为, 包括但不限于 VNF拓扑、 启动和关闭、 与 VNF生命周期事件匹配的功能性脚本等。 The NFV functional entity may be a Network Function Virtualized Orchestrator (NFVO) or a Virtualized Network Function Manager (VNFM). The information described by the VNFD includes the configuration of the VNF deployment behavior and operational behavior. The deployment behavior includes, but is not limited to, the deployment environment required by the VNF. Specifically, the VNF refers to the Network Function Virtualized Infrastructure (NFVI) resource. Requirements, such as the number of virtual machines, the number of virtual machine images, the required computing resources, and storage resources. Operational behavior is mainly VNF Behaviors in the lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and more.
VNFD是在 VNF加载(on-boarding)过程中由第三方实体发送给 NFVO, 由 NFVO将其提交到 NFV目录库中, NFVO在需要的时候从 NFV目录库中 读取 VNFD。  VNFD is sent to NFVO by a third-party entity during VNF on-boarding. It is submitted by NFVO to the NFV catalog. NFVO reads VNFD from the NFV catalog when needed.
这里的第三方实体可以是任何一个代表 VNF提供商的实体,也可以是服 务提供商管理域内的一个实体。  The third-party entity here can be any entity that represents the VNF provider, or an entity within the service provider management domain.
VNF时钟中断精度是指 VNF对时钟中断的频率以及频率稳定度的需求。 歩骤 102: NFV功能实体根据时钟中断精度需求, 为 VNF确定硬件时钟 地址;  The VNF clock interrupt accuracy refers to the VNF's need for the frequency of the clock interrupt and the frequency stability. Step 102: The NFV functional entity determines a hardware clock address for the VNF according to a clock interrupt precision requirement;
具体的, NFV功能实体首先可以根据 VNF的时钟中断精度需求, 确定 VNF是否需要直接访问硬件时钟, 如果确定 VNF需要直接访问硬件时钟, 则作为一种可行的实施方式, NFVO或 VNFM可以向时钟地址管理器发送查 询请求, 该查询请求中携带 VNF的标识信息以及 VNF映射的物理设备的标 识信息, 然后 NFVO或 VNFM接收时钟地址管理器返回的 VNF可访问的硬 件时钟地址, 以及 VNF访问硬件时钟的访问周期和访问时长。  Specifically, the NFV functional entity can first determine whether the VNF needs to directly access the hardware clock according to the clock interruption precision requirement of the VNF. If it is determined that the VNF needs to directly access the hardware clock, the NFVO or VNFM can be a clock address as a feasible implementation manner. The manager sends a query request, where the query request carries the identification information of the VNF and the identification information of the physical device mapped by the VNF, and then the NFVO or VNFM receives the hardware clock address accessible by the VNF returned by the clock address manager, and the VNF accesses the hardware clock. Access period and access duration.
作为另一种可行的实施方式, NFVO上还可以预先存储硬件时钟的信息, 从而 NFVO可以直接根据存储的硬件时钟的信息, 确定 VNF能够直接访问 的所述硬件时钟地址,还可以进一歩确定 VNF对硬件时钟的访问周期和访问 时长。  As another feasible implementation manner, the information of the hardware clock can also be pre-stored on the NFVO, so that the NFVO can directly determine the hardware clock address that the VNF can directly access according to the information of the stored hardware clock, and can further determine the VNF. The access period and access duration of the hardware clock.
其中, 所述硬件时钟地址管理器可以为业务支撑系统 /运营支撑系统 (Business support system/Operation support system, 简禾尔 OSS/BSS )、 NFVO、 VNFM或者虚拟化基础设施管理器 (Virtualized Infrastructure Manager, 简称 VIM) 等, 本发明不对其限制。  The hardware clock address manager may be a business support system/Operation support system (Business Support System/Operation support system, NFVO, VNFM, or a virtualized infrastructure manager (Virtualized Infrastructure Manager). The invention is abbreviated as VIM) and the like.
歩骤 103: NFV功能实体将硬件时钟的地址发送给 VNF, 以使 VNF根 据硬件时钟的地址访问硬件时钟来获取时钟中断信号。  Step 103: The NFV function entity sends the address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to the address of the hardware clock to obtain the clock interrupt signal.
NFV功能实体将接收到的时钟地址管理器返回的硬件时钟地址以及硬件 时钟的访问周期和访问时长发送给 VNF, 然后 VNF根据接收到的可访问的 硬件时钟地址来获取时钟中断信号。  The NFV functional entity sends the received hardware clock address returned by the clock address manager and the access period and access duration of the hardware clock to the VNF. The VNF then acquires the clock interrupt signal based on the received accessible hardware clock address.
本发明提供的时钟中断信号的获取方法, NFV功能实体根据 VNFD描述 信息, 确定 VNF的时钟中断精度需求, 然后, NFV功能实体根据时钟中断 精度需求, 为 VNF确定硬件时钟地址, 最后将所确定的硬件时钟地址发送给 VNF, VNF就可根据获得的硬件时钟地址访问硬件时钟, 并获取时钟中断信 号。 而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作 系统软件时钟中断信号, 再将软件时钟中断信号提供给 VNF供 VNF执行程 序调度的时钟信号传输过程, 从而避免了时钟信号的延迟以及延迟抖动, 保 证了中断信号执行的及时性, 并保证程序被及时调度。 The method for acquiring a clock interrupt signal provided by the present invention, the NFV functional entity is described according to VNFD The information determines the clock interrupt precision requirement of the VNF. Then, the NFV function entity determines the hardware clock address for the VNF according to the clock interrupt precision requirement, and finally sends the determined hardware clock address to the VNF, and the VNF can access according to the obtained hardware clock address. Hardware clock, and get the clock interrupt signal. The virtual machine guest operating system software clock interrupt signal is generated without calling the underlying hardware clock interrupt signal by the virtual machine, and the software clock interrupt signal is provided to the VNF for VNF execution program scheduling clock signal transmission process, thereby avoiding the clock signal. Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.
图 2为本发明实施例二提供的时钟中断信号的获取方法流程图一, 如图 2所示, 本实施例提供的实施场景中, 时钟地址管理器由 OSS/BSS系统或者 时钟地址服务器来维护, 并且由 NFVO向时钟地址管理器发送时钟地址查询 请求, 该方法包括:  2 is a flowchart 1 of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention. As shown in FIG. 2, in the implementation scenario provided by this embodiment, a clock address manager is maintained by an OSS/BSS system or a clock address server. And sending, by NFVO, a clock address query request to the clock address manager, the method comprising:
歩骤 200:在 VNFD中增加 VNF对时钟中断精度的需求描述,通过 VNF 加载过程, 由第三方实体将 VNFD发送给 NFVO, 由 NFVO将 VNFD提交到 VNF目录中, 以便 NFVO和 VNFM能够获取 VNF的同歩需求。  Step 200: Add VNF to the VNFD requirements for clock interrupt accuracy. Through the VNF loading process, the VNFD is sent to the NFVO by the third-party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM can acquire the VNF. Peer needs.
其中, 第三方实体可以是任何一个代表 VNF提供商的实体, 也可以是服 务提供商管理域内的一个实体。  The third-party entity may be any entity that represents the VNF provider, or an entity within the service provider management domain.
VNFD是一个描述 VNF部署和操作行为的配置模板, 具体包括对 VNF 部署行为和操作行为配置的描述,其中部署行为包括但不限于 VNF要求的部 署环境, 具体是指 VNF对 NFVI 资源的需求, 如虚拟机个数, 虚拟机映象 (image)个数、 需要的计算资源和存储资源等。 操作行为主要是 VNF生命 周期管理过程中的行为,包括但不限于 VNF拓扑、启动和关闭、与 VNF生 命周期事件匹配的功能性脚本等。  VNFD is a configuration template that describes the VNF deployment and operational behavior. It includes a description of the VNF deployment behavior and operational behavior configuration. The deployment behavior includes but is not limited to the deployment environment required by the VNF. Specifically, the VNF needs for NFVI resources, such as The number of virtual machines, the number of virtual machine images, the required computing resources, and storage resources. The operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, and functional scripts that match VNF lifecycle events.
歩骤 201: NFVO收到触发器 Sender发送的实例化 VNF的请求。  Step 201: NFVO receives a request from the trigger Sender to instantiate the VNF.
该请求用于实例化一个新的 VNF;  This request is used to instantiate a new VNF;
其中, Sender可以是 OSS、 网元管理系统( Element Management System, 简称 EMS)、 VNFM。  Among them, Sender can be OSS, Element Management System (EMS), VNFM.
歩骤 202:NFVO验证收到的 Sender发送的实例化 VNF的请求的有效性; 其中, 有效性是指 VNF请求的合法性, 包括但不限于 Sender的合法性 和实例化请求本身的合法性, 具体的, Sender的合法性是指 Sender是否被授 权发送该请求; 实例化请求本身的合法性是指该请求携带的安全参数是否能 证明该请求是合法的, 没有被第三方篡改的。 Step 202: The NFVO verifies the validity of the received request for instantiating the VNF sent by the Sender; wherein, the validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself. Specifically, the legality of the Sender refers to whether the sender is authorized to send the request; the legality of the instantiation request itself refers to whether the security parameter carried by the request can Prove that the request is legal and has not been tampered with by a third party.
歩骤 203: NFVO从 VNF目录中读取 VNFD,包括读取 VNF对时钟中断 的需求。  Step 203: NFVO reads the VNFD from the VNF directory, including reading the VNF's need for a clock interrupt.
歩骤 204: NFVO生成一个 VNF实例项,并将生成的实例项增加到" NFV 实例 (NFV Instances) "数据库中。  Step 204: NFVO generates a VNF instance item and adds the generated instance item to the "NFV Instances" database.
VNF实例项具体用于在 VNF实例运行期间 NFVO和 /或 VNFM根据该 VNF实例项对 VNF实例的相关信息进行查询和维护。 VNF实例的相关信息 具体是指 VNF实例使用的 NFVI资源、 VNF实例对应的虚拟机的运行状态、 性能等。  The VNF instance is specifically used to query and maintain information about the VNF instance according to the VNF instance item during the running of the VNF instance. The VNF instance information refers to the NFVI resources used by the VNF instance and the running status and performance of the VMs corresponding to the VNF instance.
歩骤 205a: NFVO提交实例化参数到 VNFM。  Step 205a: NFVO submits the instantiation parameter to VNFM.
实例化参数包括应用相关的参数和非应用相关的参数, 其中应用相关的 参数是指运行在 VNF上的应用相关的参数, 如 VNF和 /或部署 VNF的虚拟 机要满足的业务的吞吐量、 网络带宽等参数; 非应用相关的参数是指与 VNF 部署行为和操作行为相关的配置参数, 具体是指 VNF对 NFVI资源的需求以 及对 VNF生命周期管理过程中行为的限定和描述。 实例化参数和 VNFD— 起用于对部署 VNF的资源和 VNF实例化过程进行需求描述和需求限定。  The instantiation parameters include application-related parameters and application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or the throughput of the service to be satisfied by the virtual machine deploying the VNF, Parameters such as network bandwidth; Non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management. Instantiation parameters and VNFD—used to describe requirements and requirements for resources and VNF instantiation processes that deploy VNF.
歩骤 205b-205c: VNFM获取 VNFD并检查实例化参数, 如果需要的话 会对实例化参数进行一些修改。  Steps 205b-205c: VNFM obtains the VNFD and checks the instantiation parameters, and if necessary, makes some modifications to the instantiation parameters.
具体是指, 当 VNFM中预设置的 VNF实例化参数与 VNFD中描述的需 求信息和 /或 NFVO提交给 VNFM的实例化参数不一致时, VNFM会对不一 致的实例化参数进行修改。  Specifically, when the VNF instantiation parameter preset in the VNFM is inconsistent with the demand information described in the VNFD and/or the instantiation parameter submitted by the NFVO to the VNFM, the VNFM modifies the inconsistent instantiation parameters.
在歩骤 203中, NFVO有可能不能直接读取 VNFD中增加的对时钟中断 需求描述的相关信息, VNFM会在这一歩骤中从 VNFD中解析时钟中断需求, 发送给 NFVO。  In step 203, the NFVO may not directly read the information about the clock interrupt requirement added in the VNFD. In this step, the VNFM parses the clock interrupt request from the VNFD and sends it to the NFVO.
歩骤 206a: NFVO 选择一个认为可以给 VNF 提供满足需求的资源的  Step 206a: NFVO chooses a resource that is considered to provide VNF with a demand
"NFVI资源(NFVI resource) "数据库中包括对 NFVI服务器能力的记录, 具体包括 NFVI服务器能提供的资源描述, 包括能提供的所有的资源、 已经 提供的资源、 剩下的可用的资源以及已经预留资源等。 The "NFVI resource" database includes a record of the capabilities of the NFVI server, including the resource descriptions that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining resources available, and the pre-requisites. Keep resources and so on.
NFVO根据" NFVI resource"数据库中的记录,选择一个能够 VIM,该 VIM 管理的 NFVI服务器的能力能够满足 VNF的需求。这里的需求具体是指 VNFD 中描述的需求以及实例化参数中限定的需求。 NFVO selects a VIM based on the records in the "NFVI resource" database, the VIM The ability of the managed NFVI server to meet the needs of the VNF. The requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
歩骤 206b: NFVO向 VIM发送资源预留请求, 其中不仅包括 VNF对计 算、 存储和网络资源的需求, 还包括 VNF对时钟中断的需求 (VNF是否需 要直接访问硬件时钟设备获取时钟中断) 。  Step 206b: The NFVO sends a resource reservation request to the VIM, which includes not only the VNF requirements for calculation, storage, and network resources, but also the VNF requirement for a clock interrupt (whether the VNF needs to directly access the hardware clock device to obtain a clock interrupt).
歩骤 206c: VIM检查所管理的资源的状态, 返回资源预留结果。 其中, VIM除了考虑计算、 存储和网络资源的状态, 还要考虑所管理的时钟设备资 源的状态, 如果时钟设备负载较大, 可以执行歩骤 206d, 即返回资源预留失 败指示给 NFVO, NFVO重新执行歩骤 200-206c, 直到选择合适的 VIM。  Step 206c: The VIM checks the status of the managed resource and returns the resource reservation result. In addition to considering the state of the computing, storage, and network resources, the VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 206d may be performed, that is, the resource reservation failure indication is returned to the NFVO, NFVO. Re-execute steps 200-206c until the appropriate VIM is selected.
歩骤 207a: 如果 VNF需要如果 VNF需要采用直接访问硬件时钟设备的 方式获取时钟中断 NFVO向时钟地址管理器发送查询请求, 查询请求中携带 VNF的身份标识号码 (Identity, 简称 ID) , 映射的物理设备的 ID (可能包 括一个或多个) 信息。  Step 207a: If the VNF needs to obtain a clock interrupt by directly accessing the hardware clock device, the NFVO sends a query request to the clock address manager, and the query request carries the VNF identification number (ID), the mapped physical The ID of the device (which may include one or more) information.
歩骤 207b-207c: 时钟地址管理器根据查询请求, 本地查询 VNF可以直 接访问的硬件时钟地址, 并确认 VNF的访问权限, 将结果返回给 NFVO, 结 果中包括硬件时钟的地址,也可以包括 VNF访问硬件时钟的周期和持续时长 的配置信息。  Steps 207b-207c: The clock address manager locally queries the hardware clock address that the VNF can directly access according to the query request, and confirms the access authority of the VNF, and returns the result to the NFVO. The result includes the address of the hardware clock, and may also include the VNF. Access to the hardware clock cycle and duration configuration information.
歩骤 208: NFVO发送 VNF实例化请求给 VNFM, 其中携带了对应 VIM 的标识 (如统一资源定位符 (Uniform Resource Locator, 简称 URL等) 以及 硬件时钟地址和配置信息指示。  Step 208: The NFVO sends a VNF instantiation request to the VNFM, which carries the identifier of the corresponding VIM (such as a Uniform Resource Locator (URL), and a hardware clock address and configuration information indication.
可选的, NFVO也可以在此歩骤中配置 VNF访问硬件时钟的周期和持续 时长。  Optionally, NFVO can also configure the period and duration of the VNF access hardware clock in this step.
歩骤 209a-209b: VNFM请求 VIM为 VNF分配资源。  Steps 209a-209b: The VNFM requests the VIM to allocate resources for the VNF.
歩骤 21 Oa-210b: VNFM根据 VNFD请求 VIM创建和启动虚拟机, 包括 安装软件程序包, 执行启动脚本程序, 发送配置数据, 并将虚拟机连接到网 络等。  Step 21 Oa-210b: VNFM requests VIM to create and start a virtual machine based on VNFD request, including installing a software package, executing a startup script, sending configuration data, and connecting the virtual machine to the network.
歩骤 211 : VNFM指示 VNF可以直接访问的硬件时钟地址, 访问周期和 持续时长。  Step 211: The VNFM indicates the hardware clock address, access period, and duration that the VNF can directly access.
歩骤 212: VNF根据 VNFM的指示访问硬件时钟, 获取硬件时钟中断, 对程序进行调度。 歩骤 213: VNFM返回 VNF实例化结果给 NFVO。 Step 212: The VNF accesses the hardware clock according to the indication of the VNFM, acquires a hardware clock interrupt, and schedules the program. Step 213: The VNFM returns the VNF instantiation result to the NFVO.
歩骤 214a-214b: NFVO根据 VNFM返回的 VNF实例化结果进行资源状 态更新。  Steps 214a-214b: The NFVO updates the resource status based on the VNF instantiation result returned by the VNFM.
歩骤 215: NFVO更新 "NFV Instances"和 "NF VI resource"数据库。 歩骤 216: NFVO返回 VNF实例化结果给 Sender。  Step 215: NFVO updates the "NFV Instances" and "NF VI resource" databases. Step 216: NFVO returns the VNF instantiation result to Sender.
本实施例中的时钟地址管理器由 OSS/BSS系统或者时钟地址服务器来维 护, 具体的, 可以是 OSS/BSS系统中的 EMS来维护, 并且时钟模块与硬件 之间可以通过接口相连, 如图 3所示, 也可以在硬件中集成时钟模块, 如图 4 所示, 或者时钟地址管理器由时钟地址服务器来维护, 其中时钟模块服务 器负责管理和维护网络中的各个时钟模块 /设备的状态和地址。 并且时钟模块 与硬件之间可以通过接口相连, 如图 5所示, 也可以在硬件中集成时钟模块, 如图 6所示。  The clock address manager in this embodiment is maintained by the OSS/BSS system or the clock address server. Specifically, it can be maintained by the EMS in the OSS/BSS system, and the clock module and the hardware can be connected through the interface. As shown in Figure 3, the clock module can also be integrated in the hardware, as shown in Figure 4, or the clock address manager is maintained by a clock address server, which is responsible for managing and maintaining the status of each clock module/device in the network. address. And the clock module and the hardware can be connected through the interface. As shown in Figure 5, the clock module can also be integrated in the hardware, as shown in Figure 6.
本发明实施例提供的时钟中断信号的获取方法, NFV功能实体根据 VNFD描述信息, 确定 VNF的时钟中断精度需求, 然后, NFV功能实体根据 时钟中断精度需求, 为 VNF确定硬件时钟地址, 最后将所确定的硬件时钟地 址发送给 VNF, VNF就可根据获得的硬件时钟地址访问硬件时钟, 并获取时 钟中断信号。 而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的 客户操作系统软件时钟中断信号, 再将软件时钟中断信号提供给 VNF供 VNF 执行程序调度的时钟信号传输过程, 从而避免了时钟信号的延迟以及延迟抖 动, 保证了中断信号执行的及时性, 并保证程序被及时调度。  According to the method for acquiring a clock interrupt signal provided by the embodiment of the present invention, the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and then, the NFV function entity determines the hardware clock address for the VNF according to the clock interrupt precision requirement, and finally The determined hardware clock address is sent to the VNF, and the VNF can access the hardware clock according to the obtained hardware clock address and obtain the clock interrupt signal. Instead of calling the underlying hardware clock interrupt signal by the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, the software clock interrupt signal is provided to the VNF for the VNF execution program to schedule the clock signal transmission process, thereby avoiding the clock signal. Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.
图 7为本发明实施例二提供的时钟中断信号的获取方法流程图二, 如图 7所示, 本实施例提供的实施场景中, 时钟地址管理器由 OSS/BSS系统或者 时钟地址服务器来维护, 并且由 VNFM向时钟地址管理器发送时钟地址查询 请求, 该方法包括:  FIG. 7 is a flowchart 2 of a method for acquiring a clock interrupt signal according to Embodiment 2 of the present invention. As shown in FIG. 7 , in the implementation scenario provided by this embodiment, a clock address manager is maintained by an OSS/BSS system or a clock address server. And sending, by the VNFM, a clock address query request to the clock address manager, the method comprising:
歩骤 300: 在 VNFD中增加 VNF对时钟中断精度的需求描述, 通过 VNF加 载过程, 由第三方实体将 VNFD发送给 NFVO, 由 NFVO将 VNFD提交到 VNF 目录中, 以便 NFVO和 VNFM能够获取 VNF的同歩需求。  Step 300: Add a VNF requirement for clock interrupt accuracy in the VNFD. Through the VNF loading process, the VNFD is sent to the NFVO by the third-party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM can acquire the VNF. Peer needs.
其中, 第三方实体可以是任何一个代表 VNF提供商的实体, 也可以是服 务提供商的管理域内的一个实体。  The third-party entity may be any entity that represents the VNF provider or an entity within the management domain of the service provider.
VNFD是指一个描述 VNF部署和操作行为的配置模板, 具体包括对 VNF 部署行为和操作行为配置的描述, 其中部署行为包括但不限于 VNF要求的部 署环境, 具体是指 VNF对 NFVI资源的需求, 如虚拟机个数, 虚拟机映象 (image)个数、 需要的计算资源和存储资源等。 操作行为主要是 VNF生命周 期管理过程中的行为,包括但不限于 VNF拓扑、 启动和关闭、 与 VNF生命周期 事件匹配的功能性脚本等。 VNFD refers to a configuration template that describes the VNF deployment and operational behavior, including VNF. Description of the deployment behavior and operational behavior configuration, including but not limited to the deployment environment required by the VNF, specifically the VNF requirements for NFVI resources, such as the number of virtual machines, the number of virtual machine images, and the required Computing resources, storage resources, etc. The operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and so on.
歩骤 301: NFVO收到 Sender发送的实例化 VNF的请求。  Step 301: NFVO receives a request for instantiating a VNF sent by Sender.
该请求用于实例化一个新的 VNF;  This request is used to instantiate a new VNF;
其中, Sender可以是 OSS、 EMS, VNFM。  Among them, Sender can be OSS, EMS, VNFM.
歩骤 302: NFVO验证收到的 Sender发送的实例化 VNF的请求的有效性。 其中, 有效性是指 VNF请求的合法性, 包括但不限于 Sender的合法性 和实例化请求本身的合法性, 具体的, Sender的合法性是指 Sender是否被授 权发送该请求; 实例化请求本身的合法性是指该请求携带的安全参数是否能 证明该请求是合法的, 没有被第三方篡改的。  Step 302: The NFVO verifies the validity of the request sent by the Sender to instantiate the VNF. The validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself. Specifically, the legality of the Sender refers to whether the sender is authorized to send the request; The legality refers to whether the security parameters carried by the request can prove that the request is legal and has not been tampered with by a third party.
歩骤 303: NFVO从 VNF目录中读取 VNFD, 包括读取 VNF对时钟中断的 需求。  Step 303: NFVO reads the VNFD from the VNF directory, including reading the VNF for the clock interrupt.
歩骤 304: NFVO生成一个 VNF实例项, 并将生成的实例项增加到" NFV Instances"数据库中。  Step 304: NFVO generates a VNF instance item and adds the generated instance item to the "NFV Instances" database.
其中, VNF实例项具体用于在 VNF实例运行期间 NFVO和 /或 VNFM 根据该 VNF实例项对 VNF实例的相关信息进行查询和维护。 VNF实例的相 关信息具体是指 VNF实例使用的 NFVI资源、 VNF实例对应的虚拟机的运行 状态、 性能等。  The VNF instance item is specifically used to query and maintain the information about the VNF instance according to the VNF instance item during the running of the VNF instance. The information about the VNF instance refers to the NFVI resource used by the VNF instance, the running status and performance of the VM corresponding to the VNF instance.
歩骤 305a: NFVO提交实例化参数到 VNFM。  Step 305a: NFVO submits the instantiation parameters to VNFM.
其中, 实例化参数包括应用相关的参数和非应用相关的参数, 其中应用 相关的参数是指运行在 VNF上的应用相关的参数, 如 VNF和 /或部署 VNF 的虚拟机要满足的业务的吞吐量、 网络带宽等参数; 非应用相关的参数是指 与 VNF部署行为和操作行为相关的配置参数, 具体是指 VNF对 NFVI资源 的需求以及对 VNF 生命周期管理过程中行为的限定和描述。 实例化参数和 VNFD一起用于对部署 VNF的资源和 VNF实例化过程进行需求描述和需求 限定。  The instantiation parameters include application-related parameters and non-application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or throughput of services to be satisfied by the virtual machine deploying the VNF. Parameters such as quantity and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management. The instantiation parameters are used together with the VNFD to describe requirements and requirements for the resources and VNF instantiation process for deploying the VNF.
歩骤 305b-305c: VNFM获取 VNFD并检查实例化参数, 如果需要的话会 对实例化参数进行一些修改。 Steps 305b-305c: VNFM obtains VNFD and checks for instantiation parameters, if needed Make some modifications to the instantiation parameters.
具体是指, 当 VNFM中预设置的 VNF实例化参数与 VNFD中描述的需 求信息和 /或 NFVO提交给 VNFM的实例化参数不一致时, VNFM会对不一 致的实例化参数进行修改。  Specifically, when the VNF instantiation parameter preset in the VNFM is inconsistent with the demand information described in the VNFD and/or the instantiation parameter submitted by the NFVO to the VNFM, the VNFM modifies the inconsistent instantiation parameters.
在歩骤 303中, NFVO有可能不能直接读取 VNFD中增加的对时钟中断需 求描述的相关信息, VNFM会在这一歩骤中从 VNFD中解析时钟中断需求,发 送给 NFVO。  In step 303, the NFVO may not directly read the related information about the clock interrupt requirement added in the VNFD, and the VNFM will parse the clock interrupt request from the VNFD in this step and send it to the NFVO.
歩骤 306a: NFVO选择一个认为可以给 VNF提供满足需求资源的 VIM。 其中, "NFVI resource"数据库中包括对 NFVI服务器能力的记录, 具 体包括 NFVI服务器能提供的资源描述, 包括能提供的所有的资源、 已经提 供的资源、 剩下的可用的资源以及已经预留资源等。  Step 306a: NFVO selects a VIM that is considered to provide VNF with a resource that satisfies the demand. The "NFVI resource" database includes a record of the capabilities of the NFVI server, including the resource descriptions that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining available resources, and the resources that have been reserved. Wait.
NFVO根据 "NFVI resource"数据库中的记录, 选择一个能够 VIM, 该 VIM管理的 NFVI服务器的能力能够满足 VNF的需求。这里的需求具体是指 VNFD中描述的需求以及实例化参数中限定的需求。  Based on the records in the "NFVI resource" database, NFVO selects a VIM capable of managing the NFVI server that meets the VNF requirements. The requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
歩骤 306b: NFVO向 VIM发送资源预留请求, 其中不仅包括 VNF对计算、 存储和网络资源的需求, 还包括 VNF对时钟中断的需求 (VNF是否需要直接 访问硬件时钟设备获取时钟中断) 。  Step 306b: The NFVO sends a resource reservation request to the VIM, which includes not only the VNF requirements for computing, storage, and network resources, but also a VNF requirement for a clock interrupt (whether the VNF needs to directly access the hardware clock device to obtain a clock interrupt).
歩骤 306c: VIM检查所管理的资源的状态, 返回资源预留结果。 其中, VIM除了考虑计算、 存储和网络资源的状态, 还要考虑所管理的时钟设备资 源的状态, 如果时钟设备负载较大, 可以执行歩骤 306d, 即返回资源预留失 败指示给 NFVO, NFVO重新执行歩骤 300-306c, 直到选择合适的 VIM。  Step 306c: The VIM checks the status of the managed resources and returns the resource reservation result. In addition to considering the state of the computing, storage, and network resources, the VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 306d may be performed, that is, the resource reservation failure indication is returned to the NFVO, NFVO. Re-execute steps 300-306c until the appropriate VIM is selected.
歩骤 307: NFVO发送 VNF实例化请求给 VNFM, 其中携带了对应 VIM的 标识 (如 URL) 。  Step 307: The NFVO sends a VNF instantiation request to the VNFM, which carries an identifier (such as a URL) corresponding to the VIM.
歩骤 308a-308b: VNFM请求 VIM给 VNF分配资源。  Steps 308a-308b: The VNFM requests the VIM to allocate resources to the VNF.
歩骤 309a-309b: VNFM根据 VNFD请求 VIM创建和启动虚拟机, 包括安 装软件程序包, 执行启动脚本程序, 发送配置数据, 并将 VM连接到网络等。  Steps 309a-309b: The VNFM creates and starts a virtual machine based on the VNFD request VIM, including installing a software package, executing a startup script, sending configuration data, and connecting the VM to the network.
歩骤 310a: 如果 VNF需要采用如果 VNF需要采用直接访问硬件时钟设备 的方式获取时钟中断, VNFM向时钟地址管理器发送查询请求, 携带 VNF的 ID, 映射的物理设备的 ID (可能包括一个或多个) 信息。  Step 310a: If the VNF needs to adopt a clock interrupt if the VNF needs to directly access the hardware clock device, the VNFM sends a query request to the clock address manager, carries the VNF ID, and maps the ID of the physical device (may include one or more Information).
VNFM还需要向 NFVO请求时钟地址管理器的地址,以便向时钟地址管理 器发送查询请求; VNFM also needs to request the address of the clock address manager from NFVO for clock address management. Send a query request;
或者在歩骤 307中, NFVO在发送 VNF实例化请求给 VNFM时, 携带了时 钟地址管理器的地址。  Or, in step 307, the NFVO carries the address of the clock address manager when sending the VNF instantiation request to the VNFM.
歩骤 310b-310c: 时钟地址管理器根据请求本地查询 VNF可以直接访问的 硬件时钟的地址, 并确认 VNF的访问权限, 将结果返回给 NFVO, 结果中包 括硬件时钟的地址, 也可以包括 VNF访问硬件时钟的周期和持续时长的配置 Steps 310b-310c: The clock address manager locally queries the address of the hardware clock that the VNF can directly access, and confirms the access authority of the VNF, and returns the result to the NFVO. The result includes the address of the hardware clock, and may also include the VNF access. Hardware clock cycle and duration configuration
^ I Ft自Θ、。 ^ I Ft is self-defeating.
歩骤 311 : VNFM指示 VNF可以直接访问的硬件时钟地址, 访问周期和持 续时长。  Step 311: VNFM indicates the hardware clock address, access period and duration of time that the VNF can directly access.
可选的, VNFM也可在此歩骤中配置 VNF访问硬件时钟的周期和持续时 长。  Optionally, the VNFM can also configure the period and duration of the VNF access hardware clock in this step.
歩骤 312: VNF根据 VNFM的指示访问硬件时钟, 获取硬件时钟中断, 对 程序进行调度。  Step 312: The VNF accesses the hardware clock according to the instruction of the VNFM, acquires a hardware clock interrupt, and schedules the program.
歩骤 313: VNFM返回 VNF实例化结果给 NFVO。  Step 313: The VNFM returns the VNF instantiation result to the NFVO.
歩骤 314a-314b: NFVO根据 VNFM返回的 VNF实例化结果进行资源状态 更新。  Steps 314a-314b: NFVO performs resource status update based on the VNF instantiation result returned by VNFM.
歩骤 315: NFVO更新 "NFV Instances"和 "NF VI resource"数据库。 歩骤 316: NFVO返回 VNF实例化结果给 Sender。  Step 315: NFVO updates the "NFV Instances" and "NF VI resource" databases. Step 316: NFVO returns the VNF instantiation result to Sender.
本实施例中的时钟地址管理器由 OSS/BSS系统或者时钟地址服务器来维 护, 具体的, 可以是 OSS/BSS系统中的 EMS来维护, 并且时钟模块与硬件 之间可以通过接口相连, 如图 3所示, 也可以在硬件中集成时钟模块, 如图 4 所示, 或者时钟地址管理器由时钟地址服务器来维护, 其中时钟模块服务 器负责管理和维护网络中的各个时钟模块 /设备的状态和地址。 并且时钟模块 与硬件之间可以通过接口相连, 如图 5所示, 也可以在硬件中集成时钟模块, 如图 6所示。  The clock address manager in this embodiment is maintained by the OSS/BSS system or the clock address server. Specifically, it can be maintained by the EMS in the OSS/BSS system, and the clock module and the hardware can be connected through the interface. As shown in Figure 3, the clock module can also be integrated in the hardware, as shown in Figure 4, or the clock address manager is maintained by a clock address server, which is responsible for managing and maintaining the status of each clock module/device in the network. address. And the clock module and the hardware can be connected through the interface. As shown in Figure 5, the clock module can also be integrated in the hardware, as shown in Figure 6.
本发明实施例提供的时钟中断信号的获取方法, NFV 功能实体根据 VNFD描述信息, 确定 VNF的时钟中断精度需求, 然后, NFV功能实体根 据时钟中断精度需求, 为 VNF确定硬件时钟地址, 最后将所确定的硬件时钟 地址发送给 VNF, VNF就可根据获得的硬件时钟地址访问硬件时钟, 并获取 时钟中断信号。 而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机 的客户操作系统软件时钟中断信号, 再将软件时钟中断信号提供给 VNF 供 VNF执行程序调度的时钟信号传输过程, 从而避免了时钟信号的延迟以及延 迟抖动, 保证了中断信号执行的及时性, 并保证程序被及时调度。 According to the method for acquiring a clock interrupt signal provided by the embodiment of the present invention, the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and then the NFV function entity determines the hardware clock address for the VNF according to the clock interrupt precision requirement, and finally The determined hardware clock address is sent to the VNF, and the VNF can access the hardware clock according to the obtained hardware clock address and obtain the clock interrupt signal. No need to generate a virtual machine by calling the underlying hardware clock interrupt signal through the virtual machine The guest operating system software clock interrupt signal, and then the software clock interrupt signal is provided to the VNF for the VNF execution program to schedule the clock signal transmission process, thereby avoiding the delay of the clock signal and the delay jitter, ensuring the timeliness of the execution of the interrupt signal, and Ensure that the program is scheduled in time.
图 8为本发明实施例三提供的时钟中断信号的获取方法流程图, 如图 8 所示, 本实施例提供的实施场景中, 时钟地址管理器由 NFVO维护, 该方法 包括:  FIG. 8 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 3 of the present invention. As shown in FIG. 8, in the implementation scenario provided by the embodiment, the clock address manager is maintained by the NFVO, and the method includes:
歩骤 400:在 VNFD中增加 VNF对时钟中断精度的需求描述,通过 VNF 加载过程, 由第三方实体将 VNFD发送给 NFVO, 由 NFVO将 VNFD提交到 VNF目录中, 以便 NFVO和 VNFM获取 VNF的同歩需求。  Step 400: Add a VNF requirement for clock interrupt accuracy in the VNFD. Through the VNF loading process, the VNFD is sent to the NFVO by the third party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM acquire the VNF.歩 demand.
其中, 第三方实体可以是任何一个代表 VNF提供商的实体, 也可以是服 务提供商的管理域内的一个实体。  The third-party entity may be any entity that represents the VNF provider or an entity within the management domain of the service provider.
VNFD是指一个描述 VNF部署和操作行为的配置模板, 具体包括对 VNF 部署行为和操作行为配置的描述, 其中部署行为包括但不限于 VNF要求的部 署环境, 具体是指 VNF对 NFVI资源的需求, 如虚拟机个数, 虚拟机映象 (image)个数、 需要的计算资源和存储资源等。 操作行为主要是 VNF生命周 期管理过程中的行为,包括但不限于 VNF拓扑、 启动和关闭、 与 VNF生命周期 事件匹配的功能性脚本等。  VNFD is a configuration template that describes the VNF deployment and operational behavior. It includes a description of the VNF deployment behavior and operational behavior configuration. The deployment behavior includes but is not limited to the deployment environment required by the VNF. Specifically, the VNF needs the NFVI resources. Such as the number of virtual machines, the number of virtual machine images, the required computing resources and storage resources. The operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and so on.
歩骤 401: NFVO收到 Sender发送的实例化 VNF的请求。  Step 401: NFVO receives a request for instantiating a VNF sent by Sender.
该请求用于实例化一个新的 VNF;  This request is used to instantiate a new VNF;
其中, Sender可以是 OSS、 EMS, VNFM。  Among them, Sender can be OSS, EMS, VNFM.
歩骤 402: NFVO验证收到的 Sender发送的实例化 VNF的请求的有效性; 其中, 有效性是指 VNF请求的合法性, 包括但不限于 Sender的合法性 和实例化请求本身的合法性, 具体的, Sender的合法性是指 Sender是否被授 权发送该请求; 实例化请求本身的合法性是指该请求携带的安全参数是否能 证明该请求是合法的, 没有被第三方篡改的。  Step 402: The NFVO verifies the validity of the request for instantiating the VNF sent by the Sender; wherein, the validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself. Specifically, the validity of the Sender refers to whether the sender is authorized to send the request; the legality of the instantiation request itself refers to whether the security parameter carried by the request can prove that the request is legal and has not been tampered with by a third party.
歩骤 403: NFVO从 VNF目录中读取 VNFD。 包括读取 VNF对时钟中断的 需求 0 Step 403: NFVO reads the VNFD from the VNF directory. VNF including reading the clock interrupt demand 0
歩骤 404: NFVO生成一个 VNF实例项, 并将生成的实例项增加到 "NFV Instances"数据库中。  Step 404: NFVO generates a VNF instance item and adds the generated instance item to the "NFV Instances" database.
其中, VNF实例项具体用于在 VNF实例运行期间 NFVO和 /或 VNFM 根据该 VNF实例项对 VNF实例的相关信息进行查询和维护。 VNF实例的相 关信息具体是指 VNF实例使用的 NFVI资源、 VNF实例对应的虚拟机的运行 状态、 性能等。 The VNF instance item is specifically used to run NFVO and/or VNFM during VNF instance operation. Query and maintain related information of the VNF instance according to the VNF instance item. The information about the VNF instance refers specifically to the NFVI resources used by the VNF instance, the running status and performance of the virtual machine corresponding to the VNF instance.
歩骤 405a: NFVO提交实例化参数到 VNFM。  Step 405a: NFVO submits the instantiation parameters to VNFM.
其中, 实例化参数包括应用相关的参数和非应用相关的参数, 其中应用 相关的参数是指运行在 VNF上的应用相关的参数, 如 VNF和 /或部署 VNF 的虚拟机要满足的业务的吞吐量、 网络带宽等参数; 非应用相关的参数是指 与 VNF部署行为和操作行为相关的配置参数, 具体是指 VNF对 NFVI资源 的需求以及对 VNF 生命周期管理过程中行为的限定和描述。 实例化参数和 VNFD一起用于对部署 VNF的资源和 VNF实例化过程进行需求描述和需求 限定。  The instantiation parameters include application-related parameters and non-application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or throughput of services to be satisfied by the virtual machine deploying the VNF. Parameters such as quantity and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management. The instantiation parameters are used together with the VNFD to describe requirements and requirements for the resources and VNF instantiation process for deploying the VNF.
歩骤 405b-405c: VNFM获取 VNFD并检查实例化参数, 如果需要的话会 对实例化参数进行一些修改。  Steps 405b-405c: VNFM takes VNFD and checks for instantiation parameters, and some modifications are made to the instantiation parameters if needed.
具体是指, 当 VNFM中预设置的 VNF实例化参数与 VNFD中描述的需 求信息和 /或 NFVO提交给 VNFM的实例化参数不一致时, VNFM会对不一 致的实例化参数进行修改。  Specifically, when the VNF instantiation parameter preset in the VNFM is inconsistent with the demand information described in the VNFD and/or the instantiation parameter submitted by the NFVO to the VNFM, the VNFM modifies the inconsistent instantiation parameters.
在歩骤 403中, NFVO有可能不能直接读取 VNFD中增加的对时钟中断需 求描述的相关信息, VNFM会在这一歩骤中从 VNFD中解析时钟中断需求,发 送给 NFVO。  In step 403, NFVO may not be able to directly read the relevant information about the clock interrupt requirement added in VNFD. VNFM will parse the clock interrupt request from VNFD and send it to NFVO in this step.
歩骤 406a: NFVO选择一个认为可以给 VNF提供满足需求资源的 VIM。 其中, "NFVI resource"数据库中包括对 NFVI服务器能力的记录, 具 体包括 NFVI服务器能提供的资源描述, 包括能提供的所有的资源、 已经提 供的资源、 剩下的可用的资源以及已经预留资源等。  Step 406a: NFVO selects a VIM that is considered to provide the VNF with a resource that satisfies the demand. The "NFVI resource" database includes a record of the capabilities of the NFVI server, including the resource descriptions that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining available resources, and the resources that have been reserved. Wait.
NFVO根据 "NFVI resource"数据库中的记录, 选择一个能够 VIM, 该 VIM管理的 NFVI服务器的能力能够满足 VNF的需求。这里的需求具体是指 VNFD中描述的需求以及实例化参数中限定的需求。  Based on the records in the "NFVI resource" database, NFVO selects a VIM capable of managing the NFVI server that meets the VNF requirements. The requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
歩骤 406b: NFVO向 VIM发送资源预留请求, 其中不仅包括 VNF对计算、 存储和网络资源的需求, 还包括 VNF对时钟中断的需求 (VNF是否需要直接 访问硬件时钟设备获取时钟中断) 。  Step 406b: The NFVO sends a resource reservation request to the VIM, which includes not only the VNF requirements for computing, storage, and network resources, but also a VNF requirement for a clock interrupt (whether the VNF needs to directly access the hardware clock device to obtain a clock interrupt).
歩骤 406c: VIM检查所管理的资源的状态, 返回资源预留结果。 其中, VIM除了考虑计算、 存储和网络资源的状态, 还要考虑所管理的时钟设备资 源的状态, 如果时钟设备负载较大, 可以执行歩骤 406d, 即返回资源预留失 败指示给 NFVO, NFVO重新执行歩骤 400-406c, 直到选择合适的 VIM。 Step 406c: The VIM checks the status of the managed resource and returns the resource reservation result. among them, In addition to considering the state of computing, storage, and network resources, VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 406d can be performed, that is, the resource reservation failure indication is returned to NFVO, and NFVO is re-executed. Steps 400-406c, until the appropriate VIM is selected.
歩骤 407: 如果 VNF需要采用直接访问硬件时钟设备的方式获取时钟中 断, NFVO根据 VIM返回的资源预留结果中的物理设备的 ID, 本地查询 VNF 可以直接访问的硬件时钟的地址, 并确认 VNF的访问权限。 同时配置 VNF访 问硬件时钟的周期和持续时长。  Step 407: If the VNF needs to directly access the hardware clock device to obtain a clock interrupt, the NFVO locally queries the address of the hardware clock that the VNF can directly access according to the ID of the physical device in the resource reservation result returned by the VIM, and confirms the VNF. Access rights. Also configure the period and duration of the VNF access hardware clock.
歩骤 408: NFVO发送 VNF实例化请求给 VNFM, 其中携带了对应 VIM的 标识 (如 URL) 以及硬件时钟地址和配置信息指示。  Step 408: The NFVO sends a VNF instantiation request to the VNFM, where the VIM identifier (such as a URL) and the hardware clock address and configuration information indication are carried.
歩骤 409a-409b: VNFM请求 VIM给 VNF分配资源。  Steps 409a-409b: The VNFM requests the VIM to allocate resources to the VNF.
歩骤 410a-410b: VNFM根据 VNFD请求 VIM创建和启动虚拟机, 包括安 装软件程序包, 执行启动脚本程序, 发送配置数据, 并将 VM连接到网络等。  Steps 410a-410b: The VNFM creates and starts a virtual machine based on the VNFD request VIM, including installing a software package, executing a startup script, sending configuration data, and connecting the VM to the network.
歩骤 411 : VNFM指示 VNF可以直接访问的硬件时钟地址, 访问周期和持 续时长。  Step 411: VNFM indicates the hardware clock address, access period and duration of time that the VNF can directly access.
歩骤 412: VNF根据 VNFM的指示访问硬件时钟, 获取硬件时钟中断, 对 程序进行调度。  Step 412: The VNF accesses the hardware clock according to the indication of the VNFM, acquires a hardware clock interrupt, and schedules the program.
歩骤 413: VNFM返回 VNF实例化结果给 NFVO。  Step 413: The VNFM returns the VNF instantiation result to the NFVO.
歩骤 414a-414b: NFVO根据 VNFM返回的 VNF实例化结果进行资源状态 更新。  Steps 414a-414b: The NFVO performs resource status update based on the VNF instantiation result returned by the VNFM.
歩骤 415: NFVO更新 "NFV Instances"和 "NF VI resource"数据库。 歩骤 416: NFVO返回 VNF实例化结果给 Sender。  Step 415: NFVO updates the "NFV Instances" and "NF VI resource" databases. Step 416: NFVO returns the VNF instantiation result to Sender.
本实施例中的时钟地址管理器由 NFVO来维护, 并且时钟地址管理器模 块与硬件之间可以通过接口相连, 如图 9所示, 也可以在硬件中集成时钟地 址管理器模块, 如图 10所示。  The clock address manager in this embodiment is maintained by NFVO, and the clock address manager module and the hardware can be connected through an interface. As shown in FIG. 9, the clock address manager module can also be integrated in the hardware, as shown in FIG. Shown.
本发明提供的时钟中断信号的获取方法, NFV功能实体根据 VNFD描述 信息,确定 VNF的时钟中断精度需求,然后, NFV功能实体本地查询为 VNF 确定硬件时钟地址, 然后将所确定的硬件时钟地址发送给 VNF, VNF就可根 据获得的硬件时钟地址访问硬件时钟, 并获取时钟中断信号。 而无需通过虚 拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断 信号, 再将软件时钟中断信号提供给 VNF供 VNF执行程序调度的时钟信号 传输过程, 从而避免了时钟信号的延迟以及延迟抖动, 保证了中断信号执行 的及时性, 并保证程序被及时调度。 According to the method for obtaining a clock interrupt signal provided by the present invention, the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and then the NFV function entity locally queries the VNF to determine the hardware clock address, and then sends the determined hardware clock address. For the VNF, the VNF can access the hardware clock based on the obtained hardware clock address and obtain the clock interrupt signal. The virtual machine's guest operating system software clock interrupt signal is generated without calling the underlying hardware clock interrupt signal through the virtual machine, and then the software clock interrupt signal is provided to the VNF for the VNF to execute the program scheduling clock signal. The transmission process avoids the delay of the clock signal and the delay jitter, ensures the timeliness of the execution of the interrupt signal, and ensures that the program is scheduled in time.
图 11 为本发明实施例四提供的时钟中断信号的获取方法流程图, 如图 11所示, 本实施例提供的实施场景中, 时钟地址管理器由 VIM维护, 该方法 包括:  FIG. 11 is a flowchart of a method for acquiring a clock interrupt signal according to Embodiment 4 of the present invention. As shown in FIG. 11, in the implementation scenario provided by the embodiment, the clock address manager is maintained by the VIM, and the method includes:
歩骤 500: 在 VNFD中增加 VNF对时钟中断精度的需求描述, 通过 VNF加载过程, 由第三方实体将 VNFD发送给 NFVO, 由 NFVO将 VNFD 提交到 VNF目录中, 以便 NFVO和 VNFM能够获取 VNF的同歩需求。  Step 500: Add VNF to the VNFD requirements for clock interrupt accuracy. Through the VNF loading process, the VNFD is sent to the NFVO by the third-party entity, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and the VNFM can acquire the VNF. Peer needs.
其中, 第三方实体可以是任何一个代表 VNF提供商的实体, 也可以是服 务提供商的管理域内的一个实体。  The third-party entity may be any entity that represents the VNF provider or an entity within the management domain of the service provider.
VNFD是指一个描述 VNF部署和操作行为的配置模板, 具体包括对 VNF 部署行为和操作行为配置的描述, 其中部署行为包括但不限于 VNF要求的部 署环境, 具体是指 VNF对 NFVI资源的需求, 如虚拟机个数, 虚拟机映象 (image)个数、 需要的计算资源和存储资源等。 操作行为主要是 VNF生命周 期管理过程中的行为,包括但不限于 VNF拓扑、 启动和关闭、 与 VNF生命周期 事件匹配的功能性脚本等。  VNFD is a configuration template that describes the VNF deployment and operational behavior. It includes a description of the VNF deployment behavior and operational behavior configuration. The deployment behavior includes but is not limited to the deployment environment required by the VNF. Specifically, the VNF needs the NFVI resources. Such as the number of virtual machines, the number of virtual machine images, the required computing resources and storage resources. The operational behavior is primarily the behavior of the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, functional scripts that match VNF lifecycle events, and so on.
歩骤 501: NFVO收到 Sender发送的实例化 VNF的请求。  Step 501: NFVO receives a request for instantiating a VNF sent by Sender.
该请求用于实例化一个新的 VNF;  This request is used to instantiate a new VNF;
其中, Sender可以是 OSS、 EMS, VNFM。  Among them, Sender can be OSS, EMS, VNFM.
歩骤 502: NFVO验证请求的有效性。  Step 502: The validity of the NFVO verification request.
其中, 有效性是指 VNF请求的合法性, 包括但不限于 Sender的合法性 和实例化请求本身的合法性, 具体的, Sender的合法性是指 Sender是否被授 权发送该请求; 实例化请求本身的合法性是指该请求携带的安全参数是否能 证明该请求是合法的, 没有被第三方篡改的。  The validity refers to the legality of the VNF request, including but not limited to the legality of the Sender and the legality of the instantiation request itself. Specifically, the legality of the Sender refers to whether the sender is authorized to send the request; The legality refers to whether the security parameters carried by the request can prove that the request is legal and has not been tampered with by a third party.
歩骤 503 : NFVO从 VNF目录中读取 VNFD, 其中, 包括读取 VNF对时 钟中断的需求。  Step 503: NFVO reads the VNFD from the VNF directory, including the requirement to read the VNF for the clock interrupt.
歩骤 504: NFVO生成一个 VNF实例项,并将生成的实例项增加到" NFV Inastances" 数据库中。  Step 504: NFVO generates a VNF instance item and adds the generated instance item to the "NFV Inastances" database.
其中, VNF实例项具体用于在 VNF实例运行期间 NFVO和 /或 VNFM 根据该 VNF实例项对 VNF实例的相关信息进行查询和维护。 VNF实例的相 关信息具体是指 VNF实例使用的 NFVI资源、 VNF实例对应的虚拟机的运行 状态、 性能等。 The VNF instance item is specifically used to query and maintain related information of the VNF instance according to the VNF instance item during the running of the VNF instance. Phase of the VNF instance The information about the NFVI resource used by the VNF instance and the running status and performance of the VM corresponding to the VNF instance.
歩骤 505a: NFVO提交实例化参数到 VNFM。  Step 505a: NFVO submits the instantiation parameters to VNFM.
其中, 实例化参数包括应用相关的参数和非应用相关的参数, 其中应用 相关的参数是指运行在 VNF上的应用相关的参数, 如 VNF和 /或部署 VNF 的虚拟机要满足的业务的吞吐量、 网络带宽等参数; 非应用相关的参数是指 与 VNF部署行为和操作行为相关的配置参数, 具体是指 VNF对 NFVI资源 的需求以及对 VNF 生命周期管理过程中行为的限定和描述。 实例化参数和 VNFD一起用于对部署 VNF的资源和 VNF实例化过程进行需求描述和需求 限定。  The instantiation parameters include application-related parameters and non-application-related parameters, where the application-related parameters refer to application-related parameters running on the VNF, such as VNF and/or throughput of services to be satisfied by the virtual machine deploying the VNF. Parameters such as quantity and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operational behavior, specifically the requirements of VNF for NFVI resources and the definition and description of behavior during VNF lifecycle management. The instantiation parameters are used together with the VNFD to describe requirements and requirements for the resources and VNF instantiation process for deploying the VNF.
歩骤 505b-505c: VNFM检查实例化参数并获取 VNFD, 还可以根据需 要对实例化参数进行一些修改。  Steps 505b-505c: VNFM checks the instantiation parameters and obtains VNFD. It can also make some modifications to the instantiation parameters as needed.
具体是指, 当 VNFM中预设置的 VNF实例化参数与 VNFD中描述的需 求信息和 /或 NFVO提交给 VNFM的实例化参数不一致时, VNFM会对不一 致的实例化参数进行修改。  Specifically, when the VNF instantiation parameter preset in the VNFM is inconsistent with the demand information described in the VNFD and/or the instantiation parameter submitted by the NFVO to the VNFM, the VNFM modifies the inconsistent instantiation parameters.
在歩骤 503中, NFVO有可能不能直接读取 VNFD中增加的对时钟中断需 求描述的相关信息, VNFM会在这一歩骤中从 VNFD中解析时钟中断需求,发 送给 NFVO。  In step 503, the NFVO may not directly read the related information about the clock interrupt requirement added in the VNFD. In this step, the VNFM parses the clock interrupt request from the VNFD and sends it to the NFVO.
歩骤 506a: NFVO选择一个可以给 VNF提供满足需求资源的 VIM; 其中, "NFVI resource"数据库中包括对 NFVI服务器能力的记录, 具 体包括 NFVI服务器能提供的资源描述, 包括能提供的所有的资源、 已经提 供的资源、 剩下的可用的资源以及已经预留资源等。  Step 506a: NFVO selects a VIM that can provide the VNF with the required resources; wherein the "NFVI resource" database includes a record of the capabilities of the NFVI server, including a description of the resources that the NFVI server can provide, including all resources that can be provided. , resources already provided, remaining resources available, and reserved resources.
NFVO根据 "NFVI resource"数据库中的记录, 选择一个能够 VIM, 该 VIM管理的 NFVI服务器的能力能够满足 VNF的需求。这里的需求具体是指 VNFD中描述的需求以及实例化参数中限定的需求。  Based on the records in the "NFVI resource" database, NFVO selects a VIM capable of managing the NFVI server that meets the VNF requirements. The requirements here specifically refer to the requirements described in the VNFD and the requirements defined in the instantiation parameters.
歩骤 506b: NFVO向所选择的可以给 VNF提供满足需求资源的 VIM发 送资源预留请求, 其中不仅包括 VNF对计算、 存储和网络资源的需求, 还 包括 VNF对时钟中断的需求, 可以为 VNF是否需要直接访问硬件时钟设备 获取时钟中断。  Step 506b: The NFVO sends a resource reservation request to the VIM that can provide the VNF with the required resource, which includes not only the VNF requirements for computing, storage, and network resources, but also the VNF requirement for the clock interrupt, which may be a VNF. Whether direct access to the hardware clock device is required to obtain a clock interrupt.
歩骤 506c: VIM检查所管理的资源的状态, 返回资源预留结果。 其中, 如果 VNF需要采用直接访问硬件时钟设备的方式获取时钟中断, 资源预留结果中包括硬件时钟的地址信息以及 VNF访问硬件时钟的周期 和持续时长配置信息。 VIM除了考虑计算、 存储和网络资源的状态, 还要 考虑所管理的时钟设备资源的状态, 如果时钟设备负载较大, 可以执行歩 骤 506d, 返回资源预留失败指示给 NFVO, NFVO重新执行歩骤 500-506c, 直到选择合适的 VIM。 Step 506c: The VIM checks the status of the managed resource and returns the resource reservation result. If the VNF needs to obtain a clock interrupt by directly accessing the hardware clock device, the resource reservation result includes the address information of the hardware clock and the period and duration configuration information of the VNF access hardware clock. In addition to considering the state of computing, storage, and network resources, VIM also considers the state of the clock resource that is managed. If the clock device is heavily loaded, step 506d can be performed to return the resource reservation failure indication to NFVO, and NFVO is re-executed. Steps 500-506c, until the appropriate VIM is selected.
歩骤 507: NFVO配置 VNF访问硬件时钟的周期和持续时长。  Step 507: NFVO configures the period and duration of the VNF access hardware clock.
如果歩骤 506c中 VIM已经配置并返回了相关配置信息, 则不用执行此 歩骤, 直接执行歩骤 508。  If the VIM has been configured and returned the relevant configuration information in step 506c, then the step 508 is directly executed without performing this step.
歩骤 508: NFVO发送 VNF实例化请求给 VNFM, 其中携带了对应 VIM 的标识 (如 URL等) 以及硬件时钟地址和配置信息指示。  Step 508: The NFVO sends a VNF instantiation request to the VNFM, which carries an identifier (such as a URL, etc.) corresponding to the VIM, and a hardware clock address and configuration information indication.
歩骤 509a-509b: VNFM请求 VIM给 VNF分配资源。  Steps 509a-509b: The VNFM requests the VIM to allocate resources to the VNF.
歩骤 510a-510b: VNFM根据 VNFD请求 VIM创建和启动虚拟机, 包括 安装软件程序包, 执行启动脚本程序, 发送配置数据, 并将 VM连接到网 络等。  Steps 510a-510b: VNFM requests VIM to create and start a virtual machine based on VNFD request, including installing a software package, executing a startup script, sending configuration data, and connecting the VM to the network.
歩骤 511 : VNFM指示 VNF可以直接访问的硬件时钟地址,访问周期和 持续时长。  Step 511: VNFM indicates the hardware clock address, access period and duration that the VNF can directly access.
歩骤 512: VNF根据 VNFM的指示访问硬件时钟, 获取硬件时钟中断, 并对程序进行调度。  Step 512: The VNF accesses the hardware clock according to the instructions of the VNFM, acquires a hardware clock interrupt, and schedules the program.
歩骤 513 : VNFM返回 VNF实例化结果给 NFVO。  Step 513: VNFM returns the VNF instantiation result to NFVO.
歩骤 514a-514b: NFVO进行资源状态更新。  Steps 514a-514b: NFVO performs resource status update.
歩骤 515 : NFVO更新 "NFV Instances" 和 "NF VI resource" 数据库。 歩骤 516: NFVO返回 VNF实例化结果给 Sender。  Step 515: NFVO updates the "NFV Instances" and "NF VI resource" databases. Step 516: NFVO returns the VNF instantiation result to Sender.
本实施例中的时钟地址管理器由 VIM来维护, 并且时钟地址管理器 模块与硬件之间可以通过接口相连, 如图 12所示, 也可以在硬件中集成 时钟地址管理器模块, 如图 13所示。  The clock address manager in this embodiment is maintained by the VIM, and the clock address manager module and the hardware can be connected through an interface. As shown in FIG. 12, the clock address manager module can also be integrated in the hardware, as shown in FIG. Shown.
本发明提供的时钟中断信号的获取方法, NFV功能实体根据 VNFD描述 信息, 确定 VNF 的时钟中断精度需求, 并选择可以提供资源的 VIM, VIM 返回硬件时钟地址以及配置信息, VNF就可根据获得的硬件时钟地址访问硬 件时钟, 并获取时钟中断信号。 而无需通过虚拟机调用底层硬件时钟中断信 号而产生虚拟机的客户操作系统软件时钟中断信号, 再将软件时钟中断信号 提供给 VNF供 VNF执行程序调度的时钟信号传输过程, 从而避免了时钟信 号的延迟以及延迟抖动, 保证了中断信号执行的及时性, 并保证程序被及时 调度。 According to the method for obtaining a clock interrupt signal provided by the present invention, the NFV function entity determines the clock interrupt precision requirement of the VNF according to the VNFD description information, and selects a VIM that can provide a resource, and the VIM returns a hardware clock address and configuration information, and the VNF can be obtained according to the VNF. The hardware clock address accesses the hardware clock and acquires a clock interrupt signal. Without calling the underlying hardware clock interrupt letter through the virtual machine The virtual machine's guest operating system software clock interrupt signal is generated, and the software clock interrupt signal is provided to the VNF for VNF execution program scheduling clock signal transmission process, thereby avoiding the delay of the clock signal and delay jitter, and ensuring the execution of the interrupt signal. Timeliness and guarantee that the program is scheduled in time.
图 14为本发明实施例五提供的一种网络功能虚拟化 NFV功能实体的结 构示意图, 如图 14所示, 本实施例提供的 NFV功能实体具体包括:  FIG. 14 is a schematic structural diagram of a network function virtualization NFV functional entity according to Embodiment 5 of the present invention. As shown in FIG. 14, the NFV functional entity provided in this embodiment specifically includes:
第一确定模块 101, 用于根据 VNFD描述信息, 确定 VNF的时钟中断精 度需求;  The first determining module 101 is configured to determine, according to the VNFD description information, a clock interrupt precision requirement of the VNF;
第二确定模块 102, 用于根据所述时钟中断精度需求, 为所述 VNF确定 硬件时钟地址;  a second determining module 102, configured to determine a hardware clock address for the VNF according to the clock interrupt precision requirement;
发送模块 103, 用于将所述硬件时钟的地址发送给所述 VNF, 以使所述 VNF根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。  The sending module 103 is configured to send an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to obtain a clock interrupt signal.
具体的, 所述 NFV功能实体为 NFVO或 VNFM。  Specifically, the NFV functional entity is NFVO or VNFM.
如图 15所示, 对于上述的 NFV功能实体, 其还可以进一歩包括: 第三确定模块 104, 用于在所述第二确定模块 102根据所述时钟中断精 度需求, 为所述 VNF确定硬件时钟地址之前, 根据 VNF的时钟中断精度需 求, 确定所述 VNF是否需要直接访问硬件时钟;  As shown in FIG. 15, the NFV functional entity may further include: a third determining module 104, configured to determine, by the second determining module 102, the hardware for the VNF according to the clock interrupt precision requirement. Before the clock address, according to the clock interruption precision requirement of the VNF, determining whether the VNF needs to directly access the hardware clock;
可选的,所述第二确定模块 102还用于,若确定所述 NFVO或 VNFM需 要直接访问硬件时钟, 则为所述 VNF确定硬件时钟地址。  Optionally, the second determining module 102 is further configured to determine a hardware clock address for the VNF if it is determined that the NFVO or the VNFM needs to directly access the hardware clock.
可选的, 所述发送模块具体用于:  Optionally, the sending module is specifically configured to:
向时钟地址管理器发送查询请求,所述查询请求中携带所述 VNF的标识 信息以及所述 VNF映射的物理设备的标识信息;  Sending a query request to the clock address manager, where the query request carries the identifier information of the VNF and the identifier information of the physical device mapped by the VNF;
如图 16所示, 对于上述的 NFV功能实体, 其还可以进一歩包括: 第一接收模块 105, 用于接收所述时钟地址管理器返回的所述硬件时钟 地址。  As shown in FIG. 16, the foregoing NFV functional entity may further include: a first receiving module 105, configured to receive the hardware clock address returned by the clock address manager.
可选的, 第一接收模块 105还用于在所述第二确定模块 102接收所述 时钟地址管理器返回的所述硬件时钟地址之后, 接收所述时钟地址管理器返 回的所述 VNF对所述硬件时钟地址的访问周期和访问时长。  Optionally, the first receiving module 105 is further configured to: after the second determining module 102 receives the hardware clock address returned by the clock address manager, receive the VNF pair returned by the clock address manager. The access cycle and access duration of the hardware clock address.
如图 17所示, 对于上述的 NFV功能实体, 所述 NFV功能实体为所述 NFVO, 其还可以进一歩包括: 存储模块 106, 用于存储硬件时钟的信息; 其中, 所述第二确定模块 102具体用于根据存储模块 106存储的所述 硬件时钟的信息, 确定所述 VNF能够直接访问的所述硬件时钟地址。 As shown in FIG. 17, for the NFV function entity, the NFV function entity is the NFVO, which may further include: a storage module 106, configured to store information of a hardware clock; The second determining module 102 is specifically configured to determine, according to the information about the hardware clock stored by the storage module 106, the hardware clock address that the VNF can directly access.
如图 18所示, 对于上述的 NFV功能实体, 所述 NFV功能实体为所述 NFVO, 其还可以进一歩包括: 第四确定模块 107, 用于根据所述第二确定 模块 102确定所述 NFV能够直接访问的所述硬件时钟地址之后, 确定所述 VNF对所述硬件时钟地址的访问周期和访问时长。  As shown in FIG. 18, for the NFV functional entity, the NFV functional entity is the NFVO, which may further include: a fourth determining module 107, configured to determine the NFV according to the second determining module 102. After the hardware clock address that can be directly accessed, the access period and access duration of the VNF to the hardware clock address are determined.
可选的,发送模块 103,还用于在将所述硬件时钟的地址发送给所述 VNF 之后, 将所述 VNF 对所述硬件时钟地址的访问周期和访问时长发送给所述 如图 19所示, 对于上述的 NFV功能实体, 所述 NFV功能实体为所述 Optionally, the sending module 103 is further configured to: after the address of the hardware clock is sent to the VNF, send an access period and an access duration of the VNF to the hardware clock address to the The NFV functional entity is the NFV functional entity
NFVO, 其还可以进一歩包括: NFVO, which can also be further included:
第五确定模块 108, 用于在第二确定模块 102根据所述时钟中断精度需 求, 为所述 VNF确定硬件时钟地址之前, 根据所述 VNF的时钟中断精度需 求, 确定满足所述 VNF需求资源的 VIM;  The fifth determining module 108 is configured to determine, after the second determining module 102 determines the hardware clock address for the VNF according to the clock interrupt precision requirement, according to the clock interrupt precision requirement of the VNF, determine that the VNF requirement resource is satisfied. VIM;
进一歩的, 所述发送模块 103还用于向所述 VIM发送资源预留请求; 还包括第二接收模块 109, 用于接收所述 VIM返回的资源预留结果, 所 述资源预留结果中携带物理设备的标识。  Further, the sending module 103 is further configured to send a resource reservation request to the VIM, and further include a second receiving module 109, configured to receive a resource reservation result returned by the VIM, where the resource reservation result is Carry the identity of the physical device.
如图 20所示, 对于上述的 NFV功能实体, 所述 NFV功能实体为所述 VNFM, 其还可以进一歩包括:  As shown in FIG. 20, for the NFV functional entity, the NFV functional entity is the VNFM, which may further include:
请求模块 110,用于在所述第五确定模块 108接收所述 VIM返回的资源 预留结果, 所述资源预留结果中携带物理设备的标识之后, 请求所述 VIM创 建和启动虚拟机。  The requesting module 110 is configured to receive, by the fifth determining module 108, the resource reservation result returned by the VIM, and after the resource reservation result carries the identifier of the physical device, request the VIM to create and start the virtual machine.
进一歩的,所述 NFV功能实体为所述 NFVO,所述资源预留结果中包括: 所述硬件时钟地址;  Further, the NFV functional entity is the NFVO, and the resource reservation result includes: the hardware clock address;
所述第二确定模块 102具体用于: 从所述资源预留结果中获取所述硬件 时钟地址。  The second determining module 102 is specifically configured to: obtain the hardware clock address from the resource reservation result.
进一歩的, 所述资源预留结果中还包括: 所述 VNF对所述硬件时钟地址 的访问周期和访问时长。  Further, the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address.
如图 21所示, 对于上述的 NFV功能实体, 所述 NFV功能实体为所述 NFVO, 所述 NFVO还可以进一歩包括: 第六确定模块 111, 用于根据所述第二确定模块 102从所述资源预留结 果中获取所述硬件时钟地址之后,确定所述 VNF对所述硬件时钟地址的访问 周期和访问时长。 As shown in FIG. 21, for the NFV functional entity, the NFV functional entity is the NFVO, and the NFVO may further include: The sixth determining module 111 is configured to determine, according to the second determining module 102, the hardware clock address from the resource reservation result, the access period and the access duration of the VNF to the hardware clock address.
本实施例提供的 NFV功能实体, 为本发明实施例提供的时钟中断信号 的获取方法的执行设备, 其执行时钟中断信号的获取方法的具体过程可参 见图 1、 图 2至图 13所示的方法实施例中的相关描述, 在此不再赘述。  The NFV function entity provided in this embodiment is an execution device of the method for acquiring a clock interrupt signal provided by the embodiment of the present invention. For the specific process of the method for acquiring the clock interrupt signal, refer to FIG. 1 and FIG. 2 to FIG. The related description in the method embodiment is not described here.
图 22所示为本发明提供的一种网络功能虚拟化 NFV功能实体的结构示 意图, 如图 22所示, 本实施例提供的 NFV功能实体包括: 处理器 21和存 储器 22。 存储器 22存储执行指令, 处理器 21与存储器 22之间通信, 处 理器 21调用存储器 22中的执行指令, 用于执行以下操作:  FIG. 22 is a schematic diagram showing the structure of a network function virtualization NFV function entity provided by the present invention. As shown in FIG. 22, the NFV function entity provided in this embodiment includes: a processor 21 and a memory 22. The memory 22 stores execution instructions, the processor 21 communicates with the memory 22, and the processor 21 calls execution instructions in the memory 22 for performing the following operations:
根据 VNFD描述信息, 确定 VNF的时钟中断精度需求;  Determining the clock interruption accuracy requirement of the VNF according to the VNFD description information;
根据所述时钟中断精度需求, 为所述 VNF确定硬件时钟地址; 将所述硬件时钟的地址发送给所述 VNF, 以使所述 VNF根据所述硬件 时钟的地址访问所述硬件时钟来获取时钟中断信号。  Determining, according to the clock interrupt precision requirement, a hardware clock address for the VNF; sending an address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to an address of the hardware clock to obtain a clock Interrupt signal.
所述 NFV功能实体为 NFVO或 VNFM。  The NFV functional entity is NFVO or VNFM.
可选的, 处理器 21根据所述时钟中断精度需求, 为所述 VNF确定硬件 时钟地址之前, 还包括:  Optionally, before the processor determines the hardware clock address for the VNF according to the clock interrupt precision requirement, the processor 21 further includes:
根据 VNF的时钟中断精度需求, 确定所述 VNF是否需要直接访问硬件 时钟;  Determining whether the VNF needs direct access to the hardware clock according to the clock interruption accuracy requirement of the VNF;
若确定所述 NFVO或 VNFM需要直接访问硬件时钟, 则为所述 VNF确 定硬件时钟地址。  If it is determined that the NFVO or VNFM requires direct access to the hardware clock, the hardware clock address is determined for the VNF.
进一歩的, 处理器 21根据 VNF的时钟中断精度需求, 为所述 VNF确定 硬件时钟地址, 具体包括:  Further, the processor 21 determines the hardware clock address for the VNF according to the clock interrupt precision requirement of the VNF, and specifically includes:
向时钟地址管理器发送查询请求,所述查询请求中携带所述 VNF的标识 信息以及所述 VNF映射的物理设备的标识信息;  Sending a query request to the clock address manager, where the query request carries the identifier information of the VNF and the identifier information of the physical device mapped by the VNF;
接收所述时钟地址管理器返回的所述硬件时钟地址。  Receiving the hardware clock address returned by the clock address manager.
进一歩的,处理器 21接收所述时钟地址管理器返回的所述硬件时钟地址 之后, 还包括:  Further, after receiving the hardware clock address returned by the clock address manager, the processor 21 further includes:
所述处理器 21接收所述时钟地址管理器返回的所述 VNF对所述硬件时 钟地址的访问周期和访问时长。 可选的, 处理器 21上还可以存储硬件时钟的信息, 所述处理器 21根据 VNF的时钟中断精度需求, 为所述 VNF确定硬件时钟地址, 具体包括: 所述处理器 21根据存储的所述硬件时钟的信息, 确定所述 VNF能够直 接访问的所述硬件时钟地址。 The processor 21 receives an access period and an access duration of the VNF returned by the clock address manager to the hardware clock address. Optionally, the processor 21 may further store the information of the hardware clock, and the processor 21 determines the hardware clock address for the VNF according to the clock interrupt precision requirement of the VNF, and specifically includes: the processor 21 according to the stored location The information of the hardware clock determines the hardware clock address that the VNF can directly access.
进一歩的, 处理器 21 根据存储的所述硬件时钟的信息, 确定所述 NFV 能够直接访问的所述硬件时钟地址之后, 还包括:  Further, after determining, by the stored information of the hardware clock, the processor 21 determines, after the hardware clock address that the NFV can directly access, the method further includes:
所述处理器 21确定所述 VNF对所述硬件时钟地址的访问周期和访问时 长。  The processor 21 determines an access period and an access duration of the VNF to the hardware clock address.
进一歩的, 处理器 21将所述硬件时钟的地址发送给所述 VNF之后, 还 包括:  Further, after the processor 21 sends the address of the hardware clock to the VNF, the method further includes:
所述处理器 21将所述 VNF对所述硬件时钟地址的访问周期和访问时长 发送给所述 VNF。  The processor 21 sends an access period and an access duration of the VNF to the hardware clock address to the VNF.
可选的, 处理器 21根据所述时钟中断精度需求, 为所述 VNF确定硬件 时钟地址之前, 还包括:  Optionally, before the processor determines the hardware clock address for the VNF according to the clock interrupt precision requirement, the processor 21 further includes:
所述处理器 21根据所述 VNF的时钟中断精度需求, 确定满足所述 VNF 需求资源的 VIM;  The processor 21 determines, according to the clock interruption precision requirement of the VNF, a VIM that satisfies the VNF requirement resource;
所述处理器 21向所述 VIM发送资源预留请求;  The processor 21 sends a resource reservation request to the VIM;
所述处理器 21接收所述 VIM返回的资源预留结果, 所述资源预留结果 中携带物理设备的标识。  The processor 21 receives the resource reservation result returned by the VIM, where the resource reservation result carries the identifier of the physical device.
进一歩的, 所述处理器 21接收所述 VIM返回的资源预留结果, 所述资 源预留结果中携带物理设备的标识之后, 还包括:  Further, the processor 21 receives the resource reservation result returned by the VIM, and after the resource reservation result carries the identifier of the physical device, the method further includes:
所述处理器 21请求所述 VIM创建和启动虚拟机。  The processor 21 requests the VIM to create and start a virtual machine.
进一歩的, 所述资源预留结果中包括: 所述硬件时钟地址;  Further, the resource reservation result includes: the hardware clock address;
所述处理器 21为所述 VNF确定硬件时钟地址, 具体包括: 所述 NFVO 从所述资源预留结果中获取所述硬件时钟地址。  The determining, by the processor 21, the hardware clock address for the VNF, specifically: the NFVO acquiring the hardware clock address from the resource reservation result.
进一歩的, 所述资源预留结果中还包括: 所述 VNF对所述硬件时钟地址 的访问周期和访问时长。  Further, the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address.
进一歩的,所述处理器 21从所述资源预留结果中获取所述硬件时钟地址 之后, 还包括:  Further, after the processor 21 obtains the hardware clock address from the resource reservation result, the method further includes:
所述处理器 21确定所述 VNF对所述硬件时钟地址的访问周期和访问时 长。 The processor 21 determines an access period and access time of the VNF to the hardware clock address Long.
本发明实施例提供的 NFV功能实体,可以用于执行上述方法实施例的 技术方案, 其实现原理和技术效果类似, 此处不再赘述。  The NFV functional entity provided by the embodiment of the present invention may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分歩骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的歩骤; 而前述 的存储介质包括: 只读存储器 (Read-Only Memory, ROM) 、 随机存储器 (Random Access Memory, RAM) 、 磁碟或者光盘等各种可以存储程序代码 的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, when executed, The foregoing storage unit includes: a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like can store program codes. Medium.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权 利 要 求 书 claims
1、 一种时钟中断信号的获取方法, 其特征在于, 包括: 1. A method for obtaining a clock interrupt signal, which is characterized by including:
网络功能虚拟化 NFV功能实体根据虚拟网络功能需求描述文件 VNFD 中的描述信息, 确定虚拟化网络功能 VNF的时钟中断精度需求; The network function virtualization NFV functional entity determines the clock interrupt accuracy requirements of the virtualized network function VNF based on the description information in the virtual network function requirement description file VNFD;
所述 NFV功能实体根据所述时钟中断精度需求,为所述 VNF确定硬件 时钟地址; The NFV functional entity determines the hardware clock address for the VNF according to the clock interrupt accuracy requirement;
所述 NFV功能实体将所述硬件时钟的地址发送给所述 VNF, 以使所述 VNF根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。 The NFV functional entity sends the address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to the address of the hardware clock to obtain a clock interrupt signal.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 NFV功能实体为网 络功能虚拟化编排器 NFVO或虚拟网络功能管理器 VNFM。 2. The method according to claim 1, characterized in that the NFV functional entity is a network function virtualization orchestrator NFVO or a virtual network function manager VNFM.
3、 根据权利要求 2所述的方法, 其特征在于, 所述 NFV功能实体根据 所述时钟中断精度需求, 为所述 VNF确定硬件时钟地址之前, 还包括: 3. The method according to claim 2, characterized in that, before determining the hardware clock address for the VNF according to the clock interrupt accuracy requirement, the NFV functional entity further includes:
所述 NFV功能实体根据 VNF的时钟中断精度需求,确定所述 VNF是否 需要直接访问硬件时钟; The NFV functional entity determines whether the VNF needs to directly access the hardware clock based on the clock interrupt accuracy requirements of the VNF;
若确定所述 NFVO或 VNFM需要直接访问硬件时钟, 则所述 NFVO或 If it is determined that the NFVO or VNFM needs to directly access the hardware clock, the NFVO or VNFM
VNFM为所述 VNF确定硬件时钟地址。 The VNFM determines the hardware clock address for the VNF.
4、 根据权利要求 2所述的方法, 其特征在于, 所述 NFV功能实体根据 VNF的时钟中断精度需求, 为所述 VNF确定硬件时钟地址, 具体包括: 所述 NFVO或 VNFM向时钟地址管理器发送查询请求,所述查询请求中 携带所述 VNF的标识信息以及所述 VNF映射的物理设备的标识信息; 4. The method according to claim 2, characterized in that the NFV functional entity determines a hardware clock address for the VNF according to the clock interrupt accuracy requirement of the VNF, specifically including: the NFVO or VNFM reporting to a clock address manager Send a query request, which carries the identification information of the VNF and the identification information of the physical device mapped by the VNF;
所述 NFVO或 VNFM接收所述时钟地址管理器返回的所述硬件时钟地址。 The NFVO or VNFM receives the hardware clock address returned by the clock address manager.
5、 根据权利要求 4所述的方法, 其特征在于, 所述 NFV功能实体接收 所述时钟地址管理器返回的所述硬件时钟地址之后, 还包括: 5. The method according to claim 4, characterized in that, after the NFV functional entity receives the hardware clock address returned by the clock address manager, it further includes:
所述 NFVO或 VNFM接收所述时钟地址管理器返回的所述 VNF对所述 硬件时钟地址的访问周期和访问时长。 The NFVO or VNFM receives the access cycle and access duration of the VNF to the hardware clock address returned by the clock address manager.
6、 根据权利要求 2所述的方法, 其特征在于, 所述 NFV功能实体上存 储硬件时钟的信息, 所述 NFV功能实体根据 VNF的时钟中断精度需求, 为 所述 VNF确定硬件时钟地址, 具体包括: 6. The method according to claim 2, characterized in that, the NFV functional entity stores hardware clock information, and the NFV functional entity determines the hardware clock address for the VNF according to the clock interrupt accuracy requirement of the VNF, specifically include:
所述 NFVO根据存储的所述硬件时钟的信息, 确定所述 VNF能够直接 访问的所述硬件时钟地址。 The NFVO determines the hardware clock address that the VNF can directly access based on the stored information of the hardware clock.
7、 根据权利要求 6所述的方法, 其特征在于, 所述 NFV功能实体根据 存储的所述硬件时钟的信息,确定所述 NFV能够直接访问的所述硬件时钟地 址之后, 还包括: 7. The method according to claim 6, characterized in that, after the NFV functional entity determines the hardware clock address that the NFV can directly access based on the stored information of the hardware clock, it further includes:
所述 NFVO确定所述 VNF对所述硬件时钟地址的访问周期和访问时长。 The NFVO determines the access cycle and access duration of the VNF to the hardware clock address.
8、 根据权利要求 5或 7所述的方法, 其特征在于, 所述 NFV功能实体 将所述硬件时钟的地址发送给所述 VNF之后, 还包括: 8. The method according to claim 5 or 7, characterized in that, after the NFV functional entity sends the address of the hardware clock to the VNF, it further includes:
所述 NFVO将所述 VNF对所述硬件时钟地址的访问周期和访问时长发 送给所述 VNF。 The NFVO sends the VNF's access cycle and access duration to the hardware clock address to the VNF.
9、 根据权利要求 2所述的方法, 其特征在于, 所述 NFV功能实体根据 所述时钟中断精度需求, 为所述 VNF确定硬件时钟地址之前, 还包括: 9. The method according to claim 2, characterized in that, before determining a hardware clock address for the VNF according to the clock interrupt accuracy requirement, the NFV functional entity further includes:
所述 NFVO根据所述 VNF的时钟中断精度需求, 确定满足所述 VNF需 求资源的虚拟化基础设施管理器 VIM; The NFVO determines the virtualization infrastructure manager VIM that meets the resources required by the VNF according to the clock interrupt accuracy requirement of the VNF;
所述 NFVO向所述 VIM发送资源预留请求; The NFVO sends a resource reservation request to the VIM;
所述 NFVO接收所述 VIM返回的资源预留结果,所述资源预留结果中携 带物理设备的标识。 The NFVO receives the resource reservation result returned by the VIM, and the resource reservation result carries the identification of the physical device.
10、根据权利要求 9所述的方法,其特征在于,所述 NFVO接收所述 VIM 返回的资源预留结果, 所述资源预留结果中携带物理设备的标识之后, 还包 括: 10. The method according to claim 9, wherein the NFVO receives the resource reservation result returned by the VIM, and after the resource reservation result carries the identification of the physical device, it also includes:
所述 VNFM请求所述 VIM创建和启动虚拟机。 The VNFM requests the VIM to create and start a virtual machine.
11、 根据权利要求 9或 10所述的方法, 其特征在于, 所述资源预留结果 中包括: 所述硬件时钟地址; 11. The method according to claim 9 or 10, characterized in that the resource reservation result includes: the hardware clock address;
所述 NFV功能实体为所述 VNF确定硬件时钟地址, 具体包括: 所述 NFVO从所述资源预留结果中获取所述硬件时钟地址。 The NFV functional entity determines a hardware clock address for the VNF, which specifically includes: the NFVO obtains the hardware clock address from the resource reservation result.
12、 根据权利要求 11所述的方法, 其特征在于, 所述资源预留结果中还 包括: 所述 VNF对所述硬件时钟地址的访问周期和访问时长。 12. The method according to claim 11, characterized in that the resource reservation result further includes: the access cycle and access duration of the VNF to the hardware clock address.
13、 根据权利要求 11所述的方法, 其特征在于, 所述 NFV功能实体从 所述资源预留结果中获取所述硬件时钟地址之后, 还包括: 13. The method according to claim 11, characterized in that, after the NFV functional entity obtains the hardware clock address from the resource reservation result, it further includes:
所述 NFVO确定所述 VNF对所述硬件时钟地址的访问周期和访问时长。 The NFVO determines the access cycle and access duration of the VNF to the hardware clock address.
14、 一种网络功能虚拟化 NFV功能实体, 其特征在于, 包括: 14. A network function virtualization NFV functional entity, which is characterized by including:
第一确定模块, 用于根据 VNFD描述信息, 确定 VNF的时钟中断精度 需求; The first determination module is used to determine the clock interrupt accuracy of the VNF based on the VNFD description information. need;
第二确定模块, 用于根据所述时钟中断精度需求, 为所述 VNF确定硬 件时钟地址; The second determination module is used to determine the hardware clock address for the VNF according to the clock interrupt accuracy requirement;
发送模块, 用于将所述硬件时钟的地址发送给所述 VNF, 以使所述 VNF 根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。 A sending module, configured to send the address of the hardware clock to the VNF, so that the VNF accesses the hardware clock according to the address of the hardware clock to obtain a clock interrupt signal.
15、 根据权利要求 14所述的 NFV功能实体, 其特征在于, 所述 NFV功 能实体为 NFVO或 VNFM。 15. The NFV functional entity according to claim 14, characterized in that the NFV functional entity is NFVO or VNFM.
16、 根据权利要求 15所述的 NFV功能实体, 其特征在于, 还包括: 第三确定模块, 用于在所述第二确定模块根据所述时钟中断精度需求, 为所述 VNF确定硬件时钟地址之前, 根据 VNF的时钟中断精度需求, 确定 所述 VNF是否需要直接访问硬件时钟; 16. The NFV functional entity according to claim 15, further comprising: a third determination module, configured to determine a hardware clock address for the VNF according to the clock interrupt accuracy requirement in the second determination module Previously, it was determined whether the VNF needed to directly access the hardware clock based on the clock interrupt accuracy requirements of the VNF;
所述第二确定模块还用于,若确定所述 NFVO或 VNFM需要直接访问硬 件时钟, 则为所述 VNF确定硬件时钟地址。 The second determination module is also used to determine a hardware clock address for the VNF if it is determined that the NFVO or VNFM needs to directly access the hardware clock.
17、 根据权利要求 15所述的 NFV功能实体, 其特征在于, 所述发送模 块具体用于: 17. The NFV functional entity according to claim 15, characterized in that the sending module is specifically used for:
向时钟地址管理器发送查询请求,所述查询请求中携带所述 VNF的标识 信息以及所述 VNF映射的物理设备的标识信息; Send a query request to the clock address manager, the query request carrying the identification information of the VNF and the identification information of the physical device mapped by the VNF;
所述 NFV功能实体还包括: 第一接收模块, 用于接收所述时钟地址管理 器返回的所述硬件时钟地址。 The NFV functional entity also includes: a first receiving module, configured to receive the hardware clock address returned by the clock address manager.
18、 根据权利要求 17所述的 NFV功能实体, 其特征在于, 所述第一接 收模块, 还用于在所述第二确定模块接收所述时钟地址管理器返回的所述硬 件时钟地址之后,接收所述时钟地址管理器返回的所述 VNF对所述硬件时钟 地址的访问周期和访问时长。 18. The NFV functional entity according to claim 17, wherein the first receiving module is further configured to: after the second determining module receives the hardware clock address returned by the clock address manager, Receive the access cycle and access duration of the VNF to the hardware clock address returned by the clock address manager.
19、 根据权利要求 15所述的 NFV功能实体, 其特征在于, 所述 NFV功 能实体为所述 NFVO, 则所述 NFVO还包括: 19. The NFV functional entity according to claim 15, wherein the NFV functional entity is the NFVO, and the NFVO further includes:
存储模块, 用于存储硬件时钟的信息; Storage module, used to store hardware clock information;
所述第二确定模块具体:根据存储的所述硬件时钟的信息,确定所述 VNF 能够直接访问的所述硬件时钟地址。 The second determination module is specifically: based on the stored information of the hardware clock, determine the hardware clock address that the VNF can directly access.
20、 根据权利要求 19所述的 NFV功能实体, 其特征在于, 所述 NFV功 能实体为所述 NFVO, 则所述 NFVO还包括: 第四确定模块,用于根据所述第二确定模块确定所述 NFV能够直接访问 的所述硬件时钟地址之后,确定所述 VNF对所述硬件时钟地址的访问周期和 访问时长。 20. The NFV functional entity according to claim 19, wherein the NFV functional entity is the NFVO, and the NFVO further includes: The fourth determination module is configured to determine the access cycle and access duration of the VNF to the hardware clock address after determining the hardware clock address that the NFV can directly access according to the second determination module.
21、 根据权利要求 18或 20所述的 NFV功能实体, 其特征在于, 所述 NFV功能实体为所述 NFVO, 则所述发送模块, 还用于在将所述硬件时钟的 地址发送给所述 VNF之后, 将所述 VNF对所述硬件时钟地址的访问周期和 访问时长发送给所述 VNF。 21. The NFV functional entity according to claim 18 or 20, wherein the NFV functional entity is the NFVO, and the sending module is further configured to send the address of the hardware clock to the After the VNF, the access cycle and access duration of the VNF to the hardware clock address are sent to the VNF.
22、 根据权利要求 15所述的 NFV功能实体, 其特征在于, 所述 NFV功 能实体为所述 NFVO, 则所述 NFVO还包括: 22. The NFV functional entity according to claim 15, wherein the NFV functional entity is the NFVO, and the NFVO further includes:
第五确定模块, 用于在第二确定模块根据所述时钟中断精度需求, 为所 述 VNF确定硬件时钟地址之前, 根据所述 VNF的时钟中断精度需求, 确定 满足所述 VNF需求资源的 VIM; The fifth determination module is configured to determine the VIM that meets the resource requirements of the VNF according to the clock interrupt accuracy requirement of the VNF before the second determination module determines the hardware clock address for the VNF according to the clock interrupt accuracy requirement;
所述发送模块还用于: 向所述 VIM发送资源预留请求; The sending module is also used to: send a resource reservation request to the VIM;
还包括第二接收模块, 用于接收所述 VIM返回的资源预留结果, 所述 资源预留结果中携带物理设备的标识。 It also includes a second receiving module, configured to receive the resource reservation result returned by the VIM, where the resource reservation result carries the identification of the physical device.
23、 根据权利要求 22所述的 NFV功能实体, 其特征在于, 所述 NFV功 能实体为所述 VNFM, 则所述 VNFM还包括: 还包括: 请求模块, 用于在所 述第五确定模块接收所述 VIM返回的资源预留结果,所述资源预留结果中携 带物理设备的标识之后, 请求所述 VIM创建和启动虚拟机。 23. The NFV functional entity according to claim 22, wherein the NFV functional entity is the VNFM, and the VNFM further includes: a request module, configured to receive in the fifth determination module After the resource reservation result returned by the VIM carries the identification of the physical device, the VIM is requested to create and start a virtual machine.
24、 根据权利要求 22或 23所述的 NFV功能实体, 其特征在于, 所述 24. The NFV functional entity according to claim 22 or 23, characterized in that:
NFV功能实体为所述 NFVO,所述资源预留结果中包括:所述硬件时钟地址; 所述第二确定模块具体用于: 从所述资源预留结果中获取所述硬件时钟 地址。 The NFV functional entity is the NFVO, and the resource reservation result includes: the hardware clock address; and the second determination module is specifically configured to: obtain the hardware clock address from the resource reservation result.
25、 根据权利要求 24所述的 NFV功能实体, 其特征在于, 所述资源预 留结果中还包括: 所述 VNF对所述硬件时钟地址的访问周期和访问时长。 25. The NFV functional entity according to claim 24, wherein the resource reservation result further includes: the access cycle and access duration of the VNF to the hardware clock address.
26、 根据权利要求 24所述的 NFV功能实体, 其特征在于, 所述 NFV功 能实体为所述 NFVO, 则所述 NFVO还包括: 26. The NFV functional entity according to claim 24, wherein the NFV functional entity is the NFVO, and the NFVO further includes:
第六确定模块, 用于根据所述第二确定模块从所述资源预留结果中获取 所述硬件时钟地址之后,确定所述 VNF对所述硬件时钟地址的访问周期和访 问时长。 A sixth determination module, configured to determine the access cycle and access duration of the VNF to the hardware clock address after obtaining the hardware clock address from the resource reservation result according to the second determination module.
27、 一种网络功能虚拟化 NFV功能实体, 其特征在于, 包括: 处理器和 存储器, 所述存储器存储执行指令, 当所述时钟中断信号的获取系统运行时, 所述处理器与所述存储器之间通信, 所述处理器执行所述执行指令使得所述 时钟中断信号的获取系统执行如权利要求 1〜13任一项所述的方法。 27. A network function virtualization NFV functional entity, characterized in that it includes: a processor and a memory, the memory stores execution instructions, and when the clock interrupt signal acquisition system is running, the processor and the memory communication, the processor executes the execution instruction to cause the clock interrupt signal acquisition system to execute the method according to any one of claims 1 to 13.
PCT/CN2014/071929 2014-02-10 2014-02-10 Method for obtaining clock interruption signal, and nfv functional entity WO2015117278A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480000618.6A CN105103125B (en) 2014-02-10 2014-02-10 The acquisition methods and NFV devices of clock interrupt signal
PCT/CN2014/071929 WO2015117278A1 (en) 2014-02-10 2014-02-10 Method for obtaining clock interruption signal, and nfv functional entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071929 WO2015117278A1 (en) 2014-02-10 2014-02-10 Method for obtaining clock interruption signal, and nfv functional entity

Publications (1)

Publication Number Publication Date
WO2015117278A1 true WO2015117278A1 (en) 2015-08-13

Family

ID=53777121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071929 WO2015117278A1 (en) 2014-02-10 2014-02-10 Method for obtaining clock interruption signal, and nfv functional entity

Country Status (2)

Country Link
CN (1) CN105103125B (en)
WO (1) WO2015117278A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700961B (en) * 2016-02-29 2019-03-08 华为技术有限公司 Business container creation method and device
CN112256343B (en) * 2016-05-10 2022-05-10 华为技术有限公司 Software loading method, equipment and system
CN109314649A (en) * 2016-06-23 2019-02-05 英特尔Ip公司 Device and method for NFV life cycle management
CN109257240B (en) * 2017-07-12 2021-02-23 上海诺基亚贝尔股份有限公司 Method and device for monitoring performance of virtualized network functional unit
CN110333843B (en) * 2019-04-19 2023-03-24 中科创达(重庆)汽车科技有限公司 Method and device for realizing high-precision timer of virtual machine and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043253A (en) * 2006-06-26 2007-09-26 华为技术有限公司 Process for obtaining high-precision time
CN103139809A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Clock synchronization method and device
CN103561124A (en) * 2013-10-29 2014-02-05 上海华为技术有限公司 Base station data configuring method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491129B (en) * 2013-07-05 2017-07-14 华为技术有限公司 A kind of service node collocation method, pool of service nodes Register and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043253A (en) * 2006-06-26 2007-09-26 华为技术有限公司 Process for obtaining high-precision time
CN103139809A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Clock synchronization method and device
CN103561124A (en) * 2013-10-29 2014-02-05 上海华为技术有限公司 Base station data configuring method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ETSI.: "Network Functions Virtualisation (NFV); Virtualisation Requirements", ETSI GS NFV 004 V1.1.1, 31 October 2013 (2013-10-31), pages 7, XP055218175 *

Also Published As

Publication number Publication date
CN105103125B (en) 2017-12-05
CN105103125A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
US11405274B2 (en) Managing virtual network functions
US20220321430A1 (en) System and method for providing a service management engine for use with a cloud computing environment
US11321130B2 (en) Container orchestration in decentralized network computing environments
US11050642B2 (en) System and method for placement logic in a cloud platform environment
US9357034B2 (en) System and method for orchestration of services for use with a cloud computing environment
US9424024B2 (en) System and method for elasticity management of services with a cloud computing environment
US9323517B2 (en) System and method for dynamic modification of service definition packages with a cloud computing environment
EP3276488B1 (en) Deployment system for multi-node applications
US9201639B2 (en) System and method for service definition packages for use with a cloud computing environment
US11153297B2 (en) Systems and methods to facilitate certificate and trust management across a distributed environment
US9612817B2 (en) System and method for providing a physical plugin for use in a cloud platform environment
EP2019358A1 (en) A method and a system for the creation and deployment of a virtual machine appliance on virtualised servers
US20220255941A1 (en) Method and System for Secure Container Application Framework
EP3149603B1 (en) Customized configuration of cloud-based applications prior to deployment
US10891569B1 (en) Dynamic task discovery for workflow tasks
WO2015117278A1 (en) Method for obtaining clock interruption signal, and nfv functional entity
US10203976B2 (en) Virtual appliance management in a virtualized computing environment based on operational modes associated with virtual appliance
US11847611B2 (en) Orchestrating and automating product deployment flow and lifecycle management
WO2022170157A1 (en) Method and system for secure container application framework
US11853783B1 (en) Identifying hosts for dynamically enabling specified features when resuming operation of a virtual compute instance
CN115640021A (en) Secondary mirror image warehouse deployment method and system of global warehouse

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480000618.6

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881511

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 14881511

Country of ref document: EP

Kind code of ref document: A1