A topology identification method and device, a storage medium and a computer device
Patent Information
- Application Number
- CN202311579197.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2043-11-23
AI Technical Summary
[0004]本申请的目的旨在至少能解决上述的技术缺陷之一,特别是现有技术中设备间的对应关系和备用关系在管网的运行模式发生改变时,需要重新对控制逻辑进行配置更新,无法自行调整,导致灵活性和通用性较差的技术缺陷
[0034]本申请提供的一种拓扑结构识别方法、装置、存储介质及计算机设备,当接收到对待识别设备进行识别的识别指令时,可以确定识别指令对应的拓扑结构图,该拓扑结构图包括待识别设备在内的多个设备,每个设备对应一种设备类型,相邻的两类设备之间设有管网节点,各个设备与对应的管网节点之间通过管路连接,因此可以通过该拓扑结构图可以了解到管网中各个设备之间的连接关系,从而可以基于该拓扑结构图来对待识别设备的拓扑结构信息进行识别。例如,当识别指令为对应关系识别指令时,可以先确定拓扑结构图中通过管网节点与待识别设备相邻连接的两类设备,接着可以记录两类设备中各个设备与待识别设备的对应关系;当识别指令为备用关系识别指令时,可以确定拓扑结构图中每一设备对应的管网节点组合,以及筛选出与待识别设备的管网节点组合相同的其他设备,并记录其他设备与待识别设备的备用关系。本申请采用对拓扑结构图进行自动识别的方式,可以在管网的运行模式发生变化时同步调整拓扑结构图,并对调整后的拓扑结构图重新进行识别,应用灵活,并且,该方法能够应用于所有以管网形式绘制的拓扑结构图,具有较高的通用性。
Smart Images

Figure CN117592234B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, storage medium and computer equipment for topology identification. Background Technology
[0002] In industrial equipment pipeline networks, due to the diversity of equipment and the complexity of site conditions, the connection methods between equipment are intricate. Equipment can be connected in series or in parallel, and they may or may not be interlocked when controlling the switching on and off of equipment. In addition, different sites generally have different pipeline topologies, which poses a great challenge to the intelligent control of equipment.
[0003] Taking a central air conditioning system as an example, when starting a chiller unit, it is usually necessary to first turn on the corresponding cooling pump and chilled water pump to ensure a certain water flow through the chiller and ensure its safe operation. If any equipment malfunctions, a switch to backup equipment is required immediately. Therefore, to ensure the stable operation of the central air conditioning system, it is necessary to customize or update the correspondence and backup relationships of relevant equipment in the piping network in a timely manner. In existing methods, the correspondence and backup relationships between equipment need to be configured individually according to the site conditions and embedded into the control logic. When the operating mode of the piping network changes, the control logic needs to be reconfigured and updated, and it cannot be adjusted automatically, making this method lack flexibility and versatility in application. Summary of the Invention
[0004] The purpose of this application is to at least solve one of the above-mentioned technical defects, in particular the technical defect that the correspondence and backup relationship between equipment in the prior art needs to be reconfigured and updated when the operation mode of the pipeline network changes, and cannot be adjusted by itself, resulting in poor flexibility and versatility.
[0005] This application provides a topology identification method, the method comprising:
[0006] When an identification instruction is received to identify the topology information of the device to be identified, the topology diagram corresponding to the identification instruction is determined. The topology diagram includes multiple devices, including the device to be identified. Each device corresponds to a device type. Pipeline nodes are set between two adjacent types of devices, and each device is connected to its corresponding pipeline node through pipelines.
[0007] When the identification instruction is a correspondence identification instruction, at least one type of device in the topology diagram is determined to be adjacent to the device to be identified through a pipeline node, and the correspondence between each device in the at least one type of device and the device to be identified is recorded.
[0008] When the identification instruction is a backup relationship identification instruction, after determining the pipeline node combination corresponding to each device in the topology diagram, other devices with the same pipeline node combination as the device to be identified are selected, and the backup relationship between the other devices and the device to be identified is recorded.
[0009] Optionally, determining the topology diagram corresponding to the identification instruction includes:
[0010] Determine the device to be identified in the identification command, and the pipeline range corresponding to the device to be identified;
[0011] Obtain pipeline data within the pipeline network range, and draw the topology diagram corresponding to the instruction to be identified based on the pipeline data.
[0012] Optionally, determining at least one type of device in the topology diagram that is adjacent to the device to be identified via a network node includes:
[0013] The connection relationships between each device and each network node in the topology diagram are identified, and the identification results are obtained.
[0014] Based on the identification results, at least one network node connected to the device to be identified, and at least one type of device connected to the other end of the at least one network node are determined.
[0015] Optionally, recording the correspondence between each device in the at least one type of device and the device to be identified includes:
[0016] When the device type adjacent to the device to be identified is one, the correspondence between each device in that type and the device to be identified is directly recorded to obtain a set of correspondences.
[0017] When there are two types of devices connected adjacent to the device to be identified, the correspondence between each device in the two types of devices and the device to be identified is recorded respectively to obtain the first correspondence set and the second correspondence set.
[0018] Optionally, determining the network node combination corresponding to each device in the topology diagram includes:
[0019] The connection relationships between each device and each network node in the topology diagram are identified, and the identification results are obtained.
[0020] For each device, two pipeline nodes connected to both ends of the device are determined based on the identification results, which are then used as the pipeline node combination corresponding to the device.
[0021] Optionally, determining the network node combination corresponding to each device in the topology diagram further includes:
[0022] When the device to be identified is a chiller, the set of devices corresponding to each chiller in the topology diagram is determined;
[0023] Determine the network node combination corresponding to each set of devices in the topology diagram, and use the network node combination of each set of devices as the network node combination corresponding to the chiller.
[0024] Optionally, determining the set of devices corresponding to each chiller in the topology diagram includes:
[0025] For each chiller in the topology diagram, determine the chilled pump connected adjacent to the chiller, and the pipe network node set between the chiller and the chilled pump, and take the chiller, the pipe network node and the chilled pump as the equipment set corresponding to the chiller.
[0026] This application also provides a topology identification device, including:
[0027] The identification instruction receiving module is used to determine the topology diagram corresponding to the identification instruction when it receives an identification instruction to identify the topology information of the device to be identified; the topology diagram includes multiple devices including the device to be identified, each device corresponds to a device type, and there are pipeline nodes between two adjacent types of devices, and each device is connected to its corresponding pipeline node through pipelines;
[0028] The correspondence identification module is used to determine at least one type of device in the topology diagram that is adjacent to the device to be identified through a pipeline node when the identification instruction is a correspondence identification instruction, and to record the correspondence between each device in the at least one type of device and the device to be identified;
[0029] The backup relationship identification module is used to determine the pipeline node combination corresponding to each device in the topology diagram when the identification instruction is a backup relationship identification instruction, filter out other devices with the same pipeline node combination as the device to be identified, and record the backup relationship between the other devices and the device to be identified.
[0030] This application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the topology identification method as described in any of the above embodiments.
[0031] This application also provides a computer device, including: one or more processors, and memory;
[0032] The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the topology identification method as described in any of the above embodiments.
[0033] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0034] This application provides a topology identification method, apparatus, storage medium, and computer device. When an identification instruction for identifying a device is received, the topology diagram corresponding to the identification instruction can be determined. This topology diagram includes multiple devices, including the device to be identified. Each device corresponds to a device type, and there are pipeline nodes between adjacent devices of different types. Each device is connected to its corresponding pipeline node via pipelines. Therefore, the connection relationship between devices in the pipeline network can be understood through this topology diagram, and the topology information of the device to be identified can be identified based on this topology diagram. For example, when the identification instruction is a correspondence identification instruction, the two types of devices adjacent to the device to be identified in the topology diagram via pipeline nodes can be determined first, and then the correspondence between each device in the two types and the device to be identified can be recorded. When the identification instruction is a backup relationship identification instruction, the pipeline node combination corresponding to each device in the topology diagram can be determined, and other devices with the same pipeline node combination as the device to be identified can be selected, and the backup relationship between the other devices and the device to be identified can be recorded. This application employs an automatic identification method for topology diagrams, which can synchronously adjust the topology diagram when the operation mode of the pipeline network changes, and re-identify the adjusted topology diagram. This method is flexible in application and can be applied to all topology diagrams drawn in the form of pipeline networks, thus having high versatility. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 A flowchart illustrating a topology identification method provided in this application embodiment;
[0037] Figure 2 This application provides one of the topology diagrams of the refrigeration side piping network of a refrigeration station.
[0038] Figure 3 A topology diagram of the cooling side pipeline network of a refrigeration station is provided for an embodiment of this application;
[0039] Figure 4 A second topology diagram of a refrigeration station's refrigeration side piping network provided in this application embodiment;
[0040] Figure 5 A flowchart illustrating a topology identification method provided in this application embodiment;
[0041] Figure 6 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0042] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0043] In industrial equipment pipeline networks, due to the diversity of equipment and the complexity of site conditions, the connection methods between equipment are intricate. Equipment can be connected in series or in parallel, and they may or may not be interlocked when controlling the switching on and off of equipment. In addition, different sites generally have different pipeline topologies, which poses a great challenge to the intelligent control of equipment.
[0044] Taking a central air conditioning system as an example, when starting a chiller unit, it is usually necessary to first turn on the corresponding cooling pump and chilled water pump to ensure a certain water flow through the chiller and ensure its safe operation. If any equipment malfunctions, a switch to backup equipment is required immediately. Therefore, to ensure the stable operation of the central air conditioning system, it is necessary to customize or update the correspondence and backup relationships of relevant equipment in the piping network in a timely manner. In existing methods, the correspondence and backup relationships between equipment need to be configured individually according to the site conditions and embedded into the control logic. When the operating mode of the piping network changes, the control logic needs to be reconfigured and updated, and it cannot be adjusted automatically, making this method lack flexibility and versatility in application.
[0045] Based on this, this application proposes the following technical solution, as detailed below:
[0046] In one embodiment, such as Figure 1 As shown, Figure 1 This application provides a flowchart illustrating a topology identification method according to an embodiment of the present application. The present application also provides a topology identification method, specifically including the following:
[0047] S110: When an identification instruction is received to identify the topology information of the device to be identified, the topology diagram corresponding to the identification instruction is determined.
[0048] In this step, when a user needs to obtain the topology information of any device in the pipeline network, the user can select the device as the device to be identified in the identification interface of the topology identification system, and then generate an identification command. After receiving the identification command, the topology identification system can first determine the topology diagram corresponding to the device to be identified in the identification command, and then identify the topology information of the device to be identified based on the topology diagram.
[0049] It should be noted that, unlike traditional topology diagrams, the topology diagram in this application includes network nodes in addition to equipment and pipelines. Equipment in the network system is categorized by function; if two types of equipment do not require connection through other equipment, they are considered adjacent. Each type may include one or more devices. The connection between two types of equipment can be one-to-one, many-to-one, or many-to-many. In a one-to-one connection, there is only one pipeline between the two connected devices; this pipeline is the main pipe. In a many-to-one or many-to-many connection, pipelines from multiple devices are branches, which converge into a single pipeline, which is the main pipe. Network nodes are located between two adjacent types of equipment and are used to indicate the location of the main pipe. Pipelines are used to connect equipment and network nodes.
[0050] Specifically, the identification instructions in this application may include a correspondence identification instruction and a backup relationship identification instruction. The correspondence identification instruction is used to identify the correspondence of the device to be identified, which refers to a device of a different type that is paired with the device to be identified and needs to be started and stopped in conjunction with the device to be identified. The backup relationship identification instruction is used to identify the backup relationship of the device to be identified, which refers to a device of the same type that is paired with the device to be identified and can be switched when the device to be identified fails or after long-term operation.
[0051] S120: When the identification instruction is a correspondence identification instruction, determine at least one type of device in the topology diagram that is adjacent to the device to be identified through a network node, and record the correspondence between each device in the at least one type of device and the device to be identified.
[0052] In this step, after receiving the identification instruction through step S110, the topology identification system can parse the identification instruction. When the parsing result is a corresponding relationship identification instruction, the topology identification system can first determine at least one type of device in the topology diagram that is adjacent to the device to be identified through the pipeline node. Then, it can record the correspondence between each device in this at least one type of device and the device to be identified.
[0053] It is understood that, in this application, the devices adjacent to the device to be identified refer to at least one type of adjacent devices that share a common network node with the device to be identified. Each type of device may include one or more devices. Therefore, the connection between the device to be identified and its adjacent devices can be one-to-one or one-to-many. Furthermore, the types of adjacent devices sharing a common network node with the device to be identified may be one or two. When the type of adjacent devices to the device to be identified is one, it means that the device to be identified is located at the start or end point in the topology diagram. Therefore, the device to be identified is only connected to one type of device at one end through a network node. When the type of adjacent devices to the device to be identified is two, it means that the device to be identified is located in the middle position in the topology diagram. Therefore, both ends of the device to be identified can be connected to one type of device through network nodes.
[0054] S130: When the identification instruction is a backup relationship identification instruction, after determining the network node combination corresponding to each device in the topology diagram, other devices with the same network node combination as the device to be identified are selected, and the backup relationship between the other devices and the device to be identified is recorded.
[0055] In this step, after receiving the identification instruction through step S110, the topology identification system can parse the identification instruction. When the parsing result is a backup relationship identification instruction, the topology identification system can, after determining the pipeline node combination corresponding to each device in the topology diagram, filter out other devices with the same pipeline node combination as the device to be identified, and then record the backup relationship between the other devices and the device to be identified.
[0056] It is understood that the network node combination in this application refers to a set of two network nodes connected to both ends of the corresponding device. When the topology identification system identifies the topology diagram corresponding to the device to be identified and determines the network node combination corresponding to each device based on the identification results, if there is a network node combination of other devices that is the same as the device to be identified, it means that the type, function, and connection method of the two devices at their corresponding positions in the topology diagram are completely consistent, and therefore they are mutually redundant. The other devices can be one or more, and there is no restriction on this.
[0057] In the above embodiments, when an identification instruction for identifying a device is received, a topology diagram corresponding to the identification instruction can be determined. This topology diagram includes multiple devices, including the device to be identified. Each device corresponds to a device type, and there are pipeline nodes between adjacent devices of different types. Each device is connected to its corresponding pipeline node via pipelines. Therefore, the connection relationship between devices in the pipeline network can be understood through this topology diagram, and the topology information of the device to be identified can be identified based on this topology diagram. For example, when the identification instruction is a correspondence identification instruction, the two types of devices connected to the device to be identified adjacent to each other in the topology diagram via pipeline nodes can be determined first, and then the correspondence between each device in the two types of devices and the device to be identified can be recorded. When the identification instruction is a backup relationship identification instruction, the pipeline node combination corresponding to each device in the topology diagram can be determined, and other devices with the same pipeline node combination as the device to be identified can be filtered out, and the backup relationship between the other devices and the device to be identified can be recorded. This application employs an automatic identification method for topology diagrams, which can synchronously adjust the topology diagram when the operation mode of the pipeline network changes, and re-identify the adjusted topology diagram. This method is flexible in application and can be applied to all topology diagrams drawn in the form of pipeline networks, thus having high versatility.
[0058] In one embodiment, determining the topology diagram corresponding to the identification instruction in step S110 may include:
[0059] S111: Determine the device to be identified in the identification command, and the pipeline range corresponding to the device to be identified.
[0060] S112: Obtain pipeline data within the pipeline network range and draw the topology diagram corresponding to the instruction to be identified based on the pipeline data.
[0061] In this embodiment, when determining the topology diagram corresponding to the identification command, the topology identification system can first parse the identification command, thereby determining the device to be identified in the identification command based on the parsing result. Then, the topology identification system can obtain the pipeline range corresponding to the device to be identified, as well as the pipeline data in the pipeline range, and draw the topology diagram corresponding to the identification command based on the pipeline data.
[0062] Specifically, after identifying the device to be identified in the identification command, the topology identification system can determine the required pipeline range based on the device's specific location within the pipeline network, its location, function, and actual application. This range includes the pipeline's starting and ending points, as well as all equipment and network nodes between them. After determining the required pipeline range, the system can acquire pipeline data within that range and draw a topology diagram corresponding to the identification command based on this data. When drawing the topology diagram, the system can use graphical tools to convert the pipeline data into a visual topology diagram, including equipment, network nodes, and pipelines. These graphical tools can include AutoCAD, GIS, and similar tools.
[0063] It is understandable that when identifying the topology information of the device to be identified, the topology identification system can first draw a topology diagram of the device, thus obtaining a topology diagram of the pipeline network in real-time operation. Furthermore, when drawing the topology diagram, the topology identification system can draw the topology of the entire pipeline network where the device is located, or it can draw the topology of a portion of the pipeline network where the device is located, thereby reducing the amount of data in the topology identification process and improving identification efficiency. This application does not restrict the selection of the pipeline network range.
[0064] Furthermore, after acquiring pipeline data within the pipeline network area, the topology identification system can perform preprocessing operations on the pipeline data. These preprocessing operations are not limited to data cleaning, data integration, data transformation, and data normalization. Data cleaning refers to cleaning the pipeline data to remove duplicate, abnormal, and missing data to ensure its accuracy and completeness. Data integration refers to combining various types of data, unifying their format and data type for subsequent processing and analysis. Data transformation refers to converting the data into computer-readable formats, such as Excel spreadsheets or databases. Data normalization refers to converting the value ranges of different data into the same standard range for subsequent comprehensive analysis and comparison.
[0065] In one embodiment, determining at least one type of device in the topology diagram that is adjacent to the device to be identified via a network node may include:
[0066] S121: Identify the connection relationships between each device and each network node in the topology diagram, and obtain the identification results.
[0067] S122: Based on the identification results, determine at least one network node connected to the device to be identified, and at least one type of device connected to the other end of the at least one network node.
[0068] In this embodiment, when the topology identification system determines at least one type of device that is adjacent to the device to be identified through a pipeline node in the topology diagram, it can first identify the connection relationship between each device and each pipeline node in the topology diagram to obtain the identification result. Then, the topology identification system can determine at least one pipeline node connected to the device to be identified, as well as at least one type of device connected to the other end of at least one pipeline node, based on the identification result.
[0069] Indicatively, such as Figure 2 As shown, Figure 2 This application provides one of the topology diagrams of the refrigeration side piping network of a refrigeration station. Figure 2 In the chilled water side piping network of the refrigeration station, when the topology identification system needs to identify the correspondence of chiller #1, it can first traverse all equipment and piping nodes in the topology diagram to determine the piping nodes #1 and #5 connected to chiller #1. The other end of piping node #1 is connected to a set of secondary pumps, including secondary pumps #1, #2, #3, and #4; the other end of piping node #5 is connected to chilled water pump #1. Therefore, each secondary pump in this set, chilled water pump #1, and chiller #1 are corresponding to each other.
[0070] In one embodiment, recording the correspondence between each device in at least one type of device and the device to be identified in step S120 may include:
[0071] S123: When the device type connected to the device to be identified is one, directly record the correspondence between each device in that type and the device to be identified to obtain a set of correspondences.
[0072] S124: When there are two types of devices connected adjacent to the device to be identified, record the correspondence between each device in the two types of devices and the device to be identified, and obtain the first correspondence set and the second correspondence set.
[0073] In this embodiment, if the device to be identified is located at the starting or ending point in the topology diagram, there is only one type of device adjacent to the device to be identified. In this case, the topology identification system can directly record the correspondence between each device in that type and the device to be identified, thus obtaining a set of correspondences. If the device to be identified is located at the middle position in the topology diagram, there are two types of devices adjacent to the device to be identified. In this case, the topology identification system can record the correspondence between each device in the two types and the device to be identified, thus obtaining a first set of correspondences and a second set of correspondences.
[0074] It is understandable that the devices that correspond to the device to be identified are the devices in the pipeline network that need to be started and stopped in conjunction with the device to be identified. Different types of devices have different start and stop sequences with the device to be identified. Therefore, when the topology identification system records the correspondence between other devices and the device to be identified, it can record the correspondence between each device in a class of devices connected to the same pipeline node and the device to be identified in the same set. In this set, the start and stop sequences of each device and the device to be identified are consistent.
[0075] In one embodiment, determining the network node combination corresponding to each device in the topology diagram in step S130 may include:
[0076] S131: Identify the connection relationships between each device and each network node in the topology diagram, and obtain the identification results.
[0077] S132: For each device, determine the two pipeline nodes that are connected to both ends of the device according to the identification results, and use them as the pipeline node combination corresponding to the device.
[0078] In this embodiment, when the topology identification system identifies the network node combination corresponding to each device in the topology diagram, it can first identify the connection relationship between each device and each network node in the topology diagram to obtain the identification result. Then, for each device, the topology identification system can determine the two network nodes connected to both ends of the device according to the identification result, and use them as the network node combination corresponding to the device.
[0079] Indicatively, such as Figure 3 As shown, Figure 3 A topology diagram of the cooling side pipeline network of a refrigeration station is provided for an embodiment of this application; Figure 3In the cooling side piping network of the refrigeration station, when the topology identification system needs to identify the backup relationship of cooling water pump #3, it can first traverse all equipment and piping nodes in the topology diagram. Based on the traversal results, it determines that the piping nodes connected to both ends of cooling water pump #3 are piping node #3 and piping node #4, respectively. Thus, the piping node combination for cooling water pump #3 is [piping node #3, piping node #4]. Simultaneously, based on the traversal results, it can also be determined that cooling water pump #4 also has the same piping node combination [piping node #3, piping node #4]. Therefore, cooling water pump #3 and cooling water pump #4 are backups for each other. Similarly, cooling towers #1, #2, #3, and #4 are backups for each other because they share the same piping node combination [piping node #4, piping node #5].
[0080] In one embodiment, determining the network node combination corresponding to each device in the topology diagram in step S130 may further include:
[0081] S133: When the device to be identified is a chiller, determine the set of devices corresponding to each chiller in the topology diagram;
[0082] S134: Determine the network node combination corresponding to each set of equipment in the topology diagram, and use the network node combination of each set of equipment as the network node combination corresponding to the chiller.
[0083] In this embodiment, when the device to be identified is a chiller, the topology identification system can determine the set of devices corresponding to each chiller in the topology diagram, and then determine the combination of pipe network nodes corresponding to each set of devices in the topology diagram, and use the combination of pipe network nodes of each set of devices as the combination of pipe network nodes corresponding to the corresponding chiller.
[0084] Understandably, in a piping network, backup information for chillers is typically not considered in isolation, but rather in conjunction with the chilled water pumps. Specifically, chillers and chilled water pumps, as core components of a chiller unit, provide cooling or chilled water. In actual operation, there is a certain dependency between the chillers and chilled water pumps. When one chiller fails or shuts down, the corresponding chilled water pump needs to be rotated simultaneously to ensure the normal operation of the entire chiller unit. Therefore, when considering backup information for chillers, it is usually necessary to consider both the chiller and chilled water pumps together for better maintenance and management of the entire chiller unit.
[0085] Furthermore, the equipment set here is not limited to chillers. In some more complex pipeline network scenarios, there may be other types of equipment with interdependent relationships. When such equipment needs to cooperate, the equipment set approach can be used to identify the backup relationship. There are no restrictions here.
[0086] In one embodiment, step S133, determining the set of devices corresponding to each chiller in the topology diagram, includes:
[0087] S1331: For each chiller in the topology diagram, determine the chilled pump connected adjacent to the chiller, as well as the pipe network node set between the chiller and the chilled pump, and treat the chiller, the pipe network node and the chilled pump as the equipment set corresponding to the chiller.
[0088] In this embodiment, when determining the set of equipment corresponding to each chiller in the topology diagram, the topology identification system can identify the chilled pump connected adjacent to the chiller and the pipeline node set between the chiller and the chilled pump for each chiller in the topology diagram, and regard the chiller, the pipeline node and the chilled pump as the set of equipment corresponding to the chiller.
[0089] Indicatively, such as Figure 4 As shown, Figure 4 A second topology diagram of a refrigeration station's refrigeration side piping network provided in this application embodiment; Figure 4 In the chilled side piping network of the refrigeration station, when the topology identification system needs to identify the backup relationship of chiller #1, it can determine the chilled water pump #1 connected to chiller #1 through the #1 piping node by traversing each piping node and device in the topology diagram. Thus, chiller #1, piping node #1, and chilled water pump #1 can be considered as the device set corresponding to chiller #1. Next, the topology identification system can determine the piping node combination [piping node #4, piping node #5] corresponding to the device set and use it as the piping node combination for chiller #1. Through this method, the topology identification system can further identify chillers #2, #3, and #4, which have the same piping node combination. Therefore, in the chilled side piping network of this refrigeration station, chillers #1, #2, #3, and #4 are backups for each other. When chiller #1 malfunctions, the equipment set corresponding to chiller #1 needs to be switched. For example, when chiller #1 malfunctions, chiller #1 and chilled water pump #1 can be shut down at the same time, and chiller #2 and chilled water pump #2 can be switched.
[0090] The topology identification device provided in the embodiments of this application is described below. The topology identification device described below and the topology identification method described above can be referred to in correspondence.
[0091] In one embodiment, such as Figure 5 As shown, Figure 5 This is a schematic diagram of a topology identification device provided in an embodiment of this application. This application also provides a topology identification device, including an identification instruction receiving module 210, a correspondence identification module 220, and a backup relationship identification module 230, specifically comprising the following:
[0092] The identification instruction receiving module 210 is used to determine the topology diagram corresponding to the identification instruction when it receives an identification instruction to identify the topology information of the device to be identified.
[0093] The correspondence identification module 220 is used to determine at least one type of device in the topology diagram that is adjacent to the device to be identified through a pipeline node when the identification instruction is a correspondence identification instruction, and to record the correspondence between each device in the at least one type of device and the device to be identified.
[0094] The backup relationship identification module 230 is used to determine the pipeline node combination corresponding to each device in the topology diagram when the identification instruction is a backup relationship identification instruction, filter out other devices with the same pipeline node combination as the device to be identified, and record the backup relationship between the other devices and the device to be identified.
[0095] In the above embodiments, when an identification instruction for identifying a device is received, a topology diagram corresponding to the identification instruction can be determined. This topology diagram includes multiple devices, including the device to be identified. Each device corresponds to a device type, and there are pipeline nodes between adjacent devices of different types. Each device is connected to its corresponding pipeline node via pipelines. Therefore, the connection relationship between devices in the pipeline network can be understood through this topology diagram, and the topology information of the device to be identified can be identified based on this topology diagram. For example, when the identification instruction is a correspondence identification instruction, the two types of devices connected to the device to be identified adjacent to each other in the topology diagram via pipeline nodes can be determined first, and then the correspondence between each device in the two types of devices and the device to be identified can be recorded. When the identification instruction is a backup relationship identification instruction, the pipeline node combination corresponding to each device in the topology diagram can be determined, and other devices with the same pipeline node combination as the device to be identified can be filtered out, and the backup relationship between the other devices and the device to be identified can be recorded. This application employs an automatic identification method for topology diagrams, which can synchronously adjust the topology diagram when the operation mode of the pipeline network changes, and re-identify the adjusted topology diagram. This method is flexible in application and can be applied to all topology diagrams drawn in the form of pipeline networks, thus having high versatility.
[0096] In one embodiment, the identification instruction receiving module 210 may include:
[0097] The range determination submodule is used to determine the device to be identified in the identification command, as well as the pipeline range corresponding to the device to be identified.
[0098] The structure diagram drawing submodule is used to acquire pipeline data within the pipeline network area and draw the topology diagram corresponding to the instruction to be identified based on the pipeline data.
[0099] In one embodiment, the correspondence identification module 220 may include:
[0100] The first identification submodule is used to identify the connection relationships between various devices and network nodes in the topology diagram and obtain the identification results.
[0101] The corresponding device determination submodule is used to determine, based on the identification results, at least one pipeline node connected to the device to be identified, and at least one type of device connected to the other end of the at least one pipeline node.
[0102] In one embodiment, the correspondence identification module 220 may further include:
[0103] The first recording submodule is used to directly record the correspondence between each device in that type and the device to be identified when the device connected to the device to be identified is of the same type, thereby obtaining a set of correspondences.
[0104] The second recording submodule is used to record the correspondence between each device in the two types of devices and the device to be identified when there are two types of devices connected adjacent to the device to be identified, so as to obtain the first correspondence set and the second correspondence set.
[0105] In one embodiment, the backup relationship identification module 230 may include:
[0106] The second identification submodule is used to identify the connection relationships between various devices and network nodes in the topology diagram and obtain the identification results.
[0107] The first combination determination submodule is used to determine, for each device, two pipeline nodes connected to both ends of the device respectively, based on the identification results, as the pipeline node combination corresponding to the device.
[0108] In one embodiment, the backup relationship identification module 230 may include:
[0109] The device set determination submodule is used to determine the device set corresponding to each chiller in the topology diagram when the device to be identified is a chiller.
[0110] The second combination determination submodule is used to determine the combination of network nodes corresponding to each set of equipment in the topology diagram, and to use the combination of network nodes of each set of equipment as the combination of network nodes corresponding to the corresponding chiller.
[0111] In one embodiment, the device set determination submodule may include:
[0112] The equipment set determination unit is used to determine the chilled pump connected adjacent to each chiller in the topology diagram, as well as the pipeline node set between the chiller and the chilled pump, and to set the chiller, pipeline node and chilled pump as the equipment set corresponding to the chiller.
[0113] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the topology identification method as described in any of the above embodiments.
[0114] In one embodiment, this application also provides a computer device storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the topology identification method as described in any of the above embodiments.
[0115] Indicatively, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the internal structure of a computer device 300 provided in an embodiment of this application. The computer device 300 can be provided as a server. (Refer to...) Figure 6 The computer device 300 includes a processing component 302, which further includes one or more processors, and memory resources represented by memory 301 for storing instructions, such as application programs, that can be executed by the processing component 302. The application programs stored in memory 301 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 302 is configured to execute instructions to perform the topology identification method of any of the above embodiments.
[0116] The computer device 300 may also include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate on an operating system stored in memory 301, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or similar.
[0117] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0118] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0119] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.
[0120] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for identifying topological structures, characterized in that, The method includes: When an identification instruction is received to identify the topology information of the device to be identified, the topology diagram corresponding to the identification instruction is determined. The topology diagram includes multiple devices, including the device to be identified. Each device corresponds to a device type. Pipeline nodes are set between two adjacent types of devices, and each device is connected to its corresponding pipeline node through pipelines. When the identification instruction is a correspondence identification instruction, at least one type of device in the topology diagram is determined to be adjacent to the device to be identified through a pipeline node, and the correspondence between each device in the at least one type of device and the device to be identified is recorded. When the identification instruction is a backup relationship identification instruction, after determining the pipeline node combination corresponding to each device in the topology diagram, other devices with the same pipeline node combination as the device to be identified are selected, and the backup relationship between the other devices and the device to be identified is recorded. The step of determining the network node combination corresponding to each device in the topology diagram includes: The connection relationships between each device and each network node in the topology diagram are identified, and the identification results are obtained. For each device, two pipeline nodes connected to both ends of the device are determined based on the identification results, which are used as the pipeline node combination corresponding to the device. When the device to be identified is a chiller, for each chiller in the topology diagram, the chilled pump connected adjacent to the chiller and the pipeline node set between the chiller and the chilled pump are determined, and the chiller, the pipeline node and the chilled pump are taken as the set of devices corresponding to the chiller. Determine the network node combination corresponding to each set of devices in the topology diagram, and use the network node combination of each set of devices as the network node combination corresponding to the chiller.
2. The topology identification method according to claim 1, characterized in that, Determining the topology diagram corresponding to the identification command includes: Determine the device to be identified in the identification command, and the pipeline range corresponding to the device to be identified; Obtain pipeline data within the pipeline network range, and draw a topology diagram corresponding to the identification command based on the pipeline data.
3. The topology identification method according to claim 1, characterized in that, The determination of at least one type of device in the topology diagram that is adjacent to the device to be identified via a network node includes: The connection relationships between each device and each network node in the topology diagram are identified, and the identification results are obtained. Based on the identification results, at least one network node connected to the device to be identified, and at least one type of device connected to the other end of the at least one network node are determined.
4. The topology identification method according to claim 1, characterized in that, The recording of the correspondence between each device in the at least one type of device and the device to be identified includes: When the device type adjacent to the device to be identified is one, the correspondence between each device in that type and the device to be identified is directly recorded to obtain a set of correspondences. When there are two types of devices connected adjacent to the device to be identified, the correspondence between each device in the two types of devices and the device to be identified is recorded respectively to obtain the first correspondence set and the second correspondence set.
5. A topology recognition device, characterized in that, include: The identification instruction receiving module is used to determine the topology diagram corresponding to the identification instruction when it receives an identification instruction to identify the topology information of the device to be identified; the topology diagram includes multiple devices including the device to be identified, each device corresponds to a device type, and there are pipeline nodes between two adjacent types of devices, and each device is connected to its corresponding pipeline node through pipelines; The correspondence identification module is used to determine at least one type of device in the topology diagram that is adjacent to the device to be identified through a pipeline node when the identification instruction is a correspondence identification instruction, and to record the correspondence between each device in the at least one type of device and the device to be identified; The backup relationship identification module is used to determine the network node combination corresponding to each device in the topology diagram when the identification instruction is a backup relationship identification instruction, filter out other devices with the same network node combination as the device to be identified, and record the backup relationship between the other devices and the device to be identified. The process of determining the network node combination corresponding to each device in the topology diagram in the backup relationship identification module includes: The connection relationships between each device and each network node in the topology diagram are identified, and the identification results are obtained. For each device, two pipeline nodes connected to both ends of the device are determined based on the identification results, which are used as the pipeline node combination corresponding to the device. When the device to be identified is a chiller, for each chiller in the topology diagram, the chilled pump connected adjacent to the chiller and the pipeline node set between the chiller and the chilled pump are determined, and the chiller, the pipeline node and the chilled pump are taken as the set of devices corresponding to the chiller. Determine the network node combination corresponding to each set of devices in the topology diagram, and use the network node combination of each set of devices as the network node combination corresponding to the chiller.
6. A storage medium, characterized in that: The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the topology identification method as described in any one of claims 1 to 4.
7. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the topology identification method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Heat supply pipe network hydraulic calculation method based on big data analysis technology
CN112560240A
Methods, systems, kits and apparatuses for monitoring and managing industrial settings in an industrial internet of things data collection environment
US20200225655A1