WO2022142402A1 - Système et procédé de traitement de données prenant en charge la communication déclenchée - Google Patents

Système et procédé de traitement de données prenant en charge la communication déclenchée Download PDF

Info

Publication number
WO2022142402A1
WO2022142402A1 PCT/CN2021/114317 CN2021114317W WO2022142402A1 WO 2022142402 A1 WO2022142402 A1 WO 2022142402A1 CN 2021114317 W CN2021114317 W CN 2021114317W WO 2022142402 A1 WO2022142402 A1 WO 2022142402A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
data
response
master station
sequence number
Prior art date
Application number
PCT/CN2021/114317
Other languages
English (en)
Chinese (zh)
Inventor
石莹
林样
王晓婷
陈文祥
董丹娜
Original Assignee
浙江中控技术股份有限公司
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 浙江中控技术股份有限公司 filed Critical 浙江中控技术股份有限公司
Priority to JP2023524205A priority Critical patent/JP7488439B2/ja
Publication of WO2022142402A1 publication Critical patent/WO2022142402A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the invention relates to the field of data communication in a control system, in particular to a data processing system and method supporting triggered communication.
  • Triggered communication Only start sending when there is data to be sent, otherwise no data will be sent.
  • Triggered response When data is sent to an external device, the external device will return a response packet.
  • Triggered no response When data is sent to an external device, the external device will never reply with a response packet.
  • Modbus protocol It is a common language applied to electronic controllers.
  • Custom protocol According to user needs, communicate according to the protocol defined by the user.
  • the communication between the control terminal (client or master station) and the controlled object (external device) usually only supports periodic communication commands, and the commands are independent of each other and are executed independently according to the configured cycle.
  • the operation process is often a process, that is, the first step is done first, then the second step is performed, and the cycle is executed. For example: when an external card reader device is connected, to make the card reader work normally, it must be initialized first, and the initialization of the card reader requires 3 commands (there is a sequence relationship between the commands).
  • the purpose of the present invention is to provide a data processing system and method supporting triggering communication, which can realize both periodic communication and step-by-step execution of commands.
  • the controller periodically releases real-time data to the master station or client module according to the configuration configuration, and the real-time data includes the command control word, the command serial number and the output data;
  • the master station or the client module monitors the real-time data sent by the controller, and determines whether to allow the output of the trigger communication command according to the command control word, and if so, the trigger communication command is output, otherwise it is not output;
  • the master station or the client receives the response data of the controlled device executing the trigger communication command, parses the response data, and feeds back the parsed command execution sequence number and command execution status to the controller;
  • the controller monitors the data fed back from the master station or the client during the command response process, and determines whether to calculate and display the externally controlled response result based on the command execution sequence number; if the command execution sequence number is consistent with the command sequence number corresponding to the command, The response result of the controlled device is calculated and displayed; otherwise, it is not processed.
  • step S5 also includes: when the controller monitors the data returned from the master station or the client, if the feedback data is not received within the set time threshold or the command execution sequence number received corresponds to the command sequence number of the command. If it is always inconsistent, it will be processed with a command response timeout.
  • step S1 the valid range of the command serial number is [1-255], and the command serial number corresponding to each new triggered communication command is the existing value plus 1.
  • step S4 the command execution state includes:
  • the response is correct, corresponding to the type of triggered command that has a response, and the master station or client module receives the response;
  • Command scheduling module which includes:
  • a data release unit configured to periodically release real-time data to the master station or the client module according to the configuration configuration, the real-time data including the command control word, the command serial number and the output data;
  • Command execution module which includes:
  • the function block monitors the response data of the controlled device, if the feedback data is not received within the set time threshold or the received command execution sequence number is always inconsistent with the command sequence number corresponding to the command, the command response timeout will be used. deal with.
  • FIG. 1 is a schematic diagram of a triggered communication deployment involved in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a trigger communication command function block involved in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an operation flow of a triggered communication command execution module querying permission to send a command according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an operation flow of the triggered communication command execution module involved in an embodiment of the present invention sending response data and packets from an external device to a controller.
  • the first illustrated embodiment of the present invention is a data processing method supporting triggered communication, which includes the following steps:
  • the first step is to configure the configuration according to user requirements, and generate the command control word and command serial number corresponding to the trigger communication command.
  • the valid range of the command serial number is [1-255], and the command serial number corresponding to each new trigger communication command is the existing value plus 1.
  • the controller periodically releases real-time data to the master station or client module according to the configuration configuration, and the real-time data includes the command control word, command serial number and output data.
  • the master station or client module listens to the command sequence number value of 0 in the real-time data sent by the controller, it means the initial state. At this time, the controller and the master station or client module synchronize real-time data, and the master station or client The end module ignores the command control word.
  • the command execution status includes:
  • State 4 Response timed out, corresponding to the type of triggered command that has a response, the master station or client module receives a timeout.
  • the controller monitors the data fed back from the master station or the client while waiting for the command response, and determines whether to calculate and display the externally controlled response result based on the command execution sequence number; if the command execution sequence number corresponds to the command sequence number of the command If they are consistent, the response result of the controlled device will be calculated and displayed; otherwise, it will not be processed.
  • the controller monitors the data returned from the master station or the client, if no feedback data is received within the set time threshold or the received command execution sequence number is always inconsistent with the command sequence number corresponding to the command, the controller will use the Command response timeout processing.
  • the second illustrated embodiment of the present invention is a data processing system supporting triggered communication, applied in a distributed control system, including:
  • a program scheduling unit configured to schedule a user program according to the configuration configuration, the user program includes a function block that controls the execution of the trigger-type communication command;
  • the data receiving unit is used for receiving the response data of the controlled device and returning it to the master station or the client module, the response data including the command execution status, the command execution sequence number and the device response data.
  • Command execution module which includes:
  • the command output unit is used to monitor the real-time data issued, and decide whether to output a trigger communication command according to the command control word and the command serial number;
  • the command execution unit is used to control the execution of the command, and publish the command execution status and the command execution sequence number to the master station or the client through the response data; the command execution result only publishes the data to the controller once;
  • the function block specifically refers to a trigger communication function block.
  • the command control word in the real-time data is rewritten based on the function block, and a command sequence number is automatically generated;
  • the function block monitors the response data of the controlled device, if the feedback data is not received within the set time threshold or the received command execution sequence number is always inconsistent with the command sequence number corresponding to the command, the command response timeout will be used. deal with.
  • the system mainly includes a command scheduler (command scheduling module), a command executor (command execution module), a function block, and a command scheduler and a command that are configured with the client or the main station.
  • command scheduling module command scheduling module
  • command executor command execution module
  • function block command scheduler
  • command scheduler and command that are configured with the client or the main station mainly includes a command scheduler (command scheduling module), a command executor (command execution module), a function block, and a command scheduler and a command that are configured with the client or the main station.
  • a mapping configuration module for data mapping and command number mapping configuration between actuators.
  • bySeq is used to realize the one-to-one correspondence between sending commands and receiving commands.
  • the controller sends a trigger command to the master station or client module, but may receive the last response result of the master station or client module, which will cause the function block to misjudge.
  • bySeq is introduced, and bySeq is incremented by 1 every time the function block executes a trigger command. Note that the function block cannot set bySeq to 0, that is, its valid range is [1-255].
  • bySeq is 0 to indicate the initial state, which occurs in the case of controller offline download, cold start, momentary power failure and newly added trigger communication commands.
  • FIG. 3 it is a format diagram of the received response data frame in this specific embodiment, wherein:
  • the response is correct, corresponding to the type of triggered command that has a response, and the master station or client module receives the response;
  • the master station or client module returns the bySeq command serial number in the real-time data sent by the controller as it is after processing the command response.
  • the function block monitors the command response data, if the sent bySeq and the received bySeq are inconsistent for a long time and exceed the set time (function block configuration parameter), the command response timeout will be processed.
  • the data length of the response from the device or the server (the response length of the device is different in different situations).
  • Bit7 in byMode mode is set to 1 to indicate that the command executor is online, and set to 0 to indicate that the command executor is not online.
  • the function block finds that the command executor is not online, it will not issue a trigger command.
  • FIG. 4 is a schematic diagram of the trigger type communication function block in this specific embodiment.
  • the function block is to simplify the trigger communication setting.
  • One function block corresponds to one trigger command.
  • the Start signal in Figure 2 is changed through the function block Trig, and the bySeq is incremented by 1 to send to the master or client module.
  • the master or client module will process the received data, reassign the received bySeq to the first 4 bytes of the data area, fill in the format and send it to the controller, the function block Parse the data in the response area of each command and display it, Recv indicates that a normal response data packet is received, RspLen indicates the length of the received data, and TimeOut turns ON when the response data is still not received within the timeout period.
  • the scheduling relationship between commands is written by the user, and the function block does not need to care.
  • the function block related data area has three parts:
  • the command timeout time set when the function block is configured here refers to the time that the function block will turn on the function block TimOut when it triggers a command and does not receive a reply packet from the master station or client.
  • FIG. 5 is a flow chart of the operation of the trigger communication command executor inquiring the permission to send command in this specific embodiment.
  • s_bValid[byCmdID] is whether the corresponding configuration updates the status flag when the command number is byCmdID, which is used to judge whether to synchronize bySeq and Start signals in the controller.
  • the bit is 0, it means that the scheduling is only a synchronization function and will not trigger the signal.
  • the bit is not 0, it means that the trigger signal is officially triggered. Determine whether bySeq is 0.
  • bySeq[byCmdID] is the recorded serial number value of the last valid trigger signal. If the trigger signal this time is the same as the last time, it means that the function block has not issued a new trigger command, so this trigger should be discarded; Indicates that a new trigger signal has passed, record the trigger signal to bySeq[byCmdID], update the Start[byCmdID] state synchronously, return the command number of the new trigger signal, and send the real-time data corresponding to the command number. to external devices.
  • FIG. 6 is a flow chart of the operation of sending the response data and packets of the external device to the controller by the trigger communication command executor in this specific embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

L'objet de la présente invention est de mettre en œuvre un système et un procédé de traitement de données prenant en charge la communication déclenchée qui permettent aussi bien la communication périodique que l'exécution pas-à-pas de commandes, les étapes dudit procédé consistant : en ce qu'une configuration est procurée en fonction d'exigences d'utilisateurs, et en ce qu'un mot de contrôle de commande et un numéro de séquence de commande correspondant à une commande de communication déclenchée sont générés ; en ce que le contrôleur publie des données en temps réel vers une station maître ou un module client périodiquement en fonction de la configuration procurée ; en ce que la station maître ou le module client surveillent des données en temps réel émises par le contrôleur, et en fonction dudit mot de contrôle de commande, en ce qu'il est déterminé s'il faut permettre la sortie ou non de la commande de communication déclenchée ; en ce que la station maître ou le client reçoit des données de réponse d'un dispositif contrôlé exécutant ladite commande de communication déclenchée, analyse lesdites données de réponse, et injecte dans le contrôleur le numéro d'exécution de commande et l'état d'exécution de commande analysés ; en ce que le contrôleur surveille les données injectées par la station maître ou le client tout en attendant une réponse de commande, et, sur la base du numéro d'exécution de commande, en ce qu'il est déterminé s'il faut calculer et afficher le résultat de réponse contrôlée externe.
PCT/CN2021/114317 2020-12-29 2021-08-24 Système et procédé de traitement de données prenant en charge la communication déclenchée WO2022142402A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023524205A JP7488439B2 (ja) 2020-12-29 2021-08-24 トリガ式通信をサポートするデータ処理システムおよび方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011587988.8 2020-12-29
CN202011587988.8A CN112738224B (zh) 2020-12-29 2020-12-29 一种支持触发式通信的数据处理系统和方法

Publications (1)

Publication Number Publication Date
WO2022142402A1 true WO2022142402A1 (fr) 2022-07-07

Family

ID=75607070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114317 WO2022142402A1 (fr) 2020-12-29 2021-08-24 Système et procédé de traitement de données prenant en charge la communication déclenchée

Country Status (3)

Country Link
JP (1) JP7488439B2 (fr)
CN (1) CN112738224B (fr)
WO (1) WO2022142402A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738224B (zh) * 2020-12-29 2022-06-10 浙江中控技术股份有限公司 一种支持触发式通信的数据处理系统和方法
CN117389615B (zh) * 2023-12-12 2024-03-01 山东科技大学 一种工业控制板的程序重构方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106444657A (zh) * 2016-09-14 2017-02-22 长飞光纤光缆股份有限公司 一种Modbus主站指令处理方法及主站控制器
CN108804109A (zh) * 2018-06-07 2018-11-13 北京四方继保自动化股份有限公司 基于多路功能等价模块冗余仲裁的工业部署和控制方法
CN109358570A (zh) * 2018-12-10 2019-02-19 上海维宏电子科技股份有限公司 支持多种总线驱动器通讯协议的控制器及其通讯控制方法
US20200371496A1 (en) * 2019-05-23 2020-11-26 Baker Hughes Oilfield Operations Llc Pump monitoring and control network
CN112738224A (zh) * 2020-12-29 2021-04-30 浙江中控技术股份有限公司 一种支持触发式通信的数据处理系统和方法

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363421B2 (en) 1998-05-31 2002-03-26 Lucent Technologies, Inc. Method for computer internet remote management of a telecommunication network element
JP4281201B2 (ja) * 2000-03-06 2009-06-17 ソニー株式会社 制御装置、及び制御方法
CN101145052B (zh) * 2007-09-17 2010-05-19 浙江中控技术股份有限公司 设备间实时信息交互系统和设备间实时信息交互方法
CN101915598B (zh) * 2010-08-27 2016-04-06 成都品冠科技有限公司 一种低功耗网络智能水表表头及其使用方法
JP5756412B2 (ja) 2012-01-12 2015-07-29 株式会社日立製作所 監視方法および監視システム
CN104486182B (zh) * 2014-11-27 2018-05-01 上海仪电楼宇科技有限公司 一种串行Modbus扩展通信的方法
CN105721531B (zh) * 2014-12-05 2020-01-31 华为软件技术有限公司 一种消息同步方法及装置
WO2016154899A1 (fr) * 2015-03-31 2016-10-06 Panasonic Intellectual Property Corporation Of America Procédé de communication sans fil, équipement d'utilisateur et enb
CN106603601A (zh) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 服务处理方法、装置、系统及终端设备
JP6477555B2 (ja) 2016-03-14 2019-03-06 オムロン株式会社 中継装置、中継装置の制御方法、制御プログラム、および記録媒体
JP6717026B2 (ja) 2016-04-19 2020-07-01 オムロン株式会社 制御装置、中継装置、制御装置の制御方法、中継装置の制御方法、制御プログラム、および記録媒体
US11070953B2 (en) * 2016-07-08 2021-07-20 Apple Inc. Triggered wireless access protocol
US11019487B2 (en) * 2017-12-11 2021-05-25 Qualcomm Incorporated Systems and methods for uplink high efficiency location in a wireless network
CN109922100B (zh) * 2017-12-12 2022-03-22 中兴通讯股份有限公司 一种信息处理方法、终端及服务器
CN108388223B (zh) * 2018-04-03 2022-01-28 深圳市同富信息技术有限公司 一种用于智慧工厂基于数据闭环的设备控制系统
CN110674076B (zh) * 2019-09-23 2020-12-18 胡佳威 命令触发式目标分析平台、方法及存储介质
CN110995573A (zh) * 2019-12-02 2020-04-10 广州伊的家网络科技有限公司 跨平台即时通讯方法、装置、计算机设备以及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106444657A (zh) * 2016-09-14 2017-02-22 长飞光纤光缆股份有限公司 一种Modbus主站指令处理方法及主站控制器
CN108804109A (zh) * 2018-06-07 2018-11-13 北京四方继保自动化股份有限公司 基于多路功能等价模块冗余仲裁的工业部署和控制方法
CN109358570A (zh) * 2018-12-10 2019-02-19 上海维宏电子科技股份有限公司 支持多种总线驱动器通讯协议的控制器及其通讯控制方法
US20200371496A1 (en) * 2019-05-23 2020-11-26 Baker Hughes Oilfield Operations Llc Pump monitoring and control network
CN112738224A (zh) * 2020-12-29 2021-04-30 浙江中控技术股份有限公司 一种支持触发式通信的数据处理系统和方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIE MINGLEI: "Application of PLC's Freeport Communication in Special Volume Monitoring", INSTRUMENT TECHNIQUE AND SENSOR, SHENYANG YIQI YIBIAO GONGYI YANJIUSUO, CHINA, no. 10, 15 October 2010 (2010-10-15), China , pages 69 - 71, XP055948613, ISSN: 1002-1841 *

Also Published As

Publication number Publication date
CN112738224A (zh) 2021-04-30
CN112738224B (zh) 2022-06-10
JP7488439B2 (ja) 2024-05-22
JP2023541334A (ja) 2023-09-29

Similar Documents

Publication Publication Date Title
WO2022142402A1 (fr) Système et procédé de traitement de données prenant en charge la communication déclenchée
US11082197B2 (en) Control system and control device
CN110649984B (zh) 一种时钟同步的方法、装置、计算机存储介质及电子设备
US11323323B2 (en) Communication system, communication apparatus, and communication method
TWI429236B (zh) 協調時序網路配置參數更新程序
CN107612774B (zh) 一种多通道同步睡眠方法及系统
WO2020125168A1 (fr) Procédé d'envoi et de réception de données sur la base de paquets de pulsations, support de stockage et processeur
TW201022947A (en) Bus-handling device and method
US7272152B2 (en) Method for real-time communication between a number of network subscribers in a communication system using ethernet physics, and a corresponding communication system using ethernet physics
JP4241343B2 (ja) 送信タイミング決定方法、バス使用権の調停方法、ネットワークシステム、プログラム
CN101729284A (zh) 一种基于设备端主动以实现管理系统中链路轮询的方法
JP3690144B2 (ja) プログラマブルコントローラ
CN109245981B (zh) 一种现场总线通讯的调度方法及系统
CN110086745B (zh) 一种自动化连线数据采集控制系统
KR101435181B1 (ko) 배전 지능화 시스템의 마스터와 슬레이브 간 시각동기 및 전송 지연시간 보정 방법
JP2004280304A (ja) フィールドバスシステム及び通信方法並びにマスタ及びスレーブ
JP2000010806A (ja) 分散プログラム実行方法及び複数コンピュータ立ち上げ方法
US7779124B2 (en) Active monitoring system and method thereof
CN114600416B (zh) 控制系统、控制系统的通信控制方法以及控制装置
US11307552B2 (en) Method for modifying a configuration and industrial plant system
Ling et al. The design of SCADA based on industrial Ethernet
US8139486B1 (en) Method and system for generating data frames for asynchronous over TCP/IP protocol
JP2004274395A (ja) フィールドバスシステムにおける二重アドレス検知方法及びスレーブ並びにマスタ及びフィールドバス
JP2010021866A (ja) 通信システム及びマスタ
JP2002091931A (ja) 監視制御システム

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: 21913149

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023524205

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913149

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 523440263

Country of ref document: SA