CN108920180A - A kind of creation method and server of service orchestration template - Google Patents
A kind of creation method and server of service orchestration template Download PDFInfo
- Publication number
- CN108920180A CN108920180A CN201810594581.4A CN201810594581A CN108920180A CN 108920180 A CN108920180 A CN 108920180A CN 201810594581 A CN201810594581 A CN 201810594581A CN 108920180 A CN108920180 A CN 108920180A
- Authority
- CN
- China
- Prior art keywords
- resource
- layout
- service orchestration
- attribute
- layout resource
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses the creation method and server of a kind of service orchestration template, this method includes:Detect one or more layout resources of sketchpad section addition of the user on preset service orchestration substrate interface, and the corresponding relevant parameter of attribute about added layout resource filled in sketchpad section;The attribute of the corresponding layout resource and corresponding layout resource that store in preset database is transferred according to the attribute of the layout resource of addition and layout resource;According to the relevant parameter and the attribute of the corresponding layout resource and corresponding layout resource transferred, service orchestration template is automatically created by preset orchestration engine.By the example scheme, a large amount of learning cost and operating time are saved, improves interactive hommization.
Description
Technical field
The present embodiments relate to cloud management technology, the espespecially a kind of creation method and server of service orchestration template.
Background technique
In the cloud management platform based on Openstack (cloud computing of open source manages paralell), creation general at present
The method of the service orchestration template still method by writing a kind of yaml (data express language) file, this method is for making
Certain technical threshold is needed for user, it is to be understood that a large amount of template grammar and parameter and use very not friendly
It is good, modification parameter is wanted every time and just needs to rewrite template, and very cumbersome, user experience is poor.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of creation method kimonos of service orchestration template
Business device, can save a large amount of learning cost and operating time, improve interactive hommization.
In order to reach the object of the invention, the embodiment of the invention provides a kind of creation method of service orchestration template, the party
Method may include:
One or more layout resources of sketchpad section addition of the user on preset service orchestration substrate interface are detected,
And the corresponding relevant parameter of attribute about added layout resource filled in sketchpad section;
The corresponding volume stored in preset database is transferred according to the attribute of the layout resource of addition and layout resource
Arrange the attribute of resource and corresponding layout resource;
According to the relevant parameter and the attribute of the corresponding layout resource and corresponding layout resource transferred, by default
Orchestration engine automatically create service orchestration template.
Optionally, service orchestration substrate interface includes sketchpad section and resource part;
This method can also include:
The drag operation of user is detected, and the layout resource that user is pulled is added to sketchpad section from resource part;
After layout resource is added to sketchpad section, the attribute of added layout resource is shown in sketchpad section,
So that user fills in the relevant parameter.
Optionally, sketchpad section is for carrying out personal settings before creating service orchestration template;
Resource part is for placing layout resource identification corresponding with a variety of layout resources stored in database.
Optionally, layout resource identification may include:Resource picture.
Optionally, this method can also include:
When there are when incidence relation, showing filling in for incidence relation in sketchpad section between added multiple layout resources
Window, so that user fills between multiple layout resources, there are incidence relations;
When transferring the attribute of corresponding layout resource and corresponding layout resource from database, transferred from database
The incidence relation;
According to relevant parameter and the attribute and incidence relation of the corresponding layout resource, corresponding layout resource transferred,
Service orchestration template is automatically created by preset orchestration engine.
Optionally, automatically creating service orchestration template by preset orchestration engine includes:
The incidence relation between layout resource, the attribute of layout resource and layout resource is parsed by orchestration engine
Corresponding yaml format, to generate the service orchestration template for meeting system requirements.
Optionally, this method can also include:In advance by a variety of layout resources, layout needed for creation service orchestration template
Incidence relation between the attribute and layout resource of resource is stored into database.
Optionally, database includes:Resource resource table, attribute properties table and relationship relation table;
Resource table is for saving layout resource;
Properties table is used to save the attribute of layout resource;
Relation table is used to save the incidence relation of layout resource.
Optionally, layout resource includes one or more of:Cloud host, volume, network, firewall and secure group;
The attribute of cloud host includes one or more of:Cloud Hostname, specification size, mirror image used and remarks.
In order to reach the object of the invention, the embodiment of the invention also provides a kind of servers, including processor and computer
Readable storage medium storing program for executing is stored with instruction in computer readable storage medium, when the instruction is executed by processor, realizes above-mentioned
The creation method of service orchestration template.
The embodiment of the present invention includes:Detect the one of sketchpad section addition of the user on preset service orchestration substrate interface
Kind or a variety of layout resources, and in the corresponding related ginseng of the attribute about added layout resource that sketchpad section is filled in
Number;The corresponding layout resource stored in preset database is transferred according to the attribute of the layout resource of addition and layout resource
With the attribute of corresponding layout resource;According to the relevant parameter and the corresponding layout resource and corresponding layout resource transferred
Attribute, service orchestration template is automatically created by preset orchestration engine.By the example scheme, a large amount of is saved
Cost and operating time are practised, interactive hommization is improved.
The other feature and advantage of the embodiment of the present invention will illustrate in the following description, also, partly from explanation
It is become apparent in book, or understand through the implementation of the invention.The purpose of the embodiment of the present invention and other advantages can pass through
Specifically noted structure is achieved and obtained in the specification, claims and drawings.
Detailed description of the invention
Attached drawing is used to provide one for further understanding technical solution of the embodiment of the present invention, and constituting specification
Point, it is used to explain the present invention the technical solution of embodiment together with embodiments herein, does not constitute to the embodiment of the present invention
The limitation of technical solution.
Fig. 1 is the creation method flow chart of the service orchestration template of the embodiment of the present invention;
Fig. 2 is the server composition block diagram of the embodiment of the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing pair
The embodiment of the present invention is described in detail.It should be noted that in the absence of conflict, embodiment and reality in the application
The feature applied in example can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
In order to reach the object of the invention, the embodiment of the invention provides a kind of creation method of service orchestration template, such as Fig. 1
Shown, this method may include S101-S103:
One or more layouts of the sketchpad section addition of S101, detection user on preset service orchestration substrate interface
Resource, and the corresponding relevant parameter of attribute about added layout resource filled in sketchpad section.
In embodiments of the present invention, based on a kind of patterned creation of the service orchestration module design in openstack
The method of service orchestration template, user only need on preset service orchestration substrate interface by pulling related resource picture
Method produces corresponding service orchestration template.Openstack:The cloud computing of one open source manages paralell.
Optionally, this method can also include:
The drag operation of user is detected, and the layout resource that user is pulled is added to sketchpad section from resource part;
After layout resource is added to sketchpad section, the attribute of added layout resource is shown in sketchpad section,
So that user fills in the relevant parameter.
Optionally, which may include sketchpad section and resource part;
Sketchpad section is for carrying out personal settings before creating service orchestration template;
Resource part is for placing layout resource identification corresponding with a variety of layout resources stored in database.
In embodiments of the present invention, user can pull corresponding layout resource according to demands of individuals into sketchpad section,
And the relevant parameter in the attribute of layout resource is filled according to demands of individuals, to realize the personal settings of service orchestration template.
In embodiments of the present invention, resource part can place a variety of layouts money that creation service orchestration template may be used
Source is selected for user, these layout resources need to be stored in advance in preset database, and resource part is only placed and this
The corresponding layout resource identification of a little layout resources.
Optionally, which may include:Resource picture.
In embodiments of the present invention, user is when in use, it is only necessary to the money of relevant layout resource is pulled to sketchpad section
Source picture, and the value (i.e. relevant parameter) of association attributes is filled in as required.
S102, transferred according to the layout resource of addition and the attribute of layout resource stored in preset database it is corresponding
Layout resource and corresponding layout resource attribute.
Optionally, this method can also include:In advance by a variety of layout resources, layout needed for creation service orchestration template
Incidence relation between the attribute and layout resource of resource is stored into database.
Optionally, database includes:Resource resource table, attribute properties table and relationship relation table;
Resource table is for saving layout resource;
Properties table is used to save the attribute of layout resource;
Relation table is used to save the incidence relation of layout resource.
Optionally, layout resource includes one or more of:Cloud host, volume, network, firewall and secure group;
The attribute of cloud host includes one or more of:Cloud Hostname, specification size, mirror image used and remarks.
In embodiments of the present invention, it is based on patterned service orchestration template establishment method, it can be by service orchestration template
Three kinds of contents of incidence relation of layout resource, the attribute of layout resource and layout resource are resolved to, and are initialised to database
In.It can be pre-designed three tables in the database, resource table can be used to save specifically have which layout resource, such as cloud
Host, volume, network, firewall, secure group etc.;Relation table can be used to save the relationship between layout resource, that is, compile
Arrange the incidence relation of resource;Properties table can be used to save the attribute of layout resource, and resource can be with such as cloud host
With attributes such as cloud Hostname, specification size, mirror image used, remarks.
It in embodiments of the present invention, can be direct when creating service orchestration template after creating above-mentioned database
Clothes are automatically created in the attribute that the personal settings of sketchpad section transfer corresponding layout resource and layout resource according to user
Business layout template.Learning time and the creation time of user is greatly saved, and realizes the personalized creation of user.
S103, according to the relevant parameter and the attribute of the corresponding layout resource and corresponding layout resource transferred, lead to
It crosses preset orchestration engine and automatically creates service orchestration template.
Optionally, automatically creating service orchestration template by preset orchestration engine may include:
The incidence relation between layout resource, the attribute of layout resource and layout resource is parsed by orchestration engine
Corresponding yaml format, to generate the service orchestration template for meeting system requirements.
In embodiments of the present invention, layout template is generated by way of towed, user is in service orchestration substrate interface
On by service orchestration stencil design it is good after, relevant information can be transmitted to by system background by acknowledgement key etc., be in the background
System can be automatically processed according to layout resource, attribute etc., be converted into the yaml file format that cloud management platform can identify
Service orchestration template.
Optionally, this method can also include:
When there are when incidence relation, showing filling in for incidence relation in sketchpad section between added multiple layout resources
Window, so that user fills between multiple layout resources, there are incidence relations;
When transferring the attribute of corresponding layout resource and corresponding layout resource from database, transferred from database
The incidence relation;
According to relevant parameter and the attribute and incidence relation of the corresponding layout resource, corresponding layout resource transferred,
Service orchestration template is automatically created by preset orchestration engine.
In embodiments of the present invention, when, there are when incidence relation, user also needs between added multiple layout resources
Incidence relation between sketchpad section addition layout resource.That is, when user needs to create service orchestration template, it is only necessary to
Sketchpad section pulls the resource picture of relevant layout resource, and fill in as required association attributes value (i.e. relevant parameter) and
Interrelated (precondition, two layout resources between can be interrelated) between each layout resource.System can
To be parsed into corresponding yaml format according to layout resource, attribute and incidence relation, to be created that the clothes for meeting system requirements
Business layout template.
In embodiments of the present invention, the application is a kind of graphical based on the service orchestration module design in openstack
Creation service orchestration template method.User, which only needs to carry out on service orchestration substrate interface the operation such as to pull, can be completed
The creation of one service orchestration template saves a large amount of learning cost and operating time, improves interactive hommization, and
And it can only need to extend backstage with Openstac module seamless interfacing, when extension and layout resource image is switched into yaml text
Logic, it is not necessary to be concerned about that the logic of Openstack bottom changes, reduce the cost of extension, improve development efficiency.
In order to reach the object of the invention, the embodiment of the invention also provides a kind of servers 1, as shown in Fig. 2, including processing
Device 11 and computer readable storage medium 12 are stored with instruction in computer readable storage medium 12, when the instruction is by processor
When 11 execution, the creation method of above-mentioned service orchestration template is realized.
The embodiment of the present invention includes:Detect the one of sketchpad section addition of the user on preset service orchestration substrate interface
Kind or a variety of layout resources, and in the corresponding related ginseng of the attribute about added layout resource that sketchpad section is filled in
Number;The corresponding layout resource stored in preset database is transferred according to the attribute of the layout resource of addition and layout resource
With the attribute of corresponding layout resource;According to the relevant parameter and the corresponding layout resource and corresponding layout resource transferred
Attribute, service orchestration template is automatically created by preset orchestration engine.By the example scheme, a large amount of is saved
Cost and operating time are practised, interactive hommization is improved.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Claims (10)
1. a kind of creation method of service orchestration template, which is characterized in that the method includes:
One or more layout resources of sketchpad section addition of the user on preset service orchestration substrate interface are detected, and
In the corresponding relevant parameter of attribute about added layout resource that the sketchpad section is filled in;
Transferred according to the attribute of the layout resource of addition and the layout resource stored in preset database it is corresponding
Layout resource and corresponding layout resource attribute;
According to the relevant parameter and the attribute of the corresponding layout resource and corresponding layout resource transferred, by pre-
If orchestration engine automatically create service orchestration template.
2. the creation method of service orchestration template according to claim 1, which is characterized in that service orchestration template circle
Face includes the sketchpad section and resource part;
The method also includes:
The drag operation of user is detected, and the layout resource that user is pulled is added to the drawing board portion from the resource part
Point;
After the layout resource is added to the sketchpad section, added layout resource is shown in the sketchpad section
Attribute, so that user fills in the relevant parameter.
3. the creation method of service orchestration template according to claim 2, which is characterized in that
The sketchpad section is for carrying out personal settings before creating the service orchestration template;
The resource part is for placing layout resource identification corresponding with a variety of layout resources stored in the database.
4. the creation method of service orchestration template according to claim 3, which is characterized in that the layout resource identification packet
It includes:Resource picture.
5. the creation method of service orchestration template according to claim 1, which is characterized in that the method also includes:
When, there are when incidence relation, showing the incidence relation in the sketchpad section between added multiple layout resources
Window is filled in, there are incidence relations so that user fills between multiple layout resources;
When transferring the attribute of corresponding layout resource and corresponding layout resource from the database, from the data
The incidence relation is transferred in library;
According to the attribute and the pass of the relevant parameter and the corresponding layout resource, corresponding layout resource transferred
Connection relationship automatically creates service orchestration template by preset orchestration engine.
6. the creation method of service orchestration template according to claim 5, which is characterized in that described to pass through preset layout
Engine automatically creates service orchestration template:
By the orchestration engine by the layout resource, the layout resource attribute and the layout resource between pass
Join relation decomposing at corresponding yaml format, to generate the service orchestration template for meeting system requirements.
7. the creation method of service orchestration template according to claim 1, which is characterized in that the method also includes:In advance
First by the attribute for creating a variety of layout resources, the layout resource needed for the service orchestration template and the layout resource
Between incidence relation store into the database.
8. the creation method of service orchestration template according to claim 7, which is characterized in that the database includes:Money
Source resource table, attribute properties table and relationship relation table;
The resource table is for saving the layout resource;
The properties table is used to save the attribute of the layout resource;
The relation table is used to save the incidence relation of the layout resource.
9. the creation method of service orchestration template according to claim 8, which is characterized in that
The layout resource includes one or more of:Cloud host, volume, network, firewall and secure group;
The attribute of the cloud host includes one or more of:Cloud Hostname, specification size, mirror image used and remarks.
10. a kind of server, including processor and computer readable storage medium, stored in the computer readable storage medium
There is instruction, which is characterized in that when described instruction is executed by the processor, realize as described in claim 1-9 any one
Service orchestration template creation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810594581.4A CN108920180A (en) | 2018-06-11 | 2018-06-11 | A kind of creation method and server of service orchestration template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810594581.4A CN108920180A (en) | 2018-06-11 | 2018-06-11 | A kind of creation method and server of service orchestration template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108920180A true CN108920180A (en) | 2018-11-30 |
Family
ID=64410894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810594581.4A Pending CN108920180A (en) | 2018-06-11 | 2018-06-11 | A kind of creation method and server of service orchestration template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108920180A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110531972A (en) * | 2019-09-05 | 2019-12-03 | 无锡华云数据技术服务有限公司 | The edit methods and device of resource layout Resource Properties |
CN110543302A (en) * | 2019-09-05 | 2019-12-06 | 无锡华云数据技术服务有限公司 | Input method and device for input parameters in resource arrangement process |
CN111475153A (en) * | 2020-03-10 | 2020-07-31 | 陈莉 | Cloud resource mixed arrangement system and method based on graphical technology |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007323A (en) * | 2015-07-22 | 2015-10-28 | 上海斐讯数据通信技术有限公司 | System and method for arranging cloud resources |
WO2017071266A1 (en) * | 2015-10-27 | 2017-05-04 | 华为技术有限公司 | Service and resource orchestration system, method and device |
CN107070705A (en) * | 2017-03-23 | 2017-08-18 | 无锡华云数据技术服务有限公司 | A kind of method of combination of cloud resource |
-
2018
- 2018-06-11 CN CN201810594581.4A patent/CN108920180A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007323A (en) * | 2015-07-22 | 2015-10-28 | 上海斐讯数据通信技术有限公司 | System and method for arranging cloud resources |
WO2017071266A1 (en) * | 2015-10-27 | 2017-05-04 | 华为技术有限公司 | Service and resource orchestration system, method and device |
CN107070705A (en) * | 2017-03-23 | 2017-08-18 | 无锡华云数据技术服务有限公司 | A kind of method of combination of cloud resource |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110531972A (en) * | 2019-09-05 | 2019-12-03 | 无锡华云数据技术服务有限公司 | The edit methods and device of resource layout Resource Properties |
CN110543302A (en) * | 2019-09-05 | 2019-12-06 | 无锡华云数据技术服务有限公司 | Input method and device for input parameters in resource arrangement process |
CN110531972B (en) * | 2019-09-05 | 2024-02-06 | 无锡华云数据技术服务有限公司 | Editing method and device for resource arrangement resource attribute |
CN111475153A (en) * | 2020-03-10 | 2020-07-31 | 陈莉 | Cloud resource mixed arrangement system and method based on graphical technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10825088B2 (en) | Contract generation method and apparatus, server and storage medium | |
CN105069118B (en) | A kind of application scenarios management method and system based on GIS configurations | |
WO2020063019A1 (en) | Information processing method, device, storage medium, electronic device and system | |
US10671357B2 (en) | Preview changes to mobile applications at different display resolutions | |
CN107463418B (en) | Configuration file generation method and device for server middleware | |
US20120066577A1 (en) | Concurrent Editing of Online Drawings | |
TW201812613A (en) | 3d canvas web page element rendering method and apparatus, and electronic device | |
WO2020063031A1 (en) | Method and apparatus for processing structured data, and storage medium and electronic device | |
CN108920180A (en) | A kind of creation method and server of service orchestration template | |
MX2010011403A (en) | Techniques to modify a document using a latent transfer surface. | |
US11526954B2 (en) | User interface and smart contract interaction model for generating user interface representations | |
US20170293592A1 (en) | Dynamically formatting scalable vector graphics | |
CN108279882B (en) | Framework generation method, device, equipment and computer readable medium | |
CN115712413A (en) | Low code development method, device, equipment and storage medium | |
CN113076163A (en) | Card rendering method and device | |
CN111061541A (en) | Method, system, computer storage medium and terminal for creating virtual machine | |
CN107844465A (en) | A kind of method that OFD format files support script | |
CN110427505A (en) | A kind of method and apparatus that batch data imports image data base | |
CN107248947B (en) | Expression processing method and processing device, computer equipment and storage medium | |
WO2023169193A1 (en) | Method and device for generating smart contract | |
US20210374100A1 (en) | Recommending remotely executed applications for opening files | |
CN106055416B (en) | Method and device for data cross-application transfer | |
CN114548056A (en) | Rich text editing method, device and equipment | |
CN112926294A (en) | Template file generation method and device | |
CN109726382B (en) | Typesetting method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |