CN112953839A - Data framing transmission method, telemetering equipment and data center platform - Google Patents

Data framing transmission method, telemetering equipment and data center platform Download PDF

Info

Publication number
CN112953839A
CN112953839A CN202110069023.8A CN202110069023A CN112953839A CN 112953839 A CN112953839 A CN 112953839A CN 202110069023 A CN202110069023 A CN 202110069023A CN 112953839 A CN112953839 A CN 112953839A
Authority
CN
China
Prior art keywords
frame
data
transmission
sending
data center
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
CN202110069023.8A
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.)
Nanjing Nari Water Conservancy And Hydropower Technology Co ltd
Original Assignee
Nanjing Nari Water Conservancy And Hydropower Technology Co ltd
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 Nanjing Nari Water Conservancy And Hydropower Technology Co ltd filed Critical Nanjing Nari Water Conservancy And Hydropower Technology Co ltd
Priority to CN202110069023.8A priority Critical patent/CN112953839A/en
Publication of CN112953839A publication Critical patent/CN112953839A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1642Formats specially adapted for sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end

Abstract

The invention discloses a data framing transmission method, which comprises the following steps: framing data to be transmitted to obtain a total frame number and a frame number of each frame of data, wherein the frame numbers are arranged from small to large in sequence; firstly, sending a frame of data with the minimum frame number, then waiting for a confirmation frame, receiving the confirmation frame returned by the data center, and sending all the rest frame of data in sequence according to the sequence of the frame numbers from small to large; and then, the frame missing retrieval and the supplementary transmission are automatically carried out, so that the reliability of the frame transmission is improved.

Description

Data framing transmission method, telemetering equipment and data center platform
Technical Field
The invention belongs to the technical field of video image transmission, and particularly relates to a data framing transmission method, telemetering equipment and a data center platform.
Background
The big data analysis is gradually applied to the telemetering systems of various industries, which requires that the telemetering equipment provides a larger amount of original data than the traditional service application, for example, in the field of hydrological telemetering, the traditional service mainly comprises the acquisition and transmission of water level, rainfall and flow data, and the current rainfall process data, the process data of rapid water level change, video data shot on site, the real-time state of the equipment and the like are all brought into the scope of the hydrological telemetering service application, and by means of the big data analysis, operation and maintenance personnel can more accurately know the development trend of the on-site monitoring object and the operation condition of the equipment.
In the telemetry systems applying the big data analysis, the data transmission amount between the telemetry equipment and the data center is multiplied compared with the traditional telemetry service mode, but in some telemetry systems, the telemetry equipment is often erected in an area with poor communication conditions, the coverage of high-bandwidth transmission signals (such as 4G/5G) is not available, only small-bandwidth transmission channels (such as ultrashort waves, short messages and the like) can be adopted between the equipment and the data center, and the time required for transmitting a large amount of data is much longer than that of the high-bandwidth transmission channels.
At present, aiming at the transmission of a large amount of data between telemetry equipment and a data center, a commonly adopted technical scheme is that all data are divided into multiple frames, then the data are sent to the data center according to the sequence of the frames, and then the data center is spliced according to the sequence numbers of the frames to restore the original data. If the transmission time of the data is not limited, the scheme further comprises that the data center confirms each frame of data sent by the telemetry equipment, so that the telemetry equipment can retransmit frames which are not received by the data center, and all data can be completely transmitted to the data center.
For the mode without data center confirmation in the prior art, the integrity of data received by the data center completely depends on the quality of channel transmission, and as long as one frame of data is lost in the transmission process, the whole packet of data cannot be used. In many mountainous areas without mobile signal coverage, the data can be transmitted between the telemetering equipment and the data center only by adopting an ultrashort wave channel, and the data is influenced by terrain or external environment, the frame loss rate of the ultrashort wave channel can reach more than 5% sometimes, and the data center cannot be ensured to receive all data frames.
Although the mode that the data center included in the scheme confirms each frame sent by the telemetry equipment can significantly improve the success rate of complete data transmission compared with the mode without confirmation, obviously, a larger data transmission delay is brought, the time is almost doubled compared with the transmission from the unidirectional telemetry equipment to the data center, and meanwhile, the power consumption of the telemetry equipment is increased. If there is no commercial power on site, the telemetry equipment will need to be equipped with larger capacity batteries and larger power solar cells to handle the large amount of power consumption, resulting in a significant increase in equipment cost.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a data framing transmission method, which carries out framing transmission on data to be transmitted without confirming each frame of data by a data center and automatically searching and supplementing missing frames, thereby improving the reliability of framing transmission.
In order to solve the technical problems, the technical scheme of the invention is as follows.
In a first aspect, the present invention provides a data framing transmission method, executed in a telemetry device (transmission end), including the following processes:
framing data to be transmitted to obtain a total frame number and a frame number of each frame of data, wherein the frame numbers are arranged from small to large in sequence;
sending the frame data with the minimum frame number and the total frame number to a data center according to an uplink transmission frame structure;
in response to receiving the confirmation frame returned by the data center, sequentially sending all the rest frame data to the data center according to the ascending transmission frame structure from small to large frame numbers;
sending a transmission end request frame to a data center;
in response to the received supplementary transmission frame returned by the data center, re-sending the frame data corresponding to the frame number to be subjected to supplementary transmission to the data center, and re-sending a transmission ending request frame to the data center;
and finishing data transmission in response to receiving the confirmation frame returned by the data center.
Further, the framing the data to be transmitted includes:
determining the total frame number of the sub-frames according to the actual data volume to be transmitted and the data volume which can be accommodated by the transmission channel per se in one transmission, wherein the total frame number calculation formula is as follows:
Figure BDA0002905134120000031
in the formula 1), Pk _ Num is the total frame number, NdataFor the total number of data bytes to be transmitted, NchMaximum number of bytes in one transmission, if (N), supported by the channel itselfdata mod Nch) Is there a 1: 0 denotes the number NdataCan not be covered by NchFor integer division, the total frame number needs to be added by 1.
Further, the uplink transmission frame structure is: < Head > < Length > < FrmType > < Pk _ Num > < Pk _ No > < Data > < Chk >, where: head represents frame header identification; length represents the frame Length, the total number of bytes from FrmType to Chk; FrmType represents the frame type; pk _ Num represents the total frame number; pk _ No represents the current frame number; data represents Data after frame division; chk denotes data check.
Further, after the frame of data with the minimum frame number is sent, if the acknowledgement frame returned by the data center is not received within the timeout period, the frame of data with the minimum frame number is sent again, and if the sending times exceeds the maximum retry times, the transmission is abandoned.
Further, after the transmission end request frame is sent to the data center, if the instruction of the data center is not received within the timeout period, the transmission end request frame is sent again, and if the number of times of sending the transmission end request frame exceeds the maximum retry number, the transmission is abandoned.
In a second aspect, the present invention also provides a telemetry apparatus comprising:
the framing module is used for framing the data to be transmitted to obtain a total frame number and a frame number of each frame of data, and the frame numbers are arranged from small to large in sequence;
the first frame sending module is used for sending the frame data with the minimum frame number and the total frame number to the data center according to the uplink transmission frame structure;
the residual frame sending module is used for responding to the received confirmation frame returned by the data center, and sending all the residual frame data to the data center according to the uplink transmission frame structure in sequence from small frame number to large frame number;
an end request module for sending a transmission end request frame to the data center;
the data center is used for receiving a frame number of a frame to be subjected to retransmission, and sending a frame data corresponding to the frame number to be subjected to retransmission to the data center;
and the transmission ending module is used for responding to the received confirmation frame returned by the data center and ending the data transmission.
In a third aspect, the present invention provides a data framing transmission method, which is implemented in a data center (receiving end), and includes the following steps:
after first frame data sent by the telemetering equipment is received, sending a confirmation frame to the telemetering equipment according to a downlink transmission frame structure;
sequentially receiving all subsequent frame data sent by the telemetering equipment;
recording the frame number and the total frame number of each received frame data;
after responding to a transmission ending request frame sent by the remote measuring equipment, searching whether a lost data frame exists according to the total frame number and the received frame sequence number:
if frame loss occurs, sending a supplementary transmission frame to the telemetering equipment according to the frame sequence number needing supplementary transmission and a downlink transmission frame structure, and waiting for supplementary transmission data sent by the telemetering equipment;
and if no frame is lost, sending an acknowledgement frame to the telemetering equipment, and successfully receiving all data.
If the data center does not find a missing frame, an acknowledgement frame is sent to the telemetry device. And writing the data in the temporary data area into the disk until all data are successfully received.
Further, after receiving all the frame data, sequentially writing the data content of each frame into the temporary data area according to the sequence of the frame numbers, and after all the data are successfully received, writing the data in the temporary data area into the disk.
Further, the downlink transmission frame structure is: < Head > < Length > < FrmType > < FrmPara > < Chk > where: head represents frame header identification; length represents the frame Length, the total number of bytes from FrmType to Chk; FrmType represents the frame type; FrmPara represents the parameter content corresponding to different FrmType; chk denotes data check.
In a fourth aspect, the present invention further provides a data center platform, including:
the first frame receiving module is used for receiving first frame data sent by the telemetering equipment and then sending a confirmation frame to the telemetering equipment according to a downlink transmission frame structure;
the residual frame receiving module is used for sequentially receiving all subsequent frame data sent by the telemetering equipment;
the frame recording module is used for recording the frame sequence number and the total frame number of each received frame data;
and the frame retrieval module is used for retrieving whether the lost data frame exists or not according to the total frame number and the received frame sequence number after responding to the received transmission ending request frame sent by the telemetering equipment:
the retransmission frame sending module is used for sending a retransmission frame to the telemetering equipment according to the downlink transmission frame structure by the frame sequence number needing retransmission if the frame is lost, and waiting for retransmission data sent by the telemetering equipment;
and the confirmation frame sending module is used for sending a confirmation frame to the telemetering equipment if no frame is lost, and all data are successfully received.
In a fifth aspect, the present invention provides a data framing transmission system, including a telemetry device and a data center platform;
the telemetry device is one of the telemetry devices described above;
the data center platform is the data center platform;
the telemetry device is in connected communication with the data center platform.
Compared with the prior art, the invention has the following beneficial effects:
the data framing transmission method provided by the invention can automatically and reasonably frame the data to be transmitted according to the channel capacity without confirming each frame of data by a data center, thereby obviously reducing the frequency of downlink data, obviously improving the reliability of data transmission and ensuring the integrity of the data. And automatic frame missing retrieval and supplementary transmission are realized, and the transmission reliability of a large amount of data based on a low-capacity or poor-quality channel is ensured.
Drawings
FIG. 1 is a data framing transmission flow for a telemetry device;
fig. 2 is a data center framing reception flow.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Example 1
The invention relates to a data framing transmission method, which comprises the following processes:
step 1) Transmission frame Structure
The data transmission frame structure specified by the invention is as follows:
and uplink transmission frame: < Head > < Length > < FrmType > < Pk _ Num > < Pk _ No > < Data > < Chk >
Downlink transmission frame: < Head > < Length > < FrmType > < FrmPara > < Chk >
Wherein the uplink transmission frame is data transmitted by the telemetry device to the data center; and the downlink transmission frame is data transmitted to the telemetering equipment by the data center and is mainly used for controlling a transmission process.
The fields of the uplink transmission frame are defined as follows:
head: the frame header identification can be consistent with the header of the actually adopted transmission protocol frame.
Length: frame length, total number of bytes from FrmType to Chk.
FrmType: frame types used to represent different functions, in the present invention, the frame types of the uplink transmission frame include 2 types: the first is a data frame, namely a segmented data frame sent to a data center by a telemetry device, which is described in detail in Pk _ Num and Pk _ No below; and the second is a transmission ending request frame which indicates that the telemetering equipment finishes the transmission of the data frame and requests the data center to end the transmission.
Pk _ Num: the total frame number is determined according to the data amount actually transmitted and the data amount that can be accommodated by the transmission channel itself in one transmission, for example, the data amount actually transmitted is 10240 bytes, and the maximum data amount supported by the channel itself in one transmission is 1000 bytes, then the total frame number is 11 frames, and the calculation formula is as follows:
Figure BDA0002905134120000071
in the formula 1), Pk _ Num is the total frame number, NdataFor the total number of data bytes to be transmitted, NchMaximum number of bytes in one transmission, if (N), supported by the channel itselfdata mod Nch) Is there a 1: 0 denotes the number NdataCan not be covered by NchFor integer division, the total frame number needs to be added by 1.
Pk _ No: and the current frame number, starting from 1, accumulating 1 for every 1 frame transmission, and when the current frame number is equal to Pk _ Num, indicating that all data transmission is finished.
Data: after the frame division, for example, the total data to be transmitted is 10240 bytes, the number of bytes that can be accommodated by the transmission channel itself in one transmission is 1000, and all the data is divided into 11 frames according to 1000 bytes for transmission, so that the content of the 1 st frame data is the 1 st byte to the 1000 th byte, and the content of the 2 nd entire data is the 1001 st byte to 2000 th byte … … data of the last frame is the 10001 st byte to 10240 th byte. The calculation formula of the initial position of all Data to be transmitted of Data of each frame message is as follows:
DAddr=(Pk_No-1)×Nchformula 2)
In formula 2), DAddrThe Data area content of the frame message is the initial position of all Data to be transmitted, Pk _ No is the current frame number, NchThe maximum number of bytes per transmission supported by the channel itself.
Chk: the data check can be consistent with the check method of the actually adopted transmission protocol, and the common check methods include sum check, CRC8 and CRC16 check.
The fields of the downlink transmission frame are defined as follows:
head: the header is consistent with the Head definition of the upstream transmission frame.
Length: frame length, total number of bytes from FrmType to Chk.
FrmType: frame type, representing different functions. In the present invention, the frame types of the downlink transmission frame include 2 types: first, a confirmation frame, indicating that the data center received correctly, allows the telemetry device to begin the next step; and the second is a frame supplement transmission request, which indicates that the data of the telemetering equipment received by the data center is incomplete and the telemetering equipment needs to supplement the missing frame.
FrmPara: corresponding to the contents of the parameters of different FrmType. In the present invention, FrmPara does not contain anything when FrmType is the acknowledgement frame; and when FrmType is the retransmission request frame, FrmPara is the frame number of the missing frame needing retransmission.
Chk: the data check is consistent with the Chk definition of the uplink transmission frame.
Step 2) transport flow control
Referring to fig. 1 and 2, the method specifically includes the following processes:
1) before the Data center initiates Data transmission, the telemetering equipment frames the Data according to the formula stated in formula 1), and the frame sequence number and the corresponding content of each frame of Data are described in detail in the Pk _ No and Data in the transmission frame structure.
2) The telemetry equipment firstly sends a message with a frame number of 1 to the data center and waits for the confirmation of the data center. If a correct confirmation is received within the predetermined timeout period, the process proceeds to step 3).
And if the correct confirmation is not received within the specified timeout time, retransmitting the first frame message, and if the transmission times exceed the specified maximum retry times, giving up the transmission and exiting the transmission process. The timeout time is determined by the transmission delay of the transmission channel and the relay passing through, and the maximum retry number is also determined according to the actual application requirement, and may be set to 3 times.
3) The telemetering equipment sequentially sends frame messages with the sequence numbers of 2-Pk _ Num to the Data center from small to large, each frame does not need to be confirmed by the Data center, the Data center records the sequence number of the frame after receiving each frame message, and the Data area content of the frame is written into a temporary Data area according to the sequence number.
For example, 10240 bytes of data are divided into 11 frames for transmission according to 1000 bytes, a receiving program of a data center should create a temporary data area of at least 11000 bytes, and for the received data with the frame number of Pk _ No, a position with the start address of (Pk _ No-1) × 1000 should be written.
4) After the telemetering equipment sends the last frame of data, a transmission ending request frame is sent next, and a command of confirmation or supplementary transmission of the data center is waited.
5) After receiving the transmission end request frame sent by the telemetering equipment, the data center searches whether the lost data frame exists according to the total frame number received and the frame sequence number received.
If the frame is lost, the message is packaged according to the format of the supplementary transmission request frame in the downlink transmission frame structure and is sent to the remote measuring equipment to request the remote measuring equipment to supplement the lost frame. And the data center waits for the transmission supplementing data sent by the telemetering equipment after sending the transmission supplementing request frame, retransmits the transmission supplementing request frame if the transmission supplementing data sent by the telemetering equipment is not received within the specified timeout time, and abandons the transmission of the time if the number of times of request sending exceeds the specified maximum retry number. Wherein the values of the timeout and the maximum number of retries should be consistent with the description in step 2).
If the data center does not find a missing frame, an acknowledgement frame is sent to the telemetry device. And writing the data in the temporary data area into the disk until all data are successfully received.
6) If the telemetering equipment receives an instruction of the data center within a specified timeout time:
if the received confirmation frame is received, the transmission is considered to be successful, and the transmission process is exited.
And if the missing frame retransmission supplementing command is received, retransmitting the frame with the corresponding sequence number to the data center, and returning to the step 4) after the transmission is finished.
And if the instruction of the data center is not received within the specified timeout period, the ending request frame is retransmitted, and if the number of times of transmitting the transmission ending request frame exceeds the specified maximum retry number, the transmission is abandoned, and the transmission process is exited. Wherein the values of the timeout and the maximum number of retries should be consistent with the description in step 2).
And in the process of receiving the data frame sent by the telemetry equipment, if the subsequent frame is not received within a specified time, the data center enters the step 5) to carry out frame missing check.
The key points of the invention are as follows:
1) transmission frame structure and framing of data
In the transmission frame structure, at least two necessary elements, i.e., the total number of frames and the current frame sequence number, need to be included. Wherein, the total number of the frames is calculated according to the formula 1), and the serial number of the current frame is accumulated by 1 in each transmission. The starting position of the data content corresponding to the current frame number in all the data is obtained according to the formula 2).
2) Mechanism for searching and supplementing lost frame
When a transmission end request sent by the telemetering equipment is received or a data frame of the telemetering equipment is received and is subjected to time-out, the receiving program of the data center automatically counts missing frames according to the received frame number and the total number of the frames, packages the missing frames into messages and sends the messages to the telemetering equipment, and requests the telemetering equipment to send the missing frames. Until the data center receives the complete data.
The data framing transmission method provided by the invention can automatically and reasonably frame the data to be transmitted according to the channel capacity, realizes automatic frame missing retrieval and supplementary transmission, and ensures the transmission reliability of a large amount of data based on a low-capacity or poor-quality channel.
On the premise of not reducing the transmission reliability, the invention does not need a data center to confirm each frame of data, thereby obviously reducing the times of downlink data and effectively shortening the time required by transmission.
Example 2
Accordingly, the present invention provides a telemetry apparatus comprising:
the framing module is used for framing the data to be transmitted to obtain a total frame number and a frame number of each frame of data, and the frame numbers are arranged from small to large in sequence;
the first frame sending module is used for sending the frame data with the minimum frame number and the total frame number to the data center according to the uplink transmission frame structure;
the residual frame sending module is used for responding to the received confirmation frame returned by the data center, and sending all the residual frame data to the data center according to the uplink transmission frame structure in sequence from small frame number to large frame number;
an end request module for sending a transmission end request frame to the data center;
the data center is used for receiving a frame number of a frame to be subjected to retransmission, and sending a frame data corresponding to the frame number to be subjected to retransmission to the data center;
and the transmission ending module is used for responding to the received confirmation frame returned by the data center and ending the data transmission.
The specific implementation scheme of each module in the invention refers to the steps and processes described in the method.
Example 3
Correspondingly, the data center platform of the invention comprises:
the first frame receiving module is used for receiving first frame data sent by the telemetering equipment and then sending a confirmation frame to the telemetering equipment according to a downlink transmission frame structure;
the residual frame receiving module is used for sequentially receiving all subsequent frame data sent by the telemetering equipment;
the frame recording module is used for recording the frame sequence number and the total frame number of each received frame data;
and the frame retrieval module is used for retrieving whether the lost data frame exists or not according to the total frame number and the received frame sequence number after responding to the received transmission ending request frame sent by the telemetering equipment:
the retransmission frame sending module is used for sending a retransmission frame to the telemetering equipment according to the downlink transmission frame structure by the frame sequence number needing retransmission if the frame is lost, and waiting for retransmission data sent by the telemetering equipment;
and the confirmation frame sending module is used for sending a confirmation frame to the telemetering equipment if no frame is lost, and all data are successfully received.
The specific implementation scheme of each module in the invention refers to the steps and processes described in the method.
Example 4
The invention relates to a data framing transmission system, which comprises a telemetering device and a data center platform;
the telemetry device is one of the telemetry devices described above;
the data center platform is the data center platform;
the telemetry device is in connected communication with the data center platform.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A data framing transmission method is executed in a telemetering device and is characterized by comprising the following processes:
framing data to be transmitted to obtain a total frame number and a frame number of each frame of data, wherein the frame numbers are arranged from small to large in sequence;
sending the frame data with the minimum frame number and the total frame number to a data center according to an uplink transmission frame structure;
in response to receiving the confirmation frame returned by the data center, sequentially sending all the rest frame data to the data center according to the ascending transmission frame structure from small to large frame numbers;
sending a transmission end request frame to a data center;
in response to the received supplementary transmission frame returned by the data center, re-sending the frame data corresponding to the frame number to be subjected to supplementary transmission to the data center, and re-sending a transmission ending request frame to the data center;
and finishing data transmission in response to receiving the confirmation frame returned by the data center.
2. The method of claim 1, wherein the framing the data to be transmitted comprises:
determining the total frame number of the sub-frames according to the actual data volume to be transmitted and the data volume which can be accommodated by the transmission channel per se in one transmission, wherein the total frame number calculation formula is as follows:
Figure FDA0002905134110000011
in the formula 1), Pk _ Num is the total frame number, NdataFor the total number of data bytes to be transmitted, NchMaximum number of bytes in one transmission, if (N), supported by the channel itselfdata mod Nch) Is there a 1: 0 denotes the number NdataCan not be covered by NchFor integer division, the total frame number needs to be added by 1.
3. The method of claim 1, wherein the uplink transmission frame structure is: < Head > < Length > < FrmType > < Pk _ Num > < Pk _ No > < Data > < Chk >, where: head represents frame header identification; length represents the frame Length, the total number of bytes from FrmType to Chk; FrmType represents the frame type; pk _ Num represents the total frame number; pk _ No represents the current frame number; data represents Data after frame division; chk denotes data check.
4. The method according to claim 1, wherein after sending the frame of data with the minimum frame number, if the acknowledgement frame returned from the data center is not received within the timeout period, the frame of data with the minimum frame number is sent again, and if the number of sending exceeds the maximum number of retries, the transmission is aborted.
5. The method according to claim 1, wherein after sending the transmission end request frame to the data center, if no instruction from the data center is received within a timeout period, the transmission end request frame is sent again, and if the number of times of sending the transmission end request frame exceeds the maximum number of retries, the transmission is aborted.
6. A telemetry apparatus, comprising:
the framing module is used for framing the data to be transmitted to obtain a total frame number and a frame number of each frame of data, and the frame numbers are arranged from small to large in sequence;
the first frame sending module is used for sending the frame data with the minimum frame number and the total frame number to the data center according to the uplink transmission frame structure;
the residual frame sending module is used for responding to the received confirmation frame returned by the data center, and sending all the residual frame data to the data center according to the uplink transmission frame structure in sequence from small frame number to large frame number;
an end request module for sending a transmission end request frame to the data center;
the data center is used for receiving a frame number of a frame to be subjected to retransmission, and sending a frame data corresponding to the frame number to be subjected to retransmission to the data center;
and the transmission ending module is used for responding to the received confirmation frame returned by the data center and ending the data transmission.
7. A data framing transmission method is executed in a data center and is characterized by comprising the following processes:
after first frame data sent by the telemetering equipment is received, sending a confirmation frame to the telemetering equipment according to a downlink transmission frame structure;
sequentially receiving all subsequent frame data sent by the telemetering equipment;
recording the frame number and the total frame number of each received frame data;
after responding to a transmission ending request frame sent by the remote measuring equipment, searching whether a lost data frame exists according to the total frame number and the received frame sequence number:
if frame loss occurs, sending a supplementary transmission frame to the telemetering equipment according to the frame sequence number needing supplementary transmission and a downlink transmission frame structure, and waiting for supplementary transmission data sent by the telemetering equipment;
and if no frame is lost, sending an acknowledgement frame to the telemetering equipment, and successfully receiving all data.
If the data center does not find a missing frame, an acknowledgement frame is sent to the telemetry device. And writing the data in the temporary data area into the disk until all data are successfully received.
8. The method according to claim 7, wherein after receiving all frame data, the data content of each frame is sequentially written into the temporary data area in the order of frame number, and after all data are successfully received, the data in the temporary data area is written into the disk.
9. The method of claim 7, wherein the downlink transmission frame structure is: < Head > < Length > < FrmType > < FrmPara > < Chk > where: head represents frame header identification; length represents the frame Length, the total number of bytes from FrmType to Chk; FrmType represents the frame type; FrmPara represents the parameter content corresponding to different FrmType; chk denotes data check.
10. A data center platform, comprising:
the first frame receiving module is used for receiving first frame data sent by the telemetering equipment and then sending a confirmation frame to the telemetering equipment according to a downlink transmission frame structure;
the residual frame receiving module is used for sequentially receiving all subsequent frame data sent by the telemetering equipment;
the frame recording module is used for recording the frame sequence number and the total frame number of each received frame data;
and the frame retrieval module is used for retrieving whether the lost data frame exists or not according to the total frame number and the received frame sequence number after responding to the received transmission ending request frame sent by the telemetering equipment:
the retransmission frame sending module is used for sending a retransmission frame to the telemetering equipment according to the downlink transmission frame structure by the frame sequence number needing retransmission if the frame is lost, and waiting for retransmission data sent by the telemetering equipment;
and the confirmation frame sending module is used for sending a confirmation frame to the telemetering equipment if no frame is lost, and all data are successfully received.
11. A data framing transmission system is characterized by comprising a telemetering device and a data center platform;
the telemetry device is a telemetry device as claimed in claim 6;
the data center platform is a data center platform of claim 10;
the telemetry device is in connected communication with the data center platform.
CN202110069023.8A 2021-01-19 2021-01-19 Data framing transmission method, telemetering equipment and data center platform Pending CN112953839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110069023.8A CN112953839A (en) 2021-01-19 2021-01-19 Data framing transmission method, telemetering equipment and data center platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110069023.8A CN112953839A (en) 2021-01-19 2021-01-19 Data framing transmission method, telemetering equipment and data center platform

Publications (1)

Publication Number Publication Date
CN112953839A true CN112953839A (en) 2021-06-11

Family

ID=76235559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110069023.8A Pending CN112953839A (en) 2021-01-19 2021-01-19 Data framing transmission method, telemetering equipment and data center platform

Country Status (1)

Country Link
CN (1) CN112953839A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553281A (en) * 2021-07-23 2021-10-26 深圳市警威警用装备有限公司 Data acquisition method and device and 5G intelligent data acquisition workstation
CN113971233A (en) * 2021-12-22 2022-01-25 中国西安卫星测控中心 Telemetry data fusion method based on frame quality evaluation
CN114513385A (en) * 2022-03-24 2022-05-17 深圳市元征科技股份有限公司 Data transmission method and device, electronic equipment and storage medium
CN114938239A (en) * 2022-06-30 2022-08-23 南京眼湖信息科技有限公司 Heaven-earth satellite voice data transmission terminal device and data transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6134693A (en) * 1997-02-06 2000-10-17 Sony Corporation Automatic repeat request communication system with improved throughput by using reception confirmation table
CN101764730A (en) * 2009-12-18 2010-06-30 航天东方红卫星有限公司 CAN bus data transmission method
CN105610548A (en) * 2015-12-28 2016-05-25 北京卫星制造厂 Telemetering framing and downloading method based on event-driven
CN108199812A (en) * 2017-12-28 2018-06-22 武汉华显光电技术有限公司 Data transfer control method, device and computer readable storage medium
CN108880753A (en) * 2018-06-20 2018-11-23 深圳无线电检测技术研究院 A kind of acquisition methods and system of grid equipment operation data
WO2020232699A1 (en) * 2019-05-23 2020-11-26 北京小米移动软件有限公司 Data transmission method, apparatus, and device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6134693A (en) * 1997-02-06 2000-10-17 Sony Corporation Automatic repeat request communication system with improved throughput by using reception confirmation table
CN101764730A (en) * 2009-12-18 2010-06-30 航天东方红卫星有限公司 CAN bus data transmission method
CN105610548A (en) * 2015-12-28 2016-05-25 北京卫星制造厂 Telemetering framing and downloading method based on event-driven
CN108199812A (en) * 2017-12-28 2018-06-22 武汉华显光电技术有限公司 Data transfer control method, device and computer readable storage medium
CN108880753A (en) * 2018-06-20 2018-11-23 深圳无线电检测技术研究院 A kind of acquisition methods and system of grid equipment operation data
WO2020232699A1 (en) * 2019-05-23 2020-11-26 北京小米移动软件有限公司 Data transmission method, apparatus, and device, and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553281A (en) * 2021-07-23 2021-10-26 深圳市警威警用装备有限公司 Data acquisition method and device and 5G intelligent data acquisition workstation
CN113971233A (en) * 2021-12-22 2022-01-25 中国西安卫星测控中心 Telemetry data fusion method based on frame quality evaluation
CN114513385A (en) * 2022-03-24 2022-05-17 深圳市元征科技股份有限公司 Data transmission method and device, electronic equipment and storage medium
CN114513385B (en) * 2022-03-24 2024-04-02 深圳市元征科技股份有限公司 Data transmission method, device, electronic equipment and storage medium
CN114938239A (en) * 2022-06-30 2022-08-23 南京眼湖信息科技有限公司 Heaven-earth satellite voice data transmission terminal device and data transmission method

Similar Documents

Publication Publication Date Title
CN112953839A (en) Data framing transmission method, telemetering equipment and data center platform
JP5070239B2 (en) Method and communication apparatus for improving TTI bundling transmission
CN109120383A (en) Unmanned plane and its earth station, data transmission method
CN104951341A (en) Method for remotely upgrading collector
CN102664718B (en) The method and apparatus that wireless side tcp data retransmits
CN103098410A (en) Increasing hybrid automatic repeat request (HARQ) throughput
CN111835471B (en) Method for transmitting file based on Beidou third-generation satellite short message and communication terminal
CN111132358B (en) Data packet transmission method, terminal and storage medium
CN112566282B (en) Internet of things information transmission method and platform
CN113132063B (en) Physical layer retransmission control method
CN106506124A (en) Retransmit message and determine method and device
CN104618007B (en) A kind of synchronous satellite Transmission Control Protocol segmentation connection optimization method
CN112737739B (en) Method for multi-packet communication between two devices
CN112217610B (en) Data processing method and device, consumer machine, terminal and readable storage medium
JP3244051B2 (en) Relay communication system, data transfer assurance monitoring method thereof, and communication device used therefor
JP2016174211A (en) Communication system
CN106900017B (en) Data back transmission method and device
WO2023175308A1 (en) Data transmission
CN114465655B (en) Retransmission method for satellite data transmission data
RU2495531C2 (en) Methods, systems and apparatus for obtaining interpretation and acknowledgement of data reception status
JPH1070523A (en) Method and equipment for packet transmission
WO2017063589A1 (en) Data transmission method and apparatus
JP2001069156A (en) System for reliably transferring data between at least two stations mutually connected through radio information transmission network
CN104243107A (en) Data transmission method, device, terminal, server and system
CN112235085A (en) Breakpoint continuous transmission method for image transmission of DLMS electric energy meter

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