CN1889515A - Method for realizing recording pause function via H.248 protocol - Google Patents

Method for realizing recording pause function via H.248 protocol Download PDF

Info

Publication number
CN1889515A
CN1889515A CNA2006100601598A CN200610060159A CN1889515A CN 1889515 A CN1889515 A CN 1889515A CN A2006100601598 A CNA2006100601598 A CN A2006100601598A CN 200610060159 A CN200610060159 A CN 200610060159A CN 1889515 A CN1889515 A CN 1889515A
Authority
CN
China
Prior art keywords
recording
user
time
indication
continuation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006100601598A
Other languages
Chinese (zh)
Other versions
CN100471174C (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 CNB2006100601598A priority Critical patent/CN100471174C/en
Publication of CN1889515A publication Critical patent/CN1889515A/en
Application granted granted Critical
Publication of CN100471174C publication Critical patent/CN100471174C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

A kind of H.248 method of agreement realization recording pause function of passing through
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)
SignalID (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): RecordingIdentifier (recording indications)
ParameterID (parameter identification): rid (0x0009)
Description (description): the URI of recording section is distributed in indication.
SignalID (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 MG receive user's time-out recording indication back time-out recording in Recording Process;
B, MG receive 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 also comprise before the step a:
Media gateway controller MGC is recorded by advanced speech server A AS recording bag indication MG, carries in the described AAS recording bag and suspends the recording indication.
Wherein said time-out recording indication realizes by " time-out record button " in the playback recorded audio signals and " continuation record button " two additional parameters.
Wherein said time-out recording indication also comprises " time-out recorded voice ", " continuation recorded voice ", " pause timer " and " pause timeout prompt tone " additional parameter in the playback recorded audio signals.
Wherein step a specifically comprises:
In Recording Process,, and enter halted 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 after pause timer detects key assignments that the user imported definition in " continuation record button " before overtime under halted state, 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 overtime up to pause timer, the user still not indication withdraw from halted state, MG plays 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.
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 detecting the user import DTMF (the Dual-Tone Multi Frequency sound multifrequency) key that defines in this parameter under recording state, MG will suspend recording, enter halted state, wait for that the user indicates to continue 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 (6)

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 MG receive user's time-out recording indication back time-out recording in Recording Process;
B, MG receive 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, wherein also comprises before the step a:
Media gateway controller MGC is recorded by advanced speech server A AS recording bag indication MG, carries in the described AAS recording bag and suspends the recording indication.
3, method according to claim 2 is characterized in that, described time-out recording indication realizes by " time-out record button " in the playback recorded audio signals and " continuation record button " two additional parameters.
4, method according to claim 3, it is characterized in that described time-out recording indication also comprises " time-out recorded voice ", " continuation recorded voice ", " pause timer " and " pause timeout prompt tone " additional parameter in the playback recorded audio signals.
5, method according to claim 3 is characterized in that, wherein step a specifically comprises:
In Recording Process,, and enter halted 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.
6, method according to claim 5 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 after pause timer detects key assignments that the user imported definition in " continuation record button " before overtime under halted state, 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 overtime up to pause timer, the user still not indication withdraw from halted state, MG plays 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.
CNB2006100601598A 2006-04-03 2006-04-03 Method for realizing recording pause function via H.248 protocol Expired - Fee Related CN100471174C (en)

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 true CN1889515A (en) 2007-01-03
CN100471174C 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 (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009092271A1 (en) * 2007-12-29 2009-07-30 Huawei Technologies Co., Ltd. Method, system and device for realizing signal pause
WO2009092270A1 (en) * 2007-12-29 2009-07-30 Huawei Technologies Co., Ltd. A range-based media control method and device
WO2009092302A1 (en) * 2008-01-10 2009-07-30 Huawei Technologies Co., Ltd. Method and device for realizing a recording service
WO2010017712A1 (en) * 2008-08-13 2010-02-18 华为技术有限公司 Method, apparatus and system for media processing
WO2010078823A1 (en) * 2009-01-12 2010-07-15 华为技术有限公司 Method, apparatus, and system for controlling media based on texts
CN101399964B (en) * 2007-09-29 2010-07-28 华为技术有限公司 Control method, system and device for media playing
CN101316263B (en) * 2007-06-02 2011-08-31 华为技术有限公司 Resource reservation method and apparatus
CN102299988A (en) * 2010-06-24 2011-12-28 杭州华三通信技术有限公司 Method and device for implementing telephone recording
WO2014117529A1 (en) * 2013-02-04 2014-08-07 中兴通讯股份有限公司 Prompt tone playing method and apparatus, and prompt tone playing control method and apparatus
CN105516485A (en) * 2015-12-04 2016-04-20 小米科技有限责任公司 Sound recording method and device
CN111862373A (en) * 2020-05-29 2020-10-30 北京虾喜科技有限公司 Method and system for accurately determining service duration

Cited By (13)

* Cited by examiner, † Cited by third party
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
WO2009092270A1 (en) * 2007-12-29 2009-07-30 Huawei Technologies Co., Ltd. A range-based media control method and device
WO2009092271A1 (en) * 2007-12-29 2009-07-30 Huawei Technologies Co., Ltd. Method, system and device for realizing signal pause
WO2009092302A1 (en) * 2008-01-10 2009-07-30 Huawei Technologies Co., Ltd. Method and device for realizing a recording service
WO2010017712A1 (en) * 2008-08-13 2010-02-18 华为技术有限公司 Method, apparatus and system for media processing
WO2010078823A1 (en) * 2009-01-12 2010-07-15 华为技术有限公司 Method, apparatus, and system for controlling media based on texts
CN102299988A (en) * 2010-06-24 2011-12-28 杭州华三通信技术有限公司 Method and device for implementing telephone recording
CN102299988B (en) * 2010-06-24 2014-12-10 杭州华三通信技术有限公司 Method and device for implementing telephone recording
WO2014117529A1 (en) * 2013-02-04 2014-08-07 中兴通讯股份有限公司 Prompt tone playing method and apparatus, and prompt tone playing control method and apparatus
CN105516485A (en) * 2015-12-04 2016-04-20 小米科技有限责任公司 Sound recording method and device
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

Also Published As

Publication number Publication date
CN100471174C (en) 2009-03-18

Similar Documents

Publication Publication Date Title
CN1889515A (en) Method for realizing recording pause function via H.248 protocol
CN1832518A (en) System and method for providing multi-media opera browser
JP4944248B2 (en) System, method, and apparatus for playing music while conversation is on hold
CN1575574A (en) Enhanced media gateway control protocol
CN1801862A (en) Method and apparatus for providing multimedia ringback services to user devices in ims networks
CN1812561A (en) Method and apparatus for providing multimedia ringback services to mobile user devices
CN1909646A (en) Video communication method and system
CN1852219A (en) Audio/video document play-back method
CN101068340A (en) Program network transcribing method and media processing server and network transcribing system
CN101031135A (en) Emergent calling method and system
CN1870691A (en) Method for listening dailed signal sound at dail line terminal when network communicating
WO2007093104A1 (en) A method and system of implementing multimedia recording and media resource handling device
CN1866930A (en) System and method for realizing customized ring back tone based on IP multimedia subsystem
CN1909686A (en) System and method for realizing multimedia color ring tone service
CN1901707A (en) Monitoring mobile phone and its remote monitoring method
CN1253809C (en) Data playback device and method
CN1859496A (en) System and method for realizing multimedia color ring service
CN101043756A (en) Method, apparatus and system for processing special service after IP core network
CN101047524A (en) Method and system for implementing multi-media recording
CN1905465A (en) Method and system for implementing non-speech channel alternate multimedia color ring service
CN1889604A (en) Method and system for controlling ringback tone
CN1407445A (en) Method for realizing interactive answer/speech mailbox facility by software
WO2007124690A1 (en) A method for realizing sound paly service and a media resource processing device
CN1968333A (en) Ringing system, apparatus and method, and media resource server
CN102158615B (en) LINUX-based media server in (Voice Over Internet Protocol) system and playback method of media server

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