CN110519109A - The associated method, apparatus of probe node calculates equipment and medium - Google Patents

The associated method, apparatus of probe node calculates equipment and medium Download PDF

Info

Publication number
CN110519109A
CN110519109A CN201910916337.XA CN201910916337A CN110519109A CN 110519109 A CN110519109 A CN 110519109A CN 201910916337 A CN201910916337 A CN 201910916337A CN 110519109 A CN110519109 A CN 110519109A
Authority
CN
China
Prior art keywords
node
nodes
platform
information
role information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910916337.XA
Other languages
Chinese (zh)
Other versions
CN110519109B (en
Inventor
孙茂森
吴天雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910916337.XA priority Critical patent/CN110519109B/en
Publication of CN110519109A publication Critical patent/CN110519109A/en
Application granted granted Critical
Publication of CN110519109B publication Critical patent/CN110519109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/065Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving logical or physical relationship, e.g. grouping and hierarchies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present disclose provides a kind of associated methods of probe node, it include: to obtain multiple address of node data, multiple nodes for realizing target application correlation function, based on address date, determine the Role Information of each node in multiple nodes, the node type of Role Information characterization node, obtain the interaction data between multiple nodes, handle interaction data, the incidence relation between multiple nodes, based role information and incidence relation are obtained, determines the hierarchical information of multiple nodes, wherein, hierarchical information is for determining node failure.The disclosure additionally provides a kind of associated device of probe node, calculates equipment and computer readable storage medium.

Description

The associated method, apparatus of probe node calculates equipment and medium
Technical field
This disclosure relates to which field of computer technology, is saved more particularly to a kind of associated method of probe node, a kind of detection The associated device of point, a kind of calculating equipment and a kind of computer readable storage medium.
Background technique
Data center experienced software and hardware explosive growth in recent years, also increasingly frequent using publication and deployment, raw The life period constantly changes, various using interior nodes and staggeredly complicated, brings huge challenge to node failure exclusion.In face To hundreds of in application, operation maintenance personnel is difficult all-sidedly and accurately to grasp the deployment and system architecture of application, cannot quickly locate Production problem is managed, positioning problems are carried out.Therefore, how rapidly and accurately to carry out malfunction elimination to the node in application becomes this public affairs The problem of opening urgent need to resolve.
Summary of the invention
An aspect of this disclosure provides a kind of associated method of probe node, comprising: obtains multiple addresss of node Data, the multiple node are based on the address date, determine the multiple node for realizing the correlation function of target application In each node Role Information, the Role Information characterizes the node type of the node, obtains the multiple node it Between interaction data, handle the interaction data, obtain the incidence relation between the multiple node, be based on the Role Information With the incidence relation, the hierarchical information of the multiple node is determined, wherein the hierarchical information is for determining node failure.
It is above-mentioned to be based on the address date according to the embodiment of the present disclosure, determine the angle of each node in the multiple node Color information includes: to determine in the multiple node that present node is platform nodes or network node based on the address date, In the case where the present node is platform nodes, the Role Information of the platform nodes is determined according to first method, in institute In the case where present node is stated as network node, the Role Information of the network node is determined according to second method.
According to the embodiment of the present disclosure, the above-mentioned Role Information that the platform nodes are determined according to first method includes: to institute It states platform nodes transmission platform and judges script, and run the platform based on the platform nodes and judge script operation generated As a result the Role Information of the platform nodes is determined.The Role Information packet that the network node is determined according to second method Include: Xiang Suoshu network node sends network instruction, and executes the response letter that the network instruction generates based on the network node Breath determines the Role Information of the network node.
According to the embodiment of the present disclosure, the interaction data between above-mentioned the multiple node of acquisition includes following at least one : the configuration file of the platform nodes is obtained, and parses the configuration file and obtains the interaction data of the platform nodes, to The platform nodes send platform and parse script, and run the platform based on the platform nodes and parse script fortune generated Row result determines the interaction data of the platform nodes.
According to the embodiment of the present disclosure, the interaction data between above-mentioned the multiple node of acquisition includes: to obtain the net The configuration information of network node is based on the configuration information, determines the interaction data of the network node.
According to the embodiment of the present disclosure, above-mentioned network node includes router, firewall, at least one in load balancing node A, the configuration information for obtaining the network node includes: the routing table for obtaining the router, firewall policy, load At least one of equilibrium allocation information.
It is above-mentioned to be based on the Role Information and the incidence relation according to the embodiment of the present disclosure, determine the multiple node Hierarchical information comprise determining that the destination node in the multiple node as first order node, is based on the incidence relation, really At least one the N grades of node connecting in fixed the multiple node with N-1 grades of nodes obtain until traversing the multiple node The hierarchical information, wherein N is the integer more than or equal to 2.
Another aspect of the disclosure provides a kind of associated device of probe node, comprising: first obtains module, first Determining module, second obtain module, processing module and the second determining module.Wherein, first the multiple nodes of module acquisition are obtained Address date, the multiple node for realizing target application correlation function, the first determining module be based on the number of addresses According to, determine that the Role Information of each node in the multiple node, the Role Information characterize the node type of the node, the Two acquisition modules obtain the interaction data between the multiple node, and the processing module processing interaction data obtains described Incidence relation between multiple nodes, the second determining module are based on the Role Information and the incidence relation, determine described more The hierarchical information of a node, wherein the hierarchical information is for determining node failure.
According to the embodiment of the present disclosure, above-mentioned first determining module include: first determine submodule, second determine submodule with And third determines submodule.Wherein, it first determines that submodule is based on the address date, determines in the multiple node and work as prosthomere Point be platform nodes or network node, second determine submodule the present node be platform nodes in the case where, according to First method determines the Role Information of the platform nodes, and third determines submodule in the feelings that the present node is network node Under condition, the Role Information of the network node is determined according to second method.
According to the embodiment of the present disclosure, the above-mentioned Role Information that the platform nodes are determined according to first method includes: to institute It states platform nodes transmission platform and judges script, and run the platform based on the platform nodes and judge script operation generated As a result the Role Information of the platform nodes is determined.The Role Information packet that the network node is determined according to second method Include: Xiang Suoshu network node sends network instruction, and executes the response letter that the network instruction generates based on the network node Breath determines the Role Information of the network node.
According to the embodiment of the present disclosure, the interaction data between above-mentioned the multiple node of acquisition includes following at least one : the configuration file of the platform nodes is obtained, and parses the configuration file and obtains the interaction data of the platform nodes, to The platform nodes send platform and parse script, and run the platform based on the platform nodes and parse script fortune generated Row result determines the interaction data of the platform nodes.
According to the embodiment of the present disclosure, the interaction data between above-mentioned the multiple node of acquisition includes: to obtain the net The configuration information of network node is based on the configuration information, determines the interaction data of the network node.
According to the embodiment of the present disclosure, above-mentioned network node includes router, firewall, at least one in load balancing node A, the configuration information for obtaining the network node includes: the routing table for obtaining the router, firewall policy, load At least one of equilibrium allocation information.
It is above-mentioned to be based on the Role Information and the incidence relation according to the embodiment of the present disclosure, determine the multiple node Hierarchical information comprise determining that the destination node in the multiple node as first order node, is based on the incidence relation, really At least one the N grades of node connecting in fixed the multiple node with N-1 grades of nodes obtain until traversing the multiple node The hierarchical information, wherein N is the integer more than or equal to 2.
Another aspect of the present disclosure provides a kind of calculating equipment, comprising: one or more processors;Memory is used for Store one or more programs, wherein when one or more of programs are executed by one or more of processors, so that One or more of processors realize method as described above.
Another aspect of the present disclosure provides a kind of non-volatile readable storage medium, is stored with the executable finger of computer It enables, described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the associated method of probe node and the associated dress of probe node according to the embodiment of the present disclosure The system architecture set;
Fig. 2 diagrammatically illustrates the flow chart of the associated method of probe node according to the embodiment of the present disclosure;
Fig. 3 diagrammatically illustrates the flow chart of the Role Information of the determination node according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the schematic diagram of the determination hierarchical relationship according to the embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the block diagram of the associated device of probe node according to the embodiment of the present disclosure;
Fig. 6 diagrammatically illustrates the block diagram of the first determining module according to the embodiment of the present disclosure;And
Fig. 7 diagrammatically illustrates the side for realizing the associated computer system of probe node according to the embodiment of the present disclosure Block diagram.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer, The processor of special purpose computer or other programmable control units, so that these instructions can create when executed by this processor For realizing function/operation device illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product uses for instruction execution system or instruction execution system is combined to use.In the context of the disclosure In, computer-readable medium, which can be, can include, store, transmitting, propagating or transmitting the arbitrary medium of instruction.For example, calculating Machine readable medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium. The specific example of computer-readable medium includes: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Embodiment of the disclosure provides a kind of associated method of probe node, comprising: obtains multiple address of node numbers According to, multiple nodes for realizing the correlation function of target application.Then, it is based on address date, determines each section in multiple nodes The Role Information of point, Role Information characterize the node type of node, obtain the interaction data between multiple nodes.Finally, place Interaction data is managed, the incidence relation between multiple nodes, based role information and incidence relation is obtained, determines the layer of multiple nodes Grade information, wherein hierarchical information is for determining node failure.
Fig. 1 diagrammatically illustrates the associated method of probe node and the associated dress of probe node according to the embodiment of the present disclosure The system architecture set.It should be noted that be only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, with The technology contents of the disclosure are helped skilled in the art to understand, but are not meant to that the embodiment of the present disclosure may not be usable for other Equipment, system, environment or scene.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network according to this embodiment 104 and server 105.Network 104 between terminal device 101,102,103 and server 105 to provide communication link Medium.Network 104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 101,102,103 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use received The data such as family request analyze etc. processing, and by processing result (such as according to user's request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that the associated method of probe node provided by the embodiment of the present disclosure generally can be by server 105 execute.For example, server 105, which can execute, obtains multiple address of node data, multiple nodes are for realizing target application Correlation function.Then, it is based on address date, determines the Role Information of each node in multiple nodes, Role Information characterization section The node type of point, obtains the interaction data between multiple nodes.Finally, processing interaction data, obtains between multiple nodes Incidence relation, based role information and incidence relation determine the hierarchical information of multiple nodes, wherein hierarchical information is for true Determine node failure.Correspondingly, the associated device of probe node provided by the embodiment of the present disclosure generally can be set in server In 105.The associated method of probe node provided by the embodiment of the present disclosure can also be by being different from server 105 and can be with end The server or server cluster that end equipment 101,102,103 and/or server 105 communicate execute.Correspondingly, the disclosure is implemented Example provided by the associated device of probe node also can be set in be different from server 105 and can with terminal device 101, 102,103 and/or server 105 communicate server or server cluster in.
For example, the interaction data between multiple address of node data of the embodiment of the present disclosure and multiple nodes can be deposited Storage is in terminal device 101,102,103, by terminal device 101,102,103 by multiple address of node data and multiple sections Point between interaction data be sent in server 105, server 105 can handle interaction data, obtain multiple nodes it Between incidence relation, based role information and incidence relation determine the hierarchical information of multiple nodes.In addition, the ground of multiple nodes Interaction data between location data and multiple nodes can also be stored directly in server 105 by server 105, by servicing Device 105 directly handles interaction data, obtains the incidence relation between multiple nodes, based role information and incidence relation, determines The hierarchical information of multiple nodes.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Below with reference to the system architecture of Fig. 1, the spy according to disclosure illustrative embodiments is described with reference to Fig. 2~Fig. 4 Survey the associated method of node.It should be noted that above system framework is merely for convenience of understanding the spirit of the disclosure and principle And show, embodiment of the present disclosure is unrestricted in this regard.On the contrary, embodiment of the present disclosure can be applied to fit Any scene.
Fig. 2 diagrammatically illustrates the flow chart of the associated method of probe node according to the embodiment of the present disclosure.
As shown in Fig. 2, this method may include operation S210~S250.
In operation S210, obtain multiple address of node data, multiple nodes for realizing target application correlation function.
According to the embodiment of the present disclosure, the correlation function of target application is may be implemented in multiple nodes in target application, such as Query function, trading function etc. may be implemented.Wherein, multiple nodes for example may include load balancing node, web server Node, mysq1 database main-standby nodes, oracle database main-standby nodes, message queue node, hadoop cluster node, MPPDB clustered node, interchanger, router, firewall etc..Wherein, mysql is the RDBM Relational Data Base Management system of an open source System, oracle is an Object-Relational Database Management System, and hadoop is a kind of distributed system infrastructure, and MPPDB is Distributed structured database.
Wherein, multiple IP address of the address of node data for example including each node.For example, different applications has not Same IP address list.Therefore, can be by determining the Apply Names of target application, and target application is obtained based on Apply Names IP address list, include the IP address of multiple nodes of target application in the IP address list.
In operation S220, it is based on address date, determines the Role Information of each node in multiple nodes, Role Information characterization The node type of node.
In the embodiments of the present disclosure, such as based on IP address it can determine that node is load balancing node, message queue section Point either router etc..Therefore, role positioning can be carried out to each node according to IP address.For example, working as target application When including node 1, node 2, node 3, the Role Information of each node is determined by IP address are as follows: node 1 is load equalizing section Point, node 2 are message queue node, node 3 is router.Wherein, it operates S220 detailed process is as follows and described in Fig. 3.
In operation S230, the interaction data between multiple nodes is obtained.
According to the embodiment of the present disclosure, in order to realize the correlation function of target application, multiple nodes is needed to carry out data interaction. For example, including that node 1, node 2, the citing of node 3, such as node 1 send the data to node 2,2 logarithm of node with target application According to node 3 is relayed to after being handled, at this point, the interaction data between multiple nodes turns for example including the data between node Hair process sends the data to node 2 for example including node 1, and node 2 forwards the data to node 3 etc..
In operation S240, interaction data is handled, the incidence relation between multiple nodes is obtained.
In the embodiments of the present disclosure, based on the incidence relation between the available multiple nodes of interaction data, such as based on Interaction data can learn node 1, node 2, the incidence relation between node 3, such as incidence relation is that node 1 and node 2 connect It connects, node 2 is connect etc. with node 3.
In operation S250, based role information and incidence relation determine the hierarchical information of multiple nodes, wherein level letter Breath is for determining node failure.
It can be determined multiple according to the embodiment of the present disclosure according to the incidence relation between the Role Information and node of node Hierarchical information between node.For example, the incidence relation between node 1, node 2, node 3 is that node 1 connect with node 2, saves Point 2 is connect with node 3, using this can learn node 1, node 2, node 3 hierarchical relationship as node 1 be the first level, node 2 It is third level for the second level, node 3.Malfunction elimination can be carried out to target application according to the hierarchical relationship.For example, if Node 2 does not receive data or received data is abnormal, then can determine that the node 1 for sending data is likely to occur failure, And since node 1 breaks down, it may cause node 2 and node 3 be affected.
It is appreciated that the incidence relation between Role Information and node that the disclosure passes through automatic probe node, quickly quasi- The hierarchical information between node is provided, really can quickly and easily to determine according to hierarchical information when application is broken down Position malfunctioning node, and quickly determine the coverage of failure.
Fig. 3 diagrammatically illustrates the flow chart of the Role Information of the determination node according to the embodiment of the present disclosure.
As shown in figure 3, aforesaid operations S220 includes operation S221~S223.
In operation S221, it is based on address date, determines that present node is platform nodes or network node in multiple nodes.
According to the embodiment of the present disclosure, each node in multiple nodes for example belongs to platform nodes or network node.Example Such as, web server node, mysql database main-standby nodes, oracle database main-standby nodes, message queue node, hadoop Clustered node, MPPDB clustered node belong to platform nodes.Load balancing node, interchanger, router, firewall belong to network Node.
In the embodiments of the present disclosure, the IP address of node can characterize present node and belong to platform nodes or network section Point.It, can be according to different modes after the IP address according to node determines present node for platform nodes or network node Determine the Role Information of node.
The angle of platform nodes is determined according to first method in the case where present node is platform nodes in operation S222 Color information.
For example, sending platform to platform nodes judges script, and judge that script is generated based on platform nodes operation platform Operation result determine the Role Informations of platform nodes.That is, platform nodes receive after platform judges script, transported by platform nodes The row platform judges that script generates operation result, the Role Information with the platform nodes in the operation result, the Role Information Such as can be current platform node is web server node, mysql database main-standby nodes, the active and standby section of oracle database Point, message queue node, hadoop cluster node or MPPDB clustered node etc..
The angle of network node is determined according to second method in the case where present node is network node in operation S223 Color information.For example, sending network instruction to network node, and true based on the response message that network node executes network instruction generation Determine the Role Information of network node.That is, network node is raw in response to the network instruction after network node receives network instruction At the Role Information of the network node, the Role Information for example can be current network node for load equalizing section point, interchanger, Router or firewall etc..
According to the embodiment of the present disclosure, such as in the case where present node is platform nodes, aforesaid operations S230 is for example wrapped Include at least one in following (1)~(2).
(1) configuration file of platform nodes is obtained, and parses configuration file and obtains the interaction data of platform nodes.That is, working as When node is platform nodes, by the configuration file of analyzing platform node, the interaction data of the platform nodes is obtained with this, so as to In further determining the incidence relation between node according to interaction data.Wherein, configuration file for example may include platform nodes Handle the relevant information in data procedures.For example, for example may include node 1 in configuration file when platform nodes are node 1 According to preset condition handle data, and according to related protocol by handled data forwarding to relevant informations such as nodes 2.
(2) platform is sent to platform nodes and parse script, and generated based on platform nodes operation platform parsing script Operation result determines the interaction data of platform nodes.That is, platform parsing script is sent to platform nodes, platform nodes pass through fortune Row platform parses in the obtained operation result of script for example including interaction data.
Can be with the five-tuple of acquisition platform node for example, parsing script by platform, the five-tuple is for example including source IP Location, source port information, purpose IP address, destination port information, transport protocol.When platform nodes are node 1, node 1 is to section Point 2 sends data.The then five-tuple of the node 1 collected such as IP address of packet node 1, the port information of node 1, node 2 IP address, the port information of node 2, the Data Transport Protocol between node 1 and node 2.As it can be seen that from five yuan of the node 1 Interaction data in group between available node 1 and node 2.
According to the embodiment of the present disclosure, such as in the case where present node is network node, aforesaid operations S230 is for example wrapped It includes: obtaining the configuration information of network node, be based on configuration information, determine the interaction data of network node.
For example, when network node includes router, firewall or load balancing node, the configuration information of network node Routing table, firewall policy or load balancing configuration information for example including router.By the configuration for parsing network node Incidence relation between the available node of information.
According to the embodiment of the present disclosure, aforesaid operations S250 for example, determine the destination node in multiple nodes as First nodes are based on incidence relation, determine at least one the N grades of node connecting in multiple nodes with N-1 grades of nodes, until It traverses multiple nodes and obtains hierarchical information, wherein N is the integer more than or equal to 2.
Fig. 4 diagrammatically illustrates the schematic diagram of the determination hierarchical relationship according to the embodiment of the present disclosure.
As shown in figure 4, for example multiple nodes include node 10, node 21, node 22, node 23, node 31, node 32, Node 33, node 41, node 42 etc..Such as determine that node 10 is destination node, which can be used as first order node, According to the incidence relation between multiple nodes, determine that the second level node connecting with node 10 is node 21, node 22, node 23.Continue to determine third level node, such as the third level node connecting with node 21 includes node 31, node 32.With node 22 The third level node of connection is for example including node 33.Continue to determine fourth stage node, such as the fourth stage section connecting with node 33 Point includes node 41, node 42.It is recycled with this until traversing all nodes obtains hierarchical information.Wherein, the hierarchical information is for example It can be shown, which is stored in database profession, convenient for quickly being positioned according to stratal diagram in real time with stratal diagram shown in Fig. 4 Malfunctioning node, and quickly determine the coverage of failure.
The incidence relation between Role Information and node that the embodiment of the present disclosure passes through automatic probe node, rapidly and accurately The hierarchical information between node is provided, can quickly and easily to position event according to hierarchical information when application is broken down Hinder node, and quickly determines the coverage of failure.
In addition, the embodiment of the present disclosure is by way of providing the script customized and order issues, it can be found that in The Role Information and incidence relation of node, versatility are stronger.It can be operation maintenance personnel by the technical solution of the embodiment of the present disclosure The global level view of application is rapidly and accurately provided.When there is application failure, operation maintenance personnel can be facilitated to carry out positioning problems The loss of failure bring is reduced with quick investigation quickly to determine the coverage of failure.Implement can be with for the disclosure simultaneously Configuration management system is complementary, provides data branch for scenes such as production emergency, the switching of master/slave data library, highly available system, dilatations Support.
Fig. 5 diagrammatically illustrates the block diagram of the associated device of probe node according to the embodiment of the present disclosure.
As shown in figure 5, the associated device 500 of probe node may include the first acquisition module 510, the first determining module 520, second module 530, processing module 540 and the second determining module 550 are obtained.
First acquisition module 510 can be used for obtaining multiple address of node data, and multiple nodes are answered for realizing target Correlation function.According to the embodiment of the present disclosure, the first acquisition module 510 can for example execute the behaviour above with reference to Fig. 2 description Make S210, details are not described herein.
First determining module 520 can be used for being based on address date, determine the Role Information of each node in multiple nodes, The node type of Role Information characterization node.According to the embodiment of the present disclosure, the first determining module 520 can for example execute ginseng above The operation S220 of Fig. 2 description is examined, details are not described herein.
Second acquisition module 530 can be used for obtaining the interaction data between multiple nodes.According to the embodiment of the present disclosure, Second acquisition module 530 can for example execute the operation S230 above with reference to Fig. 2 description, and details are not described herein.
Processing module 540 can be used for opening up processing interaction data, obtain the incidence relation between multiple nodes.According to this public affairs Embodiment is opened, processing module 540 can for example execute the operation S240 above with reference to Fig. 2 description, and details are not described herein.
Second determining module 550 can be used for opening up based role information and incidence relation, determine the level letter of multiple nodes Breath, wherein hierarchical information is for determining node failure.According to the embodiment of the present disclosure, the second determining module 550 can for example be executed Above with reference to the operation S250 of Fig. 2 description, details are not described herein.
Fig. 6 diagrammatically illustrates the block diagram of the first determining module according to the embodiment of the present disclosure.
As shown in fig. 6, the first determining module 520 may include that the first determining submodule 521, second determines submodule 522 And third determines submodule 523.
First determines that submodule 521 can be used for determining that present node is platform section in multiple nodes based on address date Point or network node.According to the embodiment of the present disclosure, first determines that submodule 521 can for example be executed describes above with reference to Fig. 3 Operation S221, details are not described herein.
Second determines that submodule 522 can be used in the case where present node is platform nodes, true according to first method The Role Information of fixed platform node.According to the embodiment of the present disclosure, second determines that submodule 522 can for example be executed above with reference to figure The operation S222 of 3 descriptions, details are not described herein.
Third determines that submodule 523 can be used in the case where present node is network node, true according to second method Determine the Role Information of network node.According to the embodiment of the present disclosure, third determines that submodule 523 can for example be executed above with reference to figure The operation S223 of 3 descriptions, details are not described herein.
According to the embodiment of the present disclosure, determine that the Role Information of platform nodes includes: to send out to platform nodes according to first method It send platform to judge script, and judges that script operation result generated determines the angle of platform nodes based on platform nodes operation platform Color information.The Role Information that network node is determined according to second method includes: to send network instruction to network node, and be based on net Network node executes the Role Information that the response message that network instruction generates determines network node.
According to the embodiment of the present disclosure, obtains the interaction data between multiple nodes and include at least one of the following: that acquisition is flat The configuration file of platform node, and parse configuration file and obtain the interaction data of platform nodes, platform parsing is sent to platform nodes Script, and the interaction data that script operation result generated determines platform nodes is parsed based on platform nodes operation platform.
According to the embodiment of the present disclosure, obtaining the interaction data between multiple nodes includes: the configuration for obtaining network node Information is based on configuration information, determines the interaction data of network node.
According to the embodiment of the present disclosure, network node includes at least one of router, firewall, load balancing node, The configuration information for obtaining network node includes: to obtain the routing table of router, firewall policy, in load balancing configuration information At least one.
According to the embodiment of the present disclosure, based role information and incidence relation determine that the hierarchical information of multiple nodes includes: true Destination node in fixed multiple nodes is used as first order node, based on incidence relation, determine in multiple nodes with N-1 grades of nodes At least one N grades of node of connection, until traversing multiple nodes obtains hierarchical information, wherein N is whole more than or equal to 2 Number.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, first obtains module 510, the first determining module 520, first determines that submodule 521, second determines submodule 522, it is any in module 530, processing module 540 and the second determining module 550 to determine that submodule 523, second obtains for third Multiple may be incorporated in a module is realized or any one module therein can be split into multiple modules.Alternatively, At least partly function of one or more modules in these modules can be combined at least partly function of other modules, and It is realized in a module.In accordance with an embodiment of the present disclosure, the first acquisition module 510, the first determining module 520, first determine Submodule 521, second determine submodule 522, third determine submodule 523, second obtain module 530, processing module 540 and At least one of second determining module 550 can at least be implemented partly as hardware circuit, such as field-programmable gate array Arrange (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit (ASIC), it or can be realized by carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit, Or it several appropriately combined is realized with any one in three kinds of software, hardware and firmware implementations or with wherein any. Alternatively, first obtains module 510, the first determining module 520, first determines that submodule 521, second determines submodule 522, third Determining that submodule 523, second obtains at least one of module 530, processing module 540 and second determining module 550 can be with It is at least implemented partly as computer program module, when the computer program module is run, corresponding function can be executed Energy.
Fig. 7 diagrammatically illustrates the side for realizing the associated computer system of probe node according to the embodiment of the present disclosure Block diagram.Computer system shown in Fig. 7 is only an example, should not function to the embodiment of the present disclosure and use scope bring Any restrictions.
As shown in fig. 7, computer system 700 includes processor 701, computer readable storage medium 702.The system 700 The method according to the embodiment of the present disclosure can be executed.
Specifically, processor 701 for example may include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 701 can also include using for caching The onboard storage device on way.Processor 701 can be the different movements for executing the method flow according to the embodiment of the present disclosure Single treatment unit either multiple processing units.
Computer readable storage medium 702, such as can be times can include, store, transmitting, propagating or transmitting instruction Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, Device or propagation medium.The specific example of readable storage medium storing program for executing includes: magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage Device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication chain Road.
Computer readable storage medium 702 may include computer program 703, which may include generation Code/computer executable instructions execute processor 701 according to the embodiment of the present disclosure Method or its any deformation.
Computer program 703 can be configured to have the computer program code for example including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 703 may include one or more program modules, for example including 703A, module 703B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can To be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor 701 When execution, processor 701 is executed according to the method for the embodiment of the present disclosure or its any deformation.
In accordance with an embodiment of the present disclosure, first obtain module 510, the first determining module 520, first determine submodule 521, Second determines that submodule 522, third determine that submodule 523, second obtains module 530, processing module 540 and the second determining mould At least one of block 550 can be implemented as the computer program module with reference to Fig. 7 description, when being executed by processor 701, Corresponding operating described above may be implemented.
The disclosure additionally provides a kind of computer-readable medium, which, which can be in above-described embodiment, retouches Included in the equipment/device/system stated;It is also possible to individualism, and without in the supplying equipment/device/system.On It states computer-readable medium and carries one or more program, when said one or multiple programs are performed, in realization State method.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, wired, optical cable, radiofrequency signal etc., or Above-mentioned any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, In In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents, A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.

Claims (10)

1. a kind of associated method of probe node, comprising:
Obtain multiple address of node data, the multiple node for realizing target application correlation function;
Based on the address date, determine that the Role Information of each node in the multiple node, the Role Information characterize institute State the node type of node;
Obtain the interaction data between the multiple node;
The interaction data is handled, the incidence relation between the multiple node is obtained;And
Based on the Role Information and the incidence relation, the hierarchical information of the multiple node is determined, wherein the level letter Breath is for determining node failure.
2. it is described to be based on the address date according to the method described in claim 1, wherein, it determines every in the multiple node The Role Information of a node includes:
Based on the address date, determine that present node is platform nodes or network node in the multiple node;
In the case where the present node is platform nodes, the Role Information of the platform nodes is determined according to first method; And
In the case where the present node is network node, the Role Information of the network node is determined according to second method.
3. according to the method described in claim 2, wherein:
The Role Information that the platform nodes are determined according to first method includes: to send platform judgement to the platform nodes Script, and run the platform based on the platform nodes and judge that script operation result generated determines the platform nodes Role Information;
The Role Information that the network node is determined according to second method includes: to send network to the network node to refer to It enables, and the response message that the network instruction generates is executed based on the network node and determines that the role of the network node believes Breath.
4. according to the method in claim 2 or 3, wherein the interaction data packet obtained between the multiple node It includes at least one of following:
The configuration file of the platform nodes is obtained, and parses the configuration file and obtains the interaction data of the platform nodes; And
Platform is sent to the platform nodes and parses script, and is run the platform parsing script based on the platform nodes and given birth to At operation result determine the interaction datas of the platform nodes.
5. according to the method in claim 2 or 3, wherein the interaction data packet obtained between the multiple node It includes:
Obtain the configuration information of the network node;And
Based on the configuration information, the interaction data of the network node is determined.
6. according to the method described in claim 5, wherein, the network node includes router, firewall, load balancing node At least one of;The configuration information for obtaining the network node includes:
Obtain at least one of the routing table of the router, firewall policy, load balancing configuration information.
7. it is described to be based on the Role Information and the incidence relation according to the method described in claim 1, wherein, determine institute The hierarchical information for stating multiple nodes includes:
Determine the destination node in the multiple node as first order node;
Based on the incidence relation, at least one the N grades of node connecting in the multiple node with N-1 grades of nodes are determined, Until traversing the multiple node obtains the hierarchical information, wherein N is the integer more than or equal to 2.
8. a kind of associated device of probe node, comprising:
First obtains module, obtains multiple address of node data, the multiple node for realizing target application related function Energy;
First determining module is based on the address date, determines the Role Information of each node in the multiple node, the angle The node type of node described in color information representation;
Second obtains module, obtains the interaction data between the multiple node;
Processing module handles the interaction data, obtains the incidence relation between the multiple node;And
Second determining module is based on the Role Information and the incidence relation, determines the hierarchical information of the multiple node, In, the hierarchical information is for determining node failure.
9. a kind of calculating equipment, comprising:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of Processor realizes method described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, is stored with computer executable instructions, described instruction is used for reality when executed Method described in existing any one of claims 1 to 7.
CN201910916337.XA 2019-09-26 2019-09-26 Method, device, computing equipment and medium for detecting node association Active CN110519109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910916337.XA CN110519109B (en) 2019-09-26 2019-09-26 Method, device, computing equipment and medium for detecting node association

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910916337.XA CN110519109B (en) 2019-09-26 2019-09-26 Method, device, computing equipment and medium for detecting node association

Publications (2)

Publication Number Publication Date
CN110519109A true CN110519109A (en) 2019-11-29
CN110519109B CN110519109B (en) 2023-04-28

Family

ID=68633720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910916337.XA Active CN110519109B (en) 2019-09-26 2019-09-26 Method, device, computing equipment and medium for detecting node association

Country Status (1)

Country Link
CN (1) CN110519109B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756577A (en) * 2020-06-23 2020-10-09 中国工商银行股份有限公司 Fault detection method, apparatus, detection device and medium executed by detection device
CN112242938A (en) * 2020-10-14 2021-01-19 亚信科技(中国)有限公司 Detection method, detection device, electronic equipment and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109617740A (en) * 2018-12-28 2019-04-12 广东亿迅科技有限公司 A kind of method and device that application failure quickly positions
CN109688758A (en) * 2019-02-11 2019-04-26 南方科技大学 For determining method, apparatus, electronic equipment and the medium of data center's failure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109617740A (en) * 2018-12-28 2019-04-12 广东亿迅科技有限公司 A kind of method and device that application failure quickly positions
CN109688758A (en) * 2019-02-11 2019-04-26 南方科技大学 For determining method, apparatus, electronic equipment and the medium of data center's failure

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756577A (en) * 2020-06-23 2020-10-09 中国工商银行股份有限公司 Fault detection method, apparatus, detection device and medium executed by detection device
CN111756577B (en) * 2020-06-23 2022-08-02 中国工商银行股份有限公司 Fault detection method, apparatus, detection device and medium executed by detection device
CN112242938A (en) * 2020-10-14 2021-01-19 亚信科技(中国)有限公司 Detection method, detection device, electronic equipment and computer-readable storage medium
CN112242938B (en) * 2020-10-14 2022-08-19 亚信科技(中国)有限公司 Detection method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110519109B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US10387976B2 (en) Federated system for centralized management and distribution of content media
CN108494860A (en) WEB accesses system, WEB access methods and device for client
CN109918040A (en) Phonetic order distribution method and device, electronic equipment and computer-readable medium
CN109905286A (en) A kind of method and system of monitoring device operating status
CN110427304A (en) O&M method, apparatus, electronic equipment and medium for banking system
CN110519109A (en) The associated method, apparatus of probe node calculates equipment and medium
CN110336865A (en) Service calling method, device, storage medium and electronic equipment
CN109815105A (en) Applied program testing method and device based on Btrace
CN112039796A (en) Data packet transmission method and device, storage medium and electronic equipment
CN110569282A (en) Data processing method, data processing device, computing equipment and computer readable storage medium
CN110471848A (en) A kind of method and apparatus of dynamic returned packet
US20240045879A1 (en) Presentation method, apparatus and electronic device
CN110912731B (en) NFV-based system and method for realizing service identification and topology analysis by adopting DPI technology
CN110505074A (en) A kind of application module integrated approach and device
CN109088750A (en) Network Situation Awareness System design and dispositions method based on container
CN110070394A (en) Data processing method, system, medium and calculating equipment
CN108616453B (en) Method, device and system for network equipment
CN108683531B (en) Method and apparatus for handling log information
CN115643162A (en) System fault domain positioning method and system, electronic equipment and storage medium
CN110443034A (en) The recognition methods of risk program file, calculates equipment and medium at device
CN107181644B (en) Method and apparatus for monitoring the network performance of network application
US10454808B2 (en) Managing physical network cross-connects in a datacenter
CN110278133A (en) Inspection method, device, calculating equipment and the medium executed by server
CN112491601B (en) Traffic topology generation method and device, storage medium and electronic equipment
CN110493291A (en) A kind of method and apparatus handling HTTP request

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant