CN112685409B - PAAS application service topology generation method and device and readable storage medium - Google Patents

PAAS application service topology generation method and device and readable storage medium Download PDF

Info

Publication number
CN112685409B
CN112685409B CN202011553920.8A CN202011553920A CN112685409B CN 112685409 B CN112685409 B CN 112685409B CN 202011553920 A CN202011553920 A CN 202011553920A CN 112685409 B CN112685409 B CN 112685409B
Authority
CN
China
Prior art keywords
application service
role
node
roles
paas
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.)
Active
Application number
CN202011553920.8A
Other languages
Chinese (zh)
Other versions
CN112685409A (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.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN202011553920.8A priority Critical patent/CN112685409B/en
Publication of CN112685409A publication Critical patent/CN112685409A/en
Application granted granted Critical
Publication of CN112685409B publication Critical patent/CN112685409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a PAAS application service topology generation method, a PAAS application service topology generation device and a computer readable storage medium. The method comprises the steps of pre-constructing a role database, wherein the role database comprises a plurality of role types, and each type of role is provided with corresponding position attributes and relations among the roles; all roles are obtained by classifying the node types required by each application service. Matching corresponding position attributes and relations among the node roles for each node role in the deployed application service in a role database; and automatically generating an application service topological relation according to the position attribute of each node role and the relation among the node roles, so that a front-end user performs corresponding legend drawing according to the application service topological relation. The application can solve the defect that the prior art relies on manual expertise to generate the PAAS application service topology, a front-end engineer does not need to know the business logic of specific application service, the development workload of the front-end engineer is reduced, and the PAAS application service topology generation efficiency is improved.

Description

PAAS application service topology generation method and device and readable storage medium
Technical Field
The present application relates to the field of cloud technologies, and in particular, to a method and apparatus for generating a PAAS application service topology, and a computer readable storage medium.
Background
The application service is not a single application program, but rather includes a number of associated application programs, middleware programs such as databases, web containers, and the like, and resource carriers required to run these programs. For example, one wordpress application service, which includes wordpress application packages, web middleware such as Tomcat, databases such as mysql clusters, and running carriers of these applications such as virtual machines or containers. Through the topological graph of the application service, the connection relation between various applications in the application service and the attributes such as roles and states of the applications can be intuitively and vividly seen.
The cloud computing PAAS (platform AS A SERVICE ) platform not only can provide development environments, development platforms and hardware resources for users, but also can improve the utilization rate of the hardware resources and reduce the service operation cost, and is widely applied to the internet field due to the advantages. The existing PAAS application service topology generation mode generally includes that an engineer at the front end of a web page draws a graph in advance aiming at the deployment mode of application services, and then the state of a service topology graph is changed according to the state of service nodes. The method needs front-end engineers to know the business logic of the application service, has certain professional skill requirements on operators, has great workload, needs to consume a great deal of time, and has low PAAS application service topology generation efficiency and high cost.
Disclosure of Invention
The application provides a PAAS application service topology generation method, a PAAS application service topology generation device and a computer readable storage medium, which solve the defect that the prior art relies on manual expertise to generate the PAAS application service topology, a front-end engineer does not need to know the business logic of specific application service, the development workload of the front-end engineer is reduced, the PAAS application service topology generation efficiency is improved, and the PAAS application service topology generation cost is reduced.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme:
in one aspect, the embodiment of the invention provides a method for generating PAAS application service topology, which includes:
Pre-constructing a role database, wherein the role database comprises a plurality of role types, and each role type is provided with corresponding position attributes and relations among the roles; all roles are obtained after classifying the node types required by each application service;
acquiring deployed application services as application services to be processed;
Matching corresponding position attributes and associated roles for each node role in the application service to be processed in the role database;
And automatically generating an application service topological relation according to the position attribute of each node role and the relation among the node roles, so that a front-end user can draw a corresponding legend according to the application service topological relation.
Optionally, the construction process of the role database includes:
The method comprises the steps of carrying out exhaustive classification on character types contained in various application services, and setting corresponding position attributes and relations among the characters for each type of character;
And generating the role database according to the position attribute of each type of role and the relation among the roles.
Optionally, the generating the role database according to the corresponding position attribute set by each role and the relationship between the roles includes:
Generating a tree structure body according to the position attribute of each type of role and the relation among the roles;
Analyzing the tree structure body to obtain node keywords of each level, position information of each node and the relation among the nodes;
And generating the role database according to the node keywords of each level, the position information of each node and the relation among each node.
Optionally, the acquiring the deployed application service as the application service to be processed includes:
Acquiring a plurality of deployed application services;
sequentially storing the corresponding application services to an application service list from top to bottom according to the priority of each application service;
And reading each application service from the application service list according to a first-in first-out principle to serve as the application service to be processed.
Optionally, the matching, in the role database, the corresponding location attribute and the associated role for each node role in the application service to be processed includes:
If the deployed application services are multiple, constructing multiple role matching threads, and distributing an application service for each role matching thread;
and simultaneously calling each role matching thread in the role database to match corresponding position attributes and relationships among the node roles for each node role in the current application service to be processed.
Another aspect of the embodiments of the present invention provides a PAAS application service topology generating device, including:
the database pre-construction module is used for pre-constructing a role database, wherein the role database comprises a plurality of role types, and each role type is provided with corresponding position attributes and relations among the roles; all roles are obtained after classifying the node types required by each application service;
The application service acquisition module is used for acquiring the deployed application service to serve as the application service to be processed;
The role matching module is used for matching corresponding position attributes and associated roles for each node role in the application service to be processed in the role database;
the topology automatic generation module is used for automatically generating application service topology relations according to the position attribute of each node role and the relation among the node roles, so that a front-end user can draw a corresponding legend according to the application service topology relations.
Optionally, the database pre-construction module is used for carrying out exhaustive classification on the types of roles contained in various application services, and setting corresponding position attributes and relations among the roles for each type of roles; and generating the role database according to the position attribute of each type of role and the relation among the roles.
Optionally, the database pre-construction module is further configured to generate a tree structure body according to the position attribute of each type of role and the relationship between roles; analyzing the tree structure body to obtain node keywords of each level, position information of each node and the relation among the nodes; and generating the role database according to the node keywords of each level, the position information of each node and the relation among each node.
The embodiment of the invention also provides a PAAS application service topology generation device, which comprises a processor, wherein the processor is used for realizing the steps of the PAAS application service topology generation method according to any one of the previous steps when executing the computer program stored in the memory.
The embodiment of the invention finally provides a computer readable storage medium, wherein the computer readable storage medium stores a PAAS application service topology generation program, and the PAAS application service topology generation program realizes the steps of the PAAS application service topology generation method when being executed by a processor.
The technical scheme provided by the application has the advantages that each application service is classified according to the roles, the relationship between the position attribute information and each role is set for each type of role and is stored in the role database, each time an application service is deployed, the background matches corresponding position attribute and associated node for each node of the application service in the role database, then the topological relationship and the coordinate position of each application are dynamically generated and returned to the front end, and the front end engineer draws the legend according to the feedback content of the background, so that the problem that the prior art relies on manual expertise to generate PAAS application service topology is solved, the development workload of the front end engineer is reduced, the PAAS application service topology generation efficiency is improved, and the PAAS application service topology generation cost is reduced.
In addition, the embodiment of the invention also provides a corresponding implementation device and a computer-readable storage medium for the PAAS application service topology generation method, so that the method is more practical, and the device and the computer-readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings that are required to be used in the embodiments or the description of the related art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
Fig. 1 is a schematic flow chart of a PAAS application service topology generation method according to an embodiment of the present invention;
fig. 2 is a schematic tree structure diagram of an exemplary application scenario provided in an embodiment of the present invention;
fig. 3 is a block diagram of a specific implementation of a PAAS application service topology generating device according to an embodiment of the present invention;
Fig. 4 is a structural diagram of another specific implementation manner of a PAAS application service topology generating device according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of embodiments of the present application, various non-limiting embodiments of the present application are described in detail below.
Referring first to fig. 1, fig. 1 is a flow chart of a PAAS application service topology generating method according to an embodiment of the present invention, where the embodiment of the present invention may include the following:
S101: a role database is built in advance.
It will be appreciated that whatever kind of application service, it is certainly made up of the corresponding roles, which in fact can be generalized. For example wordpress application services may include application wordpress, application tomcat, and application mysql compositions. Wherein wordpress can be categorized as business applications, tomcat can be categorized as web containers, mysql can be categorized as database applications, and if mysql is a cluster, mysql can be further categorized as master, slave, or master. Those skilled in the art can make an exhaustive categorization of the types of roles that may be included in various application services based on experience values, and set corresponding location attributes for each type of role and relationships between roles, where the location attributes may be, for example, specific location coordinates or relative location relationships throughout the application service. And storing the multiple types of roles obtained by classifying the node types required by each application service, the position attribute of each role and the relationship between the roles into a database, thereby generating a role database.
S102: and acquiring the deployed application service as the application service to be processed.
In this step, each deployed application service is used as a pending application service, and steps S103 and S104 are performed on the application service to generate the application service topology relationship. That is, the number of application services that have been deployed at the same time may be 1 or more, and accordingly, the number of application services to be processed may be 1 or more.
S103: in the role database, corresponding position attributes and associated roles are matched for each node role in the application service to be processed.
The node types required for the application service are classified for roles at S101, and a connection relationship between roles and a role position attribute such as a relative coordinate position on canvas are defined for each role. After the specific application service deployment is completed, the connection relation and the position attribute of each role can be queried from the role database according to the specific role type, so that the corresponding position attribute is automatically assigned to each node of the application service to be processed, and each node with the upper, lower, left and right relative position relation of each node in the topological graph is determined.
S104: and automatically generating application service topological relations according to the position attributes of the node roles and the relations among the node roles, so that a front-end user can draw a corresponding legend according to the application service topological relations.
After the deployment of a certain application service is completed, the background generates an actual topological relation according to the node roles in the actual application service, the connection relation corresponding to the roles stored in advance in the database and the relative position attribute are matched, the actual topological relation is returned to the front end, and the front end can conduct specific drawing display according to the topological relation.
In the technical scheme provided by the embodiment of the invention, each application service is classified according to the roles, the relationship between the position attribute information and each role is set for each type of role and is stored in the role database, each time an application service is deployed, a background matches corresponding position attribute and associated node for each node of the application service in the role database, then the topological relationship and the coordinate position of each application are dynamically generated and returned to the front end, and a front end engineer draws a legend according to the feedback content of the background, so that the problem that the prior art relies on manual professional skills to generate PAAS application service topology is solved, the development workload of the front end engineer is reduced, the PAAS application service topology generation efficiency is improved, and the PAAS application service topology generation cost is reduced.
It should be noted that, in the present application, the steps are not strictly executed sequentially, so long as they conform to the logic sequence, the steps may be executed simultaneously, or may be executed according to a certain preset sequence, and fig. 1 is only a schematic manner, and is not meant to represent only such an execution sequence.
The above implementation is not limited to how to create the character database, and this embodiment also provides a creation manner of the character database, and the process of creating the character database may include:
The role types contained in the multiple application services are subjected to exhaustive classification, and corresponding position attributes and relations among the roles are set for each type of role.
And generating a role database according to the position attribute of each type of role and the relation among the roles.
As an alternative embodiment, the process of generating the character database according to the corresponding position attribute set by each character and the relation between the characters may include:
Generating a tree structure body according to the position attribute of each type of role and the relation among the roles;
Analyzing the tree structure body to obtain node keywords of each level, position information of each node and the relation among the nodes;
and generating a role database according to the node keywords of each level, the position information of each node and the relation among each node.
In this embodiment, the types of roles included in the possible various application services are classified according to experience values, and the relationships between the upper, lower, left and right and the corresponding connection relationships are defined for each role, and the output result may be a tree structure, as shown in fig. 2. The tree structures are analyzed, node keywords (character types) of each hierarchy in the tree and the up-down, left-right connection relations among the nodes are analyzed, and the node keywords and the connection relations are stored in a character database. The node key represents the character type, the position attribute of Master character is up, the position attribute of slave character is down, the position attribute of primary character is up as Master, the slave character needs to build contact with Master character, etc.
The number of the application services which are deployed and completed at the same time can be 1 or more, and correspondingly, the number of the application services to be processed can be 1 or more. In the above embodiment, how to execute step S102 by generating multiple pending application services at the same time is not limited, and the present application provides various embodiments in different application scenarios, which may include the following:
as an alternative embodiment, the process of acquiring the deployed completed application service as the application service to be processed may include:
Acquiring a plurality of deployed application services;
sequentially storing the corresponding application services to an application service list from top to bottom according to the priority of each application service;
And reading each application service from the application service list according to the first-in first-out principle to serve as the application service to be processed.
As an alternative embodiment in parallel with the above, the process of acquiring the deployed completed application service as the application service to be processed may include:
If the deployed application services are multiple, constructing multiple role matching threads, and distributing an application service for each role matching thread;
and simultaneously calling each role matching thread in a role database to match corresponding position attributes and relationships among the node roles for each node role in the current application service to be processed.
In this embodiment, correspondingly, a plurality of topology generating threads may be further configured, where each topology generating thread corresponds to one role matching thread, and is configured to automatically generate an application service topology relationship according to the position attribute of each node role matching output by the corresponding role matching thread and the relationship between each node role.
In the embodiment, the topological relation of a plurality of application services is generated by adopting a plurality of threads, so that the topology generation efficiency of the application services is further improved.
The embodiment of the invention also provides a corresponding device for the PAAS application service topology generation method, so that the method has more practicability. Wherein the device may be described separately from the functional module and the hardware. The following describes a PAAS application service topology generating device provided by the embodiment of the present invention, and the PAAS application service topology generating device described below and the PAAS application service topology generating method described above may be referred to correspondingly.
Based on the angles of the functional modules, referring to fig. 3, fig. 3 is a structural diagram of a PAAS application service topology generating device provided by an embodiment of the present invention under a specific implementation manner, where the device may include:
the database pre-construction module 301 is configured to pre-construct a role database, where the role database includes multiple role types, and each role type sets a corresponding position attribute and a relationship between roles; all roles are obtained by classifying the node types required by each application service.
The application service acquisition module 302 is configured to acquire the deployed application service as a pending application service.
And the role matching module 303 is configured to match, in the role database, a corresponding location attribute and an associated role for each node role in the application service to be processed.
The topology automatic generation module 304 is configured to automatically generate an application service topology relationship according to the position attribute of each node role and the relationship between each node role, so that the front end user performs corresponding legend drawing according to the application service topology relationship.
Optionally, in some implementations of the present embodiment, the database pre-construction module 301 may be configured to perform exhaustive categorization on role types included in multiple application services, and set, for each type of role, a corresponding location attribute and a relationship between roles; and generating a role database according to the position attribute of each type of role and the relation among the roles.
As an optional implementation manner, the database pre-construction module 301 may be further configured to generate a tree structure according to the location attribute of each type of role and the relationship between roles; analyzing the tree structure body to obtain node keywords of each level, position information of each node and the relation among the nodes; and generating a role database according to the node keywords of each level, the position information of each node and the relation among each node.
Optionally, in other implementations of the present embodiment, the application service obtaining module 302 may include a single processing sub-module, where the module is configured to store, if there are a plurality of deployed application services, the corresponding application services to the application service list sequentially from top to bottom according to the priority of each application service; and reading each application service from the application service list according to the first-in first-out principle to serve as the application service to be processed.
As an optional implementation manner of this embodiment, the application service obtaining module 302 may include, for example, a multithreading processing submodule, where the submodule is configured to construct a plurality of role matching threads if the deployed application services are multiple, and allocate an application service to each role matching thread; and simultaneously calling each role matching thread in a role database to match corresponding position attributes and relationships among the node roles for each node role in the current application service to be processed.
The functions of each functional module of the PAAS application service topology generating device according to the embodiment of the present invention may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
From the above, the embodiment of the invention solves the defect that the prior art relies on the manual professional skill to generate the PAAS application service topology, the front-end engineer does not need to know the business logic of the specific application service, the development workload of the front-end engineer is reduced, the PAAS application service topology generation efficiency is improved, and the PAAS application service topology generation cost is reduced.
The PAAS application service topology generation device is described from the perspective of a functional module, and further, the application also provides a PAAS application service topology generation device, which is described from the perspective of hardware. Fig. 4 is a block diagram of another PAAS application service topology generating apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus comprises a memory 40 for storing a computer program;
A processor 41 for implementing the steps of the PAAS application service topology generation method as mentioned in any of the embodiments above when executing a computer program.
Processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc., among others. The processor 41 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). The processor 41 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also called a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 41 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 41 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 40 is at least used to store a computer program 401, where the computer program, when loaded and executed by the processor 41, is capable of implementing the relevant steps of the PAAS application service topology generation method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 40 may further include an operating system 402, data 403, and the like, where the storage manner may be transient storage or permanent storage. Operating system 402 may include Windows, unix, linux, among other things. The data 403 may include, but is not limited to, data corresponding to the PAAS application service topology generation result, and the like.
In some embodiments, the PAAS application service topology generating device may further include a display screen 42, an input/output interface 43, a communication interface 44, a power supply 45, and a communication bus 46.
Those skilled in the art will appreciate that the architecture shown in fig. 4 does not constitute a limitation of the PAAS application service topology generation apparatus, and may include more or fewer components than illustrated, for example, may also include the sensor 47.
The functions of each functional module of the PAAS application service topology generating device according to the embodiment of the present invention may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
From the above, the embodiment of the invention solves the defect that the prior art relies on the manual professional skill to generate the PAAS application service topology, the front-end engineer does not need to know the business logic of the specific application service, the development workload of the front-end engineer is reduced, the PAAS application service topology generation efficiency is improved, and the PAAS application service topology generation cost is reduced.
It will be appreciated that if the PAAS application service topology generation method in the above embodiments is implemented in the form of a software functional unit and sold or used as a stand-alone product, it may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in part or in whole or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, a magnetic disk, or an optical disk, etc., which can store program codes.
Based on this, the embodiment of the present invention further provides a computer readable storage medium, storing a PAAS application service topology generation program, where the PAAS application service topology generation program when executed by a processor performs the steps of the PAAS application service topology generation method according to any one of the embodiments above.
The functions of each functional module of the computer readable storage medium according to the embodiments of the present invention may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the relevant description of the embodiments of the method, which is not repeated herein.
From the above, the embodiment of the invention solves the defect that the prior art relies on the manual professional skill to generate the PAAS application service topology, the front-end engineer does not need to know the business logic of the specific application service, the development workload of the front-end engineer is reduced, the PAAS application service topology generation efficiency is improved, and the PAAS application service topology generation cost is reduced.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The method, the device and the computer readable storage medium for generating the PAAS application service topology provided by the application are described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.

Claims (8)

1. A PAAS application service topology generation method, comprising:
Pre-constructing a role database, wherein the role database comprises a plurality of role types, and each role type is provided with corresponding position attributes and relations among the roles; all roles are obtained after classifying the node types required by each application service;
acquiring deployed application services as application services to be processed;
Matching corresponding position attributes and associated roles for each node role in the application service to be processed in the role database;
Automatically generating an application service topological relation according to the position attribute of each node role and the relation among the node roles, so that a front-end user can draw a corresponding legend according to the application service topological relation;
the construction process of the role database comprises the following steps:
Generating a tree structure body according to the position attribute of each type of role and the relation among the roles;
Analyzing the tree structure body to obtain node keywords of each level, position information of each node and the relation among the nodes;
And generating the role database according to the node keywords of each level, the position information of each node and the relation among each node.
2. The PAAS application service topology generation method of claim 1, wherein the role database construction process comprises:
The method comprises the steps of carrying out exhaustive classification on character types contained in various application services, and setting corresponding position attributes and relations among the characters for each type of character;
And generating the role database according to the position attribute of each type of role and the relation among the roles.
3. The PAAS application service topology generation method according to claim 1 or 2, wherein the acquiring the deployed application service as the application service to be processed comprises:
Acquiring a plurality of deployed application services;
sequentially storing the corresponding application services to an application service list from top to bottom according to the priority of each application service;
And reading each application service from the application service list according to a first-in first-out principle to serve as the application service to be processed.
4. The PAAS application service topology generation method according to claim 1 or 2, wherein said matching, in the role database, respective location attributes and associated roles for each node role in the pending application service comprises:
If the deployed application services are multiple, constructing multiple role matching threads, and distributing an application service for each role matching thread;
and simultaneously calling each role matching thread in the role database to match corresponding position attributes and relationships among the node roles for each node role in the current application service to be processed.
5. A PAAS application service topology generation apparatus, comprising:
the database pre-construction module is used for pre-constructing a role database, wherein the role database comprises a plurality of role types, and each role type is provided with corresponding position attributes and relations among the roles; all roles are obtained after classifying the node types required by each application service;
The application service acquisition module is used for acquiring the deployed application service to serve as the application service to be processed;
The role matching module is used for matching corresponding position attributes and associated roles for each node role in the application service to be processed in the role database;
The topology automatic generation module is used for automatically generating application service topology relations according to the position attribute of each node role and the relation among the node roles, so that a front-end user can draw a corresponding legend according to the application service topology relations;
The database pre-construction module is further used for generating a tree structure body according to the position attribute of each type of role and the relation among the roles; analyzing the tree structure body to obtain node keywords of each level, position information of each node and the relation among the nodes; and generating the role database according to the node keywords of each level, the position information of each node and the relation among each node.
6. The PAAS application service topology generation device of claim 5, wherein the database pre-construction module is configured to perform exhaustive classification on role types included in multiple application services, and set a corresponding location attribute and a relationship between roles for each type of role; and generating the role database according to the position attribute of each type of role and the relation among the roles.
7. A PAAS application service topology generation device, comprising a processor for implementing the steps of the PAAS application service topology generation method according to any of claims 1 to 4 when executing a computer program stored in a memory.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a PAAS application service topology generation program, which when executed by a processor, implements the steps of the PAAS application service topology generation method according to any of claims 1 to 4.
CN202011553920.8A 2020-12-24 2020-12-24 PAAS application service topology generation method and device and readable storage medium Active CN112685409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011553920.8A CN112685409B (en) 2020-12-24 2020-12-24 PAAS application service topology generation method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011553920.8A CN112685409B (en) 2020-12-24 2020-12-24 PAAS application service topology generation method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112685409A CN112685409A (en) 2021-04-20
CN112685409B true CN112685409B (en) 2024-07-02

Family

ID=75452940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011553920.8A Active CN112685409B (en) 2020-12-24 2020-12-24 PAAS application service topology generation method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112685409B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364632B (en) * 2021-06-16 2022-07-01 中移(杭州)信息技术有限公司 Method, device, storage medium and apparatus for generating architecture diagram of service system
CN113259714B (en) * 2021-06-30 2021-10-15 腾讯科技(深圳)有限公司 Content distribution processing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039786A (en) * 2018-09-28 2018-12-18 山东中创软件商用中间件股份有限公司 A kind of topology drawing generating method, device, equipment and readable storage medium storing program for executing
CN110868319A (en) * 2019-11-08 2020-03-06 北京浪潮数据技术有限公司 Network topology drawing method, device, equipment and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7292585B1 (en) * 2002-12-20 2007-11-06 Symantec Operating Corporation System and method for storing and utilizing routing information in a computer network
US8396949B2 (en) * 2010-06-03 2013-03-12 Microsoft Corporation Metadata driven automatic deployment of distributed server systems
US20130138813A1 (en) * 2011-11-28 2013-05-30 Microsoft Corporation Role instance reachability in data center
US9674042B2 (en) * 2013-11-25 2017-06-06 Amazon Technologies, Inc. Centralized resource usage visualization service for large-scale network topologies
US9923775B2 (en) * 2014-12-01 2018-03-20 Microsoft Technology Licensing, Llc Datacenter topology definition schema
US10367686B2 (en) * 2017-03-08 2019-07-30 Microsoft Technology Licensing, Llc Automatically detecting roles of nodes in layered network topologies
CN112099803B (en) * 2020-07-30 2024-04-12 浪潮通用软件有限公司 Incremental deployment method and system of ERP system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039786A (en) * 2018-09-28 2018-12-18 山东中创软件商用中间件股份有限公司 A kind of topology drawing generating method, device, equipment and readable storage medium storing program for executing
CN110868319A (en) * 2019-11-08 2020-03-06 北京浪潮数据技术有限公司 Network topology drawing method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN112685409A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN108958736B (en) Page generation method and device, electronic equipment and computer readable medium
US9395889B1 (en) Identification of semantically relevant concepts in a graphical model
CN112685409B (en) PAAS application service topology generation method and device and readable storage medium
US20220164222A1 (en) Execution of Services Concurrently
CN111124379B (en) Page generation method and device, electronic equipment and storage medium
CN111143039B (en) Scheduling method and device of virtual machine and computer storage medium
CN111597143A (en) Method for converting DAG graph data into workflow engine scheduling file
CN114820279B (en) Distributed deep learning method and device based on multiple GPUs and electronic equipment
EP4213071A1 (en) Model processing method and apparatus, device, and computer-readable storage medium
CN113010598A (en) Dynamic self-adaptive distributed cooperative workflow system for remote sensing big data processing
US8745537B1 (en) Graphical interface for managing and monitoring the status of a graphical model
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN111459621B (en) Cloud simulation integration and scheduling method and device, computer equipment and storage medium
CN112270413A (en) Operator merging method and device, electronic equipment and storage medium
CN113448678A (en) Application information generation method, deployment method, device, system and storage medium
CN111158800A (en) Method and device for constructing task DAG based on mapping relation
CN115668895A (en) Resource configuration determining method and device of cloud service system
CN115543534A (en) Training task management method and device, electronic equipment and storage medium
CN110956025A (en) Method based on process template multiplexing
CN116360712A (en) Platform framework extension method, device and storage medium
CN112434091A (en) Method, system, device and medium for designing and configuring multi-level ETL task rule
KR20210070896A (en) Cloud system realization apparatus and method, recording medium storing program for executing the same
CN113792247B (en) Method, apparatus, device and medium for generating functional flow chart based on code characteristics
CN111399931B (en) Method and terminal for exporting UI (user interface) resources by LayaAir engine
Pogrebnoy Constructing graph models for software system development and analysis

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