WO2023051582A1 - 虚拟资源信息的同步方法、编排器、电子设备、可读介质 - Google Patents

虚拟资源信息的同步方法、编排器、电子设备、可读介质 Download PDF

Info

Publication number
WO2023051582A1
WO2023051582A1 PCT/CN2022/122029 CN2022122029W WO2023051582A1 WO 2023051582 A1 WO2023051582 A1 WO 2023051582A1 CN 2022122029 W CN2022122029 W CN 2022122029W WO 2023051582 A1 WO2023051582 A1 WO 2023051582A1
Authority
WO
WIPO (PCT)
Prior art keywords
priority
synchronization
tenant
resource
determining
Prior art date
Application number
PCT/CN2022/122029
Other languages
English (en)
French (fr)
Inventor
杨松
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP22874967.7A priority Critical patent/EP4394596A1/en
Publication of WO2023051582A1 publication Critical patent/WO2023051582A1/zh

Links

Images

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/50Allocation of resources, e.g. of the central processing unit [CPU]

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a method for synchronizing virtual resource information, an arranger, an electronic device, and a computer-readable medium.
  • a management and orchestration (MANO, Management and Orchestration) system usually corresponds to multiple cloud platforms, and MANO is responsible for managing the virtual resources of the virtual network function (VNF, Virtualized Network Function) on the cloud platform.
  • VNF virtual network function
  • MANO needs to perceive the changes of virtual resources on each cloud platform.
  • Embodiments of the present disclosure provide a method for synchronizing virtual resource information, an arranger, an electronic device, and a computer-readable medium.
  • an embodiment of the present disclosure provides a method for synchronizing virtual resource information, including: determining a resource synchronization strategy, the resource synchronization strategy representing the priority of at least one tenant, wherein different priorities correspond to virtual resources of the synchronization tenant The information synchronization frequency is different; and the virtual resource information of the at least one tenant is synchronized according to the resource synchronization policy.
  • an embodiment of the present disclosure provides an orchestrator, including: one or more processors; a memory on which one or more programs are stored, and when the one or more programs are executed by the one or more The processor executes, so that the one or more processors implement the method for synchronizing virtual resource information described in any one of the first aspects of the embodiments of the present disclosure; and, one or more I/O interfaces are connected to the Between the processor and the memory, it is configured to realize information exchange between the processor and the memory.
  • an embodiment of the present disclosure provides an electronic device, including: one or more processors; a memory on which one or more programs are stored, and when the one or more programs are executed by the one or more The processor executes, so that the one or more processors implement the method for synchronizing virtual resource information described in any one of the first aspects of the embodiments of the present disclosure; and, one or more I/O interfaces are connected to the Between the processor and the memory, it is configured to realize information exchange between the processor and the memory.
  • an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the virtual resource information described in any one of the first aspects of the embodiments of the present disclosure is realized. synchronous method.
  • FIG. 1 is a flowchart of a method for synchronizing virtual resource information in an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of virtual resource information synchronization resource consumption
  • FIG. 3 is a flowchart of some steps in another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • Fig. 4 is a flowchart of some steps in another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • Fig. 5 is a flowchart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • FIG. 6 is a flow chart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • FIG. 7 is a flow chart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • FIG. 8 is a flow chart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • FIG. 9 is a flowchart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure.
  • FIG. 10 is a flowchart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • FIG. 11 is a flow chart of some steps in yet another method for synchronizing virtual resource information in an embodiment of the present disclosure
  • Fig. 12 is a composition block diagram of an arranger in an embodiment of the present disclosure.
  • Fig. 13 is a composition block diagram of an electronic device in an embodiment of the present disclosure.
  • Fig. 14 is a composition block diagram of a computer-readable medium in an embodiment of the present disclosure.
  • FIG. 15 is a schematic diagram of a virtual resource information synchronization architecture in an embodiment of the present disclosure.
  • Fig. 16 is a schematic diagram of the interaction of service modules in a virtual resource information synchronization framework in an embodiment of the present disclosure.
  • VNF manages virtual resources through MANO.
  • a series of operation and maintenance actions such as deployment or capacity adjustment of virtual machines and operations on related network resources need to be initiated from MANO.
  • MANOs need to fully and timely understand the attributes and status of virtual resources related to VNFs. For example, a user wants to migrate a virtual machine under a certain VNF from host A node to host B node. ), has been in the process of migration or has been migrated to the host B node. If MANO cannot perceive the changes of the virtual resource attributes and status related to the virtual machine, it cannot take appropriate operation measures, and it cannot provide users with better resource operation support.
  • a virtual resource management module or component in MANO In order to solve the above problems, in some related technologies, there is a virtual resource management module or component in MANO. This module or component usually interacts with each cloud platform at a fixed frequency, so as to sense changes of virtual resources on the cloud platform.
  • the inventors of the present disclosure have found through research that the strategy of interacting with the cloud platform at a fixed frequency has relatively large limitations. Specifically, the strategy of synchronizing information at a fixed frequency often causes MANO to wait for a complete synchronization cycle in the worst case to perceive changes in virtual resource attributes and states, and this hysteresis often leads to some unpredictable errors . For example, the virtual machine is already in the migration state.
  • MANO does not perceive the changes in the attributes and status of virtual resources related to the virtual machine in time due to the need to wait for the synchronization cycle, when the user wants to migrate the virtual machine from host A node to host B
  • the node will still issue a migration request through MANO, and the cloud platform will return errors such as operation conflicts after receiving the migration request, and this error will confuse users.
  • the timeliness of MANO perceiving virtual resource attributes and state changes is improved by increasing the synchronization frequency.
  • the inventors of the present disclosure believe that increasing the synchronization frequency comes at a huge cost. Specifically, because MANO system resources are limited, increasing the synchronization frequency means more resource consumption, which will affect the normal life cycle business; MANO and cloud platforms have a one-to-many relationship. If one of the many cloud platforms If there is a temporary performance bottleneck on the platform, the response of the cloud platform will slow down, and frequent interaction with the cloud platform at a higher frequency will further aggravate the performance problem of the cloud platform. Therefore, improving the timeliness of MANO's perception of virtual resource attributes and status changes by increasing the synchronization frequency is not a superior solution.
  • the embodiment of the present disclosure provides a method for synchronizing virtual resource information, including steps S100 and S200.
  • a resource synchronization strategy is determined, the resource synchronization strategy represents the priority of at least one tenant, wherein different priorities correspond to different synchronization frequencies of virtual resource information of tenants.
  • step S200 the virtual resource information of the at least one tenant is synchronized according to the resource synchronization policy.
  • the cloud platform is divided into tenants, and each cloud platform is regarded as a collection of tenants.
  • the virtual resources of all tenants on a cloud platform may be managed by the same MANO, or the virtual resources of some tenants on a cloud platform may be managed by one MANO.
  • the embodiments of the present disclosure make no special limitation on this.
  • at least one tenant mentioned in step S100 belongs to at least one cloud platform, and at least one tenant mentioned in step S100 is managed by the same MANO.
  • step S200 virtual resource information is synchronized on a tenant basis.
  • FIG. 2 is a schematic diagram of resource consumption when virtual resource information is synchronized with a cloud platform as a unit
  • (b) in FIG. 2 is a schematic diagram of resource consumption when virtual resource information is synchronized with a tenant as a unit.
  • virtual resource information is synchronized in units of tenants, and the scale of synchronous virtual resource information is reduced from the cloud platform level to the tenant level, so that the resource consumption of the MANO system can be reduced from a single point in time Burst consumption is transformed into a gentle consumption throughout the period.
  • the resource synchronization policy is determined through step S100, so that the priority corresponding to each tenant is dynamically adjustable.
  • step S200 the tenant's virtual resource information is synchronized according to the resource synchronization policy, that is, the virtual resource information is synchronized from the cloud platform to which each tenant belongs according to the synchronization frequency corresponding to the priority of each tenant.
  • tenants with different priorities have different synchronization frequencies, so that virtual resource information of different tenants can be synchronized according to differentiated synchronization frequencies.
  • the priority of the same tenant can be changed dynamically. Usually, but not necessarily, the higher the tenant's priority, the higher the corresponding synchronization frequency.
  • the virtual resource information synchronization is performed in units of tenants, and the resource consumption of the MANO system is transformed into a gentle consumption, which reduces the normal life cycle of the virtual resource information synchronization for the MANO system Impact on business;
  • the synchronization frequencies of different tenants are independent and dynamically adjustable, enabling the MANO system to differentiate and synchronize the virtual resource information of each tenant according to factors such as cloud platform performance and user operations, which is conducive to improving the timeliness of virtual resource synchronization and reducing The impact on the performance of the cloud platform, so as to better support the resource operations performed by users in the VNF.
  • the tenant's priority is determined according to the predicted user operation by predicting the user operation for the tenant, so as to determine the synchronization frequency that can meet the subsequent service requirements of the VNF. For example, predict major operations such as virtual machine deployment, upgrade, and capacity adjustment for tenants, and increase the frequency of synchronizing virtual resource information of the tenant when it is predicted that users may perform operations such as virtual machine deployment, upgrade, and capacity adjustment for tenants Synchronize the virtual resource information of the tenant in time, so as to be able to detect changes in virtual resource attributes and status caused by operations such as virtual machine deployment, upgrade, and capacity adjustment in a timely manner, and avoid operational conflicts caused by untimely synchronization in the subsequent VNF business process. question.
  • step S100 of determining a resource synchronization policy may further include step S110 .
  • step S110 the user operations on the tenant are predicted, and the priority of the tenant is determined according to the prediction result.
  • the user operation is an operation that can cause large changes in the attributes and states of the tenant's virtual resources, such as tenant virtual machine deployment, upgrade, capacity adjustment, migration, and so on.
  • the embodiments of the present disclosure make no special limitation on how to predict user operations.
  • each VNF belongs to different tenants; in actual scenarios, MANO services corresponding to major operations such as virtual machine deployment, upgrade, and capacity adjustment are usually scheduled according to the on-site time plan.
  • Serial execution that is, the user operations of each VNF are executed serially, there will be no time conflicts, and the possibility of performing major operations concurrently is very small; before performing major operations such as virtual machine deployment, upgrade, and capacity adjustment, it is usually necessary to Perform inspection on the current situation of the environment.
  • the inspection content includes confirming the status of relevant virtual resources.
  • the VNF will trigger the query of the tenant's virtual resource information; It is expected that a query for virtual resource information under the VNF tenant will also be triggered.
  • the embodiment of the present disclosure it is possible to predict the user operation according to the frequency of the VNF querying the virtual resources of the tenant. For example, if a VNF actively requests to query virtual resource information under a certain tenant of a cloud platform, the higher the query frequency, the greater the possibility of major operations such as virtual machine deployment, upgrade, migration, and capacity adjustment for this tenant. The priority of tenants is used to meet the subsequent business requirements of the VNF.
  • the step S110 of predicting user operations for tenants and determining the priority of the tenants according to the prediction results may further include steps S111 and S112 .
  • step S111 determine the query frequency of the virtual network function VNF to send resource query requests, the resource query requests are used to query virtual resource information of tenants, and the query frequency represents user operations for tenants.
  • step S112 the priority of the tenant is determined according to the query frequency.
  • the embodiments of the present disclosure make no special limitation on how to determine the query frequency.
  • the number of times of querying the virtual resource information of the tenant within a certain time interval may be determined, thereby determining the query frequency.
  • the embodiment of the present disclosure makes no special limitation on how to determine the priority of the tenant according to the query frequency.
  • step S112 of determining the priority of tenants according to the query frequency may further include steps S1121 and S1122.
  • step S1121 when the query frequency does not reach the first threshold, the priority of the tenant is determined as the first priority.
  • step S1122 when the query frequency reaches the first threshold, the priority of the tenant is determined as the second priority.
  • the synchronization frequency corresponding to the first priority is lower than the synchronization frequency corresponding to the second priority.
  • the initial priority of each tenant is the common level
  • the first priority is the normal level
  • the second level is the higher priority level
  • the synchronization frequency corresponding to the normal level is lower than the synchronization frequency corresponding to the higher priority level
  • the step S112 of determining the priority of the tenant according to the query frequency may further include steps S1123 and S1124.
  • step S1123 when the query frequency reaches the first threshold, a first ratio is determined, and the first ratio is sent by the VNF in all query requests received in the first preset duration.
  • step S1124 when the first proportion reaches the second threshold, the priority of the tenant is determined as the third priority; wherein, the synchronization frequency corresponding to the second priority is lower than the third priority level corresponding to the synchronization frequency.
  • the third priority is the highest level, and its corresponding synchronization frequency is the maximum synchronization frequency. In some embodiments, when the priority of the tenant is the third priority, the synchronization task of synchronizing the virtual resource information of the tenant is executed immediately.
  • the prediction function for predicting user operations may be a default prediction function in the MANO system, or an externally injected prediction function.
  • the embodiments of the present disclosure make no special limitation on this.
  • the step S110 of predicting user operations for tenants and determining the priority of the tenants according to the prediction results may further include steps S113 and S114.
  • step S113 a user behavior prediction function is obtained.
  • step S114 predict the user operations for the tenants according to the prediction function, so as to determine the priority of the tenants.
  • obtaining an externally injected prediction function refers to obtaining externally configured parameters such as the first threshold and the second threshold.
  • the priority of the tenants belonging to the cloud platform is dynamically adjusted according to the performance of the cloud platform, and then the synchronization frequency corresponding to the tenants of the cloud platform is adjusted.
  • the performance of the cloud platform is characterized according to the response capability of the cloud platform.
  • step S100 the step of determining a resource synchronization policy may further include steps S120 and S130.
  • step S120 the response capability information of at least one cloud platform is acquired.
  • step S130 the priority of the tenants to which each of the cloud platforms belongs is determined according to the response capability information of the at least one cloud platform.
  • the priority of the tenant to which the cloud platform belongs is adjusted to the priority corresponding to the lower synchronization frequency, so as to differentiate the synchronization according to the response capability of the cloud platform
  • the frequency of virtual resource information of tenants can alleviate the performance bottleneck of the cloud platform.
  • the embodiments of the present disclosure make no special limitation on how to obtain the response capability of the cloud platform.
  • step S120 of acquiring response capability information of at least one cloud platform may further include steps S121 and S122.
  • step S121 call the cloud platform to obtain the token interface.
  • step S122 the response time of the cloud platform is determined as the response capability information.
  • the embodiments of the present disclosure make no special limitation on how to respond according to the cloud platform.
  • the step S130 of determining the priority of the tenants to which each cloud platform belongs according to the response capability information of the at least one cloud platform may further include step S131.
  • step S131 when the response time of the cloud platform exceeds the third threshold, the priority of the tenant on the cloud platform is determined as the fourth priority, wherein the synchronization frequency corresponding to the fourth priority is lower than the tenant's original synchronization frequency.
  • the fourth priority can be set to correspond to a specific synchronization frequency, and the specific synchronization frequency is the smallest synchronization frequency; it can also be set that the frequency of tenants with the fourth priority is reduced according to a predetermined ratio, for example, the fourth priority
  • the sync frequency of is set to half of its original sync frequency.
  • the effectiveness of the resource synchronization strategy can also be evaluated, and the resource synchronization strategy can be updated when the effectiveness of the resource synchronization strategy does not meet the requirements, thereby forming a closed-loop effect.
  • the step S100 of determining a resource synchronization policy may further include steps S140 and S150.
  • step S140 the validity information of the resource synchronization policy is determined.
  • step S150 the resource synchronization policy is updated according to the validity information.
  • the step S140 of determining the validity information of the resource synchronization policy may include step S141.
  • step S141 determine the coincidence rate between the tenant corresponding to the resource query request received in the second preset duration and the tenant whose priority is the second priority in the resource synchronization policy, and obtain the validity information; wherein, The synchronization frequency corresponding to the first priority is lower than the synchronization frequency corresponding to the second priority, and the synchronization frequency corresponding to the second priority is lower than the synchronization frequency corresponding to the third priority.
  • the step S140 of updating the resource synchronization policy according to the validity information may further include steps S151 and S152.
  • step S151 if the matching rate is greater than the fourth threshold and less than the fifth threshold, the tenant of the second priority is determined as the first priority.
  • step S152 when the matching rate is less than (or equal to) the fourth threshold, cancel the tenants with the third priority, and determine the tenants with the second priority as the first priority.
  • the matching rate is greater than the fifth threshold, it is determined that the resource synchronization strategy is valid.
  • the embodiment of the present disclosure also provides an orchestrator, including: one or more processors 101; or a plurality of processors, so that one or more processors implement the method for synchronizing virtual resource information described in any one of the first aspects of the embodiments of the present disclosure; and, one or more I/O interfaces 103, connected to the processing Between the processor and the memory, it is configured to realize the information exchange between the processor and the memory.
  • an orchestrator including: one or more processors 101; or a plurality of processors, so that one or more processors implement the method for synchronizing virtual resource information described in any one of the first aspects of the embodiments of the present disclosure.
  • I/O interfaces 103 connected to the processing Between the processor and the memory, it is configured to realize the information exchange between the processor and the memory.
  • the processor 101 is a device with data processing capability, which includes but not limited to a central processing unit (CPU), etc.
  • the memory 102 is a device with data storage capability, which includes but not limited to a random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrified erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read-write interface) 103 is connected between processor 101 and memory 102 , can realize information exchange between the processor 101 and the memory 102, which includes but not limited to a data bus (Bus) and the like.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrified erasable programmable read-only memory
  • FLASH flash memory
  • I/O interface (read-write interface) 103 is connected between processor 101 and memory 102 , can realize information exchange between the processor 101 and the memory 102, which includes but not limited to a data bus (Bus) and the like.
  • the processor 101 , the memory 102 and the I/O interface 103 are connected to each other through the bus 104 , and are further connected to other components of the computing device.
  • the embodiment of the present disclosure also provides an electronic device, including: one or more processors 201; or a plurality of processors, so that one or more processors implement the method for synchronizing virtual resource information described in any one of the first aspects of the embodiments of the present disclosure; and, one or more I/O interfaces 203, connected to the processing Between the processor and the memory, it is configured to realize the information exchange between the processor and the memory.
  • the processor 201 is a device with data processing capability, which includes but not limited to a central processing unit (CPU), etc.
  • the memory 202 is a device with data storage capability, which includes but not limited to a random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrified erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read-write interface) 203 is connected between processor 201 and memory 202 , can realize information exchange between the processor 201 and the memory 202, which includes but not limited to a data bus (Bus) and the like.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrified erasable programmable read-only memory
  • FLASH flash memory
  • I/O interface (read-write interface) 203 is connected between processor 201 and memory 202 , can realize information exchange between the processor 201 and the memory 202, which includes but not limited to a data bus (Bus)
  • the processor 201 , the memory 202 and the I/O interface 203 are connected to each other through the bus 204 , and further connected to other components of the computing device.
  • an embodiment of the present disclosure further provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the first aspects of the embodiments of the present disclosure is implemented. Synchronization method for virtual resource information.
  • the MANO is running normally, and the communication between the MANO and the cloud platform is normal.
  • FIG. 15 is a schematic diagram of an architecture of virtual resource information synchronization in this embodiment.
  • the architecture of virtual resource information synchronization includes a VNF business module, a resource management module, a behavior prediction module, a resource environment monitoring module, an update strategy decision module, and an update strategy accuracy evaluation module.
  • FIG. 16 is a schematic diagram of the interaction of various business modules in the framework based on the synchronization of virtual resource information shown in FIG. 15 .
  • the process of MANO synchronizing the tenant's virtual resource information from the cloud platform includes the following steps:
  • the VNF business module sends a resource query request to the resource management module to query a tenant's resources;
  • the resource management module sends the tenant and resource category information involved in the request to the user behavior prediction module;
  • the user behavior prediction module executes the behavior prediction function. If there is no external injection prediction function, the built-in default prediction function will be used. Initially, the priority of all tenant resource queries is the normal level.
  • the specific rules are as follows:
  • the resource query of the tenant reaches the threshold (the default value is 10 times, configurable), it is determined that the current user is sensitive to the tenant's resources, and the tenant The resource query priority is raised to a higher priority level, and the information is recorded;
  • the resource query of the tenant does not reach the threshold (the default value is 10 times, configurable), it is determined that the current user is not sensitive to the tenant's resources, and the The tenant resource query priority is set to normal level, and this information is recorded;
  • the behavior prediction module sends the result of the user behavior prediction to the update strategy decision-making module
  • the resource environment monitoring module executes the monitoring function regularly, and if there is no external injection monitoring function, it executes the default monitoring function.
  • the specific rules are as follows:
  • the resource environment monitoring module sends the result of resource environment monitoring to the update strategy decision-making module
  • the update strategy decision-making module obtains a resource synchronization strategy based on the information in steps 4 and 6, which prompts the resource management module to immediately execute the resource synchronization task of the highest level in the cloud platform, and executes the resource synchronization task at the highest level in 10 seconds (time is configurable)
  • the resource information of tenants with higher priority is synchronized at an interval of 2 minutes (time is configurable), and the resource information of tenants at the common level is synchronized at an interval of 2 minutes; at the same time, for platforms with poor performance, the interval is doubled (time is configurable);
  • the update policy accuracy evaluation module queries the current policy content from the update policy decision-making module, and queries the resource requests sent by the VNF business module to the resource management module within a fixed period of time (time is configurable, 1 minute by default) from the resource management module, The effectiveness of the update strategy is judged according to the evaluation function.
  • the evaluation function can be injected externally. If not injected, the rules of the evaluation function are as follows:
  • the update strategy accuracy evaluation module sends the evaluation conclusion to the update strategy decision-making module, and the update strategy decision-making module adjusts the rules accordingly.
  • the specific adjustment scheme has been described in 8.1.
  • the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute.
  • Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本公开提供一种虚拟资源信息的同步方法,包括:确定资源同步策略,所述资源同步策略表征至少一个租户的优先级,其中,不同优先级对应的同步租户的虚拟资源信息的同步频率不同;根据所述资源同步策略同步所述至少一个租户的虚拟资源信息。本公开还提供一种编排器、一种电子设备、一种计算机可读介质。

Description

虚拟资源信息的同步方法、编排器、电子设备、可读介质
相关申请的交叉引用
本申请要求于2021年9月30日提交的中国专利申请NO.202110734101.1的优先权,该中国专利申请的内容通过引用的方式整体合并于此。
技术领域
本公开涉及计算机技术领域,特别涉及一种虚拟资源信息的同步方法、一种编排器、一种电子设备、一种计算机可读介质。
背景技术
在虚拟化领域,一套管理和编排(MANO,Management and Orchestration)系统通常对应多个云平台,MANO负责对云平台上虚拟网络功能(VNF,Virtualised Network Function)的虚拟资源进行管理。为了实现对VNF的管理,MANO需要感知各个云平台上虚拟资源的变化情况。
在一些相关技术中,MANO对VNF的支持和管理还存在较大的局限性。
发明内容
本公开实施例提供一种虚拟资源信息的同步方法、一种编排器、一种电子设备、一种计算机可读介质。
第一方面,本公开实施例提供一种虚拟资源信息的同步方法,包括:确定资源同步策略,所述资源同步策略表征至少一个租户的优先级,其中,不同优先级对应的同步租户的虚拟资源信息的同步频率不同;以及根据所述资源同步策略同步所述至少一个租户的虚拟资源信息。
第二方面,本公开实施例提供一种编排器,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例第一方面中任意一项所述的虚拟资源信息的同步方法;以及,一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。
第三方面,本公开实施例提供一种电子设备,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例第一方面中任意一项所述的虚拟资源信息的同步方法;以及,一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。
第四方面,本公开实施例提供一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现本公开实施例第一方面中任意一项所述的虚拟资源信息的同步方法。
附图说明
图1是本公开实施例中一种虚拟资源信息的同步方法的流程图;
图2是虚拟资源信息同步资源消耗的示意图;
图3是本公开实施例中另一种虚拟资源信息的同步方法中部分步骤的流程图;
图4是本公开实施例中又一种虚拟资源信息的同步方法中部分步骤的流程图;
图5是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图6是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图7是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图8是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图9是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图10是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图11是本公开实施例中再一种虚拟资源信息的同步方法中部分步骤的流程图;
图12是本公开实施例中一种编排器的组成框图;
图13是本公开实施例中一种电子设备的组成框图;
图14是本公开实施例中一种计算机可读介质的组成框图;
图15是本公开实施例中一种虚拟资源信息同步的架构示意图;
图16是本公开实施例中一种虚拟资源信息同步的架构中业务模块的交互示意图。
具体实施方式
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的虚拟资源信息的同步方法、编排器、电子设备、计算机可读介质进行详细描述。
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。
VNF通过MANO对虚拟资源进行管理。针对虚拟机进行部署或容量调整、针对相关网络资源进行操作等一系列运维动作都需要从MANO上发起。为了使MANO能够更好地服务于VNF、针对VNF发起的资源操作采取合适的应对措施,MANO需要充分、及时地了解VNF相关的虚拟资源属性及状态。例如,用户希望将某VNF下的某个虚机从主机A节点迁移到主机B节点,但是,在用户操作该虚拟机迁移之前,该虚机由于其他一些外界原因(例如主机维护,人为 操作等),已经处于迁移过程中或者已经迁移到主机B节点。如果MANO不能感知到该虚机相关的虚拟资源属性及状态的变化,就无法采取合适的操作措施,也就无法为用户提供较好的资源操作支持。
为了解决上述问题,在一些相关技术中,MANO中存在一个虚拟资源管理的模块或者组件。该模块或者组件通常以固定的频率与各云平台交互,以此来感知云平台上虚拟资源的变化情况。
本公开的发明人经研究发现,以固定的频率与云平台交互的策略有较大的局限性。具体来说,以一个固定频率的同步信息的策略往往造成最差情况下MANO需要等待一个完整的同步周期才能感知到虚拟资源属性及状态的变化,而这种滞后性往往导致一些不可预知的错误。例如,虚机已经处于迁移状态中,若MANO由于需要等待同步周期而没有及时感知到该虚机相关的虚拟资源属性及状态的变化,当用户希望将该虚机从主机A节点迁移到主机B节点时仍然会通过MANO下发迁移请求,云平台接收到迁移请求后就会返回操作冲突之类的错误,而该错误会让用户感到困惑。
在一些相关技术中,通过提高同步频率来提升MANO感知虚拟资源属性及状态变化的及时性。本公开的发明人认为,提高同步频率会产生巨大的代价。具体来说,因为MANO系统资源有限,提高同步频率意味着更多的资源消耗,会导致正常的生命周期业务受到影响;MANO与云平台是一对多的关系,如果众多的云平台中某个平台出现暂时的性能瓶颈,该云平台的响应会变慢,那么以一个较高的频率频繁地与该云平台交互会进一步加重该云平台的性能问题。因此,通过提高同步频率来提升MANO感知虚拟资源属性及状态变化的及时性并不是优越的解决方案。
有鉴于此,第一方面,参照图1,本公开实施例提供一种虚拟资源信息的同步方法,包括步骤S100和S200。
在步骤S100中,确定资源同步策略,所述资源同步策略表征至少一个租户的优先级,其中,不同优先级对应的同步租户的虚拟资源信息的同步频率不同。
在步骤S200中,根据所述资源同步策略同步所述至少一个租户的虚拟资源信息。
在本公开实施例中,将云平台以租户进行分割,每一个云平台看做租户的集合体。需要说明的是,在本公开实施例中,可以是一个云平台上的全部租户的虚拟资源由同一个MANO进行管理,也可以是一个云平台上的部分租户的虚拟资源由一个MANO进行管理。本公开实施例对此不做特殊限定。其中,步骤S100中所述的至少一个租户归属于至少一个云平台,且步骤S100中所述的至少一个租户均由同一个MANO进行管理。在步骤S200中,以租户为单位进行虚拟资源信息的同步。
图2中(a)为以云平台为单位进行虚拟资源信息同步时资源消耗的示意图,图2中(b)为以租户为单位进行虚拟资源信息同步时资源消耗的示意图。如图2所示,在本公开实施例中,以租户为单位进行虚拟资源信息同步,将同步虚拟资源信息的规模从云平台级别下降到租户级别,从而使得MANO系统的资源消耗从单个时间点突发型消耗转变为全时段的平缓型消耗。
需要说明的是,在本公开实施例中,通过步骤S100确定资源同步策略,使得各个租户对应的优先级是动态可调的。在步骤S200中,根据资源同步策略同步租户的虚拟资源信息,即按照各个租户的优先级所对应的同步频率,从各个租户归属的云平台同步虚拟资源信息。其 中,不同优先级的租户对应的同步频率不同,从而实现对不同租户的虚拟资源信息按照差异化的同步频率进行同步。同一租户的优先级可以是动态变化的。通常,但非必须地,租户的优先级越高,对应的同步频率越高。
本公开实施例提供的虚拟资源信息的同步方法中,以租户为单位进行虚拟资源信息同步,将MANO系统的资源消耗转变为平缓型消耗,减小了虚拟资源信息同步对MANO系统正常的生命周期业务的影响;不同租户的同步频率相互独立且动态可调,使得MANO系统能够根据云平台性能、用户操作等因素差异化同步各个租户的虚拟资源信息,有利于提升虚拟资源同步的及时性,降低对云平台性能的影响,从而更好地支持用户在VNF中进行的资源操作。
在一些实施例中,通过对针对租户的用户操作进行预测,根据预测的用户操作确定租户的优先级,从而确定能够满足VNF后续业务需求的同步频率。例如,对针对租户进行虚拟机部署、升级、容量调整等重大操作进行预测,在预测到用户可能针对租户进行虚拟机部署、升级、容量调整等操作时,提升同步该租户的虚拟资源信息的频率,及时同步该租户的虚拟资源信息,从而能够及时感知虚拟机部署、升级、容量调整等操作导致的虚拟资源属性、状态等的变化,在VNF后续业务过程中避免同步不及时导致的操作冲突等问题。
相应地,在一些实施例中,参照图3,确定资源同步策略的步骤S100可进一步包括步骤S110。
在步骤S110中,对针对租户的用户操作进行预测,根据预测结果确定租户的优先级。
本公开实施例对于用户操作不做特殊限定。在一些实施例中,用户操作是能够使租户的虚拟资源的属性、状态产生较大变化的操作,例如租户虚拟机部署、升级、容量调整、迁移等。
本公开实施例对如何对用户操作进行预测不做特殊限定。
经本公开的发明人研究发现,在实际运用场景中每个VNF都归属于不同的租户;实际场景中虚拟机部署、升级、容量调整等重大操作对应的MANO业务通常是根据现场的时间规划来串行执行,即每个VNF的用户操作是串行执行的,时间上不会冲突,并发执行重大操作的可能性非常小;在执行虚拟机部署、升级、容量调整等重大操作之前,通常需要对环境当下的情况进行巡检,巡检内容包括确认相关虚拟资源的状态等,在巡检过程中VNF会触发对租户的虚拟资源信息的查询;在用户操作结束后,为确保VNF资源状态达到预期,也会触发对VNF租户下虚拟资源信息的查询。
基于上述研究,在本公开实施例中,能够根据VNF查询租户的虚拟资源的频率,进而对用户操作进行预测。例如,如果VNF主动要求查询某云平台某租户下的虚拟资源信息,查询频率越高,针对该租户发生虚拟机部署、升级、迁移、容量调整等重大操作的可能性越大,因此需要提升该租户的优先级,以此来满足VNF后续的业务要求。
相应地,在一些实施例中,参照图4,对针对租户的用户操作进行预测,根据预测结果确定租户的优先级的步骤S110可进一步包括步骤S111和S112。
在步骤S111中,确定虚拟网络功能VNF发送资源查询请求的查询频率,所述资源查询请求用于查询租户的虚拟资源信息,所述查询频率表征针对租户的用户操作。
在步骤S112中,根据所述查询频率确定租户的优先级。
本公开实施例对于如何确定查询频率不做特殊限定。在一些实施例中,可以确定一定的时间间隔内查询租户的虚拟资源信息的次数,进而确定查询频率。
本公开实施例对于如何根据查询频率确定租户的优先级不做特殊限定。
相应地,在一些实施例中,参照图5,根据所述查询频率确定租户的优先级的步骤S112可进一步包括步骤S1121和S1122。
在步骤S1121中,在所述查询频率未达到第一阈值的情况下,将租户的优先级确定为第一优先级。
在步骤S1122中,在所述查询频率达到所述第一阈值的情况下,将租户的优先级确定为第二优先级。
其中,所述第一优先级对应的同步频率小于所述第二优先级对应的同步频率。
在一些实施例中,初始各个租户的优先级均为普通级别,第一优先级即为普通级别,第二级别为较优先级别,其中,普通级别对应的同步频率小于较优先级别对应的同步频率。
相应地,在一些实施例中,参照图5,根据所述查询频率确定租户的优先级的步骤S112还可进一步包括步骤S1123和S1124。
在步骤S1123中,在所述查询频率达到所述第一阈值的情况下,确定第一占比,所述第一占比为第一预设时长接收到的全部查询请求中所述VNF发送的资源查询请求的比例。
在步骤S1124中,在所述第一占比达到第二阈值的情况下,将租户的优先级确定为第三优先级;其中,所述第二优先级对应的同步频率小于所述第三优先级对应的同步频率。
在一些实施例中,第三优先级为最高级别,其对应的同步频率为最大的同步频率。在一些实施例中,当租户的优先级为第三优先级时,则立即执行同步该租户的虚拟资源信息的同步任务。
在本公开实施例中,预测用户操作的预测函数可以是MANO系统中默认的预测函数,也可以是外部注入的预测函数。本公开实施例对此不做特殊限定。
相应地,在一些实施例中参照图6,对针对租户的用户操作进行预测,根据预测结果确定租户的优先级的步骤S110可进一步包括步骤S113和S114。
在步骤S113中,获取用户行为预测函数。
在步骤S114中,根据所述预测函数对针对租户的用户操作进行预测,以确定租户的优先级。
在一些实施例中,根据VNF查询租户的虚拟资源信息的查询频率确定租户的优先级时,获取外部注入的预测函数是指获取外部配置的第一阈值和第二阈值等参数。
在一些实施例中,根据云平台的性能动态调整云平台所属租户的优先级,进而调整云平台所述租户对应的同步频率。在本公开实施例中,根据云平台的响应能力表征云平台的性能。
相应地,在一些实施例中,参照图7,在步骤S100中,确定资源同步策略的步骤可进一步包括步骤S120和S130。
在步骤S120中,获取至少一个云平台的响应能力信息。
在步骤S130中,根据所述至少一个云平台的响应能力信息确定各个所述云平台所属的租户的优先级。
在本公开实施例中,在云平台出现性能瓶颈而导致响应能力下降时,将云平台所属的租户的优先级调整为对应较低同步频率的优先级,从而根据云平台的响应能力差异化同步租户的虚拟资源信息的频率,能够缓解云平台的性能瓶颈问题。
本公开实施例对于如何获取云平台的响应能力不做特殊限定。
在一些实施例中,参照图8,获取至少一个云平台的响应能力信息的步骤S120可进一步包括步骤S121和步骤S122。
在步骤S121中,调用云平台获取token接口。
在步骤S122中,确定云平台的响应时间作为所述响应能力信息。
本公开实施例对于如何根据云平台的响应能力不做特殊限定。
在一些实施例中,参照图9,根据所述至少一个云平台的响应能力信息确定各个所述云平台所属的租户的优先级的步骤S130可进一步包括步骤S131。
在步骤S131中,在云平台的响应时间超过第三阈值的情况下,将云平台所述租户的优先级确定为第四优先级,其中,所述第四优先级对应的同步频率小于租户原本的同步频率。
本公开实施例对于如何执行步骤S131不做特殊限定。例如,可以设定第四优先级对应一个特定同步频率,该特定同步频率为最小的同步频率;也可以设定第四优先级的租户的频率按照预定比例减小,例如,将第四优先级的同步频率设置为其原同步频率的一半。
在一些实施例中,还能够对资源同步策略的有效性进行评价,并能够在资源同步策略的有效性不满足要求的情况下对资源同步策略进行更新,从而形成闭环效果。
相应地,在一些实施例中,参照图10,确定资源同步策略的步骤S100可进一步包括步骤S140和S150。
在步骤S140中,确定所述资源同步策略的有效性信息。
在步骤S150中,根据所述有效性信息更新所述资源同步策略。
在一些实施例中,参照图11,确定所述资源同步策略的有效性信息的步骤S140可包括步骤S141。
在步骤S141中,确定第二预设时长中接收到的资源查询请求对应的租户与所述资源同步策略中优先级为第二优先级的租户的吻合率,得到所述有效性信息;其中,第一优先级对应的同步频率小于所述第二优先级对应的同步频率,所述第二优先级对应的同步频率小于第三优先级对应的同步频率。
在一些实施例中,参照图11,根据所述有效性信息更新所述资源同步策略的步骤S140可进一步包括步骤S151和S152。
在步骤S151中,在吻合率大于第四阈值、小于第五阈值的情况下,将第二优先级的租户确定为第一优先级。
在步骤S152中,在所述吻合率小于(或等于)第四阈值的情况下,取消第三优先级的租户,将第二优先级的租户确定为第一优先级。
在一些实施例中,在吻合率大于第五阈值的情况下,判定资源同步策略有效。
第二方面,参照图12,本公开实施例还提供一种编排器,包括:一个或多个处理器101;存储器102,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本公开实施例第一方面任意一项所述的虚拟资源信息的同步方法;以及,一个或多个I/O接口103,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。
其中,处理器101为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器102为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH); I/O接口(读写接口)103连接在处理器101与存储器102间,能实现处理器101与存储器102的信息交互,其包括但不限于数据总线(Bus)等。
在一些实施例中,处理器101、存储器102和I/O接口103通过总线104相互连接,进而与计算设备的其它组件连接。
第三方面,参照图13,本公开实施例还提供一种电子设备,包括:一个或多个处理器201;存储器202,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本公开实施例第一方面任意一项所述的虚拟资源信息的同步方法;以及,一个或多个I/O接口203,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。
其中,处理器201为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器202为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)203连接在处理器201与存储器202间,能实现处理器201与存储器202的信息交互,其包括但不限于数据总线(Bus)等。
在一些实施例中,处理器201、存储器202和I/O接口203通过总线204相互连接,进而与计算设备的其它组件连接。
第四方面,参照图14,本公开实施例还提供一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现本公开实施例第一方面任意一项所述的虚拟资源信息的同步方法。
为了使本领域技术人员能够更清楚地理解本公开实施例提供的技术方案,下面通过具体的实施例,对本公开实施例提供的技术方案进行详细说明。
实施例
在本实施例中,MANO正常运行,MANO与云平台之间通信正常。
图15是本实施例中虚拟资源信息同步的架构示意图。如图15所示,虚拟资源信息同步的架构包括VNF业务模块、资源管理模块、行为预测模块、资源环境监测模块、更新策略决策模块、更新策略准确度评价模块。
图16是基于图15所示的虚拟资源信息同步的架构中,各业务模块的交互示意图。
在本实施例中,MANO从云平台同步租户的虚拟资源信息的过程包括以下步骤:
1.MANO系统运行过程中,VNF业务模块向资源管理模块发送查询某租户资源的资源查询请求;
2.资源管理模块将该请求涉及的租户及资源类别信息发送给用户行为预测模块;
3.用户行为预测模块执行行为预测函数,如无外部注入预测函数,则使用内置默认预测函数,初始所有租户资源查询的优先级均为普通级别。其具体规则(步骤)如下:
3.1记录该次请求的租户及资源类别信息以及时间点;
3.2如果在一定的时间间隔内(默认值为5分钟,可配置),对该租户的资源查询达到阈值(默认值为10次,可配置),判定当前用户对该租户资源敏感,将该租户资源查询优先级提升至较优先级别,并记录该信息;
3.3如果在一定的时间间隔内(默认值为5分钟,可配置),对该租户的资源查询未达到 阈值(默认值为10次,可配置),判定当前用户对该租户资源不敏感,将该租户资源查询优先级设置为普通级别,并记录该信息;
3.4如果满足3.2的条件,继续检查用户查询的资源类别;
3.5如果查询虚机资源的请求达到时间间隔内所有查询请求一定的百分比(默认值为80%,可配置),则生成该租户下全量查询虚机任务,并将此任务优先级提升到最高级别,并记录该信息;
3.6如果资源管理模块在3.5过程之后执行了全量虚机查询任务,则清除3.5中记录的信息。
4.行为预测模块将用户行为预测的结果发送给更新策略决策模块;
5.资源环境监测模块定时执行监测函数,如无外部注入监测函数,则执行默认监测函数。其具体规则(步骤)如下:
5.1调用云平台获取token接口,记录响应时间;
5.2如果出现响应时间超过0.5秒的云平台,则将其标记为性能较差平台,并记录该信息;
5.3如果响应时间在0.5秒以内,则标记为正常平台,并记录该信息。
6.资源环境监测模块将资源环境监测的结果发送给更新策略决策模块;
7.更新策略决策模块根据第4步和第6步的信息,得出资源同步策略,该策略提示资源管理模块立即执行云平台中最高级别的资源同步任务,并以10秒(时间可配置)为间隔,同步较高优先级下租户资源信息,以2分钟(时间可配置)为间隔,同步普通级下租户资源信息;同时对于性能较差的平台,其间隔时间加倍(时间可配置);
8.更新策略准确度评价模块从更新策略决策模块查询当前的策略内容,并从资源管理模块查询固定时间段(时间可配置,默认1分钟)内VNF业务模块向资源管理模块发送的资源请求,根据评价函数来判断更新策略的有效性,评价函数可以外部注入,如不注入的话,评价函数的规则如下:
8.1判断1分钟内请求查询资源涉及的租户是否与策略中指定的租户相吻合,吻合度大于70%(默认值,可配置)以上则认为更新策略有效,如介于50%--70%,则认为需要将较优先级租户调整为普通租户,如小于50%,则认为需要将较优先级租户调整为普通租户,并同时取消掉高优先级任务要求。
9.更新策略准确度评价模块将评价结论发送给更新策略决策模块,更新策略决策模块据此调整规则,具体调整方案在8.1中已描述。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易 失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。

Claims (15)

  1. 一种虚拟资源信息的同步方法,包括:
    确定资源同步策略,所述资源同步策略表征至少一个租户的优先级,其中,不同优先级对应的同步租户的虚拟资源信息的同步频率不同;以及
    根据所述资源同步策略同步所述至少一个租户的虚拟资源信息。
  2. 根据权利要求1所述的同步方法,其中,确定资源同步策略的步骤包括:
    对针对租户的用户操作进行预测,根据预测结果确定租户的优先级。
  3. 根据权利要求2所述的同步方法,其中,对针对租户的用户操作进行预测,根据预测结果确定租户的优先级的步骤包括:
    确定虚拟网络功能VNF发送资源查询请求的查询频率,所述资源查询请求用于查询租户的虚拟资源信息,所述查询频率表征针对租户的用户操作;以及
    根据所述查询频率确定租户的优先级。
  4. 根据权利要求3所述的同步方法,其中,根据所述查询频率确定租户的优先级的步骤包括:
    在所述查询频率未达到第一阈值的情况下,将租户的优先级确定为第一优先级;并且
    在所述查询频率达到所述第一阈值的情况下,将租户的优先级确定为第二优先级,
    其中,所述第一优先级对应的同步频率小于所述第二优先级对应的同步频率。
  5. 根据权利要求4所述的同步方法,其中,根据所述查询频率确定租户的优先级的步骤还包括:
    在所述查询频率达到所述第一阈值的情况下,确定第一占比,所述第一占比为第一预设时长接收到的全部查询请求中所述VNF发送的资源查询请求的比例;并且
    在所述第一占比达到第二阈值的情况下,将租户的优先级确定为第三优先级,
    其中,所述第二优先级对应的同步频率小于所述第三优先级对应的同步频率。
  6. 根据权利要求2所述的同步方法,其中,对针对租户的用户操作进行预测,根据预测结果确定租户的优先级的步骤包括:
    获取用户行为预测函数;以及
    根据所述预测函数对针对租户的用户操作进行预测,以确定租户的优先级。
  7. 根据权利要求1至6中任意一项所述的同步方法,其中,确定资源同步策略的步骤包括:
    获取至少一个云平台的响应能力信息;以及
    根据所述至少一个云平台的响应能力信息确定各个所述云平台所属的租户的优先级。
  8. 根据权利要求7所述的同步方法,其中,获取至少一个云平台的响应能力信息的步骤包括:
    调用云平台获取token接口;
    确定云平台的响应时间作为所述响应能力信息。
  9. 根据权利要求8所述的同步方法,其中,根据所述至少一个云平台的响应能力信息确定各个所述云平台所属的租户的优先级的步骤包括:
    在云平台的响应时间超过第三阈值的情况下,将云平台所属租户的优先级确定为第四优先级,其中,所述第四优先级对应的同步频率小于租户原本的同步频率。
  10. 根据权利要求1至6中任意一项所述的同步方法,其中,确定资源同步策略的步骤包括:
    确定所述资源同步策略的有效性信息;以及
    根据所述有效性信息更新所述资源同步策略。
  11. 根据权利要求10所述的同步方法,其中,确定所述资源同步策略的有效性信息的步骤包括:
    确定第二预设时长中接收到的资源查询请求对应的租户与所述资源同步策略中优先级为第二优先级的租户的吻合率,得到所述有效性信息,
    其中,第一优先级对应的同步频率小于所述第二优先级对应的同步频率,所述第二优先级对应的同步频率小于第三优先级对应的同步频率。
  12. 根据权利要求11所述的同步方法,其中,根据所述有效性信息更新所述资源同步策略的步骤包括:
    在吻合率大于第四阈值、小于第五阈值的情况下,将第二优先级的租户确定为第一优先级;并且
    在所述吻合率小于第四阈值的情况下,取消第三优先级的租户,将第二优先级的租户确定为第一优先级。
  13. 一种编排器,包括:
    一个或多个处理器;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至12中任意一项所述的虚拟资源信息的同步方法;以及
    一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。
  14. 一种电子设备,包括:
    一个或多个处理器;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至12中任意一项所述的虚拟资源信息的同步方法;以及
    一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。
  15. 一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现根据权利要求1至12中任意一项所述的虚拟资源信息的同步方法。
PCT/CN2022/122029 2021-09-30 2022-09-28 虚拟资源信息的同步方法、编排器、电子设备、可读介质 WO2023051582A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22874967.7A EP4394596A1 (en) 2021-09-30 2022-09-28 Virtual resource information synchronization method, orchestrator, electronic device, and readable medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111159309.1A CN115878310A (zh) 2021-09-30 2021-09-30 虚拟资源信息的同步方法、编排器、电子设备、可读介质
CN202111159309.1 2021-09-30

Publications (1)

Publication Number Publication Date
WO2023051582A1 true WO2023051582A1 (zh) 2023-04-06

Family

ID=85756658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/122029 WO2023051582A1 (zh) 2021-09-30 2022-09-28 虚拟资源信息的同步方法、编排器、电子设备、可读介质

Country Status (3)

Country Link
EP (1) EP4394596A1 (zh)
CN (1) CN115878310A (zh)
WO (1) WO2023051582A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282501A (zh) * 2017-01-05 2018-07-13 阿里巴巴集团控股有限公司 一种云服务器资源信息同步方法、装置和系统
CN109416651A (zh) * 2016-06-15 2019-03-01 微软技术许可有限责任公司 多租户云计算环境中的更新协调
CN109783225A (zh) * 2018-12-12 2019-05-21 华南理工大学 一种多租户大数据平台的租户优先级管理方法及系统
US20200322453A1 (en) * 2019-04-05 2020-10-08 Sap Se Automated cloud computing tenant deployment service
CN112182100A (zh) * 2020-09-22 2021-01-05 烽火通信科技股份有限公司 一种云管平台状态数据同步方法与系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109416651A (zh) * 2016-06-15 2019-03-01 微软技术许可有限责任公司 多租户云计算环境中的更新协调
CN108282501A (zh) * 2017-01-05 2018-07-13 阿里巴巴集团控股有限公司 一种云服务器资源信息同步方法、装置和系统
CN109783225A (zh) * 2018-12-12 2019-05-21 华南理工大学 一种多租户大数据平台的租户优先级管理方法及系统
US20200322453A1 (en) * 2019-04-05 2020-10-08 Sap Se Automated cloud computing tenant deployment service
CN112182100A (zh) * 2020-09-22 2021-01-05 烽火通信科技股份有限公司 一种云管平台状态数据同步方法与系统

Also Published As

Publication number Publication date
EP4394596A1 (en) 2024-07-03
CN115878310A (zh) 2023-03-31

Similar Documents

Publication Publication Date Title
US10579364B2 (en) Upgrading bundled applications in a distributed computing system
US11099937B2 (en) Implementing clone snapshots in a distributed storage system
US20190213085A1 (en) Implementing Fault Domain And Latency Requirements In A Virtualized Distributed Storage System
AU2014309371B2 (en) Virtual hadoop manager
JP6564013B2 (ja) マルチテナントアプリケーションサーバ環境におけるリソースの分離および消費のためのシステムおよび方法
US9466036B1 (en) Automated reconfiguration of shared network resources
CN103458036B (zh) 一种集群文件系统的访问装置和方法
KR101551611B1 (ko) 실패들 사이의 평균 시간을 증가시키기 위해 멀티서브시스템 모바일 통신 디바이스에서 소프트웨어를 선제적으로 재시작하는 방법
US12038879B2 (en) Read and write access to data replicas stored in multiple data centers
US20140196054A1 (en) Ensuring performance of a computing system
WO2024120205A1 (zh) 一种应用性能优化方法、装置、电子设备及存储介质
US20200233701A1 (en) Managing execution of data processing jobs in a virtual computing environment
US11797187B2 (en) Optimized I/O performance regulation for non-volatile storage
US11714632B2 (en) Action execution based on management controller action request
CN107402863B (zh) 一种用于通过日志系统处理业务系统的日志的方法与设备
JP2017215966A (ja) 記憶デバイスにおける性能変動を制限するための技術
WO2017157111A1 (zh) 防止内存数据丢失的的方法、装置和系统
US11934665B2 (en) Systems and methods for ephemeral storage snapshotting
US8510273B2 (en) System, method, and computer-readable medium to facilitate application of arrival rate qualifications to missed throughput server level goals
WO2023051582A1 (zh) 虚拟资源信息的同步方法、编排器、电子设备、可读介质
WO2024148864A1 (zh) 虚拟机内存的调整方法和装置、非易失性可读存储介质及电子装置
WO2021098773A1 (zh) 传感器运行控制方法、装置、计算机设备和存储介质
WO2023221804A1 (zh) 内存管理方法、网络设备及计算机可读存储介质
US20230385159A1 (en) Systems and methods for preventing data loss
CN113867923B (zh) 一种容器应用跨cpu架构迁移的方法和装置

Legal Events

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

Ref document number: 22874967

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022874967

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022874967

Country of ref document: EP

Effective date: 20240327

NENP Non-entry into the national phase

Ref country code: DE