CN112187954A - Flow control method of offline file in measurement and control data link transmission - Google Patents

Flow control method of offline file in measurement and control data link transmission Download PDF

Info

Publication number
CN112187954A
CN112187954A CN202011102398.1A CN202011102398A CN112187954A CN 112187954 A CN112187954 A CN 112187954A CN 202011102398 A CN202011102398 A CN 202011102398A CN 112187954 A CN112187954 A CN 112187954A
Authority
CN
China
Prior art keywords
data link
measurement
data
state
link terminal
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202011102398.1A
Other languages
Chinese (zh)
Inventor
黄康
郝亚峰
徐长纯
刘有才
张辉
李方方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
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 CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN202011102398.1A priority Critical patent/CN112187954A/en
Publication of CN112187954A publication Critical patent/CN112187954A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/30Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes

Abstract

The invention discloses a flow control method of an offline file in measurement and control data link transmission, and belongs to the technical field of communication. In the method, the data link terminal reports the state of the buffer area of the data link terminal at regular time, and the measurement and control equipment adjusts the data flow rate of the offline file according to the reported state and the appointed steps. When the buffer area is full, the data link terminal reports the full state of the buffer area in real time, and the measurement and control equipment reduces the data flow rate of the offline file until the real-time data transmission is finished or the buffer area of the data link terminal recovers to be empty. By adopting the method, the data link terminal can interact with the measurement and control equipment, the state of the buffer area of the data link terminal is reported in real time, and the measurement and control equipment can adjust the transmission rate of the offline file in real time and shorten the transmission time of the file. When the communication quality of the data link is poor or the data link is disconnected, the measurement and control equipment can stop sending the data stream, and the integrity of the file is ensured.

Description

Flow control method of offline file in measurement and control data link transmission
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a flow control method of an offline file in measurement and control data link transmission.
Background
With the rapid development of measurement and control technology, the data volume needing data link transmission is larger and larger, the transmission of images and videos is more normal, and the data types are also diversified. Due to the limited bandwidth of the data link, the real-time transmission of the data link cannot meet the requirement of overlarge data volume, and the transmission of the offline file occurs at the same time.
However, the transmission of the offline file generally adopts a data stream with a constant speed for transmission, and the transmission speed is slow. In addition, when the data link communication quality is poor or interrupted, the data stream loss phenomenon is easy to occur.
Disclosure of Invention
In view of this, an object of the present invention is to provide a flow control method for offline file transmission in a measurement and control data link, in which a data link terminal can interact with a measurement and control device, so as to shorten the transmission time of the file and ensure the integrity of offline file transmission.
In order to achieve the purpose, the invention adopts the technical scheme that:
a flow control method of an offline file in measurement and control data chain transmission comprises the following steps:
step 1, a data link terminal reports the state of a buffer area of the data link terminal at regular time in a state output message mode; the state of the cache area has at least two conditions of cache area not full and cache area fast empty;
step 2, when the measurement and control equipment receives the state output message of the data link terminal each time, increasing a step length for the data flow rate of the offline file;
step 3, when the buffer area of the data link terminal is fast full, the data link terminal reports the fast full state of the buffer area in real time in the form of buffer area state message;
step 4, when the measurement and control equipment receives the buffer area state message of the data link terminal each time, reducing the data flow rate of the offline file by one step;
step 5, after the data flow rate of the offline file is reduced, if the measurement and control equipment receives the state output message sent by the data link terminal again and the buffer area in the message is in a state that the buffer area is not full, maintaining the data flow rate of the offline file unchanged; if the real-time data transmission is finished, or the measurement and control equipment receives the status output message sent by the data link terminal again and the cache area in the message is in a cache area fast empty state, repeating the step 2 to the step 5; until the off-line file transmission is finished.
The invention has the following advantages:
(1) the data link terminal can interact with the measurement and control equipment, and the state of the buffer area of the data link terminal is reported in time, so that the measurement and control equipment can dynamically adjust the transmission rate of the offline file, and the transmission time of the file is shortened.
(2) The data link terminal can interact with the measurement and control equipment, when the communication quality of the data link is poor or the data link is disconnected, the cache area of the data link terminal is maintained in a fast full state, and the measurement and control equipment gradually reduces the speed until the data stream is stopped being sent, so that the integrity of offline file transmission is ensured.
(3) The invention dynamically controls the flow of the offline file, can flexibly adjust the transmission rate of the offline file, and simultaneously ensures the transmission efficiency of other real-time data.
Detailed Description
The present invention is described in further detail below.
A flow control method for off-line file in measurement and control data chain transmission is characterized in that a data chain terminal reports the state of a buffer area of the data chain terminal at regular time, and a measurement and control device adjusts the data flow rate of the off-line file according to the reported state and the appointed step. When the buffer area is full, the data link terminal reports the full state of the buffer area in real time, and the measurement and control equipment reduces the data flow rate of the offline file until the real-time data transmission is finished or the buffer area of the data link terminal recovers to be empty.
Specifically, the method comprises the following steps:
step 1, a data link terminal reports the state of a buffer area of the data link terminal at regular time in a state output message mode;
step 2, when the measurement and control equipment receives the state output message each time, increasing the data flow rate of the offline file by one step length;
step 3, when the buffer area state of the data link terminal is fast full, the data link terminal reports the buffer area fast full state in real time in the form of buffer area state message;
step 4, when the measurement and control equipment receives the state message of the cache region of the data link terminal, reducing the data flow rate of the offline file by one step length;
step 5, after the data flow rate is reduced, if the measurement and control equipment receives the state output message sent by the data link terminal again and the buffer area state in the message is not full, the rate is not increased temporarily, but the current sending rate is maintained unchanged until other types of real-time data transmission are finished or the buffer area state in the state output message frame is fast empty, and the step 2 to the step 5 are repeated; and the process is carried out until the offline file transmission is finished.
The effect of the present method can be further illustrated by the following tests:
1. test conditions.
1, a certain type of measurement and control and information transmission data chain system;
the debugging machine is configured as 1 platform of Intel Core i7-3770 CPU 3.4Ghz, 8GB memory;
document comparison tool Beyond company, set 1;
the software environment is a Windows 764 bit professional edition.
2. Test methods.
The method has wide adaptability and can be added into various types of data chains. In the test, the off-line file stored in advance is sent through a certain type of measurement and control and information transmission data link system, and the data is received at the receiving end and then compared with the sent off-line file. In order to judge the effect of the method, the method is compared with an off-line file transmission method with constant speed.
3. Test contents and results.
The method comprises the steps of sending a pre-stored 200M offline file, firstly using a certain type of measurement and control and information transmission data chain system, adding interaction between measurement and control equipment and a data chain terminal, using the offline file flow control strategy of the method to carry out transmission, receiving the offline file at a receiving end, and recovering after a data chain transmission channel is manually broken in the transmission process. And then, the same offline file is transmitted by using a system without interaction between the measurement and control equipment and the data link terminal, the data link transmission channel is manually disconnected in the transmission process and then recovered, and the offline file is received at the receiving end. And finally, comparing the two received files with the original files respectively, wherein the system using the flow control strategy of the method has no number loss phenomenon, and the system without the flow control strategy of the method has no number loss phenomenon.
Test results show that the method can flexibly adjust the transmission rate of the offline file and ensure the integrity of offline file transmission on the premise of not increasing the bandwidth of a data link.

Claims (1)

1. A flow control method of an offline file in measurement and control data chain transmission is characterized by comprising the following steps:
step 1, a data link terminal reports the state of a buffer area of the data link terminal at regular time in a state output message mode; the state of the cache area has at least two conditions of cache area not full and cache area fast empty;
step 2, when the measurement and control equipment receives the state output message of the data link terminal each time, increasing a step length for the data flow rate of the offline file;
step 3, when the buffer area of the data link terminal is fast full, the data link terminal reports the fast full state of the buffer area in real time in the form of buffer area state message;
step 4, when the measurement and control equipment receives the buffer area state message of the data link terminal each time, reducing the data flow rate of the offline file by one step;
step 5, after the data flow rate of the offline file is reduced, if the measurement and control equipment receives the state output message sent by the data link terminal again and the buffer area in the message is in a state that the buffer area is not full, maintaining the data flow rate of the offline file unchanged; if the real-time data transmission is finished, or the measurement and control equipment receives the status output message sent by the data link terminal again and the cache area in the message is in a cache area fast empty state, repeating the step 2 to the step 5; until the off-line file transmission is finished.
CN202011102398.1A 2020-10-15 2020-10-15 Flow control method of offline file in measurement and control data link transmission Pending CN112187954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011102398.1A CN112187954A (en) 2020-10-15 2020-10-15 Flow control method of offline file in measurement and control data link transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011102398.1A CN112187954A (en) 2020-10-15 2020-10-15 Flow control method of offline file in measurement and control data link transmission

Publications (1)

Publication Number Publication Date
CN112187954A true CN112187954A (en) 2021-01-05

Family

ID=73950297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011102398.1A Pending CN112187954A (en) 2020-10-15 2020-10-15 Flow control method of offline file in measurement and control data link transmission

Country Status (1)

Country Link
CN (1) CN112187954A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300259A (en) * 2011-09-16 2011-12-28 电信科学技术研究院 Data block concatenation and splitting processing method, device and system
CN102420675A (en) * 2011-11-24 2012-04-18 迈普通信技术股份有限公司 Methods and devices for transmitting and receiving using state information of buffer of data message
CN103701718A (en) * 2013-12-19 2014-04-02 华南理工大学 Dynamic buffer allocation method for transformer substation communication network switches
CN106020713A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 File storage method based on buffer area
CN109598338A (en) * 2018-12-07 2019-04-09 东南大学 A kind of convolutional neural networks accelerator of the calculation optimization based on FPGA
CN109981590A (en) * 2019-02-28 2019-07-05 浙江工业大学 A kind of stream medium audio and video synchronous broadcast method based on B/S framework
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300259A (en) * 2011-09-16 2011-12-28 电信科学技术研究院 Data block concatenation and splitting processing method, device and system
CN102420675A (en) * 2011-11-24 2012-04-18 迈普通信技术股份有限公司 Methods and devices for transmitting and receiving using state information of buffer of data message
CN103701718A (en) * 2013-12-19 2014-04-02 华南理工大学 Dynamic buffer allocation method for transformer substation communication network switches
CN106020713A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 File storage method based on buffer area
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
CN109598338A (en) * 2018-12-07 2019-04-09 东南大学 A kind of convolutional neural networks accelerator of the calculation optimization based on FPGA
CN109981590A (en) * 2019-02-28 2019-07-05 浙江工业大学 A kind of stream medium audio and video synchronous broadcast method based on B/S framework

Similar Documents

Publication Publication Date Title
MX2022015841A (en) Str capability indication method and related apparatus.
CN113726573A (en) Redundant network communication method, device, electronic equipment and storage medium
CN112187954A (en) Flow control method of offline file in measurement and control data link transmission
CN107276834B (en) Fiber channel flow analysis recording method and device in avionic environment
CN112260803B (en) FC equipment receiving end communication redundancy processing method
CN112188420B (en) Method and system for identifying fault section of optical fiber multiplexing channel by using short message
CN1783837A (en) Method for detecting route unit fault
CN103888372B (en) Traffic shaping method and data processing equipment
CN112698156A (en) Distribution network line fault early warning system and method
CN101179773A (en) Congestion severity reporting method
CN105933183A (en) Flow control optimization method based on POTN
CN210274135U (en) Remote connection system
CN106506118B (en) The method and system that USXGMII multichannel IPG is accurately compensated
CN106797357A (en) The treating method and apparatus of high-speed serial signals
CN111726300A (en) Data sending method and device
WO2021115203A1 (en) Data processing method and apparatus, device, and storage medium
CN108259130A (en) The Modbus Transmission systems and method of a kind of baud rate even-odd check position adaptive
CN108471344B (en) Bidirectional multi-link data sending method and device based on FPGA
CN107147437A (en) Optical fibre communication method and equipment
CN114697757B (en) Method for transmitting high data rate video, LED display device and system thereof
CN114069572B (en) 5G communication-based power grid protection data transmission method and device
CN117527697B (en) Brightness enhancement film production equipment monitoring system and method based on Internet of things
CN113708893B (en) Adaptive communication data processing system and method based on Internet of things
CN112996038A (en) F1 time delay dynamic shunting method
CN115884258B (en) Data transmission method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210105

WD01 Invention patent application deemed withdrawn after publication