Abstract instruction conversion method and system for heterogeneous cloud network devices
Through business adaptation, instruction set adaptation and cloud system resource pool adaptation, the problem of low efficiency of issuing abstract instructions in heterogeneous cloud network equipment is solved, efficient instruction conversion is achieved, and time and human resources investment is reduced.
Patent Information
- Application Number
- CN202111396435.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2041-11-23
AI Technical Summary
In heterogeneous cloud network equipment, it is difficult for the prior art to efficiently handle the issuance of abstract instructions, resulting in a large amount of manpower, material resources and time costs.
Through the methods of business adaptation, instruction set adaptation, cloud system resource pool adaptation and generation of instruction sets, abstract instruction conversion of heterogeneous cloud network devices is realized, including business adaptation layer, instruction set adaptation layer, cloud system resource pool adaptation layer and instruction set generation layer, automatically processing abstract instructions of different cloud types, and blocking the differences in the underlying cloud platform resource pool.
It reduces time and human resources investment, improves the efficiency of issuing abstract instructions for heterogeneous cloud network equipment, and reduces the cost of modifying business logic to adapt to heterogeneous cloud platform resource pools.
Smart Images

Figure CN114115998B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud systems, and in particular to an abstract instruction conversion method and system for heterogeneous cloud network devices. Background Art
[0002] With the recent growth of cloud computing, many enterprises have established their own public or private clouds, migrating their businesses to the cloud for management. The strong demand for cloud computing has fueled the emergence and development of cloud management platforms. Among the many open-source cloud management platforms, OpenStack, CloudStack, and AWS have become the preferred choice for most enterprises due to their rich functionality and excellent performance.
[0003] Due to the large number and variety of services, a single cloud system cannot meet all business needs. This may necessitate the use of multiple cloud systems, which raises the issue of abstract instruction issuance for cloud network devices. Building a separate instruction issuance system for each heterogeneous cloud network device would inevitably require significant human, material, and time resources. Therefore, a method and system for abstract instruction conversion for heterogeneous cloud network devices is proposed. Summary of the Invention
[0004] The technical problem to be solved by the present invention is: how to solve the problem of issuing abstract instructions for heterogeneous cloud network devices, and provides an abstract instruction conversion method for heterogeneous cloud network devices.
[0005] The present invention solves the above technical problems through the following technical solutions, which include the following steps:
[0006] S1: Service Adaptation
[0007] Distinguish heterogeneous cloud network device cloud system information and business types from abstract instruction information;
[0008] S2: Instruction set adaptation
[0009] Adapt the corresponding instruction set according to cloud system information and business type;
[0010] S3: Cloud system resource pool adaptation
[0011] Adapting the cloud system resource pool through abstract instruction information;
[0012] S4: Generate and issue instruction set
[0013] Generate a sending instruction set for heterogeneous cloud network devices based on the instruction set adapted in step S2 and the cloud system resource pool adapted in step S3.
[0014] Furthermore, in step S1 and step S3, the abstract instruction information includes heterogeneous cloud network device cloud system type, abstract instruction business type, business parameter information, and cloud system resource pool information.
[0015] Furthermore, in the step S1, the cloud system type and the service type are obtained by adapting the service through the heterogeneous cloud network device cloud system type and the abstract instruction service type in the abstract instruction information.
[0016] Furthermore, in step S2, the instruction set information includes cloud system information, business type, instruction list information, and instruction orchestration information; the instruction information includes instruction name, instruction description information, instruction URI, instruction request method, instruction request message model, instruction request method type, and instruction return message model.
[0017] Furthermore, in step S2, the cloud system type and service type obtained in step S1 are adapted to obtain the instruction set information of the cloud system service.
[0018] Furthermore, in this embodiment, in step S3, the distributed heterogeneous cloud system resource pool information is adapted through the cloud system resource pool information in the abstract instruction information.
[0019] Furthermore, in the step S4, the issued instruction set information includes the heterogeneous cloud network device cloud system type, the issued instruction set business type, the issued instruction list information, and the issued instruction orchestration information; the issued instruction information includes the issued instruction name, the issued instruction description information, the issued cloud system resource pool address information, the issued user name, the issued user password, the issued heterogeneous cloud network device information, the issued instruction URI, the issued instruction request method, the issued instruction request message model, the issued instruction request method type, and the issued instruction return message model.
[0020] The present invention also provides an abstract instruction conversion system for heterogeneous cloud network devices, which uses the above-mentioned abstract instruction conversion method to convert the abstract instructions of heterogeneous cloud network devices into a specific instruction set for issuance, including:
[0021] Service adaptation layer: used to distinguish heterogeneous cloud network device cloud system information and service types from abstract instruction information;
[0022] Instruction set adaptation layer: used to adapt the corresponding instruction set according to cloud system information and business type;
[0023] Cloud system resource pool adaptation layer; used to adapt the cloud system resource pool through abstract instruction information;
[0024] The issuing instruction set generation layer is used to generate the issuing instruction set based on the adapted instruction set and the adapted cloud system resource pool.
[0025] Compared with the existing technology, the present invention has the following advantages: when heterogeneous cloud network devices issue abstract instructions, the abstract instructions of different cloud types are automatically processed by the abstract instruction conversion system, shielding the differences in the underlying cloud platform resource pool, reducing the time and effort spent on adapting the heterogeneous cloud platform resource pool by modifying the business logic, greatly reducing time and human resources, and worthy of promotion and use. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a flow chart of an abstract instruction conversion method for heterogeneous cloud network devices according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process. However, the protection scope of the present invention is not limited to the following embodiment.
[0028] Example 1
[0029] like Figure 1 As shown, this embodiment provides a technical solution: an abstract instruction conversion method for heterogeneous cloud network devices, comprising the following steps:
[0030] S1: Service Adaptation
[0031] Distinguish heterogeneous cloud network device cloud system information and business types from abstract instruction information;
[0032] S2: Instruction set adaptation
[0033] Adapt the corresponding instruction set according to cloud system information and business type;
[0034] S3: Cloud system resource pool adaptation
[0035] Adapting the cloud system resource pool through abstract instruction information;
[0036] S4: Generate and issue instruction set
[0037] Generate a sending instruction set for heterogeneous cloud network devices based on the instruction set adapted in step S2 and the cloud system resource pool adapted in step S3.
[0038] In this embodiment, in step S1, the abstract instruction information includes the heterogeneous cloud network device cloud system type (cloud network device type, such as Huawei Cloud), the abstract instruction service type (service scenario, such as virtual machine activation), service parameter information (some service requirement parameter information, including virtual machine configuration, network address, etc.), and cloud system resource pool information (cloud resource pool information, such as XXXX data center information). The heterogeneous cloud network device cloud system type and the abstract instruction service type in the abstract instruction information issued by the service requirement personnel are adapted to the services in the conversion system to obtain the cloud system type and service type.
[0039] In this embodiment, in step S2, the instruction set information includes cloud system information (cloud network device type, such as Huawei Cloud), service type (service scenario, such as virtual machine activation), instruction list information (all instructions included in the service scenario), and instruction orchestration information (instruction execution order); the instruction information includes the instruction name, instruction description information, instruction URI, instruction request method, instruction request message model, instruction request method type, and instruction return message model. The cloud system type and service type values obtained in step S1 are compared with the cloud system information and service type in the existing instruction set, thereby adapting and obtaining the instruction set information for the heterogeneous cloud network device cloud system service.
[0040] In this embodiment, in step S3, the abstract instruction information includes the heterogeneous cloud network device cloud system type (cloud network device type, such as Huawei Cloud), the abstract instruction service type (service scenario, such as virtual machine activation), service parameter information (some service requirement parameter information, including virtual machine configuration, network address, etc.), and cloud system resource pool information (cloud resource pool information, such as data center information). The heterogeneous cloud network device cloud system type and cloud system resource pool information obtained from the abstract instruction information are used as conditions to query the existing heterogeneous cloud resource pool database, thereby adapting the issued heterogeneous cloud system resource pool information, including information such as the cloud resource pool access address, authentication user name, and user password.
[0041] In this embodiment, in step S4, the instruction set information includes the cloud system type of the heterogeneous cloud network device (cloud network device type, for example: Huawei Cloud), the service type of the instruction set (service scenario, for example: virtual machine activation), the instruction list information (all instructions included in the service scenario, for example: virtual machine activation includes virtual machine creation, disk creation, disk mounting, IP address setting, etc.), and the instruction arrangement information (instruction execution order); the instruction information includes the instruction name, instruction description information, cloud system resource pool address information, user name, user password, heterogeneous cloud network device information, instruction URI, instruction request method, instruction request message model, instruction request method type, and instruction return message model. The instruction set is generated in combination with steps S2 and S3. At this point, the conversion of the abstract instructions of the heterogeneous cloud network device into a specific instruction set is completed.
[0042] This embodiment further provides an abstract instruction conversion system for heterogeneous cloud network devices, which uses the above-mentioned abstract instruction conversion method to convert the abstract instructions of heterogeneous cloud network devices into a specific instruction set for issuance, including:
[0043] Service adaptation layer: used to distinguish heterogeneous cloud network device cloud system information and service types from abstract instruction information;
[0044] Instruction set adaptation layer: used to adapt the corresponding instruction set according to cloud system information and business type;
[0045] Cloud system resource pool adaptation layer; used to adapt the cloud system resource pool through abstract instruction information;
[0046] The issuing instruction set generation layer is used to generate the issuing instruction set based on the adapted instruction set and the adapted cloud system resource pool.
[0047] Through the present invention, enterprises can conveniently handle the abstract instruction conversion problem of heterogeneous cloud network devices, greatly reducing time and human resources.
[0048] Example 2
[0049] In this embodiment, the abstract instruction conversion method of the first embodiment is further described. The instruction requirement for provisioning a virtual machine in a certain Huawei cloud pool of an enterprise is completed, including the following steps:
[0050] S1: Service Adaptation
[0051] From the abstract instruction information, we can conclude that the cloud system information of the heterogeneous cloud network device is Huawei Cloud and the service type is virtual machine provisioning;
[0052] S2: Instruction set adaptation
[0053] Based on the cloud system information of Huawei Cloud and the service type of virtual machine provisioning, the instruction set for Huawei Cloud virtual machine provisioning is adapted;
[0054] S3: Cloud system resource pool adaptation
[0055] Adapt the enterprise's Huawei cloud pool in the abstract instruction information to the cloud system resource pool;
[0056] S4: Generate and issue instruction set
[0057] The instruction set for activating a virtual machine in the enterprise's Huawei cloud pool is generated based on the instruction set adapted in step S2 and the cloud system resource pool adapted in step S3.
[0058] In this embodiment, in step S1, the abstract instruction information includes the heterogeneous cloud network device cloud system type (Huawei Cloud), the abstract instruction service type (virtual machine provisioning), service parameter information (including virtual machine CPU and memory configuration, mounted disk information, network card information and IP address, etc.), and cloud system resource pool information (the enterprise's Huawei Cloud pool). The abstract instruction information issued by the service demand personnel derives that the cloud system type is Huawei Cloud and the service type is virtual machine provisioning.
[0059] In this embodiment, in step S2, the instruction set information includes cloud system information (Huawei Cloud), service type (virtual machine activation), instruction list information (a list of instructions for virtual machine activation, including virtual machine creation, disk creation and mounting, network card creation and mounting, and IP address setting), and instruction orchestration information (the first step is to create a virtual machine, the second step is to create and mount a disk, the third step is to create and mount a network card, and the fourth step is to set an IP address); the instruction information includes the instruction name, instruction description information, instruction URI, instruction request method, instruction request message model, instruction request method type, and instruction return message model. The cloud system type and service type values obtained in step S1 are compared with the cloud system information and service type in the existing instruction set, thereby adapting and obtaining the instruction set information for Huawei Cloud virtual machine activation.
[0060] In this embodiment, in step S3, the abstract instruction information includes the heterogeneous cloud network device cloud system type (Huawei Cloud), the abstract instruction service type (virtual machine provisioning), service parameter information (including virtual machine CPU and memory configuration, mounted disk information, network card information and IP address, etc.), and cloud system resource pool information (the enterprise's Huawei Cloud pool). The cloud system resource pool information in the abstract instruction information is compared with the existing heterogeneous cloud system resource pool information to adapt the issued Huawei Cloud resource pool information.
[0061] In this embodiment, in step S4, the instruction set information includes the cloud system type of the heterogeneous cloud network device (Huawei Cloud), the service type of the instruction set (virtual machine provisioning), the instruction list information (a list of instructions for virtual machine provisioning, including virtual machine creation, disk creation and mounting, network card creation and mounting, and IP address setting), and the instruction orchestration information (the first step is to create a virtual machine, the second step is to create and mount a disk, the third step is to create and mount a network card, and the fourth step is to set an IP address). The instruction information includes the instruction name, instruction description information, cloud system resource pool address information, user name, user password, heterogeneous cloud network device information, instruction URI, instruction request method, instruction request message model, instruction request method type, and instruction return message model. The instruction set is generated by combining steps S2 and S3. At this point, the conversion of the abstract instructions of the heterogeneous cloud network device into a specific instruction set is completed.
[0062] For issuing instructions to activate a virtual machine in a certain Huawei cloud pool of an enterprise, the existing implementation technology is as follows: (1) the heterogeneous cloud network device administrator finds the Huawei cloud pool management page and login account, and logs in to the system; (2) finds the virtual machine creation menu, fills in the virtual machine information step by step, and completes the virtual machine creation; (3) finds the disk creation menu to create a disk; (4) After the disk is created, mount the disk; (5) finds the network card creation menu and creates a network card; (6) After the network card is created, mount the network card; (7) Set the virtual machine IP address. If this invention is used to complete the issuance of the instruction to activate a virtual machine in the Huawei cloud pool, the heterogeneous cloud network device administrator only needs to issue an instruction to the present invention, and the administrator does not need to participate in other work. Compared with the present invention, the existing technology is obviously time-consuming and labor-intensive, and inefficient.
[0063] To sum up, the abstract instruction conversion method for heterogeneous cloud network devices in the above embodiment, when it involves heterogeneous cloud network devices issuing abstract instructions, abstract instructions of different cloud types are automatically processed by the abstract instruction conversion system, shielding the differences in the underlying cloud platform resource pool, and reducing the time and effort spent on adapting to the heterogeneous cloud platform resource pool by modifying the business logic, and is worthy of promotion and use.
[0064] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. An abstract instruction conversion method for heterogeneous cloud network devices, characterized in that: The following steps are involved: S1: Service Adaptation Distinguish heterogeneous cloud network device cloud system information and business types from abstract instruction information; S2: Instruction set adaptation Adapt the corresponding instruction set according to cloud system information and business type; S3: Cloud system resource pool adaptation Adapting the cloud system resource pool through abstract instruction information; S4: Generate and issue instruction set Generate a delivery instruction set for heterogeneous cloud network devices based on the instruction set adapted in step S2 and the cloud system resource pool adapted in step S3; In the steps S1 and S3, the abstract instruction information includes the heterogeneous cloud network device cloud system type, the abstract instruction service type, service parameter information, and cloud system resource pool information; In step S1, the cloud system type and service type are obtained by adapting the service to the heterogeneous cloud network device cloud system type and the abstract instruction service type in the abstract instruction information; In step S2, the instruction set information includes cloud system information, service type, instruction list information, and instruction arrangement information; the instruction information includes instruction name, instruction description information, instruction URI, instruction request method, instruction request message model, instruction request method type, and instruction return message model; In step S2, the cloud system type and service type values obtained in step S1 are compared with the cloud system information and service type in the existing instruction set to adapt and obtain the instruction set information of the cloud system service of the heterogeneous cloud network device; In step S3, the heterogeneous cloud network device cloud system type and cloud system resource pool information obtained from the abstract instruction information are used as conditions to query the existing heterogeneous cloud resource pool database, and the issued heterogeneous cloud system resource pool information is obtained through adaptation; In step S4, the instruction set information includes the heterogeneous cloud network device cloud system type, the instruction set service type, the instruction list information, and the instruction arrangement information; The command information includes the command name, command description information, cloud system resource pool address information, user name, user password, heterogeneous cloud network device information, command URI, command request method, command request message model, command request method type, and command return message model.
2. An abstract instruction conversion system for heterogeneous cloud network devices, characterized by , using the abstract instruction conversion method as claimed in claim 1 to convert the abstract instructions of the heterogeneous cloud network device into a specific instruction set for issuance, including: Service adaptation layer: used to distinguish heterogeneous cloud network device cloud system information and service types from abstract instruction information; Instruction set adaptation layer: used to adapt the corresponding instruction set according to cloud system information and business type; Cloud system resource pool adaptation layer; used to adapt the cloud system resource pool through abstract instruction information; The issuing instruction set generation layer is used to generate the issuing instruction set based on the adapted instruction set and the adapted cloud system resource pool.
Citation Information
Patent Citations
Community data processing system, method, and device based on Internet of Things platform and equipment
CN112714193A