A method and device for compatibility of a heat network centralized control system based on dynamic analysis of a multi-domain protocol
By dynamically identifying equipment protocol characteristics and enabling backup channels to synchronize data, the problem of protocol incompatibility caused by the diversity of equipment brands in the heating network control system has been solved, realizing uninterrupted online updates, improving system compatibility and stability, and reducing operation and maintenance costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUANENG LIAOCHENG THERMAL POWER CO LTD
- Filing Date
- 2026-03-27
- Publication Date
- 2026-06-19
Smart Images

Figure CN122247849A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of heating network control, and in particular relates to a compatible method and device for a heating network centralized control system based on dynamic parsing of multi-domain protocols. Background Technology
[0002] In the current field of industrial automation and heating network control technology, the heating network control system, as a core component of the urban heating system, undertakes the monitoring and management tasks of multiple functional domains, including the primary heating station, intermediate pumping stations, and heat exchange stations. However, with the continuous development of technology and the increasing complexity of heating demands, the heating network control system faces numerous challenges. These challenges directly affect the system's compatibility, scalability, and stability, thereby adversely impacting heating efficiency and service quality.
[0003] Specifically, a significant problem with current heating network control systems is the diverse range of equipment brands used at various functional domain sites. These devices often use their own proprietary protocols for data communication, leading to protocol incompatibility between different brands and making data exchange extremely difficult. This protocol barrier not only restricts information flow within the system but also increases the complexity and cost of system integration.
[0004] Furthermore, to achieve data interaction between devices from different brands, existing technologies typically rely on technical support from each manufacturer for protocol conversion and configuration. This approach is not only inefficient but also heavily dependent on external resources, making the system prone to operational disturbances during expansion or modification, thus affecting the stability and reliability of the heating system. Simultaneously, due to the lack of a unified data aggregation platform, the upper-level smart heating platform struggles to obtain comprehensive and accurate data support, thereby hindering global optimized scheduling and limiting the improvement of the overall efficiency of the heating system.
[0005] At the technical implementation level, existing protocol conversion methods often rely on fixed protocol libraries. This static approach cannot adapt to the needs of adding new equipment or updating protocols. When a new brand or model of equipment is introduced into the system, traditional protocol conversion methods often require downtime for updating and configuring the protocol library. This not only affects the continuous operation of the heating system but also increases maintenance costs and risks. Furthermore, existing centralized control systems support a limited number of protocol types, making it difficult to cover complex and ever-changing industrial scenarios, further limiting the system's application scope and flexibility. Summary of the Invention
[0006] The purpose of this application is to overcome the defects in the prior art and provide a compatible method and device for a heat network centralized control system based on dynamic parsing of multi-domain protocols.
[0007] This application provides a compatibility method for a heat network centralized control system based on dynamic parsing of multi-domain protocols, including: Obtain protocol features from the device's raw data packets, the protocol features including frame header, checksum, and data length; The protocol feature library is dynamically updated based on the feature matching algorithm and historical learning data to generate an updated protocol feature library, which includes dynamically matched protocol rules. When a device upgrade or replacement event is triggered, the backup channel is activated to establish a connection with the new device; A synchronization operation is performed on historical data and control commands to generate a synchronized channel connection, wherein the synchronized channel connection includes the synchronization status of historical data and control commands; Based on the updated protocol feature library and the synchronized channel connection, uninterrupted online updates are achieved.
[0008] Optionally, obtaining protocol features from the device's raw data packets includes: Perform protocol feature extraction on the device's raw data packets; Based on the preset protocol feature recognition rules, the frame header position information is separated from the extraction results; The data length range is determined based on the frame header position information; Extract the checksum field from the data length range.
[0009] Optionally, the step of dynamically updating the protocol features based on the feature matching algorithm and historical learning data by the protocol feature library includes: The protocol features are input into the feature matching algorithm processing unit; Historical protocol feature sequences are obtained from the historical learning data storage module; Generate protocol rule update parameters based on the historical protocol feature sequence; The parameter update and feature matching algorithm processing unit is based on the protocol rules.
[0010] Optionally, enabling the backup channel to establish a connection with the new device includes: Detect the main channel connection status information; Generate a channel switching command based on the main channel connection status information; Activate the backup communication interface based on the channel switching command; Establish a device communication link by activating the backup communication interface.
[0011] Optionally, the synchronization operation of historical data and control commands includes: Obtain the real-time control command queue; Historical operational data is extracted from the historical database; Generate a data synchronization sequence based on device status information; The control instruction queue and historical operation data are integrated based on the data synchronization sequence.
[0012] Optionally, the step of implementing non-disruptive online updates based on the updated protocol feature library includes: The protocol rules are dynamically matched and processed by the protocol rule parsing module. Generate protocol conversion parameters based on the device's communication protocol type; Configure the protocol conversion engine based on the aforementioned protocol conversion parameters; Real-time protocol conversion operations are performed through the protocol conversion engine.
[0013] Optionally, the step of achieving uninterrupted online updates based on the synchronized channel connection includes: Monitor the differences in status between primary and backup channels; Generate channel switching timing based on state difference information; Control transfer is performed based on the channel switching timing; Update the channel status flag after the transfer of control is completed.
[0014] This application also provides a compatible device for a heating network centralized control system based on multi-domain protocol dynamic parsing, including: The acquisition module obtains protocol features from the device's original data packets. The protocol features include frame headers, checksums, and data lengths. The protocol module dynamically updates the protocol features based on the feature matching algorithm and historical learning data to generate an updated protocol feature library, which includes dynamically matched protocol rules. The link module enables a backup channel to establish a connection with the new device when a device upgrade or replacement event is triggered. The synchronization module performs synchronization operations on historical data and control commands, and generates a synchronized channel connection, wherein the synchronized channel connection includes the synchronization status of historical data and control commands. The update module performs uninterrupted online updates based on the updated protocol feature library and the synchronized channel connection.
[0015] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method described above.
[0016] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the above-described method.
[0017] The beneficial effects of this application are: Invention Point 1: The interdependence between dynamic protocol identification and dual-channel switching Invention Point 2: The interdependence between online updates of the protocol feature library and zero-interference handover This application provides a compatibility method for a heat network centralized control system based on dynamic parsing of multi-domain protocols, comprising: obtaining protocol features from the original data packets of the device, the protocol features including frame headers, checksums, and data lengths; performing a dynamic update operation on the protocol features using a protocol feature library based on feature matching algorithms and historical learning data to generate an updated protocol feature library, the updated protocol feature library including dynamically matched protocol rules; when a device upgrade or replacement event is triggered, enabling a backup channel to establish a connection with the new device; performing a synchronization operation on historical data and control commands to generate a synchronized channel connection, the synchronized channel connection including the synchronization status of historical data and control commands; and achieving non-disruptive online updates based on the updated protocol feature library and the synchronized channel connections. This application improves the compatibility and stability of the heat network centralized control system based on dynamic parsing of multi-domain protocols and reduces operation and maintenance costs by dynamically identifying device protocol features and updating the feature library, enabling backup channels to synchronize data, and achieving non-disruptive online updates based on the updated library and synchronized connections. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the compatibility process of the heating network centralized control system based on dynamic parsing of multi-domain protocols in this application; Figure 2 This is a schematic diagram of the zero-interference handover timing in this application. Detailed Implementation
[0019] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it is to be understood that various forms of implementation of the present disclosure are intended and should not be limited to the embodiments set forth herein. Rather, the embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0020] This application relates to a compatibility method for a heating network centralized control system based on dynamic parsing of multi-domain protocols, which is used to achieve seamless access and uninterrupted updates of multi-brand equipment in the heating system.
[0021] Please refer to Figure 1 As shown, the method includes the following steps: S101. Obtain protocol features from the device's original data packets, the protocol features including frame header, checksum and data length; The frame header is the start identifier of the data packet, used to identify the beginning of the protocol type. For example, in communication data packets from Siemens or ABB equipment, the frame header is usually located at the beginning of the data packet to distinguish the proprietary protocols of different brands of equipment. The checksum is a code used for data integrity verification, ensuring that data is transmitted without errors or loss, for example, by using a CRC check mechanism to detect whether the data packet is corrupted. The data length is the length information of the valid data in the data packet, representing the byte range from the start of the frame header to the end of the checksum.
[0022] In specific operations, the system first performs protocol feature extraction on the original data packets of the equipment. For example, in the heating network control system, when the equipment data from the first station or heat exchange station is received, the system separates the frame header position information from the extraction results according to the preset protocol feature identification rules, then determines the data length range based on the frame header position information, and finally extracts the check code field from the data length range.
[0023] By accurately separating frame headers, checksums, and data length characteristics, the system can accurately identify device protocol types, avoiding data interaction difficulties caused by protocol incompatibility. For example, in a heating system, for data packets from Schneider Electric devices, the system determines the data length (e.g., 20 bytes) by separating the frame header position (e.g., a fixed offset) and extracts the checksum field (e.g., the last 2 bytes), thus laying the foundation for subsequent protocol parsing. This process ensures efficient capture of protocol characteristics for devices from multiple brands, solving the problem of relying on manufacturer support due to incompatibility of proprietary protocols in existing technologies.
[0024] S102. The protocol feature library performs a dynamic update operation on the protocol features based on the feature matching algorithm and historical learning data to generate an updated protocol feature library, wherein the updated protocol feature library includes dynamically matched protocol rules. The protocol feature library is a database storing known protocol features, including protocol templates from brands such as Siemens and Schneider. The feature matching algorithm is used to compare new features with features in the library, such as those based on similarity calculation or pattern matching. The historical learning data consists of previously collected sequence of protocol features, stored in the historical learning data storage module.
[0025] The system inputs the protocol features into the feature matching algorithm processing unit, and then the historical learning data storage module obtains the historical protocol feature sequence (such as the ABB device protocol features processed in the past). Based on the historical protocol feature sequence, it generates protocol rule update parameters (such as adjusting the matching threshold or adding new protocol templates), and modifies the feature matching algorithm processing unit based on the protocol rule update parameters, thereby generating an updated protocol feature library to support dynamic matching protocol rules.
[0026] Specifically, in a heating network control system, when new equipment is added or a protocol version is iterated, the system uses a machine learning module to learn historical data (such as communication logs of relay pumping station equipment) in real time and dynamically updates the feature library to identify new protocol types. This process utilizes a combination of feature matching and historical learning to ensure that the protocol feature library is expanded online without downtime, overcoming the limitations of existing protocol conversion methods that rely on a fixed protocol library. For example, for a newly added Siemens equipment protocol, the system compares frame header and checksum features using a matching algorithm. If a new feature sequence is found, the parameters are updated to add new rules, avoiding poor system scalability and operational disturbances caused by modifications.
[0027] S103. When a device upgrade or replacement event is triggered, the backup channel is activated to establish a connection with the new device; Please refer to Figure 2 As shown, the equipment upgrade or replacement event is triggered when equipment needs to be updated or replaced, such as when Schneider equipment is replaced with ABB equipment during a heating system renovation. The backup channel is a redundant communication path, serving as a backup interface for the main channel.
[0028] The system detects the main channel connection status information (such as connection interruption or signal strength degradation), generates a channel switching command (such as a switching trigger signal) based on this information, activates the backup communication interface (such as enabling a backup network port) based on the switching command, and finally establishes a device communication link (such as establishing a TCP / IP connection with a new device) through the activated backup communication interface. This dual-channel redundancy design ensures uninterrupted control logic and data transmission during device switching.
[0029] For example, in a heat exchange station equipment upgrade scenario, the system monitors the main channel status in real time (e.g., via heartbeat packet detection). If a connection loss is detected, a command is generated to activate the backup interface and a new link is quickly established. This process ensures connection continuity and solves the problem of downtime required for traditional protocol conversions. Meanwhile, referencing... Figure 2 Zero-interference handover timing diagram: This diagram shows the timing logic of primary and backup channel handover, including the key stages of activating the backup interface, establishing a connection, and handing over control, which helps to intuitively understand the handover mechanism.
[0030] S104. Perform a synchronization operation on historical data and control commands to generate a synchronized channel connection, wherein the synchronized channel connection includes the synchronization status of historical data and control commands.
[0031] The historical data refers to recorded data from the equipment's past operation, such as temperature or pressure values, stored in a historical database. The control commands are a queue of real-time commands executed by the equipment, such as pump station start / stop commands. The synchronization operation is an operation to keep the data consistent, ensuring data continuity during primary / standby channel switching.
[0032] The system acquires the real-time control command queue (such as the currently executed heat exchange station control command), extracts historical operating data from the historical database (such as the heating network operation log of the past 24 hours), generates a data synchronization sequence (such as a timestamp-aligned data stream) based on equipment status information (such as equipment online status or operating mode), and then integrates the control command queue and historical operating data based on the data synchronization sequence to generate a synchronized channel connection to reflect the synchronization status of historical data and control commands.
[0033] For example, in equipment replacement events, the system integrates historical operating data (such as historical temperature data of the first station) with real-time control commands (such as pump speed adjustment commands) through a data synchronization sequence, ensuring seamless data transmission after the backup channel is established. Logically, this synchronization mechanism, combined with the data aggregation platform, avoids the problem of the upper-level smart heating platform being unable to achieve global optimized scheduling. For instance, for the replacement of relay pump station equipment, the system extracts historical data (such as flow records), generates a synchronization sequence, and integrates it into the control command queue to achieve zero-interference switching.
[0034] S105. Based on the updated protocol feature library and the synchronized channel connection, achieve uninterrupted online updates.
[0035] The non-disruptive online update is a process that completes the update while the system is running without interrupting the operation, combining dynamic protocol parsing and zero-interference switching technology.
[0036] First, the protocol rule parsing module processes dynamically matched protocol rules (e.g., parsing ABB device protocols from an updated feature library). It then generates protocol conversion parameters based on the device communication protocol type (e.g., parameters mapped to the standard data model IEC61850). Next, based on these parameters, the protocol conversion engine is configured (e.g., setting conversion rules and compression algorithms). The engine then performs real-time protocol conversion, transforming proprietary protocol data into a standardized data format. Simultaneously, the system monitors the differences in primary and backup channel status (e.g., data latency or packet loss rate). Based on these status differences, it generates a channel switching sequence (e.g., switching time and priority). Control is transferred based on this sequence (e.g., switching from the primary channel to the backup channel). After the control transfer is complete, the channel status flag is updated (e.g., setting the channel active status).
[0037] By employing dynamic protocol identification and standardized data conversion (using the lightweight compression algorithm LZ4 to reduce bandwidth consumption), combined with dual-channel redundancy and data synchronization mechanisms, zero downtime and zero disruption are achieved during equipment replacement. For example, in heating system upgrades, the protocol conversion engine maps Siemens equipment data to the IEC61850 standard model, while ensuring a smooth transfer of control through primary / backup channel switching timing, thereby significantly improving system compatibility and stability. This process overcomes the limitation of existing centralized control systems that only support a limited number of protocol types, making it suitable for edge computing scenarios (CPU utilization below 5%).
[0038] This application dynamically identifies and adapts to new equipment protocols in real time. When a backup channel is activated, the updated protocol rules are directly applied to establish a connection. When synchronizing control commands (such as pump station valve opening commands), the identified protocol characteristics are relied upon to ensure data compatibility. In multi-domain heating network scenarios, when switching equipment, real-time protocol identification and updates reduce connection latency. Synchronizing control commands are based on the identification results to prevent pressure fluctuations or temperature runaway caused by protocol incompatibility.
[0039] When updating the library, this application integrates new protocol rules into the switching process in real time. When enabling the backup channel, the updated library is used directly to parse the new device data, ensuring protocol consistency before and after the switch. When adding devices or iterating protocols, dynamic updates ensure that the identification rules are up-to-date. Combined with seamless switching, there are no protocol conflicts when switching from the main channel to the backup channel, maintaining the continuity of heating network control.
[0040] This application also provides a compatible device for a heating network centralized control system based on multi-domain protocol dynamic parsing, including: The acquisition module obtains protocol features from the device's original data packets. The protocol features include frame headers, checksums, and data lengths. The protocol module dynamically updates the protocol features based on the feature matching algorithm and historical learning data to generate an updated protocol feature library, which includes dynamically matched protocol rules. The link module enables a backup channel to establish a connection with the new device when a device upgrade or replacement event is triggered. The synchronization module performs synchronization operations on historical data and control commands, and generates a synchronized channel connection, wherein the synchronized channel connection includes the synchronization status of historical data and control commands. The update module performs uninterrupted online updates based on the updated protocol feature library and the synchronized channel connection.
[0041] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method described above.
[0042] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the above-described method.
[0043] The above description of the embodiments is provided to enable those skilled in the art to understand and apply this application. Those skilled in the art will readily make various modifications to the above embodiments and apply the general principles described herein to other embodiments without inventive effort. Therefore, this application is not limited to the above embodiments, and any improvements and modifications made to this application based on the disclosure thereof should be within the scope of protection of this application.
Claims
1. A compatibility method for a heat network centralized control system based on dynamic parsing of multi-domain protocols, characterized in that, include: Obtain protocol features from the device's raw data packets, the protocol features including frame header, checksum, and data length; The protocol feature library is dynamically updated based on the feature matching algorithm and historical learning data to generate an updated protocol feature library, which includes dynamically matched protocol rules. When a device upgrade or replacement event is triggered, the backup channel is activated to establish a connection with the new device; A synchronization operation is performed on historical data and control commands to generate a synchronized channel connection, wherein the synchronized channel connection includes the synchronization status of historical data and control commands; Based on the updated protocol feature library and the synchronized channel connection, uninterrupted online updates are achieved.
2. The method according to claim 1, characterized in that, The process of obtaining protocol features from the device's raw data packets includes: Perform protocol feature extraction on the device's raw data packets; Based on the preset protocol feature recognition rules, the frame header position information is separated from the extraction results; The data length range is determined based on the frame header position information; Extract the checksum field from the data length range.
3. The method according to claim 1, characterized in that, The dynamic update operation performed on the protocol features by the protocol feature library based on feature matching algorithms and historical learning data includes: The protocol features are input into the feature matching algorithm processing unit; Historical protocol feature sequences are obtained from the historical learning data storage module; Generate protocol rule update parameters based on the historical protocol feature sequence; The parameter update and feature matching algorithm processing unit is based on the protocol rules.
4. The method according to claim 1, characterized in that, The activation of the backup channel and the establishment of a connection with the new device include: Detect the main channel connection status information; Generate a channel switching command based on the main channel connection status information; Activate the backup communication interface based on the channel switching command; Establish a device communication link by activating the backup communication interface.
5. The method according to claim 1, characterized in that, The synchronization operation of historical data and control commands includes: Obtain the real-time control command queue; Historical operational data is extracted from the historical database; Generate a data synchronization sequence based on device status information; The control instruction queue and historical operation data are integrated based on the data synchronization sequence.
6. The method according to claim 1, characterized in that, The step of implementing non-disruptive online updates based on the updated protocol feature library includes: The protocol rules are dynamically matched and processed by the protocol rule parsing module. Generate protocol conversion parameters based on the device's communication protocol type; Configure the protocol conversion engine based on the aforementioned protocol conversion parameters; Real-time protocol conversion operations are performed through the protocol conversion engine.
7. The method according to claim 1, characterized in that, The step of achieving uninterrupted online updates based on the synchronized channel connection includes: Monitor the differences in status between primary and backup channels; Generate channel switching timing based on state difference information; Control transfer is performed based on the channel switching timing; Update the channel status flag after the transfer of control is completed.
8. A compatible device for a heat network centralized control system based on multi-domain protocol dynamic parsing, characterized in that, include: The acquisition module obtains protocol features from the device's original data packets. The protocol features include frame headers, checksums, and data lengths. The protocol module dynamically updates the protocol features based on the feature matching algorithm and historical learning data to generate an updated protocol feature library, which includes dynamically matched protocol rules. The link module enables a backup channel to establish a connection with the new device when a device upgrade or replacement event is triggered. The synchronization module performs synchronization operations on historical data and control commands, and generates a synchronized channel connection, wherein the synchronized channel connection includes the synchronization status of historical data and control commands. The update module performs uninterrupted online updates based on the updated protocol feature library and the synchronized channel connection.
9. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed in a computer, causes the computer to perform the method described in any one of claims 1-7.