[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1199403C - Method for realizing broadcast prompting sound and signal sound function in communication network - Google Patents

Method for realizing broadcast prompting sound and signal sound function in communication network Download PDF

Info

Publication number
CN1199403C
CN1199403C CNB021167982A CN02116798A CN1199403C CN 1199403 C CN1199403 C CN 1199403C CN B021167982 A CNB021167982 A CN B021167982A CN 02116798 A CN02116798 A CN 02116798A CN 1199403 C CN1199403 C CN 1199403C
Authority
CN
China
Prior art keywords
speech
tone
frame file
signal
communication network
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
CNB021167982A
Other languages
Chinese (zh)
Other versions
CN1458768A (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 CNB021167982A priority Critical patent/CN1199403C/en
Publication of CN1458768A publication Critical patent/CN1458768A/en
Application granted granted Critical
Publication of CN1199403C publication Critical patent/CN1199403C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明涉及一种通信网络中实现播放提示音和信号音功能的方法。该方法包括:首先,将需要播放的提示音和信号音信息按照不同的语音编码类型或不同的语音编码速率压缩生成相应的语音帧文件;然后,将所有的语音帧文件按照相同的时间间隔分段,并根据相同的规则为每段分配序列号标识;这样,播放提示音和信号音时,便可以在不同的语音帧文件之间切换,以保证提示音和信号音播放的连续性。本发明省去现有技术中的语音编解码器,降低了实现播放提示音和信号音功能的成本。而且,在本发明中不需要分配语音编解码器资源,在一个呼叫会中同时向多个端点播放提示音和信号音时,只需要向多个端点播放不同的语音帧文件,本发明的实施十分方便。

Figure 02116798

The invention relates to a method for realizing the function of playing prompt tone and signal tone in a communication network. The method includes: firstly, compressing the prompt tone and signal tone information to be played according to different speech coding types or different speech coding rates to generate corresponding speech frame files; then, dividing all the speech frame files according to the same time interval segments, and assign serial numbers to each segment according to the same rules; in this way, when playing the prompt tone and signal tone, you can switch between different voice frame files to ensure the continuity of the prompt tone and signal tone playback. The invention omits the voice codec in the prior art, and reduces the cost for realizing the function of playing prompt tone and signal tone. Moreover, in the present invention, there is no need to allocate speech codec resources. When playing prompt tones and signal tones to multiple endpoints at the same time in a call meeting, it is only necessary to play different voice frame files to multiple endpoints. The implementation of the present invention Very convenient.

Figure 02116798

Description

Realize the method for playing alert tones and signal sound function in the communication network
Technical field
The present invention relates to a kind of be mainly used in move and fixed communication network in the method for playing alert tones and signal tone.
Background technology
In mobile communication and fixed communication network telephone service, operator often need provide the broadcast service of signal tone and prompt tone for the user; And, also needs are provided the playing function of more complicated intelligent prompt sound along with the development of IN service.At present, move, fixedly in the packet voice network, voice signal all passes through speech coding and transmits with the form of dividing into groups and exchange.
Since move, fixedly in the packetized voice call business, can select to use multiple speech coding form, promptly select different type of codings, and, also may have multiple speed for same type speech coding, for example, fixedly packet voice professional support G.711 usually, G.729, speech coding G.723.1, wherein G.723.1 speech coding comprises 5.3Kbps and two kinds of speed of 6.3Kbps; AMR (self adaptation multi-code velocity speech coding) speech coding is supported in UMTS (Universal Mobile Telecommunications System) speech business, and the AMR speech coding comprises 8 kinds of speed.In the packet voice business, need be supported in the speed of real time altering speech coding in the communication process usually, that have even may in the speech play process, also need to change the speech coding type, therefore moving, fixedly needing usually to use audio coder ﹠ decoder (codec) to realize the function of playing alert tones and signal tone in the packet voice business, realize same speech source file is play with different speech coding types and speech encoding rate by audio coder ﹠ decoder (codec), to adapt to the needs of different speech coding type and speech encoding rate.
Present applied audio coder ﹠ decoder (codec) uses relatively more expensive high-speed semiconductor device usually, realizes as DSP (digital signal processor), therefore realizes that the cost of prompt tone and signal tone playing function is very high.Adopt the playback equipment of the prompt tone/signal tone of 1000 passages of existing techniques in realizing, need to use the audio coder ﹠ decoder (codec) and the corresponding bag treatment system of 1000 passages, the cost cost $10/ passage of audio coder ﹠ decoder (codec), bag treatment system cost is $100, and therefore the cost of traditional implementation method is $10100.And, adopt prior art when a plurality of end points playing alert tones/signal tone, particularly prompt tone/the signal tone of a plurality of end points needs to distribute a plurality of audio coder ﹠ decoder (codec) passages not simultaneously usually, and resource allocation management is more loaded down with trivial details, has increased implementation complexity greatly.
Summary of the invention
The purpose of this invention is to provide in a kind of communication network the method that realizes playing alert tones and signal sound function,, fixedly in packet network cost and the implementation complexity of realization playing alert tones and signal sound function mobile to be reduced in.
The object of the present invention is achieved like this: realize the method for playing alert tones and signal sound function in the communication network, comprising:
(1) prompt tone that need play in the communication network of packet voice service communication network or packet voice business and TDM speech business mixing and tone information generate different classes of message file according to applied different speech coding type and different speech coding speed;
(2) with sorted message file according to identical time interval segmentation, and be every section distributing serial numbers sign according to unified rule, the wherein said time interval is determined according to the integral multiple of the least common multiple of the employed vocoder frames time span of various information file;
(3) according to the sequence number sign of each segment information file, in communication network, play corresponding message file in order.
Described step (1) comprising:
(11) definite prompt tone and tone information that needs broadcast;
(12) determine speech coding type and the speech encoding rate that this prompt tone of broadcast and tone information are used;
(13) prompt tone that the speech coding type of using in the time of will playing is identical with speech encoding rate and tone information compression generate the speech frame file of respective classes.
Described step (3) comprising:
(31) speech coding type as requested and speech encoding rate are play corresponding speech frame file fragmentation, and note the sequence number of the speech frame file fragmentation of current broadcast;
(32) determine the sequence number of speech frame file fragmentation next to be played according to the sequence number of the speech frame segmentation of current broadcast;
(33) determine speech frame file fragmentation next to be played according to the sequence number of next one speech frame file fragmentation to be played, and play this speech frame file fragmentation.
Described step (32) comprising:
(321) judge whether to switch to new speech coding type and speech encoding rate carries out the broadcast of speech frame file fragmentation, if desired, execution in step (322) then, otherwise, execution in step (324);
(322) determine new speech frame file fragmentation group, execution in step (323) according to new speech coding type and speech encoding rate;
(323) according to the sequence number sign of the speech frame file fragmentation of current broadcast, index goes out the next sequence number sign that needs the speech frame file fragmentation play, execution in step (33) from new speech frame file fragmentation group;
(324) according to the sequence number sign of the speech frame file fragmentation of current broadcast, index goes out the next sequence number sign that needs the speech frame file fragmentation play, execution in step (33) from current speech frame file fragmentation group.
By technique scheme as can be seen, the present invention is by prompt tone and tone information segmentation with grouping, when playing alert tones/signal tone, come the prompt tone and the signal tone grouping of synchronous different speech coding type and speech encoding rate according to the sequence number of each segmentation, to realize form playing alert tones and signal tone by grouping, save the audio coder ﹠ decoder (codec) resource to reach, realize the purpose of playing alert tones and signal sound function thereby reduce cost.When adopting method of the present invention to realize playing alert tones in the communication network and signal sound function, only need to dispose corresponding bag treatment system, saved audio coder ﹠ decoder (codec), the cost Yue Wei $100 of treatment system, realization cost of the present invention only is 0.99% of an existing techniques in realizing cost, cost savings 101 times.And, use the present invention to realize playing alert tones and signal sound function, owing to do not need to distribute the audio coder ﹠ decoder (codec) resource, only need play different prompt tone and signal tone files and get final product to a plurality of end points, therefore, enforcement of the present invention is very convenient.
Description of drawings
Fig. 1 is implementing procedure figure of the present invention.
Embodiment
The embodiment that realizes the method for playing alert tones and signal sound function in the communication network of the present invention is described below in conjunction with the accompanying drawings:
When moving, fixedly needing when the user plays user profile in the packet voice network, referring to Fig. 1, be compressed into the speech frame file of corresponding prompt sound and signal tone respectively according to different speech coding types or different speech encoding rates by the prompt tone of file carrying and tone information with what needs were play; The speech coding frame length of speech frame file can be identical, also can be different, see step 1.
Then, according to the identical time interval with all prompt tones that obtain in the step 1 and the speech frame file fragmentation of signal tone, see step 2; Can be set to the integral multiple of the least common multiple of speech coding frame length for the time interval between the speech frame file fragmentation, specifically implement when of the present invention suggestion and make that the time interval is the least common multiple of speech coding frame length; For example, a prompt tone original is compressed into G.723.1 speech frame file and AMR speech frame file respectively, because G.723.1 the frame length of encoding and decoding speech is 30ms, the frame length of AMR encoding and decoding speech is 20ms, then can incite somebody to action G.723.1 speech frame file and AMR speech frame file fragmentation according to the time interval of 60ms.
Need be its distributing serial numbers sign according to identical rule for the speech frame file after the segmentation, see step 3, can guarantee according to identical regular allocation sequence number sign each speech frame file fragmentation that needs are play by sequence index, thereby guarantee the normal play of prompt tone and signal tone; Distribute the rule of the sequence number sign of each speech frame file fragmentation should be able to guarantee can index to go out the sequence number sign of the speech frame file fragmentation that next needs play, to guarantee to determine the speech frame file fragmentation that next needs are play according to the sequence number sign of the speech frame file fragmentation of current broadcast according to the sequence number sign of in progress current speech frame file fragmentation.
Finish the process of above-mentioned steps 1, just finished the process of the speech frame file that generates corresponding prompt tone and tone information to step 3; Afterwards, just can call this speech frame file as required and carry out the broadcast of corresponding prompt sound and signal tone, concrete playing process is described below:
When playing alert tones and tone information, referring to step 4, speech coding type as requested and speech encoding rate are play the speech frame file fragmentation of corresponding prompt sound and signal tone; And execution in step 5, judge whether prompt tone and tone information play end, if playing process finishes, then execution in step 6, finish the broadcast of prompt tone and signal tone, otherwise, execution in step 7, the sequence number sign of the speech frame file fragmentation of the current broadcast of real time record; Then, referring to step 8, judge whether to switch to new speech coding type or speech encoding rate carries out the broadcast of speech frame file fragmentation, as needs, then execution in step 9, the speech frame file that new speech coding type that switches to as required or speech encoding rate find corresponding prompt sound and signal tone, the change of speech coding type or encoding and decoding speech speed when carrying out playing alert tones and signal tone; Again according to the sequence number sign of the speech frame file fragmentation of current broadcast, index goes out the next sequence number sign that needs the speech frame file fragmentation play from corresponding speech frame file, sees step 10; And begin to play the speech frame file fragmentation of new prompt tone and signal tone from this sequence number sign, promptly execution in step 5; If do not need to switch to new speech coding type or speech encoding rate carries out the broadcast of speech frame file fragmentation, direct execution in step 10 then.According to the process of the needs circulation execution in step 4 of playing the different speech frame file to step 10, until between prompt tone and signal, play and finish, just can in communication network, realize the function of playing alert tones and signal tone.
The method of realization playing alert tones provided by the present invention and signal sound function all uses packets of voice to handle, being about to prompt tone and signal tone generates different speech frame files respectively according to type of coding and code rate different and transmits and exchange, and play the speech frame file according to the order of sequence, in the process of playing alert tones or signal tone when encoding and decoding speech type or encoding and decoding speech speed take place when, can be identified between the different speech frame files according to the sequence number that is distributed and switch, guarantee the continuity that prompt tone and signal tone are play, realize the playing function of prompt tone and signal tone.Do not need the conversion of encoding and decoding speech among the present invention, therefore, the present invention need not use audio coder ﹠ decoder (codec) can realize the playing function of prompt tone and signal tone.
Method used in the present invention is particularly useful in the communication network of packet voice business, in the communication network that the while is also professional applicable to packet voice and TDM (time division multiplexing) speech business mixes.Under the situation of and TDM speech business mixing professional, can increase the G.711 prompt tone of form and the speech frame file of signal tone again, be used for to TDM netcast prompt tone and signal tone at packet voice.

Claims (4)

1、一种通信网络中实现播放提示音和信号音功能的方法,包括:1. A method for realizing the function of playing prompt tone and signal tone in a communication network, comprising: (1)将需要在分组语音业务通信网络或分组语音业务和TDM语音业务混合的通信网络中播放的提示音和信号音信息根据所应用的不同语音编码类型和不同语音编码速率,生成相应类别的信息文件;(1) According to the different voice coding types and different voice coding rates applied, generate corresponding types of prompt tone and signal tone information that need to be played in the packet voice service communication network or the communication network where the packet voice service and TDM voice service are mixed. information files; (2)将分类后的信息文件按照相同的时间间隔分段,并根据统一的规则为每段分配序列号标识,其中所述时间间隔根据各类信息文件所使用的语音编码帧时间长度的最小公倍数的整数倍确定;(2) The classified information files are segmented according to the same time interval, and each segment is assigned a serial number identification according to a unified rule, wherein the time interval is the minimum of the speech coding frame time length used according to various information files Integer multiples of common multiples are determined; (3)根据各段信息文件的序列号标识,按顺序在通信网络中播放相应的信息文件。(3) Play corresponding information files in the communication network in order according to the serial number identification of each segment of information files. 2、根据权利要求1所述的通信网络中实现播放提示音和信号音功能的方法,其特征在于所述的步骤(1)包括:2. The method for realizing the function of playing prompt tone and signal tone in the communication network according to claim 1, characterized in that described step (1) comprises: (11)确定需要播放的提示音和信号音信息;(11) Determine the prompt tone and signal tone information that needs to be played; (12)确定播放该提示音和信号音信息应用的语音编码类型和语音编码速率;(12) determine the speech coding type and the speech coding rate that play this prompt tone and signal tone information application; (13)将播放时应用的语音编码类型和语音编码速率相同的提示音和信号音信息压缩生成相应类别的语音帧文件。(13) Compressing the prompt tone and signal tone information with the same speech coding type and speech coding rate applied during playback to generate a corresponding type of speech frame file. 3、根据权利要求2所述的通信网络中实现播放提示音和信号音功能的方法,其特征在于所述的步骤(3)包括:3. The method for realizing the function of playing prompt tone and signal tone in the communication network according to claim 2, characterized in that said step (3) comprises: (31)根据要求的语音编码类型和语音编码速率播放相应的语音帧文件分段,并记录下当前播放的语音帧文件分段的序列号;(31) play the corresponding speech frame file segment according to the speech coding type required and the speech coding rate, and record the serial number of the speech frame file segment of the current broadcast; (32)根据当前播放的语音帧分段的序列号确定下一个待播放的语音帧文件分段的序列号;(32) determine the sequence number of the next speech frame file segment to be played according to the sequence number of the currently played speech frame segment; (33)根据下一个待播放的语音帧文件分段的序列号确定下一个待播放的语音帧文件分段,并播放该语音帧文件分段。(33) Determine the next audio frame file segment to be played according to the sequence number of the next audio frame file segment to be played, and play the audio frame file segment. 4、根据权利要求3所述的通信网络中实现播放提示音和信号音功能的方法,其特征在于所述的步骤(32)包括:4. The method for realizing the function of playing prompt tone and signal tone in the communication network according to claim 3, characterized in that said step (32) comprises: (321)判断是否需要切换到新的语音编码类型和语音编码速率进行语音帧文件分段的播放,如果需要,则执行步骤(322),否则,执行步骤(324);(321) judge whether need to switch to new speech coding type and speech coding rate to carry out the broadcast of speech frame file segmentation, if necessary, then execute step (322), otherwise, execute step (324); (322)根据新的语音编码类型和语音编码速率确定新的语音帧文件分段组,执行步骤(323);(322) determine new speech frame file segmentation group according to new speech coding type and speech coding rate, carry out step (323); (323)根据当前播放的语音帧文件分段的序列号标识,从新的语音帧文件分段组中索引出下一个需要播放的语音帧文件分段的序列号标识,执行步骤(33);(323) according to the sequence number mark of the speech frame file segment of current broadcast, index the sequence number mark of the speech frame file segment that needs to play next from new speech frame file segment group, execution step (33); (324)根据当前播放的语音帧文件分段的序列号标识,从当前的语音帧文件分段组中索引出下一个需要播放的语音帧文件分段的序列号标识,执行步骤(33)。(324) According to the serial number identification of the audio frame file segment of the current broadcast, index the serial number identification of the next voice frame file segment that needs to be played from the current audio frame file segment group, and perform step (33).
CNB021167982A 2002-05-15 2002-05-15 Method for realizing broadcast prompting sound and signal sound function in communication network Expired - Fee Related CN1199403C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021167982A CN1199403C (en) 2002-05-15 2002-05-15 Method for realizing broadcast prompting sound and signal sound function in communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021167982A CN1199403C (en) 2002-05-15 2002-05-15 Method for realizing broadcast prompting sound and signal sound function in communication network

Publications (2)

Publication Number Publication Date
CN1458768A CN1458768A (en) 2003-11-26
CN1199403C true CN1199403C (en) 2005-04-27

Family

ID=29426522

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021167982A Expired - Fee Related CN1199403C (en) 2002-05-15 2002-05-15 Method for realizing broadcast prompting sound and signal sound function in communication network

Country Status (1)

Country Link
CN (1) CN1199403C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100358373C (en) * 2004-08-09 2007-12-26 华为技术有限公司 Playback method for give alarm voice
CN100420186C (en) * 2006-02-15 2008-09-17 华为技术有限公司 Method and apparatus for playing storaged voice in network
CN101001286B (en) * 2006-12-27 2010-05-19 中兴通讯股份有限公司 Method and system for customizing prompt voice speech in digital program control exchange
WO2014196189A1 (en) * 2013-06-05 2014-12-11 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Data decoding method, data decoding apparatus, and data transmitting method
CN112817659B (en) * 2021-02-02 2023-06-02 金陵科技学院 A method for predicting voice loading of a voice gateway

Also Published As

Publication number Publication date
CN1458768A (en) 2003-11-26

Similar Documents

Publication Publication Date Title
CN1276367C (en) Multimedia data flow code conversion system
JP3168012B2 (en) Method and apparatus for coding, manipulating and decoding audio signals
CN1143264C (en) Scalable mixing for speech streaming
CN1311599A (en) Method for affording conference and generating announce used in radio VoIP and VoATM calling
JP2009514033A (en) Audio data packet format, demodulation method thereof, codec setting error correction method, and mobile communication terminal performing the same
CN1199403C (en) Method for realizing broadcast prompting sound and signal sound function in communication network
CN108235052A (en) Multi-audio-frequency channel hardware audio mixing, acquisition and the method for broadcasting may be selected based on IOS
CN1139233C (en) Method and apparatus for real-time applications employing internet protocol stacks
CN1391396A (en) Routing method for implementing intelligent IP telephone service
CN1905703A (en) Method and system for implementing multimedia music ringring in mobile communication network and mobile intelligent network
CN102624743A (en) Resource allocation method of media server
ATE428287T1 (en) SYSTEM AND METHOD FOR SELECTING A COMMUNICATIONS NETWORK BY A TERMINAL
CN101502043B (en) Method for carrying out a voice conference, and voice conference system
CN115460186B (en) A method and device for generating recording files of capability platform based on AMR-WB coding
CN101030999A (en) System and method for utilizing narrow-band color bell by wide-band user
CN1201546C (en) Method, gateway and arrangement in communication network
CN1735088A (en) A Method for Tracking the Whole Flow of a Next Generation Network Media Gateway Call
CN1510898A (en) Mixed speech processing method
CN112652317B (en) High sampling rate audio playing method and system based on Android system
CN1494288A (en) Method of realizing multiplex sound reproduction simultaneously in conference through MEGACO protocol
CN1976371A (en) Method of tandem exchange playing personal speech
CN1194525C (en) Digital recording system
CN1735109A (en) Method for realizing color ringing tone
KR100688889B1 (en) Method and device for data identification using codec information
CN1836432A (en) More economical resource application on the user interaction with a speech dialogue system in a packet network by means of a simplifying processing of signalling information

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050427

Termination date: 20150515

EXPY Termination of patent right or utility model