CN108173623B - User-defined baseband frame packaging method based on sliding CRC - Google Patents

User-defined baseband frame packaging method based on sliding CRC Download PDF

Info

Publication number
CN108173623B
CN108173623B CN201810037908.8A CN201810037908A CN108173623B CN 108173623 B CN108173623 B CN 108173623B CN 201810037908 A CN201810037908 A CN 201810037908A CN 108173623 B CN108173623 B CN 108173623B
Authority
CN
China
Prior art keywords
data
crc
crc16
calculator
adopting
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.)
Active
Application number
CN201810037908.8A
Other languages
Chinese (zh)
Other versions
CN108173623A (en
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.)
Sichuan Andi Technology Industrial Co Ltd
Original Assignee
Sichuan Andi Technology Industrial 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 Sichuan Andi Technology Industrial Co Ltd filed Critical Sichuan Andi Technology Industrial Co Ltd
Priority to CN201810037908.8A priority Critical patent/CN108173623B/en
Publication of CN108173623A publication Critical patent/CN108173623A/en
Application granted granted Critical
Publication of CN108173623B publication Critical patent/CN108173623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • 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

Abstract

The invention discloses a self-defined baseband frame packaging method based on sliding CRC, which adopts the following steps when the self-defined baseband frame packaging data is sent: performing head CRC calculation on the 8-bit parallel data by adopting a head CRC calculation module; adding a header CRC by adopting a header CRC adding module; adding information data by adopting a data insertion module; and a data bit width conversion module is adopted to convert the 8-bit parallel data into 4-bit parallel data. The following steps are adopted when the user-defined baseband frame decapsulated data is received: converting 4-bit parallel data into 8-bit parallel data by adopting a data bit width conversion module; a sliding CRC frame header synchronization module is adopted to carry out sliding CRC frame header synchronization, and frame header flags sof and eof are output; and extracting the information data through an information data extraction module according to the sof. The occupancy rate of the information field is improved by adding 4 bytes of redundant information; the synchronous of the encapsulation packets is realized by adopting the sliding CRC, so that the redundant information can be reduced to the maximum extent, and the code design difficulty is reduced.

Description

User-defined baseband frame packaging method based on sliding CRC
Technical Field
The invention relates to the technical field of communication, in particular to a baseband frame synchronization method of wireless communication equipment.
Background
The widely used baseband frame encapsulation protocols in the industry at present are GSE and HDLC, but the efficiency of both types of encapsulation is not very high. In the satellite communication field, the bit information of 1 baseband frame is mapped into symbols of a plurality of physical frames, and the channel bandwidth determines the transmission rate of the physical frames, so the encapsulation efficiency of the baseband frames is very important. A low efficiency encapsulation method will bring a considerable transmission delay, while a high efficiency encapsulation method can guarantee a low delay of information, thereby making the service signals of video, voice, etc. more smooth.
The GSE protocol is a data encapsulation protocol widely used in satellite devices. The GSE data is mainly composed of a GSE header and a PDU (packet data unit). The PDU value needs to be encapsulated in data unit, which may be network layer protocol data, and may also use ETH protocol data, etc.
The GSE header format is as follows:
Figure GDA0002520497840000011
the GSE packetization format is as follows:
Figure GDA0002520497840000012
the existing HDLC encapsulation method divides the data frame into 5 fields: a mark field, an address field, a control field, an information field and a check field; using transparent transmission, the fields except the flag field are inserted with "0 bit" so that the flag field is not present, and the data packet is recovered when being decapsulated.
The specific packaging format is as follows:
sign field Address field Control field Information field Check field Sign field
8bit(0x7E) 8bit 8bit/16bit 8nbit 16bit(CRC16) 8bit(0x7E)
Disclosure of Invention
The invention provides a self-defined baseband frame packaging method based on sliding CRC (cyclic redundancy check), which is used for solving the defects of the prior art and solving the problem of packaging efficiency of a baseband frame in a wireless communication process.
In order to achieve the purpose of the invention, the following technology is adopted:
a self-defined baseband frame encapsulation method based on sliding CRC is characterized in that the encapsulation format of baseband frame encapsulation is as follows:
head part Head verification Information field
16bit 16bit(CRC16) 8nbit
The custom baseband frame encapsulation method comprises custom baseband frame encapsulation data sending and custom baseband frame decapsulation data receiving.
The following steps are adopted when the user-defined baseband frame encapsulation data is sent:
step 1): performing head CRC calculation on the 8-bit parallel data by adopting a head CRC calculation module;
step 2): adding a header CRC by adopting a header CRC adding module;
step 3): adding information data by adopting a data insertion module;
step 4): and a data bit width conversion module is adopted to convert the 8-bit parallel data into 4-bit parallel data.
The following steps are adopted when the user-defined baseband frame decapsulated data is received:
step 1): converting 4-bit parallel data into 8-bit parallel data by adopting a data bit width conversion module;
step 2): a sliding CRC frame header synchronization module is adopted to carry out sliding CRC frame header synchronization, and frame header flags sof and eof are output;
step 3): and extracting the information data through an information data extraction module according to soft.
The sliding CRC frame header synchronization module consists of 1 4-byte shift register, a parallel CRC16 calculator 1, a CRC16 calculator 2 and a frame header synchronization decision device;
CRC16 calculator 1 and CRC16 calculator 2 are both 8bit CRC16 calculators;
the 4-byte shift register is respectively connected with a CRC16 calculator 1 and a CRC16 calculator 2, the CRC16 calculator 1 and the CRC16 calculator 2 are circularly restarted by adopting a restart signal after being connected in parallel, and the CRC16 calculator 1 and the CRC16 calculator 2 are connected to the frame header synchronization decider in parallel.
The technical scheme has the advantages that:
1. the invention increases the occupancy rate of the information field by adding the redundant information of 4 bytes.
2. The invention realizes the synchronization of the encapsulation packet by adopting the sliding CRC, can reduce redundant information to the maximum extent and reduce the code design difficulty.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. Wherein:
fig. 1 shows a flow chart of custom baseband frame encapsulation data transmission in the present invention.
Fig. 2 shows a flow chart of receiving custom baseband frame decapsulated data in the present invention.
Fig. 3 shows a schematic structural diagram of a frame header synchronization decision device in the present invention.
Detailed Description
As shown in fig. 1 to fig. 3, a self-defined baseband frame encapsulation method based on sliding CRC, the encapsulation format of the baseband frame encapsulation is:
head part Head verification Information field
16bit 16bit(CRC16) 8nbit
The custom baseband frame encapsulation method comprises custom baseband frame encapsulation and custom baseband frame decapsulation.
The following steps are adopted when the user-defined baseband frame encapsulation data is sent:
step 1): performing head CRC calculation on the 8-bit parallel data by adopting a head CRC calculation module;
step 2): adding a header CRC by adopting a header CRC adding module;
step 3): adding information data by adopting a data insertion module;
step 4): and a data bit width conversion module is adopted to convert the 8-bit parallel data into 4-bit parallel data.
The following steps are adopted when the user-defined baseband frame decapsulated data is received:
step 1): converting 4-bit parallel data into 8-bit parallel data by adopting a data bit width conversion module;
step 2): a sliding CRC frame header synchronization module is adopted to carry out sliding CRC frame header synchronization, and frame header flags sof and eof are output;
step 3): and extracting the information data through an information data extraction module according to soft.
The sliding CRC frame header synchronization module consists of 1 4-byte shift register, a parallel CRC16 calculator 1, a CRC16 calculator 2 and a frame header synchronization decision device;
CRC16 calculator 1 and CRC16 calculator 2 are both 8bit CRC16 calculators;
the 4-byte shift register is respectively connected with a CRC16 calculator 1 and a CRC16 calculator 2, the CRC16 calculator 1 and the CRC16 calculator 2 are circularly restarted by adopting a restart signal after being connected in parallel, and the CRC16 calculator 1 and the CRC16 calculator 2 are connected to the frame header synchronization decider in parallel.
Compared with the prior art, the invention improves the occupancy rate of the information field by adding 4 bytes of redundant information; the synchronous of the encapsulation packets is realized by adopting the sliding CRC, so that the redundant information can be reduced to the maximum extent, and the code design difficulty is reduced.
The above is only a preferred embodiment of the present invention and is not intended to limit the present invention, and it is apparent that those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (1)

1. A self-defined baseband frame encapsulation method based on sliding CRC is characterized in that the encapsulation format of the baseband frame encapsulation is as follows:
head part Head verification Information field 16bit 16bit(CRC16) 8nbit
The user-defined baseband frame encapsulation method comprises user-defined baseband frame encapsulation data sending and user-defined baseband frame de-encapsulation data receiving;
the method comprises the following steps of sending custom baseband frame encapsulation data:
step 1): performing head CRC calculation on the 8-bit parallel data by adopting a head CRC calculation module;
step 2): adding a header CRC by adopting a header CRC adding module;
step 3): adding information data by adopting a data insertion module;
step 4): a data bit width conversion module is adopted to convert the 8-bit parallel data into 4-bit parallel data;
the user-defined baseband frame de-encapsulation data receiving method comprises the following steps:
step 1): converting 4-bit parallel data into 8-bit parallel data by adopting a data bit width conversion module;
step 2): a sliding CRC frame header synchronization module is adopted to carry out sliding CRC frame header synchronization, and frame header flags sof and eof are output;
step 3): extracting information data through an information data extraction module according to the sof;
the sliding CRC frame header synchronization module consists of 1 4-byte shift register, a parallel CRC16 calculator 1, a CRC16 calculator 2 and a frame header synchronization decision device;
the CRC16 calculator 1 and the CRC16 calculator 2 are both 8-bit CRC16 calculators;
the 4-byte shift register is respectively connected with a CRC16 calculator 1 and a CRC16 calculator 2, the CRC16 calculator 1 and the CRC16 calculator 2 are circularly restarted by adopting a restart signal after being connected in parallel, and the CRC16 calculator 1 and the CRC16 calculator 2 are connected to a frame header synchronization decision device in parallel.
CN201810037908.8A 2018-01-16 2018-01-16 User-defined baseband frame packaging method based on sliding CRC Active CN108173623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810037908.8A CN108173623B (en) 2018-01-16 2018-01-16 User-defined baseband frame packaging method based on sliding CRC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810037908.8A CN108173623B (en) 2018-01-16 2018-01-16 User-defined baseband frame packaging method based on sliding CRC

Publications (2)

Publication Number Publication Date
CN108173623A CN108173623A (en) 2018-06-15
CN108173623B true CN108173623B (en) 2020-08-14

Family

ID=62514458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810037908.8A Active CN108173623B (en) 2018-01-16 2018-01-16 User-defined baseband frame packaging method based on sliding CRC

Country Status (1)

Country Link
CN (1) CN108173623B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595504A (en) * 2013-11-04 2014-02-19 上海数字电视国家工程研究中心有限公司 Encapsulation method and calibration method for data package
CN104811265A (en) * 2014-01-29 2015-07-29 上海数字电视国家工程研究中心有限公司 Base-band frame encapsulation method and de-encapsulation method
CN105323220A (en) * 2014-07-10 2016-02-10 上海交通大学 IP-based multimedia program mapping and access signaling and method
CN105409176A (en) * 2013-07-22 2016-03-16 三星电子株式会社 Transmitting apparatus, receiving apparatus and signal processing method thereof
CN105406937A (en) * 2014-09-12 2016-03-16 中兴通讯股份有限公司 Frame synchronization method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934730B2 (en) * 2000-10-13 2005-08-23 Xpriori, Llc Method and system for generating a transform
US7864792B2 (en) * 2007-04-20 2011-01-04 Cray, Inc. Load balancing for communications within a multiprocessor computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105409176A (en) * 2013-07-22 2016-03-16 三星电子株式会社 Transmitting apparatus, receiving apparatus and signal processing method thereof
CN103595504A (en) * 2013-11-04 2014-02-19 上海数字电视国家工程研究中心有限公司 Encapsulation method and calibration method for data package
CN104811265A (en) * 2014-01-29 2015-07-29 上海数字电视国家工程研究中心有限公司 Base-band frame encapsulation method and de-encapsulation method
CN105323220A (en) * 2014-07-10 2016-02-10 上海交通大学 IP-based multimedia program mapping and access signaling and method
CN105406937A (en) * 2014-09-12 2016-03-16 中兴通讯股份有限公司 Frame synchronization method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
滑动式CRC交织编码在无线物联网中的应用;王善斌等;《山东理工大学学报(自然科学版)》;20110930;第25卷(第5期);第1-3节 *

Also Published As

Publication number Publication date
CN108173623A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
WO2021103928A1 (en) Data transmission method and apparatus, terminal device and storage medium
US7835401B2 (en) System and method for inverse multiplexing using transcoding and frame alignment markers
WO2017012453A1 (en) Method and device for data transmission
CN108989708A (en) The low speed signal photoelectric conversion module of all-purpose belt multimedia interface
CN104243388A (en) Sound wave communication system on basis of OFDM (orthogonal frequency division multiplexing)
WO2017219725A1 (en) Method and apparatus for frame data transmission between near-end device and remote device
WO2012155614A1 (en) Method, apparatus and system for data compression and decompression in wireless communication system
CN102196321A (en) Method for transmitting 100GE (100gigabit Ethernet) data in OTN (Optical Transport Network) and data sending device
US20050013313A1 (en) Method for encapsulating data streams
WO2020038424A1 (en) Data packet transmission method and apparatus, storage medium, and electronic apparatus
CN103281773B (en) A kind of data handling system and method thereof
CN102158282B (en) Optical fiber longitudinal difference protection device and synchronous communication method thereof
CN108173623B (en) User-defined baseband frame packaging method based on sliding CRC
CN1972163B (en) A signaling data transmission apparatus in radio frequency widening module and its frame synchronization method
CN104917533B (en) A kind of I/Q data compression method, device and system
US9872035B2 (en) System and method for transcoding data
WO2021023001A1 (en) Service transmission method and apparatus, and computer-readable storage medium
CN112235828B (en) Data compression method based on CPRI protocol
CN108092746A (en) A kind of serial port communication method and system
US7953101B2 (en) Encoding fibre channel over ethernet transport
CN103209041A (en) Data collection method for GSM-R (Global System for Mobile for Railways) network interface
CN109639713A (en) A kind of I/Q data frame and transmission, method of reseptance
WO2023165222A1 (en) Mapping method and apparatus for content to be mapped, and storage medium and electronic apparatus
CN1236591C (en) First-layer protocol realizing device and method for personal hand-held communication system
WO2024032297A1 (en) Service information processing method, network device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant