CN1538315A - Method of reducing data transmission delay in coding decoding process and its device - Google Patents

Method of reducing data transmission delay in coding decoding process and its device Download PDF

Info

Publication number
CN1538315A
CN1538315A CNA03109757XA CN03109757A CN1538315A CN 1538315 A CN1538315 A CN 1538315A CN A03109757X A CNA03109757X A CN A03109757XA CN 03109757 A CN03109757 A CN 03109757A CN 1538315 A CN1538315 A CN 1538315A
Authority
CN
China
Prior art keywords
voice packet
data
voice
buffer zone
module
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.)
Granted
Application number
CNA03109757XA
Other languages
Chinese (zh)
Other versions
CN100353352C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB03109757XA priority Critical patent/CN100353352C/en
Publication of CN1538315A publication Critical patent/CN1538315A/en
Application granted granted Critical
Publication of CN100353352C publication Critical patent/CN100353352C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method is suitable for transmission, where more than one coding format conversion is carried out for IP voice. First, a decoding module decodes source coded voice packet in a format into standard format. Then, with voice packet in standard format being encoded into needed formatted voice packet by encoding module, transmission is continued. The method includes following steps: (1) after source coded voice packet being decoded, voice packet in standard format is stored in voice data buffer area; (2) reading data of voice packet decoded in step (1) from voice data buffer area, encoding module encodes voice packet into needed format and outputs the voice packet. The invention reduces transmission delay of voice packet introduced in decoding procedure.

Description

The method and the device thereof of data transmission time-delay in the cataloged procedure separated in a kind of minimizing
Technical field
The present invention relates to data transmission technology, be meant a kind of method and device thereof that data transmission time-delay in the cataloged procedure separated in voice that reduce especially.
Background technology
Along with Voice over IP (VoIP, Voice over Internet Protocol) development of technology and the interconnected requirement of diverse network, in the process of voice coding transmission, sometimes need voice to be transformed into another kind of coded system and continue transmission again, sometimes even can need repeatedly the conversion of coded system from a kind of coded system.As adaptive multi-rate (AMR, Adaptive Multi-Rate) with G.729, G.723 wait conversion between the coded system.
Coding and decoding is the algorithm that a kind of software is realized.At present, the method that realizes the voice coding modes conversion is finished with two processor cascades.As shown in Figure 1, a processor A is as demoder, and another processor B is as scrambler.Processor A is finished the decode operation of the source code voice packet of input, and decoder module is decoded the voice packet of input, is sent to the serial data interface module with standard data format and exports; Processor B receives data by the serial data interface module, sends data to coding module and encodes, the purpose encoded voice bag of the output form that requires.
In the voice coding modes transfer process, this cascade system will be transmitted two data between processor through the serial data interface module, the suitable converter of the effect of serial data interface module, the data stream transformat and the external data serial transfer form of processor inside are changed, therefore in this cascade, Data transmission is introduced bigger transmission delay through the dual serial data-interface between CPU.As the VoP of 20ms size,, need the time of 20ms at least if by the serial ports transmission.Serial data interface module between CPU becomes the speed bottleneck of voice packet coded system transfer process.
Summary of the invention
In view of this, fundamental purpose of the present invention has been to provide a kind of device that voice are separated the method for data transmission time-delay in the cataloged procedure and realized the method that reduces.
Realize the present invention, need following method:
At first, the voice packet input interface module is converted into the source code voice packet data stream of internal format, be transferred to decoder module, decoder module is read corresponding algorithm from algoritic module data stream is decoded, again decoded data are directly write the speech data buffer zone, and represent that by zone bit is set these data are new data;
Then, coding module directly reads these data from the speech data buffer zone, and removing corresponding marker bit, according to the respective algorithms of reading data stream is encoded again from algoritic module, stream data transmission behind the coding is given the voice packet output interface module, and the voice packet output interface module is converted into the output of purpose encoded voice packet format with data stream.
The device of realizing the method comprises decoder module, speech data buffer zone, coding module and algoritic module at least.
By said method as can be seen, the present invention is incorporated into demoder and scrambler in the processor, by shared drive communicate voice data stream, has reduced the transmission delay of data in separating cataloged procedure.
Description of drawings
Fig. 1 for separate by the serial ports cascade, the synoptic diagram of scrambler.
Fig. 2 separates the composition and the principle schematic of data transmission time-delay in the cataloged procedure for the present invention realizes reducing.
Embodiment
Below by specific embodiment with reference to accompanying drawing 2, the present invention is described in more detail.
Fig. 2 separates the composition and the principle schematic of data transmission time-delay in the cataloged procedure for the present invention realizes reducing.As shown in Figure 2, comprise decoder module and coding module in the processor, decoder module adopts shared drive to be connected as the speech data buffer zone with coding module, wherein also comprises algoritic module, and storage is used for the algorithm of Code And Decode.Concrete voice packet coded format switch process is as follows:
At first, the voice packet input interface module is converted into the source code voice packet data stream of internal format, be transferred to decoder module, decoder module is read corresponding algorithm from algoritic module data stream is decoded, again decoded data are directly write the speech data buffer zone, and represent that by zone bit is set these data are new data;
Then, coding module directly reads these data from the speech data buffer zone, and removing corresponding marker bit, according to the respective algorithms of reading data stream is encoded again from algoritic module, stream data transmission behind the coding is given the voice packet output interface module, and the voice packet output interface module is converted into the output of purpose encoded voice packet format with data stream.
Under this scheme, the time quantum that reduces is about the frame length of source code voice packet input voice usually.For example: to the G.729 conversion of voice coding modes, source code voice packet form is AMR from AMR, frame length 20ms, and purpose adopts the encoded voice packet format for G.729, frame length 10ms; Adopt this method can reduce the time-delay of about 20ms than serial data interface method.
Wherein, when the change of format of source code voice packet or purpose encoded voice bag, can replace the original decoding or the algorithm of coding by the voice packet input interface module to algoritic module input new algorithm software package or instruction.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1, the method that data transmission is delayed time in the cataloged procedure separated in a kind of voice that reduce, be applicable to that ip voice carries out in the transmission course of more than one coded format conversions, decoder module is decoded as standard format with a kind of source code voice packet of form earlier, coding module is encoded to another kind of required voice packet form continuation transmission with the voice packet of standard format again, it is characterized in that this method is further comprising the steps of:
A, decoder module deposit the speech data buffer zone in after the source code voice packet of importing is decoded as the voice packet data of standard format;
B, coding module are encoded to the voice packet output of required form directly from the decoded voice packet data of speech data buffer zone read step A.
2, method according to claim 1 is characterized in that this method further comprises: the zone bit that the sign new data is set in the data of speech data buffer zone;
Steps A further comprises: when depositing decoding back voice packet data in to the speech data buffer zone, put the zone bit of data;
Step B further comprises: when the speech data buffer zone is read the voice packet data, remove the zone bit of institute's sense data.
3, method according to claim 1 is characterized in that: described decoder module and coding module are finished decoding and coding according to corresponding algorithm respectively.
4, method according to claim 3 is characterized in that this method further comprises: the described algorithm that is used to decode or encode upgrades by input new algorithm or instruction.
5, the device that data transmission is delayed time between encode processor separated in a kind of voice that reduce, and it is characterized in that this device comprises:
Decoder module, the data stream that the source code voice packet that is used for importing is decoded as standard format deposits the speech data buffer zone in;
The speech data buffer zone is used to store the data stream between decoder module and the coding module;
Coding module, being used for from the data stream encoding of speech data buffer zone readout sign quasiconfiguaration is the voice packet of required form.
6, device according to claim 5 is characterized in that this device further comprises: the algoritic module of used algorithm when being used for memory encoding and decoding.
CNB03109757XA 2003-04-15 2003-04-15 Method of reducing data transmission delay in coding decoding process and its device Expired - Fee Related CN100353352C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB03109757XA CN100353352C (en) 2003-04-15 2003-04-15 Method of reducing data transmission delay in coding decoding process and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB03109757XA CN100353352C (en) 2003-04-15 2003-04-15 Method of reducing data transmission delay in coding decoding process and its device

Publications (2)

Publication Number Publication Date
CN1538315A true CN1538315A (en) 2004-10-20
CN100353352C CN100353352C (en) 2007-12-05

Family

ID=34319507

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB03109757XA Expired - Fee Related CN100353352C (en) 2003-04-15 2003-04-15 Method of reducing data transmission delay in coding decoding process and its device

Country Status (1)

Country Link
CN (1) CN100353352C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890934A (en) * 2012-10-11 2013-01-23 广州海格通信集团股份有限公司 Multi-channel duplex vocoder and multi-channel duplex vocoder system
CN111200692A (en) * 2019-12-24 2020-05-26 广州市高科通信技术股份有限公司 Voice equipment, processing method, device and storage medium for network telephone
CN113728569A (en) * 2019-05-15 2021-11-30 华为技术有限公司 Data transmission method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6188700B1 (en) * 1996-11-07 2001-02-13 Sony Corporation Method and apparatus for encoding MPEG signals using variable rate encoding and dynamically varying transmission buffers
GB2323246B (en) * 1997-03-15 2002-03-20 Ibm Internet telephony signal conversion
US6385704B1 (en) * 1997-11-14 2002-05-07 Cirrus Logic, Inc. Accessing shared memory using token bit held by default by a single processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890934A (en) * 2012-10-11 2013-01-23 广州海格通信集团股份有限公司 Multi-channel duplex vocoder and multi-channel duplex vocoder system
CN102890934B (en) * 2012-10-11 2014-06-11 广州海格通信集团股份有限公司 Multi-channel duplex vocoder and multi-channel duplex vocoder system
CN113728569A (en) * 2019-05-15 2021-11-30 华为技术有限公司 Data transmission method and device
CN113728569B (en) * 2019-05-15 2022-12-06 华为技术有限公司 Data transmission method and device
CN111200692A (en) * 2019-12-24 2020-05-26 广州市高科通信技术股份有限公司 Voice equipment, processing method, device and storage medium for network telephone

Also Published As

Publication number Publication date
CN100353352C (en) 2007-12-05

Similar Documents

Publication Publication Date Title
Moffat Word‐based text compression
US7538694B2 (en) Network device with improved storage density and access speed using compression techniques
US7286562B1 (en) System and method for dynamically changing error algorithm redundancy levels
US8335577B2 (en) Method of generating advanced audio distribution profile (A2DP) source code and chipset using the same
CN1225723C (en) Noise suppression
US20010054131A1 (en) System and method for perfoming scalable embedded parallel data compression
CN1961351A (en) Scalable lossless audio codec and authoring tool
CN101562455B (en) Context-based adaptive binary arithmetic coding (cabac) decoding apparatus and decoding method thereof
CN101964188B (en) Voice signal coding and decoding methods, devices and systems
CN1819021A (en) Transcoding method for switching between selectable mode voice encoder and an enhanced variable rate codec
CN1855226A (en) Lossless encoding and decoding system
CN101308658A (en) Audio decoder based on system on chip and decoding method thereof
CN110990358B (en) Decompression method, electronic equipment and computer readable storage medium
WO2002087087A3 (en) Protocol encoder and decoder
CN101116342A (en) Multistandard variable length decoder with hardware accelerator
CN100353352C (en) Method of reducing data transmission delay in coding decoding process and its device
JP3890299B2 (en) Method and apparatus for generating scalable data stream and method and apparatus for decoding scalable data stream
CN102970133B (en) The voice transmission method of quantum network and voice terminal
Xie et al. Compression ratio and decompression overhead tradeoffs in code compression for VLIW architectures
CN1653698A (en) Programmable variable length decoder including interface of cpu processor
KR100451622B1 (en) Voice coder and communication method using the same
CN112131161B (en) Hardware analysis method for Binary protocol data stream
JP4423820B2 (en) Image processing apparatus and method, program, and recording medium
CN1722277A (en) System and method for creating a DVD compliant stream directly from encoder hardware
CN1555627A (en) Rate adaptation device and method

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071205

Termination date: 20130415