Unlock instant, AI-driven research and patent intelligence for your innovation.

A batch data transmission method and device

A technology of batch data and transmission method, applied in the field of communication, can solve the problems of large timing error, lengthy operation time, cumbersome process, etc., to achieve the effect of reducing errors and shortening the time of data transmission

Active Publication Date: 2022-08-05
北京和利时系统集成有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Under conventional methods, the above-mentioned remote control and time adjustment operations strictly follow the conventional procedures of the Modbus protocol, the process is cumbersome, and the operation time is lengthy, especially for the time adjustment operation, the longer the operation time, the greater the error of the time adjustment.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A batch data transmission method and device
  • A batch data transmission method and device
  • A batch data transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0092] Embodiment 1 Batch data transmission method

[0093] like Image 6 As shown, an embodiment of the present invention provides a batch data transmission method, including the following steps:

[0094] Step 601: Generate n Modbus request messages, and send the n Modbus request messages in batches according to a preset sequence, where n is an integer greater than or equal to 1;

[0095] In an exemplary embodiment, the Modbus request message includes a Modbus RTU message or a Modbus TCP message.

[0096] In an exemplary embodiment, when the n Modbus request messages are sent in batches according to the preset order, the method further includes:

[0097] An exclusive identifier is set, and the exclusive identifier is used to prohibit the sending of other messages except the n Modbus request messages in the process of sending the n Modbus request messages in batches.

[0098] In this embodiment, when sending n Modbus request messages in batches, set the exclusive flag (Lock...

Embodiment 2

[0129] Embodiment 2 Batch data transmission device

[0130] An embodiment of the present invention further provides a batch data transmission apparatus, including a processor and a memory, wherein: the processor is configured to execute a program stored in the memory, so as to implement the steps of the method for batch data transmission as described in any of the above .

Embodiment 3

[0131] Embodiment 3 Batch data transmission device

[0132] like Figure 11 As shown, the embodiment of the present invention also provides a batch data transmission device, including a batch sending module 1101 and a batch receiving module 1102, wherein:

[0133] The batch sending module 1101 is configured to generate n Modbus request messages, and send the n Modbus request messages in batches according to a preset order, wherein n is an integer greater than or equal to 1;

[0134] The batch receiving module 1102 is used to receive m Modbus response messages returned within a preset timeout interval, and determine whether the batch transmission is successful according to the received Modbus response messages, where m is between 0 and n. integer between.

[0135] In an exemplary embodiment, the Modbus request message includes a Modbus RTU message or a Modbus TCP message; the Modbus response message includes a Modbus RTU message or a Modbus TCP message.

[0136] In an exempl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a batch data transmission method and device. The batch data transmission method includes generating n Modbus request messages and sending the n Modbus request messages in batches according to a preset sequence, where n is greater than or equal to 1 An integer of ; within the preset timeout interval, receive m returned Modbus response messages, and determine whether the batch transmission is successful according to the received Modbus response messages, where m is an integer between 0 and n. In this application, by sending multiple Modbus request messages in batches and receiving multiple returned Modbus response messages within a preset timeout interval, the data transmission time is greatly shortened, and the delay to the slave station for time calibration is greatly reduced. errors caused.

Description

technical field [0001] The present application relates to, but is not limited to, the field of communication technologies, and in particular, relates to a method and apparatus for batch data transmission. Background technique [0002] Modbus protocol is a widely used response communication protocol in the field of industrial automation, and has become a general industrial standard. A feature of the answering communication protocol is that it is first-ask, first-served, and answer-in-sequence. Modbus protocol is divided into Modbus RTU (Remote Terminal Unit, RTU, Remote Terminal Unit) protocol based on serial port (RS-232, RS-422, RS-485) and Transmission Control Protocol / Internet Protocol (Transmission Control Protocol / Internet Protocol) , TCP / IP) Modbus TCP protocol. like figure 1 As shown, Modbus communication uses the master (Master, also known as the master station)-slave (Slave, also known as the slave station, device) technology, the master station initializes the t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/40
CPCH04L12/40H04L2012/40228
Inventor 贺学文智艳利李元鹏黄亮李剑
Owner 北京和利时系统集成有限公司