Application processing method and device, computer equipment, storage medium and program product

By applying pre-verification of the knowledge graph, the stability problems caused by application processing operations in the cloud server cluster are solved, ensuring the normal operation of the application after application processing operations, and improving the efficiency of deployment and upgrades.

CN118778975APending Publication Date: 2024-10-15TENCENT CLOUD COMPUTING (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310356022.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the existing technology, application processing operations lead to the problem of poor application operation stability. Especially in cloud server clusters, unclear dependencies and conflicts are prone to occur during application deployment and upgrade, causing the application to fail to run normally.

Method used

Through the pre-established application knowledge graph, the application nodes and their connecting edges are determined, and verified according to the influencing relationship type and associated application status to ensure pre-verification of application processing operations and prevent applications from running normally.

Benefits of technology

It improves the stability of application operation, ensures that the application can run normally after application processing operations, reduces the workload of deployment and upgrade, and improves delivery efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778975A_ABST
    Figure CN118778975A_ABST
Patent Text Reader

Abstract

The invention relates to an application processing method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to an application processing operation for an application running environment, determining a node for representing a specified application from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; determining a connection edge of the node and an associated node connected with the node through the connection edge from the application knowledge graph; verifying the application processing operation according to the relationship type of the influence relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment; and when the verification result indicates that the state after the application processing operation is executed in the application running environment accords with the normal running state of the application, executing the application processing operation in the application running environment. By adopting the method, the stability of the application running process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an application processing method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of computer technology, various applications for realizing different functions have emerged. For example, in a cloud server cluster, one or more applications can be developed for each cloud service resource. These applications are deployed in the cloud service cluster to realize the various functions required by the cloud service resources.

[0003] Due to various business needs, it is often necessary to perform application processing operations on the application running environment, for example, deploying a new application in a certain application running environment or upgrading an application in a certain application running environment. However, in the related technology, there is often a problem that the execution of application processing operations leads to poor application running stability. Summary of the invention

[0004] Based on this, it is necessary to provide an application processing method, apparatus, computer device, computer-readable storage medium and computer program product that can improve the stability of application operation in response to the above technical problems.

[0005] In a first aspect, the present application provides an application processing method. The method comprises:

[0006] In response to an application processing operation for an application running environment, a node for representing the specified application is determined from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to influence relationships between different applications;

[0007] Determine, from the application knowledge graph, a connection edge of the node and an associated node connected to the node through the connection edge;

[0008] Verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment;

[0009] When the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the application processing operation is executed in the application running environment.

[0010] In a second aspect, the present application also provides an application processing device. The device includes:

[0011] A node determination module, for responding to an application processing operation for an application running environment, and determining a node for representing the specified application from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to the influence relationship between different applications;

[0012] An associated data determination module, used to determine, from the application knowledge graph, the connection edges of the node and the associated nodes connected to the node through the connection edges;

[0013] A verification module, configured to verify the application processing operation according to the relationship type of the influence relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment;

[0014] The processing operation execution module is used to execute the application processing operation in the application running environment when the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application.

[0015] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0016] In response to an application processing operation for an application running environment, a node for representing the specified application is determined from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to influence relationships between different applications;

[0017] Determine, from the application knowledge graph, a connection edge of the node and an associated node connected to the node through the connection edge;

[0018] Verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment;

[0019] When the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the application processing operation is executed in the application running environment.

[0020] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0021] In response to an application processing operation for an application running environment, a node for representing the specified application is determined from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to influence relationships between different applications;

[0022] Determine, from the application knowledge graph, a connection edge of the node and an associated node connected to the node through the connection edge;

[0023] Verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment;

[0024] When the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the application processing operation is executed in the application running environment.

[0025] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0026] In response to an application processing operation for an application running environment, a node for representing the specified application is determined from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to influence relationships between different applications;

[0027] Determine, from the application knowledge graph, a connection edge of the node and an associated node connected to the node through the connection edge;

[0028] Verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment;

[0029] When the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the application processing operation is executed in the application running environment.

[0030] The above-mentioned application processing method, apparatus, computer equipment, storage medium and computer program product can make the influence relationship between applications transparent through a pre-established application knowledge graph, so that before the application processing operation needs to be performed on the application running environment, the node used to represent the specified application is determined from the pre-established application knowledge graph according to the attribute data of the application specified by the application processing operation, and the connection edges of the node and the associated nodes connected to the node through the connection edges are determined from the application knowledge graph. According to the relationship type of the influence relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment, the application processing operation is verified, thereby realizing pre-verification of the application processing operation before the application processing operation is processed. When the result of the verification indicates that the state after executing the application processing operation in the application running environment is consistent with the normal operating state of the application, the application processing operation is performed in the application running environment, thereby avoiding the application from failing to operate normally after the application processing operation is executed, thereby improving the stability of the application during operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 An application environment diagram of an application processing method in an embodiment;

[0032] Figure 2 A schematic diagram of a process flow of an application processing method in one embodiment;

[0033] Figure 3 A schematic diagram of applying a knowledge graph in one embodiment;

[0034] Figure 4 A schematic diagram of a process for verifying an application processing operation in one embodiment;

[0035] Figure 5 A schematic diagram of a construction process of an application knowledge graph in one embodiment;

[0036] Figure 6 A system architecture diagram for cloud product dependency conflict detection in one embodiment;

[0037] Figure 7 A schematic diagram of an application knowledge graph corresponding to different cloud products in the same version in an embodiment;

[0038] Figure 8 A schematic diagram of an application knowledge graph corresponding to cloud products in different versions in an embodiment;

[0039] Fig. 9 A schematic diagram of a process for building a knowledge graph for a single cloud product in a single version in one embodiment;

[0040] Fig.10 A schematic diagram of an example processing process of dependency conflict detection in one embodiment;

[0041] Fig.11 A schematic diagram of a process for detecting whether an application is deployed in one embodiment;

[0042] Fig.12 A schematic diagram of a process flow of dependency conflict detection in one embodiment;

[0043] Fig.13 is a structural block diagram of an application processing device in one embodiment;

[0044] Fig.14 is an internal structure diagram of a computer device in one embodiment;

[0045] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The application processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. The data storage system can store the data that the server needs to process, for example, it can store the application knowledge graph, and the status data of the application in the application running environment. The terminal 102 and the server 104 can both execute the application processing method in this application separately, and the terminal 102 and the server 104 can also execute the application processing method in this application in collaboration. Optionally, the terminal 102 can send an application processing request to the server 104, and the server 104 can determine the application processing operation for the application running environment based on the application processing request, so that in response to the application processing operation for the application running environment, according to the attribute data of the application specified by the application processing operation, the server 104 can determine the node used to represent the specified application from the pre-established application knowledge graph, and determine the connection edges of the nodes and the associated nodes connected to the nodes through the connection edges from the application knowledge graph. According to the relationship type of the influence relationship represented by the connection edges and the status of the associated applications represented by the associated nodes in the application running environment, the application processing operation is verified; when the result of the verification indicates that the state after executing the application processing operation in the application running environment is consistent with the normal operating state of the application, the application processing operation is executed in the application running environment.

[0048] Among them, the server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 102 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal 102 and the server 104 can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0049] In some embodiments, Figure 2 As shown, an application processing method is provided, which is executed by a computer device, and can be specifically executed by a computer device such as a terminal or a server alone, or can be executed by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0050] Step 202, in response to an application processing operation for the application running environment, according to the attribute data of the application specified by the application processing operation, a node for representing the specified application is determined from a pre-established application knowledge graph; the application knowledge graph is constructed according to the influence relationship between different applications.

[0051] Among them, the application can be an application running on the terminal or an application running on the server. The application running on the terminal can be a native application. A native application is an application that can be directly run on the operating system. Native applications can be social applications, file management applications, email applications, shopping applications, map applications, or game applications, etc. Social applications include instant messaging applications, SNS (Social Network Service, social networking site) applications, or live broadcast applications, etc. The application running on the server can be a cloud application, which is used to implement a certain function under the cloud service resource. For example, for the cloud service resource of a virtual machine, it can include a cloud application for implementing virtual machine interaction. For applications running on the terminal, the application running environment can be the software environment for running the application, for example, it can be the operating system for running the application. For applications running on the server, the application running environment can be the hardware environment for running the application, for example, the application running environment can be a cloud server cluster for running the application.

[0052] The application processing operation for the application running environment may include any one of the following operations: application deployment operation, application upgrade operation and application deletion operation. The attribute data of the application may be characteristic data that distinguishes the application from other applications, such as the name of the application, the version number of the application, etc. In a specific implementation, an application usually has multiple application versions, and different application versions have different attribute data, so different application versions can be regarded as different applications.

[0053] The application knowledge graph is pre-established and describes the impact relationship between different applications. The application knowledge graph can be constructed based on the impact relationship between different applications. The impact relationship here includes two types of relationships, one type of relationship is a conflict relationship, and the other type of relationship is a dependency relationship. The application knowledge graph includes multiple nodes and multiple connection edges. Different nodes are connected through connection edges. Each node represents an application, and the attribute data of the applications represented by different nodes are different. In the specific implementation, when an application has multiple application versions, different application versions can be represented by different nodes.

[0054] Each edge in the application knowledge graph represents an influence relationship. The edge can have a connection direction. Optionally, the application represented by the node pointed to by the connection direction is the application of the influence relationship represented by the edge. For example, refer to Figure 3 , is a schematic diagram of an application knowledge graph in an embodiment, wherein there is a connection edge between node 1 and node 2 that represents a dependency relationship, and the connection direction of the connection edge points to node 2, then the influence relationship represented by the connection edge between node 1 and node 2 acts on the application represented by node 2, that is, the application represented by node 1 depends on the application represented by node 2; there is a connection edge between node 2 and node 3 that represents a conflict relationship, and the connection direction of the connection edge points to node 3, then the influence relationship represented by the connection edge between node 2 and node 3 acts on the application represented by node 3, that is, the application represented by node 2 conflicts with the application represented by node 3. It can be understood that in actual applications, the conflict relationship between two applications is usually mutual, that is, if the application represented by node 2 conflicts with the application represented by node 3, then the application represented by node 3 will also conflict with the application represented by node 2.

[0055] Specifically, the server can receive an application processing request for an application running environment sent by a terminal, extract an application processing operation and attribute data of the application specified by the application processing operation from the application processing request, and the server can further respond to the application processing operation extracted from the application processing request, and query the pre-built application knowledge graph according to the attribute data of the application specified by the application processing operation, so as to determine the node used to represent the specified application from the application knowledge graph. During the query process, the server can specifically match the attribute data of the application specified by the application processing operation with the attributes of each node in the application knowledge graph, and the node that successfully matches is the node representing the specified application.

[0056] Step 204, determine the connection edges of the node and the associated nodes connected to the node through the connection edges from the application knowledge graph.

[0057] Among them, the connection edge of the node refers to the connection edge used to connect the node and other nodes in the application knowledge graph. The node connected to the node through the connection edge is the associated node of the node. It should be noted that in the application knowledge graph, some nodes will have multiple levels of associated nodes, among which the first-level associated nodes refer to directly connected associated nodes, the second-level refers to associated nodes directly connected to the first-level associated nodes, and so on. In the embodiment of the present application, when referring to the associated nodes of a node, it usually refers to the first-level associated nodes.

[0058] Specifically, the server can determine, from the application knowledge graph, a connection edge of a node representing an application specified by an application processing operation (hereinafter referred to as the designated application node), and determine another node connected by the connection edge as an associated node of the designated application node.

[0059] For example, continue to refer to Figure 3 Assuming that the designated application node determined from the application knowledge graph is node 1, the connection edge of node 1 and the associated node of node 1 can be further determined from the application knowledge graph. The connection edge of node 1 is the connection edge connecting node 1 and node 2, and the associated node of node 1 is node 2.

[0060] Step 206 , verify the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment.

[0061] The state of the associated application in the application running environment includes one of an undeployed state, a normal running state, and an abnormal running state, wherein the undeployed state means that the associated application has not been deployed to the application running environment, the normal running state means that the associated application has been deployed to the application running environment and can run normally in the application running environment, and the abnormal running state means that the associated application has been deployed to the application running environment but cannot run normally in the application running environment. The application is deployed in the running environment but cannot run normally, which may include two situations: there are applications that conflict with the application in the application running environment, or the application that the application depends on is not deployed in the application running environment.

[0062] Specifically, based on the connection edges of the specified application nodes, the server can determine the relationship type of the represented influence relationship. Based on the associated nodes of the specified application nodes, the server can determine the associated applications, and then determine the status of the associated applications in the application running environment. Furthermore, the server can verify the application processing operation based on the relationship type of the influence relationship represented by the connection edges and the status of the associated applications in the application running environment, thereby achieving pre-verification of the application processing operation based on the pre-established application knowledge graph before the application processing operation is executed.

[0063] The verification result may include two possible situations. One situation is that the verification result indicates that the state after executing the application processing operation in the application running environment is consistent with the normal operating state of the application. The other situation is that the verification result indicates that the state after executing the application processing operation in the application running environment is not consistent with the normal operating state of the application.

[0064] Step 206: When the verification result indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the application processing operation is executed in the application running environment.

[0065] Among them, the normal operating state of the application means that the application operating environment can be suitable for the application to operate normally therein. In some embodiments, when the application processing operation includes an application deployment operation or an application upgrade operation, when the result of the verification indicates that the state after executing the application processing operation in the application operating environment meets the normal operating state corresponding to the specified application, the application processing operation is performed in the application operating environment, that is, in this case, the normal operating state of the application is for the specified application. In some other embodiments, when the application processing operation includes an application deletion operation, when the result of the verification indicates that the state after executing the application processing operation in the application operating environment meets the normal operating state corresponding to the associated application, the application processing operation is performed in the application operating environment, that is, in this case, the normal operating state of the application is for the associated application.

[0066] Specifically, when the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the server can execute the application processing operation in the application running environment. For example, assuming that the application processing operation for the application running environment is an application deployment operation, the application specified by the application deployment operation is deployed to the application running environment; assuming that the application processing operation for the application running environment is an application upgrade operation, the application specified by the application deployment operation is upgraded in the application running environment; assuming that the application processing operation for the application running environment is an application deletion operation, the application specified by the application deployment operation is uninstalled from the application running environment.

[0067] In some embodiments, when the verification result indicates that the state after executing the application processing operation in the application running environment does not conform to the normal operating state of the application, the server can terminate the application processing operation for the application running environment to avoid the application from failing to run normally after the application processing operation is executed, thereby affecting the stability of the application during operation.

[0068] In the above-mentioned application processing method, the influence relationship between applications can be made transparent through the pre-established application knowledge graph, so that before the application processing operation needs to be performed on the application running environment, the node used to represent the specified application is determined from the pre-established application knowledge graph according to the attribute data of the application specified by the application processing operation, and the connection edges of the nodes and the associated nodes connected to the nodes through the connection edges are determined from the application knowledge graph. According to the relationship type of the influence relationship represented by the connection edges and the state of the associated application represented by the associated nodes in the application running environment, the application processing operation is verified, thereby realizing pre-verification of the application processing operation before the application processing operation is processed. When the result of the verification indicates that the state after executing the application processing operation in the application running environment is consistent with the normal operating state of the application, the application processing operation is performed in the application running environment, thereby avoiding the application from failing to run normally after the application processing operation is executed, thereby improving the stability of the application during operation.

[0069] It can be seen from the above embodiments that the application processing operation for the application running environment can be any one of an application deployment operation, an application upgrade operation and an application deletion operation. The following embodiments will introduce the specific verification process under various application processing operations according to different situations.

[0070] In some embodiments, the application processing operation includes an application deployment operation or an application upgrade operation, such as Figure 4 As shown, the application processing operation is verified according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment, including:

[0071] Step 402: Determine the expected state of the associated application represented by the associated node in the application running environment according to the relationship type of the influence relationship represented by the connection edge.

[0072] Among them, the expected state refers to the state of the expected associated application in the application running environment after the application processing operation is performed in the application running environment. In the expected state, the state after the application processing operation is performed in the application running environment can conform to the normal operating state of the application, that is, the application specified by the application processing operation can run normally in the application running environment.

[0073] Specifically, the server may determine the expected state of the associated application represented by the associated node in the application running environment according to the relationship type of the influence relationship represented by the connection edge.

[0074] In some embodiments, the expected state of the associated application represented by the associated node in the application running environment is determined according to the relationship type, including: when the influence relationship represented by the connecting edge includes a first influence relationship with a relationship type of a conflict relationship, the associated application represented by the first associated node is determined as the associated application acted upon by the first influence relationship; and the expected state of the associated application acted upon by the first influence relationship in the application running environment is determined to be an undeployed state.

[0075] The first associated node is an associated node connected by a connection edge representing a first influence relationship. If the relationship type of the first influence relationship is a conflict relationship, then the associated application acted upon by the first influence relationship is a conflict application.

[0076] Specifically, when the influence relationship represented by the connecting edge includes a first influence relationship whose relationship type is a conflict relationship, it means that the application represented by the associated node is a conflicting application of the specified application. If the specified application and the conflicting application exist at the same time in the application running environment, the two applications will conflict with each other, thereby causing the specified application to fail to run normally. Therefore, in order to ensure that the state after the application deployment operation or the application upgrade operation is executed can meet the normal operating state, the server determines the expected state of the conflicting application in the application running environment as an undeployed state.

[0077] In some embodiments, the expected state of the associated application represented by the associated node in the application running environment is determined according to the relationship type, including: when the influence relationship represented by the connecting edge includes a second influence relationship whose relationship type is a dependency relationship, and the connecting edge where the second influence relationship is located points to the associated node, the associated application represented by the second associated node is determined as the associated application acted upon by the second influence relationship; and the expected state of the associated application acted upon by the second influence relationship in the application running environment is determined to be a normal running state.

[0078] Among them, the second associated node is the associated node pointed to by the connection edge representing the second impact relationship. If the relationship type of the second impact relationship is a dependency relationship, then the associated application acted upon by the second impact relationship is the dependent application. The normal operating state means that the application can operate normally in the application operating environment. In a specific application, when an application is an independent application, if the application is in a deployed state in the application operating environment, it can be determined that the application is in a normal operating state; when an application is a non-independent application, if the dependent application of the application is in a deployed state in the application operating environment, and the conflicting application of the application is in an undeployed state in the application operating environment, it can be determined that the application is in a normal operating state.

[0079] Specifically, when the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, if the connection edge points to an associated node, it means that the second influence relationship acts on the application represented by the associated node, that is, the application represented by the associated node is a dependent application of the specified application, and the normal operation of the specified application depends on the dependent application. Only when the dependent application is in a normal operating state can the normal operation of the specified application be guaranteed. Therefore, in order to ensure that the state after the application deployment operation or the application upgrade operation is executed can meet the normal operating state, the server will determine the expected state of the dependent application in the application running environment as the normal operating state.

[0080] It can be understood that if the connection edge points to a specified application node, it means that the second influence relationship acts on the specified application, that is, the specified application is a dependent application of the application represented by the associated node, and the normal operation of the application represented by the associated node depends on the specified application. At this time, the application represented by the associated node does not affect the specified application. During the verification process, the connection edge and the associated node connected to the connection edge can be ignored.

[0081] Step 404: Detect the state of the associated application represented by the associated node in the application running environment to obtain the state of the associated application in the application running environment.

[0082] Step 406: Verify the application processing operation according to the status obtained by the detection and the expected status of the associated application in the application running environment.

[0083] The state of the associated application in the application running environment is obtained through detection, that is, the state is the actual state of the associated application in the application running environment.

[0084] Specifically, the server can detect the state of the associated application represented by the associated node in the application running environment to obtain the state of the associated application in the application running environment. When the state obtained by the detection is consistent with the expected state of the associated application in the application running environment, the result obtained by the verification indicates that the state after executing the application processing operation in the application running environment is consistent with the normal operating state of the application. When the state obtained by the detection is inconsistent with the expected state of the associated application in the application running environment, the result obtained by the verification indicates that the state after executing the application processing operation in the application running environment is inconsistent with the normal operating state of the application.

[0085] In the above embodiment, by detecting the actual state of the associated application in the application running environment and determining the expected state of the associated application according to the relationship type of the impact relationship, the application processing operation is verified according to the actual state and the expected state, thereby improving the verification efficiency.

[0086] As can be seen from the above embodiments, when the application processing operation includes an application deployment operation or an application upgrade operation, the state of the associated application represented by the associated node in the application running environment can be detected and obtained by the associated application state detection step. The following embodiments will introduce the associated application state detection step.

[0087] In some embodiments, when the influence relationship represented by the connection edge includes a first influence relationship whose relationship type is a conflict relationship, the associated application status detection step may include: the server detects the deployment status of the associated application represented by the associated node in the application running environment. In a specific implementation, there may be at least two ways to detect the deployment status of a certain application in the application running environment: in one possible implementation, the server may traverse each application in the application running environment. If the application is traversed, it means that the application is in a deployed state in the application running environment. If the application is not traversed, it means that the application is in an undeployed state in the application running environment. In another possible implementation, each deployed application in the application running environment may be stored in a database, and the server may directly query the database. If the application is queried, it means that the application is in a deployed state in the application running environment. If the application is not queried, it means that the application is in an undeployed state in the application running environment.

[0088] Further, if the associated application represented by the associated node is in an undeployed state in the application running environment, then it is determined that the state of the associated application represented by the associated node in the application running environment is consistent with the expected state of the associated application in the application running environment; if the associated application represented by the associated node is in a deployed state in the application running environment, then it is determined that the state of the associated application represented by the associated node in the application running environment is inconsistent with the expected state of the associated application in the application running environment.

[0089] For example, continue to refer to Figure 3 , assuming that node 2 is a designated application node, and the relationship type of the influence relationship represented by the connection edge between node 2 and node 3 is a conflict relationship, the associated application represented by node 3 can be detected. If the associated application represented by node 3 is in an undeployed state in the application running environment, it can be determined that the state of the associated application represented by node 3 in the application running environment is consistent with the expected state of the associated application in the application running environment.

[0090] In the above embodiment, when the influence relationship represented by the connection edge includes a first influence relationship whose relationship type is a conflict relationship, the application processing operation can be verified by detecting whether the associated application represented by the associated node is deployed, thereby improving the verification efficiency.

[0091] It can be understood that, for the case where the application processing operation includes an application deployment operation or an application upgrade operation, if the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, and the connection edge where the second influence relationship is located points to an associated node, then when performing status detection on the associated application represented by the associated node, it is necessary to consider whether there is dependency transitivity. The so-called dependency transitivity means that the dependent application itself also depends on other applications. For example, application A depends on application B, and application B depends on application C. At this time, application B's dependency on application C will be transmitted to application A, that is, application A is intermittently dependent on application C. The following embodiments will introduce possible implementation methods of the associated application status detection step in two cases: with dependency transitivity and without dependency transitivity.

[0092] In some embodiments, the associated application status detection step includes: when there is a dependent node link with an associated node as the starting node in the application knowledge graph, the server can detect the status of the application represented by each dependent node in the dependent node link in the application running environment to obtain a detection result; based on the detection result, determine the status of the associated application in the application running environment.

[0093] Among them, the influence relationship represented by the connection edge between every two adjacent dependent nodes in the dependent node link belongs to the dependent relationship, and the influence relationship represented by the connection edge between every two adjacent dependent nodes acts on the application represented by the subsequent dependent node.

[0094] Specifically, the server can take the associated node as the current node, and determine from the application knowledge graph whether there is a connection edge starting from the current node and pointing to other nodes. If the connection edge exists and the relationship type of the impact relationship represented by the connection edge belongs to a dependency relationship, the node connected by the connection edge is taken as the dependent node. The dependent node is taken as the current node again, and the above steps are repeated to find all the dependent nodes from the application knowledge graph. These dependent nodes eventually form a dependent node link. It can be seen that the dependent node link includes all the nodes that are directly and indirectly dependent on the specified application node.

[0095] The server may perform a status detection on the application represented by at least a portion of the dependent nodes in the dependent node link, and finally determine the status of the associated application in the application running environment based on the detection result. In some specific embodiments, if there is at least one dependent node in the dependent node link that is not deployed, it can be determined that the associated application is in an abnormal operating state in the application running environment.

[0096] For example, continue to refer to Figure 3 , assuming that node 1 is the designated application node, then node 2 is the associated node of node 1, the connection edge between node 1 and node 2 belongs to a dependency relationship and the connection edge points to node 2, node 4 is the associated node of node 2, the connection edge between node 4 and node 2 belongs to a dependency relationship and the connection edge points to node 4, then node 2, the connection edge between node 2 and node 4, and node 4 constitute the dependent node link corresponding to node 1.

[0097] In the above embodiment, when there is a dependent node link with an associated node as the starting node in the application knowledge graph, the server detects the status of the application represented by each dependent node in the dependent node link in the application running environment to obtain a detection result. Based on the detection result, since the actual status of the application represented by each dependent node is taken into consideration, the status of the associated application in the application running environment can be determined more accurately.

[0098] In some embodiments, based on the detection results, the status of the associated application in the application running environment is determined, including: when the detection results indicate that each dependent node in the dependent node link is in a deployed state in the application running environment, determining the node relationship between the last dependent node and other nodes representing the application outside the dependent node link; in response to the determined node relationship indicating that the last dependent node is independent of other nodes representing the application, determining that the associated application is in a normal operating state in the application running environment.

[0099] Among them, the last dependent node refers to the last dependent node in the dependent node link. Since it is the last dependent node, in the application knowledge graph, the node relationship between the last dependent node and other nodes representing the application outside the dependent node link can only include the following two types: one is that the last dependent node is independent of other nodes, that is, there is no connection relationship edge between it and other nodes; the other is that the last dependent node is connected to at least one of the other nodes through a conflict relationship edge.

[0100] Specifically, when the detection result indicates that each dependent node in the dependent node link is in a deployed state in the application running environment, the server can determine the node relationship between the end dependent node and other nodes representing applications outside the dependent node link. If the determined node relationship indicates that the end dependent node is independent of other nodes representing applications, it means that the applications represented by each dependent node in the dependent node link can run normally in the application running environment. At this time, the server can determine that the associated application is in a normal running state in the application running environment.

[0101] For example, continue to refer to Figure 3 , assuming that node 1 is the designated application node, and the applications represented by nodes 2 and 4 in the dependent node link are both in the deployed state, the last dependent node is node 4, and node 4 is independent of other nodes outside the dependent node link, then it can be determined that the associated application represented by node 2 is in a normal operating state in the application running environment.

[0102] In some embodiments, determining the status of the associated application in the application running environment based on the detection results also includes: in response to the determined node relationship indicating that the terminal dependent node is connected to any one of the other nodes representing the application through a conflict relationship edge, detecting the status of the conflicting application in the application running environment represented by the nodes connected by the conflict relationship edge to obtain the status of the conflicting application in the application running environment; when the status obtained by the detection indicates that the conflicting application is in an undeployed state in the application running environment, determining that the associated application is in a normal running state in the application running environment.

[0103] The conflict relationship edge is used to represent the impact relationship of the conflict relationship type. For example, Figure 3 In the example, the relationship edge between node 2 and node 3 is a conflicting relationship edge.

[0104] Specifically, the determined node relationship indicates that the last dependent node is connected to any of the other nodes representing the application through a conflict relationship edge, indicating that the application represented by the last dependent node has a conflicting application. Then the server needs to detect the state of the conflicting application in the application running environment. When the state obtained by the detection indicates that the conflicting application is in an undeployed state in the application running environment, it is determined that the associated application is in a normal operating state in the application running environment. In some other embodiments, when the state obtained by the detection indicates that the conflicting application is in a deployed state in the application running environment, the server can determine that the associated application is in an abnormal operating state in the application running environment.

[0105] In the above embodiment, by detecting the last dependent node in the dependent node link, the impact of the dependency transfer on the application represented by the associated node can be accurately determined, thereby improving the accuracy of the detection of the associated application status.

[0106] In some embodiments, the associated application status detection step includes: when there is no dependent node link with the associated node as the starting node in the application knowledge graph, and the application represented by the associated node is in a deployed state in the application running environment, the server can determine the node relationship between the associated node and other nodes other than the node corresponding to the specified application; in response to the determined node relationship indicating that the associated node is independent of other nodes other than the node corresponding to the specified application, determine that the associated application is in a normal running state in the application running environment.

[0107] Specifically, when there is no dependent node link with the associated node as the starting node in the application knowledge graph, it means that there is no need to consider dependency transfer. At this time, if the application represented by the associated node is in a deployed state in the application running environment, the server needs to further determine whether the associated node is an independent node. If the associated node is an independent node, that is, independent of other nodes other than the node corresponding to the specified application, it can be directly determined that the associated application is in a normal operating state in the application running environment.

[0108] In some embodiments, the associated application status detection step also includes: when there is no dependent node link with the associated node as the starting node in the application knowledge graph, and the application represented by the associated node is in an undeployed state in the application running environment, determining that the associated application is in an abnormal running state in the application running environment.

[0109] In some embodiments, the associated application status detection step also includes: in response to the determined node relationship indicating that the associated node is connected to any one of the nodes other than the node corresponding to the specified application through a conflict relationship edge, detecting the status of the conflicting application represented by the node connected by the conflict relationship edge in the application running environment, and obtaining the status of the conflicting application in the application running environment; when the status obtained by the detection indicates that the conflicting application is in an undeployed state in the application running environment, determining that the associated application is in a normal running state in the application running environment.

[0110] Specifically, if the associated node is connected to any of the other nodes other than the node corresponding to the specified application through a conflict relationship edge, it means that there is a conflicting application in the associated application represented by the associated node, and the server further detects the state of the conflicting application in the application running environment, and only when the state obtained by the detection indicates that the conflicting application is in an undeployed state in the application running environment, it is determined that the associated application is in a normal operating state in the application running environment. Optionally, when the state obtained by the detection indicates that the conflicting application is in a deployed state in the application running environment, it is determined that the associated application is in an abnormal operating state in the application running environment.

[0111] In the above embodiment, in the case where there is no dependent node link, the deployment status of the associated application in the application running environment and whether there are conflicting applications deployed in the application running environment can be directly detected, thereby improving the accuracy and efficiency of the associated application status detection.

[0112] The above embodiments have been described with respect to application processing operations including application deployment operations and application upgrade operations. The following describes possible implementation methods for verifying application processing operations when the application processing operations include application deletion operations.

[0113] In some embodiments, when the influence relationship represented by the connection edge includes a third influence relationship whose relationship type is a dependency relationship, and the connection edge where the third influence relationship is located points to a node of a specified application, the state of the associated application represented by the associated node in the application running environment is detected to obtain the state of the associated application in the application running environment; when the associated application is in a deployed state in the application running environment, the result obtained by the verification indicates the state after executing the application processing operation in the application running environment, which does not conform to the normal operating state of the application corresponding to the associated application.

[0114] The connection edge where the third influence relationship is located points to the node of the specified application, that is, the third influence relationship is the dependency relationship of other applications on the specified application.

[0115] Specifically, the application deletion operation for each application usually affects the applications that depend on the application. For example, assuming that application A depends on application B, if application B is deleted, application A will not be able to run normally in the application running environment. Based on this, in this embodiment, the server can detect the state of the associated application represented by the associated node in the application running environment to obtain the state of the associated application in the application running environment. When the associated application is in a deployed state in the application running environment, the result obtained by the verification indicates that the state after the application processing operation is performed in the application running environment does not conform to the normal operating state of the application corresponding to the associated application, that is, after the application deletion operation is performed in the application running environment, the associated application will not be able to run normally.

[0116] It is understandable that in some other embodiments, if the associated application is in an undeployed state in the application running environment, there is no need to consider the impact of the application deletion operation on the associated application. At this time, the result obtained by the verification indicates the state after executing the application processing operation in the application running environment, which is consistent with the normal running state of the application.

[0117] In the above embodiment, for the application deletion operation, it is possible to detect whether the associated application has been deployed in the application running environment, and verify the application processing operation according to the deployment status of the associated application in the application running environment, so as to avoid the associated application from failing to run normally after the application is deleted.

[0118] It can be known from the above embodiments that the embodiments of the present application use a pre-built application knowledge graph to perform pre-detection on the status of application processing operations after execution in the application running environment, wherein the application knowledge graph can be obtained by constructing a knowledge graph construction step. In the following embodiments, possible implementation methods of the knowledge graph construction step will be introduced.

[0119] In some embodiments, the knowledge graph construction step includes: determining multiple candidate applications for constructing the application knowledge graph, and creating nodes for representing each candidate application; for each candidate application, obtaining the influence relationship configuration data corresponding to the candidate application; traversing each influence relationship in the influence relationship configuration data, and creating connection edges for representing the influence relationship between the nodes corresponding to the candidate application and the nodes corresponding to other applications based on the traversed influence relationships.

[0120] Specifically, the server first determines multiple candidate applications for constructing an application knowledge graph, and for each candidate application, creates a node for representing the candidate application, and the connection edges between the nodes can be constructed according to the influence relationship configuration data of the candidate application. Specifically, for each candidate application, the server can obtain the influence relationship configuration data corresponding to the candidate application, traverse each influence relationship in the influence relationship configuration data, and if it is an influence relationship of a conflict relationship type, determine another conflicting application, and then create a connection edge between the candidate application and the other application involved to represent the influence relationship of the conflict relationship type; if it is an influence relationship of a dependency relationship type, determine another application involved in the influence relationship, and then create a connection edge between the candidate application and the other application involved to represent the influence relationship of the dependency relationship type.

[0121] Optionally, the connection edge may have a connection direction. When the influence relationship is a dependency relationship type, the connection edge may point to a node used to characterize the application affected by the dependency relationship; when the influence relationship is a conflict relationship type, the connection edge may point to a node used to characterize the application affected by the conflict relationship.

[0122] In some embodiments, the impact relationship configuration data of the application can be obtained by parsing the configuration file of the application. Figure 5 , is a schematic diagram of the construction process of the application knowledge graph in one embodiment. In this embodiment, the applications in the application knowledge graph are applications under cloud service resources, that is, cloud applications. During the construction process, the server can obtain the CRD (Custom Resource Definition, cloud-native custom resources) configuration files of each candidate application from the application GIT library of the cloud service resources, parse each application CRD, build a knowledge graph, and finally obtain the application knowledge graph of the cloud server resources.

[0123] In some embodiments, the application running environment is a cloud server cluster, and the applications in the application collection are applications under cloud service resources. Considering that there may be multiple versions of cloud service resources, in this embodiment, multiple candidate applications for constructing an application knowledge graph are determined, and nodes for representing each candidate application are created respectively. Specifically, the following steps may be included: determining a cloud service resource collection for constructing an application knowledge graph; for each cloud service resource version under each cloud service resource in the cloud service resource collection, obtaining the application collection under the cloud service resource version; for each application in the application sub-collection, creating a node for representing the targeted application.

[0124] In the above embodiment, by obtaining the application set under each cloud service resource version, and then creating a node for representing the targeted application for each application in the application set, it can be ensured that all application versions involved in the cloud service resource set are not missed, thereby improving the comprehensiveness of the application versions covered by the application knowledge graph.

[0125] In some embodiments, the knowledge graph construction step may also include the following steps: for each cloud service resource version under each cloud service resource in the cloud service resource collection, a resource node is created to represent the cloud service resource version; for each resource node corresponding to the cloud service resource version, a connection edge is created between the resource node and each subordinate node of the resource node to represent the subordinate relationship; the subordinate nodes of the resource node are nodes used to represent the applications in the application collection under the cloud service resource version.

[0126] Specifically, for the case where the application running environment is a cloud server cluster and the applications in the application set are applications under cloud service resources, a node used to represent the cloud service resource version, i.e., a resource node, can be created for each cloud service resource version. There is a subordinate relationship between the cloud server resource version and the application in its corresponding application set, and this subordinate relationship can be further represented in the application knowledge graph through connecting edges.

[0127] By indicating the subordinate relationship between the cloud server resource version and the application in the application knowledge graph, the query time can be reduced and the node determination efficiency can be improved when locating the node for the application specified by the application processing operation. Based on this, in some embodiments, in response to the application processing operation for the application running environment, according to the attribute data of the application specified by the application processing operation, the node used to represent the specified application is determined from the pre-established application knowledge graph, including: receiving the application processing request sent by the terminal, obtaining the application processing operation, the first description information of the targeted cloud service resource and the second description information of the specified application from the application processing request; in response to the application processing operation for the cloud server cluster, determining the resource node used to represent the targeted cloud service resource from the application knowledge graph according to the first description information; determining the subsidiary node of the resource node from the application knowledge graph, and determining the node used to represent the specified application from the subsidiary node of the resource node according to the second description information.

[0128] Specifically, the server first determines the resource node used to characterize the targeted cloud service resources from the application knowledge graph based on the first description information, and then queries the node used to characterize the specified application in the subsidiary nodes of the resource node, which is equivalent to narrowing the node query range. The server only needs to match the second description information with the attributes of each node within this small range, and thus can quickly determine the node used to characterize the specified application, greatly improving the efficiency of node determination, thereby improving the verification efficiency of application processing operations.

[0129] For example, assuming that after the server receives an application processing request, it obtains the application deployment operation, the resource name and version number of the cloud service resource, and the application name and version number of the specified application from the application processing request. The server can first determine that the resource node representing the cloud service resource is resource node 1 based on the resource name and version number. Resource node 1 has 4 subsidiary nodes in the application knowledge graph. The server can then match the application name and version number of the specified application with the attributes of the four subsidiary nodes respectively, thereby quickly determining the node used to represent the application specified by the application deployment operation.

[0130] In some embodiments, the above-mentioned application processing method also includes: when the result of the verification indicates that the state after executing the application processing operation in the application running environment does not conform to the normal operating state of the application, terminating the application processing operation, and determining the pre-processing operation of the application processing operation based on the result of the verification; based on the pre-processing operation, generating processing prompt information; the processing prompt information is used to indicate that the pre-processing operation is performed in the application running environment, so that the state after executing the application processing operation in the application running environment conforms to the normal operating state of the application.

[0131] Specifically, in the case where the application processing operation includes an application deployment operation or an application upgrade operation, when the state obtained by detecting the state of the associated application represented by the associated node in the application running environment is inconsistent with the expected state determined according to the relationship type of the impact relationship represented by the connection edge, the verification result indicates that the state after executing the application processing operation in the application running environment does not conform to the normal operating state of the application. At this time, the server can terminate the application processing operation and determine the pre-processing operation for the associated application based on the expected state. After the pre-processing operation is executed, the state of the associated application in the application running environment can be consistent with the expected state. The server can further generate processing prompt information based on the pre-processing operation to prompt the application to trigger the execution of the pre-processing operation.

[0132] For example, assuming that the application processing operation is an application deployment operation for application A, during the verification of the application deployment operation, it is determined through the application knowledge graph that node 1 representing application A is connected to node 2 through a connection edge representing a conflict relationship, but application 2 represented by node 2 is in a deployed state in the application running environment. Then, it can be determined that the pre-processing operation is to uninstall application 2, so that the server can generate a prompt message to indicate the deletion of application 2.

[0133] In the above embodiment, by terminating the application processing operation and determining the pre-processing operation, processing prompt information is generated according to the pre-processing operation, so that the user can be prompted to trigger the pre-processing operation so that the application processing operation can be smoothly executed, thereby improving the execution efficiency of the application processing operation while improving the stability of the application operation.

[0134] In some embodiments, the above-mentioned application processing method also includes: in response to a query operation on the application knowledge graph, according to the attribute data of the application to be queried specified by the query operation, determining the node used to characterize the application to be queried from the pre-established application knowledge graph, and using the determined node as the node to be queried; determining the associated graph data of the node to be queried from the application knowledge graph; the associated graph data includes the connecting edges of the node to be queried, the associated nodes of the node to be queried, and the associated graph data of the associated nodes of the node to be queried; and displaying and processing the associated graph data of the node to be queried.

[0135] Among them, the associated graph data of the node to be queried includes the connecting edges of the node to be queried, the associated nodes of the node to be queried, and the associated graph data of the associated nodes of the node to be queried, that is, the associated graph data includes all edges and nodes directly or indirectly connected to the associated nodes.

[0136] Specifically, when the server receives the query request sent by the terminal, it can extract the query operation and the attribute data of the application to be queried specified by the query operation, and then respond to the query operation. According to the attribute data of the application to be queried specified by the query operation, the server can determine the node used to represent the application to be queried from the pre-established application knowledge graph, use the determined node as the node to be queried, and then determine the associated graph data of the node to be queried from the application knowledge graph, and send the node to be queried and the associated graph data to the terminal. After receiving the node to be queried and the associated graph data, the terminal can display the application knowledge graph associated with the application to be queried.

[0137] In the above embodiment, a visual display of the dependency conflict relationship of the application to be queried is achieved, which facilitates effective management and monitoring of the dependency conflict relationship of the application to be queried.

[0138] In some specific embodiments, the present application also provides an application scenario, in which the application running environment is a cloud server cluster, the applications in the application set are applications under cloud service resources, and the cloud service resources are cloud products in the cloud server cluster.

[0139] In related technologies, relational databases are usually used to store the inclusion relationship between cloud product versions and application versions. However, the dependency and conflict relationships between application versions under the same cloud product are not stored in the database, but are directly reflected in the CRD of each application. Only after the application is deployed can we know which applications are missing and which applications have version conflicts based on logs and alarm information. Since dependencies and conflicts can only be known after deployment, the application operation stability is obviously poor and the workload of deployment and upgrade is increased. In addition, the dependency conflict relationship between cloud products and applications cannot be visualized, so the dependency conflict relationship between cloud products and applications cannot be effectively managed and monitored, which greatly increases the workload of delivery.

[0140] The application processing method provided in the embodiment of the present application first uses the knowledge graph technology to build the inclusion relationship between products and applications, the dependency conflict relationship between applications within a product, and the dependency conflict relationship between applications between products. After these relationships are built, the application knowledge graph is established. Before deploying or upgrading the application, the application knowledge graph can be used to detect whether the application conflicts with the application in the environment, or whether dependent applications need to be deployed. This allows dependency and conflict issues to be discovered before deployment and upgrading, thereby improving the delivery efficiency of deployment and upgrade.

[0141] like Figure 6 , which is a system architecture diagram for detecting cloud product dependency conflicts using the application processing method provided in an embodiment of the present application. Figure 6 When a user initiates an application deployment operation of a certain application of a certain cloud product in a certain cloud server cluster, the cloud product deployment and upgrade platform creates an application deployment task. After the creation is completed, the application dependency conflict check can be performed for the application deployment operation based on the established application knowledge graph. During the verification process, the cloud product application data of all clusters stored in the dedicated cloud data center is used to obtain the existing deployed application data in the cloud server cluster. If the verification passes, the cloud product deployment and upgrade platform further adds the application deployment task to the task queue. The cloud product deployment and upgrade agent in the cluster can pull the deployment task from the task queue, execute the deployment task, and return the task result. If the verification fails, the user re-initiates the deployment task according to the prompt information. The specific implementation steps of this embodiment will be introduced below.

[0142] 1. Build a knowledge graph

[0143] First, a model is established for the application knowledge graph (including the setting of nodes and relationships), and nodes are set to represent cloud products and applications. The node attributes of the nodes representing cloud products include the cloud product name and version, and the node attributes of the nodes representing cloud products include the application name and version. The edges between the nodes can be used to represent any of the three relationships: subordination (application belongs to cloud products), dependency (application depends on application), and conflict (application conflicts with application). In this embodiment, it is necessary to analyze the relationship data involved in cloud products and applications in multiple dimensions, as follows:

[0144] (1) Dimensions of different cloud products under the same version. Figure 7 As shown in the figure, it is a schematic diagram of the application knowledge graph corresponding to different cloud products under the same version. Figure 7 It can be seen that there are many possible situations for the relationship between cloud products and applications under the same version: Figure 7 In Figure (a), there are dependencies and conflicts between applications under the same cloud product; see Figure 7 In Figure (b), all applications under the same cloud product have dependencies; see Figure 7 In Figure (c), some applications under the same cloud product have dependencies, while other applications are deployed independently.

[0145] (2) Dimensions of different versions of the same product. Figure 8 The following is a schematic diagram of the application knowledge graph corresponding to cloud products in different versions. Figure 8 , the same cloud product has different relational data in different versions: Figure 8 In Figure (a), in version 1, the cloud product includes three applications, and there are dependencies and conflicts between the applications; Figure 8 In Figure (b), the cloud product under version 2 includes three applications, some of which have dependencies, while other applications can be deployed independently; Figure 8 In Figure (c), the cloud product in version 3 includes four applications, some of which have dependencies, while other applications can be deployed independently; Figure 8 In Figure (d), the cloud product in version 4 includes 3 applications, all of which can be deployed independently.

[0146] It can be seen that the applications included in different versions of the same cloud product may be different, and the relationships between applications may also be different. Therefore, it is important to establish an application knowledge graph between applications in different versions. Based on this, in this embodiment, all nodes and relationships are recorded through the two dimensions of product and version to complete the modeling of the application knowledge graph.

[0147] Specifically, you can use Cypher syntax and graph databases to build and store application knowledge graphs, and build application knowledge graphs for all versions of products and applications in the released version. The following is a detailed description of the process of building a knowledge graph for a single product in a single version. Fig. 9 The figure below is a flow chart of building a knowledge graph for a single cloud product in a single version. Fig. 9 First, select the version, determine the cloud product corresponding to the version, and then use Cypher syntax to create a product node to represent the cloud product. Then query the GIT code repository of the branch corresponding to the version of the cloud product, pull the GIT repository of the branch to the local, traverse all applications under the branch, use Cypher syntax to create application nodes to represent the application, create a subordinate relationship between the application and the cloud product, and for each application node, read the dependency conflict configuration of the application. If the dependency conflict configuration corresponding to the application is empty, enter the next application; traverse all dependency conflict configuration relationships corresponding to the application. For each relationship, a judgment needs to be made. If the relationship is a dependency type, use Cypher syntax to create a dependency relationship between the application and another application; if the relationship is a conflict type, use Cypher syntax to create a conflict relationship between the application and another application. Until all applications are traversed. All applications and relationships of the product under this version have been stored in the graph database.

[0148] 2. Detect dependency conflicts in application processing operations

[0149] After the application knowledge graph is built, you can perform detection based on the knowledge graph and product application version information in the cloud server cluster. Fig.10 The figure shows an example process of dependency conflict detection. Assuming that a user initiates the deployment of application 2 in cluster 1, the user first uses Cypher syntax to query the dependency conflict relationship of application 2 under product 1 from the graph database, and finds that application 2 depends on application 3. Application 2 is not deployed from cluster 1, so first compare the version of application 2 to be deployed with the version of application 2 in the knowledge graph. Are they consistent? If they are inconsistent, the deployment is terminated, and the user is prompted to deploy the correct version of application 2; if they are consistent, cluster 1 is queried to see if application 3 is deployed. If application 3 is not deployed, the deployment is terminated, and the user is prompted that application 2 depends on application 3 and the specified version of application 3 needs to be deployed first.

[0150] like Fig.11As shown, in the process of querying whether application 3 is deployed in cluster 1, the cloud product application data corresponding to cluster 1 can be obtained from the cloud product application data of all clusters stored in the private cloud data center, and it is checked whether the cloud product application data corresponding to cluster 1 has application 3. If there is no application 3, it means that cluster 1 has not deployed application 3. If there is application 3, it means that cluster 1 has deployed application 3.

[0151] like Fig.12 As shown in the figure, it is a detailed flow chart for dependency conflict detection of application processing operations. The user selects a cluster to initiate an application deployment operation or an application upgrade operation, and the input parameters include cluster, cloud product name, product version, application name, and application version. According to the cloud product name and product version in the input parameters, the product node is determined in the application knowledge graph, and the application node of the subordinate relationship of the product node is queried. The queried application node and the application name and application version of the input parameters are compared for consistency. If the comparison fails, the deployment is terminated, and the user is prompted to deploy the correct application version; if the comparison passes, the dependency conflict relationship of the application node needs to be queried in the application knowledge graph. If there is no dependency conflict relationship, the application is deployed directly; if there is a dependency conflict relationship, the relationship type needs to be determined. If the relationship type is a dependency relationship, it is necessary to check whether the dependent application node has been deployed in the cluster. If not, the deployment is terminated, and the user is prompted to deploy the dependent version of the application before deployment; if so, the dependent application node is set as the current application node, and recheck whether there is a dependency conflict relationship, and the cycle is repeated. If the relationship type is a conflict relationship, check whether there is an application of the corresponding version in the cluster that the application node depends on. If so, the deployment is terminated and the user is prompted to uninstall the application in the cluster before deployment. If not, deploy the application directly.

[0152] In the above embodiment, the problem of opaque cloud product version application relationship in the cloud product deployment and upgrade scenario of cloud product delivery and operation is solved, which leads to a large workload of deployment and upgrade operation and maintenance. In addition, by constructing a knowledge graph of cloud product version application relationship, the dependency conflict relationship between cloud product version applications is made transparent, and the dependency conflict relationship detection is pre-placed before the cloud product deployment and upgrade, thereby reducing the workload of deployment and upgrade, improving the work efficiency of deployment and upgrade, ensuring the stability and efficiency of cloud product deployment and upgrade, and thus ensuring the stability and efficiency of cloud product delivery.

[0153] In another specific embodiment, the present application also provides another application scenario, in which the application is an application running on a terminal, and the application running environment is the operating system of the terminal. In the embodiment of the present application, when a user needs to perform application processing operations such as deployment, upgrade or deletion on a certain application in the terminal, the terminal verifies the application processing operation by executing the application processing method of the present application, and only when the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal operating state of the application, the application processing operation is executed. The specific implementation process can refer to the above embodiment, which will not be repeated here.

[0154] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0155] Based on the same inventive concept, the embodiment of the present application also provides an application processing device for implementing the above-mentioned application processing method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more application processing device embodiments provided below can refer to the limitations on the application processing method above, and will not be repeated here.

[0156] In some embodiments, Fig.13 As shown, an application processing device 1300 is provided, including:

[0157] The node determination module 1302 is used to determine, in response to an application processing operation for an application running environment, a node for representing a specified application from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to the influence relationship between different applications;

[0158] The associated data determination module 1304 is used to determine the connection edge of the node and the associated nodes connected to the node through the connection edge from the application knowledge graph;

[0159] A verification module 1306, configured to verify the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment;

[0160] The processing operation execution module 1308 is used to execute the application processing operation in the application running environment when the verification result indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application.

[0161] The above-mentioned application processing device can make the influence relationship between applications transparent through the pre-established application knowledge graph, so that before it is necessary to perform an application processing operation on the application running environment, the node used to represent the specified application is determined from the pre-established application knowledge graph according to the attribute data of the application specified by the application processing operation, and the connection edges of the nodes and the associated nodes connected to the nodes through the connection edges are determined from the application knowledge graph. According to the relationship type of the influence relationship represented by the connection edges and the state of the associated application represented by the associated nodes in the application running environment, the application processing operation is verified, thereby realizing pre-verification of the application processing operation before the application processing operation is processed. When the result of the verification indicates that the state after executing the application processing operation in the application running environment is consistent with the normal operating state of the application, the application processing operation is performed in the application running environment, thereby avoiding the application from failing to run normally after the application processing operation is executed, thereby improving the stability of the application during operation.

[0162] In some embodiments, the application processing operation includes an application deployment operation or an application upgrade operation; the verification module is further used to determine the expected state of the associated application represented by the associated node in the application running environment based on the relationship type of the influence relationship represented by the connection edge; detect the state of the associated application represented by the associated node in the application running environment to obtain the state of the associated application in the application running environment; verify the application processing operation based on the state obtained by the detection and the expected state of the associated application in the application running environment.

[0163] In some embodiments, the verification module is also used to determine the associated application represented by the first associated node as the associated application acted upon by the first influence relationship when the influence relationship represented by the connection edge includes a first influence relationship whose relationship type is a conflict relationship; the first associated node is the associated node connected by the connection edge representing the first influence relationship; and the expected state of the associated application acted upon by the first influence relationship in the application running environment is determined to be an undeployed state.

[0164] In some embodiments, the verification module is also used to determine the associated application represented by the second associated node as the associated application acted upon by the second influence relationship when the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, and the connection edge where the second influence relationship is located points to an associated node; the second associated node is the associated node pointed to by the connection edge representing the second influence relationship; and the expected state of the associated application acted upon by the second influence relationship in the application running environment is determined to be a normal running state.

[0165] In some embodiments, the application processing operation includes an application deployment operation or an application upgrade operation, the influence relationship represented by the connecting edge includes a second influence relationship whose relationship type is a dependency relationship, and the connecting edge where the second influence relationship is located points to an associated node; the verification module is also used to detect the status of the application represented by each dependent node in the dependent node link in the application running environment when there is a dependent node link with the associated node as the starting node in the application knowledge graph, and obtain a detection result; the influence relationship represented by the connecting edge between every two adjacent dependent nodes in the dependent node link belongs to a dependency relationship, and the influence relationship represented by the connecting edge between every two adjacent dependent nodes acts on the application represented by the subsequent dependent node; according to the detection result, the status of the associated application in the application running environment is determined.

[0166] In some embodiments, the verification module is also used to determine the node relationship between the last dependent node and other nodes representing the application outside the dependent node link when the detection result indicates that each dependent node in the dependent node link is in a deployed state in the application running environment; in response to the determined node relationship indicating that the last dependent node is independent of other nodes representing the application, determine that the associated application is in a normal running state in the application running environment.

[0167] In some embodiments, the verification module is also used to detect the state of the conflicting application represented by the node connected by the conflict relationship edge in the application running environment in response to the determined node relationship indicating that the last dependent node is connected to any one of the other nodes representing the application through a conflict relationship edge, so as to obtain the state of the conflicting application in the application running environment; the conflict relationship edge is used to represent the influence relationship whose relationship type is a conflict relationship; when the state obtained by the detection indicates that the conflicting application is in an undeployed state in the application running environment, it is determined that the associated application is in a normal running state in the application running environment.

[0168] In some embodiments, the application processing operation includes an application deployment operation or an application upgrade operation, the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, and the connection edge where the second influence relationship is located points to the associated node; the verification module is also used to determine the node relationship between the associated node and other nodes other than the node corresponding to the specified application when there is no dependent node link with the associated node as the starting node in the application knowledge graph, and the application represented by the associated node is in a deployed state in the application running environment; in response to the determined node relationship indicating that the associated node is independent of other nodes other than the node corresponding to the specified application, determine that the associated application is in a normal running state in the application running environment.

[0169] In some embodiments, the verification module is also used to detect the state of the conflicting application in the application running environment represented by the node connected by the conflict relationship edge in response to the determined node relationship indicating that the associated node is connected to any other node other than the node corresponding to the specified application through a conflict relationship edge, and obtain the state of the conflicting application in the application running environment; when the state obtained by the detection indicates that the conflicting application is in an undeployed state in the application running environment, determine that the associated application is in a normal running state in the application running environment.

[0170] In some embodiments, the application processing operation includes an application deletion operation; the verification module is also used to detect the state of the associated application represented by the associated node in the application running environment when the influence relationship represented by the connection edge includes a third influence relationship whose relationship type is a dependency relationship, and the connection edge where the third influence relationship is located points to the node of the specified application, to obtain the state of the associated application in the application running environment; when the associated application is in a deployed state in the application running environment, the result obtained by the verification indicates that the state after executing the application processing operation in the application running environment does not conform to the normal operating state of the application corresponding to the associated application.

[0171] In some embodiments, the above-mentioned application processing device also includes: a knowledge graph construction module, which is used to determine multiple candidate applications for constructing an application knowledge graph, and respectively create nodes for representing each candidate application; for each candidate application, obtain the influence relationship configuration data corresponding to the candidate application; traverse each influence relationship in the influence relationship configuration data, and according to the traversed influence relationships, create a connection edge for representing the influence relationship between the node corresponding to the candidate application and the node corresponding to other applications.

[0172] In some embodiments, the application running environment is a cloud server cluster, and the applications in the application collection are applications under cloud service resources; the knowledge graph construction module is also used to determine the cloud service resource collection used to construct the application knowledge graph; for each cloud service resource version under each cloud service resource in the cloud service resource collection, the application collection under the cloud service resource version is obtained; for each application in the application collection, a node is created to represent the targeted application.

[0173] In some embodiments, the knowledge graph construction module is also used to create a resource node for representing the cloud service resource version for each cloud service resource version under each cloud service resource in the cloud service resource collection; for each resource node corresponding to the cloud service resource version, a connection edge for representing the subordinate relationship is created between the resource node and each subordinate node of the resource node; the subordinate node of the resource node is a node for representing the application in the application collection under the cloud service resource version.

[0174] In some embodiments, the node determination module is also used to receive an application processing request sent by a terminal, obtain an application processing operation, first description information of the targeted cloud service resources, and second description information of the specified application from the application processing request; in response to an application processing operation for a cloud server cluster, determine a resource node used to represent the targeted cloud service resources from the application knowledge graph according to the first description information; determine the subsidiary nodes of the resource node from the application knowledge graph, and determine a node used to represent the specified application from the subsidiary nodes of the resource node according to the second description information.

[0175] In some embodiments, the processing operation execution module is also used to terminate the application processing operation when the result of the verification indicates that the state after executing the application processing operation in the application running environment does not conform to the normal operating state of the application, and determine the pre-processing operation of the application processing operation according to the result of the verification; based on the pre-processing operation, generate processing prompt information; the processing prompt information is used to indicate to perform the pre-processing operation in the application running environment so that the state after executing the application processing operation in the application running environment conforms to the normal operating state of the application.

[0176] In some embodiments, the above-mentioned application processing device also includes: a query module, which is used to respond to a query operation on the application knowledge graph, determine the node used to represent the application to be queried from the pre-established application knowledge graph according to the attribute data of the application to be queried specified by the query operation, and use the determined node as the node to be queried; determine the associated graph data of the node to be queried from the application knowledge graph; the associated graph data includes the connecting edges of the node to be queried, the associated nodes of the node to be queried, and the associated graph data of the associated nodes of the node to be queried; and display and process the node to be queried and the associated graph data of the node to be queried.

[0177] Each module in the above application processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0178] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Fig.14 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store knowledge graph data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an application processing method is implemented.

[0179] In some embodiments, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.15As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an application processing method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0180] Those skilled in the art will understand that Fig.14 and Fig.15 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0181] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the application processing method in any of the above embodiments are implemented.

[0182] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the application processing method in any of the above embodiments are implemented.

[0183] In some embodiments, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the application processing method in any of the above embodiments.

[0184] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0185] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0186] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0187] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An application processing method, characterized in that: The method comprises: In response to an application processing operation for an application running environment, a node for representing the specified application is determined from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to influence relationships between different applications; Determine, from the application knowledge graph, a connection edge of the node and an associated node connected to the node through the connection edge; Verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment; When the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application, the application processing operation is executed in the application running environment.

2. The method according to claim 1, characterized in that The application processing operation includes an application deployment operation or an application upgrade operation; and the verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment includes: Determining, according to the relationship type of the impact relationship represented by the connection edge, the expected state of the associated application represented by the associated node in the application running environment; Detecting the state of the associated application represented by the associated node in the application running environment to obtain the state of the associated application in the application running environment; The application processing operation is verified according to the state obtained by the detection and the expected state of the associated application in the application running environment.

3. The method according to claim 2, characterized in that The determining, according to the relationship type, an expected state of the associated application represented by the associated node in the application running environment includes: When the influence relationship represented by the connection edge includes a first influence relationship whose relationship type is a conflict relationship, determining the associated application represented by the first associated node as the associated application acted upon by the first influence relationship; the first associated node is the associated node connected by the connection edge representing the first influence relationship; The expected state of the associated application acted upon by the first influence relationship in the application running environment is determined to be an undeployed state.

4. The method according to claim 2, characterized in that: The determining, according to the relationship type, an expected state of the associated application represented by the associated node in the application running environment includes: When the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, and the connection edge where the second influence relationship is located points to an associated node, the associated application represented by the second associated node is determined as the associated application acted upon by the second influence relationship; the second associated node is the associated node pointed to by the connection edge representing the second influence relationship; The expected state of the associated application acted upon by the second influence relationship in the application running environment is determined as a normal running state.

5. The method according to claim 1, characterized in that The application processing operation includes an application deployment operation or an application upgrade operation, the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, and the connection edge where the second influence relationship is located points to an associated node; The state of the associated application represented by the associated node in the application running environment is detected and obtained by an associated application state detection step, and the associated application state detection step includes: When there is a dependency node link with the associated node as the starting node in the application knowledge graph, the state of the application represented by each dependency node in the dependency node link in the application running environment is detected to obtain a detection result; the influence relationship represented by the connecting edge between each two adjacent dependency nodes in the dependency node link belongs to a dependency relationship, and the influence relationship represented by the connecting edge between each two adjacent dependency nodes acts on the application represented by the subsequent dependency node; According to the detection result, a state of the associated application in the application running environment is determined.

6. The method according to claim 5, characterized in that Determining the state of the associated application in the application running environment according to the detection result includes: When the detection result indicates that each dependent node in the dependent node link is in a deployed state in the application running environment, determining a node relationship between the last dependent node and other nodes representing the application outside the dependent node link; In response to the determined node relationship indicating that the tail dependent node is independent of the other nodes representing the applications, it is determined that the associated application is in a normal operating state in the application running environment.

7. The method according to claim 6, characterized in that The method further comprises: In response to the determined node relationship indication that the last dependent node is connected to any one of the other nodes representing the application through a conflict relationship edge, the state of the conflict application represented by the node connected by the conflict relationship edge in the application running environment is detected to obtain the state of the conflict application in the application running environment; the conflict relationship edge is used to represent the influence relationship of the relationship type of the conflict relationship; When the status obtained by detection indicates that the conflicting application is in an undeployed state in the application running environment, it is determined that the associated application is in a normal running state in the application running environment.

8. The method according to claim 1, characterized in that The application processing operation includes an application deployment operation or an application upgrade operation, the influence relationship represented by the connection edge includes a second influence relationship whose relationship type is a dependency relationship, and the connection edge where the second influence relationship is located points to an associated node; The state of the associated application represented by the associated node in the application running environment is detected and obtained by an associated application state detection step, and the associated application state detection step includes: When there is no dependent node link with the associated node as the starting node in the application knowledge graph, and the application represented by the associated node is in a deployed state in the application running environment, determining a node relationship between the associated node and other nodes other than the node corresponding to the specified application; In response to the determined node relationship indicating that the associated node is independent of other nodes other than the node corresponding to the specified application, it is determined that the associated application is in a normal operating state in the application running environment.

9. The method according to claim 8, characterized in that The method further comprises: In response to the determined node relationship indicating that the associated node is connected to any one of the other nodes other than the node corresponding to the specified application through a conflict relationship edge, a state detection is performed on the conflicting application represented by the node connected by the conflict relationship edge to obtain the state of the conflicting application in the application running environment; When the status obtained by detection indicates that the conflicting application is in an undeployed state in the application running environment, it is determined that the associated application is in a normal running state in the application running environment.

10. The method according to claim 1, characterized in that The application processing operation includes an application deletion operation; and the verifying the application processing operation according to the relationship type of the impact relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment includes: When the influence relationship represented by the connection edge includes a third influence relationship whose relationship type is a dependency relationship, and the connection edge where the third influence relationship is located points to the node of the specified application, a state detection is performed on the associated application represented by the associated node to obtain the state of the associated application in the application running environment; When the associated application is in a deployed state in the application running environment, the result obtained by the verification indicates a state after the application processing operation is executed in the application running environment, which does not conform to the normal operating state of the application corresponding to the associated application.

11. The method according to claim 1, characterized in that: The application knowledge graph is obtained by constructing a knowledge graph through a knowledge graph construction step, and the knowledge graph construction step includes: Determine a plurality of candidate applications for constructing an application knowledge graph, and respectively create a node for representing each of the candidate applications; For each candidate application, obtaining the influence relationship configuration data corresponding to the candidate application; Each influence relationship in the influence relationship configuration data is traversed, and according to the traversed influence relationships, a connection edge for representing the influence relationship is created between the node corresponding to the candidate application and the nodes corresponding to other applications.

12. The method according to claim 11, characterized in that The application running environment is a cloud server cluster, and the applications in the application set are applications under cloud service resources; The determining of multiple candidate applications for constructing an application knowledge graph and creating nodes for representing each of the candidate applications respectively include: Determine the set of cloud service resources used to build the application knowledge graph; For each cloud service resource version under each cloud service resource in the cloud service resource set, obtain an application set under the cloud service resource version; For each application in the application set, a node for representing the targeted application is created.

13. The method according to claim 12, characterized in that The method further comprises: For each cloud service resource version under each cloud service resource in the cloud service resource set, create a resource node for representing the cloud service resource version; For each resource node corresponding to each cloud service resource version, a connection edge for representing the subordinate relationship is created between the resource node and each subordinate node of the resource node; the subordinate node of the resource node is a node for representing an application in an application set under the cloud service resource version.

14. The method according to claim 13, characterized in that The step of responding to the application processing operation for the application running environment and determining, according to the attribute data of the application specified by the application processing operation, a node for representing the specified application from a pre-established application knowledge graph includes: Receiving an application processing request sent by a terminal, and obtaining an application processing operation, first description information of a targeted cloud service resource, and second description information of a specified application from the application processing request; In response to the application processing operation for the cloud server cluster, determining a resource node for characterizing the targeted cloud service resource from the application knowledge graph according to the first description information; Determine the subsidiary nodes of the resource node from the application knowledge graph, and determine the node used to represent the specified application from the subsidiary nodes of the resource node according to the second description information.

15. The method according to any one of claims 1 to 11, characterized in that The method further comprises: When the result of the verification indicates that the state after executing the application processing operation in the application running environment does not conform to the normal running state of the application, the application processing operation is terminated, and a pre-processing operation of the application processing operation is determined according to the result of the verification; Generate processing prompt information according to the pre-processing operation; the processing prompt information is used to instruct to perform the pre-processing operation in the application running environment, so that the state after performing the application processing operation in the application running environment conforms to the normal running state of the application.

16. The method according to any one of claims 1 to 11, characterized in that The method further comprises: In response to a query operation on the application knowledge graph, according to the attribute data of the application to be queried specified by the query operation, a node used to characterize the application to be queried is determined from the pre-established application knowledge graph, and the determined node is used as the node to be queried; Determine the associated graph data of the node to be queried from the application knowledge graph; the associated graph data includes the connection edges of the node to be queried, the associated nodes of the node to be queried, and the associated graph data of the associated nodes of the node to be queried; The node to be queried and the associated graph data of the node to be queried are displayed and processed.

17. An application processing device, characterized in that: The device comprises: A node determination module, for responding to an application processing operation for an application running environment, and determining a node for representing the specified application from a pre-established application knowledge graph according to attribute data of the application specified by the application processing operation; the application knowledge graph is constructed according to the influence relationship between different applications; An associated data determination module, used to determine, from the application knowledge graph, the connection edges of the node and the associated nodes connected to the node through the connection edges; A verification module, configured to verify the application processing operation according to the relationship type of the influence relationship represented by the connection edge and the state of the associated application represented by the associated node in the application running environment; The processing operation execution module is used to execute the application processing operation in the application running environment when the result of the verification indicates that the state after executing the application processing operation in the application running environment meets the normal running state of the application.

18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 16 are implemented.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.