CN105103125B - The acquisition methods and NFV devices of clock interrupt signal - Google Patents

The acquisition methods and NFV devices of clock interrupt signal Download PDF

Info

Publication number
CN105103125B
CN105103125B CN201480000618.6A CN201480000618A CN105103125B CN 105103125 B CN105103125 B CN 105103125B CN 201480000618 A CN201480000618 A CN 201480000618A CN 105103125 B CN105103125 B CN 105103125B
Authority
CN
China
Prior art keywords
vnf
clock
address
nfvo
hardware clock
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201480000618.6A
Other languages
Chinese (zh)
Other versions
CN105103125A (en
Inventor
余芳
熊春山
朱雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105103125A publication Critical patent/CN105103125A/en
Application granted granted Critical
Publication of CN105103125B publication Critical patent/CN105103125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

本发明提供一种时钟中断信号的获取方法和NFV功能实体,包括:NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,然后,NFV功能实体根据时钟中断精度需求,为VNF确定硬件时钟地址,最后将所确定的硬件时钟地址发送给VNF,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。本发明的技术方案无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。

The present invention provides a clock interruption signal acquisition method and NFV functional entity, including: the NFV functional entity determines the clock interruption accuracy requirement of the VNF according to the VNFD description information, and then, the NFV functional entity determines the hardware clock for the VNF according to the clock interruption accuracy requirement address, and finally send the determined hardware clock address to the VNF, and the VNF can access the hardware clock according to the obtained hardware clock address and obtain a clock interrupt signal. The technical solution of the present invention does not need to call the underlying hardware clock interrupt signal through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then provide the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thereby avoiding It reduces the delay and delay jitter of the clock signal, ensures the timeliness of interrupt signal execution, and ensures that the program is scheduled in time.

Description

时钟中断信号的获取方法和NFV装置Method for acquiring clock interrupt signal and NFV device

技术领域technical field

本发明涉及通信技术,尤其涉及一种时钟中断信号的获取方法和NFV功能实体。The present invention relates to communication technology, in particular to a method for acquiring a clock interruption 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/notebook computers supporting the 3rd-Generation (3G for short), mobile Internet services have grown exponentially in the past few years. In order to cope with the ever-increasing data traffic, operators have proposed the concept of Network Functions Virtualization (NFV for short). Various network elements run in the virtual machine in the form of software. Using 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, and new network elements or network element upgrades will be reflected as new virtual machines import or change of software version in the virtual machine. At the same time, since the virtualization technology shields the differences of the underlying physical platforms, the problem of sharing hardware resources across manufacturers will be easily solved. In addition, by utilizing features such as virtual machine dynamic migration and dynamic generation, combined with intelligent management of the virtualization platform, the dynamic expansion and reduction of network elements can be realized according to the change of business volume, so as to realize more efficient utilization of hardware resources.

现有技术中,NFV的虚拟环境中,底层硬件产生的时钟中断信号,需要提供给虚拟机,通过虚拟机模拟软件时钟中断信号来传输给虚拟化网络功能(Virtualized NetworkFunction,简称VNF),而这一过程会由于虚拟机的软件时钟模拟程序无法保证被及时调度导致虚拟网络功能获取的时钟信号发生延迟,从而导致程序无法被及时调度。尤其对于无线网络中很多对实时性和时钟精度要求较高的应用或者网络功能,时钟信号的这种延迟会影响网络功能对业务的处理,降低网络性能。In the prior art, in the virtual environment of 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 it to the virtualized network function (Virtualized Network Function, referred to as VNF). In one process, the clock signal obtained by the virtual network function is delayed because the software clock simulation program of the virtual machine cannot be scheduled in time, so that the program cannot be scheduled in time. Especially for many applications or network functions in the wireless network that require high real-time and clock accuracy, the delay of the clock signal will affect the processing of services by the network function and reduce network performance.

发明内容Contents 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 solved the delay and delay jitter of the clock signal caused by calling the underlying hardware clock interrupt signal.

本发明第一方面提供一种时钟中断信号的获取方法,包括:The first aspect of the present invention provides a method for acquiring a clock interrupt signal, including:

网络功能虚拟化NFV功能实体根据虚拟网络功能需求描述文件VNFD中的描述信息,确定虚拟化网络功能VNF的时钟中断精度需求;The network function virtualization NFV functional entity determines the clock interruption precision requirement of the virtual network function VNF according to the description information in the virtual network function requirement description file VNFD;

所述NFV功能实体根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址;The NFV functional entity determines a hardware clock address for the VNF according to the clock interruption precision 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.

在第一方面的第一种可能实现方式中,所述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 of the first aspect, in the second possible implementation of the first aspect, before the NFV functional entity determines the hardware clock address for the VNF according to the clock interruption accuracy requirement, further includes :

所述NFV功能实体根据VNF的时钟中断精度需求,确定所述VNF是否需要直接访问硬件时钟;The NFV functional entity determines whether the VNF needs to directly access the hardware clock according to the clock interruption precision requirement of the VNF;

若确定所述NFVO或VNFM需要直接访问硬件时钟,则所述NFVO或VNFM为所述VNF确定硬件时钟地址。If it is determined that the NFVO or VNFM needs to directly access a hardware clock, the NFVO or VNFM determines a hardware clock address for the VNF.

结合第一方面的第一种可能实现方式,在第一方面的第三种可能实现方式中,所述NFV功能实体根据VNF的时钟中断精度需求,为所述VNF确定硬件时钟地址,具体包括:With reference to the first possible implementation of the first aspect, in the third possible implementation of the first aspect, the NFV functional entity determines a hardware clock address for the VNF according to the clock interruption accuracy requirements of the VNF, specifically including:

所述NFVO或VNFM向时钟地址管理器发送查询请求,所述查询请求中携带所述VNF的标识信息以及所述VNF映射的物理设备的标识信息;The NFVO or VNFM sends a query request to the clock address manager, and the query request 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.

结合第一方面的第三种可能实现方式,在第一方面的第四种可能实现方式中,所述NFV功能实体接收所述时钟地址管理器返回的所述硬件时钟地址之后,还包括:With reference to the third possible implementation of the first aspect, in the fourth possible implementation of the first aspect, 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.

结合第一方面的第一种可能实现方式,在第一方面的第五种可能实现方式中,所述NFV功能实体上存储硬件时钟的信息,所述NFV功能实体根据VNF的时钟中断精度需求,为所述VNF确定硬件时钟地址,具体包括:With reference to the first possible implementation of the first aspect, in a fifth possible implementation of the first aspect, the NFV functional entity stores hardware clock information, and the NFV functional entity, according to the clock interruption accuracy requirements of the VNF, Determine the hardware clock address for the VNF, specifically including:

所述NFVO根据存储的所述硬件时钟的信息,确定所述VNF能够直接访问的所述硬件时钟地址。The NFVO determines the address of the hardware clock that the VNF can directly access according to the stored information of the hardware clock.

结合第一方面的第五种可能实现方式,在第一方面的第六种可能实现方式中,所述NFV功能实体根据存储的所述硬件时钟的信息,确定所述NFV能够直接访问的所述硬件时钟地址之后,还包括:With reference to the fifth possible implementation manner 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 After the hardware clock address, also include:

所述NFVO确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The NFVO determines the access cycle and access duration of the VNF to the hardware clock address.

结合第一方面的第四种或第六种可能实现方式,在第一方面的第七种可能实现方式中,所述NFV功能实体将所述硬件时钟的地址发送给所述VNF之后,还包括:With reference to the fourth or sixth possible implementation of the first aspect, in the seventh possible implementation of the first aspect, after the NFV functional entity sends the address of the hardware clock to the VNF, further includes :

所述NFVO将所述VNF对所述硬件时钟地址的访问周期和访问时长发送给所述VNF。The NFVO sends the VNF's access period and access duration to the hardware clock address to the VNF.

结合第一方面的第一种可能实现方式,在第一方面的第八种可能实现方式中,所述NFV功能实体根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,还包括:With reference to the first possible implementation of the first aspect, in the eighth possible implementation of the first aspect, before the NFV functional entity determines the hardware clock address for the VNF according to the clock interruption precision requirement, further includes :

所述NFVO根据所述VNF的时钟中断精度需求,确定满足所述VNF需求资源的虚拟化基础设施管理器VIM;The NFVO determines a virtualized infrastructure manager VIM that satisfies the resources required by the VNF according to the clock interruption accuracy requirements 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 identifier of the physical device.

结合第一方面的第八种可能实现方式,在第一方面的第九种可能实现方式中,所述NFVO接收所述VIM返回的资源预留结果,所述资源预留结果中携带物理设备的标识之后,还包括:With reference to the eighth possible implementation manner of the first aspect, in the ninth possible implementation manner of the first aspect, the NFVO receives the resource reservation result returned by the VIM, and the resource reservation result carries the information of the physical device After identification, also include:

所述VNFM请求所述VIM创建和启动虚拟机。The VNFM requests the VIM to create and start a virtual machine.

结合第一方面的第八种或第九种可能实现方式,在第一方面的第十种可能实现方式中,所述资源预留结果中包括:所述硬件时钟地址;With reference to the eighth or ninth possible implementation manner of the first aspect, in a tenth possible implementation manner of the first aspect, the resource reservation result includes: the hardware clock address;

所述NFV功能实体为所述VNF确定硬件时钟地址,具体包括:The NFV functional entity determines a hardware clock address for the VNF, specifically including:

所述NFVO从所述资源预留结果中获取所述硬件时钟地址。The NFVO acquires the hardware clock address from the resource reservation result.

结合第一方面的第十种可能实现方式,在第一方面的第十一种可能实现方式中,所述资源预留结果中还包括:所述VNF对所述硬件时钟地址的访问周期和访问时长。With reference to the tenth possible implementation of the first aspect, in the eleventh possible implementation of the first aspect, the resource reservation result further includes: the VNF's access period and access to the hardware clock address duration.

结合第一方面的第十种可能实现方式,在第一方面的第十二种可能实现方式中,所述NFV功能实体从所述资源预留结果中获取所述硬件时钟地址之后,还包括:With reference to the tenth possible implementation manner of the first aspect, in the twelfth possible implementation manner of the first aspect, after the NFV functional entity acquires the hardware clock address from the resource reservation result, further include:

所述NFVO确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The NFVO determines the access cycle and access duration of the VNF to the hardware clock address.

本发明第二方面提供一种网络功能虚拟化NFV功能实体,包括:The second aspect of the present invention provides a network function virtualization NFV functional entity, including:

第一确定模块,用于根据VNFD描述信息,确定VNF的时钟中断精度需求;The first determination module is configured to determine the clock interruption precision requirement of the VNF according to the VNFD description information;

第二确定模块,用于根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址;The second determination module is configured to determine a hardware clock address for the VNF according to the clock interruption precision 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.

在第二方面的第二种可能实现方式中,所述NFV功能实体为NFVO或VNFM。In a second possible implementation manner of the second aspect, the NFV functional entity is NFVO or VNFM.

结合第二方面的第一种可能实现方式,在第二方面的第二种可能实现方式中,还包括:In combination with the first possible implementation of the second aspect, the second possible implementation of the second aspect further includes:

第三确定模块,用于在所述第二确定模块根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,根据VNF的时钟中断精度需求,确定所述VNF是否需要直接访问硬件时钟;The third determination module is configured to determine whether the VNF needs to directly access the hardware clock according to the clock interruption precision requirement of the VNF before the second determination module determines the hardware clock address for the VNF according to the clock interruption precision requirement. ;

所述第二确定模块还用于,若确定所述NFVO或VNFM需要直接访问硬件时钟,则为所述VNF确定硬件时钟地址。The second determination module is further configured 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.

结合第二方面的第一种可能实现方式,在第二方面的第三种可能实现方式中,所述发送模块具体用于:With reference to 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 identification information of the VNF and the identification 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.

结合第二方面的第三种可能实现方式,在第二方面的第四种可能实现方式中,所述第一接收模块,还用于在所述第二确定模块接收所述时钟地址管理器返回的所述硬件时钟地址之后,接收所述时钟地址管理器返回的所述VNF对所述硬件时钟地址的访问周期和访问时长。With reference to the third possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the first receiving module is further configured to receive the clock address manager returned by the second determining module After receiving the hardware clock address, the access period and access duration of the VNF to the hardware clock address returned by the clock address manager are received.

结合第二方面的第一种可能实现方式,在第二方面的第五种可能实现方式中,所述NFV功能实体为所述NFVO,则所述NFVO还包括:With reference to the first possible implementation of the second aspect, in the fifth possible implementation of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:

存储模块,用于存储硬件时钟的信息;The storage module is used for storing the information of the hardware clock;

所述第二确定模块具体:根据存储的所述硬件时钟的信息,确定所述VNF能够直接访问的所述硬件时钟地址。The second determining module specifically: according to the stored information of the hardware clock, determine the address of the hardware clock that the VNF can directly access.

结合第二方面的第五种可能实现方式,在第二方面的第六种可能实现方式中,所述NFV功能实体为所述NFVO,则所述NFVO还包括:With reference to the fifth possible implementation of the second aspect, in the sixth possible implementation of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:

第四确定模块,用于根据所述第二确定模块确定所述NFV能够直接访问的所述硬件时钟地址之后,确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The fourth determination module is configured to determine the hardware clock address that the NFV can directly access according to the second determination module, and then determine the access cycle and access duration of the VNF to the hardware clock address.

结合第二方面的第四种或第六种可能实现方式,在第二方面的第七种可能实现方式中,所述NFV功能实体为所述NFVO,则所述发送模块,还用于在将所述硬件时钟的地址发送给所述VNF之后,将所述VNF对所述硬件时钟地址的访问周期和访问时长发送给所述VNF。With reference to the fourth or sixth possible implementation of the second aspect, in the seventh possible implementation of the second aspect, the NFV functional entity is the NFVO, and the sending module is further configured to After sending the address of the hardware clock to the VNF, send the access period and access duration of the VNF to the address of the hardware clock to the VNF.

结合第二方面的第一种可能实现方式,在第二方面的第八种可能实现方式中,所述NFV功能实体为所述NFVO,则所述NFVO还包括:With reference to 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;The fifth determination module is configured to determine a VIM that meets the resource requirements of the VNF according to the clock interruption accuracy requirements of the VNF before the second determination module determines the hardware clock address for the VNF according to the clock interruption accuracy requirements;

所述发送模块还用于:向所述VIM发送资源预留请求;The sending module is further configured to: send a resource reservation request to the VIM;

还包括第二接收模块,用于接收所述VIM返回的资源预留结果,所述资源预留结果中携带物理设备的标识。A second receiving module is also included, configured to receive the resource reservation result returned by the VIM, where the resource reservation result carries the identifier of the physical device.

结合第二方面的第八种可能实现方式,在第二方面的第九种可能实现方式中,所述NFV功能实体为所述VNFM,则所述VNFM还包括:还包括:请求模块,用于在所述第五确定模块接收所述VIM返回的资源预留结果,所述资源预留结果中携带物理设备的标识之后,请求所述VIM创建和启动虚拟机。With reference to the eighth possible implementation of the second aspect, in the ninth possible implementation of the second aspect, the NFV functional entity is the VNFM, and the VNFM further includes: a request module configured to After the fifth determining module receives the resource reservation result returned by the VIM, where the resource reservation result carries the identifier of the physical device, it requests the VIM to create and start a virtual machine.

结合第二方面的第八种或第九种可能实现方式,在第二方面的第十种可能实现方式中,所述NFV功能实体为所述NFVO,所述资源预留结果中包括:所述硬件时钟地址;With reference to the eighth or ninth possible implementation of the second aspect, in the tenth possible implementation of the second aspect, the NFV functional entity is the NFVO, and the resource reservation result includes: the hardware clock address;

所述第二确定模块具体用于:从所述资源预留结果中获取所述硬件时钟地址。The second determination module is specifically configured to: obtain the hardware clock address from the resource reservation result.

结合第二方面的第十种可能实现方式,在第二方面的第十一种可能实现方式中,所述资源预留结果中还包括:所述VNF对所述硬件时钟地址的访问周期和访问时长。With reference to the tenth possible implementation of the second aspect, in the eleventh possible implementation of the second aspect, the resource reservation result further includes: the VNF's access cycle and access to the hardware clock address duration.

结合第二方面的第十种可能实现方式,在第二方面的第十二种可能实现方式中,所述NFV功能实体为所述NFVO,则所述NFVO还包括:With reference to the tenth possible implementation manner of the second aspect, in the twelfth possible implementation manner of the second aspect, the NFV functional entity is the NFVO, and the NFVO further includes:

第六确定模块,用于根据所述第二确定模块从所述资源预留结果中获取所述硬件时钟地址之后,确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The sixth determination module is 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.

本发明第三方面提供一种网络功能虚拟化NFV功能实体,包括:处理器和存储器,所述存储器存储执行指令,当所述时钟中断信号的获取系统运行时,所述处理器与所述存储器之间通信,所述处理器执行所述执行指令使得所述时钟中断信号的获取系统执行如权利要求1~13任一项所述的方法。The third aspect of the present invention provides a network function virtualization NFV functional entity, including: a processor and a memory, the memory stores execution instructions, and when the acquisition system of the clock interrupt signal is running, the processor and the memory The processor executes the execution instruction so that the system for obtaining the clock interrupt signal executes the method according to any one of claims 1-13.

本发明实施例提供了一种时钟中断信号的获取方法和NFV功能实体,NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,然后,NFV功能实体根据时钟中断精度需求,为VNF确定硬件时钟地址,最后将所确定的硬件时钟地址发送给VNF,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。The embodiment of the present invention provides a method for acquiring a clock interruption signal and an NFV functional entity. The NFV functional entity determines the clock interruption accuracy requirement of the VNF according to the VNFD description information. Then, the NFV functional entity determines the hardware for the VNF according to the clock interruption accuracy requirement. clock address, and finally send the determined hardware clock address to the VNF, and the VNF can access the hardware clock according to the obtained hardware clock address and obtain a clock interrupt signal. Instead of calling the underlying hardware clock interrupt signal through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then providing the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thus avoiding the clock signal interruption Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例一提供的时钟中断信号的获取方法的流程图;FIG. 1 is a flowchart of a method for acquiring a clock interrupt signal provided in Embodiment 1 of the present invention;

图2为本发明实施例二提供的时钟中断信号的获取方法的流程图一;FIG. 2 is a flowchart 1 of a method for acquiring a clock interrupt signal provided in Embodiment 2 of the present invention;

图3为本发明实施例二提供的时钟中断信号的获取方法的架构和接口示意图一;FIG. 3 is a first schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 2 of the present invention;

图4为本发明实施例二提供的时钟中断信号的获取方法的架构和接口示意图二;FIG. 4 is a second schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 2 of the present invention;

图5为本发明实施例二提供的时钟中断信号的获取方法的架构和接口示意图三;FIG. 5 is a third schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 2 of the present invention;

图6为本发明实施例二提供的时钟中断信号的获取方法的架构和接口示意图四;FIG. 6 is a fourth schematic diagram of the structure and interface of the clock interrupt signal acquisition method provided by Embodiment 2 of the present invention;

图7为本发明实施例二提供的时钟中断信号的获取方法流程图二;FIG. 7 is a second flowchart of a method for acquiring a clock interrupt signal provided by Embodiment 2 of the present invention;

图8为本发明实施例三提供的时钟中断信号的获取方法流程图;FIG. 8 is a flowchart of a method for acquiring a clock interrupt signal provided by Embodiment 3 of the present invention;

图9为本发明实施例三提供的时钟中断信号的获取方法的架构和接口示意图一;FIG. 9 is a first schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 3 of the present invention;

图10为本发明实施例三提供的时钟中断信号的获取方法的架构和接口示意图二;FIG. 10 is a second schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 3 of the present invention;

图11为本发明实施例四提供的时钟中断信号的获取方法流程图;FIG. 11 is a flowchart of a method for acquiring a clock interrupt signal provided in Embodiment 4 of the present invention;

图12为本发明实施例四提供的时钟中断信号的获取方法的架构和接口示意图一;FIG. 12 is a first schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 4 of the present invention;

图13为本发明实施例四提供的时钟中断信号的获取方法的架构和接口示意图二;FIG. 13 is a second schematic diagram of the architecture and interface of the clock interrupt signal acquisition method provided by Embodiment 4 of the present invention;

图14为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图一;FIG. 14 is a first structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图15为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图二;FIG. 15 is a second structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图16为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图三;FIG. 16 is a third schematic structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图17为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图四;FIG. 17 is a fourth schematic structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图18为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图五;FIG. 18 is a fifth structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图19为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图六;FIG. 19 is a sixth structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图20为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图七;FIG. 20 is a schematic structural diagram VII of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图21为本发明实施例五提供的一种网络功能虚拟化NFV功能实体的结构示意图八;FIG. 21 is a schematic eighth structural diagram of a network function virtualization NFV functional entity provided by Embodiment 5 of the present invention;

图22所示为本发明实施例六提供的一种网络功能虚拟化NFV功能实体的示意图。FIG. 22 is a schematic diagram of a network function virtualization NFV functional entity provided by Embodiment 6 of the present invention.

具体实施方式detailed description

为使本发明实施例的目的:技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose of the embodiments of the present invention: technical solutions and advantages clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明实施例一提供的时钟中断信号的获取方法流程图,如图1所示,该方法包括:Fig. 1 is a flow chart of a method for acquiring a clock interrupt signal provided in Embodiment 1 of the present invention. As shown in Fig. 1, the method includes:

步骤101:网络功能虚拟化NFV功能实体根据虚拟网络功能需求描述文件(Virtualized Network Function Descriptor,简称VNFD)描述信息,确定VNF的时钟中断精度需求;Step 101: The network function virtualization NFV functional entity determines the clock interruption accuracy requirement of the VNF according to the description information of the virtual network function requirement description file (Virtualized Network Function Descriptor, referred to as VNFD);

其中,NFV功能实体可以为网络功能虚拟化编排器(Network FunctionVirtualized Orchestrator,简称NFVO)或者虚拟网络功能管理器(Virtualized NetworkFunction Manager,简称VNFM)。VNFD描述的信息具体包括对VNF部署行为和操作行为的配置,其中部署行为包括但不限于VNF要求的部署环境,具体是指VNF对网络功能虚拟化基础设施(Network Function Virtualized Infrastructure,简称NFVI)资源的需求,如虚拟机个数,虚拟机映象(image)个数、需要的计算资源和存储资源等。操作行为主要是VNF生命周期管理过程中的行为,包括但不限于VNF拓扑、启动和关闭、与VNF生命周期事件匹配的功能性脚本等。Wherein, the NFV functional entity may be a network function virtualized orchestrator (Network Function Virtualized Orchestrator, NFVO for short) or a virtual network function manager (Virtualized NetworkFunction Manager, VNFM for short). The information described by VNFD specifically includes the configuration of VNF deployment behavior and operation behavior. The deployment behavior includes but is not limited to the deployment environment required by the VNF, specifically refers to the VNF's network function virtualized infrastructure (Network Function Virtualized Infrastructure, NFVI for short) resources The requirements, such as the number of virtual machines, the number of virtual machine images (image), required computing resources and storage resources, etc. Operational behaviors are mainly behaviors during the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, and functional scripts matching VNF lifecycle events, etc.

VNFD是在VNF加载(on-boarding)过程中由第三方实体发送给NFVO,由NFVO将其提交到NFV目录库中,NFVO在需要的时候从NFV目录库中读取VNFD。VNFD is sent to NFVO by a third-party entity during the VNF loading (on-boarding) process, and NFVO submits it to the NFV catalog, and NFVO reads VNFD from the NFV catalog when needed.

这里的第三方实体可以是任何一个代表VNF提供商的实体,也可以是服务提供商管理域内的一个实体。The third-party entity here may be any entity representing the VNF provider, or an entity within the management domain of the service provider.

VNF时钟中断精度是指VNF对时钟中断的频率以及频率稳定度的需求。VNF clock interruption accuracy refers to the VNF's requirements for clock interruption frequency and frequency stability.

步骤102:NFV功能实体根据时钟中断精度需求,为VNF确定硬件时钟地址;Step 102: The NFV functional entity determines the hardware clock address for the VNF according to the clock interrupt accuracy 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 interrupt accuracy requirements of the VNF. If it is determined that the VNF needs to directly access the hardware clock, as a feasible implementation, NFVO or VNFM can send the clock address The manager sends a query request, which carries the identification information of the VNF and the identification information of the physical device mapped by the VNF, and then NFVO or VNFM receives the address of the hardware clock accessible to the VNF returned by the clock address manager, and the address of the hardware clock that the VNF accesses. Visit period and visit duration.

作为另一种可行的实施方式,NFVO上还可以预先存储硬件时钟的信息,从而NFVO可以直接根据存储的硬件时钟的信息,确定VNF能够直接访问的所述硬件时钟地址,还可以进一步确定VNF对硬件时钟的访问周期和访问时长。As another feasible implementation, NFVO can also store hardware clock information in advance, so that NFVO can directly determine the address of the hardware clock that the VNF can directly access based on the stored hardware clock information, and can further determine the VNF's The access cycle and access duration of the hardware clock.

其中,所述硬件时钟地址管理器可以为业务支撑系统/运营支撑系统(Businesssupport system/Operation support system,简称OSS/BSS)、NFVO、VNFM或者虚拟化基础设施管理器(Virtualized Infrastructure Manager,简称VIM)等,本发明不对其限制。Wherein, the hardware clock address manager may be a business support system/operation support system (OSS/BSS for short), NFVO, VNFM or a virtualized infrastructure manager (Virtualized Infrastructure Manager, VIM for short) etc., the present invention is not limited thereto.

步骤103:NFV功能实体将硬件时钟的地址发送给VNF,以使VNF根据硬件时钟的地址访问硬件时钟来获取时钟中断信号。Step 103: 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.

NFV功能实体将接收到的时钟地址管理器返回的硬件时钟地址以及硬件时钟的访问周期和访问时长发送给VNF,然后VNF根据接收到的可访问的硬件时钟地址来获取时钟中断信号。The NFV functional entity sends the received hardware clock address returned by the clock address manager and the hardware clock access cycle and access duration to the VNF, and then the VNF obtains the clock interrupt signal according to the received accessible hardware clock address.

本发明提供的时钟中断信号的获取方法,NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,然后,NFV功能实体根据时钟中断精度需求,为VNF确定硬件时钟地址,最后将所确定的硬件时钟地址发送给VNF,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。According to the acquisition method of the clock interruption signal provided by the present invention, the NFV functional entity determines the clock interruption accuracy requirement of the VNF according to the VNFD description information, and then, the NFV functional entity determines the hardware clock address for the VNF according to the clock interruption accuracy requirement, and finally the determined The 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 a clock interrupt signal. Instead of calling the underlying hardware clock interrupt signal through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then providing the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thus avoiding the clock signal interruption 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向时钟地址管理器发送时钟地址查询请求,该方法包括:Fig. 2 is the first flow chart of the method for obtaining the clock interrupt signal provided by the second embodiment of the present invention. As shown in Fig. 2, in the implementation scenario provided by this embodiment, the clock address manager is maintained by the OSS/BSS system or the clock address server , and the NFVO sends a clock address query request to the clock address manager, the method includes:

步骤200:在VNFD中增加VNF对时钟中断精度的需求描述,通过VNF加载过程,由第三方实体将VNFD发送给NFVO,由NFVO将VNFD提交到VNF目录中,以便NFVO和VNFM能够获取VNF的同步需求。Step 200: Add the description of the VNF's requirements for clock interruption accuracy in the VNFD. Through the VNF loading process, the third-party entity sends the VNFD to the NFVO, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and VNFM can obtain the synchronization of the VNF. need.

其中,第三方实体可以是任何一个代表VNF提供商的实体,也可以是服务提供商管理域内的一个实体。Wherein, the third-party entity may be any entity representing 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 VNF deployment and operation behavior, specifically including the description of VNF deployment behavior and operation behavior configuration, where deployment behavior includes but not limited to the deployment environment required by VNF, specifically refers to the VNF’s requirements for NFVI resources, such as The number of virtual machines, the number of virtual machine images (image), required computing resources and storage resources, etc. Operational behaviors are mainly behaviors during 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: The NFVO receives the request for instantiating the VNF sent by the trigger Sender.

该请求用于实例化一个新的VNF;This request is used to instantiate a new VNF;

其中,Sender可以是OSS、网元管理系统(Element Management System,简称EMS)、VNFM。Wherein, the Sender may be an OSS, a network element management system (Element Management System, EMS for short), or a VNFM.

步骤202:NFVO验证收到的Sender发送的实例化VNF的请求的有效性;Step 202: NFVO verifies the validity of the received request for instantiating the VNF sent by the Sender;

其中,有效性是指VNF请求的合法性,包括但不限于Sender的合法性和实例化请求本身的合法性,具体的,Sender的合法性是指Sender是否被授权发送该请求;实例化请求本身的合法性是指该请求携带的安全参数是否能证明该请求是合法的,没有被第三方篡改的。Among them, 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 instantiation request itself The legitimacy of the request 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.

步骤203:NFVO从VNF目录中读取VNFD,包括读取VNF对时钟中断的需求。Step 203: The NFVO reads the VNFD from the VNF directory, including reading the VNF's requirement for clock interruption.

步骤204:NFVO生成一个VNF实例项,并将生成的实例项增加到“NFV实例(NFVInstances)”数据库中。Step 204: NFVO generates a VNF instance item, and adds the generated instance item to the "NFV instance (NFVInstances)" database.

VNF实例项具体用于在VNF实例运行期间NFVO和/或VNFM根据该VNF实例项对VNF实例的相关信息进行查询和维护。VNF实例的相关信息具体是指VNF实例使用的NFVI资源、VNF实例对应的虚拟机的运行状态、性能等。The VNF instance item is specifically used for the NFVO and/or VNFM to query and maintain the relevant information of the VNF instance according to the VNF instance item during the operation of the VNF instance. The relevant information of the VNF instance specifically refers to the NFVI resources used by the VNF instance, the running status and performance of the virtual machine corresponding to the VNF instance, and the like.

步骤205a:NFVO提交实例化参数到VNFM。Step 205a: NFVO submits 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 the service throughput to be satisfied by the VNF and/or the virtual machine on which the VNF is deployed, Parameters such as network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operation behavior, specifically referring to VNF’s requirements for NFVI resources and the limitation and description of behavior during the VNF lifecycle management process. The instantiation parameters are used together with the VNFD to describe and limit the requirements of the resources for deploying the VNF and the instantiation process of the VNF.

步骤205b-205c:VNFM获取VNFD并检查实例化参数,如果需要的话会对实例化参数进行一些修改。Steps 205b-205c: The VNFM obtains the VNFD and checks the instantiation parameters, and makes some modifications to the instantiation parameters if necessary.

具体是指,当VNFM中预设置的VNF实例化参数与VNFD中描述的需求信息和/或NFVO提交给VNFM的实例化参数不一致时,VNFM会对不一致的实例化参数进行修改。Specifically, when the VNF instantiation parameters preset in VNFM are inconsistent with the requirement information described in VNFD and/or the instantiation parameters submitted by NFVO to VNFM, VNFM will modify the inconsistent instantiation parameters.

在步骤203中,NFVO有可能不能直接读取VNFD中增加的对时钟中断需求描述的相关信息,VNFM会在这一步骤中从VNFD中解析时钟中断需求,发送给NFVO。In step 203, the NFVO may not be able to directly read the relevant information about the description of the clock interruption requirement added in the VNFD. In this step, the VNFM will analyze the clock interruption requirement from the VNFD and send it to the NFVO.

步骤206a:NFVO选择一个认为可以给VNF提供满足需求的资源的VIM。Step 206a: The NFVO selects a VIM that can provide the VNF with resources that meet the requirements.

“NFVI资源(NFVI resource)”数据库中包括对NFVI服务器能力的记录,具体包括NFVI服务器能提供的资源描述,包括能提供的所有的资源、已经提供的资源、剩下的可用的资源以及已经预留资源等。The "NFVI resource (NFVI resource)" database includes the records of the capabilities of the NFVI server, specifically including the description of the resources that the NFVI server can provide, including all the resources that can be provided, the resources that have been provided, the remaining resources that are available, and the resources that have been reserved. Reserve resources etc.

NFVO根据“NFVI resource”数据库中的记录,选择一个VIM,该VIM管理的NFVI服务器的能力能够满足VNF的需求。这里的需求具体是指VNFD中描述的需求以及实例化参数中限定的需求。NFVO selects a VIM according to the records in the "NFVI resource" database, and the capability of the NFVI server managed by the VIM can meet the requirements 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's demand for computing, storage and network resources, but also the VNF's demand for clock interruption (whether the VNF needs to directly access the hardware clock device to obtain clock interruption).

步骤206c:VIM检查所管理的资源的状态,返回资源预留结果。其中,VIM除了考虑计算、存储和网络资源的状态,还要考虑所管理的时钟设备资源的状态,如果时钟设备负载较大,可以执行步骤206d,即返回资源预留失败指示给NFVO,NFVO重新执行步骤200-206c,直到选择合适的VIM。Step 206c: VIM checks the status of the managed resources, and returns the resource reservation result. Among them, in addition to considering the status of computing, storage and network resources, VIM also considers the status of managed clock device resources. If the clock device has a heavy load, step 206d can be performed, that is, return a resource reservation failure indication to NFVO, and NFVO restarts Steps 200-206c are executed until a suitable VIM is selected.

步骤207a:如果VNF需要采用直接访问硬件时钟设备的方式获取时钟中断NFVO向时钟地址管理器发送查询请求,查询请求中携带VNF的身份标识号码(Identity,简称ID),映射的物理设备的ID(可能包括一个或多个)信息。Step 207a: If the VNF needs to directly access the hardware clock device to obtain the clock interrupt NFVO sends a query request to the clock address manager, the query request carries the VNF's identity number (Identity, ID for short), the ID of the mapped physical device ( may include one or more) information.

步骤207b-207c:时钟地址管理器根据查询请求,本地查询VNF可以直接访问的硬件时钟地址,并确认VNF的访问权限,将结果返回给NFVO,结果中包括硬件时钟的地址,也可以包括VNF访问硬件时钟的周期和持续时长的配置信息。Steps 207b-207c: According to the query request, the clock address manager locally queries the address of the hardware clock that the VNF can directly access, and confirms the access rights of the VNF, and returns the result to NFVO. The result includes the address of the hardware clock, and can also include VNF access Configuration information for the period and duration of the hardware clock.

步骤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 Uniform Resource Locator (Uniform Resource Locator, URL, etc.) and hardware clock address and configuration information indication.

可选的,NFVO也可以在此步骤中配置VNF访问硬件时钟的周期和持续时长。Optionally, the NFVO can also configure the period and duration of the VNF's access to the hardware clock in this step.

步骤209a-209b:VNFM请求VIM为VNF分配资源。Steps 209a-209b: VNFM requests VIM to allocate resources for VNF.

步骤210a-210b:VNFM根据VNFD请求VIM创建和启动虚拟机,包括安装软件程序包,执行启动脚本程序,发送配置数据,并将虚拟机连接到网络等。Steps 210a-210b: VNFM requests VIM to create and start a virtual machine according to the VNFD request, including installing software packages, executing startup scripts, sending configuration data, and connecting the virtual machine to the network.

步骤211:VNFM指示VNF可以直接访问的硬件时钟地址,访问周期和持续时长。Step 211: VNFM instructs the VNF to directly access the hardware clock address, access cycle and duration.

步骤212:VNF根据VNFM的指示访问硬件时钟,获取硬件时钟中断,对程序进行调度。Step 212: The VNF accesses the hardware clock according to the instruction of the VNFM, obtains the interrupt of the hardware clock, and schedules the program.

步骤213:VNFM返回VNF实例化结果给NFVO。Step 213: VNFM returns the VNF instantiation result to NFVO.

步骤214a-214b:NFVO根据VNFM返回的VNF实例化结果进行资源状态更新。Steps 214a-214b: NFVO performs resource status update according to the VNF instantiation result returned by VNFM.

步骤215:NFVO更新“NFV Instances”和“NFVI resource”数据库。Step 215: NFVO updates the "NFV Instances" and "NFVI resource" databases.

步骤216:NFVO返回VNF实例化结果给Sender。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 an interface, as shown in the 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 the clock address server, where the clock module server is responsible for managing and maintaining the status and status of each clock module/device in the network address. Moreover, the clock module and the hardware may be connected through an interface, as shown in FIG. 5 , or the clock module may be integrated in the hardware, as shown in FIG. 6 .

本发明实施例提供的时钟中断信号的获取方法,NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,然后,NFV功能实体根据时钟中断精度需求,为VNF确定硬件时钟地址,最后将所确定的硬件时钟地址发送给VNF,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。According to the acquisition method of the clock interrupt signal provided by the embodiment of the present invention, the NFV functional entity determines the clock interrupt accuracy requirement of the VNF according to the VNFD description information, and then, the NFV functional entity determines the hardware clock address for the VNF according to the clock interrupt accuracy requirement, and finally transfers the 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 a clock interrupt signal. Instead of calling the underlying hardware clock interrupt signal through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then providing the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thus avoiding the clock signal interruption 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 the second flow chart of the method for obtaining the clock interrupt signal provided by the second embodiment of the present invention. As shown in Fig. 7, in the implementation scenario provided by this embodiment, the clock address manager is maintained by the OSS/BSS system or the clock address server , and the VNFM sends a clock address query request to the clock address manager, the method includes:

步骤300:在VNFD中增加VNF对时钟中断精度的需求描述,通过VNF加载过程,由第三方实体将VNFD发送给NFVO,由NFVO将VNFD提交到VNF目录中,以便NFVO和VNFM能够获取VNF的同步需求。Step 300: Add the description of the VNF's requirements for clock interruption accuracy in the VNFD, through the VNF loading process, the third-party entity sends the VNFD to the NFVO, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and VNFM can obtain the synchronization of the VNF need.

其中,第三方实体可以是任何一个代表VNF提供商的实体,也可以是服务提供商的管理域内的一个实体。Wherein, the third party entity may be any entity representing the VNF provider, and may also be 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 VNF deployment and operation behavior, specifically including the description of VNF deployment behavior and operation behavior configuration, where deployment behavior includes but not limited to the deployment environment required by VNF, specifically refers to the VNF’s requirements for NFVI resources, Such as the number of virtual machines, the number of virtual machine images (image), required computing resources and storage resources, etc. Operational behaviors are mainly behaviors during the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, and functional scripts that match VNF lifecycle events.

步骤301:NFVO收到Sender发送的实例化VNF的请求。Step 301: The NFVO receives a request from the Sender to instantiate the VNF.

该请求用于实例化一个新的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的请求的有效性。Step 302: The NFVO verifies the validity of the VNF instantiation request sent by the Sender.

其中,有效性是指VNF请求的合法性,包括但不限于Sender的合法性和实例化请求本身的合法性,具体的,Sender的合法性是指Sender是否被授权发送该请求;实例化请求本身的合法性是指该请求携带的安全参数是否能证明该请求是合法的,没有被第三方篡改的。Among them, 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 instantiation request itself The legitimacy of the request 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: The NFVO reads the VNFD from the VNF directory, including reading the VNF's requirement for clock interruption.

步骤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实例对应的虚拟机的运行状态、性能等。Wherein, the VNF instance item is specifically used for the NFVO and/or VNFM to query and maintain the relevant information of the VNF instance according to the VNF instance item during the operation of the VNF instance. The relevant information of the VNF instance specifically refers to the NFVI resources used by the VNF instance, the running status and performance of the virtual machine corresponding to the VNF instance, and the like.

步骤305a:NFVO提交实例化参数到VNFM。Step 305a: NFVO submits 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 the service throughput to be satisfied by the VNF and/or the virtual machine on which the VNF is deployed Parameters such as volume and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operation behavior, specifically referring to VNF’s requirements for NFVI resources and the limitation and description of behavior in the VNF life cycle management process. The instantiation parameters are used together with the VNFD to describe and limit the requirements of the resources for deploying the VNF and the instantiation process of the VNF.

步骤305b-305c:VNFM获取VNFD并检查实例化参数,如果需要的话会对实例化参数进行一些修改。Steps 305b-305c: The VNFM obtains the VNFD and checks the instantiation parameters, and modifies the instantiation parameters if necessary.

具体是指,当VNFM中预设置的VNF实例化参数与VNFD中描述的需求信息和/或NFVO提交给VNFM的实例化参数不一致时,VNFM会对不一致的实例化参数进行修改。Specifically, when the VNF instantiation parameters preset in VNFM are inconsistent with the requirement information described in VNFD and/or the instantiation parameters submitted by NFVO to VNFM, VNFM will modify the inconsistent instantiation parameters.

在步骤303中,NFVO有可能不能直接读取VNFD中增加的对时钟中断需求描述的相关信息,VNFM会在这一步骤中从VNFD中解析时钟中断需求,发送给NFVO。In step 303, the NFVO may not be able to directly read the relevant information about the description of the clock interruption requirement added in the VNFD. In this step, the VNFM will analyze the clock interruption requirement from the VNFD and send it to the NFVO.

步骤306a:NFVO选择一个认为可以给VNF提供满足需求资源的VIM。Step 306a: The NFVO selects a VIM that it believes can provide the VNF with resources meeting the requirements.

其中,“NFVI resource”数据库中包括对NFVI服务器能力的记录,具体包括NFVI服务器能提供的资源描述,包括能提供的所有的资源、已经提供的资源、剩下的可用的资源以及已经预留资源等。Among them, the "NFVI resource" database includes records of the capabilities of the NFVI server, specifically including resource descriptions that the NFVI server can provide, including all resources that can be provided, resources that have been provided, remaining available resources, and reserved resources Wait.

NFVO根据“NFVI resource”数据库中的记录,选择一个VIM,该VIM管理的NFVI服务器的能力能够满足VNF的需求。这里的需求具体是指VNFD中描述的需求以及实例化参数中限定的需求。NFVO selects a VIM according to the records in the "NFVI resource" database, and the capability of the NFVI server managed by the VIM can meet the requirements of the VNF. 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's demand for computing, storage and network resources, but also the VNF's demand for clock interruption (whether the VNF needs to directly access the hardware clock device to obtain clock interruption).

步骤306c:VIM检查所管理的资源的状态,返回资源预留结果。其中,VIM除了考虑计算、存储和网络资源的状态,还要考虑所管理的时钟设备资源的状态,如果时钟设备负载较大,可以执行步骤306d,即返回资源预留失败指示给NFVO,NFVO重新执行步骤300-306c,直到选择合适的VIM。Step 306c: VIM checks the status of the managed resources, and returns the resource reservation result. Among them, in addition to considering the status of computing, storage and network resources, VIM also considers the status of managed clock device resources. If the clock device has a heavy load, step 306d can be performed, that is, return a resource reservation failure indication to NFVO, and NFVO restarts Steps 300-306c are executed until a suitable VIM is selected.

步骤307:NFVO发送VNF实例化请求给VNFM,其中携带了对应VIM的标识(如URL)。Step 307: The NFVO sends a VNF instantiation request to the VNFM, which carries the identifier (such as URL) of the corresponding VIM.

步骤308a-308b:VNFM请求VIM给VNF分配资源。Steps 308a-308b: VNFM requests VIM to allocate resources to VNF.

步骤309a-309b:VNFM根据VNFD请求VIM创建和启动虚拟机,包括安装软件程序包,执行启动脚本程序,发送配置数据,并将VM连接到网络等。Steps 309a-309b: VNFM requests VIM to create and start a virtual machine according to the VNFD request, including installing software packages, executing startup scripts, sending configuration data, and connecting the VM to the network.

步骤310a:如果VNF需要采用直接访问硬件时钟设备的方式获取时钟中断,VNFM向时钟地址管理器发送查询请求,携带VNF的ID,映射的物理设备的ID(可能包括一个或多个)信息。Step 310a: If the VNF needs to directly access the hardware clock device to obtain the clock interrupt, the VNFM sends a query request to the clock address manager, carrying the ID of the VNF and the ID of the mapped physical device (may include one or more) information.

VNFM还需要向NFVO请求时钟地址管理器的地址,以便向时钟地址管理器发送查询请求;VNFM also needs to request the address of the clock address manager from NFVO in order to send a query request to the clock address manager;

或者在步骤307中,NFVO在发送VNF实例化请求给VNFM时,携带了时钟地址管理器的地址。Or in step 307, when the NFVO sends the VNF instantiation request to the VNFM, it carries the address of the clock address manager.

步骤310b-310c:时钟地址管理器根据请求本地查询VNF可以直接访问的硬件时钟的地址,并确认VNF的访问权限,将结果返回给VNFM,结果中包括硬件时钟的地址,也可以包括VNF访问硬件时钟的周期和持续时长的配置信息。Steps 310b-310c: The clock address manager locally queries the address of the hardware clock that the VNF can directly access according to the request, and confirms the access rights of the VNF, and returns the result to the VNFM. The result includes the address of the hardware clock, and can also include the VNF access hardware Configuration information for the period and duration of the clock.

步骤311:VNFM指示VNF可以直接访问的硬件时钟地址,访问周期和持续时长。Step 311: VNFM instructs the VNF to directly access the hardware clock address, access cycle and duration.

可选的,VNFM也可在此步骤中配置VNF访问硬件时钟的周期和持续时长。Optionally, the VNFM can also configure the period and duration of the VNF's access to the hardware clock in this step.

步骤312:VNF根据VNFM的指示访问硬件时钟,获取硬件时钟中断,对程序进行调度。Step 312: The VNF accesses the hardware clock according to the instruction of the VNFM, obtains the interrupt of the hardware clock, and schedules the program.

步骤313:VNFM返回VNF实例化结果给NFVO。Step 313: VNFM returns the VNF instantiation result to NFVO.

步骤314a-314b:NFVO根据VNFM返回的VNF实例化结果进行资源状态更新。Steps 314a-314b: NFVO performs resource status update according to the VNF instantiation result returned by VNFM.

步骤315:NFVO更新“NFV Instances”和“NFVI resource”数据库。Step 315: NFVO updates the "NFV Instances" and "NFVI resource" databases.

步骤316:NFVO返回VNF实例化结果给Sender。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 an interface, as shown in the 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 the clock address server, where the clock module server is responsible for managing and maintaining the status and status of each clock module/device in the network address. Moreover, the clock module and the hardware may be connected through an interface, as shown in FIG. 5 , or the clock module may be integrated in the hardware, as shown in FIG. 6 .

本发明实施例提供的时钟中断信号的获取方法,NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,然后,NFV功能实体根据时钟中断精度需求,为VNF确定硬件时钟地址,最后将所确定的硬件时钟地址发送给VNF,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。According to the acquisition method of the clock interrupt signal provided by the embodiment of the present invention, the NFV functional entity determines the clock interrupt accuracy requirement of the VNF according to the VNFD description information, and then, the NFV functional entity determines the hardware clock address for the VNF according to the clock interrupt accuracy requirement, and finally transfers the 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 a clock interrupt signal. Instead of calling the underlying hardware clock interrupt signal through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then providing the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thus avoiding the clock signal interruption Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.

图8为本发明实施例三提供的时钟中断信号的获取方法流程图,如图8所示,本实施例提供的实施场景中,时钟地址管理器由NFVO维护,该方法包括:Fig. 8 is a flowchart of a method for obtaining a clock interrupt signal provided by Embodiment 3 of the present invention. As shown in Fig. 8, in the implementation scenario provided by this embodiment, the clock address manager is maintained by NFVO, and the method includes:

步骤400:在VNFD中增加VNF对时钟中断精度的需求描述,通过VNF加载过程,由第三方实体将VNFD发送给NFVO,由NFVO将VNFD提交到VNF目录中,以便NFVO和VNFM获取VNF的同步需求。Step 400: Add the description of the VNF's requirements for clock interruption accuracy in the VNFD. Through the VNF loading process, the third-party entity sends the VNFD to the NFVO, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and VNFM can obtain the synchronization requirements of the VNF. .

其中,第三方实体可以是任何一个代表VNF提供商的实体,也可以是服务提供商的管理域内的一个实体。Wherein, the third party entity may be any entity representing the VNF provider, and may also be 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 VNF deployment and operation behavior, specifically including the description of VNF deployment behavior and operation behavior configuration, where deployment behavior includes but not limited to the deployment environment required by VNF, specifically refers to the VNF’s requirements for NFVI resources, Such as the number of virtual machines, the number of virtual machine images (image), required computing resources and storage resources, etc. Operational behaviors are mainly behaviors during the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, and functional scripts that match VNF lifecycle events.

步骤401:NFVO收到Sender发送的实例化VNF的请求。Step 401: The NFVO receives a request from the Sender to instantiate the VNF.

该请求用于实例化一个新的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的请求的有效性;Step 402: NFVO verifies the validity of the received request for instantiating the VNF sent by the Sender;

其中,有效性是指VNF请求的合法性,包括但不限于Sender的合法性和实例化请求本身的合法性,具体的,Sender的合法性是指Sender是否被授权发送该请求;实例化请求本身的合法性是指该请求携带的安全参数是否能证明该请求是合法的,没有被第三方篡改的。Among them, 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 instantiation request itself The legitimacy of the request 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.

步骤403:NFVO从VNF目录中读取VNFD。包括读取VNF对时钟中断的需求。Step 403: NFVO reads the VNFD from the VNF directory. Including reading the VNF's need for clock interrupts.

步骤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实例对应的虚拟机的运行状态、性能等。Wherein, the VNF instance item is specifically used for the NFVO and/or VNFM to query and maintain the relevant information of the VNF instance according to the VNF instance item during the operation of the VNF instance. The relevant information of the VNF instance specifically refers to the NFVI resources used by the VNF instance, the running status and performance of the virtual machine corresponding to the VNF instance, and the like.

步骤405a:NFVO提交实例化参数到VNFM。Step 405a: NFVO submits 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 the service throughput to be satisfied by the VNF and/or the virtual machine on which the VNF is deployed Parameters such as volume and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operation behavior, specifically referring to VNF’s requirements for NFVI resources and the limitation and description of behavior in the VNF life cycle management process. The instantiation parameters are used together with the VNFD to describe and limit the requirements of the resources for deploying the VNF and the instantiation process of the VNF.

步骤405b-405c:VNFM获取VNFD并检查实例化参数,如果需要的话会对实例化参数进行一些修改。Steps 405b-405c: The VNFM obtains the VNFD and checks the instantiation parameters, and modifies the instantiation parameters if necessary.

具体是指,当VNFM中预设置的VNF实例化参数与VNFD中描述的需求信息和/或NFVO提交给VNFM的实例化参数不一致时,VNFM会对不一致的实例化参数进行修改。Specifically, when the VNF instantiation parameters preset in VNFM are inconsistent with the requirement information described in VNFD and/or the instantiation parameters submitted by NFVO to VNFM, VNFM will modify the inconsistent instantiation parameters.

在步骤403中,NFVO有可能不能直接读取VNFD中增加的对时钟中断需求描述的相关信息,VNFM会在这一步骤中从VNFD中解析时钟中断需求,发送给NFVO。In step 403, the NFVO may not be able to directly read the relevant information about the description of the clock interruption requirement added in the VNFD. In this step, the VNFM will analyze the clock interruption requirement from the VNFD and send it to the NFVO.

步骤406a:NFVO选择一个认为可以给VNF提供满足需求资源的VIM。Step 406a: The NFVO selects a VIM that it believes can provide the VNF with resources meeting the requirements.

其中,“NFVI resource”数据库中包括对NFVI服务器能力的记录,具体包括NFVI服务器能提供的资源描述,包括能提供的所有的资源、已经提供的资源、剩下的可用的资源以及已经预留资源等。Among them, the "NFVI resource" database includes records of the capabilities of the NFVI server, specifically including resource descriptions that the NFVI server can provide, including all resources that can be provided, resources that have been provided, remaining available resources, and reserved resources Wait.

NFVO根据“NFVI resource”数据库中的记录,选择一个VIM,该VIM管理的NFVI服务器的能力能够满足VNF的需求。这里的需求具体是指VNFD中描述的需求以及实例化参数中限定的需求。NFVO selects a VIM according to the records in the "NFVI resource" database, and the capability of the NFVI server managed by the VIM can meet the requirements of the VNF. 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: NFVO sends a resource reservation request to VIM, which includes not only the VNF's requirements for computing, storage and network resources, but also the VNF's requirements for clock interruption (whether the VNF needs to directly access the hardware clock device to obtain clock interruption).

步骤406c:VIM检查所管理的资源的状态,返回资源预留结果。其中,VIM除了考虑计算、存储和网络资源的状态,还要考虑所管理的时钟设备资源的状态,如果时钟设备负载较大,可以执行步骤406d,即返回资源预留失败指示给NFVO,NFVO重新执行步骤400-406c,直到选择合适的VIM。Step 406c: VIM checks the status of the managed resources, and returns the resource reservation result. Among them, in addition to considering the status of computing, storage and network resources, VIM also considers the status of managed clock device resources. If the clock device has a heavy load, step 406d can be performed, that is, return a resource reservation failure indication to NFVO, and NFVO restarts Steps 400-406c are executed until a suitable VIM is selected.

步骤407:如果VNF需要采用直接访问硬件时钟设备的方式获取时钟中断,NFVO根据VIM返回的资源预留结果中的物理设备的ID,本地查询VNF可以直接访问的硬件时钟的地址,并确认VNF的访问权限。同时配置VNF访问硬件时钟的周期和持续时长。Step 407: If the VNF needs to obtain the clock interrupt by directly accessing the hardware clock device, 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 address of the VNF access permission. At the same time, configure the period and duration of the VNF's access to the hardware clock.

步骤408:NFVO发送VNF实例化请求给VNFM,其中携带了对应VIM的标识(如URL)以及硬件时钟地址和配置信息指示。Step 408: NFVO sends a VNF instantiation request to VNFM, which carries the corresponding VIM identifier (such as URL), hardware clock address and configuration information indication.

步骤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: VNFM creates and starts a virtual machine according to the VNFD request VIM, including installing software packages, executing startup scripts, sending configuration data, and connecting the VM to the network.

步骤411:VNFM指示VNF可以直接访问的硬件时钟地址,访问周期和持续时长。Step 411: VNFM instructs the VNF to directly access the hardware clock address, access cycle and duration.

步骤412:VNF根据VNFM的指示访问硬件时钟,获取硬件时钟中断,对程序进行调度。Step 412: The VNF accesses the hardware clock according to the instruction of the VNFM, obtains the interrupt of the hardware clock, and schedules the program.

步骤413:VNFM返回VNF实例化结果给NFVO。Step 413: VNFM returns the VNF instantiation result to NFVO.

步骤414a-414b:NFVO根据VNFM返回的VNF实例化结果进行资源状态更新。Steps 414a-414b: NFVO performs resource status update according to the VNF instantiation result returned by VNFM.

步骤415:NFVO更新“NFV Instances”和“NFVI resource”数据库。Step 415: NFVO updates the "NFV Instances" and "NFVI resource" databases.

步骤416:NFVO返回VNF实例化结果给Sender。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 Figure 9, or the clock address manager module can be integrated in the hardware, as shown in Figure 10 shown.

本发明提供的时钟中断信号的获取方法,NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,然后,NFV功能实体本地查询为VNF确定硬件时钟地址,然后将所确定的硬件时钟地址发送给VNF,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。According to the acquisition method of the clock interrupt signal provided by the present invention, the NFV functional entity determines the clock interrupt accuracy requirement of the VNF according to the VNFD description information, and then, the NFV functional entity locally inquires to determine the hardware clock address for the VNF, and then sends the determined hardware clock address Give the VNF, 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 through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then providing the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thus avoiding the clock signal interruption Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure that the program is scheduled in time.

图11为本发明实施例四提供的时钟中断信号的获取方法流程图,如图11所示,本实施例提供的实施场景中,时钟地址管理器由VIM维护,该方法包括:Fig. 11 is a flowchart of a method for obtaining a clock interrupt signal provided by Embodiment 4 of the present invention. As shown in Fig. 11, in the implementation scenario provided by this embodiment, the clock address manager is maintained by VIM, and the method includes:

步骤500:在VNFD中增加VNF对时钟中断精度的需求描述,通过VNF加载过程,由第三方实体将VNFD发送给NFVO,由NFVO将VNFD提交到VNF目录中,以便NFVO和VNFM能够获取VNF的同步需求。Step 500: Add the VNF's requirement description for clock interruption accuracy in the VNFD, through the VNF loading process, the third-party entity sends the VNFD to the NFVO, and the NFVO submits the VNFD to the VNF directory, so that the NFVO and VNFM can obtain the synchronization of the VNF need.

其中,第三方实体可以是任何一个代表VNF提供商的实体,也可以是服务提供商的管理域内的一个实体。Wherein, the third party entity may be any entity representing the VNF provider, and may also be 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 VNF deployment and operation behavior, specifically including the description of VNF deployment behavior and operation behavior configuration, where deployment behavior includes but not limited to the deployment environment required by VNF, specifically refers to the VNF’s requirements for NFVI resources, Such as the number of virtual machines, the number of virtual machine images (image), required computing resources and storage resources, etc. Operational behaviors are mainly behaviors during the VNF lifecycle management process, including but not limited to VNF topology, startup and shutdown, and functional scripts that match VNF lifecycle events.

步骤501:NFVO收到Sender发送的实例化VNF的请求。Step 501: The NFVO receives a request from the Sender to instantiate the VNF.

该请求用于实例化一个新的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: NFVO verifies the validity of the request.

其中,有效性是指VNF请求的合法性,包括但不限于Sender的合法性和实例化请求本身的合法性,具体的,Sender的合法性是指Sender是否被授权发送该请求;实例化请求本身的合法性是指该请求携带的安全参数是否能证明该请求是合法的,没有被第三方篡改的。Among them, 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 instantiation request itself The legitimacy of the request 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: The NFVO reads the VNFD from the VNF directory, which includes reading the VNF's requirement for clock interruption.

步骤504:NFVO生成一个VNF实例项,并将生成的实例项增加到“NFV Inastances”数据库中。Step 504: NFVO generates a VNF instance entry, and adds the generated instance entry to the "NFV Instances" database.

其中,VNF实例项具体用于在VNF实例运行期间NFVO和/或VNFM根据该VNF实例项对VNF实例的相关信息进行查询和维护。VNF实例的相关信息具体是指VNF实例使用的NFVI资源、VNF实例对应的虚拟机的运行状态、性能等。Wherein, the VNF instance item is specifically used for the NFVO and/or VNFM to query and maintain the relevant information of the VNF instance according to the VNF instance item during the operation of the VNF instance. The relevant information of the VNF instance specifically refers to the NFVI resources used by the VNF instance, the running status and performance of the virtual machine corresponding to the VNF instance, and the like.

步骤505a:NFVO提交实例化参数到VNFM。Step 505a: NFVO submits 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 the service throughput to be satisfied by the VNF and/or the virtual machine on which the VNF is deployed Parameters such as volume and network bandwidth; non-application-related parameters refer to configuration parameters related to VNF deployment behavior and operation behavior, specifically referring to VNF’s requirements for NFVI resources and the limitation and description of behavior in the VNF life cycle management process. The instantiation parameters are used together with the VNFD to describe and limit the requirements of the resources for deploying the VNF and the instantiation process of the VNF.

步骤505b-505c:VNFM检查实例化参数并获取VNFD,还可以根据需要对实例化参数进行一些修改。Steps 505b-505c: The VNFM checks the instantiation parameters and obtains the VNFD, and may also modify the instantiation parameters as required.

具体是指,当VNFM中预设置的VNF实例化参数与VNFD中描述的需求信息和/或NFVO提交给VNFM的实例化参数不一致时,VNFM会对不一致的实例化参数进行修改。Specifically, when the VNF instantiation parameters preset in VNFM are inconsistent with the requirement information described in VNFD and/or the instantiation parameters submitted by NFVO to VNFM, VNFM will modify the inconsistent instantiation parameters.

在步骤503中,NFVO有可能不能直接读取VNFD中增加的对时钟中断需求描述的相关信息,VNFM会在这一步骤中从VNFD中解析时钟中断需求,发送给NFVO。In step 503, the NFVO may not be able to directly read the relevant information about the description of the clock interruption requirement added in the VNFD. In this step, the VNFM will analyze the clock interruption requirement from the VNFD and send it to the NFVO.

步骤506a:NFVO选择一个可以给VNF提供满足需求资源的VIM;Step 506a: NFVO selects a VIM that can provide the VNF with resources meeting the requirements;

其中,“NFVI resource”数据库中包括对NFVI服务器能力的记录,具体包括NFVI服务器能提供的资源描述,包括能提供的所有的资源、已经提供的资源、剩下的可用的资源以及已经预留资源等。Among them, the "NFVI resource" database includes records of the capabilities of the NFVI server, specifically including resource descriptions that the NFVI server can provide, including all resources that can be provided, resources that have been provided, remaining available resources, and reserved resources Wait.

NFVO根据“NFVI resource”数据库中的记录,选择一个VIM,该VIM管理的NFVI服务器的能力能够满足VNF的需求。这里的需求具体是指VNFD中描述的需求以及实例化参数中限定的需求。NFVO selects a VIM according to the records in the "NFVI resource" database, and the capability of the NFVI server managed by the VIM can meet the requirements of the VNF. 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 selected VIM that can provide the VNF with resources that meet the requirements, which not only includes the VNF's requirements for computing, storage, and network resources, but also includes the VNF's requirements for clock interruption. Requires direct access to the hardware clock device for clock interrupts.

步骤506c:VIM检查所管理的资源的状态,返回资源预留结果。Step 506c: VIM checks the status of the managed resources, and returns the resource reservation result.

其中,如果VNF需要采用直接访问硬件时钟设备的方式获取时钟中断,资源预留结果中包括硬件时钟的地址信息以及VNF访问硬件时钟的周期和持续时长配置信息。VIM除了考虑计算、存储和网络资源的状态,还要考虑所管理的时钟设备资源的状态,如果时钟设备负载较大,可以执行步骤506d,返回资源预留失败指示给NFVO,NFVO重新执行步骤500-506c,直到选择合适的VIM。Among them, if the VNF needs to obtain the 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 accessing the hardware clock. In addition to considering the status of computing, storage and network resources, the VIM also considers the status of the managed clock device resources. If the clock device is heavily loaded, step 506d can be performed to return a resource reservation failure indication to NFVO, and NFVO will re-execute step 500 -506c until a suitable vim is selected.

步骤507:NFVO配置VNF访问硬件时钟的周期和持续时长。Step 507: The NFVO configures the cycle and duration of the VNF's access to the hardware clock.

如果步骤506c中VIM已经配置并返回了相关配置信息,则不用执行此步骤,直接执行步骤508。If in step 506c the VIM has been configured and relevant configuration information is returned, then step 508 is directly executed without performing this step.

步骤508:NFVO发送VNF实例化请求给VNFM,其中携带了对应VIM的标识(如URL等)以及硬件时钟地址和配置信息指示。Step 508: NFVO sends a VNF instantiation request to VNFM, which carries the identifier of the corresponding VIM (such as URL, etc.), hardware clock address and configuration information indication.

步骤509a-509b:VNFM请求VIM给VNF分配资源。Steps 509a-509b: VNFM requests VIM to allocate resources to VNF.

步骤510a-510b:VNFM根据VNFD请求VIM创建和启动虚拟机,包括安装软件程序包,执行启动脚本程序,发送配置数据,并将VM连接到网络等。Steps 510a-510b: VNFM requests VIM to create and start a virtual machine according to the VNFD request, including installing software packages, executing startup scripts, sending configuration data, and connecting the VM to the network.

步骤511:VNFM指示VNF可以直接访问的硬件时钟地址,访问周期和持续时长。Step 511: VNFM instructs the VNF to directly access the hardware clock address, access cycle and duration.

步骤512:VNF根据VNFM的指示访问硬件时钟,获取硬件时钟中断,并对程序进行调度。Step 512: The VNF accesses the hardware clock according to the instruction of the VNFM, obtains the interrupt of the hardware clock, 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”和“NFVI resource”数据库。Step 515: NFVO updates the "NFV Instances" and "NFVI resource" databases.

步骤516:NFVO返回VNF实例化结果给Sender。Step 516: NFVO returns the VNF instantiation result to Sender.

本实施例中的时钟地址管理器由VIM来维护,并且时钟地址管理器模块与硬件之间可以通过接口相连,如图12所示,也可以在硬件中集成时钟地址管理器模块,如图13所示。The clock address manager in this embodiment is maintained by VIM, and the clock address manager module and the hardware can be connected through an interface, as shown in Figure 12, and the clock address manager module can also be integrated in the hardware, as shown in Figure 13 shown.

本发明提供的时钟中断信号的获取方法,NFV功能实体根据VNFD描述信息,确定VNF的时钟中断精度需求,并选择可以提供资源的VIM,VIM返回硬件时钟地址以及配置信息,VNF就可根据获得的硬件时钟地址访问硬件时钟,并获取时钟中断信号。而无需通过虚拟机调用底层硬件时钟中断信号而产生虚拟机的客户操作系统软件时钟中断信号,再将软件时钟中断信号提供给VNF供VNF执行程序调度的时钟信号传输过程,从而避免了时钟信号的延迟以及延迟抖动,保证了中断信号执行的及时性,并保证程序被及时调度。According to the acquisition method of the clock interrupt signal provided by the present invention, the NFV functional entity determines the clock interrupt accuracy requirement of the VNF according to the VNFD description information, and selects a VIM that can provide resources, and the VIM returns the hardware clock address and configuration information, and the VNF can obtain it according to the obtained The hardware clock address accesses the hardware clock and gets the clock interrupt signal. Instead of calling the underlying hardware clock interrupt signal through the virtual machine to generate the guest operating system software clock interrupt signal of the virtual machine, and then providing the software clock interrupt signal to the VNF for the clock signal transmission process of the VNF execution program scheduling, thus avoiding the clock signal interruption Delay and delay jitter ensure the timeliness of interrupt signal execution and ensure 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 provided in 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 determination module 101 is configured to determine the clock interruption accuracy requirement of the VNF according to the VNFD description information;

第二确定模块102,用于根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址;The second determination module 102 is configured to determine a hardware clock address for the VNF according to the clock interruption precision requirement;

发送模块103,用于将所述硬件时钟的地址发送给所述VNF,以使所述VNF根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。The sending module 103 is 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.

具体的,所述NFV功能实体为NFVO或VNFM。Specifically, the NFV functional entity is NFVO or VNFM.

如图15所示,对于上述的NFV功能实体,其还可以进一步包括:As shown in Figure 15, for the above-mentioned NFV functional entity, it may further include:

第三确定模块104,用于在所述第二确定模块102根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,根据VNF的时钟中断精度需求,确定所述VNF是否需要直接访问硬件时钟;The third determination module 104 is configured to determine whether the VNF needs direct access according to the clock interruption precision requirement of the VNF before the second determination module 102 determines the hardware clock address for the VNF according to the clock interruption precision requirement. hardware clock;

可选的,所述第二确定模块102还用于,若确定所述NFVO或VNFM需要直接访问硬件时钟,则为所述VNF确定硬件时钟地址。Optionally, the second determination module 102 is further configured 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.

可选的,所述发送模块具体用于:Optionally, the sending module is specifically used for:

向时钟地址管理器发送查询请求,所述查询请求中携带所述VNF的标识信息以及所述VNF映射的物理设备的标识信息;Sending a query request to the clock address manager, where the query request carries the identification information of the VNF and the identification information of the physical device mapped by the VNF;

如图16所示,对于上述的NFV功能实体,其还可以进一步包括:As shown in Figure 16, for the above-mentioned NFV functional entity, it may further include:

第一接收模块105,用于接收所述时钟地址管理器返回的所述硬件时钟地址。The first receiving module 105 is 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 receive the VNF pair returned by the clock address manager after the second determining module 102 receives the hardware clock address returned by the clock address manager. The access cycle and access duration of the above hardware clock address.

如图17所示,对于上述的NFV功能实体,所述NFV功能实体为所述NFVO,其还可以进一步包括:存储模块106,用于存储硬件时钟的信息;As shown in FIG. 17, for the above-mentioned NFV functional entity, the NFV functional entity is the NFVO, which may further include: a storage module 106, configured to store hardware clock information;

其中,所述第二确定模块102具体用于根据存储模块106存储的所述硬件时钟的信息,确定所述VNF能够直接访问的所述硬件时钟地址。Wherein, the second determination module 102 is specifically configured to determine the address of the hardware clock that the VNF can directly access according to the information of the hardware clock stored in the storage module 106 .

如图18所示,对于上述的NFV功能实体,所述NFV功能实体为所述NFVO,其还可以进一步包括:第四确定模块107,用于根据所述第二确定模块102确定所述NFV能够直接访问的所述硬件时钟地址之后,确定所述VNF对所述硬件时钟地址的访问周期和访问时长。As shown in FIG. 18, for the above-mentioned NFV functional entity, the NFV functional entity is the NFVO, which may further include: a fourth determining module 107, configured to determine that the NFV can be determined according to the second determining module 102 After directly accessing the hardware clock address, determine the access cycle and access duration of the VNF to the hardware clock address.

可选的,发送模块103,还用于在将所述硬件时钟的地址发送给所述VNF之后,将所述VNF对所述硬件时钟地址的访问周期和访问时长发送给所述VNF。Optionally, the sending module 103 is further configured to, after sending the address of the hardware clock to the VNF, send the VNF's access period and access duration to the hardware clock address to the VNF.

如图19所示,对于上述的NFV功能实体,所述NFV功能实体为所述NFVO,其还可以进一步包括:As shown in Figure 19, for the above NFV functional entity, the NFV functional entity is the NFVO, which may further include:

第五确定模块108,用于在第二确定模块102根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,根据所述VNF的时钟中断精度需求,确定满足所述VNF需求资源的VIM;The fifth determination module 108 is configured to determine, according to the clock interruption accuracy requirement of the VNF, the resources that meet the VNF requirement before the second determination module 102 determines the hardware clock address for the VNF according to the clock interruption accuracy requirement. VIM;

进一步的,所述发送模块103还用于向所述VIM发送资源预留请求;Further, the sending module 103 is also configured to send a resource reservation request to the VIM;

还包括第二接收模块109,用于接收所述VIM返回的资源预留结果,所述资源预留结果中携带物理设备的标识。A second receiving module 109 is also included, configured to receive the resource reservation result returned by the VIM, where the resource reservation result carries the identifier of the physical device.

如图20所示,对于上述的NFV功能实体,所述NFV功能实体为所述VNFM,其还可以进一步包括:As shown in Figure 20, for the above 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 request the VIM to create and start a virtual machine after the fifth determining module 108 receives the resource reservation result returned by the VIM, the resource reservation result carrying the identifier of the physical device.

进一步的,所述NFV功能实体为所述NFVO,所述资源预留结果中包括:所述硬件时钟地址;Further, the NFV functional entity is the NFVO, and the resource reservation result includes: the hardware clock address;

所述第二确定模块102具体用于:从所述资源预留结果中获取所述硬件时钟地址。The second determination module 102 is specifically configured to: obtain the hardware clock address from the resource reservation result.

进一步的,所述资源预留结果中还包括:所述VNF对所述硬件时钟地址的访问周期和访问时长。Further, the resource reservation result also includes: the access cycle and access duration of the VNF to the hardware clock address.

如图21所示,对于上述的NFV功能实体,所述NFV功能实体为所述NFVO,所述NFVO还可以进一步包括:As shown in Figure 21, for the above NFV functional entity, the NFV functional entity is the NFVO, and the NFVO may further include:

第六确定模块111,用于根据所述第二确定模块102从所述资源预留结果中获取所述硬件时钟地址之后,确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The sixth determining module 111 is 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 determining module 102 .

本实施例提供的NFV功能实体,为本发明实施例提供的时钟中断信号的获取方法的执行设备,其执行时钟中断信号的获取方法的具体过程可参见图1、图2至图13所示的方法实施例中的相关描述,在此不再赘述。The NFV functional entity provided in this embodiment is the execution device of the method for obtaining the clock interrupt signal provided in the embodiment of the present invention, and the specific process for executing the method for obtaining the clock interrupt signal can be referred to in FIG. 1, FIG. 2 to FIG. 13 Relevant descriptions in the method embodiments will not be repeated here.

图22所示为本发明提供的一种网络功能虚拟化NFV功能实体的结构示意图,如图22所示,本实施例提供的NFV功能实体包括:处理器21和存储器22。存储器22存储执行指令,处理器21与存储器22之间通信,处理器21调用存储器22中的执行指令,用于执行以下操作:FIG. 22 is a schematic structural diagram of a network function virtualization NFV functional entity provided by the present invention. As shown in FIG. 22 , the NFV functional 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 the execution instructions in the memory 22 to perform the following operations:

根据VNFD描述信息,确定VNF的时钟中断精度需求;According to the VNFD description information, determine the clock interruption accuracy requirements of the VNF;

根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址;Determine a hardware clock address for the VNF according to the clock interruption precision requirement;

将所述硬件时钟的地址发送给所述VNF,以使所述VNF根据所述硬件时钟的地址访问所述硬件时钟来获取时钟中断信号。Sending 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.

所述NFV功能实体为NFVO或VNFM。The NFV functional entity is NFVO or VNFM.

可选的,处理器21根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,还包括:Optionally, before the processor 21 determines the hardware clock address for the VNF according to the clock interrupt precision requirement, further includes:

根据VNF的时钟中断精度需求,确定所述VNF是否需要直接访问硬件时钟;According to the clock interruption accuracy requirement of the VNF, determine whether the VNF needs to directly access the hardware clock;

若确定所述NFVO或VNFM需要直接访问硬件时钟,则为所述VNF确定硬件时钟地址。If it is determined that the NFVO or VNFM needs to directly access the hardware clock, then determine a hardware clock address 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, specifically including:

向时钟地址管理器发送查询请求,所述查询请求中携带所述VNF的标识信息以及所述VNF映射的物理设备的标识信息;Sending a query request to the clock address manager, where the query request carries the identification information of the VNF and the identification information of the physical device mapped by the VNF;

接收所述时钟地址管理器返回的所述硬件时钟地址。Receive 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对所述硬件时钟地址的访问周期和访问时长。The processor 21 receives the access cycle and access duration of the VNF to the hardware clock address returned by the clock address manager.

可选的,处理器21上还可以存储硬件时钟的信息,所述处理器21根据VNF的时钟中断精度需求,为所述VNF确定硬件时钟地址,具体包括:Optionally, information about the hardware clock may also be stored on the processor 21, and the processor 21 determines a hardware clock address for the VNF according to the clock interruption accuracy requirements of the VNF, specifically including:

所述处理器21根据存储的所述硬件时钟的信息,确定所述VNF能够直接访问的所述硬件时钟地址。The processor 21 determines an address of the hardware clock that the VNF can directly access according to the stored information of the hardware clock.

进一步的,处理器21根据存储的所述硬件时钟的信息,确定所述NFV能够直接访问的所述硬件时钟地址之后,还包括:Further, after determining the address of the hardware clock that the NFV can directly access according to the stored information of the hardware clock, the processor 21 further includes:

所述处理器21确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The processor 21 determines the access cycle and 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, it further includes:

所述处理器21将所述VNF对所述硬件时钟地址的访问周期和访问时长发送给所述VNF。The processor 21 sends the access period and access duration of the VNF to the hardware clock address to the VNF.

可选的,处理器21根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,还包括:Optionally, before the processor 21 determines the hardware clock address for the VNF according to the clock interrupt precision requirement, further includes:

所述处理器21根据所述VNF的时钟中断精度需求,确定满足所述VNF需求资源的VIM;The processor 21 determines, according to the clock interrupt precision requirement of the VNF, a VIM that meets the resources required by the VNF;

所述处理器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, it 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 processor 21 determining the hardware clock address for the VNF specifically includes: the NFVO obtaining the hardware clock address from the resource reservation result.

进一步的,所述资源预留结果中还包括:所述VNF对所述硬件时钟地址的访问周期和访问时长。Further, the resource reservation result also includes: the access cycle and 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, it further includes:

所述处理器21确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The processor 21 determines the access cycle and access duration of the VNF to the hardware clock address.

本发明实施例提供的NFV功能实体,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The NFV functional entity provided by the embodiment of the present invention can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the foregoing method embodiments; and the aforementioned storage medium includes: various media that can store program codes such as a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc. .

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (27)

1.一种时钟中断信号的获取方法,其特征在于,包括:1. A method for obtaining a clock interrupt signal, characterized in that, comprising: 网络功能虚拟化NFV功能实体根据虚拟网络功能需求描述文件VNFD中的描述信息,确定虚拟化网络功能VNF的时钟中断精度需求;The network function virtualization NFV functional entity determines the clock interruption precision requirement of the virtual network function VNF according to the description information in the virtual network function requirement description file VNFD; 所述NFV功能实体根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址;The NFV functional entity determines a hardware clock address for the VNF according to the clock interruption precision 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, wherein 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, wherein the NFV functional entity further comprises: 所述NFV功能实体根据VNF的时钟中断精度需求,确定所述VNF是否需要直接访问硬件时钟;The NFV functional entity determines whether the VNF needs to directly access the hardware clock according to the clock interruption precision requirement of the VNF; 若确定所述NFVO或VNFM需要直接访问硬件时钟,则所述NFVO或VNFM为所述VNF确定硬件时钟地址。If it is determined that the NFVO or VNFM needs to directly access a hardware clock, the NFVO or VNFM determines a hardware clock address for the VNF. 4.根据权利要求2所述的方法,其特征在于,所述NFV功能实体根据VNF的时钟中断精度需求,为所述VNF确定硬件时钟地址,具体包括:4. The method according to claim 2, wherein the NFV functional entity determines the hardware clock address for the VNF according to the clock interruption accuracy requirements of the VNF, specifically comprising: 所述NFVO或VNFM向时钟地址管理器发送查询请求,所述查询请求中携带所述VNF的标识信息以及所述VNF映射的物理设备的标识信息;The NFVO or VNFM sends a query request to the clock address manager, and the query request 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, wherein after the NFV functional entity receives the hardware clock address returned by the clock address manager, further comprising: 所述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, wherein the information of the hardware clock is stored on the NFV functional entity, and the NFV functional entity determines the hardware clock address for the VNF according to the clock interruption accuracy requirements of the VNF, specifically include: 所述NFVO根据存储的所述硬件时钟的信息,确定所述VNF能够直接访问的所述硬件时钟地址。The NFVO determines the address of the hardware clock that the VNF can directly access according to the stored information of the hardware clock. 7.根据权利要求6所述的方法,其特征在于,所述NFV功能实体根据存储的所述硬件时钟的信息,确定所述NFV能够直接访问的所述硬件时钟地址之后,还包括:7. The method according to claim 6, wherein, after the NFV functional entity determines the address of the hardware clock that the NFV can directly access according to 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, wherein after the NFV functional entity sends the address of the hardware clock to the VNF, further comprising: 所述NFVO将所述VNF对所述硬件时钟地址的访问周期和访问时长发送给所述VNF。The NFVO sends the VNF's access period and access duration to the hardware clock address to the VNF. 9.根据权利要求2所述的方法,其特征在于,所述NFV功能实体根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,还包括:9. The method according to claim 2, wherein the NFV functional entity further comprises: 所述NFVO根据所述VNF的时钟中断精度需求,确定满足所述VNF需求资源的虚拟化基础设施管理器VIM;The NFVO determines a virtualized infrastructure manager VIM that satisfies the resources required by the VNF according to the clock interruption accuracy requirements 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 identifier 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 identifier of the physical device, it further 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, wherein the resource reservation result includes: the hardware clock address; 所述NFV功能实体为所述VNF确定硬件时钟地址,具体包括:The NFV functional entity determines a hardware clock address for the VNF, specifically including: 所述NFVO从所述资源预留结果中获取所述硬件时钟地址。The NFVO acquires the hardware clock address from the resource reservation result. 12.根据权利要求11所述的方法,其特征在于,所述资源预留结果中还包括:所述VNF对所述硬件时钟地址的访问周期和访问时长。12 . The method according to claim 11 , wherein the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address. 13 . 13.根据权利要求11所述的方法,其特征在于,所述NFV功能实体从所述资源预留结果中获取所述硬件时钟地址之后,还包括:13. The method according to claim 11, wherein after the NFV functional entity obtains the hardware clock address from the resource reservation result, further comprising: 所述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 device, characterized in that, comprising: 第一确定模块,用于根据VNFD描述信息,确定VNF的时钟中断精度需求;The first determination module is configured to determine the clock interruption precision requirement of the VNF according to the VNFD description information; 第二确定模块,用于根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址;The second determination module is configured to determine a hardware clock address for the VNF according to the clock interruption precision 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 device according to claim 14, wherein the NFV device is NFVO or VNFM. 16.根据权利要求15所述的NFV装置,其特征在于,还包括:16. The NFV device according to claim 15, further comprising: 第三确定模块,用于在所述第二确定模块根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,根据VNF的时钟中断精度需求,确定所述VNF是否需要直接访问硬件时钟;The third determination module is configured to determine whether the VNF needs to directly access the hardware clock according to the clock interruption precision requirement of the VNF before the second determination module determines the hardware clock address for the VNF according to the clock interruption precision requirement. ; 所述第二确定模块还用于,若确定所述NFVO或VNFM需要直接访问硬件时钟,则为所述VNF确定硬件时钟地址。The second determination module is further configured 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 device according to claim 15, wherein the sending module is specifically used for: 向时钟地址管理器发送查询请求,所述查询请求中携带所述VNF的标识信息以及所述VNF映射的物理设备的标识信息;Sending a query request to the clock address manager, where the query request carries the identification information of the VNF and the identification information of the physical device mapped by the VNF; 所述NFV装置还包括:第一接收模块,用于接收所述时钟地址管理器返回的所述硬件时钟地址。The NFV device further 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 device 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 period 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 device according to claim 15, wherein the NFV device is the NFVO, and the NFVO further comprises: 存储模块,用于存储硬件时钟的信息;The storage module is used for storing the information of the hardware clock; 所述第二确定模块具体:根据存储的所述硬件时钟的信息,确定所述VNF能够直接访问的所述硬件时钟地址。The second determining module specifically: according to the stored information of the hardware clock, determine the address of the hardware clock that the VNF can directly access. 20.根据权利要求19所述的NFV装置,其特征在于,所述NFV装置为所述NFVO,则所述NFVO还包括:20. The NFV device according to claim 19, wherein the NFV device is the NFVO, and the NFVO further comprises: 第四确定模块,用于根据所述第二确定模块确定所述NFV能够直接访问的所述硬件时钟地址之后,确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The fourth determination module is configured to determine the hardware clock address that the NFV can directly access according to the second determination module, and then determine the access cycle and access duration of the VNF to the hardware clock address. 21.根据权利要求18或20所述的NFV装置,其特征在于,所述NFV装置为所述NFVO,则所述发送模块,还用于在将所述硬件时钟的地址发送给所述VNF之后,将所述VNF对所述硬件时钟地址的访问周期和访问时长发送给所述VNF。21. The NFV device according to claim 18 or 20, wherein the NFV device is the NFVO, and the sending module is further configured to send the address of the hardware clock to the VNF , sending the access period and access duration of the VNF to the hardware clock address to the VNF. 22.根据权利要求15所述的NFV装置,其特征在于,所述NFV装置为所述NFVO,则所述NFVO还包括:22. The NFV device according to claim 15, wherein the NFV device is the NFVO, and the NFVO further comprises: 第五确定模块,用于在第二确定模块根据所述时钟中断精度需求,为所述VNF确定硬件时钟地址之前,根据所述VNF的时钟中断精度需求,确定满足所述VNF需求资源的VIM;The fifth determination module is configured to determine a VIM that meets the resource requirements of the VNF according to the clock interruption accuracy requirements of the VNF before the second determination module determines the hardware clock address for the VNF according to the clock interruption accuracy requirements; 所述发送模块还用于:向所述VIM发送资源预留请求;The sending module is further configured to: send a resource reservation request to the VIM; 还包括第二接收模块,用于接收所述VIM返回的资源预留结果,所述资源预留结果中携带物理设备的标识。A second receiving module is also included, configured to receive the resource reservation result returned by the VIM, where the resource reservation result carries the identifier of the physical device. 23.根据权利要求22所述的NFV装置,其特征在于,所述NFV装置为所述VNFM,则所述VNFM还包括:还包括:请求模块,用于在所述第五确定模块接收所述VIM返回的资源预留结果,所述资源预留结果中携带物理设备的标识之后,请求所述VIM创建和启动虚拟机。23. The NFV device according to claim 22, wherein the NFV device is the VNFM, and the VNFM further comprises: a request module, configured to receive the VNFM in the fifth determination module After the resource reservation result returned by the VIM carries the identifier of the physical device, the VIM is requested to create and start the virtual machine. 24.根据权利要求22或23所述的NFV装置,其特征在于,所述NFV装置为所述NFVO,所述资源预留结果中包括:所述硬件时钟地址;24. The NFV device according to claim 22 or 23, wherein the NFV device is the NFVO, and the resource reservation result includes: the hardware clock address; 所述第二确定模块具体用于:从所述资源预留结果中获取所述硬件时钟地址。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 device according to claim 24, wherein the resource reservation result further includes: an access period and an access duration of the VNF to the hardware clock address. 26.根据权利要求24所述的NFV装置,其特征在于,所述NFV装置为所述NFVO,则所述NFVO还包括:26. The NFV device according to claim 24, wherein the NFV device is the NFVO, and the NFVO further comprises: 第六确定模块,用于根据所述第二确定模块从所述资源预留结果中获取所述硬件时钟地址之后,确定所述VNF对所述硬件时钟地址的访问周期和访问时长。The sixth determination module is 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 device, 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 relationship between the processor and the memory The processor executes the execution instruction so that the system for obtaining the clock interrupt signal executes the method according to any one of claims 1-13.
CN201480000618.6A 2014-02-10 2014-02-10 The acquisition methods and NFV devices of clock interrupt signal Active CN105103125B (en)

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 (2)

Publication Number Publication Date
CN105103125A CN105103125A (en) 2015-11-25
CN105103125B true CN105103125B (en) 2017-12-05

Family

ID=53777121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480000618.6A Active CN105103125B (en) 2014-02-10 2014-02-10 The acquisition methods and NFV devices of clock interrupt signal

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10824477B2 (en) 2016-02-29 2020-11-03 Huawei Technologies Co., Ltd. Network function virtualization service container creation

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256343B (en) * 2016-05-10 2022-05-10 华为技术有限公司 A software loading method, device and system
WO2017222595A2 (en) * 2016-06-23 2017-12-28 Intel IP Corporation 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 (4)

* 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
CN103491129A (en) * 2013-07-05 2014-01-01 华为技术有限公司 Service node configuration method and service node pool logger and system
CN103561124A (en) * 2013-10-29 2014-02-05 上海华为技术有限公司 Base station data configuring method and device

Patent Citations (4)

* 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
CN103491129A (en) * 2013-07-05 2014-01-01 华为技术有限公司 Service node configuration method and service node pool logger and system
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
Network Functions Virtualization;Virtualization Requirements;etsi;《ETSI GS NFV》;20131031;第7-11页 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10824477B2 (en) 2016-02-29 2020-11-03 Huawei Technologies Co., Ltd. Network function virtualization service container creation

Also Published As

Publication number Publication date
CN105103125A (en) 2015-11-25
WO2015117278A1 (en) 2015-08-13

Similar Documents

Publication Publication Date Title
US12014222B1 (en) Solver for cluster management system
US11405274B2 (en) Managing virtual network functions
US11321130B2 (en) Container orchestration in decentralized network computing environments
CN108809722B (en) Method, device and storage medium for deploying Kubernetes cluster
US20250016161A1 (en) Method and System for Secure Container Application Framework
CN111984270B (en) Application deployment method and system
WO2022037612A1 (en) Method for providing application construction service, and application construction platform, application deployment method and system
WO2017012381A1 (en) Life cycle management method and apparatus
CN111324571A (en) Container cluster management method, device and system
Munteanu et al. Multi-cloud resource management: cloud service interfacing
EP3149603B1 (en) Customized configuration of cloud-based applications prior to deployment
KR20160067180A (en) Methods and apparatus to manage virtual machines
JP2014514659A (en) Multi-node application deployment system
US10728169B1 (en) Instance upgrade migration
CN105103125B (en) The acquisition methods and NFV devices of clock interrupt signal
US20170048331A1 (en) Platform runtime abstraction
CN111984269A (en) Method for providing application construction service and application construction platform
JP7674487B2 (en) Management method and apparatus for a container cluster - Patents.com
CN110262821A (en) A kind of management method of software module, device and server
US10203976B2 (en) Virtual appliance management in a virtualized computing environment based on operational modes associated with virtual appliance
WO2024174904A1 (en) Management migration method and apparatus for container instance, and electronic device and storage medium
US11847611B2 (en) Orchestrating and automating product deployment flow and lifecycle management
WO2023274014A1 (en) Storage resource management method, apparatus, and system for container cluster
CN109189551A (en) A kind of method, apparatus and computer storage medium creating middleware
US20240333505A1 (en) Git webhook authorization for gitops management operations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant