CN102142921B - Code stream structure and method for transmitting data - Google Patents

Code stream structure and method for transmitting data Download PDF

Info

Publication number
CN102142921B
CN102142921B CN201010103438.4A CN201010103438A CN102142921B CN 102142921 B CN102142921 B CN 102142921B CN 201010103438 A CN201010103438 A CN 201010103438A CN 102142921 B CN102142921 B CN 102142921B
Authority
CN
China
Prior art keywords
pdu
mux
head
data
supplemental field
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
CN201010103438.4A
Other languages
Chinese (zh)
Other versions
CN102142921A (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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201010103438.4A priority Critical patent/CN102142921B/en
Publication of CN102142921A publication Critical patent/CN102142921A/en
Application granted granted Critical
Publication of CN102142921B publication Critical patent/CN102142921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention provides a code stream structure and a method for transmitting data, relating to the field of data communication. When a transmitting end is multiplexed to generate a multiplex protocol data unit (MUM-PDU), data adds a supplemented field on the tail of the MUM-PDU; and the supplemented field is multiple copies of the head of the MUM-PDU for improving the gain of the head of the MUM-PDU. When a receiving end receives the MUM-PDU, the head of the MUM-PDU is subjected to cyclic redundancy check (CRC) verification; if the MUM-PDU has an error code, the supplemented field is continuously verified; the MUM-PDU is kept only when the head of one MUM-PDU in the supplemented field is correct after CRC verification; and thus, MUM-PDU loss probability is lowered so as to reduce the possibility of losing data.

Description

The code flow structure of transfer of data and method
Technical field
The present invention relates to data communication technology field, particularly relate to code flow structure and the transmission method thereof of the transfer of data of low bit-rate wireless channel terminal under high bit-error environment.
Background technology
H.324/M international standard can be applied at wireless circuit switched network support real time multi-media services.The sub-protocol standard that this standard comprises is: voice, video, user data and the multiplexed of control data be separated (H.223) etc.
Third generation affiliate (3rd Generat ion Partnership Project, i.e. 3GPP) adopt a standard of H.324/M advising as 3G network conventional video phone, 3G-324M is named as by its suggestion adopted, 3G-324M terminal is the real-time Transmission equipment being applied to the video of circuit-switched network, audio frequency and data, but propose ask for something for speech, video and multiplex operation, as: 3G-324M terminal is specified H.263 as forcing Video coding to be basic standard, and using MPEG-4 as video coding recommendation; Specify AMR as pressure audio coding standard, and using G.732.1 as audio coding proposed standard; H.223 accessories B is used for Protective signal multiplex data.
The principle of Audio and Video data processing and transmission is as shown in Figure 1: video input apparatus and audio input device inputting video data and voice data are to 3G324M protocol stack, encoded by H.263 codec wherein and AMR codec, adaptation and multiplexing is carried out through H.223 protocol stack, and after adding relevant indication information by H.245 protocol stack, sent by 3G channel.Wherein, according to 3G-324M agreement regulation, the suggestion of 3G channel adopts CS64K transmission.The reception of reverse data is contrary with process above with process.
In prior art, the transmission method of data comprises:
Step one: transmitting terminal is encoded to data;
Step 2: the data-reusing after coding is generated MUX-PDU (multiplex protocol data units by transmitting terminal, Multiplex Protocol Data Unit), described MUX-PDU comprises MUX-PDU head and MUX-PDU load, while multiplexing generation MUX-PDU, loading synchronous mark before the head of MUX-PDU;
Step 3: data are sent to receiving terminal by 3G channel by transmitting terminal;
Step 4: receiving terminal receives MUX-PDU data, search sync id, carries out CRC (cyclic redundancy code) verification to MUX-PDU head, if do not have error code, then obtains MUX-PDU; If there is error code, then abandon this MUX-PDU.
In above process, MUX-PDU is the minimum transmission units of transfer of data, under wireless network environment, may error code be there is in low bit-rate channel transmission data, if MUX-PDU head produces error code because of transmission, then receiving terminal is to the failure of MUX-PDU head CRC check, thus cannot take out a MUX-PDU according to MUX-PDU head and cause MUX-PDU to lose.If video data then there will be the unfixed mosaic of large area or grey block, if speech data then there will be choppy voice, these are all that user institute is unacceptable.
Summary of the invention
The object of this invention is to provide a kind of code flow structure and method of transfer of data, in transmitting procedure, produce error code to overcome MUX-PDU head in prior art, cause receiving terminal to take out a MUX-PDU according to the head of MUX-PDU and to lose the phenomenon of MUX-PDU data.
The present invention solves above-mentioned technical problem by such technical scheme:
A kind of code flow structure of transfer of data, the code flow structure of described transfer of data comprises sync id and MUX-PDU, MUX-PDU is made up of MUX-PDU head and MUX-PDU load, wherein, the code flow structure of described transfer of data also comprises supplemental field, and described supplemental field includes at least one copy of corresponding MUX-PDU head.
As a further improvement on the present invention, described supplemental field is corresponding with MUX-PDU and be carried in the afterbody of corresponding MUX-PDU.
As a further improvement on the present invention, described supplemental field is carried in after MUX-PDU load.
The present invention also provides a kind of transmission method of code flow structure, and described transmission method, while transmission MUX-PDU, repeats transmission MUX-PDU head.
As a further improvement on the present invention, described transmission method transmits data at transmitting terminal and receiving terminal, comprising:
Step one: transmitting terminal is encoded to data, and the data-reusing after coding is generated MUX-PDU, while multiplexing generation MUX-PDU, loading synchronous mark before MUX-PDU head, supplemental field is loaded after MUX-PDU load, and being sent to receiving terminal, described supplemental field includes at least one copy of corresponding MUX-PDU head;
Step 2: receiving terminal receives MUX-PDU, search sync id, carries out cyclic redundancy check to MUX-PDU head, if do not have error code, obtains MUX-PDU, if there is error code, perform step 3;
Step 3: obtain supplemental field, carry out cyclic redundancy check to supplemental field, is then combined with MUX-PDU load through verifying correct MUX-PDU head through the correct MUX-PDU head of cyclic redundancy check if there is one, acquisition MUX-PDU.
As a further improvement on the present invention, in described step 3, if do not find that existence one is through the correct MUX-PDU head of cyclic redundancy check, then abandon MUX-PDU in supplemental field.
Compared with prior art, the present invention is adding supplemental field by the afterbody at MUX-PDU, for improving the gain of MUX-PDU head, effectively prevent because MUX-PDU head produces error code in transmitting procedure, cause receiving terminal to take out a MUX-PDU according to the head of MUX-PDU and to lose the phenomenon of MUX-PDU data.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described.
Fig. 1 is the principle schematic of data processing and transmission in prior art;
Fig. 2 is the code flow structure schematic diagram of transfer of data of the present invention;
Fig. 3 is the schematic flow sheet of data transmission method of the present invention;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Refer to Fig. 2, the code flow structure of transfer of data provided by the invention comprises sync id, MUX-PDU (multiplex protocol data units, Multiplex Protocol Data Unit) head, MUX-PDU load and supplemental field (Enhance Part).Wherein, supplemental field is added on the afterbody of MUX-PDU, is namely added on after MUX-PDU load.Described supplemental field comprises the copy of multiple MUX-PDU head, can be used for the gain improving MUX-PDU head.By increasing supplemental field, repeating to transmit MUX-PDU head, reaching the object that significant data repeats to transmit, reducing the losing probability of MUX-PDU in transmitting procedure.
Transmitting terminal is encoded to data, and by multiplexing for coded data generation MUX-PDU, while multiplexing generation MUX-PDU, loading synchronous mark before MUX-PDU head, after MUX-PDU load, load supplemental field, wherein supplemental field comprises multiple copies that are multiple and MUX-PDU head.
The MUX-PDU of multiplexing generation is sent to receiving terminal by 3G channel by transmitting terminal.
Receiving terminal receives MUX-PDU data, carries out CRC (CRC) verification, if do not have error code, then obtain MUX-PDU to MUX-PDU head; If there is error code, then continues the supplemental field obtaining MUX-PDU, if find that existence one checks correct MUX-PDU head through CRC in supplemental field, being then combined with current MUX-PDU load through verifying correct MUX-PDU head, obtaining MUX-PDU; If do not find that existence one checks correct MUX-PDU head through CRC in supplemental field, then abandon this MUX-PDU.
Refer to Fig. 3, the present invention is the corresponding transmission method providing a kind of data also, and described method comprises the steps:
Step 301: transmitting terminal is encoded to data;
Step 302: the data-reusing after coding is generated MUX-PDU (multiplex protocol data units by transmitting terminal, Multiplex Protocol Data Unit), described MUX-PDU comprises MUX-PDU head, MUX-PDU load, while multiplexing generation MUX-PDU, before MUX-PDU head, loading synchronous mark, loads supplemental field, and is sent to receiving terminal by 3G channel after MUX-PDU load;
Step 303: receiving terminal receives MUX-PDU data, search sync id, CRC check is carried out to MUX-PDU head, if there is no error code, performs step 305, if there is error code, perform step 304:
Step 304: continue to obtain MUX-PDU supplemental field, CRC check is carried out to supplemental field, if find that existence one checks correct MUX-PDU head through CRC in supplemental field, then perform step 306, if do not find that existence one checks correct MUX-PDU head through CRC in supplemental field, then perform step 306;
Step 305: be combined with MUX-PDU load through verifying correct MUX-PDU head, obtains MUX-PDU;
Step 306: abandon MUX-PDU;
The present invention, when transmitting terminal multiplexing generation MUX-PDU, adds a supplemental field at MUX-PDU afterbody, and this supplemental field includes multiple MUX-PDU head copied, for improving the gain of MUX-PDU head.Receiving terminal is when receiving MUX-PDU, CRC check is carried out to MUX-PDU head, if find that MUX-PDU head exists error code, then can continue to verify supplemental field, as long as there is a MUX-PDU head to be correct through CRC inspection in supplemental field, is then combined with MUX-PDU load through verifying correct MUX-PDU head, thus obtains MUX-PDU, that just can reduce the probability that MUX-PDU loses, thus decreases the loss of data.
Above by embodiment to invention has been detailed description, but these are not construed as limiting the invention.Protection scope of the present invention is not limited with above-mentioned execution mode, as long as those of ordinary skill in the art modify or change according to the equivalence that disclosed content is done, all should include in claims and remember in the protection range of cultivation.

Claims (2)

1. a data transmission method, it is characterized in that, the code flow structure of described transfer of data comprises sync id and MUX-PDU, MUX-PDU is made up of MUX-PDU head and MUX-PDU load, the code flow structure of described transfer of data also comprises supplemental field, and described supplemental field includes multiple copies of corresponding MUX-PDU head; Wherein, described supplemental field is with MUX-PDU one_to_one corresponding and after the MUX-PDU load being carried in the afterbody of corresponding MUX-PDU;
Described transmission method, while transmission MUX-PDU, repeats transmission MUX-PDU head;
Wherein, described transmission method transmits data at transmitting terminal and receiving terminal, comprising:
Step one: transmitting terminal is encoded to data, and the data-reusing after coding is generated MUX-PDU, while multiplexing generation MUX-PDU, loading synchronous mark before MUX-PDU head, supplemental field is loaded after MUX-PDU load, and being sent to receiving terminal, described supplemental field includes at least one copy of corresponding MUX-PDU head;
Step 2: receiving terminal receives MUX-PDU, search sync id, carries out cyclic redundancy check to MUX-PDU head, if do not have error code, obtains MUX-PDU, if there is error code, perform step 3;
Step 3: obtain supplemental field, carry out cyclic redundancy check to supplemental field, is then combined with current MUX-PDU load through verifying correct MUX-PDU head through the correct MUX-PDU head of cyclic redundancy check if there is one, acquisition MUX-PDU.
2. data transmission method as claimed in claim 1, is characterized in that, in described step 3, if do not find that existence one is through the correct MUX-PDU head of cyclic redundancy check, then abandon MUX-PDU in supplemental field.
CN201010103438.4A 2010-01-29 2010-01-29 Code stream structure and method for transmitting data Active CN102142921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010103438.4A CN102142921B (en) 2010-01-29 2010-01-29 Code stream structure and method for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010103438.4A CN102142921B (en) 2010-01-29 2010-01-29 Code stream structure and method for transmitting data

Publications (2)

Publication Number Publication Date
CN102142921A CN102142921A (en) 2011-08-03
CN102142921B true CN102142921B (en) 2015-03-25

Family

ID=44410176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010103438.4A Active CN102142921B (en) 2010-01-29 2010-01-29 Code stream structure and method for transmitting data

Country Status (1)

Country Link
CN (1) CN102142921B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602616A (en) * 2002-08-09 2005-03-30 松下电器产业株式会社 Header compression/decompression device and header compression/decompression method
CN1852290A (en) * 2005-08-12 2006-10-25 上海华为技术有限公司 Method for generating transmission data block
CN101057501A (en) * 2004-09-22 2007-10-17 高通股份有限公司 Video demultiplexer and decoder with efficient data recovery
CN101094399A (en) * 1996-09-02 2007-12-26 株式会社东芝 Encoding/decoding apparatus and encoding-multiplexing/decoding-demultiplexing apparatus
CN101557241A (en) * 2008-04-07 2009-10-14 联发科技股份有限公司 Method and apparatus for performing protocol data unit header re-synchronization in communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094399A (en) * 1996-09-02 2007-12-26 株式会社东芝 Encoding/decoding apparatus and encoding-multiplexing/decoding-demultiplexing apparatus
CN1602616A (en) * 2002-08-09 2005-03-30 松下电器产业株式会社 Header compression/decompression device and header compression/decompression method
CN101057501A (en) * 2004-09-22 2007-10-17 高通股份有限公司 Video demultiplexer and decoder with efficient data recovery
CN1852290A (en) * 2005-08-12 2006-10-25 上海华为技术有限公司 Method for generating transmission data block
CN101557241A (en) * 2008-04-07 2009-10-14 联发科技股份有限公司 Method and apparatus for performing protocol data unit header re-synchronization in communication system

Also Published As

Publication number Publication date
CN102142921A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
KR102228062B1 (en) Method and apparatus for content delivery
CN101803263B (en) Scalable error detection and cross-session timing synchronization for packet-switched transmission
KR100959293B1 (en) Method and device for assembling forward error correction frames in multimedia streaming
CN101193312B (en) Self-adapted error recovery device, video communication system and method based on feedback
JP2003318851A (en) Code conversion transmission method, code conversion reception method, device, system and program of audio data
CN102025963B (en) Method and device for controlling call of video telephone
US9331815B2 (en) Transmission device, reception device, transmission method, and reception method
WO2017050067A1 (en) Video communication method, apparatus, and system
JP4944250B2 (en) System and method for providing AMR-WBDTX synchronization
CN101924914A (en) Method for switching television channels and system and device thereof
KR20150096764A (en) Communication method, system and device for optical network system
AU2013260417A2 (en) Apparatus and method of transmitting and receiving packet in a broadcasting and communication system
CN101345864B (en) Video processing method and system for processing data
CN103023630B (en) Method for hiding information of speech stream on basis of speech coding by pulse code modulation
CN103826084A (en) Audio encoding method
US20150143204A1 (en) Transmission device, reception device, transmission method, and reception method
CN108429921A (en) A kind of video coding-decoding method and device
CN102316360A (en) Video refreshing method, device and system
CN102142921B (en) Code stream structure and method for transmitting data
CN1863311B (en) Method of transmitting video data
CN104137455A (en) Method and apparatus for providing streaming service
CN101459833B (en) Transcoding method used for similar video code stream and transcoding device thereof
CN103875241B (en) For the method and apparatus of the treatment interference when digital picture time series is transmitted
CN102404573A (en) Method and device for synchronously processing audio and video
EP0840521A2 (en) Radio-communication video terminal device

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110803

Assignee: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Assignor: Leadcore Technology Co., Ltd.

Contract record no.: 2018990000159

Denomination of invention: Code stream structure and method for transmitting data

Granted publication date: 20150325

License type: Common License

Record date: 20180615