CN109298859A - A kind of method and device of application under processing cloud platform - Google Patents

A kind of method and device of application under processing cloud platform Download PDF

Info

Publication number
CN109298859A
CN109298859A CN201811292038.5A CN201811292038A CN109298859A CN 109298859 A CN109298859 A CN 109298859A CN 201811292038 A CN201811292038 A CN 201811292038A CN 109298859 A CN109298859 A CN 109298859A
Authority
CN
China
Prior art keywords
application
configuration file
cloud platform
component
attribute data
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
Application number
CN201811292038.5A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811292038.5A priority Critical patent/CN109298859A/en
Publication of CN109298859A publication Critical patent/CN109298859A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses a kind of methods of the application under processing cloud platform, after including: the configuration file for receiving application, the attribute data that corresponding component is obtained according to various components interface message described in the configuration file creates component according to the attribute data of the component;The dependence of each component according to described in the configuration file is associated all components created, is built into application.The present invention also provides a kind of devices of the application under processing cloud platform.This programme realizes the rapid build of application, Quick thread by resource required for application packaged in cloud platform.

Description

Method and device for processing application under cloud platform
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method and a device for processing application under a cloud platform.
Background
At present, with the continuous maturity of cloud computing, many enterprises, governments all begin to fall to the ground cloud platform, and cloud platform provides a great deal of convenience and benefit for the enterprise, for example has improved resource utilization, has made things convenient for large-scale hardware device management, but the stable operation application is the core focus of customer on cloud platform, also is from traditional IT mode to the excessive drive force of cloud platform. The method comprises the steps that the application of a client is evaluated according to importance and concurrent access amount, the configuration that the application is deployed as a single-machine application or a dual-activity application, generally a web Server and a DB (database) Server, is considered, and the traditional IT has the problems that the deployment is complex, a large amount of manual configuration is needed, the configuration is easy to be wrong, and the online period of the application is prolonged.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method and a device for processing an application under a cloud platform, so as to realize the rapid construction of the application.
In order to achieve the purpose of the invention, the invention provides a method for processing an application under a cloud platform, which comprises the following steps:
after receiving a configuration file of an application, acquiring attribute data of a corresponding component according to interface information of each component described in the configuration file, and creating a component according to the attribute data of the component;
and associating all the created components according to the dependency relationship of each component described in the configuration file to construct an application.
Further, the content in the configuration file includes: and (4) online describing the resources related to the application, and explaining the dependency relationship between the resources.
Further, after the construction is applied, the method further comprises the following steps:
and calling an interface corresponding to the application to release the application.
An apparatus for processing an application under a cloud platform, comprising: a memory and a processor; wherein:
the memory is used for storing a program for processing the application under the cloud platform;
the processor is used for reading and executing the program for processing the application under the cloud platform, and executing the following operations:
after receiving a configuration file of an application, acquiring attribute data of a corresponding component according to interface information of each component described in the configuration file, and creating a component according to the attribute data of the component;
and associating all the created components according to the dependency relationship of each component described in the configuration file to construct an application.
Further, the content in the configuration file includes: and (4) online describing the resources related to the application, and explaining the dependency relationship between the resources.
Further, after the building of the application, the method further comprises:
and calling an interface corresponding to the application to release the application.
According to the method provided by the embodiment of the invention, the resources required by the application are packaged on the cloud platform, so that the application is quickly constructed and quickly online.
In summary, the method of the embodiment of the invention realizes the rapid construction and the rapid online of the application by packaging the resources required by the application on the cloud platform.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of a method for processing an application under a cloud platform according to an embodiment of the present invention;
fig. 2 is a topological relation diagram between components included in the application of the embodiment of the present invention.
Fig. 3 is a schematic diagram of an apparatus for processing an application under a cloud platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for processing an application under a cloud platform according to an embodiment of the present invention, and as shown in fig. 1, the method according to this embodiment may include:
step 101, after receiving a configuration file of an application, acquiring attribute data of a corresponding component according to interface information of each component described in the configuration file, and creating a component according to the attribute data of the component;
and 102, associating all the created components according to the dependency relationship of each component described in the configuration file to construct the application.
In this embodiment, the configuration file may include: the description of the application itself includes the resource description related to the application, the dependency relationship explanation between the resource and the resource, etc.
According to the method provided by the embodiment of the invention, the resources required by the application are packaged on the cloud platform, so that the application is quickly constructed and quickly online.
The method for processing the application under the cloud platform according to the embodiment is described below by taking a live application as an example. The definition of the live-active application of this example can be as follows:
the live-active application of this example includes the following 4 components: a front load balancing device; a Web Server cluster; a rear load balancing device; DB Server cluster, the definition of each component is as shown in Table 1:
TABLE 1
The above table describes the various components used by application a, i.e. building application a named app1 requires 4 components: each row represents the attribute data of the 4 components, and it can be seen from table 1 that the front load balancing device has an agent relationship with the Web server cluster, the Web server cluster initiates connection to the DB server by accessing the rear load balancing device, and the rear load balancing device has an agent relationship with the DB server cluster, and provides a uniform access entry to the outside.
In this example, according to the definition of the application by the configuration file, the corresponding resource creation is performed, and the association relationship between the resources is bound together. The topology after resource delivery is shown in fig. 2 according to the definition of the configuration file.
Fig. 2 is a scenario illustration of implementation of the method according to the embodiment of the present invention, and is also a graphical representation of the table, which is an application arrangement topology of application a named app1, when an application requests, a front load balancing device distributes a request to a web server cluster, which web server can be selected to process a certain request according to the SOURCE IP algorithm in principle, and a web server establishes a database connection with a back-end DB server through a back load balancing device, which connection is also created by the back load balancing device according to the SOURCE IP algorithm. In order to avoid a single point of failure, fig. 2 also implements the main/standby implementation of the load balancing device.
The method of the embodiment of the invention can define the components contained in one application, the specific definition of the components and other attributes by realizing the definition of the application, and further quickly construct the application and quickly get online according to the attributes. The packaging on the cloud platform fully utilizes the interfaces used by the cloud platform for quickly creating resources, and the application can be constructed according to the scale and topology expected by a client through automatic arrangement flow line production, so that the online period of a complex project is greatly shortened.
Fig. 3 is a schematic diagram of an apparatus for processing an application under a cloud platform according to an embodiment of the present invention, and as shown in fig. 3, the apparatus of this embodiment may include: a memory and a processor; wherein,
the memory is used for storing a program for processing the application under the cloud platform;
the processor is used for reading and executing the program for processing the application under the cloud platform, and executing the following operations:
after receiving a configuration file of an application, acquiring attribute data of a corresponding component according to interface information of each component described in the configuration file, and creating a component according to the attribute data of the component;
and associating all the created components according to the dependency relationship of each component described in the configuration file to construct the application.
Further, the content in the configuration file includes: and (4) online describing the resources related to the application, and explaining the dependency relationship between the resources.
Further, after the construction of the application, the method may further include: and releasing the application.
The scheme of the embodiment of the invention is that the description definition of the application is carried out through the configuration file, the components required by the application, the attributes of the components and the relation among the components are clarified, the attributes related to the application are defined in a document format, the document format is correspondingly analyzed, the automatic production and the automatic assembly of each component are completed, the relevant interfaces are correspondingly called after the analysis, and the application on-line is completed.
Embodiments of the present invention further provide a computer-readable storage medium, which stores computer-executable instructions, and when executed, the computer-executable instructions implement the method for processing an application in a cloud platform.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (6)

1. A method for processing an application under a cloud platform, comprising:
after receiving a configuration file of an application, acquiring attribute data of a corresponding component according to interface information of each component described in the configuration file, and creating a component according to the attribute data of the component;
and associating all the created components according to the dependency relationship of each component described in the configuration file to construct an application.
2. The method of claim 1,
the content in the configuration file comprises: and (4) online describing the resources related to the application, and explaining the dependency relationship between the resources.
3. The method of claim 1, wherein after the building is performed, further comprising:
and calling an interface corresponding to the application to release the application.
4. An apparatus for processing an application under a cloud platform, comprising: a memory and a processor; the method is characterized in that:
the memory is used for storing a program for processing the application under the cloud platform;
the processor is used for reading and executing the program for processing the application under the cloud platform, and executing the following operations:
after receiving a configuration file of an application, acquiring attribute data of a corresponding component according to interface information of each component described in the configuration file, and creating a component according to the attribute data of the component;
and associating all the created components according to the dependency relationship of each component described in the configuration file to construct an application.
5. The apparatus of claim 4,
the content in the configuration file comprises: and (4) online describing the resources related to the application, and explaining the dependency relationship between the resources.
6. The apparatus of claim 4, wherein said build to said application further comprises:
and calling an interface corresponding to the application to release the application.
CN201811292038.5A 2018-11-01 2018-11-01 A kind of method and device of application under processing cloud platform Pending CN109298859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811292038.5A CN109298859A (en) 2018-11-01 2018-11-01 A kind of method and device of application under processing cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811292038.5A CN109298859A (en) 2018-11-01 2018-11-01 A kind of method and device of application under processing cloud platform

Publications (1)

Publication Number Publication Date
CN109298859A true CN109298859A (en) 2019-02-01

Family

ID=65145045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811292038.5A Pending CN109298859A (en) 2018-11-01 2018-11-01 A kind of method and device of application under processing cloud platform

Country Status (1)

Country Link
CN (1) CN109298859A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272292A (en) * 2012-03-12 2015-01-07 铃盛公司 Network resource deployment for cloud-based services
CN104991760A (en) * 2014-12-23 2015-10-21 广州亦云信息技术有限公司 PaaS platform service management system based on distributed modular technology and realization method
US20180285571A1 (en) * 2017-03-28 2018-10-04 International Business Machines Corporation Automatic detection of an incomplete static analysis security assessment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272292A (en) * 2012-03-12 2015-01-07 铃盛公司 Network resource deployment for cloud-based services
CN104991760A (en) * 2014-12-23 2015-10-21 广州亦云信息技术有限公司 PaaS platform service management system based on distributed modular technology and realization method
US20180285571A1 (en) * 2017-03-28 2018-10-04 International Business Machines Corporation Automatic detection of an incomplete static analysis security assessment

Similar Documents

Publication Publication Date Title
WO2020253347A1 (en) Container cluster management method, device and system
US10999234B1 (en) Message processing using messaging services
CN109493076B (en) Kafka message unique consumption method, system, server and storage medium
US10033598B2 (en) Type-to-type analysis for cloud computing technical components with translation through a reference type
US20180091624A1 (en) Staging and deployment to multiple service clouds
US10805228B2 (en) Injection of information technology management process into resource request flows
CN106681891A (en) Method and device for adjusting log levels in Java application system
CN115996230B (en) Cross-cloud data synchronization method and device, computer equipment and readable storage medium
US11314601B1 (en) Automated capture and recovery of applications in a function-as-a-service environment
US11093527B2 (en) Framework for continuous processing of a set of documents by multiple software applications
CN111782363A (en) Method and flow system for supporting multi-service scene calling
CN115964195A (en) DDS theme process communication mode configuration method and device
CN115455121A (en) Real-time reliable data synchronous transmission method, equipment and medium
CN109298859A (en) A kind of method and device of application under processing cloud platform
US10701009B1 (en) Message exchange filtering
US11093477B1 (en) Multiple source database system consolidation
US20210157810A1 (en) Complex query optimization
CN112988806A (en) Data processing method and device
CN110554915A (en) Information processing method and device, computer storage medium and terminal
CN114826919B (en) SDN-based load balancing software nanotube method, device, equipment and medium
CN114928604B (en) File distribution method and device
US11526490B1 (en) Database log performance
US20210096763A1 (en) Method, device, and computer program product for managing storage system
CN110045930B (en) Method, device, equipment and medium for virtual platform to manage storage equipment volume
CN110297598B (en) Data synchronization method and storage system

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: 20190201

RJ01 Rejection of invention patent application after publication