[go: up one dir, main page]

CN1254109C - Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing - Google Patents

Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing Download PDF

Info

Publication number
CN1254109C
CN1254109C CN 02122921 CN02122921A CN1254109C CN 1254109 C CN1254109 C CN 1254109C CN 02122921 CN02122921 CN 02122921 CN 02122921 A CN02122921 A CN 02122921A CN 1254109 C CN1254109 C CN 1254109C
Authority
CN
China
Prior art keywords
time
data
channels
frame
decoding
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
Application number
CN 02122921
Other languages
Chinese (zh)
Other versions
CN1466387A (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 CN 02122921 priority Critical patent/CN1254109C/en
Publication of CN1466387A publication Critical patent/CN1466387A/en
Application granted granted Critical
Publication of CN1254109C publication Critical patent/CN1254109C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明涉及一种基于分时处理的低时延多媒体传输编解码调度方法,属于多媒体传输中的编解码处理技术领域。该方法首先将编解码时间T分成K个时间片,每个时间片为T/K,处理总通道数为N,每个时间片内处理的通道数为N/K,然后按时间片顺序对各通道输入的数据进行处理,将处理后的数据输出。本发明的方法,将最大编解码处理时间T分成K个时间片,这样就将原来编解码处理时间T内处理的N个通道,分配到了小的时间片内,从而减少了通道时延,K值越大,即时间片越短,则减少的时延越多。而且要减少时延,只要将最大编解码处理时间T分成多个时间片即可。

Figure 02122921

The invention relates to a low-delay multimedia transmission codec scheduling method based on time-sharing processing, and belongs to the technical field of codec processing in multimedia transmission. In this method, the encoding and decoding time T is first divided into K time slices, each time slice is T/K, the total number of processing channels is N, and the number of channels processed in each time slice is N/K. The data input by each channel is processed, and the processed data is output. The method of the present invention divides the maximum encoding and decoding processing time T into K time slices, so that the N channels processed in the original encoding and decoding processing time T are allocated to small time slices, thereby reducing the channel delay, K The larger the value, that is, the shorter the time slice, the more the delay will be reduced. And to reduce the delay, it is only necessary to divide the maximum codec processing time T into multiple time slices.

Figure 02122921

Description

Dispatching method based on the low time delay multimedia transmission coding/decoding of time-division processing
Technical field
The present invention relates to a kind of low time delay multimedia transmission coding/decoding dispatching method, belong to the encoding and decoding processing technology field in the multimedia transmission based on time-division processing.
Background technology
21 century will be the century of information industry sustained and rapid development, and the mankind have entered the age of Internet economy.Rapid development of network technology makes that utilizing group technology to come transmitting multimedia to become may and come true.Tradition mechanics of communication and group technology convergence are more and more obvious, because the Media Stream coded system of transmitting in traditional communication network and the modern packet communications network is different, therefore the binding site at legacy network and packet network need carry out the conversion of media stream code/decode mode.Because the existence of codec can be introduced encoding and decoding time delay and scheduling time delay, the existence meeting of this time delay impacts the quality of media flow transmission, particularly aspect voice, big time-delay is that both call sides is unacceptable, so encoding and decoding time delay size becomes a key factor weighing network quality.
Network both sides code encoding/decoding mode does not just need encoding and decoding conversion simultaneously.With the voice transfer is example, and in the gateway of fixed-line telephone network IP phone, the encoding and decoding conversion device is in circuit domain and the packet domain place that combines.In the legacy circuit-switched circuit, what transmit generally is to modulate code stream through the real-time pulse of A rule or the compression of U rule, and its transmission rate is 64k bps, if not encoded, directly be translated into packet data transmission and need take very big bandwidth, this is very uneconomic.Between circuit domain and IP packet domain, increase the encoding and decoding speech function for this reason, pulse modulated speech data is compressed into the very little compress coding data of occupied bandwidth transmits again.G.729 the encoding and decoding conversion device generally should support ITU-T, G.723.1, ITU-T waits voice compression algorithm, when being connected, generally should support the code decode algorithms such as AMR of GSM-FR, GSM-HR and 3G, when multimedia transmission, also need to support image processing algorithm with wireless network.Insert density in order to improve circuit, each encoding and decoding conversion device can be handled the encoding and decoding of many circuits usually, and each bar circuit is called a passage.
For the packetizing process of every kind of encoding and decoding agreement, every kind of code encoding/decoding mode all has the frame sign and the frame format of regulation.For example for ITU-T encryption algorithm G.729, be to be transferred to the packet network side after speech data with every 10ms length compresses; For ITU-T encryption algorithm G.723.1, be to be transferred to the packet network side after speech data with every 30ms length compresses.Unipath speech is generally: frame data of receiving specific length earlier from the circuit domain side joint, then these frame data are carried out encoding process, after processing finishes coded data is sent to network side, definition is called the coding time delay from the time delay that begins to receive frame data and send to the packet network side behind this frame data coding usually.
For the coding of multipath, adopt the method for batch process usually; The framing of supposing coded data is spaced apart T, then will accomplish real-time data processing, and the time of handling all N passage should be smaller or equal to T, i.e. the data of all passages of framing before T handled in the time.Suppose that ideally the time of handling all N passage just in time equals T, then concrete batch processing method is as follows:
1) from data flow,, intercepts first frame data by being fixed into frame time T by N passage input;
2) to first frame data of N passage obtaining, carry out encoding process one by one by passage;
3) data after the encoding process are sent to the packet switching network side.
4) repeat above step.
The framing of batch process and processing scheduling sequential are as shown in Figure 1.As can be seen from Figure 1, initial 0 constantly before T in the time all N channel data enter encoder, all intercept at first frame data of 0 constantly all N passage and to finish, in ensuing 0 to the moment of T, the data of all N passage are encoded, constantly data are sent to packet network at T then, arrive to finish from first data and be sent to the packet network side and need the 2T time, so the coding staff of passage is 2T to processing delay up to this data processing.Figure 2 shows that the processing scheduling sequential chart of general multichannel batch decoding in the prior art.
The method of above batch process, its advantage are to adopt identical timing framing and encoding and decoding to handle to all passages, clear process, and task scheduling is simple, therefore uses more.
But its shortcoming is that the encoding and decoding maximum delay of passage is bigger, with the G723 coding method is example, form frame data and need 30ms, so T=30ms, when adopting batch processing method, coding staff to the time delay of processing be 30+T=60ms, add a time delay 7.5ms that fixedly looks ahead (referring to the ITUTG729 agreement) by the algorithm decision, coding staff to overall delay be 67.5ms, this time delay is still bigger as can be seen, especially in voice transfer, postpone a meeting or conference when big and greatly reduce voice call quality.
Summary of the invention
The objective of the invention is at the shortcoming that exists in the prior art, a kind of low time delay multimedia transmission coding/decoding dispatching method based on time-division processing is proposed, scheme to the multichannel batch process is improved, and to reduce the scheduler latency of encoding and decoding, improves multimedia transmission quality.
The low time delay multimedia transmission coding/decoding dispatching method based on time-division processing that the present invention proposes may further comprise the steps:
1, will encode or decode time T is divided into K timeslice, each timeslice is T/K, and handling the overall channel number is N, with a kind of algorithm with N channel allocation in K timeslice, the port number of the interior processing of each timeslice is N/K, wherein K=1,2 ... K;
2, by time slot sequence the data of each passage input are encoded or decoding processing, the data output after handling.
What the present invention proposed based on the low time delay multimedia transmission coding of time-division processing or the characteristics and the effect of decoding scheduling method is, the maximum coding or the decoding processing time T that allow are divided into K timeslice, each timeslice size is T/K, if the largest passages number of handling still is N, then the port number of handling in each timeslice is N/K, so just will encode originally or interior N the passage of handling of decoding processing time T, be assigned in the little timeslice, thereby reduced channel time delay, the K value is big more, be that timeslice is short more, then the time delay of Jian Shaoing is many more.And from the inventive method as can be seen, the largest passages that coding or decoder can be handled is counted N, relevant with the disposal ability of coding or decoder, but have nothing to do with the coding of passage or the time delay of decoding direction, therefore to reduce time delay, as long as maximum coding or decoding processing time T are divided into a plurality of timeslices.
Description of drawings
Fig. 1 is a general multichannel batch coded scheduling schematic flow sheet in the prior art.
Fig. 2 is a general multichannel batch decoding scheduling flow schematic diagram in the prior art.
Fig. 3 is the time-division processing coded scheduling schematic flow sheet that the present invention proposes.
Fig. 4 is the time-division processing decoding scheduling schematic flow sheet that the present invention proposes.
Embodiment
Low time delay multimedia transmission coding or decoding scheduling method that the present invention proposes based on time-division processing, its process is at first will encode or decode time T is divided into K timeslice, each timeslice is T/K, if handling the overall channel number is N, with a kind of algorithm N channel allocation arrived in K the timeslice, then the port number of handling in each timeslice is N/K, K=1 wherein, 2, K, i.e. first group of 1~N/K passage handling in first 0~(T/K) time of timeslice, second timeslice T/K~2T/K handles second group of (N/K)+1~2N/K passage, to the last, K timeslice handle K group (K-1) (N/K)+1~N passage; Zero hour of first timeslice that begins an encoding and decoding period T then, will be by the data of first group of 1~N/K passage input, in 0~(T/K) time of this timeslice,, handle one by one by passage to first frame data of N/K passage of input; (T/K) that finish in timeslice constantly, with the data output after handling.The rest may be inferred, up to K timeslice, handles all N passages of K group, enters the next processing cycle then.
To be encoded to example, it handles sequential as shown in Figure 3, as seen from Figure 3, passage 1 is assigned in first timeslice T/K to passage N/K and handles, passage (N/K)+1~2N/K is assigned in second timeslice T/K~2T/K and handles, and the like, (K-1) * (N/K)+1 passage~N passage is assigned to interior processing of T/K time of K timeslice (K-1) T/K~T.In 0 moment, will press frameing time T by the data flow of 1~N/K passage input, intercept first frame data; In 0~(T/K) time,, encode one by one by passage to first frame data of N/K passage of intercepting; At (T/K) constantly, the data behind the coding are sent to the packet network side, and will press frameing time T by the data flow of (N/K)+1~2 (N/K) passage input, first frame data of N/K passage of intercepting; At T/K~2 (T/K) in the time, first frame data of N/K passage of intercepting are encoded one by one by passage, and at 2 (T/K) constantly, the data after encoding are sent to the packet network side; The rest may be inferred, at (K-1) * T/K constantly, and with the data flow of a last N/K passage, press frameing time T, intercept first frame data, and at K timeslice T-T/K~T in the time, encode one by one by passage, and the data after T will encode constantly send to the packet network side; Repeat above process, each frame data after handling.
Below as can be seen, first frame data that first timeslice is handled, the coding staff of passage to processing delay be T+T/K.(first frame data of (N/K)+1~2N/K), the processing delay of the encoding and decoding direction of passage still are T+T/K to the passage of second timeslice processing.And the like as can be seen, the coding staff of all passages to processing delay all be T+T/K, the 2T of time delay during than batch process reduced T-T/K, reached the purpose that reduces channel coding direction time delay, the time delay of the big more minimizing of K value is many more.The N that mentions among the present invention is the largest passages number that codec can be handled, and it is relevant with the disposal ability of codec, the coding staff that does not influence passage to time delay.
Being decoded as example, it handles sequential as shown in Figure 4, and as seen from Figure 4, decode time T is divided into K timeslice, and each timeslice is T/K, and the port number of processing is N/K in each timeslice, wherein K=1,2 ... K, N are the overall channel number.In 0 moment, input is by the first frame coded data of 1~N/K passage; At 0~T/K in the time,, decode one by one by passage with the first frame coded data of N/K passage of input; At T/K constantly, decoded data are sent to the circuit-switched network side, simultaneously the first frame coded data of input (N/K)+1~2N/K passage; At T/K~2T/K in the time, with the first frame coded data of N/K passage of input, decode one by one by passage, in the 2T/K moment, decoded data are sent to the circuit-switched network side; The rest may be inferred, at (K-1) * T/K~T in the time, with the first frame coded data of last N/K passage of input, decodes one by one by passage, in the T moment, decoded data sent to the circuit-switched network side; Repeat above process, handle each later frame data.
Introduce two embodiment of the present invention below:
First embodiment of the present invention is, with ITU-T G723.1 decoding method, form frame data, need 30ms, so T=30ms, the time-division processing method adopted, T is divided into 6 timeslices, each timeslice is T/K=5ms, and the codec handling way is N=60, handles 10 passages in each 5ms timeslice.Therefore the encoding and decoding direction processing delay that obtains is 30+T/K=35ms, add a time delay 7.5ms that fixedly looks ahead (referring to ITU-T G723.1 agreement) by the algorithm decision, the overall delay of encoding and decoding direction is 35+7.5=42.5ms, 67.5ms when this time delay is than batch process as can be seen reduces 25ms, the time delay of encoding and decoding direction has bigger reduction, can also further reduce time delay by increasing the number of timeslice K simultaneously.
An alternative embodiment of the invention is, use the AMR code decode algorithm, frameing time is T=20ms, T is divided into 4 timeslices, each timeslice is T/K=5ms, codec handling way N=40, handle N/K=10 path in each timeslice, because the time delay of fixedly looking ahead of AMR algorithm is 5ms, therefore the overall delay that obtains system's encoding and decoding direction is T+T/K+5=30ms, and the overall delay of system's encoding and decoding direction is not T+T+5=45ms when not adopting dispatching method of the present invention, and the time delay of AMR encoding and decoding direction has reduced 45-30=15ms as can be seen.This application has proved that this dispatching method can reduce the time delay of system's encoding and decoding direction.
The low time delay multimedia transmission coding/decoding dispatching method based on time-division processing that the present invention proposes can be respectively applied for coded scheduling or decoding scheduling, or is used for the coding and decoding scheduling simultaneously.
Method of the present invention can be applied to the encoding and decoding of encoding and decoding speech, image processing and other kind media stream.

Claims (3)

1、一种基于分时处理的低时延多媒体传输编解码调度方法,其特征在于该方法包括以下步骤:1. A low-delay multimedia transmission codec scheduling method based on time-sharing processing, characterized in that the method comprises the following steps: (1)将编码或解码时间T分成K个时间片,每个时间片为T/K,处理总通道数为N,用一种算法将N个通道分配到K个时间片内,每个时间片内处理的通道数为N/K,其中K=1、2、……K;(1) Divide the encoding or decoding time T into K time slices, each time slice is T/K, and the total number of channels to be processed is N, and an algorithm is used to allocate N channels to K time slices, each time The number of channels processed on-chip is N/K, where K=1, 2,...K; (2)按时间片顺序对各通道输入的数据进行编码或解码处理,将处理后的数据输出。(2) Perform encoding or decoding processing on the data input by each channel in sequence of time slices, and output the processed data. 2、如权利要求1所述的方法,其特征在于所述编码过程中的数据处理包括以下步骤:2. The method according to claim 1, characterized in that the data processing in the encoding process comprises the following steps: (1)在0时刻,将由1~N/K通道输入的数据流,按成帧时间T,截取第一帧数据;(1) At time 0, intercept the first frame of data from the data stream input by channels 1 to N/K according to the framing time T; (2)在0~(T/K)时间内,对截取的N/K个通道的第一帧数据,按通道进行编码;(2) within the time period of 0~(T/K), encode the first frame data of the intercepted N/K channels according to the channels; (3)在(T/K)时刻,将编码后的数据发送到分组网络侧,并将由(N/K)+1~2(N/K)通道输入的数据流,按成帧时间T,截取N/K个通道的第一帧数据;(3) At (T/K) time, send the coded data to the packet network side, and send the data stream input by (N/K)+1~2(N/K) channels according to the framing time T, Intercept the first frame data of N/K channels; (4)在T/K~2(T/K)时间内,对截取的N/K个通道的第一帧数据按通道逐个进行编码,并在2(T/K)时刻,将编码后的数据发送到分组网络侧;(4) In the time T/K~2(T/K), encode the first frame data of the intercepted N/K channels one by one channel by channel, and at 2(T/K) time, encode the Data is sent to the packet network side; (5)依此类推,在(K-1)×T/K时刻,将最后N/K个通道的数据流,按成帧时间T,截取第一帧数据,并在第K个时间片T-T/K~T时间内,按通道逐个进行编码,并在T时刻将编码后的数据发送到分组网络侧;(5) By analogy, at (K-1)×T/K time, the data stream of the last N/K channels is intercepted according to the framing time T, and the first frame data is intercepted, and at the Kth time slice T-T /K to T time, encode one by one according to the channel, and send the encoded data to the packet network side at T time; (6)重复以上过程,处理以后各帧数据。(6) Repeat the above process to process the subsequent frames of data. 3、如权利要求1所述的方法,其特征在于所述解码过程中的数据处理包括以下步骤:3. The method according to claim 1, wherein the data processing in the decoding process comprises the following steps: (1)在0时刻,输入由1~N/K个通道的第一帧编码数据;(1) At time 0, input the first frame of encoded data from 1 to N/K channels; (2)在0~T/K时间内,将输入的N/K个通道的第一帧编码数据,按通道逐个进行解码;(2) within 0~T/K time, the first frame coded data of the input N/K channels are decoded one by one according to the channels; (3)在T/K时刻,将解码后的数据发送到电路交换网络侧,同时输入(N/K)+1~2N/K通道的第一帧编码数据;(3) At T/K time, send the decoded data to the circuit switching network side, and input the first frame coded data of (N/K)+1~2N/K channels at the same time; (4)在T/K~2T/K时间内,将输入的N/K个通道的第一帧编码数据,按通道逐个进行解码,在2T/K时刻,将解码后的数据发送到电路交换网络侧;(4) In the time T/K ~ 2T/K, decode the first frame encoded data of the input N/K channels one by one channel by channel, and send the decoded data to circuit switching at 2T/K time network side; (5)依此类推,在(K-1)×T/K~T时间内,将输入的最后N/K个通道的第一帧编码数据,按通道逐个进行解码,在T时刻,将解码后的数据发送到电路交换网络侧;(5) By analogy, within the time period of (K-1)×T/K~T, the first frame encoded data of the last N/K channels input will be decoded one by one by channel, and at time T, the decoded The final data is sent to the circuit switching network side; (6)重复以上过程,处理以后的各帧数据。(6) Repeat the above process to process the subsequent frames of data.
CN 02122921 2002-06-06 2002-06-06 Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing Expired - Fee Related CN1254109C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02122921 CN1254109C (en) 2002-06-06 2002-06-06 Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02122921 CN1254109C (en) 2002-06-06 2002-06-06 Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing

Publications (2)

Publication Number Publication Date
CN1466387A CN1466387A (en) 2004-01-07
CN1254109C true CN1254109C (en) 2006-04-26

Family

ID=34142272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02122921 Expired - Fee Related CN1254109C (en) 2002-06-06 2002-06-06 Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing

Country Status (1)

Country Link
CN (1) CN1254109C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2399986A (en) * 2003-03-25 2004-09-29 Nokia Corp Transmission parameter information
CN118509122B (en) * 2024-07-18 2024-11-01 德氪微电子(深圳)有限公司 Multi-channel signal transmission method and system based on time slices

Also Published As

Publication number Publication date
CN1466387A (en) 2004-01-07

Similar Documents

Publication Publication Date Title
CN1152536C (en) Mobile radio communication method with optimizing span several internet transmission
RU2301499C1 (en) Device and method for controlling quality in data transfer networks
US6961346B1 (en) System and method for converting packet payload size
EP1995920A1 (en) Buffer control method, relaying device and communication system
CA2580230A1 (en) Call setup in a video telephony network
WO2001086960A2 (en) Video coding using multiple buffers
CN101051465B (en) Method and apparatus for decoding layer encoded data
CN101297555B (en) Method and apparatus for constrained variable bit rate (vbr) video encoding
CN1269956A (en) Method and apparatus comprising synchronizing means for pakcetising at least two data streams
EP1495612A1 (en) Method and apparatus for efficient transmission of voip traffic
US7330900B2 (en) Low-latency packet processor
CN101395871A (en) Buffer control method, relay device, communication system
TWI234944B (en) Method, apparatus, and system for reducing memory requirements for echo cancellers
WO2007109960A1 (en) Method, system and data signal detector for realizing dada service
CN1254109C (en) Scheduler method for low time delay multimedia transmission coding/decoding based on time-sharing processing
CN1135786C (en) Method and device for providing multi-party voice connection in wireless communication system
CN104685841A (en) Method and packet communication system for transmitting audio information
CN1553710A (en) Flow converting system and method for video frequency meet
CN1338834A (en) Low-speed speech encode method based on network protocol
KR100793345B1 (en) Packet processing method and apparatus therefor in voice / data integration system
CN1553723A (en) A method for realizing interworking of mobile communication networks
WO2005018231A1 (en) A method for adjust the bandwidth of bit stream
WO2006062592A2 (en) Method and apparatus for voice transcoding in a voip environment
CN1968119A (en) Method for resource sharing among MCUs in videoconference system
CN1571536A (en) Method for implementing half-duplex IP voice communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication
CI01 Correction of invention patent gazette

Correction item: deemed to have been withdrawn

Correct: delete

False: Wrong announcement

Number: 26

Page: 767

Volume: 21

ERR Gazette correction

Free format text: CORRECT: DEEMED WITHDRAWAL; FROM: WRONG PUBLICATION TO: DELETION

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: 20060426

Termination date: 20130606