CN105187159A - Decoding method used for grouping and regrouping algebraic exchange engine data packet - Google Patents

Decoding method used for grouping and regrouping algebraic exchange engine data packet Download PDF

Info

Publication number
CN105187159A
CN105187159A CN201510562750.2A CN201510562750A CN105187159A CN 105187159 A CN105187159 A CN 105187159A CN 201510562750 A CN201510562750 A CN 201510562750A CN 105187159 A CN105187159 A CN 105187159A
Authority
CN
China
Prior art keywords
packet
cell
data
judged result
state machine
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
CN201510562750.2A
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.)
Shenzhen Research Institute of CUHK
Original Assignee
Shenzhen Research Institute of CUHK
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 Shenzhen Research Institute of CUHK filed Critical Shenzhen Research Institute of CUHK
Priority to CN201510562750.2A priority Critical patent/CN105187159A/en
Publication of CN105187159A publication Critical patent/CN105187159A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0076Distributed coding, e.g. network coding, involving channel coding

Abstract

The invention discloses a decoding method used for grouping and regrouping algebraic exchange engine data packets, which belongs to the technical field of communication and relates to the fields of algebraic exchange and network encoding. The decoding method is a decoding algorithm with a network encoding function in an algebraic exchange engine. The decoding algorithm can recover cells lost in the exchange process through carrying out exclusive-or operation on the cells by utilizing redundant information in the encoding cells. The decoding method of a function of being capable of reducing loss rate of small data packets during the exchange process, thereby achieving the purposes of enhancing network throughput, increasing communication efficiency and the like.

Description

A kind of coding/decoding method for algebraically switching engine packet packet recombining
Technical field
The application relates to communication technical field, refers more particularly to algebraically and exchanges and network code field.
Background technology
Algebraically exchange be a kind of multipath from route switching structure, algebraically distributive lattice theory is applied to from route matrix by this structure, and this structure has completely distributed from route, without advantages such as inner buffer, linear speed and non-jitters.Under guarantee provides the condition of QoS, be applicable to extensive expansion.But this structure can produce internal contention and external blocking, thus result in certain packet loss.In existing algebraically switching system, directly cannot recover for the packet lost, this packet can only be obtained by the mode retransmitted, thus reduce communication efficiency.In order to reduce packet loss, a kind of effective method is merged network code and algebraically switching fabric, utilizes network code to recover the packet lost, thus the packet loss of effective reduction system.
Summary of the invention
The application provides a kind of coding/decoding method for algebraically switching engine packet packet recombining, decoding algorithm in the algebraically switching engine of its coding Network Based, it can utilize coding cell, the cell lost in exchange process is recovered by decoding computing, thus improve the targets such as communication quality, reduce the cost of data re-transmission.
Particularly, the coding/decoding method for algebraically switching engine packet packet recombining that the application provides, comprising:
Parallel cell of data is carried out parallel-serial conversion by buffer memory;
Input state machine carries out header extraction respectively to the cell of data converting serial to, header identification, access address are determined, be stored into assembling buffer memory and packet integrality judges;
Packet integrality judged result is sent to output state machine;
Output state machine is inquired about packet integrality judged result;
Output state machine abandons packet or decodes, exports, and wherein, if judged result is that packet is complete, need not decode; If judged result is lose a cell of data in packet, then decoded the cell of loss by the cell of data after combining remaining cell of data and coding; If judged result is for lose two and two or more cell of data, then directly abandon this packet.
The beneficial effect of the application is:
The application can utilize the redundant information in coding cell, by the XOR to cell, recover the cell lost in exchange process, this decoding function can reduce the Loss Rate of packet in exchange process, thus reach increase network throughput, improve the targets such as communication efficiency.
Accompanying drawing explanation
Fig. 1 is the structural representation of the algebraically switching engine in an embodiment with network code function;
Fig. 2 is the schematic diagram of decoded packet data and restructuring in an embodiment;
Fig. 3 is the process schematic of decoding in an embodiment.
Embodiment
By reference to the accompanying drawings the application is described in further detail below by embodiment.
Please refer to Fig. 1, is the structural representation of the algebraically switching engine of the coding Network Based in the present invention.The IP packet of standard from N number of input port 1.1.1,1.1.2 ..., 1.1.N enters, and in data preprocessing module 1.2, will add synchronous control signal, and packet is cut into the equal data slice of length and adds packet header control information, and wherein N is positive integer.In Fig. 1, the thick arrow 1 of black represents package, i.e. the Ethernet data bag of standard; After packet enters data preprocessing module 1.2, the thick arrow 2 of grey represents the data slice after being cut, i.e. cell; The thin arrow 3 of grey represents Flow Control, i.e. data synchronizing signal.Coding module 1.3 pairs of coding for information element, the redundant information of generation enters post-module with raw data packets.N number of parallel VOQ module 1.4.1,1.4.2 ..., data are shunted according to output port by 1.4.N, packet are sent into algebraically Switching Module 1.5 by certain dispatching algorithm simultaneously.At N number of Knockdown block 1.6.1,1.6.2 ..., in 1.6.N, the cell belonging to same packet is re-assemblied in a certain order, recovers original packet.Only having when a cell loss concealment having been detected in assembling process, just can start N number of decoder module 1.7.1,1.7.2 ..., 1.7.N, recovers the cell of loss by decoding.
The coding method for algebraically switching engine packet packet recombining in the application, comprising:
Parallel cell of data is carried out parallel-serial conversion by buffer memory;
Input state machine carries out header extraction respectively to the cell of data converting serial to, header identification, access address are determined, be stored into assembling buffer memory and packet integrality judges;
Packet integrality judged result is sent to output state machine;
Output state machine is inquired about packet integrality judged result;
Output state machine abandons packet or decodes, exports, and wherein, if judged result is that packet is complete, need not decode; If judged result is lose a cell of data in packet, then decoded the cell of loss by the cell of data after combining remaining cell of data and coding; If judged result is for lose two and two or more cell of data, then directly abandon this packet.
Please refer to Fig. 2, in above process, Knockdown block 1.6.1,1.6.2 ..., in 1.6.N, it comprises two functions: and turn string and assembling output.And a turn string state machine 2.1 is implemented and turns string function, it will exchange the cell of data serialization processed: exchange in gap at first half, by parallel data cell stored in cell buffer memory 2.2, extract header, inspection cell validity, puts into header buffer memory 2.3 simultaneously, exchange in gap at latter half, cell is read in a serial fashion, and adds control signal, send into assembled part together with header buffer memory.
At assembling output, its input state machine carries out header extraction respectively, header identification, access address are determined, stored in operations such as packet header buffer memory 2.4, the judgements of packet integrality, because packet is when being cut into several cells, the identification of data packets word be equipped with to each cell and cell of data identifier word, leave in header.After header extracts, according to the address that identification of data packets word and cell of data identifier word determination cell store.Cell of data is stored in after data pack buffer 2.6, check that whether packet is complete, if complete or imperfect and exceed maximum latency, by packet integrality judged result (comprise complete, packet loss cell but decodable code is recovered, packet loss cell not decodable code recover) be sent to output state machine.
Mainly by exporting, decoder state machine 2.5 realizes to assemble this function, carry out the inquiry of packet complete judgement Structure Receive respectively, get complete packet or abandon or decode, packet exports.If packet is complete, need not decoding, directly sending packet to exporting buffer memory 2.7; If lose a cell in packet, the cell of data of loss can be decoded in conjunction with remaining cell and coding cell; If lose two and two or more, directly abandon this bag and do abnormality processing, and empty memory space.
Decoding is the inverse process of coding, and thinking is as follows:
As shown in Figure 3, Packet1 is made up of N number of cell, a total N+1 cell after coding.If in the process exchanged, the n-th cell loss concealment in Packet1, then start the data that decoder module recovers loss.Decoding algorithm is: Cell_n=Cell_1 ⊕ Cell_2 ⊕ ... ⊕ Cell_n-1 ⊕ Cell_n+1 ⊕ ... ⊕ Cell_N+1.
Finally, export buffer memory the Packet Generation assembled is exported to network interface.
Above content is the further description done the application in conjunction with concrete execution mode, can not assert that the concrete enforcement of the application is confined to these explanations.For the application person of an ordinary skill in the technical field, under the prerequisite not departing from the present application design, some simple deduction or replace can also be made.

Claims (1)

1., for a coding/decoding method for algebraically switching engine packet packet recombining, it is characterized in that, comprising:
Parallel cell of data is carried out parallel-serial conversion by buffer memory;
Input state machine carries out header extraction respectively to the cell of data converting serial to, header identification, access address are determined, be stored into assembling buffer memory and packet integrality judges;
Packet integrality judged result is sent to output state machine;
Output state machine is inquired about packet integrality judged result;
Output state machine abandons packet or decodes, exports, and wherein, if judged result is that packet is complete, need not decode; If judged result is lose a cell of data in packet, then decoded the cell of loss by the cell of data after combining remaining cell of data and coding; If judged result is for lose two and two or more cell of data, then directly abandon this packet.
CN201510562750.2A 2015-09-07 2015-09-07 Decoding method used for grouping and regrouping algebraic exchange engine data packet Pending CN105187159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510562750.2A CN105187159A (en) 2015-09-07 2015-09-07 Decoding method used for grouping and regrouping algebraic exchange engine data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510562750.2A CN105187159A (en) 2015-09-07 2015-09-07 Decoding method used for grouping and regrouping algebraic exchange engine data packet

Publications (1)

Publication Number Publication Date
CN105187159A true CN105187159A (en) 2015-12-23

Family

ID=54909030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510562750.2A Pending CN105187159A (en) 2015-09-07 2015-09-07 Decoding method used for grouping and regrouping algebraic exchange engine data packet

Country Status (1)

Country Link
CN (1) CN105187159A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338824A (en) * 2000-08-17 2002-03-06 华为技术有限公司 Method and decoder for decoding turbo code
CN101359981A (en) * 2008-09-27 2009-02-04 腾讯科技(深圳)有限公司 Method, apparatus and system for data packet redundant encoding and decoding
CN103688514A (en) * 2013-02-26 2014-03-26 北京大学深圳研究生院 Coding method for minimum storage regeneration codes and method for restoring of storage nodes
CN103688515A (en) * 2013-03-26 2014-03-26 北京大学深圳研究生院 Method for encoding minimum bandwidth regeneration codes and repairing storage nodes
WO2015000750A1 (en) * 2013-07-04 2015-01-08 Norwegian University Of Science And Technology Network coding over gf(2)
CN105099620A (en) * 2015-06-03 2015-11-25 香港中文大学深圳研究院 Algebra switching system, and assembly and decoding algorithm and decoding algorithm of data packet thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338824A (en) * 2000-08-17 2002-03-06 华为技术有限公司 Method and decoder for decoding turbo code
CN101359981A (en) * 2008-09-27 2009-02-04 腾讯科技(深圳)有限公司 Method, apparatus and system for data packet redundant encoding and decoding
CN103688514A (en) * 2013-02-26 2014-03-26 北京大学深圳研究生院 Coding method for minimum storage regeneration codes and method for restoring of storage nodes
CN103688515A (en) * 2013-03-26 2014-03-26 北京大学深圳研究生院 Method for encoding minimum bandwidth regeneration codes and repairing storage nodes
WO2015000750A1 (en) * 2013-07-04 2015-01-08 Norwegian University Of Science And Technology Network coding over gf(2)
CN105099620A (en) * 2015-06-03 2015-11-25 香港中文大学深圳研究院 Algebra switching system, and assembly and decoding algorithm and decoding algorithm of data packet thereof

Similar Documents

Publication Publication Date Title
CN104393951B (en) A kind of remote sensing load general data processing system based on queuing
EP2629459A2 (en) Avionics full-duplex switched ethernet network
CN100525450C (en) Method and device for realizing Hoffman decodeng
CN114338040B (en) Block chain node grouping multi-chain three-time consensus method
CN104158624A (en) Redundancy two-out-of-two decoding control device for BTM (Balise Transmission Module) system and redundancy two-out-of-two decoding method
CN103685221A (en) A network invasion detection method
CN110557224A (en) Unidirectional transmission device and system for power network
Nguyen et al. Advanced adaptive decoder using Fulcrum network codes
CN101997930A (en) Retransmission-erasure code transmission protocol-based remote mirroring method and system
CN104767828A (en) Inter-chip high-speed interconnection link layer design method and system
CN107231628B (en) Safety data fusion method suitable for multiple application scenes
CN105187159A (en) Decoding method used for grouping and regrouping algebraic exchange engine data packet
CN104917702A (en) Algebra commutation system with network encoding function and preprocessing algorithm of algebra commutation system
CN101656681A (en) Network coding router based on network processor
CN105099620A (en) Algebra switching system, and assembly and decoding algorithm and decoding algorithm of data packet thereof
CN109639393B (en) Sliding window network coding method based on quadratic permutation polynomial
Deng et al. A distributed identity authentication scheme for differential fault attack
EP2621121A2 (en) Supercharged codes
CN105187160A (en) Encoding method used for grouping and regrouping algebraic exchange engine data packet
CN104917701B (en) Algebraic exchange system with network coding function and VOQ scheduling algorithm thereof
CN116418544A (en) High-speed encryption and decryption engine and encryption and decryption implementation method
CN103346862A (en) On-chip network data transmission device and method with cascade protection function
CN105099955A (en) Algebra switching system provided with network coding function, and coding algorithm thereof
Rivera et al. Performance dynamic coding RLNC LoRa on smart cities
CN105262562A (en) Preprocessing method for grouping and recombining algebraic exchange engine data packets

Legal Events

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

Application publication date: 20151223

WD01 Invention patent application deemed withdrawn after publication