CN110795068A - Method and system for automatically generating executable scheme from user requirement in industry cloud environment - Google Patents

Method and system for automatically generating executable scheme from user requirement in industry cloud environment Download PDF

Info

Publication number
CN110795068A
CN110795068A CN201911116647.XA CN201911116647A CN110795068A CN 110795068 A CN110795068 A CN 110795068A CN 201911116647 A CN201911116647 A CN 201911116647A CN 110795068 A CN110795068 A CN 110795068A
Authority
CN
China
Prior art keywords
user
platform
user demand
information
file
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
CN201911116647.XA
Other languages
Chinese (zh)
Other versions
CN110795068B (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.)
Inner Mongolia University
Original Assignee
Inner Mongolia University
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 Inner Mongolia University filed Critical Inner Mongolia University
Publication of CN110795068A publication Critical patent/CN110795068A/en
Application granted granted Critical
Publication of CN110795068B publication Critical patent/CN110795068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a system for automatically generating an executable scheme from industry cloud environment user requirements, and relates to the technical field of computers. According to the invention, the user requirements are acquired according to the user requirement application form, and then the user requirement resources are acquired according to the user requirements. And performing satisfaction verification on the user demand resources and the platform current resource information, generating a deployment scheme based on the user demand resources and the platform current resource information after the satisfaction verification is passed, performing scripting on the deployment scheme to obtain a script file, and finally uploading the script file to a control node of an industry cloud platform. According to the invention, the service is combined with the bottom service of the cloud platform, a user does not need to know too much professional knowledge and only needs to complete the user requirement application form according to the requirement of the service, and the subsequent related operations are automatically completed by the system and the control node of the industry cloud platform, so that the working efficiency of generating the deployment scheme is improved.

Description

Method and system for automatically generating executable scheme from user requirement in industry cloud environment
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for automatically generating an executable scheme from industry cloud environment user requirements.
Background
The industry cloud is a cloud platform which is established and maintained by an organization playing a leading role or mastering key resources in an industry or a certain area, and provides paid or unpaid services for the interior or related organizations of the industry in a public or semi-public manner.
In order to ensure that different business production systems in the industry can run safely and reliably, a multi-level and large number of network partitions exist in an industry cloud data center. If sharing and flexible scheduling of IT resources of industry cloud, rapid deployment and delivery of IT resources can be realized, supporting business management is changed from extensive to fine, unit-based application and operation and maintenance are changed from past production planning type to active adaptation to market demands, more convenient information services such as e-government affairs and e-commerce are provided for users, requirements of unit internal management innovation, business innovation, application innovation and the like are met, and business transition expansion and IT management capacity improvement can be realized rapidly by industry organizations. In the existing method, a deployment scheme is generally generated and deployed through manual analysis according to user demand resources.
However, the manual generation of the deployment scheme is affected by human factors, so that the working efficiency is low.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a method and a system for automatically generating an executable scheme from industry cloud environment user requirements, and solves the technical problem of low working efficiency of generating a deployment scheme in the prior art.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme:
the invention provides a method for automatically generating an executable scheme from industry cloud environment user requirements, which is executed by a computer and comprises the following steps:
acquiring user requirements based on a user requirement application form;
acquiring user demand resources based on the user demand, and acquiring the existing resource information of the platform based on the html file;
performing satisfaction verification on the user demand resource based on the platform existing resource information, if the platform existing resource information is greater than or equal to the user demand resource, executing the next step, and if the platform existing resource information is less than the user demand resource, returning to obtain the user demand again;
generating a deployment scheme based on the user demand resources and the platform existing resource information;
automatically generating a script file which can be executed by an industry cloud platform based on the deployment scheme;
and uploading the script file to a control node of an industry cloud platform.
Preferably, the method for acquiring the resource required by the user comprises the following steps:
generating a user requirement file based on the user requirement;
classifying and summarizing the user demand files to obtain summarized files;
and acquiring the user demand resource based on the summary file.
Preferably, the method for generating the user requirement file comprises the following steps:
and converting the user requirement application form into a plurality of user requirement files, wherein each user requirement file is stored in an appointed path in an xml form.
Preferably, the method for obtaining the summary file includes:
the method comprises the steps of classifying a plurality of user demand files according to IaaS, PaaS and SaaS three-layer services, and summarizing the user demand files into one file to obtain a summarized file.
Preferably, the method for acquiring the resource required by the user comprises the following steps: and analyzing the summary file through Dom4j and XPath to obtain the user demand resource.
Preferably, the method for acquiring the existing resource information of the platform comprises:
crawling a webpage with platform resource data on an OpenStack Dasboard website and storing the webpage into a corresponding html file;
analyzing the html file to obtain the existing resource data information in the platform, and obtaining the existing resource information of the platform.
Preferably, the method for verifying the satisfiability comprises the following steps:
acquiring demand information in the user demand resources, wherein the demand information comprises: the number of CPUs, the size of a memory, a network IP and a DNS, comparing the required information with the existing resource information of the platform, and judging whether the number of CPUs and the size of the memory required by a user are in the existing resource range of the platform, whether an IP address is in the existing network domain range and whether the DNS is effective; when all the requirements are met, executing the next step; and if one or more requirements cannot be met, the user requirements are obtained again.
Preferably, the method for generating a deployment scenario includes:
acquiring the number of virtual machines required on the premise of meeting the user requirements through a virtual machine number calculation algorithm according to the verified user requirement resources;
acquiring the template information of the existing virtual machine in the OpenStack platform browser template based on the OpenStackRestful API, and determining the corresponding configuration information of the virtual machine by combining the number of the required virtual machines;
based on a virtual machine placement algorithm, calculating Euclidean distances of attributes between virtual machines and servers, arranging the Euclidean distances in a distance descending order, placing the virtual machines according to the distance descending order, and acquiring server information corresponding to the virtual machines;
and converting the demand information, the configuration information corresponding to the virtual machine and the server information in the demand resource into a deployment scheme in an xml form based on Java JAXB.
Preferably, the method for generating the script file executable by the industry cloud platform includes:
and automatically converting the xml deployment scheme into a Shell script file which can be executed by the platform.
The invention also provides an industry cloud environment user requirement to executable scheme automatic generation system, which comprises a computer, wherein the computer comprises:
at least one memory cell;
at least one processing unit;
wherein the at least one memory unit has stored therein at least one instruction that is loaded and executed by the at least one processing unit to perform the steps of:
acquiring user requirements based on a user requirement application form;
acquiring user demand resources based on the user demand, and acquiring the existing resource information of the platform based on the html file;
performing satisfaction verification on the user demand resource based on the platform existing resource information, if the platform existing resource information is greater than or equal to the user demand resource, executing the next step, and if the platform existing resource information is less than the user demand resource, returning to obtain the user demand again;
generating a deployment scheme based on the user demand resources and the platform existing resource information;
automatically generating a script file which can be executed by an industry cloud platform based on the deployment scheme;
and uploading the script file to a control node of an industry cloud platform.
(III) advantageous effects
The invention provides a method and a system for automatically generating an executable scheme from user requirements to an industry cloud environment. Compared with the prior art, the method has the following beneficial effects:
according to the invention, the user requirements are acquired according to the user requirement application form, and then the user requirement resources are acquired according to the user requirements. The method comprises the steps of performing satisfaction verification on user demand resources and platform existing resource information, generating a deployment scheme based on the user demand resources and the platform existing resource information after the satisfaction verification is passed, performing scripting on the deployment scheme to obtain a script file, and finally uploading the script file to a control node of an industry cloud platform. According to the invention, the service is combined with the bottom service of the cloud platform, a user does not need to know too much professional knowledge and only needs to complete the user requirement application form according to the requirement of the service, and the subsequent related operations are automatically completed by the system and the control node of the industry cloud platform, so that the working efficiency of generating the deployment scheme is improved, and the error rate caused by human factors can be effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a method for automatically generating an executable scenario from user requirements in an industry cloud environment according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating the generation of a user requirement file in this embodiment;
FIG. 3 is a diagram illustrating resource satisfaction verification in this embodiment;
fig. 4 is a schematic diagram of a deployment scenario in the form of xml in the present embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described, and it is obvious that the described embodiments are a part of the embodiments of the present invention, but 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 invention.
The method and the system for automatically generating the executable scheme from the user requirements to the industry cloud environment solve the problem that the existing method is low in efficiency of generating the deployment scheme, and achieve automatic generation of the deployment scheme, so that work efficiency is improved.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
according to the embodiment of the invention, the user requirements are acquired according to the user requirement application form, and then the user requirement resources are acquired according to the user requirements. The method comprises the steps of performing satisfaction verification on user demand resources and platform existing resource information, generating a deployment scheme based on the user demand resources and the platform existing resource information after the satisfaction verification is passed, performing scripting on the deployment scheme to obtain a script file, and finally uploading the script file to a control node of an industry cloud platform. According to the embodiment of the invention, the traditional manual deployment mode is abandoned, the service is combined with the bottom-layer service of the cloud platform, a user does not need to know too much professional knowledge and only needs to complete the user requirement application form according to the requirement of the service, and the subsequent related operations are automatically completed by the system and the control node of the industry cloud platform of the embodiment of the invention, so that the working efficiency of generating the deployment scheme is improved, and the error rate caused by human factors can be effectively reduced.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
The embodiment of the invention provides a method for automatically generating an executable scheme from user requirements to an industry cloud environment, which is executed by a computer, particularly, the method runs under a Windows system, and a generated script file is executed by a control node of an industry cloud platform, as shown in figure 1, the method comprises the following steps of S1-S6:
s1, acquiring user requirements based on the user requirement application form;
s2, acquiring user demand resources based on user demands, and acquiring the existing resource information of the platform based on the html file;
s3, performing satisfaction verification on the user required resources based on the platform existing resource information, if the platform existing resource information is larger than or equal to the user required resources, executing the next step, and if the platform existing resource information is smaller than the user required resources, returning to obtain the user requirements again;
s4, generating a deployment scheme based on the user demand resources and the platform existing resource information;
s5, automatically generating a script file which can be executed by the industry cloud platform based on the deployment scheme;
and S6, uploading the script file to a control node of an industry cloud platform.
According to the embodiment of the invention, the traditional manual deployment mode is abandoned, the service is combined with the bottom-layer service of the cloud platform, a user does not need to know too much professional knowledge and only needs to complete the user requirement application form according to the requirement of the service, the subsequent related operations are automatically completed by the computer executing the method of the embodiment of the invention, and the finally generated script file needs to be uploaded to the industry cloud platform to be automatically executed to complete the deployment work, so that the working efficiency of generating the deployment scheme is improved, and the error rate caused by human factors can be effectively reduced.
Each step is described in detail below.
In step S1, a user demand is acquired based on the user demand application form. The method specifically comprises the following steps:
in the embodiment of the invention, the number of the user requirement application tables is 5, and the user requirement application tables are filled according to the requirements of the user after the user logs in the industry cloud platform.
In step S2, the resource required by the user is obtained based on the user requirement, and the existing resource information of the platform is obtained based on the html file. The specific implementation process is as follows:
s201, generating a user requirement file based on the user requirement, as shown in FIG. 2. The method specifically comprises the following steps: and converting the 5 user requirement application tables into 5 user requirement files, wherein each user requirement file is stored in an appointed path in an xml form.
S202, classifying and summarizing the user demand files to obtain summarized files. The method specifically comprises the following steps: the 5 user demand files are classified according to three layers of services, namely IaaS (infrastructure as a Service), PaaS (Platform as a Service) and SaaS (Software as a Service), and are summarized in one file to obtain a summarized file.
And S203, acquiring the user demand resource based on the summary file. The method specifically comprises the following steps: and analyzing the summary file through Dom4j and XPath to obtain the user demand resource.
And S204, acquiring the existing resource information of the platform based on the html file. The method specifically comprises the following steps: and (4) crawling the webpage with the platform resource data on the OpenStack Dasboard website in a crawler mode and storing the webpage into a corresponding html file. Because the openstack dashboard website can regularly take off the line of the user, if the website is forced to take off the line, the relevant information cannot be crawled, so the information needs to be crawled and stored as an html file, and then the existing resource information of the platform is obtained by analyzing the html file.
In step S3, the satisfaction of the resource demanded by the user is verified based on the platform current resource information, if the platform current resource information is greater than or equal to the resource demanded by the user, the next step is executed, and if the platform current resource information is less than the resource demanded by the user, the step returns to reacquire the user demand, as shown in fig. 3. The specific implementation process is as follows:
the industry cloud platform obtains demand information in user demand resources, wherein the demand information comprises: the number of CPUs, the size of a memory, a network IP and a DNS, comparing the required information with the existing resource information of the platform, and judging whether the number of CPUs and the size of the memory required by a user are in the existing resource range of the platform, whether an IP address is in the existing network domain range and whether the DNS is effective; when all the requirements are satisfied, executing step S4; if one or more of the requirements cannot be met, the process returns to step S1, and returns information to the user to remind the user to re-fill the user requirement application form.
In step S4, a deployment scenario is generated based on the user demanded resource and the platform existing resource information. The specific implementation process is as follows:
acquiring the number of virtual machines required on the premise of meeting the user requirements through a virtual machine number calculation algorithm according to the verified user requirement resources; acquiring the template information of the existing virtual machine in the OpenStack platform browser template based on the OpenStack restful API, and determining the corresponding configuration information of the virtual machine by combining the number of the required virtual machines; based on a virtual machine placement algorithm, calculating Euclidean distances of attributes between virtual machines and servers, arranging the Euclidean distances in a distance descending order, placing the virtual machines according to the distance descending order, and acquiring server information corresponding to the virtual machines; based on Java JAXB, the requirement information in the requirement resource, the configuration information corresponding to the virtual machine, and the server information are converted into a deployment scenario in the form of xml, as shown in fig. 4.
In step S5, a script file executable by the industry cloud platform is automatically generated based on the deployment scenario. The specific implementation process is as follows:
the final executable deployment scheme needs to run on a virtual machine in the OpenStack platform, so that the deployment scheme in the xml form needs to be converted into a Shell script file which can be recognized by the platform, and the Shell script file contains information such as virtual machine information, a server name, an IP address, a network domain ID, a mirror image and the like.
In step S6, the script file is uploaded to a control node of an industry cloud platform. The method specifically comprises the following steps: and uploading the converted Shell script file to a corresponding industry cloud platform virtual machine through SSH remote service, so that the subsequent scheme can be conveniently executed and used.
The embodiment of the invention also provides an industry cloud environment user requirement to executable scheme automatic generation system, which comprises a computer, wherein the computer comprises:
at least one memory cell;
at least one processing unit;
wherein the at least one memory unit has stored therein at least one instruction that is loaded and executed by the at least one processing unit to perform the steps of:
acquiring user requirements based on a user requirement application form;
acquiring user demand resources based on user demands, and acquiring the existing resource information of the platform based on the html file;
performing satisfaction verification on the user required resources based on the platform existing resource information, if the platform existing resource information is greater than or equal to the user required resources, executing the next step, and if the platform existing resource information is less than the user required resources, returning to obtain the user requirements again;
generating a deployment scheme based on the user demand resources and the platform existing resource information;
automatically generating a script file which can be executed by an industry cloud platform based on the deployment scheme;
and uploading the script file to a control node of an industry cloud platform.
In summary, compared with the prior art, the method has the following beneficial effects:
according to the embodiment of the invention, the traditional manual deployment mode is abandoned, the service is combined with the bottom-layer service of the cloud platform, a user does not need to know too much professional knowledge and only needs to complete the user requirement application form according to the requirement of the service, and the subsequent related operations are automatically completed by the system and the control node of the industry cloud platform, so that the working efficiency of generating the deployment scheme is improved, and the error rate caused by human factors can be effectively reduced.
It should be noted that, through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
In this document, relational terms such as first and second, and the like may be 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.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for automatically generating an executable scheme from user requirements to an industry cloud environment, wherein the method is executed by a computer and comprises the following steps:
acquiring user requirements based on a user requirement application form;
acquiring user demand resources based on the user demand, and acquiring the existing resource information of the platform based on the html file;
performing satisfaction verification on the user demand resource based on the platform existing resource information, if the platform existing resource information is greater than or equal to the user demand resource, executing the next step, and if the platform existing resource information is less than the user demand resource, returning to obtain the user demand again;
generating a deployment scheme based on the user demand resources and the platform existing resource information;
automatically generating a script file which can be executed by an industry cloud platform based on the deployment scheme;
and uploading the script file to a control node of an industry cloud platform.
2. The method for automatically generating an executable scheme from user requirements to the industry cloud environment as claimed in claim 1, wherein the method for acquiring the user requirement resources comprises:
generating a user requirement file based on the user requirement;
classifying and summarizing the user demand files to obtain summarized files;
and acquiring the user demand resource based on the summary file.
3. The industry cloud environment user requirement to executable scheme automatic generation method of claim 2, wherein the method for generating the user requirement file is as follows:
and converting the user requirement application form into a plurality of user requirement files, wherein each user requirement file is stored in an appointed path in an xml form.
4. The method for automatically generating an executable plan from user requirements to an industry cloud environment of claim 3, wherein the method for obtaining the summary file is as follows:
the method comprises the steps of classifying a plurality of user demand files according to IaaS, PaaS and SaaS three-layer services, and summarizing the user demand files into one file to obtain a summarized file.
5. The industry cloud environment user demand to executable scheme automatic generation method of claim 4, wherein the method for obtaining user demand resources is as follows: and analyzing the summary file through Dom4j and XPath to obtain the user demand resource.
6. The industry cloud environment user demand to executable scheme automatic generation method of claim 5, wherein the method for obtaining platform existing resource information is:
crawling a webpage with platform resource data on an OpenStack Dasboard website and storing the webpage into a corresponding html file;
analyzing the html file to obtain the existing resource data information in the platform, and obtaining the existing resource information of the platform.
7. The industry cloud environment user demand to executable solution automatic generation method of claim 1, wherein the method of satisfaction verification is:
acquiring demand information in the user demand resources, wherein the demand information comprises: the number of CPUs, the size of a memory, a network IP and a DNS, comparing the required information with the existing resource information of the platform, and judging whether the number of CPUs and the size of the memory required by a user are in the existing resource range of the platform, whether an IP address is in the existing network domain range and whether the DNS is effective; when all the requirements are met, executing the next step; and if one or more requirements cannot be met, the user requirements are obtained again.
8. The industry cloud environment user demand to executable solution automatic generation method of claim 7, wherein said method of generating a deployment solution comprises:
acquiring the number of virtual machines required on the premise of meeting the user requirements through a virtual machine number calculation algorithm according to the verified user requirement resources;
acquiring the template information of the existing virtual machine in the OpenStack platform browser template based on an OpenStack Restful API, and determining the corresponding configuration information of the virtual machine by combining the number of the required virtual machines;
based on a virtual machine placement algorithm, calculating Euclidean distances of attributes between virtual machines and servers, arranging the Euclidean distances in a distance descending order, placing the virtual machines according to the distance descending order, and acquiring server information corresponding to the virtual machines;
and converting the demand information, the configuration information corresponding to the virtual machine and the server information in the demand resource into a deployment scheme in an xml form based on Java JAXB.
9. The industry cloud environment user demand to executable solution automatic generation method of claim 8, wherein the method of generating an industry cloud platform executable script file comprises:
and automatically converting the xml deployment scheme into a Shell script file which can be executed by the platform.
10. An industry cloud environment user demand to executable solution automatic generation system, characterized in that the system comprises a computer, the computer comprises:
at least one memory cell;
at least one processing unit;
wherein the at least one memory unit has stored therein at least one instruction that is loaded and executed by the at least one processing unit to perform the steps of:
acquiring user requirements based on a user requirement application form;
acquiring user demand resources based on the user demand, and acquiring the existing resource information of the platform based on the html file;
performing satisfaction verification on the user demand resource based on the platform existing resource information, if the platform existing resource information is greater than or equal to the user demand resource, executing the next step, and if the platform existing resource information is less than the user demand resource, returning to obtain the user demand again;
generating a deployment scheme based on the user demand resources and the platform existing resource information;
automatically generating a script file which can be executed by an industry cloud platform based on the deployment scheme;
and uploading the script file to a control node of an industry cloud platform.
CN201911116647.XA 2019-08-08 2019-11-15 Method and system for automatically generating executable scheme from user requirement in industry cloud environment Active CN110795068B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910730838 2019-08-08
CN2019107308389 2019-08-08

Publications (2)

Publication Number Publication Date
CN110795068A true CN110795068A (en) 2020-02-14
CN110795068B CN110795068B (en) 2023-04-07

Family

ID=69444597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911116647.XA Active CN110795068B (en) 2019-08-08 2019-11-15 Method and system for automatically generating executable scheme from user requirement in industry cloud environment

Country Status (1)

Country Link
CN (1) CN110795068B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038562A (en) * 2014-07-02 2014-09-10 浪潮软件股份有限公司 Method for conducting service message pushing under tobacco industry cloud application
CN106708597A (en) * 2015-11-17 2017-05-24 中国移动通信集团公司 Method, device and system for creating cluster environment on the basis of Openstack
US20180343170A1 (en) * 2017-05-23 2018-11-29 Vmware, Inc. Methods and apparatus to generate and manage workload domains in virtual server racks
CN108964968A (en) * 2018-03-27 2018-12-07 深圳市康拓普信息技术有限公司 Service access management method and system under a kind of container cloud environment
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038562A (en) * 2014-07-02 2014-09-10 浪潮软件股份有限公司 Method for conducting service message pushing under tobacco industry cloud application
CN106708597A (en) * 2015-11-17 2017-05-24 中国移动通信集团公司 Method, device and system for creating cluster environment on the basis of Openstack
US20180343170A1 (en) * 2017-05-23 2018-11-29 Vmware, Inc. Methods and apparatus to generate and manage workload domains in virtual server racks
CN108964968A (en) * 2018-03-27 2018-12-07 深圳市康拓普信息技术有限公司 Service access management method and system under a kind of container cloud environment
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DR ANAND NAYYAR: "Installing OpenStack Queens on a CentOS 7 Server", 《HTTPS://WWW.OPENSOURCEFORU.COM/2018/11/INSTALLING-OPENSTACK-QUEENS-ON-A-CENTOS-7-SERVER/》 *
苏三卖酒: "自动化部署openstack", 《HTTPS://WWW.CNBLOGS.COM/18513387476-COM/P/7B3CA743369CCEF4573223A19CA08F7B.HTML》 *

Also Published As

Publication number Publication date
CN110795068B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US11184241B2 (en) Topology-aware continuous evaluation of microservice-based applications
US10616132B2 (en) Managing user privileges for computer resources in a networked computing environment
US11048490B2 (en) Service placement techniques for a cloud datacenter
US9477544B2 (en) Recommending a suspicious component in problem diagnosis for a cloud application
US10686891B2 (en) Migration of applications to a computing environment
US11030002B2 (en) Optimizing simultaneous startup or modification of inter-dependent machines with specified priorities
US10764158B2 (en) Dynamic system level agreement provisioning
US9912760B2 (en) Dynamically generating solution stacks
US11586963B2 (en) Forecasting future states of a multi-active cloud system
US20130254374A1 (en) Resource allocation based on social networking trends in a networked computing environment
US9451033B2 (en) Enhanced command selection in a networked computing environment
US11960578B2 (en) Correspondence of external operations to containers and mutation events
US10686678B2 (en) Device for orchestrating distributed application deployment with end-to-end performance guarantee
US11755954B2 (en) Scheduled federated learning for enhanced search
US11586487B2 (en) Rest application programming interface route modeling
CN110795068B (en) Method and system for automatically generating executable scheme from user requirement in industry cloud environment
CN114331446B (en) Method, device, equipment and medium for realizing out-of-chain service of block chain
US20170163564A1 (en) Discovering resource availability across regions
JP2016519368A (en) User-defined pool
CN114296936A (en) Node scheduling method and device based on Kubernetes cluster, electronic equipment and medium
CN106170769A (en) Determine the method for resources of virtual machine, device and program product

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