Equipment configuration method of cloud service system and cloud service system

By simulating and testing users' cloud resource configuration needs in the cloud service system and generating mirror files, the problem of mismatch between cloud resource configuration and business needs is solved, and the device delivery efficiency and user experience are improved.

CN120342860APending Publication Date: 2025-07-18HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410452725.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-01-18
Filing Date
2024-04-15
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the cloud service system, due to the limited technical capabilities of users or insufficient estimates of business requirements, the cloud resource allocation requirements do not match the business requirements, resulting in repeated replacement and reconfiguration of physical equipment, increasing operational costs and equipment delivery time, and affecting the timely online and stable operation of user services.

Method used

By simulating the operating system that meets the user's cloud resource configuration needs on the cloud management platform of the cloud service system, and conducting indicator tests, a mirror file is generated after the test is passed, and the problem of repeated replacement and reconfiguration is solved.

Benefits of technology

Improves device delivery efficiency and user experience, avoids repeated configuration and reconfiguration, and shortens device configuration and delivery time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342860A_ABST
    Figure CN120342860A_ABST
Patent Text Reader

Abstract

The invention provides an equipment configuration method of a cloud service system and computing equipment. The method is applied to a cloud management platform of a cloud service system, and comprises the following steps: providing a configuration interface for receiving a cloud service demand input by a user, the cloud service demand being used for determining a cloud resource configuration demand of the user; simulating an operation system meeting the cloud resource configuration requirement of a user, wherein the operation system comprises at least one hardware module and software modules operated by the hardware modules; performing index test on the simulated operation system, and determining a test result of the operation system; and under the condition that the test result passes, generating a mirror image file of the operation system through the mirror image template.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a method for configuring devices in a cloud service system and a cloud service system. Background Art

[0002] In some application scenarios of cloud service systems, in order to improve the cloud service experience of users, operation and maintenance personnel usually configure physical devices offline according to the cloud resource configuration requirements proposed by users. However, in actual operation, due to the limited technical capabilities of users or insufficient estimation of their own business requirements, the cloud resource configuration requirements do not match the user's business requirements, resulting in the configured physical devices being unable to effectively meet the operation of user services. In this case, operation and maintenance personnel need to repeatedly replace and reconfigure physical devices, which not only increases the operation cost and device delivery time, but also affects the timely online and stable operation of user services. Summary of the Invention

[0003] This application provides a method for configuring devices in a cloud service system and a cloud service system, which performs simulation and verification in the cloud service system according to the cloud resource configuration requirements of users to solve the problem of repeated replacement and reconfiguration.

[0004] In a first aspect, this application provides a method for configuring devices in a cloud service system. This method can be applied to the cloud management platform of the cloud service system, and the cloud management platform is used to manage the infrastructure that provides cloud services. The infrastructure includes multiple regions, and each region includes at least one cloud data center. The cloud service runs on at least one server in at least one cloud data center in one of the multiple regions.

[0005] The method includes: providing a configuration interface, which is used to receive the cloud service requirements input by the user, and the cloud service requirements are used to determine the cloud resource configuration requirements of the user; simulating a running system that meets the cloud resource configuration requirements of the user, and the running system includes at least one hardware module and software modules running on each hardware module; performing metric tests on the simulated running system to determine the test results of the running system; and generating an image file of the running system through an image template when the test results pass.

[0006] Among them, the hardware module may include physical devices such as servers, switches, racks, and / or auxiliary devices.

[0007] In the above solution, in the cloud service system, the hardware and software of the running system are simulated, and in the case where the running system passes the test, an image file for configuring the running system is generated. By simulating the hardware and software in the cloud and testing them, the problem of repeated replacement and reconfiguration required offline can be solved, and the device delivery efficiency and user experience can be improved.

[0008] In combination with the first aspect, in a possible implementation manner, the testing of the simulated running system to determine the test result of the running system includes: executing the business use case corresponding to the simulated tenant through the simulated first hardware module corresponding to the simulated tenant in the simulated running system, where the at least one hardware module includes the first hardware module; determining the test value of the test metric of the running system in the case where the software module running on the simulated first hardware module responds to the business use case; and determining the test result according to the test value of the test metric and the threshold of the test metric.

[0009] In combination with the first aspect, in a possible implementation manner, the cloud resource configuration requirement of the user indicates the specification parameters of the running system, and the specification parameters include the specification information of each hardware module and the version information of the software module running on each hardware module. Simulating the running system that meets the cloud resource configuration requirement of the user includes: generating simulated hardware modules according to the specification information of each hardware module; and configuring the software modules running on each hardware module in the simulated hardware modules according to the version information of the software modules running on each hardware module.

[0010] In combination with the first aspect, in a possible implementation manner, the cloud resource configuration requirement of the user indicates the specification parameters of the running system, and simulating the running system that meets the cloud resource configuration requirement of the user includes: selecting a target simulation template from multiple simulation templates according to the specification parameters of the running system; and generating a simulated running system according to the target simulation template.

[0011] In combination with the first aspect, in a possible implementation manner, before generating the image file of the running system through the image template, the method further includes: sending the specification parameters of the running system indicated by the cloud resource configuration requirement and the test result to the user's terminal device; and determining to generate the image file of the running system through the image template according to the first information fed back by the user.

[0012] In combination with the first aspect, in a possible implementation manner, the method further includes: modifying the specification parameters of the running system indicated by the cloud resource configuration requirement, and sending the modified specification parameters of the running system to the user's terminal device; and determining to re - simulate the running system according to the second information fed back by the user.

[0013] In combination with the first aspect, in a possible implementation manner, the image file of the operating system includes the image files of the respective hardware modules. Generating the image file of the operating system through an image template includes: generating the image files of the respective hardware modules according to the data of the simulated respective hardware modules in accordance with the image template; and sending the image files of the respective hardware modules to the respective hardware modules.

[0014] In a second aspect, the present application provides a device configuration method for a cloud service system. The method can be applied to a first hardware module of the cloud service system. The cloud management platform of the cloud service system is used to manage the infrastructure for providing cloud services. The infrastructure includes being set in multiple regions, and each region includes at least one cloud data center. The cloud service runs on at least one server in at least one cloud data center in one of the multiple regions.

[0015] The method includes: receiving the image file of the first hardware module. The cloud management platform is used to simulate an operating system that meets the cloud resource configuration requirements of the user, perform metric testing on the simulated operating system, determine the test result, and in the case where the test result passes, generate the image file of the operating system through an image template. Wherein, the operating system includes at least one hardware module and software modules for each hardware module to run. The at least one hardware module includes the first hardware module. The image file of the operating system includes the image files of the respective hardware modules; and perform configuration according to the image file of the first hardware module.

[0016] In a third aspect, the present application provides a device configuration apparatus for a cloud service system. The apparatus is applied to the cloud management platform of the cloud service system. The cloud management platform is used to manage the infrastructure for providing cloud services. The infrastructure includes being set in multiple regions, and each region includes at least one cloud data center. The cloud service runs on at least one server in at least one cloud data center in one of the multiple regions. The apparatus includes: a determination module, a simulation module, and a configuration module.

[0017] Wherein, the determination module is used to provide a configuration interface, and the configuration interface is used to receive the cloud service requirements input by the user, and the cloud service requirements are used to determine the cloud resource configuration requirements of the user.

[0018] Wherein, the simulation module is used to simulate an operating system that meets the cloud resource configuration requirements of the user, and the operating system includes at least one hardware module and software modules for each hardware module to run.

[0019] Among them, the configuration module is used to perform metric tests on the simulated operating system, determine the test results of the operating system, and generate an image file of the operating system through an image template when the test results pass.

[0020] Combined with the third aspect, in a possible implementation manner, the configuration module is specifically used to: execute the business use cases corresponding to the simulated tenants through the simulated tenants corresponding to the simulated first hardware module in the simulated operating system, and the first hardware module is included in the at least one hardware module; determine the test values of the test metrics of the operating system in the case where the software module running on the simulated first hardware module responds to the business use cases; determine the test results according to the test values of the test metrics and the thresholds of the test metrics.

[0021] Combined with the third aspect, in a possible implementation manner, the cloud resource configuration requirements of the user indicate the specification parameters of the operating system, and the specification parameters include the specification information of each hardware module and the version information of the software module running on each hardware module. The simulation module is specifically used to: generate simulated hardware modules according to the specification information of each hardware module; configure the software modules running on each hardware module in the simulated hardware modules according to the version information of the software modules running on each hardware module.

[0022] Combined with the third aspect, in a possible implementation manner, the cloud resource configuration requirements of the user indicate the specification parameters of the operating system. The simulation module is specifically used to: select a target simulation template from multiple simulation templates according to the specification parameters of the operating system; generate a simulated operating system according to the target simulation template.

[0023] Combined with the third aspect, in a possible implementation manner, before generating the image file of the operating system through the image template, the configuration module is further used to: send the specification parameters of the operating system indicated by the cloud resource configuration requirements and the test results to the terminal device of the user; determine to generate the image file of the operating system through the image template according to the first information fed back by the user.

[0024] Combined with the third aspect, in a possible implementation manner, the configuration module is further used to: modify the specification parameters of the operating system indicated by the cloud resource configuration requirements, and send the modified specification parameters of the operating system to the terminal device of the user; determine to re-simulate the operating system according to the second information fed back by the user.

[0025] In combination with the third aspect, in a possible implementation, the configuration module is specifically configured to: generate mirror image files of the respective hardware modules according to the data of the simulated respective hardware modules in accordance with a mirror image template; and send the mirror image files of the respective hardware modules to the respective hardware modules.

[0026] Fourth aspect, the present application provides a device configuration apparatus for a cloud service system. The apparatus is applied to a first hardware module of the cloud service system. The cloud management platform of the cloud service system is used to manage the infrastructure that provides cloud services. The infrastructure includes multiple regions, and each region includes at least one cloud data center. The cloud service runs on at least one server in at least one cloud data center in one of the multiple regions. The apparatus includes: a determination module and a configuration module.

[0027] Among them, the determination module is used to receive the mirror image file of the first hardware module. The cloud management platform is used to simulate an operating system that meets the cloud resource configuration requirements of a user, perform metric testing on the simulated operating system, determine the test result, and in the case where the test result passes, generate a mirror image file of the operating system through a mirror image template. Among them, the operating system includes at least one hardware module and software modules that each hardware module runs. The at least one hardware module includes the first hardware module. The mirror image file of the operating system includes the mirror image files of the respective hardware modules.

[0028] Among them, the configuration module is used to perform configuration according to the mirror image file of the first hardware module.

[0029] Fifth aspect, the present application provides a computing device. The computing device includes: a processor and a memory. The processor is used to execute a computer program stored in the memory to implement any one of the methods in the first aspect and its possible implementations, or to implement the method in the second aspect.

[0030] Sixth aspect, the present application provides a computer-readable storage medium, including instructions, when the instructions run on a computer, enabling the computer to implement any one of the methods in the first aspect and its possible implementations, or to implement the method in the second aspect.

[0031] Seventh aspect, the present application provides a computer program product containing instructions, when the instructions run on a computer, enabling the computer to implement any one of the methods in the first aspect and its possible implementations, or to implement the method in the second aspect.

[0032] Any of the devices, computing devices, computer storage media, or computer program products provided above is used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding solutions in the corresponding method provided above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a schematic structural diagram of a cloud service system provided by the present application;

[0034] Figure 2 is based on the Figure 1 schematic diagram of the device configuration scenario of the cloud service system shown;

[0035] Figure 3 is a schematic structural diagram of a cloud service system provided by an embodiment of the present application;

[0036] Figure 4 is based on the Figure 3 schematic diagram of the function of the cloud management platform in the cloud service system shown;

[0037] Figure 5 is a Figure 3 flowchart of the device configuration method executed by the cloud management platform shown provided by an embodiment of the present application;

[0038] Figure 6 is based on the Figure 5 schematic diagram of the device configuration scenario of the method shown;

[0039] Figure 7 is a schematic diagram of processing the specification parameters of the running system after the index test provided by an embodiment of the present application;

[0040] Figure 8 is a Figure 3 flowchart of the device configuration method executed by the hardware module in the VZ shown provided by an embodiment of the present application;

[0041] Figure 9 is a device configuration device based on the Figure 3 schematic structural diagram of the method shown provided by an embodiment of the present application;

[0042] Figure 10 is a device configuration device based on the Figure 5 schematic structural diagram of the method shown provided by an embodiment of the present application;

[0043] Figure 11 is a schematic structural diagram of a computing device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0044] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will describe the technical solutions in the embodiments of this application with reference to the accompanying drawings.

[0045] In the description of the embodiments of this application, words such as "exemplary", "for example", or "for illustration purposes" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary", "for example", or "for illustration purposes" in the embodiments of this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary", "for example", or "for illustration purposes" is intended to present the relevant concepts in a specific manner.

[0046] In the description of the embodiments of this application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist simultaneously. Additionally, unless otherwise specified, the meaning of the term "plural" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals.

[0047] Furthermore, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. The terms "include", "comprise", "have", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.

[0048] A cloud data center is a cluster of devices that provides cloud services to users in a cloud service system. Cloud services may include cloud storage services and / or cloud computing services. A cloud data center may include at least one physical device, and the physical device may include servers, switches, racks, and / or auxiliary devices, etc. Among them, the auxiliary devices may include power supply devices and air conditioning devices, etc. It should be noted that the types and quantities of physical devices in each cloud data center can be set according to different requirements, and the embodiments of this application do not make specific limitations on this.

[0049] An available zone (AZ) is a physical area within the same region of a cloud service system that has high redundancy and independent power, network, and hardware facilities. Each available zone can consist of one or more data centers. The cloud data centers within an available zone communicate with each other through a low-latency network connection. For example, the network latency between servers within the same available zone is low, but the network latency between servers in different available zones may be high. Based on the independence of the available zones, fault isolation can be achieved between the available zones. If one available zone fails, other available zones will not be affected, which can enhance the stability and reliability of the cloud service.

[0050] Figure 1 A schematic diagram of the structure of a cloud service system provided by this application. As Figure 1 shown, the cloud service system can include infrastructure and a cloud management platform. The infrastructure is used to provide cloud services to users, and the cloud management platform is used to manage the infrastructure. The infrastructure can be set in at least one region, and each region can include one or more available zones AZ, and each available zone AZ can include one or more cloud data centers. For example Figure 1 shown, the cloud service system includes Region 1 and Region 2. Region 1 includes Availability Zone 11, and Region 2 includes Availability Zone 22.

[0051] In some application scenarios, in order to improve the user's cloud service experience, the available zones AZ in the cloud service system, or one or more cloud data centers in the available zones AZ, can be configured according to the user's cloud resource configuration requirements. Currently, the configuration of the available zones AZ or cloud data centers is usually carried out offline by the operation and maintenance personnel of the cloud service system. The following combines Figure 2 the schematic diagram shown to introduce the offline configuration process of the cloud service system.

[0052] Figure 2 is a schematic diagram of the device delivery process of a cloud service system provided by this application. As Figure 2 shown, the device delivery process includes two links: device selection and device deployment.

[0053] In the device selection link, the cloud management platform can receive the cloud resource configuration requirements input by the user, generate a low level design (LLD) file according to the user's cloud resource configuration requirements, and the cloud resource configuration requirements are used to indicate the specification parameters of the operating system in Region 2. Among them, the operating system can include the available zone AZ or the cloud data center of the available zone AZ. The operation and maintenance personnel of the cloud service system select physical devices according to the cloud resource configuration requirements in the LLD file. After these physical devices are transported to the installation site in Region 2, it enters the device deployment link.

[0054] In the device deployment phase, the operation and maintenance personnel can perform hardware debugging, software debugging, and configuration such as connecting to the cloud service system on the physical devices at the installation site. After these configurations are completed, the user can configure and debug their business applications on the running system. Among them, software debugging can include debugging software such as the operating system and / or service components of the physical device.

[0055] However, due to the insufficient technical capabilities of the user and the deviation in their understanding of the business, it may cause the running system to not support the operation of the user's business well. Therefore, in actual operation, the operation and maintenance personnel may need to repeatedly replace and configure the physical devices in the running system, which not only increases the operation cost and device delivery time, but also affects the timely online and stable operation of the user's business.

[0056] In some application scenarios, the installation site in the above-mentioned area 2 can be specified by the user. In this way, the user data in the availability zone AZ or the cloud data center can be locally resident, thereby improving data security, business access efficiency, and / or management efficiency.

[0057] For this reason, the embodiments of the present application provide a device configuration method for a cloud service system, which can solve the above problems.

[0058] In the device configuration method provided by the embodiments of the present application, a running system that meets the user's cloud resource configuration requirements is simulated on the cloud service system, the simulated running system is subjected to metric testing to obtain the test results of the running system, and in the case where the test results pass, an image file of the running system is generated through an image template. This method performs simulation and testing on the cloud service system according to the user's cloud resource configuration requirements, and generates an image file of the running system after the test passes, which can solve the problem of repeated replacement and reconfiguration. The solution provided by the embodiments of the present application will be specifically described below with reference to the accompanying drawings.

[0059] Figure 3 It is a schematic structural diagram of a cloud service system provided by the embodiments of the present application. As Figure 3 shown, the cloud service system includes a cloud management platform, area 1, and area 2.

[0060] The cloud management platform is used to simulate the running system in area 2 in area 1. Specifically, in the case where the user needs to configure the running system in area 2, the cloud management platform can simulate a running system that meets the user's cloud resource configuration requirements on at least one cloud data center in area 1. After the cloud management platform simulates, it performs metric testing on the simulated running system in area 1 to determine the test results of the running system, and in the case where the test results pass, it generates an image file of the running system, and the image file is used to configure the running system in area 2.

[0061] The operating system includes one or more hardware modules and software modules for each hardware module to operate. In the case where the operating system is the Availability Zone (AZ), the hardware modules may include, for example Figure 3 the servers, switches, racks, and auxiliary devices ( Figure 3 the auxiliary devices are not shown) and other physical devices as shown. The software modules may include: the operating system required for the hardware modules to operate, and / or software such as application services. Among them, the application services may include Relational Database Service (RDS), Elastic Compute Service (ECS), Distributed Data Warehouse Service (DWS), Elastic Volume Service (EVS), Virtual Private Cloud (VPC), etc.

[0062] In the case where the operating system is the Availability Zone (AZ), for the convenience of description, the simulated operating system in Region 1 may be referred to as the Virtual Availability Zone (VZ). The VZ includes one or more simulated hardware modules and software modules for the hardware modules to operate. The simulated hardware modules include, for example Figure 3 the virtual servers (VServer), virtual switches (VSW), virtual racks (VRack), and simulated auxiliary devices ( Figure 3 the simulated auxiliary devices are not shown) as shown. In other words, the components in the simulated operating system correspond one-to-one with the components in the Availability Zone (AZ).

[0063] Taking the operating system as the Availability Zone (AZ) as an example, the specific functions of the cloud management platform will be introduced below.

[0064] As Figure 3 shown, the cloud management platform may include a VZ management module, a VZ operation and maintenance module, a mapping management module, a VZ image module, a gray-scale verification module, and a docking management module.

[0065] The functions of the VZ management module may include, for example Figure 4Generating a VZ template, managing the VZ template, and generating and managing a VZ according to the VZ template are as follows. Specifically, the VZ management module can select a VZ template that matches the specification parameters of the VZ indicated by the cloud resource configuration requirements in the LLD file from the pre-stored set of VZ templates. In the case where no matching VZ template is found, a VZ template can be generated based on the specification parameters of the VZ. Among them, the VZ management module can also add the newly generated VZ template to the VZ template set for future use. The VZ management module can store the mapping relationship between the specification parameters of the VZ and the VZ template, and manage the VZ template according to this mapping relationship. Similarly, the VZ management module can manage the VZ according to the mapping relationship between the file identifier of the LLD file and the VZ. In this way, the VZ management module and / or the user can query, delete, or update the VZ template according to the specification parameters of the VZ, and query, delete, or update the VZ according to the file identifier of the LLD file.

[0066] The VZ operation and maintenance module is used to count the operation information of the VZ. The operation information may include, for example, Figure 4 the consumed resource information (including computing resource information, storage resource information, and / or network resource information, etc.), usage duration, call times, etc. as shown. When the VZ runs on the cloud data center, it consumes the resources of the cloud data center. Therefore, the VZ operation and management module can count the resource information consumed during the operation of the VZ. The VZ operation and management module can also count the usage duration and call times of the VZ. Among them, the usage duration and / or call times of the VZ can be used as the management basis for the VZ management module. For example, when the usage duration and / or call times of the VZ meet the preset conditions, the VZ can be deleted to release the resources occupied by the cloud data center.

[0067] The gray-scale verification module is used to perform gray-scale verification on the VZ to obtain a test result. Among them, before performing the metric test, as Figure 4 shown, the gray-scale verification module can select the verification components (including the operating system or hardware modules and / or software modules in the operating system) according to the user's verification instruction, and select the simulated tenants and their business use cases corresponding to the verification components. After performing the metric test, as Figure 4 shown, the gray-scale verification module can also send the test result to the user's terminal device and display the test result through the display module of the terminal device.

[0068] The functions of the VZ image module include Figure 4The mirror file management, mirror template management, and mirror system management as shown. The VZ mirror module can manage different mirror systems and store the mapping relationship between different mirror systems and their corresponding mirror templates, and manage the mirror templates according to this mapping relationship. When generating a mirror file is required, select a mirror template according to the current mirror system, and then, according to the configuration information of each hardware module in VZ, the mirror system generates the mirror file of AZ according to this mirror template. The mirror file of AZ includes the mirror files of each hardware module in AZ and is used to configure each hardware module in AZ. The VZ mirror module can also store the mapping relationship between the identifiers of each simulated hardware module and each mirror file.

[0069] The mapping management module is used to store the mapping relationship between the identifier of the simulated hardware module in VZ and the identifier of the hardware module. Among them, the identifier of the hardware module can include device identity (ID) and / or Media access control address (MAC), etc.

[0070] The docking management module, including a client and a server, is used to synchronize the mirror files of each hardware module in the running system. The client of the docking management module is deployed in the hardware module in AZ, and the server of the docking management module is deployed in the cloud management platform. The server of the docking management module can determine the mirror file of the hardware module according to the mapping relationship between the identifier of the hardware module recorded by the mapping management module and the identifier of the simulated hardware module, as well as the mapping relationship between the identifier of the simulated hardware module and the mirror file recorded by the VZ mirror module, and send the mirror file of the hardware module to the client.

[0071] The following combines Figure 3 and Figure 4 to introduce the device configuration method provided by the embodiments of the present application.

[0072] Figure 5 is a flowchart of a device configuration method provided by the embodiments of the present application. This method can be applied to the above-mentioned Figure 3 shown cloud management platform. As Figure 5 shown, this method can include the following S501 - S504.

[0073] S501, the cloud management platform provides a configuration interface to receive the user's cloud service requirements and determine the user's cloud resource configuration requirements according to the cloud service requirements.

[0074] Specifically, when the user needs to configure Figure 3When the available zone AZ in the area 2 shown is available, the configuration interface provided by the cloud management platform can be run on the terminal device, and the cloud service requirements of the user can be input in the configuration interface to send the cloud service requirements to the cloud management platform. After the cloud management platform receives the cloud service requirements, as Figure 6 shown, the design module in the cloud management platform can generate an LLD file according to the cloud service requirements, and the LLD file includes the above-mentioned cloud resource configuration requirements. In addition, in other embodiments, the LLD file can also be generated by the operation and maintenance personnel of the cloud service system according to the cloud service requirements of the user.

[0075] Among them, the cloud resource configuration requirements are used to indicate the specification parameters of the available zone AZ. The specification parameters of the available zone AZ can include the specification information of one or more hardware modules in the available zone AZ and the version information of the software templates they run, etc. The hardware modules can include servers, switches, racks, and auxiliary devices, etc. The specification information of the hardware modules can include resource information, egress bandwidth, network latency, instance configuration, dependency information, etc. The instance configuration includes the number of virtual instances and the configuration parameters of the virtual instances. The dependency information can include the identification information of the dependent modules of the hardware module, where the dependent module refers to the external service required when the hardware module runs. Taking the server as an example, the dependent module can include the storage service.

[0076] S502, the cloud management platform simulates a running system that meets the user's cloud resource configuration requirements.

[0077] Taking the running system as Figure 3 the AZ in the area 2 shown as an example, the VZ management module in the cloud management platform can determine the user's cloud resource configuration requirements from the above LLD file, as Figure 6 shown, simulate and generate a VZ in area 1, that is, a simulated running system.

[0078] First, the VZ management module can match a VZ template in the VZ template set that meets the specification parameters of the AZ indicated by the cloud resource configuration requirements. Among them, the VZ template includes simulated hardware modules and their corresponding software modules, as well as the dependency information corresponding to one or more simulated hardware modules. If the matching fails, the VZ management module can generate a VZ template according to the specification parameters of the AZ. Taking the above-mentioned specification parameters of the AZ as an example, the VZ management module can use a hardware simulator to generate simulated hardware modules based on the resource information, egress bandwidth, network latency, and instance configuration of the hardware module, determine the software modules corresponding to the simulated hardware modules based on the version information of the software modules running on the hardware module, and determine the dependency information of each simulated hardware module based on the dependency information of the hardware module, so as to generate a VZ template.

[0079] Then, after obtaining the VZ template, the VZ management module can deploy the simulated hardware modules and software modules in the VZ template to Region 1, establish virtual links for each simulated hardware module, and configure dependent modules for the simulated hardware modules according to the dependency information of the simulated hardware modules in the VZ module, thereby obtaining the VZ.

[0080] The VZ management module can also configure a simulated gateway (virtual gateway, VGW) for the VZ in Region 1, and perform hardware debugging and software debugging on the VZ. Among them, the simulated gateway VGW is used to send the operation and maintenance information generated by the VZ to the VZ operation and maintenance module in the cloud management platform. By setting the VGW, the VZ can be isolated from the management system of Region 1, so as to achieve separate management of the VZ and prevent the operation and maintenance information of the VZ from being sent to the management system of Region 1. Among them, the operation and maintenance information of the VZ can include alarm information, monitoring information, status information, and / or metric information generated during the metric test, etc.

[0081] S503, the cloud management platform performs a metric test on the simulated operating system to obtain the test result of the operating system.

[0082] The gray verification module in the cloud management platform can perform a metric test on one or more simulated hardware modules in the simulated operating system according to the test requirements input by the user to obtain the test result of the operating system.

[0083] Specifically, the test requirements may include one or more of the identifier of the hardware module, the tenant identifier corresponding to the hardware module, and the service identifier. Taking the test requirements including the identifier of the hardware module, the tenant identifier corresponding to the hardware module, and the service identifier as an example, the gray verification module can select the simulated hardware module in the simulated operating system according to the identifier of the hardware module. According to the tenant identifier corresponding to the hardware module, select the simulated tenant corresponding to the hardware module in the simulated tenant set, and select the service use case in the service use case set according to the service identifier, and then execute the selected service use case through the selected simulated tenant. In the case where the software module corresponding to the simulated hardware module responds to the service use case, the test value of the test metric of the operating system is statistically calculated. Among them, the permissions and resources of different tenants of different hardware modules, or different tenants of the same hardware module are different. By selecting tenants, fine-grained testing of hardware modules can be performed, improving the test accuracy.

[0084] If the test requirements indicate a full test of the simulated operating system, the gray verification module performs a metric test on each simulated module therein. If the test requirements include the identifier of the hardware module, after the gray verification module selects the simulated hardware module, it can execute its service use case through all the simulated tenants of the hardware module.

[0085] In addition, in cases where the user does not specify test requirements, the gray-box verification module can compare the simulated operating system with the operating system configured by the user, determine the hardware modules that have changed in the simulated operating system, and then perform metric tests on these hardware modules.

[0086] The gray-box verification module compares the test value of the test metric of the operating system with the threshold of the test metric, and determines the test result according to the test condition of the test metric. If the test value of the test metric meets the test condition of the test metric compared with the threshold of the test metric, the test result indicates pass; otherwise, it indicates fail. Among them, the test metrics can include computing metrics, storage metrics, network metrics, and / or business metrics of the hardware module, and the business metrics can include, for example, access success rate and call latency, etc.

[0087] In one implementation, as Figure 6 shown, the gray-box verification module can send the cloud resource configuration requirements and the test results of the operating system to the user's terminal device. The gray-box verification module sending the test results to the user enables the user to determine whether the cloud resource configuration requirements support the stable operation of the corresponding service according to the test results. The user can generate the first information according to the specification parameters of the operating system indicated by the cloud resource configuration requirements, and this first information is used to indicate whether the user accepts the specification parameters of the operating system. Among them, as Figure 7 shown, the user can compare the specification parameters of the operating system indicated by the received cloud resource configuration requirements with the specification parameters designed by the user himself / herself. If they are the same, the user accepts them; otherwise, the user may not accept them. The gray-box verification module receives the first information fed back by the user, and determines whether to execute S504 according to this first information. In the case where the first information indicates acceptance of the specification parameters of the operating system, the cloud management platform can execute S504; otherwise, the simulation and testing are terminated.

[0088] In addition, the first information may include the specification parameters of the operating system modified by the user. In the case where the first information indicates non-acceptance of the specification parameters of the operating system, the cloud management platform can execute S502 and S503 according to the specification parameters of the operating system modified by the user. As Figure 7 shown, in the case of non-acceptance, the user can modify the specification parameters of the operating system, and then carry the specification parameters of the operating system modified by the user in the first information, so that the cloud management system can re-simulate and test according to the specification parameters of the operating system modified by the user. Modifying the specification parameters of the operating system may include modifying the resource information of the hardware module, egress bandwidth, network latency, instance configuration, dependency information, and / or the version information of the software module it runs, etc., as Figure 7 shown.

[0089] In one implementation, if the test result indicates failure, the docking management module in the cloud management platform can modify the specification parameters of the operating system and repeat the execution of S502 and S503 to re-simulate the operating system and perform metric tests on the re-simulated operating system until the verification is passed. Among them, the docking management module can send the modified specification parameters of the operating system to the user's terminal device and determine whether to execute S502 and S503 based on the second information feedback by the user. Among them, the second information is used to indicate whether the user accepts the modified specification parameters of the operating system. In the case where the second information indicates acceptance of the modified specification parameters of the operating system, the cloud management platform can execute S502 and S503. In the case where the second information indicates non-acceptance of the modified specification parameters of the operating system, the second information may further include the specification parameters of the operating system modified by the user, and the cloud management platform can execute S502 and S503 based on the specification parameters of the operating system modified by the user.

[0090] S504. In the case where the test result indicates passing, the cloud management platform generates an image file of the operating system through the image template.

[0091] In the case where the test result indicates failure, the VZ image module in the cloud management platform generates image files of each hardware module according to the parameters, data, and software modules of each simulated hardware module in the simulated operating system according to the image template.

[0092] In addition, the cloud management platform can also determine whether to generate an image file according to the information feedback by the user. As Figure 7 shown, in the case where the user's first information indicates acceptance of the specification parameters, the cloud management platform can generate an image file of the operating system through the image template, so that the operating system simulated in the cloud can be cloned to the actual hardware module 1:1 according to the image file for configuration.

[0093] The above Figure 5 In the embodiments shown, by simulating the operating system in the cloud and performing metric tests, it can be verified whether the user's cloud resource configuration requirements can support the operation of their business, which can avoid the problem of rework such as repeated configuration and reconfiguration caused by the user's requirements being unable to support business operation, shorten the device configuration and delivery time, and improve the configuration efficiency, delivery efficiency, and user experience.

[0094] Based on Figure 5 the method embodiments shown, the embodiments of the present application also provide another device configuration method.

[0095] Figure 8 is a flowchart of a device configuration method provided by the embodiment. This method can be applied to Figure 3 the hardware modules in the available zone AZ in the area 2 shown. AsFigure 8 As shown, the method may include S801 and S802.

[0096] S801, the first hardware module receives its mirror file from the cloud management platform.

[0097] After the mirror file is generated, the hardware module in the AZ receives its mirror file from the cloud management platform and configures according to the mirror file. Taking the first hardware module as an example, a client of the management module can be deployed in the first hardware module, and a server for docking with the management module is deployed in the cloud management platform. After the mirror file is generated, the client deployed in the first hardware module sends a mirror request to the server of the docking management module to obtain the mirror file of the first hardware module.

[0098] After the server of the docking management module receives the mirror request of the first hardware module, it can determine the identifier of the simulated first hardware module corresponding to the first hardware module according to the identifier of the first hardware module in the mirror request and the mapping relationship between the identifier of the hardware module recorded by the mapping management module and the identifier of the simulated hardware module, and determine the mirror file of the first hardware module according to the mapping relationship between the identifier of the simulated hardware module recorded by the mapping management module and the mirror file, as Figure 6 shown, and send its corresponding mirror file to the first hardware module.

[0099] S802, after the first hardware module receives its mirror file, it configures according to the mirror file to complete software cloning and parameter cloning. In this way, the hardware module can generate the same configuration environment as the simulated hardware module in the VZ through cloning. Software cloning may include system deployment (preboot execution environment, PXE), and parameter cloning may include the configuration of computing parameters, storage parameters, and network parameters. The configuration of network parameters includes network configuration (dynamic host configuration protocol, DHCP), time configuration (network time protocol, NTP), other network configurations (simple network management protocol, SNMP), etc. Among them, the system deployment PXE may include the configuration of software modules such as the operating system, service components, and firmware version.

[0100] Based on Figure 5 the method embodiment shown, the embodiment of the present application further provides a device configuration device.

[0101] Figure 9 is a schematic structural diagram of a device configuration device 900 provided by the embodiment of the present application. As Figure 9As shown, the device configuration apparatus 900 includes a determination module 901, an emulation module 902, and a configuration module 903.

[0102] Among them, the determination module 901 is used to provide a configuration interface for receiving the cloud service requirements input by the user, and the cloud service requirements are used to determine the user's cloud resource configuration requirements.

[0103] Among them, the emulation module 902 is used to emulate an operating system that meets the user's cloud resource configuration requirements, and the operating system includes at least one hardware module and software modules running on each hardware module.

[0104] Among them, the configuration module 903 is used to perform metric tests on the emulated operating system, determine the test results of the operating system, and generate an image file of the operating system through an image template when the test results pass.

[0105] Based on Figure 8 the method embodiments shown, the embodiments of the present application further provide a device configuration apparatus.

[0106] Figure 10 is a schematic structural diagram of a device configuration apparatus 190 provided by the embodiments of the present application. As Figure 9 shown, the device configuration apparatus 190 includes a determination module 1001 and a configuration module 1002.

[0107] Among them, the determination module 1001 is used to receive the image file of the first hardware module. The cloud management platform is used to emulate an operating system that meets the user's cloud resource configuration requirements, perform metric tests on the emulated operating system, determine the test results, and generate an image file of the operating system through an image template when the test results pass. Among them, the operating system includes at least one hardware module and software modules running on each hardware module. The at least one hardware module includes the first hardware module, and the image file of the operating system includes the image files of each hardware module.

[0108] Among them, the configuration module 1002 is used to perform configuration according to the image file.

[0109] It should be noted that Figure 9 and Figure 10 when the device configuration apparatus provided by the embodiments shown performs the device configuration method, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device configuration apparatus provided by the above embodiments and Figure 5 and Figure 8The method embodiments belong to the same inventive concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.

[0110] Figure 11 FIG. 4 is a schematic hardware structure diagram of a computing device 1100 provided by an embodiment of the present application.

[0111] The computing device 1100 may include Figure 3 the physical devices in the available zones of the cloud management platform, Region 1, or Region 2 shown. Refer to Figure 11 FIG. 4, the computing device 1100 includes a processor 1101, a memory 1102, a communication interface 1103, and a bus 1104. The processor 1101, the memory 1102, and the communication interface 1103 are connected to each other through the bus 1104. The processor 1101, the memory 1102, and the communication interface 1103 may also be connected in other connection manners other than the bus 1104.

[0112] The processor 1101 may be a general-purpose processor. The general-purpose processor may be a processor that executes specific steps and / or operations by reading and executing the content stored in a memory (such as the memory 1102). For example, the general-purpose processor may be a central processing unit (CPU). The processor 1101 may include at least one circuit to execute Figure 5 or Figure 8 all or part of the steps of the device configuration method provided by the embodiment shown in FIG. 5. Among them, the processor 1101 may include one or more cores.

[0113] The memory 1102 may be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, optical memory, hard disk, etc. As Figure 11 shown in FIG. 6, when the computing device is an endorsing node, an ordering node, or a committing node, the memory 1102 may specifically be used to store the program corresponding to the above device configuration device 900 to implement the above Figure 5 shown device configuration method, or store the program corresponding to the device configuration device 190 to implement the above Figure 8 shown device configuration method.

[0114] The communication interface 1103 includes interfaces such as input / output (I / O) interfaces, physical interfaces, and logical interfaces for implementing the interconnection of components within the computing device 1100, as well as interfaces for implementing the interconnection between the computing device 1100 and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.

[0115] The bus 1104 can be of any type and is a communication bus for implementing the interconnection of the processor 1101, the memory 1102, and the communication interface 1103, such as a system bus.

[0116] The above components can be respectively disposed on independent chips, or at least partially or entirely disposed on the same chip. Whether to independently dispose each component on different chips or to integrate and dispose them on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the specific implementation forms of the above components.

[0117] Figure 11 The illustrated computing device 1100 is merely exemplary. During implementation, the computing device 1100 may further include other components, which are not listed one by one herein.

[0118] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, fiber optic, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0119] It should be understood that the various numerical numbers involved in the embodiments of the present application are only for convenience of description and are not used to limit the scope of the embodiments of the present application. It should be understood that in the embodiments of the present application, the magnitude of the serial numbers of the above processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0120] The specific embodiments described above further elaborate on the purpose, technical solution, and beneficial effects of the present application. It should be understood that the above is only the specific embodiment of the present invention and is not used to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solution of the present application should be included in the protection scope of the present application.

Claims

1. A device configuration method for a cloud service system, characterized in that The method is applied to the cloud management platform of the cloud service system. The cloud management platform is used to manage the infrastructure that provides cloud services. The infrastructure includes multiple regions, and each region includes at least one cloud data center. The cloud service runs on at least one server in at least one cloud data center in one of the multiple regions. The method includes: Providing a configuration interface for receiving the cloud service requirements input by the user, where the cloud service requirements are used to determine the user's cloud resource configuration requirements; Simulating a running system that meets the user's cloud resource configuration requirements, where the running system includes at least one hardware module and software modules running on each hardware module; Performing metric tests on the simulated running system to determine the test results of the running system; When the test results pass, generating an image file of the running system through an image template.

2. The method according to claim 1, wherein The performing metric tests on the simulated running system to determine the test results of the running system includes: Executing the business use cases corresponding to the simulated tenant through the simulated first hardware module in the simulated running system, where the at least one hardware module includes the first hardware module; When the software module running on the simulated first hardware module responds to the business use cases, determining the test values of the test metrics of the running system; Determining the test results according to the test values of the test metrics and the thresholds of the test metrics.

3. The method according to claim 1 or 2, characterized in that, The user's cloud resource configuration requirements indicate the specification parameters of the running system. The specification parameters include the specification information of each hardware module and the version information of the software modules running on each hardware module. The simulating a running system that meets the user's cloud resource configuration requirements includes: Generating simulated hardware modules according to the specification information of each hardware module; Configuring the software modules running on each hardware module in the simulated hardware modules according to the version information of the software modules running on each hardware module.

4. The method according to claim 1 or 2, characterized in that, The user's cloud resource configuration requirements indicate the specification parameters of the running system. The simulating a running system that meets the user's cloud resource configuration requirements includes: Selecting a target simulation template from multiple simulation templates according to the specification parameters of the running system; Generating a simulated running system according to the target simulation template.

5. The method according to any one of claims 1-4, characterized in that, Before generating the image file of the running system through the image template, the method further includes: Sending the specification parameters of the running system indicated by the cloud resource configuration requirements and the test results to the user's terminal device; Determining to generate the image file of the running system through the image template according to the first information feedback by the user.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: Modifying the specification parameters of the running system indicated by the cloud resource configuration requirements and sending the modified specification parameters of the running system to the user's terminal device; Determining to re-simulate the running system according to the second information feedback by the user.

7. The method according to any one of claims 1-6, characterized in that, The image file of the operating system includes the image files of the respective hardware modules. Generating the image file of the operating system through the image template includes: Generating the image files of the respective hardware modules according to the data of the simulated respective hardware modules in accordance with the image template; Sending the image files of the respective hardware modules to the respective hardware modules.

8. A device configuration method for a cloud service system, characterized in that, Applied to the first hardware module of the cloud service system, the cloud management platform of the cloud service system is used to manage the infrastructure providing cloud services. The infrastructure includes being set in multiple regions, each region includes at least one cloud data center, and the cloud service runs on at least one server in at least one cloud data center in one of the multiple regions. The method includes: Receiving the image file of the first hardware module. The cloud management platform is used to simulate an operating system that meets the cloud resource configuration requirements of the user, perform metric testing on the simulated operating system, determine the test result, and in the case where the test result passes, generate the image file of the operating system through the image template. Wherein, the operating system includes at least one hardware module and the software modules that each hardware module runs, the at least one hardware module includes the first hardware module, and the image file of the operating system includes the image files of the respective hardware modules; Performing configuration according to the image file of the first hardware module.

9. An apparatus for device configuration of a cloud service system, characterized in that, The device is applied to the cloud management platform of the cloud service system. The cloud management platform is used to manage the infrastructure providing cloud services. The infrastructure includes being set in multiple regions, each region includes at least one cloud data center, and the cloud service runs on at least one server in at least one cloud data center in one of the multiple regions. The device includes: A determination module, configured to provide a configuration interface for receiving the cloud service requirements input by the user, and the cloud service requirements are used to determine the cloud resource configuration requirements of the user; A simulation module, configured to simulate an operating system that meets the cloud resource configuration requirements of the user, and the operating system includes at least one hardware module and the software modules that each hardware module runs; A configuration module, configured to perform metric testing on the simulated operating system, determine the test result of the operating system, and in the case where the test result passes, generate the image file of the operating system through the image template.

10. The device according to claim 9, characterized in that, The configuration module is specifically configured to: Execute the business use cases corresponding to the simulated tenant through the simulated first hardware module corresponding to the simulated tenant in the simulated operating system, and the at least one hardware module includes the first hardware module; In the case where the software module running on the simulated first hardware module responds to the business use cases, determining the test value of the test metrics of the operating system; Determining the test result according to the test value of the test metrics and the threshold of the test metrics.

11. The device according to claim 9 or 10, characterized in that, The cloud resource configuration requirements of the user indicate the specification parameters of the operating system. The specification parameters include the specification information of the respective hardware modules and the version information of the software modules that each hardware module runs. The simulation module is specifically configured to: Generate simulated hardware modules according to the specification information of the respective hardware modules; Configure the software modules run by the respective hardware modules in the simulated hardware modules according to the version information of the software modules run by the respective hardware modules.

12. The device according to claim 9 or 10, characterized in that, The cloud resource configuration requirements of the user indicate the specification parameters of the operating system, and the simulation module is specifically configured to: Select a target simulation template from multiple simulation templates according to the specification parameters of the operating system; Generate a simulated operating system according to the target simulation template.

13. The device according to any one of claims 9-12, characterized in that, Before generating the image file of the operating system through the image template, the configuration module is further configured to: Send the specification parameters of the operating system indicated by the cloud resource configuration requirements and the test results to the user's terminal device; Determine to generate the image file of the operating system through the image template according to the first information fed back by the user.

14. The device according to any one of claims 9 - 13, characterized in that, The configuration module is further configured to: Modify the specification parameters of the operating system indicated by the cloud resource configuration requirements, and send the modified specification parameters of the operating system to the user's terminal device; Determine to re-simulate the operating system according to the second information fed back by the user.

15. The device according to any one of claims 9-14, characterized in that, The configuration module is specifically configured to: Generate the image files of the respective hardware modules according to the data of the simulated hardware modules according to the image template; Send the image files of the respective hardware modules to the respective hardware modules.

16. An apparatus for configuring devices in a cloud service system, characterized in that, Applied to the first hardware module of the cloud service system, the cloud management platform of the cloud service system is used to manage the infrastructure for providing cloud services, the infrastructure includes settings in multiple regions, each region includes at least one cloud data center, and the cloud service runs on at least one server in at least one cloud data center in one of the multiple regions. The device includes: A determination module, configured to receive the image file of the first hardware module. The cloud management platform is used to simulate an operating system that meets the cloud resource configuration requirements of the user, perform index testing on the simulated operating system, determine the test results, and in the case where the test results pass, generate the image file of the operating system through the image template. Wherein, the operating system includes at least one hardware module and the software modules run by the respective hardware modules, the at least one hardware module includes the first hardware module, and the image file of the operating system includes the image files of the respective hardware modules; A configuration module, configured to perform configuration according to the image file of the first hardware module.

17. A computing device, characterized in that, Including: A processor and a memory, the processor is configured to execute a computer program stored in the memory to implement the method according to any one of claims 1 to 7, or implement the method according to claim 8.

18. A computer-readable storage medium, characterized in that, Including instructions, when the instructions run on a computer, causing the computer to execute the method according to any one of claims 1 to 7, or implement the method according to claim 8.

19. A computer program product containing instructions, characterized in that, When the instructions run on a computer, causing the computer to execute the method according to any one of claims 1 to 7, or implement the method according to claim 8.