CN1144429C - Packet check data transmission method - Google Patents
Packet check data transmission method Download PDFInfo
- Publication number
- CN1144429C CN1144429C CNB011181540A CN01118154A CN1144429C CN 1144429 C CN1144429 C CN 1144429C CN B011181540 A CNB011181540 A CN B011181540A CN 01118154 A CN01118154 A CN 01118154A CN 1144429 C CN1144429 C CN 1144429C
- Authority
- CN
- China
- Prior art keywords
- data
- frame
- group
- check
- verification
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
技术领域:本发明涉及一种通信及计算机系统数据传输的方法,尤其是一种分组校验数据传输法。Technical field: The present invention relates to a communication and computer system data transmission method, especially a packet verification data transmission method.
背景技术:在通信与计算机网络领域,数据传输主要采用数据帧传输模式。一般来讲每个帧由帧头,数据及校验码(Cyclic Redandency Check或CRC)三部分组成。帧头用于接收数据包的排序,独立于数据及CRC部分,校验部分用于检查接收到有用数据部分是否正确。当接收到的数据不能通过CRC校验,则说明此帧在传输过程中出错,即使帧中只有1比特出错,此数据包必须重传。这是由于CRC校验的功能只是检测数据块是否正确接收,它没有能力对错误进行纠正。在通信系统中重传将降低系统传输效率,同时带来系统接收时延。现有帧传输通信系统框图如图1所示。Background technology: In the field of communication and computer network, data transmission mainly adopts data frame transmission mode. Generally speaking, each frame consists of three parts: frame header, data and check code (Cyclic Redandency Check or CRC). The frame header is used to sort the received data packets, independent of the data and CRC part, and the check part is used to check whether the received useful data part is correct. When the received data cannot pass the CRC check, it means that the frame has an error during transmission, even if only 1 bit in the frame is wrong, the data packet must be retransmitted. This is because the function of the CRC check is only to detect whether the data block is received correctly, and it has no ability to correct errors. Retransmission in a communication system will reduce system transmission efficiency and bring system reception delay at the same time. A block diagram of an existing frame transmission communication system is shown in FIG. 1 .
发明内容:Invention content:
本发明的目的是提供一种减小通信系统误帧率,降低接收时延的方法。The purpose of the present invention is to provide a method for reducing the frame error rate of the communication system and reducing the receiving time delay.
本发明的分组校验数据传输法,其步骤为:The packet verification data transmission method of the present invention, its steps are:
1将数据源转换为P进制数据流序列,其中P≥2,为整数;1 Convert the data source into a P-ary data flow sequence, where P≥2, which is an integer;
2将数据流序列划分为数据块,并为每数据块添加帧校验码和其他系统信息,组成L位长传输端数据帧序列,其中L为大于1的整数;2. Divide the data stream sequence into data blocks, and add frame check code and other system information to each data block to form an L-bit long transmission end data frame sequence, where L is an integer greater than 1;
3将M个数据帧并行为M×L数据矩阵,并将矩阵数据或除去系统信息的矩阵数据按列向划分为两个以上数据组,为每组添加组校验码,组成一待传信息,其中M为大于等于1的整数;3 M data frames are arranged in parallel as M×L data matrix, and the matrix data or the matrix data without system information is divided into two or more data groups according to the column direction, and a group check code is added to each group to form a message to be transmitted , where M is an integer greater than or equal to 1;
数据组可以等维,也可以相互重叠;Data sets can be of equal dimensions or overlap each other;
4将待传信息调制后由传输端发送到传输信道,并在信道中传输;4 After the information to be transmitted is modulated, the transmitting end sends it to the transmission channel, and transmits it in the channel;
5在接收端解调所收信号,得到包含M个接收端数据帧的接收信息;5. Demodulate the received signal at the receiving end to obtain receiving information including M data frames at the receiving end;
6对每一接收端数据帧,根据帧校验码进行帧校验,将通过帧校验的帧认定为正确接收帧;对于没有通过帧校验的数据帧,则6 For each data frame at the receiving end, perform frame verification according to the frame verification code, and identify the frame that passes the frame verification as a correct received frame; for the data frame that does not pass the frame verification, then
6-1根据组校验码对每组进行校验,找出出错数据组;6-1 Check each group according to the group check code to find out the error data group;
6-2将出错数据组中该帧可能出错的数据进行一次其他组合的数字置换,生成新帧,并将新帧进行帧校验;6-2 Perform a digital replacement of the possibly erroneous data of the frame in the erroneous data group to generate a new frame, and perform a frame check on the new frame;
当没有通过帧校验的数据帧可能出错的数据个数大于预定的限值When the number of data frames that may fail the frame check is greater than the predetermined limit
时,也可以直接将该数据帧认定为错误帧,要求重传。, the data frame can also be directly identified as an error frame and retransmission is required.
6-3若新帧通过帧校验,则判定新帧数据为正确接收帧;6-3 If the new frame passes the frame check, it is determined that the new frame data is a correctly received frame;
若新帧没有通过帧校验,则进行下一次置换和校验;If the new frame does not pass the frame verification, perform the next replacement and verification;
若置换完所有其他组合,或置换次数高于既定的上限,则认定该 If all other combinations are replaced, or the number of replacements is higher than the established upper limit, the
帧为错误接收帧,要求重传。The frame was received in error and requires retransmission.
在本方法中还可采用前向纠错编码技术,在发送端将发送端数据帧进行纠错编码,然后在接收端对接收端数据帧和新帧进行纠错解码;或者在发送端将待传信息进行纠错编码,然后在接收端对接收信息进行纠错解码。In this method, the forward error correction coding technology can also be used to perform error correction coding on the data frame of the sending end at the sending end, and then perform error correction decoding on the data frame of the receiving end and the new frame at the receiving end; Error correction encoding is performed on the transmitted information, and then error correction decoding is performed on the received information at the receiving end.
本发明通过在传输的数据帧中引入分组校验纠错码,可以确定错误组的位置,进而对错误进行比特纠正,大大降低通信系统的误帧率及重传率,提高系统效率,特别是对于无线通系统,它可以极大地节约频率资源The present invention can determine the position of the error group by introducing a packet check error correction code into the transmitted data frame, and then perform bit correction on the error, greatly reducing the frame error rate and retransmission rate of the communication system, and improving the system efficiency, especially For wireless communication systems, it can greatly save frequency resources
附图说明:Description of drawings:
图1现有帧传输通信系统框图(以P=2为例,其他P进制数据同理)Figure 1 Block diagram of the existing frame transmission communication system (taking P=2 as an example, other P-ary data are the same)
图2本发明帧传输通信系统框图Fig. 2 frame transmission communication system block diagram of the present invention
图3奇偶校验帧的生成Figure 3 Generation of parity frame
图4“可能错误比特”的确定Figure 4 Determination of "possibly erroneous bits"
图5本发明传输系统的误帧率与现有传输系统误帧率的比较The frame error rate of the transmission system of the present invention and the comparison of the frame error rate of the existing transmission system in Fig. 5
圆圈表示采用传统方法的误帧率,The circles represent the frame error rate using the traditional method,
实线表示式3给出的理论结果,The solid line represents the theoretical result given by
虚线表示没有限定最大允许错比特数条件下的误帧率(称为理想情况)。The dotted line represents the frame error rate under the condition that the maximum allowable error bit number is not limited (called the ideal case).
实施方案:implementation plan:
现有的帧传统通信系统可分解为八个部分,如图1所示,1--数据源产生二进制数据流;2-数据流被分成一个个数据块,并为每个数据块产生用于校验接收数据正确与否的校验码,原数据,校验部分以及其他系统信息排列起来构成一个数据帧;3--数据帧通过调制等操作后传输到通道;4--通道一般为非理想信道,可能使数据帧中的某些数据的在传输的过程中出错;5---接收到的信号进行解调,得到出错或正确的数据帧;6---根据模块2中生成校验数据的规则进行接收数据帧的校验;7---若接收数据帧通过校验,则判定接收数据帧正确;8---若接收数据帧没通过校验,则判定接收数据帧错误并要求传输端重传。The existing frame traditional communication system can be decomposed into eight parts, as shown in Figure 1, 1 - the data source generates a binary data stream; 2 - the data stream is divided into data blocks, and each data block is generated for each data block The check code for checking whether the received data is correct or not, the original data, the check part and other system information are arranged to form a data frame; 3--the data frame is transmitted to the channel after modulation and other operations; 4--the channel is generally non- The ideal channel may cause some data in the data frame to be wrong during transmission; 5 --- demodulate the received signal to obtain an error or correct data frame; 6 --- generate a correction according to
本发明的帧传输通信系统在现有帧传输通信系统的基础上作了改进,增加了分组校验部分,如图2所示,其中1*--将数据帧中的数据分成等长或不等长的若干组,组之间的数据可以重叠。每组加入用于校验本组接收数据正确性的校验码(其方法可以同模块2的方法);2*--在接受帧没有通过正确性校验的情况下,根据1*的规则对每组进行校验,找出出错的数据组。由于无法确定出错组中错误比特的确切位置,所以错误组中的所有比特均被认为”可能出错的比特”;3*--将原接收帧中出错组中的一个或若干个比特进行0/1置换,并生成新帧;4*--将新生成的帧进行帧校验,其做法与模块6相同。若新帧通过帧校验,则认定其数据为正确数据;5*--若新帧没有通过帧校验,则对出错组的其他比特进行0/1置换。若没有穷尽所有可能的0/1置换,则返回3*。若已穷尽所有可能的0/1置换或置换次数超过上限仍通不过帧校验,则认定接收帧为错误接收帧。The frame transmission communication system of the present invention has been improved on the basis of the existing frame transmission communication system, and the packet verification part has been increased, as shown in Figure 2, wherein 1 * -- the data in the data frame is divided into equal length or different Several groups of equal length, the data between groups can overlap. Each group adds a check code for verifying the correctness of the data received by this group (the method can be the same as that of module 2); 2 * -- in the case that the received frame does not pass the correctness check, according to the rule of 1 * Check each group to find out the wrong data group. Since the exact position of the error bit in the error group cannot be determined, all the bits in the error group are considered "possibly erroneous bits"; 3 * -- one or several bits in the error group in the original received frame are 0/ 1 Replacement, and generate a new frame; 4 * -- Perform frame verification on the newly generated frame, the method is the same as that of
假设信道编码前数据与CRC部分的和为N比特,对于分组校验纠错法,系统要对M个帧进行并行处理。即在传输端将M个帧的N比特构成一个M行N列的矩阵。分组校验的要点是在矩阵的第M+1行生成一个奇偶校验帧,其中每个比特为每列所有比特的模2加,如图3所示。为降低系统误码率,传输端对M+1个帧分别进行信道编码然后传输到通道。Assuming that the sum of the data before channel coding and the CRC part is N bits, for the packet check error correction method, the system needs to process M frames in parallel. That is, the N bits of M frames are formed into a matrix with M rows and N columns at the transmission end. The main point of block check is to generate a parity check frame in the M+1th row of the matrix, where each bit is the
在接收端首先对M+1个帧分别进行信道解码并对前M个帧进行传统的CRC校验。若某行通过CRC校验,则可认为此行的每个比特都正确,如图4中的第1行及第4行。对于没有通过CRC校验的帧,传统的帧传输方法要求必须重传此帧。而对于分组校验纠正法,由于引入了奇偶校验行,使系统可以对接收的数据逐列进行校验。这样错误帧中错误比特所在列的位置也可大体确定下来。如图2的例子,接收数据错误比特位置为第2行第3比特及第3行第7比特,记为(2,3),(3,7)。由奇偶校验的结果给出第3列及第7列出现错码。考虑到第2行及第3行均未通过CRC校验,所以接收机认为可能出错的比特位置为(2,3),(2,7)(3,3),(3,7),如图中虚线框起来的四个比特所示。这样每帧错误比特的大体位置就被确定了。At the receiving end, channel decoding is first performed on M+1 frames respectively, and a traditional CRC check is performed on the first M frames. If a row passes the CRC check, it can be considered that each bit of the row is correct, as shown in
由于错误比特的确切位置还无法由列奇偶校验法明确给出,所以错误比特还不能修正。以第2行为例,其错误比特可能为比特3或比特7。为找出这两个比特的正确取值,需要考虑4种比特组合:00,01,10,11。这里建议采用逐个置换的方法,即将这四种组合逐次代入第二个帧的相应位置,每次代入进行一次CRC校验。当某一组合通过CRC校验,则认为此帧中的错误被纠正。若M帧中错误比特数为n,则最多需要进行2n次CRC校验来纠正错误。Since the exact position of the erroneous bit cannot be clearly given by the column parity method, the erroneous bit cannot be corrected yet. Taking
采用分组校验法使系统误帧率大大降低,在理想情况下,误帧率只有传统系统的十分之一左右。这里给出了使用本方法误帧率与使用传统方法误帧率结果的比较。两系统具有相同的频谱效率。为缩短接收机处理时间,假设系统限定当接收到的M帧中的误比特数大于ErrMax时,接收机直接要求帧重传而无需进行错误比特纠正。这里ErrMax对应于上面说明(2)所涉及的内容,意为当检测出的误比特数大于某一上限ErrMax时,系统不执行2*至5*的操作而直接要求重传的情况。但这种方法使系统误帧率比理想状况大。图5中的虚线和点划线给出了ErrMax等于6和9时误帧率的结果。可见在所有的情况下系统的误帧率都得到了显著的下降。The frame error rate of the system is greatly reduced by using the group verification method. Under ideal conditions, the frame error rate is only about one tenth of that of the traditional system. A comparison of frame error rate results using this method with traditional methods is given here. Both systems have the same spectral efficiency. In order to shorten the processing time of the receiver, it is assumed that the system limits that when the number of bit errors in the received M frames is greater than ErrMax, the receiver directly requires frame retransmission without error bit correction. Here ErrMax corresponds to the content involved in the above description (2), which means that when the number of detected bit errors is greater than a certain upper limit ErrMax, the system does not perform operations from 2 * to 5 * and directly requires retransmission. But this method makes the system frame error rate larger than ideal. The dotted and dotted lines in Fig. 5 show the results of the frame error rate when ErrMax is equal to 6 and 9. It can be seen that the frame error rate of the system has been significantly reduced in all cases.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB011181540A CN1144429C (en) | 2001-05-18 | 2001-05-18 | Packet check data transmission method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB011181540A CN1144429C (en) | 2001-05-18 | 2001-05-18 | Packet check data transmission method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1321028A CN1321028A (en) | 2001-11-07 |
| CN1144429C true CN1144429C (en) | 2004-03-31 |
Family
ID=4663003
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB011181540A Expired - Fee Related CN1144429C (en) | 2001-05-18 | 2001-05-18 | Packet check data transmission method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1144429C (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100384090C (en) * | 2003-07-14 | 2008-04-23 | 北京大学 | A Fast Cyclic CRC Check Method for Correcting Error Bits in Data Frames |
| FR2869744A1 (en) * | 2004-04-29 | 2005-11-04 | Thomson Licensing Sa | METHOD FOR TRANSMITTING DIGITAL DATA PACKETS AND APPARATUS IMPLEMENTING THE METHOD |
| HUE026879T2 (en) * | 2006-01-05 | 2016-07-28 | Nokia Technologies Oy | A flexible segmentation scheme for communication systems |
| CN101051880B (en) * | 2006-04-07 | 2010-11-03 | 华为技术有限公司 | A data frame sending, receiving and forwarding method and device thereof |
| CA2685471C (en) | 2007-04-30 | 2014-10-28 | Interdigital Technology Corporation | Feedback signaling error detection and checking in mimo wireless communication systems |
| CN105409151B (en) * | 2013-07-30 | 2019-09-10 | 索尼公司 | Information processing unit and information processing method |
| CN105468622A (en) * | 2014-09-04 | 2016-04-06 | 上海尧博信息科技有限公司 | Anti-interference semantic encoding transmission method for patent search |
| CN105812085B (en) * | 2014-12-29 | 2019-01-25 | 北京握奇智能科技有限公司 | A kind of error correction method and system of the communication receipt of audio/USB Key |
| CN106452660A (en) * | 2015-08-06 | 2017-02-22 | 鸿富锦精密工业(深圳)有限公司 | Data transfer system and method |
| US9912445B2 (en) * | 2015-09-09 | 2018-03-06 | Huawei Technologies Co., Ltd. | System and method for error feedback using a repeated preamble field |
| CN114362882A (en) * | 2021-12-29 | 2022-04-15 | 郑州众惠通信技术有限公司 | An Error Correction Method of 256byte Data Based on CAN Bus |
| CN114285734B (en) * | 2021-12-29 | 2024-02-20 | 广西电网有限责任公司柳州供电局 | Communication monitoring system of transmission line based on optical cable splice box |
| CN117354241B (en) * | 2022-06-29 | 2025-12-12 | 华为技术有限公司 | Data transmission methods, equipment and systems |
| CN115086564A (en) * | 2022-07-27 | 2022-09-20 | 维沃移动通信有限公司 | Camera image frame interference processing method and device and electronic equipment |
-
2001
- 2001-05-18 CN CNB011181540A patent/CN1144429C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1321028A (en) | 2001-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1144429C (en) | Packet check data transmission method | |
| US8356224B2 (en) | Communication method and system using two or more coding schemes | |
| US6694478B1 (en) | Low delay channel codes for correcting bursts of lost packets | |
| CN103201976B (en) | The method and apparatus of the packet level erasing protection coding for being polymerized in packet transmission | |
| EP1391042B1 (en) | Hierarchical block coding for a packet-based communications system | |
| US7095729B2 (en) | Method for multimedia communication over packet channels | |
| US7151754B1 (en) | Complete user datagram protocol (CUDP) for wireless multimedia packet networks using improved packet level forward error correction (FEC) coding | |
| KR100312729B1 (en) | Error detection scheme for arq systems | |
| EP1317811B1 (en) | Hybrid arq for packet data transmission | |
| JP3634800B2 (en) | System and method for implementing hybrid automatic repeat request using parity check combination | |
| EP2166687B1 (en) | A method and apparatus for transmiting and receiving data packets | |
| US8004963B2 (en) | Apparatus and method for packet redundancy and recovery | |
| US7464319B2 (en) | Forward error correction with codeword cross-interleaving and key-based packet compression | |
| CN1500325A (en) | Automatic request to repeat system with punctured retransmission | |
| CN1152511C (en) | Method for retransmitting information by changing intersection length through merging data package | |
| CN1366737A (en) | Encoding/decoding device and encoding/decoding method | |
| US7930617B1 (en) | Sliding window block codes for cross-packet coding | |
| CN1663130A (en) | Forward Error Correction Method | |
| KR20100063032A (en) | Data transmission method, data reception method, mobile terminal, and radio communication system | |
| CN1432213A (en) | Method and appts. for recovery of particular bits of received frame | |
| US20040181740A1 (en) | Communicating method, transmitting apparatus, receiving apparatus, and communicating system including them | |
| CN101065941A (en) | Digital signal transmitting apparatus | |
| CN119628787A (en) | A novel network lossless transmission method in power system | |
| CN105162559A (en) | HARQ (Hybrid Automatic Repeat Request) method based on maximum distance separable codes | |
| CN114189312A (en) | Bit error correction for bluetooth low energy |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20040331 Termination date: 20150518 |
|
| EXPY | Termination of patent right or utility model |