CN106230548A - A kind of encoding and decoding error correction method and system - Google Patents
A kind of encoding and decoding error correction method and system Download PDFInfo
- Publication number
- CN106230548A CN106230548A CN201610587329.1A CN201610587329A CN106230548A CN 106230548 A CN106230548 A CN 106230548A CN 201610587329 A CN201610587329 A CN 201610587329A CN 106230548 A CN106230548 A CN 106230548A
- Authority
- CN
- China
- Prior art keywords
- packet
- data packets
- word
- redundant data
- information group
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0009—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
The invention discloses a kind of encoding and decoding error correction method and system, described method includes: by the word that packet segmentation is some fixed-size locations;Described packet is word for word processed, generates redundant data packets;Word in described redundant data packets is corresponding with the word in described packet;Described packet and redundant data packets are combined into coding information group.Even if the embodiment of the present invention is in the case of lost part coding information group data, equally decodes the content of raw data packets, thus avoid data packet retransmission, improve data transmission efficiency.
Description
Technical field
The present invention relates to data encoding technique field, particularly to a kind of encoding and decoding error correction method and system.
Background technology
Currently, along with people require to increase for video tastes, various high definitions, super clear video arise at the historic moment, simultaneously for
The requirement of real-time is the most important.And selecting unreliable (UDP) transmission is the key solving real-time, lose under UDP transmits
When bag is normality, inevitable choice retransmits or more structurally sound protection mechanism ensures efficiently arriving and being used of data.By
The problem that the packet loss that brings in UDP transmission mode is high, needs badly and wants one can the most effectively solve network transmission coding/decoding to ask
The scheme of topic.
Summary of the invention
The present invention provides a kind of encoding and decoding error correction method and system, by the coded system improved so that even if at packet loss
In the case of, receiving terminal equally decodes piginal encoded data, the problem solving data encoding and decoding error correction.
The present invention provides a kind of encoding and decoding error correction method, including:
By the word that packet segmentation is some fixed-size locations;
Described packet is word for word processed, generates redundant data packets;Word in described redundant data packets and described number
Corresponding according to the word in bag;
Described packet and redundant data packets are combined into coding information group.
Described described packet is word for word processed, generate redundant data packets, including:
Described packet D=(D0,D1,...,Dk-1), redundant data packets C=(C0,C1,...,Cr-1);Wherein, described k is
The number of packet, described r is the number of redundant data packets, and F is the coefficient matrix of kxr dimension;
Redundant data packets C is represented by:
As described r=2, during k=4, described packet with redundant data packets is:
Wherein, the quantity of word during described j is packet.
Described coefficient matrix
According to equation below computing redundancy packet C0C1:
Described described packet and redundant data packets are combined into coding information group, including:
K described packet is grouped in any k position of described coding information group.
Described method also includes:
If receiving terminal have received any k in k coding information group according to bag, can be according to the packet received
Positional information in coding information group, extracts the row of correspondence from generator matrix E', forms a new matrix E'-1:
Wherein,For decoding lost data packets out,For the packet received,For the redundant data received
Bag.
A kind of encoding and decoding error correction system, including:
Packet split cells, for by word that packet segmentation is some fixed-size locations;
Redundant data packets signal generating unit, for word for word processing described packet, generates redundant data packets;Described superfluous
Word in remaining packet is corresponding with the word in described packet;
Coding information group signal generating unit, for being combined into coding information group by described packet and redundant data packets.
Described redundant data packets signal generating unit, is additionally operable to:
Described packet D=(D0,D1,...,Dk-1), redundant data packets C=(C0,C1,...,Cr-1);Wherein, described k is
The number of packet, described r is the number of redundant data packets, and F is the coefficient matrix of kxr dimension;
Redundant data packets C is represented by:
Described coding information group signal generating unit, is additionally operable to:
K described packet is grouped in any k position of described coding information group.
Described system also includes:
Decoding unit, if having received any k in k coding information group according to bag for receiving terminal, can basis
The packet received positional information in coding information group, extracts the row of correspondence from generator matrix E', forms one newly
Matrix E'-1:
Wherein,For decoding lost data packets out,For the packet received,For the redundant data received
Bag.
In the embodiment of the present invention, owing to have employed technique scheme, compared with prior art, according to raw data packets by
One generates redundant data packets, then by coding information group generated along to raw data packets and redundant data packets.Receiving terminal is according to connecing
The data received, even if in the case of lost part coding information group data, equally decoding the interior of raw data packets
Hold, thus avoid data packet retransmission, improve data transmission efficiency.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description
Obtain it is clear that or understand by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Structure specifically noted in book, claims and accompanying drawing realizes and obtains.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with the reality of the present invention
Execute example together for explaining the present invention, be not intended that limitation of the present invention.In the accompanying drawings:
The encoding and decoding error correction method principle flow chart that Fig. 1 provides for the embodiment of the present invention 1.
The encoding error correction scheme schematic diagram that Fig. 2 provides for the embodiment of the present invention 1.
The decoding and error method schematic diagram that Fig. 3 provides for the embodiment of the present invention 1.
The code correction sending method schematic diagram that Fig. 4 provides for the embodiment of the present invention 1.
The decoding and error method of reseptance schematic diagram that Fig. 5 provides for the embodiment of the present invention 1.
The encoding and decoding error correction system structural representation that Fig. 6 provides for the embodiment of the present invention 2.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described herein
Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
As it is shown in figure 1, a kind of encoding and decoding error correction method principle flow chart provided for the embodiment of the present invention 1, wherein,
Step 11, by the word that packet segmentation is some fixed-size locations;
Step 12, word for word processes described packet, generates redundant data packets;Word in described redundant data packets with
Word in described packet is corresponding;
Step 13, is combined into coding information group by described packet and redundant data packets.
Wherein, described packet is word for word processed, generate redundant data packets, including:
Described packet D=(D0,D1,...,Dk-1), redundant data packets C=(C0,C1,...,Cr-1);Wherein, described k is
The number of packet, described r is the number of redundant data packets, and F is the coefficient matrix of kxr dimension;
Redundant data packets C is represented by:
As described r=2, during k=4, described packet with redundant data packets is:
Wherein, the quantity of word during described j is packet.
Described coefficient matrix
According to equation below computing redundancy packet C0 C1:
Described packet and redundant data packets are combined into coding information group, including:
K described packet is grouped in any k position of described coding information group.
If receiving terminal have received any k in k coding information group according to bag, can be according to the packet received
Positional information in coding information group, extracts the row of correspondence from generator matrix E', forms a new matrix E'-1:
Wherein,For decoding lost data packets out,For the packet received,For the redundant data received
Bag.
Specifically, the encoding and decoding error correction method of a kind of solving network jitter, comprise the following steps:
Packet segmentation.Split in packet is carried out the bag that first encoding operation is by, be many by packet segmentation
Individual fixed-size location, fixed-size location is referred to as word, if word length is 16bits, a packet is j word.Coding is to k initial data
Bag word for word processes, and generates corresponding word in m redundant data packets.Shown in specific as follows.
Encoding operation.If k raw data packets D=(D0,D1,...,Dk-1), r redundant data packets C=(C0,C1,...,
Cr-1), so coding information group Group represents Y=(D1,D2,...,Dk,C0,C1,...,Cr-1), n=k+r.F is the square of kxr dimension
Battle array, then the C in a Group is represented by as follows:
Construct in this way is redundant code, and information group (is normally placed in any k position of code character with constant form
Above: D0,D1,...,Dk-1).If with packet as object, then front k the bag of this coding information group is exactly k and is protected
Packet.
Coefficient matrixThis matrix element is all at finite field gf (216Carry out in).
Coding computing formula:
Generate redundant data packets C0 C1, transmitting terminal just can send original packet and redundant data packets successively.Specifically can be found in
Fig. 2.
Decoding computing.If sending original packet D in way0 D2Lose, then receiving terminal just can recover according to the bag received
The original packet lost, detailed process is as follows:
At receiving terminal, if recipient have received any k in k Group according to bag, can be according to the number received
According to the positional information wrapped in Group, from generator matrix E', extract the row of correspondence, form a new matrix E'-1:
(For decoding loss data out,For the initial data received,For receive
Coded data)
The original packet formula lost:
Referring specifically to Fig. 3.
More than the specific algorithm for the encoding and decoding error correction method of a kind of solving network jitter realizes process.
It practice, after raw data packets is encoded by queue, obtain D0,D1,...,Dk-1, see Fig. 4, the most only include D0
D1 D2 D3, as example.D0 D1 D2 D3After encoded, obtain redundant data packets C0 C1, unification is organized as coding information
After group, send data.
Receiving terminal as it is shown in figure 5, wherein, obtains C after receiving data decoding0 C1And D1 D3, lost initial data
Bag D0 D2.At this time, it may be necessary to according to the decoding data received and error correction, obtain packet D0 D2, then form complete
Packet is sent to the various application on upper strata.
The embodiment of the present invention, owing to have employed technique scheme, compared with prior art, according to raw data packets one by one
Generate redundant data packets, then by coding information group generated along to raw data packets and redundant data packets.Receiving terminal is according to reception
The data arrived, even if in the case of lost part coding information group data, equally decoding the content of raw data packets,
Thus avoid data packet retransmission, improve data transmission efficiency.
As shown in Figure 6, a kind of encoding and decoding error correction system structural representation provided for the embodiment of the present invention 2, specific as follows:
Packet split cells 21, for by word that packet segmentation is some fixed-size locations;
Redundant data packets signal generating unit 22, for word for word processing described packet, generates redundant data packets;Described
Word in redundant data packets is corresponding with the word in described packet;
Coding information group signal generating unit 23, for being combined into coding information group by described packet and redundant data packets.
It is also preferred that the left above-mentioned redundant data packets signal generating unit 21, it is additionally operable to:
Described packet D=(D0,D1,...,Dk-1), redundant data packets C=(C0,C1,...,Cr-1);Wherein, described k is
The number of packet, described r is the number of redundant data packets, and F is the coefficient matrix of kxr dimension;
Redundant data packets C is represented by:
It is also preferred that the left above-mentioned coding information group signal generating unit 23, it is additionally operable to:
K described packet is grouped in any k position of described coding information group.
It is also preferred that the left said system also includes:
Decoding unit 24, if having received any k in k coding information group according to bag, Ji Kegen for receiving terminal
According to the packet received positional information in coding information group, from generator matrix E', extract the row of correspondence, form one
New matrix E'-1:
Wherein,For decoding lost data packets out,For the packet received,For the redundant data received
Bag.
In sum, in the embodiment of the present invention, owing to have employed technique scheme, compared with prior art, according to former
Beginning packet generates redundant data packets one by one, then by coding information group generated along to raw data packets and redundant data packets.Connect
Receiving end is according to the data received, even if in the case of lost part coding information group data, equally decoding original
The content of packet, thus avoid data packet retransmission, improve data transmission efficiency.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware
Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code
The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.)
Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention
Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce
A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real
The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to
Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter
Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or
The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function specified in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention
God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof
Within, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. an encoding and decoding error correction method, it is characterised in that including:
By the word that packet segmentation is some fixed-size locations;
Described packet is word for word processed, generates redundant data packets;Word in described redundant data packets and described packet
In word corresponding;
Described packet and redundant data packets are combined into coding information group.
2. the method for claim 1, it is characterised in that described word for word process described packet, generates redundancy
Packet, including:
Described packet D=(D0,D1,...,Dk-1), redundant data packets C=(C0,C1,...,Cr-1);Wherein, described k is data
The number of bag, described r is the number of redundant data packets, and F is the coefficient matrix of kxr dimension;
Redundant data packets C is represented by:
3. method as claimed in claim 2, it is characterised in that as described r=2, during k=4, described packet and redundant digit
According to bag it is:
Wherein, the quantity of word during described j is packet.
4. method as claimed in claim 3, it is characterised in that described coefficient matrix
According to equation below computing redundancy packet C0C1:
5. the method for claim 1, it is characterised in that described described packet and redundant data packets are combined into volume
Code information group, including:
K described packet is grouped in any k position of described coding information group.
6. the method for claim 1, it is characterised in that described method also includes:
If receiving terminal have received any k in k coding information group according to bag, can compile according to the packet received
Positional information in code information group, extracts the row of correspondence from generator matrix E', forms a new matrix E'-1:
Wherein,For decoding lost data packets out,For the packet received,For the redundant data packets received.
7. an encoding and decoding error correction system, it is characterised in that including:
Packet split cells, for by word that packet segmentation is some fixed-size locations;
Redundant data packets signal generating unit, for word for word processing described packet, generates redundant data packets;Described redundant digit
Corresponding with the word in described packet according to the word in bag;
Coding information group signal generating unit, for being combined into coding information group by described packet and redundant data packets.
8. system as claimed in claim 7, it is characterised in that described redundant data packets signal generating unit, is additionally operable to:
Described packet D=(D0,D1,...,Dk-1), redundant data packets C=(C0,C1,...,Cr-1);Wherein, described k is data
The number of bag, described r is the number of redundant data packets, and F is the coefficient matrix of kxr dimension;
Redundant data packets C is represented by:
9. system as claimed in claim 7, it is characterised in that described coding information group signal generating unit, is additionally operable to:
K described packet is grouped in any k position of described coding information group.
10. system as claimed in claim 7, it is characterised in that described system also includes:
Decoding unit, if having received any k in k coding information group according to bag for receiving terminal, can be according to being received
To packet coding information group in positional information, extract from generator matrix E' correspondence row, form a new square
Battle array E'-1:
Wherein,For decoding lost data packets out,For the packet received,For the redundant data packets received.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610415970 | 2016-06-14 | ||
CN2016104159707 | 2016-06-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106230548A true CN106230548A (en) | 2016-12-14 |
Family
ID=57532694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610587329.1A Pending CN106230548A (en) | 2016-06-14 | 2016-07-25 | A kind of encoding and decoding error correction method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230548A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071783A (en) * | 2019-04-23 | 2019-07-30 | 中国科学院计算机网络信息中心 | A kind of method, apparatus and system of communication |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009663A (en) * | 2007-01-19 | 2007-08-01 | 深圳市深信服电子科技有限公司 | The method for improving the data transfer speed via the redundancy |
CN101166273A (en) * | 2006-10-16 | 2008-04-23 | 华为技术有限公司 | Method, device and system for transmitting video data |
CN101577606A (en) * | 2008-05-09 | 2009-11-11 | 苏州科达科技有限公司 | Control device and control method for controlling transmission of steaming media in steaming media control equipment |
US20130254620A1 (en) * | 2010-06-04 | 2013-09-26 | Apple Inc. | Improved error correction coding for recovering multiple packets in a group in view of limited bandwidth |
-
2016
- 2016-07-25 CN CN201610587329.1A patent/CN106230548A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166273A (en) * | 2006-10-16 | 2008-04-23 | 华为技术有限公司 | Method, device and system for transmitting video data |
CN101009663A (en) * | 2007-01-19 | 2007-08-01 | 深圳市深信服电子科技有限公司 | The method for improving the data transfer speed via the redundancy |
CN101577606A (en) * | 2008-05-09 | 2009-11-11 | 苏州科达科技有限公司 | Control device and control method for controlling transmission of steaming media in steaming media control equipment |
US20130254620A1 (en) * | 2010-06-04 | 2013-09-26 | Apple Inc. | Improved error correction coding for recovering multiple packets in a group in view of limited bandwidth |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071783A (en) * | 2019-04-23 | 2019-07-30 | 中国科学院计算机网络信息中心 | A kind of method, apparatus and system of communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101582698B (en) | Protection of data from erasures using subsymbole based | |
CN101800757B (en) | No-feedback one-way data transmission method based on single fiber structure | |
EP3193472B1 (en) | Data packet processing method and device | |
CN109547467A (en) | Media data error correction transmission and error correction method, device, equipment and storage medium | |
CN110119643A (en) | Two-dimensional code generation method and device, two-dimensional code identification method and device | |
US8397140B2 (en) | Error correction coding for recovering multiple packets in a group view of limited bandwidth | |
JP2018510570A5 (en) | ||
CN101789846B (en) | Dissociation rate matching method and device | |
CN105637767A (en) | Coding rate matching processing method and device | |
CN101902315A (en) | Retransmission method, device and communication system based on forward error correction | |
CN109714325A (en) | A kind of one-way optical gate data transmission method, system, electronic equipment and medium | |
CN103346800B (en) | A kind of data compression method and device | |
US20130198583A1 (en) | Systematic Rate-Independent Reed-Solomon Erasure Codes | |
CN110383728A (en) | Use the system and method for outer code and non-isometric code block | |
JP2015520990A (en) | Packet transmitting / receiving apparatus and method in broadcasting and communication system | |
CN105306166A (en) | Code block receiving and processing method and device | |
CN101540778B (en) | Method, device and system for transmitting data | |
CN105164960A (en) | Reduction of retransmission latency by combining pacing and forward error correction | |
US20150188665A1 (en) | Communication system, method and receiver applicable thereto | |
US10637508B2 (en) | Optimal construction of regenerating code through rate-matching | |
CN106230548A (en) | A kind of encoding and decoding error correction method and system | |
JP4191054B2 (en) | A diversity scheme for error control coding in systems with prioritized data. | |
EP2873183B1 (en) | Apparatus and method for transmitting/receiving packet in broadcasting and communication system | |
CN105391523B (en) | A kind of voice-optimizing transmission method and device | |
WO2018133415A1 (en) | Method and device for coding and decoding data of physical coding sublayer and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20161214 |