CN105975277A - Template-based mixed cloud elastic telescoping set building method - Google Patents
Template-based mixed cloud elastic telescoping set building method Download PDFInfo
- Publication number
- CN105975277A CN105975277A CN201610306500.7A CN201610306500A CN105975277A CN 105975277 A CN105975277 A CN 105975277A CN 201610306500 A CN201610306500 A CN 201610306500A CN 105975277 A CN105975277 A CN 105975277A
- Authority
- CN
- China
- Prior art keywords
- resource
- template
- cloud
- definition
- elastic telescopic
- 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
- 238000000034 method Methods 0.000 title abstract description 7
- 238000010276 construction Methods 0.000 claims description 12
- 238000009415 formwork Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 206010008190 Cerebrovascular accident Diseases 0.000 description 2
- 208000006011 Stroke Diseases 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a template-based mixed cloud elastic telescoping set building method comprising the following steps: template structure model definition, resource type interface definition and resource type expansion realization; the method comprises the steps of: describing the elastic telescoping set, related resource embodiments, and relations between the embodiments according to a structural model defined template; using template parsing and cloud platform interface invoking to build defined resources in corresponding cloud environments, and building relations between the resource embodiments; invoking resource types corresponding to realizing cloud platform interface to build the elastic telescoping set and a corresponding cloud host, telescoping strategies and alarm resources. The template-based mixed cloud elastic telescoping set building method can fast customize telescoping set definition, one definition can be applied in many times, and the method can satisfy different cloud environment demands, thus helping resource autonomous description, and increasing resource realization scalability .
Description
Technical field
The present invention relates to the elastic calculation technical field in cloud computing technology, particularly to a kind of mixed cloud elastic telescopic group construction method based on template.
Background technology
At present, cloud computing progressively tends to ripe and widely used in all trades and professions.Under the promotion of many cloud computing manufacturers and community, the operation system in government or industry is the most progressively moved into and is run in cloud platform.Make the bottom in cloud platform calculate, store, the resource such as network is fully utilized, and can distribute according to the dynamic adjustresources of the feature of business.Under these circumstances, the well-known IaaS cloud platform such as the circumstances that cloud market is carved up by multiple commercial vendors or community, particularly Open Stack, Vmware are presented.So polytype cloud environment situation about depositing often occur, and in terms of elastic calculation, there is no industry standard interfaces.Rapid build elastic telescopic group, support mixed cloud become the demand of most of cloud platform user, so in different types of cloud platform, how can providing a kind of structure elastic telescopic prescription method unified, quick, become urgent problem.
For the problems referred to above, the present invention proposes a kind of mixed cloud elastic telescopic group construction method based on template.It is intended to by the way of template, simplifies the building process of elastic telescopic group, and the cloud main frame that can stretch in different types of cloud environment.
Summary of the invention
The present invention is in order to make up the defect of prior art, it is provided that a kind of simple efficient mixed cloud elastic telescopic group construction method based on template.
The present invention is achieved through the following technical solutions:
A kind of mixed cloud elastic telescopic group construction method based on template, it is characterised in that: include that formwork structure model, the extension of resource type interface definition and resource type realize three parts;Template based on structural model definition, relation between elastic telescopic group and related resource example and example is described, again by template parsing, cloud platform interface interchange, the resource of definition is created in corresponding cloud environment, and set up the relation between resource instances, call the cloud platform interface during resource type correspondence realizes and create elastic telescopic group example and corresponding cloud main frame, flexible strategy and alarm resource.
The template of described structural model definition meets YAML format specification, and the content of definition includes parameter, resource and output three parts;Described parameter is to need the variable part in incoming parameter, i.e. template when calling this template and building elastic telescopic group example;Described resource refers to the object built, and at least includes elastic telescopic group resource, cloud host resource, flexible Policies Resource and alarm resource;After described output refers to that resource is fabricated, feed back to the content of caller.
Having between described resource and comprise or call relation, described elastic telescopic group resource comprises cloud host resource, and flexible strategy calls flexible group data, the flexible strategy of alarm resource transfer.
Described resource type interface definition, is to extract resource type model according to the classification of resource, and the parameter of various resources and attribute, life cycle is as the foundation of resource classification;Analyze the characteristic of cloud resource and general character, sum up the life cycle general character of resource instances and access parameter and the feature of output attribute, the general-purpose interface of definition resource type, and describe corresponding with the resource type in template.
The extension of described resource type realizes, it is for different types of cloud environment, carry out mapping and assembling by the data parsed in template instances, it is converted into the parameter format that the provided API of cloud environment requires, its API externally provided is provided, realize the general-purpose interface of resource type, and the title of User Defined Resource type is corresponding with the resource description in template, it is achieved the support to mixed cloud.
Increase the support to a kind of cloud environment, it is only necessary to the extension increasing a kind of resource type realizes.The resource operation API of cloud environment external disclosure is packaged into SDK, then goes to call by the apoplexy due to endogenous wind that realizes of resource type interface.
The invention has the beneficial effects as follows: be somebody's turn to do mixed cloud elastic telescopic group construction method based on template, mode based on template, it is possible to fast custom flexible group definition, reach once to define, nonexpondable effect;Extraction resource type interface, defines unified interface implementations simultaneously, additionally it is possible to meet the demand of the different cloud environment of docking;And in the realization of resource, describe parameter required during resource lifecycle operation and be available for the attribute that other resources use, it is of value to the autonomous description of resource, increases the extensibility that resource realizes.
Detailed description of the invention
In order to make the technical problem to be solved, technical scheme and beneficial effect clearer, below in conjunction with embodiment, the present invention will be described in detail.It should be noted that, specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
Being somebody's turn to do mixed cloud elastic telescopic group construction method based on template, including formwork structure model, the extension of resource type interface definition and resource type realizes three parts;Template based on structural model definition, relation between elastic telescopic group and related resource example and example is described, again by template parsing, cloud platform interface interchange, the resource of definition is created in corresponding cloud environment, and set up the relation between resource instances, call the cloud platform interface during resource type correspondence realizes and create elastic telescopic group example and corresponding cloud main frame, flexible strategy and alarm resource.
The template of described structural model definition meets YAML format specification, and the content of definition includes parameter, resource and output three parts;Described parameter is to need the variable part in incoming parameter, i.e. template when calling this template and building elastic telescopic group example;Described resource refers to the object built, and at least includes elastic telescopic group resource, cloud host resource, flexible Policies Resource and alarm resource;After described output refers to that resource is fabricated, feed back to the content of caller.
Parameter, is interacted by parameter and attribute between resource and three modules of output.In resource, directly use the data in parameter, the most directly transfer the attribute of establishing resource in template.
Having between described resource and comprise or call relation, described elastic telescopic group resource comprises cloud host resource, and flexible strategy calls flexible group data, the flexible strategy of alarm resource transfer.
Described resource type interface definition, is to extract resource type model according to the classification of resource, and the parameter of various resources and attribute, life cycle is as the foundation of resource classification;Analyze the characteristic of cloud resource and general character, sum up the life cycle general character of resource instances and access parameter and the feature of output attribute, the general-purpose interface of definition resource type, and describe corresponding with the resource type in template.
Lifecycle operation includes: creates create (), updates update (), time-out suspend (), recovery resume () and delete delete ().Because defined resource is when performing these operations, possibly cannot return result in real time, so each interface also needs the interface whether a corresponding detection operation completes.Additionally need an interface, realize for describing the coupling of this resource type.
Owing to the parameter format needed for different cloud environments, its API externally exposed has greatly difference, so being difficult to extract identical attribute to cover the parameter of API.Thus present invention employing is exactly the self-defining mode of resource, i.e. which attribute is resource need, and accepts which kind of parameter, the realization of resource type determine.
The extension of described resource type realizes, it is for different types of cloud environment, carry out mapping and assembling by the data parsed in template instances, it is converted into the parameter format that the provided API of cloud environment requires, its API externally provided is provided, realize the general-purpose interface of resource type, and the title of User Defined Resource type is corresponding with the resource description in template, it is achieved the support to mixed cloud.
Increase the support to a kind of cloud environment, it is only necessary to the extension increasing a kind of resource type realizes.The resource operation API of cloud environment external disclosure is packaged into SDK, then goes to call by the apoplexy due to endogenous wind that realizes of resource type interface.
Claims (5)
1. a mixed cloud elastic telescopic group construction method based on template, it is characterised in that: include that formwork structure model, the extension of resource type interface definition and resource type realize three parts;Template based on structural model definition, relation between elastic telescopic group and related resource example and example is described, again by template parsing, cloud platform interface interchange, the resource of definition is created in corresponding cloud environment, and set up the relation between resource instances, call the cloud platform interface during resource type correspondence realizes and create elastic telescopic group example and corresponding cloud main frame, flexible strategy and alarm resource.
Mixed cloud elastic telescopic group construction method based on template the most according to claim 1, it is characterised in that: the template of described structural model definition meets YAML format specification, and the content of definition includes parameter, resource and output three parts;Described parameter is to need the variable part in incoming parameter, i.e. template when calling this template and building elastic telescopic group example;Described resource refers to the object built, and at least includes elastic telescopic group resource, cloud host resource, flexible Policies Resource and alarm resource;After described output refers to that resource is fabricated, feed back to the content of caller.
Mixed cloud elastic telescopic group construction method based on template the most according to claim 2, it is characterized in that: have between described resource and comprise or call relation, described elastic telescopic group resource comprises cloud host resource, and flexible strategy calls flexible group data, the flexible strategy of alarm resource transfer.
Mixed cloud elastic telescopic group construction method based on template the most according to claim 1, it is characterized in that: described resource type interface definition, being to extract resource type model according to the classification of resource, the parameter of various resources and attribute, life cycle is as the foundation of resource classification;Analyze the characteristic of cloud resource and general character, sum up the life cycle general character of resource instances and access parameter and the feature of output attribute, the general-purpose interface of definition resource type, and describe corresponding with the resource type in template.
Mixed cloud elastic telescopic group construction method based on template the most according to claim 1, it is characterized in that: the extension of described resource type realizes, it is for different types of cloud environment, carry out mapping and assembling by the data parsed in template instances, it is converted into the parameter format that the provided API of cloud environment requires, calls its API externally provided, it is achieved the general-purpose interface of resource type, and the title of User Defined Resource type is corresponding with the resource description in template, it is achieved the support to mixed cloud.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610306500.7A CN105975277A (en) | 2016-05-11 | 2016-05-11 | Template-based mixed cloud elastic telescoping set building method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610306500.7A CN105975277A (en) | 2016-05-11 | 2016-05-11 | Template-based mixed cloud elastic telescoping set building method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975277A true CN105975277A (en) | 2016-09-28 |
Family
ID=56992020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610306500.7A Pending CN105975277A (en) | 2016-05-11 | 2016-05-11 | Template-based mixed cloud elastic telescoping set building method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975277A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234231A (en) * | 2016-12-22 | 2018-06-29 | 阿里巴巴集团控股有限公司 | The method, apparatus and electronic equipment of elastic telescopic arrangement in cloud computing environment |
CN109561147A (en) * | 2018-11-30 | 2019-04-02 | 武汉烽火信息集成技术有限公司 | A kind of isomery cloud management method and system, isomery cloud management system constituting method |
CN110427250A (en) * | 2019-07-30 | 2019-11-08 | 无锡华云数据技术服务有限公司 | Create cloud host instances, the method, apparatus of elastic telescopic group, equipment and medium |
CN111858037A (en) * | 2020-06-30 | 2020-10-30 | 苏州浪潮智能科技有限公司 | Service arranging method, device, equipment and storage medium of physical machine |
CN112685179A (en) * | 2020-12-28 | 2021-04-20 | 跬云(上海)信息科技有限公司 | Resource deployment system and method based on cost on cloud |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103957270A (en) * | 2014-05-12 | 2014-07-30 | 武大吉奥信息技术有限公司 | Cloud atomic unit delivery and deployment method and device |
CN104813614A (en) * | 2012-12-03 | 2015-07-29 | 惠普发展公司,有限责任合伙企业 | Asynchronous Framework For Management Of IAAS |
-
2016
- 2016-05-11 CN CN201610306500.7A patent/CN105975277A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104813614A (en) * | 2012-12-03 | 2015-07-29 | 惠普发展公司,有限责任合伙企业 | Asynchronous Framework For Management Of IAAS |
CN103957270A (en) * | 2014-05-12 | 2014-07-30 | 武大吉奥信息技术有限公司 | Cloud atomic unit delivery and deployment method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234231A (en) * | 2016-12-22 | 2018-06-29 | 阿里巴巴集团控股有限公司 | The method, apparatus and electronic equipment of elastic telescopic arrangement in cloud computing environment |
CN108234231B (en) * | 2016-12-22 | 2021-09-10 | 阿里巴巴集团控股有限公司 | Elastic expansion configuration method and device in cloud computing environment and electronic equipment |
CN109561147A (en) * | 2018-11-30 | 2019-04-02 | 武汉烽火信息集成技术有限公司 | A kind of isomery cloud management method and system, isomery cloud management system constituting method |
CN110427250A (en) * | 2019-07-30 | 2019-11-08 | 无锡华云数据技术服务有限公司 | Create cloud host instances, the method, apparatus of elastic telescopic group, equipment and medium |
CN111858037A (en) * | 2020-06-30 | 2020-10-30 | 苏州浪潮智能科技有限公司 | Service arranging method, device, equipment and storage medium of physical machine |
CN111858037B (en) * | 2020-06-30 | 2023-07-14 | 苏州浪潮智能科技有限公司 | Service arrangement method, device and equipment of physical machine and storage medium |
US11861428B2 (en) | 2020-06-30 | 2024-01-02 | Inspur Suzhou Intelligent Technology Co., Ltd. | Service orchestration method, apparatus and device for physical machine, and storage medium |
CN112685179A (en) * | 2020-12-28 | 2021-04-20 | 跬云(上海)信息科技有限公司 | Resource deployment system and method based on cost on cloud |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975277A (en) | Template-based mixed cloud elastic telescoping set building method | |
CN112988499B (en) | Data processing method and device, electronic equipment and storage medium | |
US10452402B2 (en) | Operation instruction response control method and terminal for human-machine interface | |
CN107526645A (en) | A kind of communication optimization method and system | |
CN102004790A (en) | Method for exporting high-throughput data report | |
WO2020248383A1 (en) | Cross-platform-based data processing method and apparatus, and computer device | |
WO2023065707A1 (en) | Method and apparatus for page display | |
CN105631019A (en) | Metadata extension method and device | |
CN114911598A (en) | Task scheduling method, device, equipment and storage medium | |
US11269611B2 (en) | Data interface processing method, device, server and medium | |
CN102945264B (en) | Method for intelligently starting distributed transaction | |
CN112835615B (en) | Plug-in processing method and device for software development kit and electronic equipment | |
CN109739872A (en) | A kind of implementation method, system and the operating method of SQL statement processing | |
CN112925586A (en) | Applet routing method, device, computer equipment and storage medium | |
CN109614096B (en) | Method for converting use cases and activities in modeling process based on UML (unified modeling language) requirements | |
CN104133669B (en) | A kind of control method and terminal device of desktop application | |
US9239720B2 (en) | Device and method for generating application model based on layered structure | |
CN109739548A (en) | Program packaging method, program packing apparatus and computer readable storage medium | |
CN113852718B (en) | Voice channel establishing method and device, electronic equipment and storage medium | |
CN109933335A (en) | The plug-in method of additions and deletions functional characteristic under a kind of mixed developing mode | |
CN103914304A (en) | Method for converting different structure type parameters on basis of SAP (service access point) platforms | |
CN102096622A (en) | Event driven-based method and system for timely acquiring process information in system | |
CN109684329B (en) | Resource management method based on data center equipment | |
CN103777998B (en) | A kind of efficient call method of built-up pattern component | |
US9338248B2 (en) | Parameter driven value conversion framework in client/server architectures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160928 |