Atlas processing method and device, equipment, storage medium and program product

Through automated relationship generation scripts and CMDB tools, the business system topology diagram is generated, combined with the data interaction map display, fault assessment and troubleshooting problems in complex business systems are solved, and operation and maintenance efficiency and troubleshooting efficiency are improved.

CN119066058APending Publication Date: 2024-12-03CCB FINTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411278291.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In complex business systems, operation and maintenance personnel find it difficult to timely evaluate the upstream and downstream nodes of the fault impact, resulting in a high consumption of resource time for troubleshooting and the difficulty of quickly sorting out the network access relationship.

Method used

By writing automated relationship generation scripts, combining CMDB tools to intelligently generate access relationships between applications, the automatic generation of business system topology maps is realized, and transmission control protocol information is collected regularly to build a data interaction map to display the data interaction status of the service unit.

Benefits of technology

Improve operation and maintenance work efficiency, reduce troubleshooting time, timely evaluate upstream and downstream nodes affected by the fault, and quickly sort out network access relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066058A_ABST
    Figure CN119066058A_ABST
Patent Text Reader

Abstract

The invention provides an atlas processing method which can be applied to the technical field of operation and maintenance and the field of financial science and technology. The atlas processing method comprises the following steps: responding to execution of a timed acquisition task, sending an information acquisition script to N servers by calling an automatic tool, and acquiring N pieces of transmission control protocol information corresponding to the N servers; performing data cleaning on the N pieces of transmission control protocol information to obtain M pieces of target communication parameter information; querying M pieces of attribute information corresponding to the M service units from a configuration management database based on the M pieces of target communication parameter information; constructing a first data interaction graph based on the M pieces of attribute information and the M pieces of target communication parameter information; and displaying the first data interaction graph on a visual interface. The invention further provides an atlas processing device and equipment, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of operation and maintenance technology and financial technology, and specifically to a graph processing method, device, equipment, medium and program product. Background Art

[0002] As business systems become more complex and the types of services expand, some business systems with complex architectures often have servers dedicated to implementing multiple services. Furthermore, when processing services, these systems often interact with servers in other business systems.

[0003] Based on this, in the process of realizing the disclosed invention, the inventors found that when a business system fails, it is difficult to timely evaluate the upstream and downstream nodes affected by the failure, and troubleshooting consumes a lot of time and resources. Summary of the Invention

[0004] In view of the above problems, the present disclosure provides a graph processing method, apparatus, device, medium and program product.

[0005] According to a first aspect of the present disclosure, a graph processing method is provided, comprising: in response to executing a scheduled collection task, sending an information collection script to N servers by calling an automation tool to collect N transmission control protocol information corresponding to the N servers, wherein N is an integer greater than 1; performing data cleaning on the N transmission control protocol information to obtain M target communication parameter information, wherein the M target communication parameter information corresponds to M service units, and the M service units include N servers in total, and M is an integer greater than 1 and less than N; based on the M target communication parameter information, querying M attribute information corresponding to the M service units from a configuration management database; based on the M attribute information and the M target communication parameter information, constructing a first data interaction graph, wherein the node icon of the data interaction graph corresponds to the attribute information, and the edge of the data interaction graph corresponds to the target communication parameter information; and displaying the first data interaction graph on a visual interface.

[0006] According to an embodiment of the present disclosure, transmission control protocol information includes communication address information; data cleaning is performed on N transmission control protocol information to obtain M target communication parameter information, including: based on the N communication address information, the N transmission control protocol information is divided to obtain M protocol information groups, wherein the M protocol information groups correspond to M service units; data cleaning is performed on the M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups.

[0007] According to an embodiment of the present disclosure, data cleaning is performed on M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups, including: for each protocol information group, determining target communication address information and target communication port information corresponding to the target business system from the transmission control protocol information of the protocol information group, wherein the target business system is a business system that does not include a server; based on the target communication address information and the target communication port information, data cleaning is performed on the protocol information group to obtain the target communication parameter information.

[0008] According to an embodiment of the present disclosure, based on the target communication address information and the target communication port information, the protocol information group is cleaned to obtain the target communication parameter information, including: determining the same protocol information and different protocol information between each transmission control protocol information in the protocol information group; generating intermediate communication parameter information based on the same protocol information and the different protocol information; removing the target communication address information and the target communication port information included in the intermediate communication parameter information to obtain the target communication parameter information.

[0009] According to an embodiment of the present disclosure, transmission control protocol information includes communication address information and communication port information; attribute information includes system information, service level information and service identification field, the system information is used to characterize the business system to which the server belongs, the service level information is used to characterize the service level of each service possessed by the server, and the service identification field is an identification field of the service; based on M attribute information and M target communication parameter information, a first data interaction graph about the business system is constructed, including: based on the service level information, determining the icon type information corresponding to the service; determining the target area information corresponding to the system information from multiple predetermined area information located in the visualization interface; based on the service identification field, icon type information, target area information, communication address information and communication port information, a first data interaction graph is constructed, wherein the service identification field and icon type information both correspond to the node icon, the target area information corresponds to the position of the node icon in the data interaction graph, and the communication address information and communication port information both correspond to the edges of the data interaction graph.

[0010] According to an embodiment of the present disclosure, the above-mentioned graph processing method also includes: obtaining N component parameter information corresponding to N servers, wherein the component parameter information is the parameter information of the components configured by the server; based on the N component parameter information, rendering the first data interaction graph to obtain a second data interaction graph; and displaying the second data interaction graph on a visual interface.

[0011] According to an embodiment of the present disclosure, the above-mentioned graph processing method also includes: in response to receiving a graph processing request corresponding to a historical period, obtaining a historical data interaction graph corresponding to the historical period; determining graph difference information based on the historical data interaction graph and the first data interaction graph; rendering the first data interaction graph based on the graph difference information to obtain a third data interaction graph; and displaying the third data interaction graph on a visual interface.

[0012] The second aspect of the present disclosure provides a graph processing device, including: a first acquisition module, for sending an information acquisition script to N servers in response to executing a scheduled acquisition task by calling an automation tool to collect N transmission control protocol information corresponding to the N servers, wherein N is an integer greater than 1; a data cleaning module, for performing data cleaning on the N transmission control protocol information to obtain M target communication parameter information, wherein the M target communication parameter information corresponds to M service units, and the M service units include N servers in total, and M is an integer greater than 1 and less than N; a query module, for querying M attribute information corresponding to the M service units from a configuration management database based on the M target communication parameter information; a construction module, for constructing a first data interaction graph based on the M attribute information and the M target communication parameter information, wherein the node icon of the data interaction graph corresponds to the attribute information, and the edge of the data interaction graph corresponds to the target communication parameter information; a first display module, for displaying the first data interaction graph on a visual interface.

[0013] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.

[0014] The fourth aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the computer program or instructions are executed by a processor.

[0015] The fifth aspect of the present disclosure further provides a computer program product, comprising a computer program or instructions, which implement the steps of the above method when executed by a processor.

[0016] According to the embodiments of the present disclosure, by executing a scheduled collection task, the transmission control protocol information of the server is collected within a predetermined period, thereby achieving timely collection of the transmission control protocol information. On this basis, the transmission control protocol information collected from N servers is cleaned to obtain M accurate target communication parameter information corresponding to M service units. Based on the target communication parameter information and the attribute information queried from the configuration management database, a first data interaction map is constructed, which can efficiently and accurately reflect the data interaction status of the service unit in a timely manner. Therefore, in the event of a service unit failure, the upstream and downstream nodes affected by the failure can be promptly evaluated through the first data interaction map, thereby reducing the time resources required for troubleshooting, improving the efficiency of troubleshooting, and facilitating rapid problem troubleshooting, rapid analysis of upstream and downstream impact systems, and rapid sorting of network access relationships, etc.

[0017] According to the embodiments of the present disclosure, since the transmission control protocol information is collected by sending an information collection script to the server, the graph processing method of the present disclosure is less invasive and the server that needs to collect the transmission control protocol information can be flexibly changed as needed, thereby flexibly changing the first data interaction graph, thereby improving the flexibility of determining the data interaction status of the service unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0019] Figure 1 The application scenario diagram of the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0020] Figure 2 The flowchart of the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0021] Figure 3 The information collection diagram of the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0022] Figure 4 A schematic diagram of a first data interaction graph according to the first embodiment of the present disclosure is schematically shown.

[0023] Figure 5 A schematic diagram of a first data interaction graph according to the second embodiment of the present disclosure is schematically shown.

[0024] Figure 6 A schematic diagram of a first data interaction graph according to the third embodiment of the present disclosure is schematically shown.

[0025] Figure 7A schematic diagram of a first data interaction graph according to the fourth embodiment of the present disclosure is schematically shown.

[0026] Figure 8 A schematic diagram of a second data interaction graph according to an embodiment of the present disclosure is schematically shown.

[0027] Figure 9 A schematic diagram of a third data interaction graph according to an embodiment of the present disclosure is schematically shown.

[0028] Figure 10 The structural block diagram of the graph processing device according to an embodiment of the present disclosure is schematically shown.

[0029] Figure 11 A block diagram of an electronic device suitable for implementing the graph processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0030] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0031] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of the features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0032] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0033] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0034] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0035] In the technical solutions disclosed herein, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0036] In scenarios where personal information is used for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure all provide users with corresponding operation portals for them to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating an individual's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge, and skills, and have reached a certain level of professionalism.

[0037] In the process of realizing the concept of the disclosed invention, the inventors found that in the related technologies, it is difficult for operation and maintenance personnel to know the full business status of the business system and the status of the application system associated with the application system. In addition, in the event of a failure in the business system, it is difficult to timely evaluate the affected upstream and downstream nodes, and troubleshooting consumes a lot of time and resources. In addition, when the business system is in scenarios such as information technology transformation, application migration, or disaster recovery switching, it is difficult to fully sort out the network access relationship, which will make it difficult to implement some business functions after the business system is launched.

[0038] In view of this, an embodiment of the present disclosure provides a graph processing method, which realizes automatic generation of business system topology diagrams by writing an automated relationship generation script and combining it with the CMDB (Configuration Management Database) tool to intelligently generate access relationships between applications, thereby improving the efficiency of application operation and maintenance work.

[0039] Specifically, an embodiment of the present disclosure provides a graph processing method, comprising: in response to executing a scheduled collection task, sending an information collection script to N servers by calling an automation tool to collect N transmission control protocol information corresponding to the N servers, wherein N is an integer greater than 1. Data cleaning is performed on the N transmission control protocol information to obtain M target communication parameter information, wherein the M target communication parameter information corresponds to M service units, and the M service units include N servers in total, and M is an integer greater than 1 and less than N. Based on the M target communication parameter information, M attribute information corresponding to the M service units is queried from the configuration management database. Based on the M attribute information and the M target communication parameter information, a first data interaction graph is constructed, wherein the node icon of the data interaction graph corresponds to the attribute information, and the edge of the data interaction graph corresponds to the target communication parameter information. The first data interaction graph is displayed in a visual interface.

[0040] Figure 1 The application scenario diagram of the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0041] like Figure 1 As shown, the application scenario 100 of this embodiment may include a server 111 and N servers 120. The N servers 120 include server 121_1, server 121_2, server 121_3, ..., and server 121_N. For example, server 111 may be a server for collecting information from the N servers 120 and processing the collected information. For example, server 111 may be implemented based on a configuration management database, or it may be a server capable of exchanging data with the configuration management database. A configuration management database is a logical database. It may store information on the entire lifecycle of configuration items in a business system and the relationships between them. Specifically, relationships between configuration items may include, but are not limited to, physical relationships, real-time communication relationships, non-real-time communication relationships, and dependency relationships. The N servers 120 may be servers for processing business. For example, the network may provide a medium for communication links between server 111 and the N servers 120. For another example, the network may also provide a medium for communication links between the N servers 120. For another example, the network may also provide a medium for communication links between terminal devices and the aforementioned servers. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

[0042] Users can use terminal devices to interact with the aforementioned servers to receive or send messages, etc., where the aforementioned server refers to the aforementioned server 111 and at least one of the aforementioned N servers 120, and the same applies hereinafter. Various communication client applications can be installed on the terminal devices, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (for example only). The terminal devices can be various electronic devices with display screens that support web browsing, including but not limited to smartphones, tablet computers, laptop computers, and desktop computers.

[0043] The aforementioned servers may be servers that provide various services, such as a backend management server (for example only) that supports websites browsed by users on their terminal devices. The backend management server may analyze and process received data such as user requests, and provide feedback to the terminal device regarding the processing results (e.g., web pages, information, or data obtained or generated based on user requests).

[0044] It should be noted that the graph processing method provided in the embodiment of the present disclosure can generally be executed by the server 111. Accordingly, the graph processing device provided in the embodiment of the present disclosure can generally be set in the server 111. The graph processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 111 and can communicate with the terminal device, the server 111 and / or the N servers 120. Accordingly, the graph processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 111 and can communicate with the terminal device, the server 111 and / or the N servers 120.

[0045] It should be understood that Figure 1 The number of servers in FIG is only for illustration. Any number of servers may be provided according to implementation requirements.

[0046] The following will be based on Figure 1 The scene described by Figures 2 to 9 The graph processing method of the disclosed embodiment is described in detail.

[0047] Figure 2 The flowchart of the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0048] like Figure 2 As shown, the graph processing method of this embodiment includes operations S210 to S240.

[0049] In operation S210 , in response to executing the scheduled collection task, an information collection script is sent to N servers by calling an automation tool to collect N transmission control protocol information corresponding to the N servers, where N is an integer greater than 1.

[0050] In operation S220, data cleaning is performed on N transmission control protocol information to obtain M target communication parameter information, wherein the M target communication parameter information corresponds to M service units, the M service units include N servers in total, and M is an integer greater than 1 and less than N.

[0051] In operation S230, based on the M target communication parameter information, M attribute information corresponding to the M service units is queried from the configuration management database.

[0052] In operation S240, a first data interaction graph is constructed based on the M attribute information and the M target communication parameter information, wherein the node icons of the data interaction graph correspond to the attribute information, and the edges of the data interaction graph correspond to the target communication parameter information.

[0053] In operation S250, a first data interaction graph is displayed on a visual interface.

[0054] According to an embodiment of the present disclosure, a scheduled collection task may be a task for driving an automated tool to collect transmission control protocol information corresponding to a server within a predetermined period. The predetermined period may be set based on demand and will not be elaborated upon here. The automated tool may be implemented based on a pre-written script file. The information collection script may also be pre-written. The automated tool may be implemented as an automated platform, and the written information collection script may be stored in the automated platform.

[0055] Transmission Control Protocol information can be generated by the server based on an information collection script. It can be in YAML format, where YAML represents a text-based markup language for data serialization. This information can include a TCP (Transmission Control Protocol) link. TCP is a connection-oriented, reliable, byte-stream-based transport layer communication protocol defined by IETF (Internet Engineering Task Force) RFC (Request For Comments) 793.

[0056] The TCP link may include communication address information, communication port information, and the like. The communication address information may include address information used for data interaction between servers. Specifically, the communication address information may include address information used for data interaction between services of the server. The above-mentioned address information may be, but is not limited to, an IP (Internet Protocol) address, and the like. The above-mentioned address information includes, but is not limited to, a source address identifier and a destination address identifier, and the like. In the embodiment of the present disclosure, the source address identifier corresponds to the service used to send data, and the destination address identifier corresponds to the service used to receive data. The communication port information may include port information used for data interaction between servers. Specifically, the communication port information may include port information used for data interaction between services of the server. The above-mentioned port information includes, but is not limited to, a source port identifier and a destination port identifier, and the like. In the embodiment of the present disclosure, the source port identifier corresponds to the data interaction port of the service used to send data, and the destination port identifier corresponds to the data interaction port of the service used to receive data.

[0057] Figure 3 The information collection diagram of the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0058] like Figure 3 As shown, in the application scenario 300 of this embodiment, the configuration management database 131 can drive the automation tool based on the Netstat command and the attribute information of the N servers 120 stored in the configuration management database 131 to send N information collection scripts 140 to the N servers 120. The attribute information may include the server identifier, etc. As a result, each of the N servers 120 can receive the information collection script.

[0059] After receiving and executing the information collection script 140, the N servers 120 send their own transmission control protocol information 132 to the configuration management database 131, thereby collecting N transmission control protocol information 150 corresponding to the N servers 120. Furthermore, the configuration management database 131 can execute a scheduled collection task to send the information collection script to different servers in the servers 120 at different time periods, thereby collecting information from different servers at different time periods and avoiding network congestion.

[0060] According to an embodiment of the present disclosure, data interaction can be achieved between N servers. For example, data interaction can be achieved between the services of N servers. However, the embodiment of the present disclosure is not limited to this. In an embodiment of the present disclosure, data interaction can also be achieved between the services of any server. The above-mentioned transmission control protocol information can be generated when the server performs data interaction. Specifically, the transmission control protocol information can be generated when the server's service performs data interaction. After the server sends the transmission control protocol information, the received information collection script can be deleted. Thus, the information collection script can be received again in the next time period, and the transmission control protocol information corresponding to the time period can be sent again.

[0061] According to an embodiment of the present disclosure, there may be K business systems, and any two of the K business systems may interact with each other, where K is a positive integer greater than 1. The K business systems include the above-mentioned M service units in total. Any two of the M service units may interact with each other. The M service units include the above-mentioned N servers in total. In an embodiment of the present disclosure, each business system may include at least one service unit. Each service unit may include at least one server. For at least two servers belonging to the same service unit, when the transmission control protocol information of the at least two servers is complete, the communication parameter information included by the at least two servers is consistent. The target communication parameter information may include the above-mentioned communication address information and the above-mentioned communication port information. Specifically, the target communication parameter information here may include the communication address information and communication port information corresponding to the data interaction process that has been carried out between the service units.

[0062] Based on this, the transmission control protocol information from N servers can be cleaned based on the service units corresponding to the servers, and M target communication parameter information corresponding to the M service units can be obtained. Specifically, based on the transmission control protocol information of the servers belonging to the same service unit, the transmission control protocol information corresponding to the service unit can be supplemented and deduplicated, so as to obtain the communication parameter information corresponding to the service unit. Missing supplementation can be the supplementation of missing information in the transmission control protocol information. Based on this, by automatically processing and cleaning the collected information, relevant information such as the source address identifier, the service unit to which the target address identifier belongs, and the business system can be improved. Therefore, by combining the collected information with the CMDB relationship management function, the relevant information of the business systems that have interacted can be automatically improved.

[0063] According to an embodiment of the present disclosure, M attribute information corresponding to M service units can be queried from a configuration management database based on the communication port information in the target communication parameter information. This attribute information may include attribute information of the services provided by the servers in the service units. The attribute information may include a unit identification field of the service unit, a server identification field of the server, and a service identification field of the service, etc.

[0064] In the first embodiment of the present disclosure, a node icon of a data interaction graph can be determined based on a unit identification field, a data transmission direction between service units can be determined based on the communication port information and communication address information in the target communication parameter information, and the side information of the data interaction graph can be determined based on the data transmission direction between service units. However, the present embodiment is not limited to this. In the second embodiment of the present disclosure, a node icon of a data interaction graph can be determined based on at least one of a unit identification field and a server identification field; a data transmission direction between servers can be determined based on the communication port information and communication address information in the target communication parameter information; and the side information of the data interaction graph can be determined based on the data transmission direction between servers. In the third embodiment of the present disclosure, a node icon of a data interaction graph can be determined based on at least one of a unit identification field, a server identification field, and a service identification field; a data transmission direction between services can be determined based on the communication port information and communication address information in the target communication parameter information; and the side information of the data interaction graph can be determined based on the data transmission direction between services. Based on this, a first data interaction graph can be constructed based on the side information and the node icons of the data interaction graph.

[0065] Figure 4 A schematic diagram of a first data interaction graph according to the first embodiment of the present disclosure is schematically shown.

[0066] like Figure 4 As shown, the first data interaction graph 4000 of this embodiment includes node icons of a business system 4100 and node icons of a business system 4200. The node icons of the business system 4100 include node icons of a service unit 4110 and node icons of a service unit 4120. The node icons of the business system 4200 include node icons of a service unit 4210.

[0067] exist Figure 4 In the graph, the edges are represented by black lines between the node icons. Figure 4As shown, data can be exchanged between the business system 4100 and the business system 4200. Specifically, the service unit 4110 and the service unit 4120 in the business system 4100 can both exchange data with the service unit 4210 in the business system 4200. The service unit 4110 and the service unit 4120 in the business system 4100 can also exchange data with each other. It should be noted that in the embodiment of the present disclosure, the node identification is only shown schematically, and in practice, the identifications in the diagram can be distinguished in a manner similar to the display of the figure marks. The same applies to other embodiments of the present disclosure and will not be repeated here.

[0068] Figure 5 A schematic diagram of a first data interaction graph according to the second embodiment of the present disclosure is schematically shown.

[0069] like Figure 5 As shown, the first data interaction graph 5000 of this embodiment includes node icons of a service unit 5110, a node icon of a service unit 5120, and a node icon of a service unit 5130. The node icons of the service unit 5110 include the node icon of a server 5111. The node icons of the service unit 5120 include the node icons of a server 5121 and a node icon of a server 5122. The node icons of the service unit 5130 include the node icons of a server 5131 and a node icon of a server 5132.

[0070] exist Figure 5 In the graph, the edges are represented by black lines between the node icons. Figure 5 As shown, data can be exchanged between service unit 5110, service unit 5120, and service unit 5130. Specifically, data can be exchanged between the servers in service unit 5110, the servers in service unit 5120, and the servers in service unit 5130. The servers in service unit 5110 can exchange data with each other. The servers in service unit 5120 can exchange data with each other. The servers in service unit 5130 can exchange data with each other.

[0071] Figure 6 A schematic diagram of a first data interaction graph according to the third embodiment of the present disclosure is schematically shown.

[0072] like Figure 6 As shown, the first data interaction graph 6000 of this embodiment includes a node icon of a server 6111 and a node icon of a server 6121. The node icon of the server 6111 includes a node icon of a service 6111_1. The node icon of the server 6121 includes a node icon of a service 6121_1 and a node icon of a service 6121_2.

[0073] exist Figure 6 In the graph, the edges are represented by black lines between the node icons. Figure 6 As shown, data can be exchanged between server 6111 and server 6121. Specifically, service 6121_1 and service 6121_2 in server 6121 can both exchange data with service 6111_1 in server 6111. Figure 6 The black lines are not used to indicate that data interaction can be performed between the service 6121_1 and the service 6121_2, but it should be understood that in some embodiments, data interaction can be performed between the service 6121_1 and the service 6121_2, or data interaction can be performed without performing data interaction.

[0074] It should be noted that, in some embodiments, multiple black lines with arrows may be used to indicate the direction of data transmission during the interaction process, which will not be elaborated here.

[0075] In the embodiment of the present disclosure, by displaying the first data interaction map on a visual interface, the upstream and downstream relationship of data interaction between service units can be displayed, the upstream and downstream relationship of data interaction between servers can be displayed, and the upstream and downstream relationship of data interaction between services can also be displayed.

[0076] According to the embodiments of the present disclosure, by executing a scheduled collection task, the transmission control protocol information of the server is collected within a predetermined period, thereby achieving timely collection of the transmission control protocol information. On this basis, the transmission control protocol information collected from N servers is cleaned to obtain M accurate target communication parameter information corresponding to M service units. Based on the target communication parameter information and the attribute information queried from the configuration management database, a first data interaction map is constructed, which can efficiently and accurately reflect the data interaction status of the service unit in a timely manner. Therefore, in the event of a service unit failure, the upstream and downstream nodes affected by the failure can be promptly evaluated through the first data interaction map, thereby reducing the time resources required for troubleshooting, improving the efficiency of troubleshooting, and facilitating rapid problem troubleshooting, rapid analysis of upstream and downstream impact systems, and rapid sorting of network access relationships, etc.

[0077] According to the embodiments of the present disclosure, since the transmission control protocol information is collected by sending an information collection script to the server, the graph processing method of the present disclosure is less invasive and the server that needs to collect the transmission control protocol information can be flexibly changed as needed, thereby flexibly changing the first data interaction graph, thereby improving the flexibility of determining the data interaction status of the service unit.

[0078] According to an embodiment of the present disclosure, transmission control protocol information includes communication address information. Data cleansing is performed on N transmission control protocol information to obtain M target communication parameter information, including: dividing the N transmission control protocol information based on the N communication address information to obtain M protocol information groups, wherein the M protocol information groups correspond to the M service units; and data cleansing is performed on the M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups.

[0079] According to an embodiment of the present disclosure, the communication address information of servers belonging to the same service unit can be consistent. Specifically, this can refer to consistent source address information. Thus, N pieces of communication address information can be identified from N pieces of transmission control protocol information, and the N pieces of transmission control protocol information can be divided based on the same communication address information, thereby obtaining M protocol information groups. On this basis, data can be cleaned for the protocol information groups based on the individual pieces of transmission control protocol information in the protocol information groups to obtain complete target communication parameter information.

[0080] According to the embodiments of the present disclosure, transmission control protocol information can be accurately grouped based on communication address information to obtain protocol information groups corresponding to service units. Furthermore, by performing data cleansing on the transmission control protocol information on a group basis, the target communication parameter information of the service unit can be efficiently and accurately obtained by combining the individual transmission control protocol information within the protocol information group, thereby improving the efficiency of obtaining the first data interaction graph and the accuracy of the information displayed in the first data interaction graph.

[0081] According to an embodiment of the present disclosure, data cleansing is performed on M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups. The method includes: for each protocol information group, determining target communication address information and target communication port information corresponding to a target service system from transmission control protocol information in the protocol information group, wherein the target service system is a service system that does not include a server. Based on the target communication address information and the target communication port information, the protocol information group is cleaned to obtain the target communication parameter information.

[0082] According to an embodiment of the present disclosure, when an external target business system interacts with data from a server among N servers, the transmission control protocol information generated by the server that interacts with the target business system will contain communication port information and communication address information corresponding to the target business system. Therefore, the communication port information and communication address information corresponding to the target business system can be removed from the transmission control protocol information to complete data cleaning. The target business system can be an external business system that does not belong to the K business systems. However, the embodiment of the present disclosure is not limited to this. When some tools are used to call a server among the above-mentioned N servers, the transmission control protocol information in the server will contain communication port information and communication address information corresponding to the tool. Based on this, the communication port information and communication address information corresponding to the tool can also be removed from the transmission control protocol information to complete data cleaning.

[0083] According to an embodiment of the present disclosure, by determining the target communication address information and target communication port information corresponding to an external target business system from the transmission control protocol information in the protocol information group, and performing data cleansing on the protocol information group based on the target communication address information and the target communication port information, target communication parameter information is obtained. This prevents the generated first data interaction graph from containing information related to the target business system that is not necessary to reflect the data interaction status, thereby improving the accuracy of the information displayed in the first data interaction graph and the efficiency of generating the first data interaction graph.

[0084] According to an embodiment of the present disclosure, data cleaning is performed on a protocol information group based on target communication address information and target communication port information to obtain target communication parameter information. The method includes determining the same protocol information and different protocol information between each transmission control protocol information in the protocol information group. Based on the same protocol information and different protocol information, intermediate communication parameter information is generated. The target communication address information and target communication port information included in the intermediate communication parameter information are removed to obtain the target communication parameter information.

[0085] According to an embodiment of the present disclosure, identical protocol information refers to identical information between various transmission control protocol information in a protocol information group. Different protocol information refers to different information between various transmission control protocol information in a protocol information group. Since there may be information duplication problems and information missing problems to varying degrees between various transmission control protocol information in the same protocol information group, the problems of missing and duplicating information can be solved by determining identical protocol information and different protocol information, and then splicing the identical protocol information and the different protocol information to obtain intermediate communication parameter information. Based on this, the intermediate communication parameter information can be cleaned to remove information generated by external system calls, and target communication parameter information related only to K business systems can be obtained.

[0086] According to the embodiments of the present disclosure, by determining the same protocol information and different protocol information between each transmission control protocol information in the protocol information group, and generating intermediate communication parameter information based on the same protocol information and different protocol information, it is possible to solve the problems of information duplication and information missing, improve the accuracy of the obtained communication parameter information, and improve the efficiency of processing the obtained communication parameter information. On this basis, the target communication address information and target communication port information in the intermediate communication parameter information are removed, which can avoid the presence of relevant information about the target business system that does not need to reflect the data interaction status in the generated first data interaction map, improve the accuracy of the information displayed by the first data interaction map, and improve the efficiency of generating the first data interaction map.

[0087] According to an embodiment of the present disclosure, transmission control protocol information includes communication address information and communication port information. Attribute information includes system information, service level information, and service identification field. System information is used to characterize the business system to which the server belongs. Service level information is used to characterize the service level of each service possessed by the server. The service identification field is an identification field of the service. Based on M attribute information and M target communication parameter information, a first data interaction graph about the business system is constructed, including: based on the service level information, determining the icon type information corresponding to the service. Determine the target area information corresponding to the system information from a plurality of predetermined area information located in the visualization interface. Based on the service identification field, icon type information, target area information, communication address information, and communication port information, a first data interaction graph is constructed, wherein the service identification field and icon type information both correspond to the node icon, the target area information corresponds to the position of the node icon in the data interaction graph, and the communication address information and communication port information both correspond to the edges of the data interaction graph.

[0088] Figure 7 A schematic diagram of a first data interaction graph according to the fourth embodiment of the present disclosure is schematically shown.

[0089] like Figure 7 As shown, in the first data interaction graph 7000 of this embodiment, the node identifier of server 7111 may include the node identifier of service 7111_1. The node identifier of server 7121 may include the node identifier of service 7121_1. The node identifier of service 7121_1 may include the node identifier of service 7121_12.

[0090] exist Figure 7 In the figure, vertical dotted lines are used to separate the areas corresponding to different business systems. For example, the left side of the dotted line and the right side of the dotted line correspond to different business systems. Figure 7, the node identifier of service 7121_12 is located within the node identifier of service 7121_1, and the shape of the node identifier of service 7121_12 is different from the shape of the node identifier of service 7121_1, to indicate that service 7121_12 and service 7121_1 are services of different levels. In this example, service 7121_12 is a sub-service of service 7121_1. The same is true for other embodiments of the present disclosure, which will not be elaborated here. However, the embodiments of the present disclosure are not limited to this, and different levels of services can also be shown by different colors, etc., which will not be elaborated here. Figure 7 In the diagram, the edges of the graph are represented by black lines between the node icons. It should be noted that in some embodiments, multiple black lines with arrows can also be used to represent the direction of data transmission during the interaction process, which will not be described in detail here.

[0091] According to an embodiment of the present disclosure, by determining the icon type information corresponding to the service based on the service level information, and then determining the target area information corresponding to the system information from the multiple predetermined area information located in the visualization interface. On this basis, a first data interaction graph is constructed based on the service identification field, icon type information, target area information, communication address information and communication port information. Thus, the first data interaction graph can reflect the level of the service and the business system to which the service belongs, so that in the event of an abnormality in the service, the upstream and downstream nodes affected by the abnormal service can be promptly evaluated through the first data interaction graph, thereby reducing the time resources required for service abnormality troubleshooting, improving troubleshooting efficiency, facilitating rapid problem troubleshooting, rapid analysis of upstream and downstream impact systems, and rapid sorting of network access relationships, etc.

[0092] According to an embodiment of the present disclosure, the graph processing method further includes: obtaining N component parameter information corresponding to the N servers, where the component parameter information is parameter information of components configured on the servers; rendering the first data interaction graph based on the N component parameter information to obtain a second data interaction graph; and displaying the second data interaction graph on a visualization interface.

[0093] According to an embodiment of the present disclosure, component parameter information may include component address information and component relationship information. The component address information may include address information for data interaction between components of the server. Specifically, the component address information may include address information for data interaction between components of the server. The address information may be, but is not limited to, an IP address, etc. The address information includes, but is not limited to, a source address identifier and a target address identifier, etc. In an embodiment of the present disclosure, the source address identifier corresponds to a service for sending data, and the target address identifier corresponds to a service for receiving data. The component relationship information is used to characterize the calling relationship between components deployed on the server. The calling relationship may include a calling relationship between components deployed on different servers and a calling relationship between components deployed on the same server.

[0094] According to an embodiment of the present disclosure, server configuration item information for N servers can be queried from a configuration management database, and component parameter information can then be determined from the server configuration item information. Based on this, node identifier information corresponding to the component parameter information can be determined based on the component address information in the component parameter information; edge information corresponding to the component parameter information can be determined based on the component relationship information in the component parameter information; and the first data interaction graph can be rendered based on the node identifier information corresponding to the component parameter information and the edge information corresponding to the component parameter information to obtain a second data interaction graph.

[0095] Figure 8 A schematic diagram of a second data interaction graph according to an embodiment of the present disclosure is schematically shown.

[0096] like Figure 8 As shown, in the second data interaction graph 8000 of this embodiment, the node identification of server 8111 includes the node identification of component 8111_1 and the node identification of service 8112_1. The node identification of server 7121 includes the node identification of component 8121_1 and the node identification of service 8122_1. Figure 8 It can be seen that there is a calling relationship between component 8111_1 and component 8112_1. Also, data can be exchanged between service 8112_1 and service 8122_1. Figure 8 In the diagram, the edges of the graph are represented by black lines between the node icons. It should be noted that in some embodiments, multiple black lines with arrows can also be used to represent the direction of data transmission during the interaction process, which will not be described in detail here.

[0097] According to an embodiment of the present disclosure, by obtaining N component parameter information corresponding to N servers and then rendering the first data interaction graph based on the N component parameter information, a second data interaction graph is obtained. Thus, the second data interaction graph can display the call relationships between server components while displaying the data interaction relationships of the services. Therefore, if there is a change in the information of a server component, the status of the changed component can be displayed in a timely and accurate manner, thereby improving the operation and maintenance efficiency of the business system.

[0098] According to an embodiment of the present disclosure, the graph processing method further includes: in response to receiving a graph processing request corresponding to a historical period, obtaining a historical data interaction graph corresponding to the historical period; determining graph difference information based on the historical data interaction graph and the first data interaction graph; rendering the first data interaction graph based on the graph difference information to obtain a third data interaction graph; and displaying the third data interaction graph on a visualization interface.

[0099] According to an embodiment of the present disclosure, the historical data interaction graph can be generated based on transmission control protocol information collected during a historical period. Graph difference information can be generated based on the communication address information and communication port information that differ between the information used to generate the historical data interaction graph and the information used to generate the first data interaction graph. Based on the graph difference information, the node identifiers corresponding to the communication address information and the edges corresponding to the communication port information in the first data interaction graph are rendered to obtain a third data interaction graph.

[0100] Figure 9 A schematic diagram of a third data interaction graph according to an embodiment of the present disclosure is schematically shown.

[0101] like Figure 9 As shown, the third data interaction graph 9000 of this embodiment includes the node identification of server 9111 and the node identification of server 9121. The node identification of server 9111 includes the node identification of service 9111_1 and the node identification of service 9111_2. The node identification of server 9121 includes the node identification of service 9121_1 and the node identification of service 9121_2.

[0102] exist Figure 9 In the figure, the node identifier corresponding to the graph difference information is shown in a darker color than other node identifiers. Figure 9 As shown, service 9121_2 is the node identifier corresponding to the graph difference information. However, the embodiment of the present disclosure is not limited to this, and different levels of services can also be shown in different colors, different shapes, etc., which will not be repeated here. Figure 9In the example, black lines between the node icons represent the edges of the graph. Based on this, the black line between service 9121_2 and service 9121_1, and the black line between service 9121_2 and service 9111_2, are both indicated by dashed boxes to indicate that the data interaction relationship here corresponds to the aforementioned graph difference information. It should be noted that in some embodiments, multiple black lines with arrows can also be used to indicate the direction of data transmission during the interaction process, which is not detailed here.

[0103] According to an embodiment of the present disclosure, by determining the graph difference information based on the historical data interaction graph corresponding to the historical time period and the first data interaction graph, and then rendering the first data interaction graph based on the graph difference information, a third data interaction graph is obtained. This can intuitively display the changes in the data interaction relationship in different time periods, thereby facilitating the determination of the nodes where the data interaction relationship changes, and improving operation and maintenance efficiency.

[0104] Based on the above-mentioned graph processing method, the present disclosure also provides a graph processing device. Figure 10 The device is described in detail.

[0105] Figure 10 The structural block diagram of the graph processing device according to an embodiment of the present disclosure is schematically shown.

[0106] like Figure 10 As shown, the graph processing device 1000 of this embodiment includes a first acquisition module 1010 , a data cleaning module 1020 , a query module 1030 , a construction module 1040 and a first display module 1050 .

[0107] The first collection module 1010 is configured to, in response to executing a scheduled collection task, send an information collection script to N servers by invoking an automated tool to collect N transmission control protocol information corresponding to the N servers. In one embodiment, the first collection module 1010 can be configured to perform operation S210 described above, which will not be further described here.

[0108] The data cleaning module 1020 is configured to clean N transmission control protocol information to obtain M target communication parameter information, where the M target communication parameter information corresponds to M service units, and the M service units include N servers, where M is an integer greater than 1 and less than N. In one embodiment, the data cleaning module 1020 can be configured to perform operation S220 described above, which is not further described here.

[0109] The query module 1030 is used to query the configuration management database for M attribute information corresponding to the M service units based on the M target communication parameter information. In one embodiment, the query module 1030 can be used to perform the operation S230 described above, which will not be repeated here.

[0110] Construction module 1040 is configured to construct a first data interaction graph based on the M attribute information and the M target communication parameter information, wherein node icons of the data interaction graph correspond to the attribute information, and edges of the data interaction graph correspond to the target communication parameter information. In one embodiment, construction module 1040 can be configured to perform operation S240 described above, which will not be further described here.

[0111] The first display module 1050 is used to display the first data interaction graph on the visual interface. In one embodiment, the first display module 1050 can be used to perform the operation S250 described above, which will not be repeated here.

[0112] According to an embodiment of the present disclosure, the data cleaning module 1020 includes a partitioning submodule and a data cleaning submodule. The partitioning submodule is configured to partition N transmission control protocol information based on N communication address information to obtain M protocol information groups, where the M protocol information groups correspond to M service units; and the data cleaning submodule is configured to perform data cleaning on the M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups.

[0113] According to an embodiment of the present disclosure, the data cleaning submodule includes a determination unit and a data cleaning unit. The determination unit is configured to determine, for each protocol information group, target communication address information and target communication port information corresponding to a target service system from the transmission control protocol information in the protocol information group, where the target service system is a service system that does not include a server. The data cleaning unit is configured to clean the protocol information group based on the target communication address information and the target communication port information to obtain target communication parameter information.

[0114] According to an embodiment of the present disclosure, a data cleaning unit includes a determination subunit, a generation subunit, and a removal subunit. The determination subunit is used to determine the same protocol information and different protocol information between each transmission control protocol information in the protocol information group; the generation subunit is used to generate intermediate communication parameter information based on the same protocol information and different protocol information; and the removal subunit is used to remove the target communication address information and target communication port information included in the intermediate communication parameter information to obtain the target communication parameter information.

[0115] According to an embodiment of the present disclosure, the construction module 1040 includes a first determination submodule, a second determination submodule, and a construction submodule. The first determination submodule is configured to determine icon type information corresponding to a service based on service level information; the second determination submodule is configured to determine target area information corresponding to system information from a plurality of predetermined area information located on a visualization interface; and the construction submodule is configured to construct a first data interaction graph based on a service identification field, icon type information, target area information, communication address information, and communication port information, wherein the service identification field and icon type information both correspond to node icons, the target area information corresponds to the location of the node icon in the data interaction graph, and the communication address information and communication port information both correspond to edges of the data interaction graph.

[0116] According to an embodiment of the present disclosure, the graph construction device 1000 further includes a second acquisition module, a first rendering module, and a second display module. The second acquisition module is configured to obtain N component parameter information corresponding to N servers, where the component parameter information is parameter information of components configured on the servers; the first rendering module is configured to render the first data interaction graph based on the N component parameter information to obtain a second data interaction graph; and the second display module is configured to display the second data interaction graph on a visual interface.

[0117] According to an embodiment of the present disclosure, the graph construction device 1000 further includes an acquisition module, a determination module, a second rendering module, and a third display module. The acquisition module is configured to, in response to receiving a graph processing request corresponding to a historical period, acquire a historical data interaction graph corresponding to the historical period; the determination module is configured to determine graph difference information based on the historical data interaction graph and the first data interaction graph; the second rendering module is configured to render the first data interaction graph based on the graph difference information to obtain a third data interaction graph; and the third display module is configured to display the third data interaction graph on a visual interface.

[0118] According to embodiments of the present disclosure, any multiple modules among the first acquisition module 1010, data cleaning module 1020, query module 1030, construction module 1040, and first display module 1050 may be combined into a single module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in a single module. According to embodiments of the present disclosure, at least one of the first acquisition module 1010, data cleaning module 1020, query module 1030, construction module 1040, and first display module 1050 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or may be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or may be implemented in any one of software, hardware, and firmware, or any suitable combination of these. Alternatively, at least one of the first acquisition module 1010 , the data cleaning module 1020 , the query module 1030 , the construction module 1040 and the first display module 1050 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.

[0119] Figure 11 A block diagram of an electronic device suitable for implementing the graph processing method according to an embodiment of the present disclosure is schematically shown.

[0120] like Figure 11 As shown, the electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage portion 1108 into a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0121] Various programs and data required for the operation of the electronic device 1100 are stored in the RAM 1103. The processor 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. The processor 1101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the programs in the ROM 1102 and / or the RAM 1103. It should be noted that the programs may also be stored in one or more memories other than the ROM 1102 and the RAM 1103. The processor 1101 may also perform various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in the one or more memories.

[0122] According to an embodiment of the present disclosure, electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to bus 1104. Electronic device 1100 may also include one or more of the following components connected to I / O interface 1105: an input section 1106 including a keyboard, mouse, etc.; an output section 1107 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 1108 including a hard disk; and a communication section 1109 including a network interface card such as a LAN card or modem. Communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to I / O interface 1105 as needed. Removable media 1111, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 1110 as needed, so that computer programs read from the removable media can be installed into storage section 1108 as needed.

[0123] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when executed, implements the method according to the embodiments of the present disclosure.

[0124] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1102 and / or RAM 1103 described above, and / or one or more memories other than ROM 1102 and RAM 1103.

[0125] The embodiments of the present disclosure also include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiments of the present disclosure.

[0126] The computer program executes the above functions defined in the system / device of the embodiment of the present disclosure when the computer program is executed by the processor 1101. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0127] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 1109, and / or installed from removable media 1111. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0128] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1109 and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above-described functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.

[0129] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).

[0130] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0131] Those skilled in the art will appreciate that the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present disclosure. In particular, the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of the present disclosure. All such combinations and / or couplings fall within the scope of the present disclosure.

[0132] The above describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A graph processing method, characterized in that: The method comprises: In response to executing the scheduled collection task, sending an information collection script to N servers by calling an automation tool to collect N transmission control protocol information corresponding to the N servers, where N is an integer greater than 1; Performing data cleaning on the N transmission control protocol information to obtain M target communication parameter information, wherein the M target communication parameter information corresponds to M service units, the M service units include a total of N servers, and M is an integer greater than 1 and less than N; Based on the M target communication parameter information, querying M attribute information corresponding to the M service units from a configuration management database; Based on the M pieces of attribute information and the M pieces of target communication parameter information, construct a first data interaction graph, wherein the node icons of the data interaction graph correspond to the attribute information, and the edges of the data interaction graph correspond to the target communication parameter information; The first data interaction graph is displayed on a visual interface.

2. The method according to claim 1, characterized in that The transmission control protocol information includes communication address information; The data cleaning of the N transmission control protocol information to obtain M target communication parameter information includes: Based on the N communication address information, the N transmission control protocol information is divided to obtain M protocol information groups, wherein the M protocol information groups correspond to the M service units; Data cleaning is performed on the M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups.

3. The method according to claim 2, characterized in that The step of performing data cleaning on the M protocol information groups to obtain M target communication parameter information corresponding to the M protocol information groups includes: For each of the protocol information groups, Determining target communication address information and target communication port information corresponding to a target business system from the transmission control protocol information of the protocol information group, wherein the target business system is a business system that does not include the server; Based on the target communication address information and the target communication port information, the protocol information group is cleaned to obtain the target communication parameter information.

4. The method according to claim 3, characterized in that The step of performing data cleaning on the protocol information group based on the target communication address information and the target communication port information to obtain the target communication parameter information includes: Determining the same protocol information and different protocol information between each transmission control protocol information in the protocol information group; generating intermediate communication parameter information based on the same protocol information and the different protocol information; The target communication address information and the target communication port information included in the intermediate communication parameter information are removed to obtain the target communication parameter information.

5. The method according to any one of claims 1 to 4, characterized in that The transmission control protocol information includes communication address information and communication port information; The attribute information includes system information, service level information and a service identification field, wherein the system information is used to characterize the business system to which the server belongs, the service level information is used to characterize the service level of each service provided by the server, and the service identification field is an identification field of the service; The constructing a first data interaction graph about the business system based on the M pieces of attribute information and the M pieces of target communication parameter information includes: Based on the service level information, determining icon type information corresponding to the service; Determining target area information corresponding to the system information from a plurality of predetermined area information located on the visualization interface; The first data interaction graph is constructed based on the service identification field, the icon type information, the target area information, the communication address information and the communication port information, wherein the service identification field and the icon type information both correspond to the node icon, the target area information corresponds to the position of the node icon in the data interaction graph, and the communication address information and the communication port information both correspond to the edges of the data interaction graph.

6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Acquire N component parameter information corresponding to the N servers, wherein the component parameter information is parameter information of the components configured by the servers; Based on the N component parameter information, the first data interaction graph is rendered to obtain a second data interaction graph; The second data interaction graph is displayed on the visualization interface.

7. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In response to receiving a graph processing request corresponding to a historical period, obtaining a historical data interaction graph corresponding to the historical period; Determining graph difference information based on the historical data interaction graph and the first data interaction graph; Based on the graph difference information, the first data interaction graph is rendered to obtain a third data interaction graph; The third data interaction graph is displayed on the visualization interface.

8. A graph processing device, characterized in that: The device comprises: A first collection module, configured to, in response to executing a scheduled collection task, send an information collection script to N servers by calling an automation tool to collect N transmission control protocol information corresponding to the N servers, wherein N is an integer greater than 1; A data cleaning module, used for cleaning the N transmission control protocol information to obtain M target communication parameter information, wherein the M target communication parameter information corresponds to M service units, the M service units include N servers in total, and M is an integer greater than 1 and less than N; A query module, configured to query M attribute information corresponding to the M service units from a configuration management database based on the M target communication parameter information; A construction module, configured to construct a first data interaction graph based on the M pieces of attribute information and the M pieces of target communication parameter information, wherein a node icon of the data interaction graph corresponds to the attribute information, and an edge of the data interaction graph corresponds to the target communication parameter information; The first display module is used to display the first data interaction map in a visual interface.

9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.

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

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