CN100463398C - Timer and timing controlling method for playback server - Google Patents

Timer and timing controlling method for playback server Download PDF

Info

Publication number
CN100463398C
CN100463398C CNB2006100910267A CN200610091026A CN100463398C CN 100463398 C CN100463398 C CN 100463398C CN B2006100910267 A CNB2006100910267 A CN B2006100910267A CN 200610091026 A CN200610091026 A CN 200610091026A CN 100463398 C CN100463398 C CN 100463398C
Authority
CN
China
Prior art keywords
voice packet
time
playback
timer
rtp
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
CNB2006100910267A
Other languages
Chinese (zh)
Other versions
CN1905459A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2006100910267A priority Critical patent/CN100463398C/en
Publication of CN1905459A publication Critical patent/CN1905459A/en
Application granted granted Critical
Publication of CN100463398C publication Critical patent/CN100463398C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a timer for a playback server and the timing control method thereof. And the method comprises: determining playback time of a RTP voice packet and setting an overtime interval T which is at least longer than playback time of a RTP voice packet and not longer than playback time of Ni RTP voice packets, where Ni is number of RTP voice packets transmitted by each channel each time and greater than 1 and i expresses channel number. And it transmits plural voice packets at each overtiming by increasing overtime length of a timer and can process multi-channel playback by one timer, able to save system resources and raise playback efficiency.

Description

A kind of timer and time control method that is used for playback server
Technical field
The present invention relates to the playback and the playback timing of playback server, particularly a kind of timer and time control method, playback server and audio playback method thereof that is used for playback server.
Background technology
Player function extensive use in the VoIP speech business, the router of present most voice gateways, band phonetic function substantially all has player function, for example provide and be used for carrying out the telephone expenses inquiry, revise the prompt tone of password etc. and user interactions, ring-back tone in the Ring Back Tone service etc. is provided.For example, open day be that January 25, publication number in 2006 are that CN1725790, name are called in the Chinese patent application of " a kind of method of playing Comfort Noise Generation (CNG) " and disclose a kind of method from Comfort Noise Generation (CNG) to the calling subscriber that play, in the method, set in advance the regular hour section to be used for playing RBT.In addition, be that February 22, publication number in 2006 are that CN1738338, name are called and disclose a kind of method that realizes ring-back tone and prompt tone in VoIP system in " ring-back tone of VoIP voice communication system and prompt tone implementation method and device " Chinese patent application on open.
At present, some VoIP equipment use timer to realize player function, promptly, all start a timer for each road playback, according to the ITU of International Telecommunication Association G.711, G.723, G.729 the speed of coding such as standard reads a voice packet at regular intervals from file or internal memory, write DSP (data signal processor) or send on other VoIP equipment, thereby realize player function in the mode of RTP (RTP) voice packet.For example, open day be that December 8, publication number in 2004 are that CN1553666, name are called that the hardware that discloses voice gateways in the Chinese patent application of " a kind of voice gateways communication apparatus and method " is realized and DSP handles the playback of RTP voice packet.In addition, in IETF (the Internet engineering duty group, Internet Engineering Task Force) in RFC (Request for Comment) 1889 documents of organizing to set up RTP (RTP) has been carried out detailed description, RTP is a host-host protocol at multimedia data stream on the internet, and it provides transmission service end to end for the data (for example interactively Voice ﹠ Video) that some has real-time property.
In the prior art, utilize timer to realize that there is following shortcoming in the existing playback server of above-mentioned player function: at first, it is very short that the timer expiry time is provided with, and each overtime sends a voice packet, causes the problem that timer expiry is too frequent, take a large amount of system resources thus; Secondly, each road playback all needs to start a timer separately, if simultaneously playback is carried out in a large amount of callings in big-and-middle-sized gateway, then can take a large amount of speech ciphering equipment resources, and efficient is not high, and restriction can be supported the way of playback simultaneously.
Summary of the invention
One object of the present invention is by prolonging the timer expiry time, and sends a plurality of voice packets each when overtime, saves system resource.
Another object of the present invention is to improve playback efficiency by utilizing a timer to handle multi-channel playback simultaneously.
For achieving the above object, the invention provides a kind of time control method that is used for playback server, be used to carry out playback control regularly, this method comprises the steps: to determine the playing time of a RTP voice packet; And the timeout interval time T is set, and make this timeout interval time T at least greater than the playing time of a RTP voice packet, when arriving the timeout interval time T, organize into groups Ni the RTP voice packet that sends each road respectively for this playback server and carry out playback; Wherein, be not more than Ni the needed playing time of RTP voice packet according to the timeout interval time T, playing time and set timeout interval time T according to each RTP voice packet are calculated the RTP voice packet number Ni that the i road ought last time send, and Ni is greater than 1, and i represents way.
In the above-mentioned time control method, the playing time of a RTP voice packet obtains divided by the speech sample rate by the sample number that each RTP voice packet is comprised.
In the above-mentioned time control method, the sample number that each RTP voice packet comprises is by playback server definite coding mode decision by media negotiation.
For achieving the above object, the present invention also provides a kind of timer that is used for playback server, be used to carry out playback regularly, this timer comprises the timer processing module, this timer processing module is connected to this playback server, be used to be provided with the timeout interval time T of this timer, wherein this timeout interval time T is at least greater than the playing time of a RTP voice packet, wherein this timer processing module has calculation element, be used for when playback no show timeout interval time T, continuing timing, when playback arrival timeout interval time time T, be not more than Ni the needed playing time of RTP voice packet according to this timeout interval time T, calculate the RTP voice packet number Ni that the i road ought last time send and send to this playback server according to the playing time of set timeout interval time T and each RTP voice packet, when arriving the timeout interval time T, organize into groups Ni the RTP voice packet that sends each road respectively for described playback server and carry out playback.
In the above-mentioned timer, this timer processing module has judgment means, be used for judging whether is integer with timeout interval time time T divided by the value of the playing time gained of each RTP voice packet, and when it is not integer, calculate the RTP voice packet number Ni that the i road ought last time send according to following formula:
Ni≥N avi×Ci-S umi
Wherein, N AviThe RTP voice packet number that the average each timer expiry of expression sends, it is with the value of timeout interval time time T divided by the playing time gained of each RTP voice packet; Ci represents to arrive when the playback of i road begins the number of times of current timer expiry, S UmiRepresent when the playback of i road begins to the RTP number that last time, timer expiry sent altogether; I represents way.
For achieving the above object, the present invention also provides a kind of audio playback method that is used for playback server, and this playback server has timer, comprises the steps:
A. determine the playing time of a RTP voice packet and utilize timer that the timeout interval time T of playback is set, make this timeout interval time T at least greater than the playing time of a RTP voice packet; B. be not more than Ni the needed playing time of RTP voice packet according to this timeout interval time T, calculate the RTP voice packet number Ni that the i road ought last time send according to the playing time of this timeout interval time T and each RTP voice packet; And c. reads when arriving the timeout interval time T and respectively marshalling send described Ni RTP voice packet and carry out playback.
In the above-mentioned audio playback method, described step b further comprises: judge whether is integer with timeout interval time time T divided by the value of the playing time gained of each RTP voice packet, if integer is then proceeded step c; If be not integer, then calculating i road execution in step c behind the RTP voice packet number Ni that last time sent according to following formula:
Ni≥N avi×Ci-S umi
Wherein, N AviThe RTP voice packet number that the average each timer expiry of expression sends, it is with the value of timeout interval time time T divided by the playing time gained of each RTP voice packet; Ci represents to arrive when the playback of i road begins the number of times of current timer expiry, S UmiRepresent when the playback of i road begins to the RTP number that last time, timer expiry sent altogether; I represents way.
In the above-mentioned audio playback method, described step c further comprises: judge whether the beginning playing time of each road playback is positioned at the integral multiple position of this timeout interval time T, if judged result is for being, then at described beginning playing time transmission voice packet; If judged result is not, then the beginning playing time with this road playback is deferred to timeout interval time place's transmission voice packet of timer next time.
For achieving the above object, the present invention also provides a kind of playback server, and it has aforesaid timer, database module, module for reading and writing and RTP sending module; The Ni that this module for reading and writing calculates according to the timer processing module reads Ni the RTP voice packet on each road from database module, this RTP sending module is organized into groups Ni the RTP voice packet that sends each road respectively and carried out playback.
For achieving the above object, the present invention also provides a kind of playback server, and it has timer, and this playback server also has timer processing module, database module, module for reading and writing and RTP sending module; This timer processing module is connected to this timer, be used to be provided with the timeout interval time T of this timer, wherein this timeout interval time T is at least greater than the playing time of a RTP voice packet, and, be not more than Ni the needed playing time of RTP voice packet according to this timeout interval time T, playing time according to set timeout interval time T and each RTP voice packet calculates the RTP voice packet number Ni that the i road ought last time send, and Ni is greater than 1, and i represents way; The Ni that this module for reading and writing calculates according to the timer processing module reads Ni the RTP voice packet on each road from database module; This RTP sending module is organized into groups Ni the RTP voice packet that sends each road respectively and is carried out playback.
Above-mentioned playback server also comprises the playback control module that is used to control playback, this playback control module is connected to this timer, be used to judge whether the beginning playing time of each road playback is positioned at the integral multiple position of this timeout interval time T, if judged result is for being, then at described beginning playing time transmission voice packet; If judged result is not, then the beginning playing time with this road playback is deferred to timeout interval time place's transmission voice packet of timer next time.
By adopting according to timer of the present invention, time control method, playback server and audio playback method, can under the situation of not adding hardware, utilize a timer to support more playback way simultaneously, playback effect is not affected, and saves system resource simultaneously, improves playback efficiency.
Description of drawings
Fig. 1 is the exemplary system block diagram that illustrates according to playback server of the present invention;
Fig. 2 is the indicative flowchart that illustrates according to audio playback method of the present invention; And
Fig. 3 is the flow chart that illustrates according to an example of audio playback method of the present invention.
Embodiment
The basic process of brief description playback at first.Playback server and client (voice gateways or have the router of player function) are carried out media negotiation, determine characteristic of coding mode, both sides' the IP of playback and UDP (User Datagram Protoco (UDP)) port numbers, each RTP voice packet or the like, thereby reaching an agreement through consultation aspect the attribute relevant with voice medium.Playback server reads one section speech data by file system, promptly adopt the voice data of certain coding mode, then this section speech data is sent to client with the form of RTP (RTP) by IP network, client sends it to corresponding processing module processing after receiving the RTP voice packet, voice messaging wherein is reduced into PCM (pulse code modulation) voice signal, then by client terminal (as telephone set) playback.
Fig. 1 illustrates the exemplary system block diagram according to playback server of the present invention.
According to the present invention, use timer to realize that the playback server of the efficient playback of multichannel comprises: timer, database module, module for reading and writing, RTP sending module and playback control module.
Timer is connected to the playback control module, is used to carry out playback regularly.Database module is used to store the RTP voice packet.Module for reading and writing is connected to database module, is used for reading the RTP voice packet from database module.The playback control module is connected to module for reading and writing, be used for control and carry out media negotiation, by determining that coding mode determines the sample number Mi that each RTP voice packet comprises in each road (Mi represents the sample number that each RTP voice packet comprises in the i road) with a plurality of clients; And the read-write operation that is used to control module for reading and writing.The RTP sending module is connected to module for reading and writing and playback control module, is used to the RTP voice packet that timestamp is set, and sends the RTP voice packet.
Contain the timer processing module in the timer, this timer processing module is that the present invention utilizes a timer to realize the key modules of multi-channel playback, it has calculation element and judgment means, be used to be provided with timer the timeout interval time T, judge whether to arrive the timeout interval time T and calculate the number Ni (Ni represents that the i road sends the number of RTP voice packet at every turn) that each road sends the RTP voice packet at every turn based on the timeout interval time T, and Ni is sent to the playback control module.This timer processing module also can be arranged with the timer branch and be connected with timer, and is not limited to be built in the timer.
The timeout interval time T of timer is a parameter very flexibly, can decide according to the disposal ability of the buffer memory of the tone playing equipment that receives the RTP voice packet, playback server and network condition etc.For example, for playback server, the timeout interval time of timer, the longer the better, and the expensive source of system's switching institute can be few more like this; Yet for network and tone playing equipment, the timeout interval time of timer is short more good more.According to the present invention, when arriving the timeout interval time T of timer, then once send a plurality of RTP voice packets, therefore, the timeout interval time T at least should be greater than the playing time M/S of a RTP voice packet, i.e. T〉M/S, the sample number that comprises for each RTP voice packet of M wherein, S is the speech sample rate; And T is not more than Ni the needed playing time of RTP voice packet, and wherein Ni is the number that the i road sends the RTP voice packet at every turn.Usually, can rule of thumb be worth T and be set to 30 milliseconds≤T≤3 second, preferably T is made as 1~2 second.In addition, in public telephone system, speech sample rate S is 8kHz.
In the present invention, calculate the number Ni that the i road sends the RTP voice packet at every turn based on following formula (1):
Ni 〉=T/ (Mi/S) formula (1)
Wherein T represents the timeout interval time of timer, and Mi represents the sample number that each RTP voice packet of i road comprises, and S represents the speech sample rate, and i represents way.
At the Ni that calculates according to above-mentioned formula (1) is not under the situation of integer, calculates the last time RTP number Ni of playback needs transmission of i road according to following two formula:
N Avi=T/ (Mi/S) formula (2)
Ni 〉=N Avi* Ci-S UmiFormula (3)
Wherein, N AviThe RTP voice packet number that the average each timer expiry of expression sends, T represents the timeout interval time of timer, and Mi represents the sample number that each RTP voice packet of i road comprises, and S represents the speech sample rate, Ci represents to arrive when the playback of i road begins the number of times of current timer expiry, S UmiRepresent when the playback of i road begins that to the RTP number that last time, timer expiry sent altogether Ni represents the last time playback RTP number that need send of i road, i represents way.
The Ni that module for reading and writing calculates according to the timer processing module is respectively each road and reads Ni RTP voice packet from database.Then, the RTP sending module sends Ni the RTP voice packet on each road respectively.
Preferably, when the timer processing module was judged arrival fixed time interval time T, module for reading and writing was respectively each road and reads Ni RTP voice packet from database module, and respectively Ni the RTP voice packet on each road is organized into groups.Then, the RTP sending module is provided with timestamp to Ni RTP voice packet of each marshalling in described a plurality of marshallings according to sequencing, and sends described a plurality of marshalling respectively.At this, need explanation, according to the definition in the RFC1889 document, comprise the data field " timestamp " of one 32 bit in the RTP packet, be called markers or timestamp.The sampling time of first byte in the timestamp reflection RTP packet.The RTP sending module can be filled correct timestamp to each the RTP voice packet in the same RTP voice packet marshalling, need not to consider the situation of receiving terminal and the speed of actual playback then, and all the RTP voice packets in this marshalling are sent together.Client can sort to the RTP voice packet in this marshalling according to timestamp after receiving the marshalling of RTP voice packet, thereby can correctly play the voice of a plurality of voice packets.
In addition, when utilizing a timer to handle multi-channel playback simultaneously, may run into following three kinds of typical case:
(1) if the time started of a plurality of client playbacks identical, the coding mode that adopts is identical, that is to say for a plurality of clients, the number of each transmission RTP voice packet is mutually the same, when then arriving timer expiry T blanking time, only need from database module, to be respectively the RTP voice packet that equal number is read on each road, and send respectively.
(2) if the time started of a plurality of client playbacks identical, and the coding mode difference that adopts, calculate the quantity that each road sends the RTP voice packet at every turn respectively according to above-mentioned formula (1) so, from database module, be respectively each road then and read a respective numbers RTP voice packet, and send respectively.
(3) if the time started difference of a plurality of client playbacks, for example timer expiry blanking time is 1 second, client has begun playback and had put 5.5 seconds, if at this moment there is a new calling to need playback, then can fix on 6 seconds to the starting point of this road playback and locate (time-out time of timer after just 0.5 second), so just can handle initiate this road playback being put in the same timer.
Therefore,, in the playback control module, also comprise the judge module (not shown), be used to judge whether the beginning playing time of each road playback is positioned at the integral multiple position of timeout interval time T in view of above several situations.When the beginning playing time of judging each road playback when judge module all was positioned at the integral multiple position of timeout interval time T, above-mentioned other modules of playback control module control were operated.When judge module judges that the beginning playing time of a certain road playback is not positioned at the integral multiple position of timeout interval time T, then the beginning playing time with this road playback is deferred to the timeout interval time place of timer next time, and above-mentioned other modules of the control of playback control module are then operated.
Fig. 2 is the indicative flowchart that illustrates according to audio playback method of the present invention.
At step S1, the timeout interval time T of timer is set, wherein the timeout interval time T at least should be greater than the playing time M/S of a RTP voice packet, i.e. T〉M/S, the sample number that comprises for each RTP voice packet of M wherein, S is the speech sample rate; And T is not more than Ni the needed playing time of RTP voice packet, and wherein Ni is the number that the i road sends the RTP voice packet at every turn, for example can rule of thumb be worth to get 30 milliseconds≤T≤3 second.At step S2,, calculate the number Ni that the i road sends the RTP voice packet at every turn based on the timeout interval time T.At step S3, when arriving the timeout interval time T, Ni the RTP voice packet on difference reading and sending i road.
Wherein,, can calculate the number Ni that the i road sends the RTP voice packet at every turn, i.e. Ni 〉=[T/ (Mi/S)] based on following formula at step S2.
At step S3, can be respectively the i road and read Ni RTP voice packet, and respectively Ni the RTP voice packet on i road be organized into groups; And each Ni RTP voice packet being comprised of marshalling is provided with timestamp, and send each marshalling respectively according to sequencing.
In addition, alternatively, can also comprise between step S1 and step S2 whether the beginning playing time of judging each road playback is positioned at the step of the integral multiple position of timeout interval time T.When the beginning playing time of judging each road playback all is positioned at the integral multiple position of timeout interval time T, continue to carry out described step S2.When the beginning playing time of judging a certain road was not positioned at the integral multiple position of timeout interval time T, then the beginning playing time with this road playback was deferred to the timeout interval time place of timer next time, continues execution in step S2 then.
Below, enumerate a instantiation according to audio playback method of the present invention.Shown in Figure 3 according to the present invention the flow chart of an example of audio playback method.
At step S11, the timer processing module in the timer is provided with the timeout interval time T of timer, wherein 30 milliseconds≤T≤3 second.
At step S12, playback server carries out media negotiation with a plurality of clients respectively, determines the coding mode on each road, thereby and determines the sample number Mi that each RTP voice packet of each road comprises.
At step S13, timer picks up counting.
At step S14, the timer processing module in the timer judges whether to arrive the timeout interval time T.
At step S15, if no show timeout interval time T then continues timing; If arrive the timeout interval time T, then the timer processing module is calculated the number Ni that each road sends the RTP voice packet at every turn according to the sample number Mi that each RTP voice packet of timeout interval time T, speech sample rate S and each road comprises, calculate based on following formula: Ni 〉=[T/ (Mi/S)], be Ni more than or equal to T/ (Mi/S) is rounded, i represents way.
At step S16, module for reading and writing is respectively each road and reads Ni RTP voice packet, and forms a marshalling separately.
At step S17, the RTP sending module is provided with timestamp according to sequencing to Ni the RTP voice packet that each marshalling is comprised.
At step S18, the RTP sending module sends a plurality of marshallings respectively;
At step S19, judge whether the playback control module instructs and stop to read the RTP voice packet.If the judgment is No, then turn back to step S13; If the judgment is Yes, then finish.
In sum, realize the playback server and the method for the efficient playback of multichannel according to use timer of the present invention, can be by prolonging the timer expiry time, send a plurality of voice packets when overtime each, and utilize a timer to handle multi-channel playback simultaneously, save system resource and improve playback efficiency.
The above is the preferred embodiments of the present invention only, is not to be used for limiting the present invention.Various modifications of being done in claim scope of the present invention and distortion all will be included in protection scope of the present invention.

Claims (11)

1. a time control method that is used for playback server is used to carry out playback control regularly, it is characterized in that this method comprises the steps:
Determine the playing time of a RTP voice packet; And
The timeout interval time T is set, makes this timeout interval time T, when arriving the timeout interval time T, organize into groups Ni the RTP voice packet that sends each road respectively for this playback server and carry out playback at least greater than the playing time of a RTP voice packet; Wherein, be not more than Ni the needed playing time of RTP voice packet according to the timeout interval time T, playing time and set timeout interval time T according to each RTP voice packet are calculated the RTP voice packet number Ni that the i road ought last time send, and Ni is greater than 1, and i represents way.
2. time control method as claimed in claim 1 is characterized in that, the playing time of a RTP voice packet obtains divided by the speech sample rate by the sample number that each RTP voice packet is comprised.
3. time control method as claimed in claim 2 is characterized in that, the sample number that each RTP voice packet comprises is by playback server definite coding mode decision by media negotiation.
4. timer that is used for playback server, be used to carry out playback regularly, it is characterized in that, this timer comprises the timer processing module, this timer processing module is connected to this playback server, be used to be provided with the timeout interval time T of this timer, wherein this timeout interval time T is at least greater than the playing time of a RTP voice packet, wherein this timer processing module has calculation element, be used for when playback no show timeout interval time T, continuing timing, when playback arrival timeout interval time time T, be not more than Ni the needed playing time of RTP voice packet according to this timeout interval time T, calculate the RTP voice packet number Ni that the i road ought last time send and send to this playback server according to the playing time of set timeout interval time T and each RTP voice packet, make described playback server when arriving the timeout interval time T, organize into groups Ni the RTP voice packet that sends each road respectively and carry out playback.
5. timer as claimed in claim 4, it is characterized in that, this timer processing module has judgment means, be used for judging whether is integer with timeout interval time time T divided by the value of the playing time gained of each RTP voice packet, and when it is not integer, calculate the RTP voice packet number Ni that the i road ought last time send according to following formula:
Ni≥N avi×Ci-S umi
Wherein, N AviThe RTP voice packet number that the average each timer expiry of expression sends, it is with the value of timeout interval time time T divided by the playing time gained of each RTP voice packet; Ci represents to arrive when the playback of i road begins the number of times of current timer expiry, S UmiRepresent when the playback of i road begins to the RTP number that last time, timer expiry sent altogether; I represents way.
6. audio playback method that is used for playback server, this playback server has timer, it is characterized in that, comprises the steps:
A. determine the playing time of a RTP voice packet and utilize timer that the timeout interval time T of playback is set, make this timeout interval time T at least greater than the playing time of a RTP voice packet;
B. be not more than Ni the needed playing time of RTP voice packet according to this timeout interval time T, calculate the RTP voice packet number Ni that the i road ought last time send according to the playing time of this timeout interval time T and each RTP voice packet; And
Read and organize into groups respectively described Ni RTP voice packet of transmission when c. arriving the timeout interval time T and carry out playback.
7. audio playback method as claimed in claim 6 is characterized in that, described step b further comprises: judge whether is integer with timeout interval time time T divided by the value of the playing time gained of each RTP voice packet, if integer is then proceeded step c; If be not integer, then calculating i road execution in step c behind the RTP voice packet number Ni that last time sent according to following formula:
Ni≥N avi×Ci-S umi
Wherein, N AviThe RTP voice packet number that the average each timer expiry of expression sends, it is with the value of timeout interval time time T divided by the playing time gained of each RTP voice packet; Ci represents to arrive when the playback of i road begins the number of times of current timer expiry, S UmiRepresent when the playback of i road begins to the RTP number that last time, timer expiry sent altogether; I represents way.
8. audio playback method as claimed in claim 6, it is characterized in that, described step c further comprises: judge whether the beginning playing time of each road playback is positioned at the integral multiple position of this timeout interval time T, if judged result is for being, then at described beginning playing time transmission voice packet; If judged result is not, then the beginning playing time with this road playback is deferred to timeout interval time place's transmission voice packet of timer next time.
9. playback server, it has timer, it is characterized in that, and this playback server also has timer processing module, database module, module for reading and writing and RTP sending module;
This timer processing module is connected to this timer, be used to be provided with the timeout interval time T of this timer, wherein this timeout interval time T is at least greater than the playing time of a RTP voice packet, and, be not more than Ni the needed playing time of RTP voice packet according to this timeout interval time T, playing time according to set timeout interval time T and each RTP voice packet calculates the RTP voice packet number Ni that the i road ought last time send, and Ni is greater than 1, and i represents way;
The Ni that this module for reading and writing calculates according to the timer processing module reads Ni the RTP voice packet on each road from database module;
This RTP sending module is organized into groups Ni the RTP voice packet that sends each road respectively and is carried out playback.
10. a playback server is characterized in that, has as claim 4 or 5 described timers, database module, module for reading and writing and RTP sending module; The Ni that this module for reading and writing calculates according to the timer processing module reads Ni the RTP voice packet on each road from database module, this RTP sending module is organized into groups Ni the RTP voice packet that sends each road respectively and carried out playback.
11. playback server as claimed in claim 10, it is characterized in that, also comprise the playback control module that is used to control playback, this playback control module is connected to this timer, be used to judge whether the beginning playing time of each road playback is positioned at the integral multiple position of this timeout interval time T, if judged result is for being, then at described beginning playing time transmission voice packet; If judged result is not, then the beginning playing time with this road playback is deferred to timeout interval time place's transmission voice packet of timer next time.
CNB2006100910267A 2006-09-08 2006-09-08 Timer and timing controlling method for playback server Expired - Fee Related CN100463398C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100910267A CN100463398C (en) 2006-09-08 2006-09-08 Timer and timing controlling method for playback server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100910267A CN100463398C (en) 2006-09-08 2006-09-08 Timer and timing controlling method for playback server

Publications (2)

Publication Number Publication Date
CN1905459A CN1905459A (en) 2007-01-31
CN100463398C true CN100463398C (en) 2009-02-18

Family

ID=37674596

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100910267A Expired - Fee Related CN100463398C (en) 2006-09-08 2006-09-08 Timer and timing controlling method for playback server

Country Status (1)

Country Link
CN (1) CN100463398C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432061B (en) * 2020-03-02 2022-03-29 深圳震有科技股份有限公司 Method and device for generating multi-playing signal tones and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6456967B1 (en) * 1998-12-23 2002-09-24 Samsung Electronics Co., Ltd. Method for assembling a voice data frame
CN1555185A (en) * 2003-12-25 2004-12-15 海信集团有限公司 IP cell phone
WO2006025789A1 (en) * 2004-08-31 2006-03-09 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for frame size adaptation in real-time transport protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6456967B1 (en) * 1998-12-23 2002-09-24 Samsung Electronics Co., Ltd. Method for assembling a voice data frame
CN1555185A (en) * 2003-12-25 2004-12-15 海信集团有限公司 IP cell phone
WO2006025789A1 (en) * 2004-08-31 2006-03-09 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for frame size adaptation in real-time transport protocol

Also Published As

Publication number Publication date
CN1905459A (en) 2007-01-31

Similar Documents

Publication Publication Date Title
US6434606B1 (en) System for real time communication buffer management
US7885187B2 (en) System and method for providing unified messaging system service using voice over internet protocol
Schulzrinne et al. RTP payload for DTMF digits, telephony tones, and telephony signals
US7286652B1 (en) Four channel audio recording in a packet based network
KR100914949B1 (en) Managing a packet switched conference call
US20070070991A1 (en) Method and apparatus for voice over IP telephone
US8532093B2 (en) Voice over internet protocol marker insertion
CN1421091A (en) Methods for providing prepaid telephony service via internet protocol network system
CN110430102B (en) Telephone recording method based on IMS
EP1319299B2 (en) Communication management system for computer network based telephones
US8184616B2 (en) Changing codec information to provide voice over internet protocol (VoIP) terminal with coloring service
CN101115011A (en) Stream media playback method, device and system
Ganguly et al. VoIP: wireless, P2P and new enterprise voice over IP
US7983247B2 (en) Metadata collection
US6909709B2 (en) Packetized communications apparatus and method
CN100463398C (en) Timer and timing controlling method for playback server
CN100440819C (en) Network voice conversation detecting flow generation method based on conversation model
WO2010130193A1 (en) Device, method for controlling audio media packet transmission and audio media server
Hui et al. Towards a standards-based Internet telephony system
JP2005142764A (en) Communication charge calculation system, communication charge calculation device, and communication charge calculation method
US7313233B2 (en) Tone clamping and replacement
US6928078B2 (en) Packetized communications apparatus and method
WO2003096662A1 (en) System and method for recording telephonic communications
US20070071198A1 (en) Apparatus and a method for applications of caller line identification signals
Gustafson et al. Evaluation of statistical distributions for VoIP traffic modelling

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090218

Termination date: 20200908

CF01 Termination of patent right due to non-payment of annual fee