CN100471174C - Method for realizing recording pause function via H.248 protocol - Google Patents
Method for realizing recording pause function via H.248 protocol Download PDFInfo
- Publication number
- CN100471174C CN100471174C CNB2006100601598A CN200610060159A CN100471174C CN 100471174 C CN100471174 C CN 100471174C CN B2006100601598 A CNB2006100601598 A CN B2006100601598A CN 200610060159 A CN200610060159 A CN 200610060159A CN 100471174 C CN100471174 C CN 100471174C
- Authority
- CN
- China
- Prior art keywords
- recording
- user
- time
- continuation
- indication
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000008569 process Effects 0.000 claims description 28
- 239000000126 substance Substances 0.000 claims description 12
- 230000005236 sound signal Effects 0.000 claims description 7
- 239000002609 medium Substances 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 230000008676 import Effects 0.000 description 5
- 239000012572 advanced medium Substances 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 102100035767 Adrenocortical dysplasia protein homolog Human genes 0.000 description 1
- 101000929940 Homo sapiens Adrenocortical dysplasia protein homolog Proteins 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
A method for realizing function of recording pause by utilizing H.248 includes stopping record temporarily after recording pause command from user is received in recording course by media gateway MG, continuing record after command to continue record from user is received in recording pause course by MG and storing record before and after pause into one and the same voice file.
Description
Technical field
The present invention relates to the relevant technology of media resource apparatus, specifically, relate to the technology of media gateway controller for controlling media gateway.
Background technology
ITU-T (International Telecommunications Union International Telecommunications Union---telecommunication standard branch) normal structure has defined H.248 agreement, be specifically designed to media resource control, can be used for controlling medium processing devices such as media gateway MG (Media Gateway media gateway), media gateway controller MGC (Media Gateway Controller), media server.
H.248 the basic principle of agreement is: the various resources on the medium processing device are conceptualized as terminal, and terminal is divided into physical terminal and ephemeral terminations again.Wherein physical terminal is represented the physical entity that some have semipermanent existence, as TDM (time division multiplexing, time division multiplexing) time slot; The public resource that on behalf of provisional application, ephemeral terminations use the back to discharge flows as RTP (Real-time TransportProtocol RTP).Combination between the terminal is conceptualized as context, with the topological relation of describing between the terminal.Abstract based on these, call proceeding is actually terminal and contextual operation, finishes by command request between medium control device and the medium processing device and response, and order comprises increase, modification, deletion, notice etc.; Command parameter is called descriptor, is categorized as attribute (Property), signal (Signal), incident (Event), statistics (Statistic), and the parameter with professional correlation is polymerized to a bag (Package) in logic.Bag is the method for the Extended Protocol function that provides of agreement H.248.
Advanced media server bag set (Advanced media server packages) is in standard (the H.248 expansion of standard) definition H.248.9, comprises two class bags: grammer bag and functional packet; The grammer bag provides some descriptor formats to describe variable playback and document location etc., and the basis of basic syntax expression format is provided for media server control; Functional packet provides senior voice resource control, comprising: AAS wraps (Advanced audio server base package advanced speech server wraps substantially), AAS digit collection bag (AAS digit collection package), AAS recording bag (AAS recording package) and AAS paragraph supervisory packet (Advanced audio serversegment management package) substantially.By these bags, MGC can control the various operations that MG goes up the voice medium resource, comprises the storage, deletion of speech play, voice recording, digit collection and voice document etc.
Wherein, AAS recording bag is used for realizing the process of voice recording, promptly by adopting sound equipment the audio signal of user's input is carried out record, stores the process on some storage medium.
Related to the present invention content-defined as follows in the AAS recording bag in the existing H.248.9 agreement:
Package Name (bag title): AAS recording package
Package-ID (bag sign): aasrec (0x0035)
Description (explanation): this bag is used to refer to recording of audio frequency.
Version (version): 1
1) PlayRecord (playback recording)
Signal name (signal name): PlayRecord (playback recording)
SignallD (signal identification): playrec (0x0002)
Description (description): the play cuing recording of indication medium processing device also begins recording.
Additional parameters (additional parameter)
Parameter Name (parameter name): InitialPrompt (initial prompt sound)
ParameterID (parameter identification): ip (0x0001)
Description (description): the prompt tone content that the prompting user carries out recording operation.
Parameter Name (parameter name): SuccessAnnouncement (prompt tone after recording successfully)
ParameterID (parameter identification): sa (0x0003)
Description (description): the successfully prompt tone content of back broadcast of recording.
Parameter Name (parameter name): PreSpeechTimer (timer before the voice)
ParameterID (parameter identification): prt (0x0006)
Description (description): wait for the time that the user begins to record.
Parameter Name (parameter name): Recordingldentifier (recording indications)
ParameterID (parameter identification): rid (0x0009)
Description (description): the U RI of recording section is distributed in indication.
SignallD (signal identification): makepers (0x0003)
Description (description): the indication medium processing device is saved in current recording in the middle of the URI of appointment.
Procedures (rules)
After MG receives recording indication, open multimedia data stream, according to the designated parameters playing alert tones and begin recording operation.Behind the End of Tape, return the recording result.
After recording was finished, MGC issued permanent preservation signal, and file can be stored in appointed positions.After operation was finished, medium processing device reported media resource controller to the result.
The flow process of normal recording process mainly comprises the steps: as shown in Figure 1
At first, set up voice channel between MGC control MG and the user; MGC issues the recording initiation command by AAS recording bag to MG; MG begins recording to user's playback prompting back user; MG was after MGC reports the recording success message after recording was finished, and MGC control MG preserves recording.
In the process of recording according to above-mentioned flow process, the situation that needs suspend recording may appear, consult some data such as user's temporary needs, perhaps the someone comes over and has interrupted recording or the like.If the user does not wish to abandon the recording of front, also not wishing just needs recording into the irrelevant sound of theme in the interruption process to suspend current recording, waits and is interrupted the process that begins to record of continuing later.
MGC utilizes the operation that the AAS recording bag control MG that defines in the standard H.248.9 records in the prior art, can't realize the function of recording pause.Suspend under the situation of recording in above-mentioned the needs, the user can only finish independently Recording Process twice, and is not only very inconvenient for the recording user, also increased the interaction message quantity between MGC and the MG, wasted memory space.Whether the recording listener also will listen to two sections recording respectively, and it is relevant to be difficult to differentiate these two sections recording when listening to recording.
Summary of the invention
The object of the present invention is to provide and a kind ofly realize suspending the method for sound-recording function, can not realize suspending the problem of recording to solve AAS recording bag in the existing H.248.9 agreement by agreement H.248.
For achieving the above object, the present invention adopts following technical scheme: a kind of H.248 method of agreement realization recording pause function of passing through, and described method comprises following step:
A, media gateway controller MGC are recorded by advanced speech server A AS recording bag indicating media gateway MG, carry in the described AAS recording bag and suspend the recording indication and continue the recording indication;
B, media gateway MG receive that in Recording Process user's time-out recording indication back suspends recording, and MG receives that in suspending Recording Process the recording that continues the user to record the indication back continues recording and will suspend front and back is stored in the same voice document.
Wherein said time-out recording and continuation recording are to realize by " time-out record button " in the playback recorded audio signals and " continuation record button " two additional parameters respectively.
When wherein said described MGC carries out recording operation by AAS recording bag indication MG, also in the playback recorded audio signals, increase " time-out recorded voice ", " continuation recorded voice ", " pause timer " and " pause timeout prompt tone " four additional parameters.
Wherein step a specifically comprises:
In Recording Process,, and enter and suspend recording state and wait for that the user indicates continuation to record if after detecting key assignments that the user imported definition in " time-out record button ", MG will suspend recording, play the time-out recorded voice to the user;
Wherein step b specifically comprises:
After under suspending recording state, detecting the user and having imported the key assignments that defines " continuation record button " in, MG plays the continuation recorded voice to the user, return to recording state, the recording substance before recording substance behind the time-out and the time-out is stored in the same voice document.
Wherein step a also comprises: start when MG suspends recording and suspend the recording timer;
Wherein step b specifically comprises:
If under suspending recording state, suspend detect key assignments that the user imported definition in " continuation record button " before the recording timer expiry after, MG plays the continuation recorded voice to the user, return to recording state, the recording substance before recording substance behind the time-out and the time-out is stored in the same voice document; If up to suspending the recording timer expiry, the user still not indication withdraw from the time-out recording state, MG plays the pause timeout prompt tone to the user, and will enter the recording result who suspends before the recording state and report MGC, finishes this Recording Process.
The present invention overcomes the deficiencies in the prior art, MGC sends to MG with ASS recording bag, indication MG recording, carry in the described recording bag and suspend recording and continue the recording indication, continue recording according to above-mentioned continuation recording indication after importing as the user behind the key assignments of described time-out record button that MG realizes suspending recording according to above-mentioned time-out recording indication and importing the key assignments that continues the record button definition the user, and with the content stores of twice recording in same file.By method provided by the invention, can be in the media resource of mobile or fixed network be used, the function of suspending recording is provided for the relevant business of recording, recording substance MG before and after suspending will be stored in the same voice document as continuous input, not only reduced the interaction message quantity between MGC and the MG, also saved memory space, the recording listener also can keep good continuity when listening to.
Description of drawings
Fig. 1 is the flow chart of AAS recording bag normal recording;
Fig. 2 suspends the flow chart that recording and pause timer are recovered recording before overtime for AAS of the present invention recording bag;
Fig. 3 suspends recording and the overtime flow chart that recovers recording before of pause timer for AAS recording bag of the present invention.
Embodiment
Basic principle of the present invention is that MGC sends to MG with ASS recording bag, indication MG recording, carry in the described recording bag and suspend recording and continue the recording indication, when the user need suspend recording, MG realizes suspending recording according to above-mentioned time-out recording indication, and when the user need continue to record, continue recording according to above-mentioned continuation recording indication, and with the content stores of twice recording in same file.
Specify as follows:
At first, be the process that realizes time-out recording of the present invention and continue to record, MGC needs to carry relevant indication in the order that sends to MG, therefore, increase by six additional parameters in the playback recorded audio signals of the AAS of existing H.248.9 protocol definition recording bag:
Parameter Name (parameter name): PauseKey (time-out record button)
ParameterID (parameter identification): pk (0x)
Description (description): after under recording state, detecting the user and importing DTMF (the Dual-Tone Multi Frequency dual-tone multifrequency) key that defines in this parameter, MG will suspend recording, enter halted state, wait for that the user indicates the continuation recording.
Type (type): character string
Optional (whether optional): be
Possible values (probable value): one or a string dtmf key value comprise 0~9, A~D or a~d, * and #.
Default (default value): do not have
Parameter Name (parameter name): PausePrompt (time-out recorded voice)
ParameterID (parameter identification): pp (0x?)
Description (description): MG enters the prompt tone content that the halted state rear line is play.May comprise one or more sound bites.
Type (type): character string
Optional (whether optional): be
Possible values (probable value): meet the H.248.9 voice snippet of agreement the 6th chapter prescriptive grammar.If this parameter does not issue, after MG enters halted state not to user's playing alert tones.
Default (default value): do not have
Parameter Name (parameter name): ContinueKey (continuation record button)
ParameterID (parameter identification): ck (0x?)
Description (description): after detecting the user import the dtmf key that defines in this parameter under halted state, MG will continue recording, the content of recording later and suspend before recording substance be stored in the same voice document.
Type (type): character string
Optional (whether optional): be.If issued the time-out record button, this parameter is
Essential.
Possible values (probable value): one or a string dtmf key value, comprise 0~9,
A~D or a~d, * and #.
Default (default value): do not have
Parameter Name (parameter name): ContinuePrompt (continuation recorded voice)
ParameterID (parameter identification): cp (0x?)
Description (description): MG releases the prompt tone content that the halted state rear line is play.May comprise one or more sound bites.
Type (type): character string
Optional (whether optional): be
Possible values (probable value): meet the H.248.9 voice snippet of agreement the 6th chapter prescriptive grammar.If this parameter does not issue, after MG releases halted state not to user's playing alert tones.
Default (default value): do not have
Parameter Name (parameter name): PauseTimer (pause timer)
ParameterID (parameter identification): pt (0x?)
Description (description): the maximum duration that halted state continues.MG starts this timer after entering halted state, if up to timer expiry, the user does not still indicate and withdraws from halted state, and MG will play the pause timeout prompt tone to the user, and the recording result that will enter before the halted state reports MGC, finishes this Recording Process.This parameter values is a unit with 10 milliseconds.
Type (type): integer
Optional (whether optional): be.If issued the time-out record button, this parameter is essential.
Possible values (probable value): integer more than or equal to 1
Default (default value): do not have
Parameter Name (parameter name): PauseTimeOutPrompt (pause timeout prompt tone)
ParameterID (parameter identification): ptop (0x?)
Description (description): the prompt tone content that the overtime rear line of pause timer is play.May comprise one or more sound bites.
Type (type): character string
Optional (whether optional): be
Possible values (probable value): meet the H.248.9 voice snippet of agreement the 6th chapter prescriptive grammar.If this parameter does not issue, the recording result before the overtime back of pause timer MG directly will enter halted state reports MGC, finishes this Recording Process.
Default (default value): do not have
As mentioned above, when MGC carries out recording operation by AAS recording bag indication MG, in the playback recorded audio signals, increase " time-out record button ", " time-out recorded voice ", " continuation record button ", " continuation recorded voice ", " pause timer " and " pause timeout prompt tone " six additional parameters.In Recording Process, if detect the user imported suspend the dtmf key that defines in the record button after, MG will suspend recording, play the time-out recorded voice to the user, and enter halted state and wait for that the user indicates continuation to record; If after pause timer detects the user before overtime and has imported the dtmf key that continues to define in the record button under halted state, MG will play the continuation recorded voice to the user, return to recording state, the recording substance before content of recording later and the time-out is stored in the same voice document; If overtime up to pause timer, the user still not indication withdraw from halted state, MG will play the pause timeout prompt tone to the user, and the recording result that will enter before the halted state reports MGC, finish this Recording Process.
The flow process of recovering recording behind the recording pause before pause timer is overtime is as shown in Figure 2:
Set up voice channel between step 1, MGC control MC and the user;
Step 2, MGC issue the order that begins to record by AAS recording bag to MG, comprise six parameters of above-mentioned definition in the described order;
Step 3, MG play the initial prompt sound to the user, and the prompting user begins recording operation;
Step 4, user begin to import voice before the timer expiry before voice, MG enters recording state, begin recording;
Step 5, Recording Process are carried out;
Step 6, MG detect the user import suspend record button after, enter the time-out recording state, and play the time-out recorded voice to the user;
Step 7, user need continue recording, and input continues record button before suspending the recording timer expiry;
Step 8, MG detect the user import continue record button after, play the continuation recorded voice to the user, the recording substance before continuing the content of recording and suspending recording is stored in the same voice document;
Step 9, continuation Recording Process are carried out;
Behind step 10, the End of Tape, MG is to user's playback success prompt tone, and the prompting user recording is successful;
Step 11, MG report the recording success message to MGC;
Step 12, MGC issue permanent hold-over command to MG, and indication MG is saved in current recording among the universal resource identifier URI of appointment.
After suspending recording, also may the user so import the continuation record button time-out recording timer expiry successor, MGC will control MG end recording this moment, and concrete flow process as shown in Figure 3, wherein step 1 is the same with above-mentioned flow process to step 7, and the step after the step 7 is:
Step 8, time-out recording timer expiry, user not indication withdraws from the time-out recording state, and MG plays to the user and suspends the overtime prompt tone of recording, and prompting user recording process finishes;
Step 9, MG report the recording success message to MGC;
Step 10, MGC issue permanent hold-over command to MG, and indication MG is saved in current recording among the URI of appointment and goes.
Claims (5)
1, a kind of H.248 method of agreement realization recording pause function of passing through is characterized in that described method comprises following step:
A, media gateway controller MGC are recorded by advanced speech server A AS recording bag indicating media gateway MG, carry in the described AAS recording bag and suspend the recording indication and continue the recording indication;
B, media gateway MG receive that in Recording Process user's time-out recording indication back suspends recording, and MG receives that in suspending Recording Process the recording that continues the user to record the indication back continues recording and will suspend front and back is stored in the same voice document.
2, method according to claim 1 is characterized in that, described time-out recording and continuation recording are to realize by " time-out record button " in the playback recorded audio signals and " continuation record button " two additional parameters respectively.
3, method according to claim 2, it is characterized in that, when described MGC carries out recording operation by AAS recording bag indication MG, also in the playback recorded audio signals, increase " time-out recorded voice ", " continuation recorded voice ", " pause timer " and " pause timeout prompt tone " four additional parameters.
4, method according to claim 2 is characterized in that, wherein step a specifically comprises:
In Recording Process,, and enter and suspend recording state and wait for that the user indicates continuation to record if after detecting key assignments that the user imported definition in " time-out record button ", MG will suspend recording, play the time-out recorded voice to the user;
Wherein step b specifically comprises:
After under suspending recording state, detecting the user and having imported the key assignments that defines " continuation record button " in, MG plays the continuation recorded voice to the user, return to recording state, the recording substance before recording substance behind the time-out and the time-out is stored in the same voice document.
5, method according to claim 4 is characterized in that, wherein step a also comprises: start when MG suspends recording and suspend the recording timer;
Wherein step b specifically comprises:
If under suspending recording state, suspend detect key assignments that the user imported definition in " continuation record button " before the recording timer expiry after, MG plays the continuation recorded voice to the user, return to recording state, the recording substance before recording substance behind the time-out and the time-out is stored in the same voice document; If up to suspending the recording timer expiry, the user still not indication withdraw from the time-out recording state, MG plays the pause timeout prompt tone to the user, and will enter the recording result who suspends before the recording state and report MGC, finishes this Recording Process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100601598A CN100471174C (en) | 2006-04-03 | 2006-04-03 | Method for realizing recording pause function via H.248 protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100601598A CN100471174C (en) | 2006-04-03 | 2006-04-03 | Method for realizing recording pause function via H.248 protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1889515A CN1889515A (en) | 2007-01-03 |
CN100471174C true CN100471174C (en) | 2009-03-18 |
Family
ID=37578774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100601598A Expired - Fee Related CN100471174C (en) | 2006-04-03 | 2006-04-03 | Method for realizing recording pause function via H.248 protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100471174C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973655A (en) * | 2013-02-04 | 2014-08-06 | 中兴通讯股份有限公司 | Method and device for playing prompt tone and method and device for controlling prompt tone playing |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316263B (en) * | 2007-06-02 | 2011-08-31 | 华为技术有限公司 | Resource reservation method and apparatus |
CN101399964B (en) * | 2007-09-29 | 2010-07-28 | 华为技术有限公司 | Control method, system and device for media playing |
CN101471932A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Medium control method and equipment based on range |
CN101471902A (en) * | 2007-12-29 | 2009-07-01 | 华为技术有限公司 | Method and equipment for implementing signal suspension |
CN101483753A (en) * | 2008-01-10 | 2009-07-15 | 华为技术有限公司 | Implementation method and device for recoding service |
CN101651702A (en) * | 2008-08-13 | 2010-02-17 | 华为技术有限公司 | Media processing method, device and system |
CN101778090A (en) * | 2009-01-12 | 2010-07-14 | 华为技术有限公司 | Method, device and system based on text for controlling media |
CN102299988B (en) * | 2010-06-24 | 2014-12-10 | 杭州华三通信技术有限公司 | Method and device for implementing telephone recording |
CN105516485B (en) * | 2015-12-04 | 2019-03-01 | 小米科技有限责任公司 | The way of recording and device |
CN111862373A (en) * | 2020-05-29 | 2020-10-30 | 北京虾喜科技有限公司 | Method and system for accurately determining service duration |
-
2006
- 2006-04-03 CN CNB2006100601598A patent/CN100471174C/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973655A (en) * | 2013-02-04 | 2014-08-06 | 中兴通讯股份有限公司 | Method and device for playing prompt tone and method and device for controlling prompt tone playing |
Also Published As
Publication number | Publication date |
---|---|
CN1889515A (en) | 2007-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100471174C (en) | Method for realizing recording pause function via H.248 protocol | |
CN100531344C (en) | Method and system for realizing multimedia recording via II.248 protocol | |
JP5363588B2 (en) | Apparatus and method for synchronizing received audio data with video data | |
US20060059199A1 (en) | Cellular radio telecommunications terminal, a system, a method, a computer program and a user interface | |
CN100466529C (en) | Method and system for implementing multi-media recording | |
WO2007093105A1 (en) | Method and system for realizing multi-media playback and media resource processing device | |
WO2012075755A1 (en) | Mobile terminal and anti-theft method thereof | |
WO2007124690A1 (en) | A method for realizing sound paly service and a media resource processing device | |
CN1953447B (en) | A method for processing media resource | |
WO2010130193A1 (en) | Device, method for controlling audio media packet transmission and audio media server | |
WO2010017725A1 (en) | Method, devic and apparatus for controlling media playing | |
CN101483753A (en) | Implementation method and device for recoding service | |
CN100461878C (en) | Method for realizing media gateway control protocol playback | |
CN101193271A (en) | Video recording and real time play-back method | |
CN1984353B (en) | Method and device for mixing sound | |
US20100246601A1 (en) | Method for adjusting signal speed, media gateway, and media gateway controller | |
EP2387197B1 (en) | Method, system, and media gateway for reporting dual tone multi-frequency digits | |
WO2001089182A1 (en) | Voice storage system, exchanger and voice storage apparatus | |
JP3678623B2 (en) | Wireless communication system and wireless communication method | |
WO2010017780A1 (en) | Method, media gateway and system for reporting media recording length information | |
CN101132380A (en) | Interaction method, device and system for dual-tone multi-frequency in separation structure | |
CN102202279B (en) | Media resource control method, device, media resource node and media resource control system | |
WO2010057432A1 (en) | Status information reporting method, device and system based on a separation architecture | |
JP2641722B2 (en) | Answering machine | |
JP2726652B2 (en) | Answering machine |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090318 |
|
CF01 | Termination of patent right due to non-payment of annual fee |