CN111274000A - Service arranging method and device, electronic equipment and storage medium - Google Patents

Service arranging method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111274000A
CN111274000A CN202010071642.6A CN202010071642A CN111274000A CN 111274000 A CN111274000 A CN 111274000A CN 202010071642 A CN202010071642 A CN 202010071642A CN 111274000 A CN111274000 A CN 111274000A
Authority
CN
China
Prior art keywords
component
target
template
service
chart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010071642.6A
Other languages
Chinese (zh)
Other versions
CN111274000B (en
Inventor
王玉东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010071642.6A priority Critical patent/CN111274000B/en
Publication of CN111274000A publication Critical patent/CN111274000A/en
Application granted granted Critical
Publication of CN111274000B publication Critical patent/CN111274000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a service arranging method, a service arranging device, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: when a service arranging command is received, determining a template of a target assembly corresponding to the service arranging command; wherein the target components include a storage component, a workload component, and a service component; acquiring parameter values of parameters in each template, and acquiring association relations among the target components in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component; and creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template. Therefore, the service arranging method simplifies the service arranging process in the container.

Description

Service arranging method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a service orchestration method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Container cloud technology is currently the newest, hottest technology, and is increasingly in use. With the open source Kubernetes of google and the original docker technology, the deployment and the application are more convenient. But the user still needs to spend time going through learning, researching Kubernetes nouns and related technologies to quickly deploy and use the container. An application is deployed and published on a Kubernetes container cloud platform, and in the traditional mode, an application component, a service component and a storage component need to be deployed at least first, so that the application, the service and the storage are associated, and the steps are complex. When an application needs to rely on kubernets' multiple components, deployments, stateful loads, services, storage, etc. need to be created step by step, steps that are cumbersome, and prone to errors.
Therefore, how to simplify the service orchestration flow in the container is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a service arranging method, a service arranging device, electronic equipment and a computer readable storage medium, which simplify the service arranging process in a container.
In order to achieve the above object, the present application provides a service orchestration method, including:
when a service arranging command is received, determining a template of a target assembly corresponding to the service arranging command; wherein the target components include a storage component, a workload component, and a service component;
acquiring parameter values of parameters in each template, and acquiring association relations among the target components in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component;
and creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
Wherein, the creating a chart component template corresponding to each target component by using the parameter values and the association relationship comprises:
analyzing each parameter by using an analysis method corresponding to each parameter to obtain a target parameter value corresponding to each target component;
creating a chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component;
creating a chart component template corresponding to the workload component by using the target parameter value corresponding to the workload component and the incidence relation between the storage component and the workload component;
and creating a chart component template corresponding to the service component by using the target parameter value corresponding to the service component and the incidence relation between the service component and the workload component.
Wherein the parameters in each template comprise optional parameters and self-defined parameters; the analyzing each parameter by using the analyzing method corresponding to each parameter to obtain the target parameter value corresponding to each target component includes:
analyzing each requisite parameter by using an analysis method corresponding to each requisite parameter to obtain a target parameter value corresponding to each requisite parameter;
and analyzing each user-defined parameter by using a general analysis method to obtain a target parameter value corresponding to each user-defined parameter.
After obtaining the association relationship between each target component in the visualization component, the method further includes:
storing the incidence relation into a relation queue;
correspondingly, after the creating the chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component, the method further includes:
and acquiring the association relationship between the storage component and the workload component and the association relationship between the workload component and the service component from the relationship queue.
Acquiring parameter values of parameters in each template and acquiring association relations between each target component in a visualization component, wherein the acquiring of parameter values of parameters in each template and the acquiring of association relations between each target component in the visualization component comprise:
acquiring parameter values of parameters in each template through an input interface, and acquiring association relations among the target components in the visual components;
and packaging the parameter values and the association relationship into yaml data.
Wherein, the creating a chart component template corresponding to each target component by using the parameter values and the association relationship comprises:
verifying whether the yaml data meets the requirements of the yaml format;
and if so, executing the step of creating the chart component template corresponding to each target component by using the parameter values and the association relation.
Wherein, after all the chart component templates are combined into a chart template, the method further comprises:
uploading the chart template to a hardor warehouse.
To achieve the above object, the present application provides a service orchestration device comprising:
the determining module is used for determining a template of a target component corresponding to a service arranging command when the service arranging command is received; wherein the target components include a storage component, a workload component, and a service component;
the acquisition module is used for acquiring parameter values of parameters in each template and acquiring the association relation between each target component in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component;
and the creating module is used for creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
a processor for implementing the steps of the service orchestration method as described above when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the service orchestration method as described above.
According to the scheme, the service arranging method provided by the application comprises the following steps: when a service arranging command is received, determining a template of a target assembly corresponding to the service arranging command; wherein the target components include a storage component, a workload component, and a service component; acquiring parameter values of parameters in each template, and acquiring association relations among the target components in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component; and creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
According to the service arranging method, a user can drag the templates of all the components in the visual components, input parameters in the templates, deploy the components, associate the relationships among the components and quickly generate the chart templates. Therefore, the service arranging method provided by the application can be used for quickly creating the corresponding component template and quickly deploying the corresponding component without knowing the cloud platform, and the component can be quickly upgraded as long as part of parameters are modified, so that the cloud platform has higher use value. The application also discloses a service arranging device, an electronic device and a computer readable storage medium, which can also realize the technical effects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow diagram illustrating a method of service orchestration according to an example embodiment;
FIG. 2 is a flow diagram illustrating another method of service orchestration according to an example embodiment;
FIG. 3 is a flowchart of a method for defining a component template according to an embodiment of the present application;
FIG. 4 is a flowchart of generating a chart template according to an embodiment of the present application;
FIG. 5 is a block diagram illustrating a service orchestration device according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses a service arranging method, which simplifies the service arranging process in a container.
Referring to fig. 1, a flow chart of a service orchestration method according to an exemplary embodiment is shown, as shown in fig. 1, comprising:
s101: when a service arranging command is received, determining a template of a target assembly corresponding to the service arranging command; wherein the target components include a storage component, a workload component, and a service component;
in this embodiment, a user may select a template of a desired target component from the visualization components, and may package an identifier of the target component as a service orchestration command and send the service orchestration command to the cloud platform backend. The templates of the components are defined at the back end of the cloud platform, and the components comprise a storage component, a workload component and a service component which are required by deploying one application. Writing a basic template for each component at the back end of the cloud platform, wherein the basic template comprises minimum starting parameters of each component, namely necessary parameters of each component, and a user can also add custom parameters in the basic template without specific limitation.
S102: acquiring parameter values of parameters in each template, and acquiring association relations among the target components in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component;
in the step, the visual components acquire and display templates of the components defined in the cloud platform rear end through the interface at the UI end, a user can drag the multiple components to generate the relationship among the components, and the information of the component templates is filled, namely the parameter values of the parameters in the templates are filled.
It can be understood that the workload components and the storage components are in a one-to-many relationship, that is, one workload component corresponds to a plurality of storage components, and the service components and the workload components are in a many-to-one relationship, that is, a plurality of service components correspond to one workload component.
S103: and creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
In the step, a chart component template corresponding to each target component is created by using the parameter values acquired from the visual components and the incidence relation among the components. Specifically, the step may include: analyzing each parameter by using an analysis method corresponding to each parameter to obtain a target parameter value corresponding to each target component; creating a chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component; creating a chart component template corresponding to the workload component by using the target parameter value corresponding to the workload component and the incidence relation between the storage component and the workload component; and creating a chart component template corresponding to the service component by using the target parameter value corresponding to the service component and the incidence relation between the service component and the workload component. In specific implementation, the steps of analyzing the intrinsic parameters and the essential parameters in the template by using the corresponding analysis methods, and analyzing the user-defined parameters by using the general analysis method, that is, analyzing each parameter by using the analysis method corresponding to each parameter to obtain the target parameter value corresponding to each target component include: analyzing each requisite parameter by using an analysis method corresponding to each requisite parameter to obtain a target parameter value corresponding to each requisite parameter; and analyzing each user-defined parameter by using a general analysis method to obtain a target parameter value corresponding to each user-defined parameter, wherein the analysis method can be understood as the check sum standardization processing of the parameters. And adding the association relationship between the storage component and the workload component into the template corresponding to the workload component to create a chart component template corresponding to the workload component, and adding the association relationship between the service component and the workload component into the template corresponding to the service component to create a chart component template corresponding to the service component.
Preferably, after obtaining the association relationship between each of the target components in the visualization component, the method further includes: storing the incidence relation into a relation queue; correspondingly, after the creating the chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component, the method further includes: and acquiring the association relationship between the storage component and the workload component and the association relationship between the workload component and the service component from the relationship queue. After this step, also include: uploading the chart template to a hardor warehouse. In specific implementation, the chart template is uploaded to a hardor warehouse, a palm end is called through a command, and the application is deployed
According to the service arranging method provided by the embodiment of the application, a user can drag the template of each component in the visual components, input parameters in the template, deploy a plurality of components, associate the relationships among the components and quickly generate the chart template. Therefore, the service arranging method provided by the embodiment of the application can quickly create the corresponding component template and quickly deploy the corresponding component without knowing the cloud platform, and the component can be quickly upgraded as long as part of parameters are modified, so that the cloud platform has higher use value.
The embodiment of the application discloses a service arranging method, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Specifically, the method comprises the following steps:
referring to fig. 2, a flow diagram of another service orchestration method is shown according to an example embodiment, as shown in fig. 2, comprising:
s201: when a service arranging command is received, determining a template of a target assembly corresponding to the service arranging command; wherein the target components include a storage component, a workload component, and a service component;
s202: acquiring parameter values of parameters in each template through an input interface, and acquiring association relations among the target components in the visual components;
s203: and packaging the parameter values and the association relationship into yaml data.
S204: verifying whether the yaml data meets the requirements of the yaml format; if yes, go to S205;
in this embodiment, the visualization component may encapsulate the parameter values of the parameters in the template and the association between the components as yaml data. The yaml data analysis module verifies whether the data conforms to the yaml format, analyzes the essential and inherent parameters in the template by adopting a corresponding analysis method, and analyzes the user-defined parameters by adopting a general analysis method, wherein the analysis method can be understood as the verification and standardization processing of the parameters.
S205: and creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
Therefore, in the embodiment, the template and the parameters are automatically defined by initializing each component through the back end, the visual component interaction module is dragged by the front end, the component relationship can be generated, the component parameters are filled in, yaml format transmission data are generated, the data are analyzed through the yaml data analysis module at the back end, the parameters are transmitted into the custom template, the custom template is converted into a chart template, and the deployment module deploys the arranged application through commands.
An application embodiment provided by the present application is described below, which may specifically include the following steps:
the method comprises the following steps: the cloud platform back end compiles a chart template for each component, the chart template comprises a minimum starting parameter, a component association relation selector and the like, generates a custom template, compiles an analysis method for parameters in the custom template, compiles a general analysis method for user-defined parameters, and is shown in FIG. 3;
step two: the UI page provides visual components, visual component data are obtained through the rear end, component relationships can be generated through dragging, and yaml transmission data are generated by filling component parameters;
step three: the yaml data analysis module comprises analysis methods of essential and inherent parameters in the template. The yaml data parsing module verifies if the data is in yaml format. And analyzing the bound parameters, and analyzing the user-defined parameters by using a general analysis method. Generating a storage self-defined template by the storage component, and putting the storage relation into a relation queue; obtaining a storage relation from the relation queue, putting the storage relation into a workload, generating a workload self-defined template, and putting a workload dependency relation into the relation queue; acquiring a workload relation from the relation queue, putting the workload relation into a service, and generating a service self-defined template; combining all the custom templates to generate corresponding chart templates, and uploading the chart templates to a hardor warehouse as shown in FIG. 4;
step four: and the user selects a corresponding template, fills in basic information, deploys the application, and the deployment module calls the helm terminal with the basic information and the template information through a command to deploy the application.
In the following, a service orchestration device provided by an embodiment of the present application is introduced, and a service orchestration device described below and a service orchestration method described above may be referred to each other.
Referring to fig. 5, a block diagram of a service orchestration device according to an exemplary embodiment is shown, as shown in fig. 5, comprising:
a determining module 501, configured to determine, when a service orchestration command is received, a template of a target component corresponding to the service orchestration command; wherein the target components include a storage component, a workload component, and a service component;
an obtaining module 502, configured to obtain a parameter value of a parameter in each template, and obtain an association relationship between each target component in a visualization component; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component;
a creating module 503, configured to create a chart component template corresponding to each target component by using the parameter values and the association relationship, and combine all the chart component templates into a chart template.
According to the service arranging device provided by the embodiment of the application, a user can drag the templates of all the components in the visual components, input parameters in the templates, deploy a plurality of components, associate the relationships among the components and quickly generate the chart templates. Therefore, the service arranging device provided by the embodiment of the application can quickly create the corresponding component template and quickly deploy the corresponding component without knowing the cloud platform, and the component can be quickly upgraded as long as part of parameters are modified, so that the cloud platform has higher use value.
On the basis of the foregoing embodiment, as a preferred implementation, the creating module 503 includes:
the analysis unit is used for analyzing each parameter by using an analysis method corresponding to each parameter to obtain a target parameter value corresponding to each target component;
the first creating unit is used for creating a chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component;
a second creating unit, configured to create a chart component template corresponding to the workload component by using a target parameter value corresponding to the workload component and an association relationship between the storage component and the workload component;
a third creating unit, configured to create a chart component template corresponding to the service component by using a target parameter value corresponding to the service component and an association relationship between the service component and the workload component;
and the combining unit is used for combining all the chart component templates into a chart template.
On the basis of the above embodiment, as a preferred implementation, the parameters in each template include a mandatory parameter and a custom parameter; the analysis unit is specifically used for analyzing each requisite parameter by using an analysis method corresponding to each requisite parameter to obtain a target parameter value corresponding to each requisite parameter; and analyzing each user-defined parameter by using a general analysis method to obtain a unit of a target parameter value corresponding to each user-defined parameter.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
the storage module is used for storing the association relation into a relation queue;
and the extracting module is used for acquiring the association relationship between the storage component and the workload component and the association relationship between the workload component and the service component from the relationship queue.
On the basis of the foregoing embodiment, as a preferred implementation manner, the obtaining module 502 is specifically a module that obtains a parameter value of a parameter in each template through an input interface, obtains an association relationship between each target component in a visualization component, and encapsulates the parameter value and the association relationship into yaml data.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
the verification module is used for verifying whether the yaml data meets the requirements of the yaml format; if yes, the workflow of the creating module 503 is started.
On the basis of the above embodiment, as a preferred implementation, the method further includes:
and the uploading module is used for uploading the chart template to a hardor warehouse.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present application further provides an electronic device, and referring to fig. 6, a structure diagram of an electronic device 600 provided in an embodiment of the present application may include a processor 11 and a memory 12, as shown in fig. 6. The electronic device 600 may also include one or more of a multimedia component 13, an input/output (I/O) interface 14, and a communication component 15.
The processor 11 is configured to control the overall operation of the electronic device 600, so as to complete all or part of the steps in the service orchestration method. The memory 12 is used to store various types of data to support operation at the electronic device 600, such as instructions for any application or method operating on the electronic device 600 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 12 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 13 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 12 or transmitted via the communication component 15. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 14 provides an interface between the processor 11 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication module 15 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so that the corresponding communication component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described service orchestration method.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the service orchestration method described above is also provided. For example, the computer readable storage medium may be the memory 12 described above comprising program instructions that are executable by the processor 11 of the electronic device 600 to perform the service orchestration method described above.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of service orchestration, comprising:
when a service arranging command is received, determining a template of a target assembly corresponding to the service arranging command; wherein the target components include a storage component, a workload component, and a service component;
acquiring parameter values of parameters in each template, and acquiring association relations among the target components in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component;
and creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
2. The service orchestration method according to claim 1, wherein the creating a chart component template corresponding to each target component by using the parameter values and the association relationship comprises:
analyzing each parameter by using an analysis method corresponding to each parameter to obtain a target parameter value corresponding to each target component;
creating a chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component;
creating a chart component template corresponding to the workload component by using the target parameter value corresponding to the workload component and the incidence relation between the storage component and the workload component;
and creating a chart component template corresponding to the service component by using the target parameter value corresponding to the service component and the incidence relation between the service component and the workload component.
3. The service orchestration method according to claim 2, wherein the parameters in each template comprise mandatory and custom parameters; the analyzing each parameter by using the analyzing method corresponding to each parameter to obtain the target parameter value corresponding to each target component includes:
analyzing each requisite parameter by using an analysis method corresponding to each requisite parameter to obtain a target parameter value corresponding to each requisite parameter;
and analyzing each user-defined parameter by using a general analysis method to obtain a target parameter value corresponding to each user-defined parameter.
4. The service orchestration method according to claim 2, wherein after obtaining the association relationship between each of the target components in the visualization component, the method further comprises:
storing the incidence relation into a relation queue;
correspondingly, after the creating the chart component template corresponding to the storage component by using the target parameter value corresponding to the storage component, the method further includes:
and acquiring the association relationship between the storage component and the workload component and the association relationship between the workload component and the service component from the relationship queue.
5. The service orchestration method according to claim 1, wherein the obtaining parameter values of the parameters in each of the templates and obtaining the association relationship between each of the target components in a visualization component comprises:
acquiring parameter values of parameters in each template through an input interface, and acquiring association relations among the target components in the visual components;
and packaging the parameter values and the association relationship into yaml data.
6. The service orchestration method according to claim 5, wherein the creating a chart component template corresponding to each target component by using the parameter values and the association relationship comprises:
verifying whether the yaml data meets the requirements of the yaml format;
and if so, executing the step of creating the chart component template corresponding to each target component by using the parameter values and the association relation.
7. The service orchestration method according to claim 1, wherein after combining all of the chart component templates into a chart template, further comprising:
uploading the chart template to a hardor warehouse.
8. A service orchestration device, comprising:
the determining module is used for determining a template of a target component corresponding to a service arranging command when the service arranging command is received; wherein the target components include a storage component, a workload component, and a service component;
the acquisition module is used for acquiring parameter values of parameters in each template and acquiring the association relation between each target component in the visual components; wherein the incidence relation comprises an incidence relation between the storage component and the work load component and an incidence relation between the work load component and the service component;
and the creating module is used for creating a chart component template corresponding to each target component by using the parameter values and the association relation, and combining all the chart component templates into a chart template.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the service orchestration method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the service orchestration method according to any one of claims 1 to 7.
CN202010071642.6A 2020-01-21 2020-01-21 Service arrangement method and device, electronic equipment and storage medium Active CN111274000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010071642.6A CN111274000B (en) 2020-01-21 2020-01-21 Service arrangement method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010071642.6A CN111274000B (en) 2020-01-21 2020-01-21 Service arrangement method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111274000A true CN111274000A (en) 2020-06-12
CN111274000B CN111274000B (en) 2023-01-10

Family

ID=70999117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010071642.6A Active CN111274000B (en) 2020-01-21 2020-01-21 Service arrangement method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111274000B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913721A (en) * 2020-07-16 2020-11-10 中国民航信息网络股份有限公司 Automatic deployment method, device, equipment and storage medium
CN112003931A (en) * 2020-08-21 2020-11-27 济南浪潮数据技术有限公司 Method and system for deploying scheduling controller and related components
CN113064578A (en) * 2021-03-17 2021-07-02 上海浦东发展银行股份有限公司 Application arranging method, system, equipment and storage medium based on dragging technology
CN113312083A (en) * 2020-07-14 2021-08-27 阿里巴巴集团控股有限公司 Application generation method, device and equipment
CN113923250A (en) * 2020-07-07 2022-01-11 华为技术有限公司 Method, device and system for assisting network service arrangement
WO2022048179A1 (en) * 2020-09-01 2022-03-10 北京京东尚科信息技术有限公司 Method and apparatus for updating cloud platform
CN114363400A (en) * 2020-09-30 2022-04-15 电科云(北京)科技有限公司 Application arrangement method and device based on cloud platform and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956016A (en) * 2016-04-21 2016-09-21 成都数联铭品科技有限公司 Associated information visualization processing system
WO2018036342A1 (en) * 2016-08-23 2018-03-01 中兴通讯股份有限公司 Csar-based template design visualization method and device
CN108429787A (en) * 2018-01-30 2018-08-21 中经社控股有限公司 Container dispositions method and device, computer storage media, terminal
CN108563505A (en) * 2018-04-04 2018-09-21 上海有云信息技术有限公司 A kind of service chaining method of combination, device, server and storage medium
CN108762769A (en) * 2018-06-04 2018-11-06 万惠投资管理有限公司 Micro services application layout and dispositions method, device and terminal
CN109062655A (en) * 2018-06-05 2018-12-21 腾讯科技(深圳)有限公司 A kind of containerization cloud platform and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956016A (en) * 2016-04-21 2016-09-21 成都数联铭品科技有限公司 Associated information visualization processing system
WO2018036342A1 (en) * 2016-08-23 2018-03-01 中兴通讯股份有限公司 Csar-based template design visualization method and device
CN108429787A (en) * 2018-01-30 2018-08-21 中经社控股有限公司 Container dispositions method and device, computer storage media, terminal
CN108563505A (en) * 2018-04-04 2018-09-21 上海有云信息技术有限公司 A kind of service chaining method of combination, device, server and storage medium
CN108762769A (en) * 2018-06-04 2018-11-06 万惠投资管理有限公司 Micro services application layout and dispositions method, device and terminal
CN109062655A (en) * 2018-06-05 2018-12-21 腾讯科技(深圳)有限公司 A kind of containerization cloud platform and server

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923250A (en) * 2020-07-07 2022-01-11 华为技术有限公司 Method, device and system for assisting network service arrangement
CN113312083A (en) * 2020-07-14 2021-08-27 阿里巴巴集团控股有限公司 Application generation method, device and equipment
CN113312083B (en) * 2020-07-14 2024-01-23 阿里巴巴集团控股有限公司 Application generation method, device and equipment
CN111913721A (en) * 2020-07-16 2020-11-10 中国民航信息网络股份有限公司 Automatic deployment method, device, equipment and storage medium
CN112003931A (en) * 2020-08-21 2020-11-27 济南浪潮数据技术有限公司 Method and system for deploying scheduling controller and related components
CN112003931B (en) * 2020-08-21 2023-04-18 济南浪潮数据技术有限公司 Method and system for deploying scheduling controller and related components
WO2022048179A1 (en) * 2020-09-01 2022-03-10 北京京东尚科信息技术有限公司 Method and apparatus for updating cloud platform
CN114363400A (en) * 2020-09-30 2022-04-15 电科云(北京)科技有限公司 Application arrangement method and device based on cloud platform and computer readable storage medium
CN113064578A (en) * 2021-03-17 2021-07-02 上海浦东发展银行股份有限公司 Application arranging method, system, equipment and storage medium based on dragging technology

Also Published As

Publication number Publication date
CN111274000B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN111274000B (en) Service arrangement method and device, electronic equipment and storage medium
US10705942B1 (en) Simulated testing of API
US9430207B1 (en) Automated cross-platform native mobile application generation with cloud driven user interface and workflow synthesis
US10831453B2 (en) Connectors framework
US11449348B2 (en) Pre/post deployment customization
US9619122B2 (en) Method and apparatus for automatic device program generation
US20120230587A1 (en) Systems and methods for testing content of mobile communication devices
WO2018036342A1 (en) Csar-based template design visualization method and device
US20160380915A1 (en) Rules-Based Workflow Messaging
CN106911500B (en) Physical machine configuration method and device and physical machine
CN105224302B (en) Skin processing method of input method and input method system
CN110708202A (en) Configuration method, device and equipment of plug-in node and storage medium
CN109286517B (en) Method, device and storage medium for creating service and electronic equipment
CN111580712B (en) Desktop customization method, device, equipment, system and storage medium
US10268456B2 (en) Standardized approach to contextual code identification in editors and IDEs
KR20170016362A (en) Converting presentation metadata to a browser-renderable format during compilation
CN108121578B (en) Method and device for generating application program, storage medium and electronic equipment
CN111435328B (en) Application testing method and device, electronic equipment and readable storage medium
CN107370794B (en) Method and device for publishing theme data
CN112860247A (en) Custom generation method, device, equipment and medium for model component
CN114077437A (en) Integrated management method, device and system for artificial intelligence application
CN117270956B (en) Configuration method of hardware equipment, client, hardware equipment network management system and medium
CN110888711A (en) Defect management method, defect management apparatus, and readable storage medium
CN112398889A (en) Operation method and device of cloud service and electronic equipment
CN110392105B (en) File transmission method, device and system, electronic equipment and storage medium

Legal Events

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