Graph database-based fault analysis method and device for power information communication system
Technical Field
The invention relates to the technical field of power grid system evaluation, in particular to a failure analysis method and device of a graph database-based power information communication system.
Background
The main function of information communication asset equipment in the power grid is to realize high-performance control and automatic management of the power grid. With the development of the informatization technology of the national grid company, more and more grid information systems are put into use, such as an information operation and maintenance integrated supervisory system (IMS) of the national grid company, a production management information system (PMS) of the national grid company, a Geographic Information System (GIS) of the national grid company, and the like. This means that more servers, switches and other communication devices need to be installed and deployed within the company. The management problem of the power information communication equipment becomes a problem to be solved urgently. The traditional relational database management technology encounters serious technical bottlenecks in the aspects of storage scale, query efficiency, expandability, mass data management and the like. Conventional relational databases do not meet such evolving needs. In addition, the traditional relational database has great disadvantages when supporting a topology analysis function, and has poor analysis function on the fault influence range of the power information communication equipment.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a graph database-based fault analysis method and device for an electric power information communication system, so as to solve the problems that the fault influence range of electric power information communication equipment cannot be effectively analyzed in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a failure analysis method for a graph database-based power information communication system, where the failure analysis method includes: acquiring attribute information of the electric power information communication equipment and the power grid information system, and establishing a graph data model of the electric power information communication system according to the attribute information; and retrieving in the graph data model, performing breadth diffusion analysis according to a preset depth, and determining a fault influence range.
In an embodiment, the building of the graph data model of the power information communication system according to the attribute information specifically includes: respectively establishing a power information communication equipment node and a power grid information system node according to the attribute information; establishing a first edge structure for connecting each power information communication equipment node according to the connection relation between each power information communication equipment, establishing a second edge structure for connecting each power information communication equipment node and a power grid information system node according to the subordinate relation between each power information communication equipment and the power grid information system, and establishing a third edge structure according to the service data relation between each power information communication equipment or each power grid communication system; and establishing a graph data model of the electric power communication equipment and the electric network information system according to the electric power information communication equipment node, the electric network information system node, the first edge structure, the second edge structure and the third edge structure.
In an embodiment, the retrieving in the graph data model and performing the breadth diffusion analysis according to the preset depth to determine the fault influence range specifically includes: step a: taking the power information communication equipment node with the fault as a starting point, and searching a power grid information system node which is separated from the power information communication equipment node with the fault by the preset depth in the graph data model; step b: judging whether the nodes of the electric power information communication equipment connected with the nodes of the power grid information system are all in fault; and if not, judging that the power information communication equipment node is in the fault influence range of the power information communication equipment node with the fault.
In one embodiment, when all the power information communication equipment nodes connected with the grid information system node have faults, the grid information system node is judged to have faults; further retrieving other grid information system nodes connected with the grid information system node with the fault; and judging that the other grid information system nodes are in the fault influence range of the power information communication equipment node with the fault.
In an embodiment, the power information communication device node includes: before step a, the fault analysis method further includes: determining the type of the power information communication equipment node with the fault; when the power information communication equipment node with the fault is a server node or a storage equipment node, executing the step a; and when the power information communication equipment node with the fault is a network equipment node, searching a server node or a storage equipment node which is separated from the network equipment node by the preset depth, and further executing the step a.
The embodiment of the invention also provides a failure analysis device of the graph database-based power information communication system, which is characterized by comprising the following components: the graph data model establishing unit is used for acquiring attribute information of the electric power information communication equipment and the electric network information system and establishing a graph data model of the electric power information communication system according to the attribute information; and the fault influence range determining unit is used for retrieving in the graph data model, performing breadth diffusion analysis according to a preset depth and determining the fault influence range.
In an embodiment, the graph data model building unit includes: the node establishing module is used for respectively establishing a power information communication equipment node and a power grid information system node according to the attribute information; the side structure establishing module is used for establishing a first side structure for connecting each power information communication equipment node according to the connection relation between each power information communication equipment, establishing a second side structure for connecting the power information communication equipment node and the power grid information system node according to the subordinate relation between the power information communication equipment and the power grid information system, and establishing a third side structure according to the service data relation between each power information communication equipment or between each power grid communication system; and the graph data model establishing module is used for establishing a graph data model of the electric power communication equipment and the electric network information system according to the electric power information communication equipment node, the electric network information system node, the first edge structure, the second edge structure and the third edge structure.
In an embodiment, the influence range determining unit is specifically configured to perform the following steps: step a: taking the power information communication equipment node with the fault as a starting point, and searching a power grid information system node which is separated from the power information communication equipment node with the fault by the preset depth in the graph data model; step b: judging whether the nodes of the electric power information communication equipment connected with the nodes of the power grid information system are all in fault; and if not, judging that the power information communication equipment node is in the fault influence range of the power information communication equipment node with the fault.
In an embodiment, the above-mentioned influence range determining unit is further configured to: when all the nodes of the electric power information communication equipment connected with the nodes of the power grid information system are in fault, judging that the nodes of the power grid information system are in fault; further retrieving other grid information system nodes connected with the grid information system node with the fault; and judging that the other grid information system nodes are in the fault influence range of the power information communication equipment node with the fault.
In an embodiment, the power information communication device node includes: before step a, the influence range determining unit is further configured to perform the following steps: determining the type of the power information communication equipment node with the fault; when the power information communication equipment node with the fault is a server node or a storage equipment node, executing the step a; and when the power information communication equipment node with the fault is a network equipment node, searching a server node or a storage equipment node which is separated from the network equipment node by the preset depth, and further executing the step a.
The embodiment of the invention has the advantages that the deep analysis is carried out according to the retrieval in the graph database, the state monitoring of the electric power information communication equipment can be effectively and quickly processed, the fault influence range can be confirmed, and auxiliary support is provided for the evaluation of the fault level and the confirmation of the operation and maintenance object.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a failure analysis method of a graph database-based electric power information communication system according to embodiment 1 of the present invention;
fig. 2 is a schematic block diagram of a specific example of a failure analysis device of the graph database-based electric power information communication system according to embodiment 2 of the present invention;
fig. 3 is a schematic block diagram of a specific example of the graph data model building unit 1 according to embodiment 2 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment of the invention provides a fault analysis method of a graph database-based power information communication system, as shown in figure 1, the fault analysis method mainly comprises the following steps:
step S101: acquiring attribute information of the electric power information communication equipment and the power grid information system, and establishing a graph data model of the electric power information communication system according to the attribute information;
step S102: and searching in the graph data model, performing breadth diffusion analysis according to a preset depth, and determining a fault influence range.
Through the steps S101 and S102, the method for analyzing the fault of the graph database-based power information communication system according to the embodiment of the present invention performs deep analysis according to the search in the graph database, can effectively and quickly process the status monitoring of the power information communication device, and confirm the fault influence range, and provides auxiliary support for evaluating the fault level and confirming the operation and maintenance object.
Each step in the method for analyzing a fault of a graph-database-based power information communication system according to an embodiment of the present invention is further described below with reference to specific examples.
In the step S101, the attribute information of the power information communication device and the power grid information system is obtained, and a graph data model of the power information communication system is established according to the attribute information.
In the embodiment of the present invention, the process of creating the graph data model in step S101 is performed based on a graph database. Therefore, all the devices and the association relations among the devices in the modeling process of the power information communication system can be represented by the graph model.
In the embodiment of the invention, the nodes are constructed aiming at the power information communication equipment and the power grid information system in the power information communication system. Specifically, firstly, attribute information of the power information communication equipment and the power grid information system is acquired, then a power information communication equipment node is established by combining the attribute information of the power information communication equipment, and a power grid information system node is established by combining the attribute information of the power grid information system.
In one embodiment, in the power information communication system, three types of physical devices are mainly included: server, storage device and network equipment. The servers include various types of servers, such as an application server (App), a Data server (Data), an interface server (Port), a Map server (Map), a proxy server (Agent), and F5 load balancing devices (F5). The storage device is connected with the data server, and the network device mainly refers to a switch in the modeling of the power information communication system. However, the invention is not limited thereto.
And, what is correspondingly established according to the different types of physical devices is different nodes: server node, storage device node and network device node. For different types of nodes, different attribute information is included, and the attribute information corresponding to the nodes is shown in table 1 and table 2.
TABLE 1
TABLE 2
As can be seen from the above table, the device ID, the sub-category, the device model number, and the device location are general attributes. That is, any class of nodes has at least these four attributes. And the IP addresses of the server device and the storage device and the interface of the network device (switch) are in one-to-one correspondence. It is noted that a node may have more than one IP address or more than one interface.
Operating systems, hardware configurations, and clustering are unique attributes of server devices. The operating system can be any version of Windows or Linux; the hardware configuration mainly records the CPU core, the main frequency and the memory size of the server; the clustering means a topological relation (e.g. F5 or RAC) of a server cluster, and clustering attributes of all servers in the same cluster are the same.
Generally, one server can only belong to one grid information system. In one embodiment, the grid information system includes a national grid company information operation and maintenance Integrated Management System (IMS), a national grid company production management information system (PMS), a national grid company Geographic Information System (GIS), and the like.
For the power grid information system, the attribute information mainly comprises: system number, system name, system description information, etc.
It should be noted that the above attribute information and the type of the grid information system are only examples, and are not intended to show the present invention.
Then, a first side structure for connecting each power information communication device node is established according to the connection relation between each power information communication device, a second side structure for connecting each power information communication device node and each power grid information system node is established according to the subordinate relation between each power information communication device and each power grid information system, and a third side structure is established according to the business data relation between each power information communication device or each power grid communication system.
Wherein, the first edge structure is corresponding to the connection relation between the power information communication devices. In the modeling of the electric power information communication system, the connection relation between the devices is modeled by using two-way edges, and each edge corresponds to one optical cable. The types of devices that can be connected across the edge are shown in table 3.
TABLE 3
The second side structure corresponds to the subordinate relationship of the power information communication device and the grid information system. In the modeling of the power information communication system, the subordination relationship between the power information communication device and the power grid information system indicates whether the power information communication device is subordinated to the power grid information system. For physical devices (servers, storage devices, and network devices) belonging to the grid information system, the grid information system is connected to the servers, the storage devices, and the network devices, respectively.
The third structure is an edge established according to the service data relationship between the electric power information communication devices or between the power grid information systems. This third structure may be referred to as a service logic edge to represent service connections between power information communication devices or between grid information systems, and the fault impact range is mainly determined by such service logic edge.
After the power information communication equipment node, the power grid information system node, the first edge structure, the second edge structure and the third edge structure are established, a graph data model of the power communication equipment and the power grid information system can be established.
In the step S102, the search is performed in the graph data model, and the extent diffusion analysis is performed according to the preset depth, so as to determine the fault influence range.
Specifically, the process of determining the failure influence range by step S102 is as follows;
firstly, with the power information communication equipment node corresponding to the power information communication equipment with the fault as a starting point, searching a power grid information system node which is separated from the power information communication equipment node with the fault by a preset depth in a graph data model. The preset depth refers to that the power information communication equipment node with the fault is connected with the grid information system node through a plurality of edge structures. For example, when the preset depth is 1, the grid information system node connected to the failed power information communication device node through an edge structure is retrieved.
Then, it is determined whether or not all the electric power information communication device nodes connected to the retrieved grid information system node have failed.
If not all the power information communication equipment nodes connected with the retrieved power grid information system node are in fault, the power information communication equipment in fault only influences the operation of the power grid information system, and therefore the retrieved power grid information system node is judged to be in the fault influence range of the power information communication equipment node in fault.
If all the power information communication equipment nodes connected with the retrieved power grid information system node are in fault, the retrieved power grid information system node cannot normally operate, and other power grid information system nodes in data exchange with the retrieved power grid information system node cannot normally operate, so that the other power grid information system nodes in data exchange with the retrieved power grid information system node can be judged to be in the fault influence range of the power information communication equipment node in fault.
The failure analysis method of the graph database-based power information communication system, provided by the embodiment of the invention, has the following beneficial effects:
1. the power information communication system and the connection relation thereof are described by using the concepts of nodes, edges and attributes of the attribute graph based on the graph database. The nodes in the attribute map correspond to specific physical devices (such as network devices, servers and storage devices) and virtual grid information management systems (grid geographic information systems, GIS). The method comprises the following steps that the edges correspond to the physical connection relationship among equipment, the attribution relationship between the equipment and a power grid information management system and the influence relationship of different service systems;
2. according to the modeling of the attribute diagram of the electric power information communication equipment, provided by the embodiment of the invention, the analysis of the fault influence range in the database can be realized by performing deep analysis according to the service logic of the electric power information communication topological data and the determination of the search stopping criterion and the retrieval in the database, so that the state monitoring of the electric power information communication equipment can be effectively and quickly processed, the fault influence range can be confirmed, and auxiliary support is provided for evaluating the fault level and confirming the operation and maintenance overhaul object.
3. The technical scheme provided by the embodiment of the invention can dynamically update the point and edge data in the graph database in real time, keep the consistency of the graph database and the actual power information communication topological graph, and can rapidly process a large quantity of fault influence range analysis service requests in real time based on edge path search and the combination of the termination search criterion condition of business logic.
In an embodiment, since the types of the electric power information communication device nodes of the embodiment of the present invention mainly include the server node, the storage device node, and the network device node, in the process of determining the influence range of the fault in step S102, a process of determining the type of the electric power information communication device node is further included before searching for the grid information system node that is separated from the electric power information communication device node having the fault by the preset depth in the graph data model with the electric power information communication device node having the fault as a starting point.
And when the power information communication equipment node with the fault is the server node or the storage equipment node, directly executing the step of searching the power grid information system node which is separated from the power information communication equipment node with the fault by the preset depth in the graph data model by taking the power information communication equipment node with the fault (namely the server node or the storage equipment node) as a starting point.
And when the power information communication equipment node with the fault is the network equipment node, retrieving the server node or the storage equipment node which is separated from the network equipment node by the preset depth, and further executing the step of retrieving the power grid information system node which is separated from the power information communication equipment node with the fault by the preset depth in the graph data model by taking the power information communication equipment node with the fault (namely the server node or the storage equipment node) as a starting point.
The above process can be practically summarized as a termination condition for performing the breadth search. In the termination condition, the preset depth is 1 for illustration, and the invention is not limited thereto.
Wherein, the termination condition 1: performing breadth search with the depth of 1 by taking server equipment or storage equipment as a starting point, and directly diffusing the breadth search to connected system equipment; and the system equipment judges whether diffusion is needed to be performed for breadth search with the depth of 1 according to the fault node source, and searches a related power grid information system. For example, two data servers (server devices) support an IMS system (power grid information system) together, and if one data server fails, it may cause a hidden trouble to the operation of the IMS system, and the IMS system is considered to be in a failure influence range. If two data servers connected with the IMS system fail, the IMS system cannot normally operate, so that other grid information systems (such as a PMS system and a GIS system) which exchange data with the IMS system cannot normally operate, and the PMS system and the GIS system are considered to be in a failure influence range.
Termination conditions 2: and (3) performing breadth search with the depth of 1 by taking the network equipment as a starting point, directly diffusing the breadth search to the connected server equipment or storage equipment, diffusing the breadth search from the server equipment or storage equipment to the connected power grid information system, and executing the process of judging the fault influence range according to the termination condition 1.
Example 2
An embodiment of the present invention provides a failure analysis device for an electric power information communication system based on a graph database, as shown in fig. 2, the failure analysis device mainly includes: the device comprises a graph data model establishing unit 1 and a fault influence range determining unit 2.
The graph data model establishing unit 1 is used for acquiring attribute information of the electric power information communication equipment and the power grid information system and establishing a graph data model of the electric power information communication system according to the attribute information; the fault influence range determining unit 2 is used for retrieving in the graph data model, performing breadth diffusion analysis according to a preset depth, and determining a fault influence range.
Through the cooperative work among the components, the failure analysis device of the graph database-based power information communication system, provided by the embodiment of the invention, can perform deep analysis according to the search in the graph database, can effectively and quickly process the state monitoring of the power information communication equipment and confirm the failure influence range, and provides auxiliary support for evaluating the failure level and confirming the operation and maintenance object.
The following describes each component and its function in the failure analysis device of the graph database-based power information communication system according to the embodiment of the present invention with reference to specific examples.
The graph data model establishing unit 1 is configured to acquire attribute information of the power information communication device and the power grid information system, and establish a graph data model of the power information communication system according to the attribute information.
In the embodiment of the present invention, the process of creating the graph data model by the graph data model creating unit 1 is developed based on a graph database. Therefore, all the devices and the association relations among the devices in the modeling process of the power information communication system can be represented by the graph model.
In the embodiment of the present invention, as shown in fig. 3, the graph data model building unit 1 mainly includes: a node establishing module 11, an edge structure establishing module 12 and a graph data model establishing module 13.
The node establishing module 11 is configured to establish a node for a power information communication device and a power grid information system in a power information communication system. Specifically, firstly, attribute information of the power information communication equipment and the power grid information system is acquired, then a power information communication equipment node is established by combining the attribute information of the power information communication equipment, and a power grid information system node is established by combining the attribute information of the power grid information system.
In one embodiment, in the power information communication system, three types of physical devices are mainly included: server, storage device and network equipment. The servers include various types of servers, such as an application server (App), a Data server (Data), an interface server (Port), a Map server (Map), a proxy server (Agent), and F5 load balancing devices (F5). The storage device is connected with the data server, and the network device mainly refers to a switch in the modeling of the power information communication system. However, the invention is not limited thereto.
And, what is correspondingly established according to the different types of physical devices is different nodes: server node, storage device node and network device node. For different types of nodes, different attribute information is included, and the attribute information corresponding to the nodes is shown in table 1 and table 2.
As can be seen from tables 1 and 2, the device ID, the sub-category, the device model, and the device location are general attributes. That is, any class of nodes has at least these four attributes. And the IP addresses of the server device and the storage device and the interface of the network device (switch) are in one-to-one correspondence. It is noted that a node may have more than one IP address or more than one interface.
Operating systems, hardware configurations, and clustering are unique attributes of server devices. The operating system can be any version of Windows or Linux; the hardware configuration mainly records the CPU core, the main frequency and the memory size of the server; the clustering means a topological relation (e.g. F5 or RAC) of a server cluster, and clustering attributes of all servers in the same cluster are the same.
Generally, one server can only belong to one grid information system. In one embodiment, the grid information system includes a national grid company information operation and maintenance Integrated Management System (IMS), a national grid company production management information system (PMS), a national grid company Geographic Information System (GIS), and the like.
For the power grid information system, the attribute information mainly comprises: system number, system name, system description information, etc.
It should be noted that the above attribute information and the type of the grid information system are only examples, and are not intended to show the present invention.
Then, through the edge structure establishing module 12, a first edge structure connecting the nodes of the electric power information communication devices is established according to the connection relationship between the electric power information communication devices, a second edge structure connecting the nodes of the electric power information communication devices and the nodes of the power grid information system is established according to the subordinate relationship between the electric power information communication devices and the power grid information system, and a third edge structure is established according to the business data relationship between the electric power information communication devices or between the power grid communication systems.
Wherein, the first edge structure is corresponding to the connection relation between the power information communication devices. In the modeling of the electric power information communication system, the connection relation between the devices is modeled by using two-way edges, and each edge corresponds to one optical cable. The types of devices that can be connected across the edge are shown in table 3.
The second side structure corresponds to the subordinate relationship of the power information communication device and the grid information system. In the modeling of the power information communication system, the subordination relationship between the power information communication device and the power grid information system indicates whether the power information communication device is subordinated to the power grid information system. For physical devices (servers, storage devices, and network devices) belonging to the grid information system, the grid information system is connected to the servers, the storage devices, and the network devices, respectively.
The third structure is an edge established according to the service data relationship between the electric power information communication devices or between the power grid information systems. This third structure may be referred to as a service logic edge to represent service connections between power information communication devices or between grid information systems, and the fault impact range is mainly determined by such service logic edge.
After the electric power information communication device node, the grid information system node, the first edge structure, the second edge structure and the third edge structure are established, the graph data model of the electric power communication device and the grid information system can be established through the graph data model establishing module 13.
The fault influence range determining unit 2 is configured to perform retrieval in the graph data model, perform breadth diffusion analysis according to a preset depth, and determine the fault influence range.
Specifically, the process of determining the failure influence range performed by the failure influence range determining unit 2 is as follows;
firstly, with the power information communication equipment node corresponding to the power information communication equipment with the fault as a starting point, searching a power grid information system node which is separated from the power information communication equipment node with the fault by a preset depth in a graph data model. The preset depth refers to that the power information communication equipment node with the fault is connected with the grid information system node through a plurality of edge structures. For example, when the preset depth is 1, the grid information system node connected to the failed power information communication device node through an edge structure is retrieved.
Then, it is determined whether or not all the electric power information communication device nodes connected to the retrieved grid information system node have failed.
If not all the power information communication equipment nodes connected with the retrieved power grid information system node are in fault, the power information communication equipment in fault only influences the operation of the power grid information system, and therefore the retrieved power grid information system node is judged to be in the fault influence range of the power information communication equipment node in fault.
If all the power information communication equipment nodes connected with the retrieved power grid information system node are in fault, the retrieved power grid information system node cannot normally operate, and other power grid information system nodes in data exchange with the retrieved power grid information system node cannot normally operate, so that the other power grid information system nodes in data exchange with the retrieved power grid information system node can be judged to be in the fault influence range of the power information communication equipment node in fault.
The failure analysis device of the graph database-based power information communication system, provided by the embodiment of the invention, has the following beneficial effects:
1. the power information communication system and the connection relation thereof are described by using the concepts of nodes, edges and attributes of the attribute graph based on the graph database. The nodes in the attribute map correspond to specific physical devices (such as network devices, servers and storage devices) and virtual grid information management systems (grid geographic information systems, GIS). The method comprises the following steps that the edges correspond to the physical connection relationship among equipment, the attribution relationship between the equipment and a power grid information management system and the influence relationship of different service systems;
2. according to the modeling of the attribute diagram of the electric power information communication equipment, provided by the embodiment of the invention, the analysis of the fault influence range in the database can be realized by performing deep analysis according to the service logic of the electric power information communication topological data and the determination of the search stopping criterion and the retrieval in the database, so that the state monitoring of the electric power information communication equipment can be effectively and quickly processed, the fault influence range can be confirmed, and auxiliary support is provided for evaluating the fault level and confirming the operation and maintenance overhaul object.
3. The technical scheme provided by the embodiment of the invention can dynamically update the point and edge data in the graph database in real time, keep the consistency of the graph database and the actual power information communication topological graph, and can rapidly process a large quantity of fault influence range analysis service requests in real time based on edge path search and the combination of the termination search criterion condition of business logic.
In an embodiment, since the types of the electric power information communication device nodes of the embodiment of the present invention mainly include a server node, a storage device node, and a network device node, in the process of determining the fault influence range, the fault influence range determining unit 2 further executes a process of determining the type of the electric power information communication device node before searching for the grid information system node that is separated from the electric power information communication device node having the fault by the preset depth in the graph data model, with the electric power information communication device node having the fault as a starting point.
And when the power information communication equipment node with the fault is the server node or the storage equipment node, directly executing the step of searching the power grid information system node which is separated from the power information communication equipment node with the fault by the preset depth in the graph data model by taking the power information communication equipment node with the fault (namely the server node or the storage equipment node) as a starting point.
And when the power information communication equipment node with the fault is the network equipment node, retrieving the server node or the storage equipment node which is separated from the network equipment node by the preset depth, and further executing the step of retrieving the power grid information system node which is separated from the power information communication equipment node with the fault by the preset depth in the graph data model by taking the power information communication equipment node with the fault (namely the server node or the storage equipment node) as a starting point.
The above process can be practically summarized as a termination condition for performing the breadth search. In the termination condition, the preset depth is 1 for illustration, and the invention is not limited thereto.
Wherein, the termination condition 1: performing breadth search with the depth of 1 by taking server equipment or storage equipment as a starting point, and directly diffusing the breadth search to connected system equipment; and the system equipment judges whether diffusion is needed to be performed for breadth search with the depth of 1 according to the fault node source, and searches a related power grid information system. For example, two data servers (server devices) support an IMS system (power grid information system) together, and if one data server fails, it may cause a hidden trouble to the operation of the IMS system, and the IMS system is considered to be in a failure influence range. If two data servers connected with the IMS system fail, the IMS system cannot normally operate, so that other grid information systems (such as a PMS system and a GIS system) which exchange data with the IMS system cannot normally operate, and the PMS system and the GIS system are considered to be in a failure influence range.
Termination conditions 2: and (3) performing breadth search with the depth of 1 by taking the network equipment as a starting point, directly diffusing the breadth search to the connected server equipment or storage equipment, diffusing the breadth search from the server equipment or storage equipment to the connected power grid information system, and executing the process of judging the fault influence range according to the termination condition 1.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.