WO2015000229A1 - Heartbeat model-based method for detecting communication state of large rectifying apparatus - Google Patents

Heartbeat model-based method for detecting communication state of large rectifying apparatus Download PDF

Info

Publication number
WO2015000229A1
WO2015000229A1 PCT/CN2013/084389 CN2013084389W WO2015000229A1 WO 2015000229 A1 WO2015000229 A1 WO 2015000229A1 CN 2013084389 W CN2013084389 W CN 2013084389W WO 2015000229 A1 WO2015000229 A1 WO 2015000229A1
Authority
WO
WIPO (PCT)
Prior art keywords
heartbeat
data
remote monitoring
monitored
packet
Prior art date
Application number
PCT/CN2013/084389
Other languages
French (fr)
Chinese (zh)
Inventor
文杰
曾铁军
Original Assignee
Wen Jie
Zeng Tiejun
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wen Jie, Zeng Tiejun filed Critical Wen Jie
Publication of WO2015000229A1 publication Critical patent/WO2015000229A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Definitions

  • the invention relates to the field of industrial control, in particular to a communication state detecting method for a large rectifying device based on a heartbeat model. Background technique
  • the remote monitoring system is mainly composed of a remote maintenance layer, a network application layer and an on-site monitoring layer.
  • the on-site monitoring layer is responsible for collecting data to the on-site monitoring station via the bus, monitoring several devices on-site with simple fault diagnosis and alarms, and transmitting production data to a remote data server.
  • the network application layer collects operational status data from network monitoring points distributed in different geographical locations through network technology, and performs effective storage and management.
  • the remote maintenance layer utilizes remotely collected data for remote device maintenance and management.
  • the technical problem to be solved by the present invention is to provide a method for detecting the communication state of a large-scale rectifying device based on a heartbeat model, which can detect not only the communication state of the remote monitoring terminal and the monitored terminal, but also the small amount of data transmitted by the communication and high reliability. There is no invalid transmission of data between the remote monitoring terminal and the monitored terminal.
  • the technical solution of the present invention is: A method for detecting a communication state of a large-scale rectifying device based on a heartbeat model, which is applied to a remote monitoring server located at a network application layer, and a plurality of locators located at the site detection layer.
  • the monitoring terminal and the multiple of these monitored terminals In a large-scale rectifier remote monitoring system composed of large rectifiers, the detection method includes the following steps:
  • Communication means that the Socket connection is being attempted/waiting to be established, or the heartbeat packet is not sent or received normally;
  • the remote monitoring end located at the network application layer and the monitored end located at the on-site monitoring layer adopt the same heartbeat mechanism.
  • the monitoring end receives the heartbeat data, it should return a corresponding heartbeat packet to the monitored end;
  • the heartbeat packet includes test data for detecting the connection, and the test data is not fixed. Each time the heartbeat packet is sent, one bit is sequentially and sequentially selected from a set of data sequences; in the test data sequence of the monitored terminal, Specify one of the special check data. Only when the heartbeat packet data received by the remote monitoring server contains special check digit data, the corresponding heartbeat packet is returned. Otherwise, no operation is performed and the next heartbeat continues to be received. package.
  • some initialization parameters that need to initialize the heartbeat data packet include:
  • the heartbeat data includes the heartbeat test bit using the data sequence 0 ⁇ N, the data sequence is set at the initialization of the communication program, and one of the sequences is set as a special flag.
  • the heartbeat frame contains: header, plant station number, data bit, heartbeat test bit, checksum, and trailer.
  • the header and the end of the packet are both 2 bytes; the data bit length is not fixed,
  • the beneficial effects of the present invention compared to the prior art are:
  • the improved heartbeat mechanism can be reduced, the network burden of the remote monitoring server in the case of multiple monitored terminals in the network, and the model data packet protocol have good scalability, so the method can not only detect the remote monitoring terminal.
  • the communication state with the monitored terminal, and the amount of data transmitted by the communication is small, the reliability is high, and the phenomenon that invalid transmission data is not generated between the remote monitoring terminal and the monitored terminal.
  • FIG. 1 is a system structural diagram of a remote rectification system based on a large rectification system according to the present invention.
  • FIG. 2 is a flow chart showing the implementation of the communication state detection based on the heartbeat model of the present invention. detailed description
  • the communication state detection method based on the heartbeat model for large-scale rectification devices is mainly applied to the on-site monitoring layer and the network application layer.
  • the two layers are mainly designed in C/S mode.
  • the field application layer contains multiple on-site monitoring devices. They are responsible for collecting the on-site data of multiple large-scale rectification devices through the 485 bus, and transmitting them as a client to the remote end through the wireless network.
  • the network application layer is responsible for receiving real-time field data detected by the monitored end of the on-site monitoring layer, and is responsible for real-time display and fault alarm of the field data.
  • some initialization parameters that need to initialize the heartbeat data packet include:
  • the detection method of the present invention comprises the following steps:
  • Communication means that the Socket connection is being attempted/waiting to be established, or the heartbeat packet is not sent or received normally;
  • the remote monitoring end located at the network application layer and the monitored end located at the on-site monitoring layer adopt the same heartbeat mechanism.
  • the monitoring end receives the heartbeat data, it should return a corresponding heartbeat packet to the monitored end;
  • the heartbeat packet includes test data for detecting the connection, and the test data is not fixed. Each time the heartbeat packet is sent, one bit is sequentially and sequentially selected from a set of data sequences; in the test data sequence of the monitored terminal, Specify one of the special check data. Only when the heartbeat packet data received by the remote monitoring server contains special check digit data, the corresponding heartbeat packet is returned. Otherwise, no operation is performed and the next heartbeat continues to be received. package. It should be noted that the positive and negative components use the same criteria.
  • the entire heartbeat-based data frame is as follows:
  • the header and the end of the packet are both 2 bytes; the data bit length is indefinite, which is used to indicate the real-time data and length that needs to be transmitted to the far end; the station number is mostly used for remote monitoring on the monitored side of the field monitoring layer.
  • the heartbeat packet sent by the server on the monitoring side is used to indicate the ID of the monitored terminal, which is represented by 2 bytes.
  • the heartbeat test bit is specific information for detecting the connection, and the heartbeat test bit uses a set of sequence data. Data sequence 0 ⁇ N. Because the heartbeat mechanism of the monitored terminal and the server is different, the monitored terminal selects the heartbeat packet cyclically and sequentially each time. One of the data in the sequence is used as a test bit, and the server returns a heartbeat packet only after receiving the heartbeat packet containing the special check digit, and the heartbeat test bit takes a special check digit.
  • the improved heartbeat mechanism can be reduced, the network burden of the remote monitoring server in the case of multiple monitored terminals in the network, and the model data packet protocol have good scalability, so the method can not only detect the remote monitoring terminal.
  • the communication state with the monitored terminal, and the amount of data transmitted by the communication is small, the reliability is high, and the phenomenon that invalid transmission data is not generated between the remote monitoring terminal and the monitored terminal.

Abstract

Provided is a heartbeat model-based method for detecting a communication state of a large rectifying apparatus. A heartbeat model for improving a heartbeat mechanism is provided by designing a network node state, improving the heartbeat mechanism, and defining a heartbeat data packet protocol. A heartbeat packet is transmitted between a remote monitoring end located on a network application layer and a monitored end located on an on-site monitoring layer by using the heartbeat model, so as to determine the condition of a communication connection between the monitored end and the remote monitoring end; and further, a corresponding measure is taken to improve the availability and reliability of network node service and communication; in addition, the network burden of a single remote monitoring server, and the network burden of a server for which multiple monitored ends are in an operating mode are effectively reduced.

Description

一种基于心跳模型的大型整流装置通信状态的检测方法 技术领域  Method for detecting communication state of large rectifier device based on heartbeat model
本发明涉及工业控制领域, 尤其是一种基于心跳模型的大型整流装置 通信状态检测方法。 背景技术  The invention relates to the field of industrial control, in particular to a communication state detecting method for a large rectifying device based on a heartbeat model. Background technique
大功率整流装置已广泛应用于冶炼、 化工等行业, 其运行直接关乎生 产的稳定和安全。 但是, 由于生产现场环境恶劣、 电网质量不稳定以及故 障率高等问题, 使得大型整流装置的远程监控和维护尤为困难。 目前, 远 程监控系统主要由远程维护层、 网络应用层和现场监测层所组成。 现场监 测层负责通过总线将数据采集到现场监测站中, 就地对若干设备进行监视 与简单的故障诊断和报警, 并将生产数据传送到远程的数据服务器中。 网 络应用层通过网络技术从分布在不同地理位置的现场监测点采集运行状态 数据, 并进行有效的存储和管理。 远程维护层利用远程采集的数据远程的 设备维护和管理。 目前, 已经引入基于 tcp/ip协议的无线网络技术保障系 统中设备间数据链路的流量, 防止断线。 但目前没有一种技术用于检测系 统中各个设备能否正常通信, 这样会影响系统中各个设备的正常工作, 尤 其会令工程师无法远程对整流装置进行故障诊断。 发明内容  High-power rectifiers have been widely used in smelting, chemical and other industries, and their operation is directly related to the stability and safety of production. However, remote monitoring and maintenance of large rectifiers is particularly difficult due to the harsh environment at the production site, unstable grid quality, and high failure rates. At present, the remote monitoring system is mainly composed of a remote maintenance layer, a network application layer and an on-site monitoring layer. The on-site monitoring layer is responsible for collecting data to the on-site monitoring station via the bus, monitoring several devices on-site with simple fault diagnosis and alarms, and transmitting production data to a remote data server. The network application layer collects operational status data from network monitoring points distributed in different geographical locations through network technology, and performs effective storage and management. The remote maintenance layer utilizes remotely collected data for remote device maintenance and management. At present, the traffic of the data link between devices in the wireless network technology support system based on the tcp/ip protocol has been introduced to prevent disconnection. However, at present, there is no technology for detecting whether each device in the system can communicate normally. This will affect the normal operation of each device in the system, and in particular, the engineer cannot remotely diagnose the rectifier device. Summary of the invention
本发明所要解决的技术问题是提供一种基于心跳模型的大型整流装置 通信状态的检测方法, 不但可以检测远程监控端和被监控端的通信状态, 而且, 通信传输的数据量小, 可靠性高, 远程监控端和被监控端之间不会 产生无效发送数据的现象。  The technical problem to be solved by the present invention is to provide a method for detecting the communication state of a large-scale rectifying device based on a heartbeat model, which can detect not only the communication state of the remote monitoring terminal and the monitored terminal, but also the small amount of data transmitted by the communication and high reliability. There is no invalid transmission of data between the remote monitoring terminal and the monitored terminal.
为解决上述技术问题, 本发明的技术方案是: 一种基于心跳模型的大 型整流装置通信状态的检测方法, 其应用于一个由位于网络应用层的远程 监控服务器、 多个位于现场检测层的被监控端和隶属于这些被监控端的多 个大型整流器组成的大型整流装置远程监控系统中, 检测方法包括以下步 骤: In order to solve the above technical problem, the technical solution of the present invention is: A method for detecting a communication state of a large-scale rectifying device based on a heartbeat model, which is applied to a remote monitoring server located at a network application layer, and a plurality of locators located at the site detection layer. The monitoring terminal and the multiple of these monitored terminals In a large-scale rectifier remote monitoring system composed of large rectifiers, the detection method includes the following steps:
( 1 ) 设计心跳模型, 将远程监控设备的通信状态设定为:  (1) Design the heartbeat model and set the communication status of the remote monitoring device to:
"通信中断", 表示未建立连接链路;  "Communication interrupted", indicating that no connection link is established;
"通信中", 表示正在尝试 /等待建立 Socket连接, 或心跳包收发不 正常;  "Communication" means that the Socket connection is being attempted/waiting to be established, or the heartbeat packet is not sent or received normally;
"通信正常", 表示链路正常, 心跳包收发正常;  "Communication is normal", indicating that the link is normal, and the heartbeat packet is sent and received normally;
(2)建立心跳机制, 位于网络应用层的远程监控端和位于现场监测层的被 监控端采用相同心跳机制, 当监控端收到心跳数据, 应返回一个对应 心跳包给被监控端;  (2) Establishing a heartbeat mechanism, the remote monitoring end located at the network application layer and the monitored end located at the on-site monitoring layer adopt the same heartbeat mechanism. When the monitoring end receives the heartbeat data, it should return a corresponding heartbeat packet to the monitored end;
(3 ) 当远程监控端监视多个被监控端时, 网络负荷过重, 所以, 采用现场 监测层的被监控端主动发送心跳包;  (3) When the remote monitoring terminal monitors multiple monitored terminals, the network load is too heavy. Therefore, the monitored terminal using the on-site monitoring layer actively sends heartbeat packets;
(4)心跳包中包含用于检测连接的测试数据, 测试数据并不固定, 每次发 送心跳包时从一组数据序列循环地、顺序地选取一位; 在被监控端的 测试数据序列中, 指定其中一位为特殊校验数据, 只有当远程监控端 的服务器收到的心跳包数据中包含特殊校验位数据时,才返回相应的 心跳包, 否则, 不做任何操作, 继续接收下一个心跳包。  (4) The heartbeat packet includes test data for detecting the connection, and the test data is not fixed. Each time the heartbeat packet is sent, one bit is sequentially and sequentially selected from a set of data sequences; in the test data sequence of the monitored terminal, Specify one of the special check data. Only when the heartbeat packet data received by the remote monitoring server contains special check digit data, the corresponding heartbeat packet is returned. Otherwise, no operation is performed and the next heartbeat continues to be received. package.
作为改进, 网络应用层的远程监控端在与现场监测层的被监控端建立 TCP连接后, 需要初始化心跳数据包的一些初始化参数包括:  As an improvement, after the remote monitoring end of the network application layer establishes a TCP connection with the monitored end of the on-site monitoring layer, some initialization parameters that need to initialize the heartbeat data packet include:
1)设置心跳包的发送周期,  1) Set the sending period of the heartbeat packet,
2)设置连接正常标志位,  2) Set the connection normal flag,
3)设置心跳包测试位数据序列,  3) Set the heartbeat packet test bit data sequence,
4)设置特殊校验位,  4) Set a special check digit,
5)设置重新连接远程监控端的服务器的次数,  5) Set the number of times to reconnect the server on the remote monitoring terminal.
6)设置重新连接远程监控端的服务器的周期。  6) Set the period of reconnecting the server of the remote monitoring terminal.
作为改进, 心跳数据包含心跳测试位采用数据序列 0~N, 在通信程序 初始化时完成数据序列设定, 并把其中一个序列设置为特殊标志位。  As an improvement, the heartbeat data includes the heartbeat test bit using the data sequence 0~N, the data sequence is set at the initialization of the communication program, and one of the sequences is set as a special flag.
作为改进, 心跳帧包含: 包头、 厂站号、 数据位、 心跳测试位、 效验 和包尾。 在该协议中: 包头、 包尾均用 2个字节; 数据位长度不定, 用于 本发明与现有技术相比所带来的有益效果是: As an improvement, the heartbeat frame contains: header, plant station number, data bit, heartbeat test bit, checksum, and trailer. In the protocol: the header and the end of the packet are both 2 bytes; the data bit length is not fixed, The beneficial effects of the present invention compared to the prior art are:
由于采用的改进的心跳机制能够降低, 网络中存在多个被监控端情况 下, 远程监控端的服务器的网络负担, 而且模型数据包协议具有很好的扩 展性, 所以该方法不但可以检测远程监控端和被监控端的通信状态, 而且, 通信传输的数据量小, 可靠性高, 远程监控端和被监控端之间不会产生无 效发送数据的现象。 附图说明  The improved heartbeat mechanism can be reduced, the network burden of the remote monitoring server in the case of multiple monitored terminals in the network, and the model data packet protocol have good scalability, so the method can not only detect the remote monitoring terminal. The communication state with the monitored terminal, and the amount of data transmitted by the communication is small, the reliability is high, and the phenomenon that invalid transmission data is not generated between the remote monitoring terminal and the monitored terminal. DRAWINGS
图 1是本发明基于大型整流装制远程监控系统的系统结构图。  1 is a system structural diagram of a remote rectification system based on a large rectification system according to the present invention.
图 2是本发明基于心跳模型通信状态检测的实现流程图。 具体实施方式  2 is a flow chart showing the implementation of the communication state detection based on the heartbeat model of the present invention. detailed description
下面结合说明书附图对本发明作进一步说明。  The invention will now be further described with reference to the drawings of the specification.
大型整流装制远程监控系统, 采用 C/S和 B/S的混合模式进行远程维 护, 近程采用 C/S模式进行现场数据的采集、 监视以及与远程 Web服务器 的数据交换, 远程采用 B/S模式进行远程的设备维护和管理。 在该系统中 基于心跳模型的通信大型整流装置通信状态检测方法主要应用于现场监测 层和网络应用层。 这两层主要是采用 C/S模式设计, 现场应用层里包含多 个现场监测装置, 它们负责通过 485总线采集多个大型整流设备的现场数 据, 同时作为客户端通过无线网络往远端传送这些数据, 网络应用层则负 责接收多个位于现场监测层的被监控端检测的实时现场数据, 并负责现场 数据的实时显示和故障报警。  Large-scale rectification remote monitoring system, using C/S and B/S hybrid mode for remote maintenance, short-range C/S mode for on-site data collection, monitoring and data exchange with remote web server, remote use B/ S mode for remote device maintenance and management. In this system, the communication state detection method based on the heartbeat model for large-scale rectification devices is mainly applied to the on-site monitoring layer and the network application layer. The two layers are mainly designed in C/S mode. The field application layer contains multiple on-site monitoring devices. They are responsible for collecting the on-site data of multiple large-scale rectification devices through the 485 bus, and transmitting them as a client to the remote end through the wireless network. Data, the network application layer is responsible for receiving real-time field data detected by the monitored end of the on-site monitoring layer, and is responsible for real-time display and fault alarm of the field data.
网络应用层的远程监控端在与现场监测层的被监控端建立 TCP连接后, 需要初始化心跳数据包的一些初始化参数包括:  After the remote monitoring end of the network application layer establishes a TCP connection with the monitored terminal of the on-site monitoring layer, some initialization parameters that need to initialize the heartbeat data packet include:
1)设置心跳包的发送周期.  1) Set the sending period of the heartbeat packet.
2)设置连接正常标志位. 3)设置心跳包测试位数据序列 2) Set the connection normal flag. 3) Set the heartbeat packet test bit data sequence
4)设置特殊校验位  4) Set special check digits
5)设置重新连接远程监控端的服务器的次数  5) Set the number of times to reconnect the server on the remote monitoring terminal
6)设置重新连接远程监控端的服务器的周期。  6) Set the period of reconnecting the server of the remote monitoring terminal.
本发明的检测方法包括以下步骤:  The detection method of the present invention comprises the following steps:
( 1 ) 设计心跳模型, 将远程监控设备的通信状态设定为:  (1) Design the heartbeat model and set the communication status of the remote monitoring device to:
"通信中断", 表示未建立连接链路;  "Communication interrupted", indicating that no connection link is established;
"通信中", 表示正在尝试 /等待建立 Socket连接, 或心跳包收发不 正常;  "Communication" means that the Socket connection is being attempted/waiting to be established, or the heartbeat packet is not sent or received normally;
"通信正常", 表示链路正常, 心跳包收发正常;  "Communication is normal", indicating that the link is normal, and the heartbeat packet is sent and received normally;
(2)建立心跳机制, 位于网络应用层的远程监控端和位于现场监测层的被 监控端采用相同心跳机制, 当监控端收到心跳数据, 应返回一个对应 心跳包给被监控端;  (2) Establishing a heartbeat mechanism, the remote monitoring end located at the network application layer and the monitored end located at the on-site monitoring layer adopt the same heartbeat mechanism. When the monitoring end receives the heartbeat data, it should return a corresponding heartbeat packet to the monitored end;
(3 ) 当远程监控端监视多个被监控端时, 网络负荷过重, 所以, 采用现场 监测层的被监控端主动发送心跳包;  (3) When the remote monitoring terminal monitors multiple monitored terminals, the network load is too heavy. Therefore, the monitored terminal using the on-site monitoring layer actively sends heartbeat packets;
(4)心跳包中包含用于检测连接的测试数据, 测试数据并不固定, 每次发 送心跳包时从一组数据序列循环地、顺序地选取一位; 在被监控端的 测试数据序列中, 指定其中一位为特殊校验数据, 只有当远程监控端 的服务器收到的心跳包数据中包含特殊校验位数据时,才返回相应的 心跳包, 否则, 不做任何操作, 继续接收下一个心跳包。 需要指出的 是, 正、 反方向元件采用相同的判据形式。  (4) The heartbeat packet includes test data for detecting the connection, and the test data is not fixed. Each time the heartbeat packet is sent, one bit is sequentially and sequentially selected from a set of data sequences; in the test data sequence of the monitored terminal, Specify one of the special check data. Only when the heartbeat packet data received by the remote monitoring server contains special check digit data, the corresponding heartbeat packet is returned. Otherwise, no operation is performed and the next heartbeat continues to be received. package. It should be noted that the positive and negative components use the same criteria.
整个基于心跳机制的数据帧如下表所 The entire heartbeat-based data frame is as follows:
Figure imgf000006_0001
Figure imgf000006_0001
在该协议中: 包头、 包尾均用 2个字节; 数据位长度不定, 用于表示 需要传送到远端的实时数据和长度; 厂站号多用于在现场监测层的被监控 端向远程监控端的服务器发送的心跳数据包中, 用于表示被监控端的 ID, 这里用 2个字节表示; 心跳测试位是用于检测连接的特定信息, 心跳测试 位采用了一组序列数据, 这里采用数据序列 0~N. 由于被监控端与服务器 的心跳机制不同, 因此被监控端每次发送心跳包时, 循环地、 顺序地选择 序列中的一个数据作为测试位, 而服务器仅在收到包含特殊校验位的心跳 包后, 返回一个心跳包, 其心跳测试位取值为特殊校验位。 In the protocol: the header and the end of the packet are both 2 bytes; the data bit length is indefinite, which is used to indicate the real-time data and length that needs to be transmitted to the far end; the station number is mostly used for remote monitoring on the monitored side of the field monitoring layer. The heartbeat packet sent by the server on the monitoring side is used to indicate the ID of the monitored terminal, which is represented by 2 bytes. The heartbeat test bit is specific information for detecting the connection, and the heartbeat test bit uses a set of sequence data. Data sequence 0~N. Because the heartbeat mechanism of the monitored terminal and the server is different, the monitored terminal selects the heartbeat packet cyclically and sequentially each time. One of the data in the sequence is used as a test bit, and the server returns a heartbeat packet only after receiving the heartbeat packet containing the special check digit, and the heartbeat test bit takes a special check digit.
由于采用的改进的心跳机制能够降低, 网络中存在多个被监控端情况 下, 远程监控端的服务器的网络负担, 而且模型数据包协议具有很好的扩 展性, 所以该方法不但可以检测远程监控端和被监控端的通信状态, 而且, 通信传输的数据量小, 可靠性高, 远程监控端和被监控端之间不会产生无 效发送数据的现象。  The improved heartbeat mechanism can be reduced, the network burden of the remote monitoring server in the case of multiple monitored terminals in the network, and the model data packet protocol have good scalability, so the method can not only detect the remote monitoring terminal. The communication state with the monitored terminal, and the amount of data transmitted by the communication is small, the reliability is high, and the phenomenon that invalid transmission data is not generated between the remote monitoring terminal and the monitored terminal.

Claims

权 利 要 求 书 Claim
1. 一种基于心跳模型的大型整流装置通信状态的检测方法,其应用于一个 由位于网络应用层的远程监控服务器、多个位于现场检测层的被监控端 和隶属于这些被监控端的多个大型整流器组成的大型整流装置远程监 控系统中, 其特征在于, 检测方法包括以下步骤:  A method for detecting a communication state of a large rectification device based on a heartbeat model, which is applied to a remote monitoring server located at a network application layer, a plurality of monitored terminals located at the field detection layer, and a plurality of monitored terminals belonging to the monitored terminals A large-scale rectifying device remote monitoring system composed of a large rectifier is characterized in that the detecting method comprises the following steps:
( 1 ) 设计心跳模型, 将远程监控设备的通信状态设定为:  (1) Design the heartbeat model and set the communication status of the remote monitoring device to:
"通信中断", 表示未建立连接链路;  "Communication interrupted", indicating that no connection link is established;
"通信中", 表示正在尝试 /等待建立 Socket连接, 或心跳包收发不 正常;  "Communication" means that the Socket connection is being attempted/waiting to be established, or the heartbeat packet is not sent or received normally;
"通信正常", 表示链路正常, 心跳包收发正常;  "Communication is normal", indicating that the link is normal, and the heartbeat packet is sent and received normally;
(2)建立心跳机制, 位于网络应用层的远程监控端和位于现场监测层的被 监控端采用相同心跳机制, 当监控端收到心跳数据, 应返回一个对应 心跳包给被监控端;  (2) Establishing a heartbeat mechanism, the remote monitoring end located at the network application layer and the monitored end located at the on-site monitoring layer adopt the same heartbeat mechanism. When the monitoring end receives the heartbeat data, it should return a corresponding heartbeat packet to the monitored end;
(3 ) 当远程监控端监视多个被监控端时, 网络负荷过重, 所以, 采用现场 监测层的被监控端主动发送心跳包;  (3) When the remote monitoring terminal monitors multiple monitored terminals, the network load is too heavy. Therefore, the monitored terminal using the on-site monitoring layer actively sends heartbeat packets;
(4)心跳包中包含用于检测连接的测试数据, 测试数据并不固定, 每次发 送心跳包时从一组数据序列循环地、顺序地选取一位; 在被监控端的 测试数据序列中, 指定其中一位为特殊校验数据, 只有当远程监控端 的服务器收到的心跳包数据中包含特殊校验位数据时,才返回相应的 心跳包, 否则, 不做任何操作, 继续接收下一个心跳包。  (4) The heartbeat packet includes test data for detecting the connection, and the test data is not fixed. Each time the heartbeat packet is sent, one bit is sequentially and sequentially selected from a set of data sequences; in the test data sequence of the monitored terminal, Specify one of the special check data. Only when the heartbeat packet data received by the remote monitoring server contains special check digit data, the corresponding heartbeat packet is returned. Otherwise, no operation is performed and the next heartbeat continues to be received. package.
2. 根据权利要求 1 所述的一种基于心跳模型的大型整流装置通信状态的 检测方法, 其特征在于: 网络应用层的远程监控端在与现场监测层的被 监控端建立 TCP 连接后, 需要初始化心跳数据包的一些初始化参数包 括: 2 . The method for detecting communication state of a large rectification device based on a heartbeat model according to claim 1 , wherein: the remote monitoring end of the network application layer is in the field with the monitoring layer After the monitoring terminal establishes a TCP connection, some initialization parameters that need to initialize the heartbeat packet include:
1)设置心跳包的发送周期,  1) Set the sending period of the heartbeat packet,
2)设置连接正常标志位,  2) Set the connection normal flag,
3)设置心跳包测试位数据序列,  3) Set the heartbeat packet test bit data sequence,
4)设置特殊校验位,  4) Set a special check digit,
5)设置重新连接远程监控端的服务器的次数,  5) Set the number of times to reconnect the server on the remote monitoring terminal.
6)设置重新连接远程监控端的服务器的周期。  6) Set the period of reconnecting the server of the remote monitoring terminal.
3. 根据权利要求 1 所述的一种基于心跳模型的大型整流装置通信状态的 检测方法, 其特征在于: 心跳数据包含心跳测试位采用数据序列 0~N, 在通信程序初始化时完成数据序列设定,并把其中一个序列设置为特殊 标志位。  3. The method according to claim 1, wherein the heartbeat data comprises a heartbeat test bit using a data sequence of 0 to N, and the data sequence is completed when the communication program is initialized. Set and set one of the sequences to a special flag.
4. 根据权利要求 1 所述的一种基于心跳模型的大型整流装置通信状态的 检测方法, 其特征在于: 心跳帧包含: 包头、 厂站号、 数据位、 心跳测 试位、 效验和包尾。  4. The method according to claim 1, wherein the heartbeat frame comprises: a packet header, a station number, a data bit, a heartbeat test bit, a checksum, and a trailer.
PCT/CN2013/084389 2013-07-04 2013-09-27 Heartbeat model-based method for detecting communication state of large rectifying apparatus WO2015000229A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310280519.5 2013-07-04
CN201310280519.5A CN103488162A (en) 2013-07-04 2013-07-04 Detection method based on heartbeat model for communication state of large rectifying device

Publications (1)

Publication Number Publication Date
WO2015000229A1 true WO2015000229A1 (en) 2015-01-08

Family

ID=49828473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084389 WO2015000229A1 (en) 2013-07-04 2013-09-27 Heartbeat model-based method for detecting communication state of large rectifying apparatus

Country Status (2)

Country Link
CN (1) CN103488162A (en)
WO (1) WO2015000229A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274748B (en) * 2018-09-30 2021-06-25 西安科技大学 Reliable data transmission method and power equipment monitoring data transmission method applying same
CN109901561A (en) * 2019-04-18 2019-06-18 北京汇通天下物联科技有限公司 A kind of EMS terminal equipment failure remote diagnosis method based on various dimensions statistics
CN113805476A (en) * 2021-09-01 2021-12-17 武汉市政工程设计研究院有限责任公司 High-reliability network early warning method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280256A1 (en) * 2006-06-01 2007-12-06 Jan Forslow Systems and methods for providing a heartbeat in a communications network
US7330444B1 (en) * 2003-07-21 2008-02-12 Symantec Operating Corporation Cluster communication in heartbeat messages
JP2012059193A (en) * 2010-09-13 2012-03-22 Toshiba Corp Monitoring control system, monitoring control method used therefor, and monitoring control method
CN103064391A (en) * 2012-12-28 2013-04-24 广州数控设备有限公司 Numerical control system long-distance direct numerical control (DNC) control method based on transmission control protocol (TCP) / internet protocol (IP) and linux network program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7330444B1 (en) * 2003-07-21 2008-02-12 Symantec Operating Corporation Cluster communication in heartbeat messages
US20070280256A1 (en) * 2006-06-01 2007-12-06 Jan Forslow Systems and methods for providing a heartbeat in a communications network
JP2012059193A (en) * 2010-09-13 2012-03-22 Toshiba Corp Monitoring control system, monitoring control method used therefor, and monitoring control method
CN103064391A (en) * 2012-12-28 2013-04-24 广州数控设备有限公司 Numerical control system long-distance direct numerical control (DNC) control method based on transmission control protocol (TCP) / internet protocol (IP) and linux network program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HU , ZHIKUN ET AL.: "Remote monitoring system of rectifier based on improved heartbeat mechanism.", COMPUTER APPLICATIONS., vol. 28, no. 2, 29 February 2008 (2008-02-29), pages 363 - 366 *

Also Published As

Publication number Publication date
CN103488162A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN108803552B (en) Monitoring system and monitoring method for equipment fault
CN105790990B (en) A kind of method and its system for supervising adapted telecommunication business
JP2010517473A (en) Method and system for utility network outage detection
CN102263673B (en) Gateway-based remote service system and method
CN106817679B (en) Network system for positioning service based on wireless communication technology
CN204961272U (en) Centralized control system that pump station is wireless
WO2015000229A1 (en) Heartbeat model-based method for detecting communication state of large rectifying apparatus
CN103997436A (en) Link maintaining method and gateway in internet of things of elevator
CN106559230A (en) A kind of fault handling method, apparatus and system
CN103747061A (en) Power environment monitoring system allowing multiple networks to access and operation method thereof
CN105516658A (en) Monitoring equipment control method and device
JP2022510687A (en) Systems and methods for determining and reporting node malfunctions
CN103023895B (en) The data transfer device of Zigbee protocol and GOOSE agreement during a kind of small power station IED nets
CN104580346A (en) Data transmission method and device
CN203896047U (en) Electric power protection system
CN107454149B (en) Pollution sources online monitoring system based on Docker+ micro services technology
KR20170020071A (en) Apparatus and method for managing automatic meter reading network
CN104243579A (en) Computational node control method and system applied to water conservancy construction site
CN104869012B (en) System and method are monitored based on dispatching of power netwoks phone comprehensive warning
CN106542388A (en) Intelligent lift system
CN101256708B (en) Non-master-slave mode network communicating mode for fire alarming
CN107733960A (en) Parking lot long-distance monitoring method and monitor supervision platform
CN107040421A (en) A kind of method and system for being gathered based on IPMI protocol and handling hardware information
CN104702892A (en) System and method for real-time video transmission based on Mesh network
JP2009141910A (en) Remote monitoring system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13888878

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/06/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 13888878

Country of ref document: EP

Kind code of ref document: A1