CN103475451A - Datagram network transmission method suitable for forward error correction and encryption application - Google Patents

Datagram network transmission method suitable for forward error correction and encryption application Download PDF

Info

Publication number
CN103475451A
CN103475451A CN2013104084459A CN201310408445A CN103475451A CN 103475451 A CN103475451 A CN 103475451A CN 2013104084459 A CN2013104084459 A CN 2013104084459A CN 201310408445 A CN201310408445 A CN 201310408445A CN 103475451 A CN103475451 A CN 103475451A
Authority
CN
China
Prior art keywords
data
forward error
error correction
preliminary treatment
data packets
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
CN2013104084459A
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.)
JIANGSU LEMOTE TECHNOLOGY Corp Ltd
Original Assignee
JIANGSU LEMOTE TECHNOLOGY Corp 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 JIANGSU LEMOTE TECHNOLOGY Corp Ltd filed Critical JIANGSU LEMOTE TECHNOLOGY Corp Ltd
Priority to CN2013104084459A priority Critical patent/CN103475451A/en
Publication of CN103475451A publication Critical patent/CN103475451A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a datagram network transmission method suitable for forward error correction and encryption application. The method comprises the steps that a sending end carries out preprocessing and sending on the data to be sent, a receiving end carries out reversed preprocessing on the received data, a plurality of data packages are spliced and divided according to data with equal length before the sending end carries out preprocessing on the data to be sent, the received data packages are spliced and the original data packages are extracted after the receiving end carries out reversed preprocessing on the received data, the preprocessing comprises the steps of generating at least one of forward error correct codes and encryption processing, and the reversed preprocessing comprises the steps of processing at least one of the forward error correct codes and the encryption processing. The transmission method reduces or eliminates the filling of invalid data, therefore processing aiming at the invalid data is reduced or eliminated, and transmission efficiency is improved.

Description

The datagram network transmission method of a kind of applicable forward error correction and encryption application
Technical field
The present invention relates to a kind of datagram network transmission method, particularly relate to a kind of applicable forward error correction and encrypt the datagram network transmission method of application.
Background technology
Forward error correction technique is for improving the reliability of Internet Transmission, and encryption technology is for guaranteeing the confidentiality of transmission.
During the major part of these two kinds of technology realizes, requirement will need data to be processed to be divided into isometric.Yet in reality, the Internet Transmission of form of datagrams (for example udp agreement), it is short that message has length to have.Therefore when processing, the inadequate data message for length, need to fill invalid data.For each data message, carry out the filling of invalid data at transmitting terminal, at receiving terminal, invalid data is got rid of, make whole Internet Transmission execution efficiency lower, the validity of transmission data is also lower.
Summary of the invention
For above-mentioned the deficiencies in the prior art, the purpose of this invention is to provide a kind of applicable forward error correction and encrypt the datagram network transmission method of application, reduce or eliminate the filling of invalid data, and then reduced or eliminated the processing for invalid data, improve efficiency of transmission.
Technical scheme of the present invention is such: the datagram network transmission method of a kind of applicable forward error correction and encryption application, comprise that transmitting terminal carries out preliminary treatment, transmission, receiving terminal to receiving the reverse preliminary treatment of data to data to be sent, it is characterized in that: described transmitting terminal carries out before preliminary treatment by some raw data packets splicings and by the equal length Data Segmentation data to be sent, and the isometric packet that described receiving terminal will receive after to the reverse preliminary treatment that receives data splices and extracts raw data packets; Described preliminary treatment comprises at least one generation in forward error correction and encryption, says that reverse preliminary treatment comprises at least one that process in forward error correction and decryption processing.
In a specific embodiment of the present invention, when described transmitting terminal is pressed the equal length Data Segmentation, add invalid data when the end data length is not enough and reach tentation data length.
In order to reduce at data sending terminal owing to waiting for that raw data packets reaches the time delay that certain-length causes, in another specific embodiment of the present invention, described transmitting terminal starts timing while obtaining first raw data packets, after certain hour, to the splicing of the raw data packets obtained and by the equal length Data Segmentation.
In another specific embodiment of the present invention, described transmitting terminal carries out adding protocol header after preliminary treatment to data to be sent, and described protocol header comprises splicing and the carve information of raw data packets.
Technical scheme provided by the present invention, cut apart after packets splicing will be a plurality of to be sent again, makes to comprise as much as possible valid data in the packet after single cutting apart, and avoids filling a large amount of invalid datas and cause network transmission efficiency low.Realized that zero of invalid data adds or a small amount of the interpolation, reduced the invalid data processing time, utilized the time to control and avoid splicing to wait for the time delay caused, raised the efficiency.Simultaneously, this processing scheme can not affect follow-up error correction and encryption, guarantees reliability and the fail safe of transfer of data.
The accompanying drawing explanation
Fig. 1 is flow chart of data processing schematic diagram of the present invention.
Embodiment
Below in conjunction with embodiment, the invention will be further described, but not as a limitation of the invention.
Refer to Fig. 1, at the transmitting terminal of data, the length of data to be sent differs, and has length to have short.Adopt the packing function that a plurality of raw data packets are again spliced and cut apart by designated length, generate new packet.Then a plurality of shorter raw data packets can first be spliced and be cut apart, and a longer raw data packets directly is divided into a plurality of new data packets again.When a raw data packets reaches, it is inserted to a upper new packet that does not reach designated length, if this raw data packets is longer, in the time of can't be inserted new packet fully, by a newly-built new packet, raw data packets is not inserted to part and put into this packet.Each raw data packets is carried out successively, and in last packet, data length is not filled invalid data as reached designated length, then generates forward error correction and is encrypted.In application in real time, raw data packets is to generate in real time.If the length of the not enough appointment of the raw data packets of current accumulation, need to wait for the arrival of more raw data packets, always bring uncontrollable time delay.For this situation, at transmitting terminal, timer is set, wait at most certain hour minute steamed sandwich again.When overtime generation, the raw data packets of accumulation is integrated in new packet, even not enough designated length.When processing, the part of not enough length still, according to existing mode, is filled invalid data; And data exceed designated length part and are postponed by force to next time circulation and spliced and cut apart.Under this kind of situation, though adopt this programme can not eliminate the invalid data of filling, can effectively reduce the invalid data of filling.After carrying out forward error correction and encryption, packet adds new protocol header, and this protocol header has been described in the packet after cuts apart again, and raw data packets is positioned at those positions, and whether raw data packets is truncated etc.In order to be applicable to forward error correction, also indicated transmission window slogan and the interior numbering of window at notebook data bag place in new protocol header.
At data receiver, the data of reception are through processing, such as carrying out error correction, deciphering etc.According to the description of new protocol header, isolate raw data packets.Detailed process is according to the protocol header content, to record window number and the interior numbering of window of current data packet after receiving terminal reception packet.Whether the next packet of receiving for judgement is the sequence number continuity, thereby whether packet loss is arranged between learning, when packet loss occurs, stack is emptied.Here stack is to wait the raw data packets segment of piecing together out for storing those, once packet loss occurs, the segment before can't have been recovered certainly, therefore abandon.In stack, each fragment of raw data packets is pressed into until then the raw data packets end is popped and be spliced into complete raw data packets.While reading the raw data packets segment in stack, carry out two integrality judgements, if 1. stack is empty, and current fragment is mid portion or the afterbody of certain raw data packets, and this raw data packets can't be recovered, and directly returns, and abandons current fragment; 2. stack the inside is head or the mid portion of a raw data packets, and new stacked fragment be another raw data packets part or all, the afterbody of first raw data packets is lost and can't be recovered, and empties stack.Can get rid of the loss of the raw data packets fragment caused after the Internet Transmission packet loss by these two inspections, abandon the raw data packets that can't be resumed.

Claims (4)

1. an applicable forward error correction and encrypt the datagram network transmission method of application, comprise that transmitting terminal carries out preliminary treatment, transmission, receiving terminal to receiving the reverse preliminary treatment of data to data to be sent, it is characterized in that: described transmitting terminal carries out before preliminary treatment by some raw data packets splicings and by the equal length Data Segmentation data to be sent, and the isometric packet that described receiving terminal will receive after to the reverse preliminary treatment that receives data splices and extracts raw data packets; Described preliminary treatment comprises at least one generation in forward error correction and encryption, says that reverse preliminary treatment comprises at least one that process in forward error correction and decryption processing.
2. the datagram network transmission method of applicable forward error correction according to claim 1 and encryption application, is characterized in that: when described transmitting terminal is pressed the equal length Data Segmentation, add invalid data when the end data length is not enough and reach tentation data length.
3. the datagram network transmission method that applicable forward error correction according to claim 1 and encryption are applied, it is characterized in that: described transmitting terminal starts timing while obtaining first raw data packets, after certain hour, to the splicing of the raw data packets obtained and by the equal length Data Segmentation.
4. the datagram network transmission method that applicable forward error correction according to claim 1 and encryption are applied, it is characterized in that: described transmitting terminal carries out adding protocol header after preliminary treatment to data to be sent, and described protocol header comprises splicing and the carve information of raw data packets.
CN2013104084459A 2013-09-10 2013-09-10 Datagram network transmission method suitable for forward error correction and encryption application Pending CN103475451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104084459A CN103475451A (en) 2013-09-10 2013-09-10 Datagram network transmission method suitable for forward error correction and encryption application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104084459A CN103475451A (en) 2013-09-10 2013-09-10 Datagram network transmission method suitable for forward error correction and encryption application

Publications (1)

Publication Number Publication Date
CN103475451A true CN103475451A (en) 2013-12-25

Family

ID=49800169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104084459A Pending CN103475451A (en) 2013-09-10 2013-09-10 Datagram network transmission method suitable for forward error correction and encryption application

Country Status (1)

Country Link
CN (1) CN103475451A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997121A (en) * 2014-04-30 2014-08-20 深圳市国电南思系统控制有限公司 Method and device for monitoring real-time operation information of intelligent substations
CN105187156A (en) * 2015-06-12 2015-12-23 北京理工大学 Forward error correcting code processor
CN107220550A (en) * 2017-04-19 2017-09-29 上海海加网络科技有限公司 Encrypted card performance optimization method and system based on eCryptfs
CN110784613A (en) * 2018-07-31 2020-02-11 佳能株式会社 Communication apparatus and control method
CN111954028A (en) * 2020-10-19 2020-11-17 深圳乐播科技有限公司 Screen projection method, device and equipment of audio data and storage medium
CN112564856A (en) * 2019-09-10 2021-03-26 华为技术有限公司 Message processing method and device and computer readable storage medium
CN114124850A (en) * 2022-01-26 2022-03-01 浙江宇视系统技术有限公司 Network communication method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980184A (en) * 2005-11-30 2007-06-13 中国科学院计算技术研究所 Wireless network node buffering data package processing method
CN101212267A (en) * 2007-12-21 2008-07-02 北京创毅视讯科技有限公司 FTP service data based method, system, and device for broadcast system
CN101222444A (en) * 2008-02-04 2008-07-16 华为技术有限公司 Caching data processing method, device and system
CN101436919A (en) * 2008-12-11 2009-05-20 浙江大学 Method for breakpoint continuous transmission of reliable file acceptance (receiving) system based on unidirectional broadcasting network
CN102201818A (en) * 2011-05-12 2011-09-28 中兴通讯股份有限公司 Method and device for outputting Turbo decoding result

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980184A (en) * 2005-11-30 2007-06-13 中国科学院计算技术研究所 Wireless network node buffering data package processing method
CN101212267A (en) * 2007-12-21 2008-07-02 北京创毅视讯科技有限公司 FTP service data based method, system, and device for broadcast system
CN101222444A (en) * 2008-02-04 2008-07-16 华为技术有限公司 Caching data processing method, device and system
CN101436919A (en) * 2008-12-11 2009-05-20 浙江大学 Method for breakpoint continuous transmission of reliable file acceptance (receiving) system based on unidirectional broadcasting network
CN102201818A (en) * 2011-05-12 2011-09-28 中兴通讯股份有限公司 Method and device for outputting Turbo decoding result

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997121A (en) * 2014-04-30 2014-08-20 深圳市国电南思系统控制有限公司 Method and device for monitoring real-time operation information of intelligent substations
CN103997121B (en) * 2014-04-30 2016-08-31 国家电网公司 The monitor method of intelligent substation real-time traffic information and monitoring device
CN105187156A (en) * 2015-06-12 2015-12-23 北京理工大学 Forward error correcting code processor
CN105187156B (en) * 2015-06-12 2018-06-08 北京理工大学 A kind of forward error correction code processor
CN107220550A (en) * 2017-04-19 2017-09-29 上海海加网络科技有限公司 Encrypted card performance optimization method and system based on eCryptfs
CN110784613A (en) * 2018-07-31 2020-02-11 佳能株式会社 Communication apparatus and control method
CN110784613B (en) * 2018-07-31 2022-06-07 佳能株式会社 Communication apparatus and control method
US11405178B2 (en) 2018-07-31 2022-08-02 Canon Kabushiki Kaisha Communication apparatus and control method
CN112564856A (en) * 2019-09-10 2021-03-26 华为技术有限公司 Message processing method and device and computer readable storage medium
CN111954028A (en) * 2020-10-19 2020-11-17 深圳乐播科技有限公司 Screen projection method, device and equipment of audio data and storage medium
CN114124850A (en) * 2022-01-26 2022-03-01 浙江宇视系统技术有限公司 Network communication method and device and storage medium

Similar Documents

Publication Publication Date Title
CN103475451A (en) Datagram network transmission method suitable for forward error correction and encryption application
CN105704091B (en) A kind of session analytic method and system based on SSH agreement
US20190116127A1 (en) Computational accelerator for packet payload operations
US9130991B2 (en) Processing data packets in performance enhancing proxy (PEP) environment
CN106452688A (en) Beidou data lost message retransmission method and system
CN103595615A (en) Methods and terminals for sending and receiving E-mail
CN102752283A (en) Method and system for transmitting files with large data sizes
DK2119141T3 (en) Method of transmission / reception in real time of data packets between a server and a client terminal, corresponding server and terminal
CN105991223A (en) Method and system for preventing packet splicing in TCP network data transmission
WO2023197925A1 (en) Packet processing method and apparatus
MX2013015385A (en) Highly-scalable data transmission.
CN1988543A (en) Message type identifying method and device, message header compressing method and system
CN106713415A (en) Data transmission method and system
CN107508828B (en) A kind of very-long-range data interaction system and method
CN104917590A (en) Error correction method for channel coding
CN103685060A (en) Data packet sending method and data packet sending device
CN111224903A (en) Data transmission method, data transmission equipment and computer readable storage medium
CN112436998A (en) Data transmission method and electronic equipment
CN115052049A (en) Message forwarding method and system based on IPsec tunnel
CN111786868B (en) Data transmission method between servers and strongswan server
CN102739650A (en) File transmission system combining broadcast and television net and internet
CN113905012A (en) Communication method, device, equipment and medium
US10079904B2 (en) Packet transfer system, relay device, packet transfer method, and program
CN100466506C (en) Method of data transmission
CN104661043A (en) Method, device and system for transmitting transport stream

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131225