Method and device for issuing and interactive scheduling based on differentiated service of CMP heterogeneous cloud platform, and storage medium
Through the differentiated service configuration of the cloud management platform CMP and unified analysis engine, the problems of inconsistency in service release and high difficulty in operation and maintenance in multi-cloud environments are solved, and flexible configuration and low-cost operation and maintenance management are realized.
Patent Information
- Application Number
- CN202510575259.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2045-05-06
AI Technical Summary
The existing technology has problems such as inconsistency in service release, complexity, high operation and maintenance difficulties, and inconsistent billing configurations in multi-cloud environments, resulting in poor scalability and high operation and maintenance costs.
Through the cloud management platform CMP release service, differentiated configuration and unified analysis engine are adopted to realize unified management and flexible configuration of service attributes, support the product attributes and billing requirements of multi-cloud platforms, and use UI components for automatic rendering and interactive scheduling.
It realizes flexible configuration and management of services on different cloud platforms, reduces operation and maintenance costs, and improves scalability and operation and maintenance efficiency.
Smart Images

Figure CN120389958A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud service management, service publishing, and resource delivery, and specifically to a method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform. Background Art
[0002] With the popularization of cloud computing, more and more customers will use the products and services of multiple cloud providers simultaneously. However, there are many differences in the products and services of different cloud providers. Therefore, there is a need to uniformly manage multiple cloud environments and a need to publish only the same service and be compatible with the same services of different cloud providers. For the differences in the services of different cloud providers, there are generally two docking methods. One is to mix all the logics together and distinguish them by cloud providers. The more cloud providers are docked, the more troublesome it will be. The other is to separate each cloud provider, and users use the corresponding services according to the cloud providers.
[0003] However, generally, customers do not want to expose the cloud providers; at the same time, they will also face the problem that the more cloud providers are docked, the more troublesome the adjustment will be. Therefore, to realize the service publishing of multiple cloud providers, it is necessary to abstract the service publishing in a consistent manner to form a unified publishing standard, and then encode and adapt the services of different cloud providers to form components for multi-cloud docking. The specific service will reference such components in the engineering code for multi-cloud adaptation to complete the final interactive presentation effect of service publishing and the billing ability of service use.
[0004] Common components are generally developed independently by vue or by a component low-code platform. Generally, it is a code-level implementation method. Due to the code-level implementation method, the prominent defects currently existing are: 1. Dependent on a specific development language, the components need to be developed, combined, and published as a whole, with poor scalability; 2. Uncertainty and complexity of services, poor code readability, and difficult to modify; 3. The more services there are, the more specific components there are, and the subsequent operation and maintenance difficulty increases; 4. The component writing styles of different personnel are inconsistent. For each cloud provider docked, the operation and maintenance difficulty increases; 5. The relevant configurations of services are not uniformly managed, such as billing configurations. Summary of the Invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; for this purpose, the present invention proposes a method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform, which can enable the services published by users to simultaneously meet the product attributes and billing requirements of different cloud platforms, guide users to quickly perform differential configurations and flexible configurations for different cloud platforms for services, and facilitate subsequent management and reduce operation and maintenance costs.
[0006] To achieve the above object, a first aspect of the present invention provides a method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform, including: S1: Publish services through the cloud management platform CMP. In the service factory of the cloud management platform CMP, each service is published for users to use in the self-service center, and each service is composed of one or more basic service attributes; S2: Differentially configure service attributes, collect the basic elements of the service attributes, expand the basic elements into billing attributes and detail display attributes, and expand them as a UI component. Define the attributes in the UI component on the front-end page, and at the same time, configure the inputtable, editable, and hidden attributes into the service attributes; S3: Load service attributes and a unified parsing engine. The published services include four modules: application, change, renewal, and cancellation. Each module corresponds to multiple service attributes. When users use the four modules in the self-service center, according to the unified parsing engine, obtain the service attributes corresponding to the corresponding service and module; S4: Automatic front-end page rendering. When the service module is accessed, the unified parsing engine loads the corresponding service attributes according to the module of the service, traverses the service attributes, obtains the UI components of the service attributes, parses them into json data that can be rendered by the front-end page, and finally encapsulates them into a complete json data to update the front-end page and complete automatic rendering on the front-end page; S5: Interactive scheduling. Use the product attributes of different cloud management platforms CMP to complete the corresponding service modules. The UI components can be differentially configured on different cloud management platforms CMP, and service resource delivery is completed through service operations, realizing the interactive scheduling of some differential operations.
[0007] Preferably, the differential configuration in step S2 specifically includes: A service attribute can be shared and can be used by all cloud management platforms CMP; A service attribute can be exclusive and can be loaded and hidden according to the type of the cloud management platform CMP; A service attribute corresponds to a UI component. The UI component can receive service attribute-related definitions and configurations or external input parameters to determine the output or display, and is the smallest unit to meet the differences of different cloud platforms; A service attribute also has the concept of version. When the requirements change, historical work orders are affected. After the service attribute is configured with a version, the unified parsing engine can parse the service attributes corresponding to the service module version.
[0008] A service attribute is also controlled by a process, and it can be configured how to load and display in which step of the process.
[0009] Preferably, the unified parsing engine in the step S3 specifically includes: parsing the service attributes corresponding to the service module, traversing these service attributes, loading its small UI components one by one, and encapsulating them into a large UI component page, which can meet the differences of different cloud platforms, and can determine the hiding and display of small UI components according to the cloud platform type.
[0010] Preferably, the automatic rendering of the front-end page in the step S4 specifically includes: in the large UI component page encapsulated by the unified parsing engine, there are parameter interlocks between each small UI component, and the output parameter of the UI component can be the input parameter of another UI component. When the user switches different cloud platforms, only the UI components corresponding to the platform are displayed, and the others are hidden.
[0011] Preferably, the update of the front-end page in the step S4 specifically includes: When the user accesses the service module, the cloud management platform CMP presentation layer requests data access, returns the cached data, and triggers the data update policy; Synchronously request the latest data of the cloud management platform CMP and write it into json data, update the data management data version in the Redux manner, and after the update is completed, send incremental data to the cloud management platform CMP presentation layer through the response link; The listener of the cloud management platform CMP presentation layer is bound to the life cycle of the front-end page. When the cloud management platform CMP presentation layer is in a visible and operable state, through reactive programming, a data flow link is created by subscribing to user data, and the view of the cloud management platform CMP presentation layer is asynchronously incrementally refreshed to complete the update of the front-end page.
[0012] Preferably, the service has one or more of a unique ID, name, number, abbreviation, classification, and product; The service attributes include one or more of ID, service ID, service KEY, service display name, type, default value, parameter association, UI component, whether it is applied for editable, whether it can be modified by editing, whether it is compared, whether it is charged, whether it is hidden, whether it is shown in detail, and usage label.
[0013] The present invention also provides a computer device, including a memory and a processor. When the memory stores a computer program and the processor loads and executes the computer program, the steps of the method for publishing and interacting and scheduling based on the CMP heterogeneous cloud platform differentiated service described in any one of the above are implemented.
[0014] The present invention also provides a storage medium storing a computer program, and when the computer program is loaded and executed by a processor, the steps of the method for publishing and interacting scheduling based on CMP heterogeneous cloud platform differentiated services as described in any one of the above are implemented.
[0015] Compared with the prior art, the beneficial effects of the present invention are as follows: The present invention enables the services published by users to simultaneously meet the product attributes and billing requirements of different cloud platforms, guides users to perform differential configuration and flexible configuration of different cloud platforms for services, and facilitates later management and further reduces operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is a flowchart of the method for publishing and interacting scheduling based on CMP heterogeneous cloud platform differentiated services of the present invention; Figure 2 It is a data model diagram of the method for publishing and interacting scheduling based on CMP heterogeneous cloud platform differentiated services of the present invention; Figure 3 It is a logical concept diagram of the method for publishing and interacting scheduling based on CMP heterogeneous cloud platform differentiated services of the present invention; Figure 4 It is a minimum unit operation diagram of the method for publishing and interacting scheduling based on CMP heterogeneous cloud platform differentiated services of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] The following will clearly and completely describe the technical solutions of the present invention in conjunction with the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0019] Please refer to Figure 1 , the first aspect embodiment of the present application provides a method for publishing and interacting scheduling based on CMP heterogeneous cloud platform differentiated services, including: S1: Publish services through the Cloud Management Platform (CMP). In the service factory of the CMP, each service is published for users to use in the self-service center. Each service is composed of one or more basic service attributes.
[0020] As Figure 2 shown, the method data model includes services, service attributes, static data sources of service attributes, service process attributes, step configurations of service attributes, and service attribute versions, demonstrating the relationships between services, service attributes, static data sources of service attributes, service process attributes, service attributes, and service attribute version steps. During the implementation of this method, the data model organizes and stores data according to the Figure 2 structure shown.
[0021] A service has a unique ID, name, number, short name, classification, and product ID.
[0022] Figure 3 This is the logical concept diagram of the method for publishing and interacting scheduling of differentiated services based on the CMP heterogeneous cloud platform of the present invention.
[0023] S2: Differentially configure service attributes, collect the basic elements of the service attributes, expand the basic elements into billing attributes and detailed display attributes, and expand them as UI components, and define the attributes in the UI components on the front-end page.
[0024] Optionally, at the same time, inputtable, editable, and hidden attributes are configured into the service attributes.
[0025] Service attributes include information such as ID, service ID, service KEY, service display name, type, default value, parameter association, UI component, whether it is applied for editable, whether it can be modified by editing, whether it is compared, whether it is billed, whether it is hidden, whether it is detailed display, and usage label.
[0026] The static data source of service attributes contains content such as ID, service attribute ID, service attribute KEY value, and extended information.
[0027] The method for filtering out service attribute keys specifically includes: Create an iterable object and convert the service attributes into an iterable set of key-value pairs; Define a filtering condition function, create a judgment function to identify keys related to the approval process, and the judgment function identifies whether the key contains a specific keyword; Construct a lazy operation chain, use a generator function or a library that supports lazy evaluation, and add the filtering operation to the operation chain; Implement lazy iteration, process the service attributes, and obtain the service attribute keys of the filtered approval process.
[0028] The service process attributes include attributes such as ID, service attribute ID, process KEY, process step KEY, whether it is editable, and whether it is hidden.
[0029] The service attribute step configuration includes information such as ID, service ID, extended service ID, resource type, page title, and resource name.
[0030] Furthermore, the differential configuration includes: One service attribute can be shared and can be used by all the Cloud Management Platforms (CMPs); One service attribute can be exclusive and can be loaded and hidden according to the type of the Cloud Management Platform (CMP); One service attribute corresponds to one UI component. The UI component can receive service attribute-related definition configurations or external input parameters to determine the output or display, and it is the smallest unit to meet the differentiation of different cloud platforms; One service attribute also has the concept of version. When the requirements change, historical work orders are affected. After the service attribute configuration version, the unified parsing engine can parse the service attributes of the corresponding version of the service module.
[0031] One service attribute is also controlled by the process and can be configured how to load and display it at which step of the process.
[0032] S3: Load service attributes, unified parsing engine. The published service contains multiple modules, and each module corresponds to multiple service attributes.
[0033] When the four modules are called (by the user in the self-service center), according to the unified parsing engine, obtain the service attributes of the corresponding service and corresponding module.
[0034] The modules include application, change, renewal, and cancellation.
[0035] The service attribute version includes ID, service ID, type, version number, version time, and version record.
[0036] Furthermore, the steps of the unified parsing engine include: S31: Parse the service attributes corresponding to the service module; S32: Traverse these service attributes and load the UI components one by one; This method matches one or more attributes of cloud products of different clouds into one or more minimum unit components of the service, that is, the differential configuration effect is realized outside the minimum unit components.
[0037] Specifically, according to the unified parsing engine, the service attributes of the corresponding module of the corresponding service are obtained, and the different service attributes including billing attributes, details attributes, comparison attributes, work order attributes, viewing attributes, editing attributes, application attributes, and API attributes are matched to the service. Then, the input parameters, output parameters, editing, display, default values, verification and other services are matched to the smallest unit component. The unified parsing engine loads the corresponding service attributes according to the service module, traverses the service attributes, obtains the smallest unit component of the service attributes, and converts them into json data that can be rendered by the front-end page through the unified parsing engine.
[0038] S33: Encapsulate into an overall UI component page to meet the differentiation of different cloud platforms.
[0039] Among them, in step S32, the hiding and display properties of the small UI component can be determined according to the cloud platform type.
[0040] The method for publishing and interactive scheduling based on CMP heterogeneous cloud platform differentiated services of the present invention also includes: S4: When the service module is accessed, the unified parsing engine loads the corresponding service attributes according to the service module, traverses the service attributes, obtains the UI components of the service attributes, parses them into json data that can be rendered by the front-end page, and finally encapsulates them into a complete json data, updates the front-end page, and completes automatic rendering on the front-end page.
[0041] Furthermore, the front-end page automatically renders, including: S41: The overall UI component page encapsulated by the unified parsing engine has parameters that are interconnected between each UI component; wherein the output parameter of a UI component is the input parameter of another UI component. When the user switches to different cloud platforms, only the UI component of the corresponding platform is displayed, and other components are hidden.
[0042] like Figure 4 As shown in the figure, this method shows how the system operates within the smallest unit component corresponding to the cloud product attributes of different clouds, that is, how the differentiated configuration effect is realized within the component. Specifically: S42: JSON front-end rendering of the component low-code platform, initializing the component corresponding to the service attribute, and judging whether the service attribute has a corresponding component. If not, skip and end without processing; if so, initialize the component corresponding to the service attribute; S43: Determine whether the component is editable, if not, display it as uneditable, if yes, display it as editable; S44: Determine whether the component is allocated, if not, do not allocate the first value, if yes, allocate the first value; S44: Determine whether there is a default value, if not, do not process, if yes, assign a default value; S45: Determine whether there is a static data source. If not, do not load the static data source for parsing. If so, load the static data source for parsing; S46: Obtain the UI components of the service attributes, parse them into JSON data that can be rendered on the front-end page, and end.
[0043] The method for publishing and interactive scheduling based on the differentiated services of the CMP heterogeneous cloud platform of the present invention further includes: S5: Use the product attributes of different cloud management platforms CMP to complete the corresponding service modules, and the UI components can be differentially configured on different cloud management platforms CMP. Through service operations, service resource delivery is completed, realizing the interactive scheduling of some differential operations.
[0044] According to another embodiment of the present invention, as Figures 1-4 shown, assume that a user is preparing to publish a non-trusted ECS service on the cloud management platform, and at the same time, it is necessary to meet the application delivery resource logics of Tianyi public cloud ECS and Huawei private cloud ecs. After defining an ECS service, the service is described below. The services of the present invention have several product attributes in the cloud product attributes of different clouds: region, available zone, system disk type, system disk size, specification type, specification size, CPU, memory, image, purchase duration, etc. These product attributes can correspond to the service attributes in the service (product attributes that deliver EIP simultaneously with a certain public cloud but do not deliver EIP simultaneously with a certain private cloud), as follows: The region of the product attribute corresponds to the UI component for querying the region (dynamically loading the data source), and at the same time, load the extended attributes of manual delivery of the public cloud or automated delivery of the private cloud. In the UI component, load the corresponding extended attributes according to different clouds.
[0045] The available zone of the product attribute corresponds to the UI component for querying the available zone (dynamically loading the data source), and display the available zones of the corresponding clouds according to different clouds and architectures.
[0046] The system disk type of the product attribute corresponds to the UI component for querying the system disk type (static data source). Some data sources are shared, and some data sources are independent of different clouds. Load the corresponding data sources for display according to the products of different clouds.
[0047] The delivered EIP of the product attribute shows this UI component in a certain public cloud and does not show this UI component in a certain private cloud.
[0048] The product attributes of other ECSs are configured similarly to the above 4.
[0049] The unified parsing engine parses the service attributes of the service into JSON data that can be recognized by a front-end page. When rendering, find the corresponding UI component for rendering.
[0050] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided by the present invention can include at least one of non-volatile and volatile memories.
[0051] It should be understood that, as used herein, unless the context clearly supports an exception, the singular form "a" is also intended to include the plural form. It should also be understood that the "and / or" used herein refers to any and all possible combinations of one or more of the associated listed items. The serial numbers of the disclosed embodiments of the present invention above are only for description and do not represent the superiority or inferiority of the embodiments.
[0052] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other variations in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention shall be included in the protection scope of the embodiments of the present invention.
Claims
1. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform, characterized in that Including: S1: Publish services through the Cloud Management Platform (CMP). In the service factory of the CMP, each service is published for users to use in the self-service center. Each service is composed of one or more basic service attributes; S2: Differentiate and configure service attributes, collect the basic elements of the service attributes, expand the basic elements as a UI component into billing attributes and detail display attributes, and define the attributes in the UI component on the front-end page; S3: Load service attributes and a unified parsing engine. The published service includes multiple modules, and each module corresponds to multiple service attributes; S4: When the service module is accessed, the unified parsing engine loads the corresponding service attributes according to the service module, traverses the service attributes, obtains the UI components of the service attributes, parses them into JSON data that can be rendered by the front-end page, and finally encapsulates them into a complete JSON data to update the front-end page and complete automatic rendering on the front-end page; S5: Use the product attributes of different CMPs to complete the corresponding service modules. The UI components can be differentially configured on different CMPs, and service resource delivery is completed through service operations, realizing the interactive scheduling of some differential operations.
2. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 1, characterized in that, The differential configuration in step S2 specifically includes: A service attribute can be shared and can be used by all CMPs; A service attribute can be exclusive and can be loaded and hidden according to the type of CMP; A service attribute corresponds to a UI component. The UI component can receive service attribute-related definition configurations or external input parameters to determine the output or display, and is the smallest unit to meet the differences of different cloud platforms; A service attribute also has the concept of version. When the requirements change, historical work orders are affected. After the service attribute configuration version, the unified parsing engine can parse the service attributes of the corresponding version of the service module. A service attribute is also subject to process control, and it can be configured how to load and display in which step of the process.
3. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 2, characterized in that In step S2, inputtable, editable, and hidden attributes are simultaneously configured into the service attributes.
4. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 1, characterized in that, The unified parsing engine in step S3 specifically includes: parsing the service attributes corresponding to the service module, traversing these service attributes, loading each of its small UI components, and encapsulating them into a large UI component page, which can meet the differences of different cloud platforms and can determine the hiding and display of small UI components according to the cloud platform type.
5. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 4, characterized in that, In step S3, the modules include four modules: application, change, renewal, and cancellation. When the four modules are called (by users in the self-service center), the service attributes corresponding to the corresponding service of the module are obtained according to the unified parsing engine.
6. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 1, characterized in that, The automatic rendering of the front-end page in step S4 specifically includes: the large UI component page encapsulated by the unified parsing engine, where there are parameter linkages between each small UI component, and the output parameter of a UI component can be the input parameter of another UI component. When the user switches different cloud platforms, only the UI components corresponding to the platform are displayed, and the others are hidden.
7. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 6, characterized in that, The update of the front-end page in step S4 specifically includes: When the user accesses the service module, the cloud management platform CMP presentation layer requests data access, returns the cached data, and triggers the data update policy; Synchronously request the latest data of the cloud management platform CMP and write it into json data. Use the Redux method to update the data management data version. After the update is completed, send incremental data to the cloud management platform CMP presentation layer through the response link; The listener of the cloud management platform CMP presentation layer is bound to the front-end page life cycle. When the cloud management platform CMP presentation layer is in a visible and operable state, reactive programming creates a data flow link through user data subscription, and asynchronously and incrementally refreshes the view of the cloud management platform CMP presentation layer to complete the update of the front-end page.
8. A method for publishing and interactive scheduling based on differentiated services of a CMP heterogeneous cloud platform according to claim 1, characterized in that, The service has one or more of a unique ID, name, number, abbreviation, classification, and product; The service attributes include one or more of ID, service ID, service KEY, service display name, type, default value, parameter association, UI component, whether it is editable upon application, whether it can be modified when edited, whether it can be compared, whether it is chargeable, whether it is hidden, whether it is shown in details, and usage label.
9. A computer device, comprising a memory and a processor. When the memory stores a computer program and the processor loads and executes the computer program, the steps of the method for publishing and interacting and scheduling based on the CMP heterogeneous cloud platform differentiated service as described in any one of claims 1-8 are implemented.
10. A storage medium stores a computer program. When the computer program is loaded and executed by a processor, the steps of the method for publishing and interacting and scheduling based on the CMP heterogeneous cloud platform differentiated service as described in any one of claims 1-8 are implemented.
Citation Information
Patent Citations
Heterogeneous cloud management platform
CN111190730A
Pluggable heterogeneous cloud adaptation device, method and system
CN116389573A
Common services model for multi-cloud platform
US20220159093A1
Extensible heterogeneous cloud platform adaptation method and system thereof
WO2018086580A1
Method and apparatus for binding wasm rapid application framework data, and electronic device and storage medium
WO2023245375A1