CN1953447B - A method for processing media resource - Google Patents

A method for processing media resource Download PDF

Info

Publication number
CN1953447B
CN1953447B CN200510118253XA CN200510118253A CN1953447B CN 1953447 B CN1953447 B CN 1953447B CN 200510118253X A CN200510118253X A CN 200510118253XA CN 200510118253 A CN200510118253 A CN 200510118253A CN 1953447 B CN1953447 B CN 1953447B
Authority
CN
China
Prior art keywords
media resource
processing tasks
medium processing
vxml
entities
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
CN200510118253XA
Other languages
Chinese (zh)
Other versions
CN1953447A (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 CN200510118253XA priority Critical patent/CN1953447B/en
Publication of CN1953447A publication Critical patent/CN1953447A/en
Application granted granted Critical
Publication of CN1953447B publication Critical patent/CN1953447B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a media resource processing method which comprises that editing media processing service based on voice expand mark language; carrying the information of said service in H.248 message pack to be sent to the media resource processing solid via media resource controller; the processing solid processes the service via the received information in H.248 message pack. The invention can utilize the advantages of VXML language in the media resource processing system based on H.248 protocol.

Description

Method for processing media resource
Technical field
The present invention relates to the multi-media information communication technology in the core net, especially relate to a kind of method for processing media resource.
Background technology
At present, in CDMA IP Multimedia System (IMS, IP Multimedia Subsystem), the processing network frame schematic diagram of media resource business as shown in Figure 1, the concrete effect that wherein should handle each functional entity in network is as follows:
Application server (AS, Application Server) is used to handle various media business, as the user being carried out playback, collecting the digits, hold a meeting or processing such as recording;
Business-CSCF (S-CSCF, Service-Call Session Control Function), be used to handle the route of media business resource, promptly the media business resource that AS is sent is properly routed to media resource function controller (MRFC, Media Resource Function Controller), or the media business resource that MRFC sends be properly routed to AS;
Media resource function controller (MRFC, Media Resource Function Controller), be used for being responsible for control media business resource, promptly according to the requirement of AS, select corresponding resource function processor (MRFP, Media Resource Function Processor) handle the media business resource that AS sends, and the corresponding MRFP of control handles to the media business resource;
Media Resource Function Processor (MRFP, Media Resource Function Processor) is used for being responsible for the processing of media business resource, promptly under the control of MRFC, finishes the media business resource that AS is issued and handles.
Wherein in above-mentioned each functional entity, interface ISC between AS and the S-CSCF, interface Mr between S-CSCF and the MRFC is based on conversation initialized protocol (SIP, Session Initial Protocol) and autgmentability mark language (XML, Extend Mark Language) agreement realizes, or is based on all that the agreement of Session Initiation Protocol and similar XML realizes;
H.248 agreement realizes and the interface Mp between MRFC and the MRFP is based on; The external interface Mb of MRFP is based on generally that RTP (RTP, Real time Transport Protocol) carrying user media stream realizes.
At present, the processing network frame schematic diagram of the media business resource in fixing flexible exchanging network as shown in Figure 2, Media Resource Server (MRS among the figure, Media Resource Server) processing capacity such as can realize playback, collect the digits, hold a meeting or record, it can finish above-mentioned these professional processing capacities under application server or the Softswitch control action by agreement H.248.
Wherein MRS is equivalent to MRFC and two functional entitys of MRFP in the above-mentioned IMS network; Application server is equivalent to AS and two functional entitys of S-CSCF in the above-mentioned IMS network; The function of Softswitch and application server is substantially the same.
For other network systems, as fixedly IMS system, WCDMA flexible exchanging network etc., the processing network frame of its media business resource and the processing network frame of said system are same or similar.
H.248 agreement is the agreement that is specifically designed to the media resource control and treatment of ITU-T SG16 normal structure definition, can be used for controlling medium processing devices such as media gateway, Media Resource Server.
Wherein in the media resource processing procedure, H.248 the basic application principle of agreement is: with the abstract terminal that becomes of the various media resources on the medium processing device, terminal can be divided into physical terminal and ephemeral terminations again; Wherein physical terminal is represented the physical entity that some have semipermanent existence, as TDM time slot etc.; The public medium resource that on behalf of provisional application, ephemeral terminations use the back to discharge is as the RTP Media Stream etc.Combination between the terminal is abstracted into and is context, and describes relation between the terminal with topology.These are abstract based on above-mentioned, in fact the media resource call proceeding is exactly to terminal and contextual operation, come complete connection to handle by command request between media resource controlling device (as MRFC) and the media resource processing arrangements (as MRFP) and response, its order comprises orders such as increase, modification, deletion, notice; Command parameter is defined as descriptor, and be categorized as attribute (Property), signal (Signal), incident (Event) and add up types such as (Statistic), parameter with professional correlation logically is aggregated becomes a bag (Package), and wherein H.248 protocol package has extensibility.
Wherein the voice expansion marks language (VXML, Voice Extend Mark Language) be the Internet, world alliance organization (W3C, World Wide Web Consortium) Ding Yi a kind of programming language that is applied to voice environment, it can support player function, the function that collects the digits, complicated interactive voice response (IVR) function, Text To Speech conversion (TTS, Text To Speech) function, speech identifying function etc.A script that uses VXML to write is as follows:
<?xml?version=″1.0″?>
<vxml version=" 1.0 "〉//specific identifier of VXML script
<form id=" Welcome "〉// expression one be designated " Welcome " and dialog box
<prompt〉// keyword of playing alert tones
<audio src=" welcome.wav "〉// voice document of played pre-recorded
</audio>
</prompt>
</form>
</vxml>
The VXML script can explain be carried out by voice browser, its input be dtmf signal or voice, output be voice.
At present in variety of network systems with media resource disposal ability, all also do not possess based on agreement H.248 and use the VXML language to finish the function that media resource is handled, thereby make the advantage of VXML language in network system, can not obtain performance with media resource disposal ability.
Summary of the invention
The technical problem to be solved in the present invention is to propose a kind of method for processing media resource, so that the advantage of VXML language can obtain performance in the media resource treatment system based on agreement H.248, thereby strengthens the disposal ability of media resource treatment system.
For addressing the above problem, the technical scheme that the present invention proposes is as follows:
A kind of method for processing media resource comprises step:
A. based on voice expansion mark language compilation medium Processing tasks;
B. with the first medium Processing tasks, and the stored position information of the identification information of the second medium Processing tasks and the second medium Processing tasks be embedded into H.248 in the message bag, indicate to the media resource processing entities by media resource control entity;
C. the media resource processing entities arrives the memory location index second medium Processing tasks of described stored position information correspondence according to the identification information and the stored position information of the second medium Processing tasks that carries in the H.248 message bag that receives based on the identification information of the described second medium Processing tasks; And
After the first medium Processing tasks combination of carrying in second medium Processing tasks that indexes and the H.248 message bag that receives, transfer to voice expansion mark language scripts resolver and resolve execution.
Preferably, the second medium Processing tasks that the media resource processing entities will index carries out buffer memory, and behind the buffer memory duration that arrives regulation again with the first medium Processing tasks that carries in the second medium Processing tasks and the H.248 message bag that receives in conjunction with after, transfer to voice expansion mark language scripts resolver and resolve execution.
Preferably, comprise also among the described step B that the execution property parameters of will be used for indicating the media resource processing entities to carry out the medium Processing tasks is carried on message bag H.248 and indicates step to the media resource processing entities by media resource control entity;
The media resource processing entities is carried out alignment processing according to the execution property parameters that carries in the H.248 message bag that receives to the medium Processing tasks among the described step C.
Preferably, described execution property parameters comprises at least a in the following parameter:
Be used to indicate the media resource processing entities to repeat the number of times parameter to what same medium Processing tasks repeated;
When being used to indicate the media resource processing entities that same medium Processing tasks is repeated, the time interval parameter between per twice implementation;
Be used to indicate sign and the stored position information of media resource processing entities, based on the index command parameter that the corresponding medium Processing tasks of corresponding stored location index carries out buffer memory that is identified to of medium Processing tasks according to the medium Processing tasks;
Be used to indicate the media resource processing entities will from the corresponding stored location index to the medium Processing tasks carry out the valid cache duration value parameter of buffer memory.
Preferably, described method also comprises step:
D. media resource control entity issues and is used to detect the media resource processing entities and carries out the sense command of execution result information of medium Processing tasks to the media resource processing entities;
E. the media resource processing entities responds the sense command that receives, and the execution result information of carrying out the medium Processing tasks is reported media resource control entity.
Preferably, described execution result information comprises:
The media resource processing entities is after carrying out the success of medium Processing tasks, to the information that runs succeeded based on voice expansion mark language of media resource control entity feedback;
The media resource processing entities if occur unusually, is expanded the error code of mark language based on voice to the media resource control entity feedback when execution medium Processing tasks.
Preferably, the Processing tasks of described medium Processing tasks for the user is collected the digits and handles, the collect the digits object information of described execution result information for the user is collected the digits and handles; Or
The Processing tasks of described medium Processing tasks for user speech is recorded and handled, the recording object information of described execution result information for user speech is recorded; Or
The Processing tasks of described medium Processing tasks for user speech is carried out speech recognition, the voice identification result information of described execution result information for user speech is discerned.
The beneficial effect that the present invention can reach is as follows:
The present invention passes through based on VXML language compilation medium Processing tasks, and will be carried on H.248 based on the relevant information of the medium Processing tasks of VXML language compilation and indicate to the media resource processing entities by media resource control entity in the message bag, the media resource processing entities is resolved execution according to the relevant information of the medium Processing tasks that carries in the H.248 message bag that receives to the respective media Processing tasks.Thereby can realize making advantage that VXML language itself had in media resource treatment system, to obtain performance based on agreement H.248, so that being provided to the user, uses diversified media resource, and need on media resource controlling device, not realize complicated VXML script analytical capabilities, only need on media resource processing arrangements, resolve VXML and get final product, therefore alleviate the processing load of media resource controlling device.
Accordingly, the present invention will be also by being issued to media resource control entity based on the medium Processing tasks that VXML writes, to be converted into based on the medium Processing tasks of VXML language compilation based on the medium Processing tasks of agreement H.248 by media resource control entity, and will be issued to the media resource processing entities based on the medium Processing tasks of agreement H.248, by the media resource processing entities medium Processing tasks that receives is resolved execution, thereby also can realize making advantage that VXML language itself had in media resource treatment system, to be not fully exerted based on agreement H.248, to provide diversified media resource to use to the user, strengthened the disposal ability of media resource treatment system.
Description of drawings
Fig. 1 is at present in CDMA IP Multimedia System (IMS, IP Multimedia Subsystem), the processing network frame schematic diagram of media resource business;
Fig. 2 is the present processing network frame schematic diagram of the media business resource in fixing flexible exchanging network;
Fig. 3 is the main realization principle flow chart of first kind of method for processing media resource of the present invention's proposition;
Fig. 4 is the first kind of method for processing media resource that proposes based on the present invention, carries out the processing procedure schematic diagram of information interaction between media resource control entity and the media resource processing entities;
Fig. 5 is the main realization principle flow chart of the another kind of method for processing media resource of the present invention's proposition.
Embodiment
Because H.248 agreement is the agreement that is specifically designed to the media resource control and treatment, and in agreement H.248 by package definition abundant media resource control method, as:
1, agreement H.248.9, i.e. the media resource control method of advanced media server bag (Advanced Media Server Package) definition has:
(1) play sound bite, can indicate the position of voice snippet by URI, also can indicate the number of repetition of playing voice snippet, and per twice broadcast between parameters such as the time interval, broadcast sound volume and broadcasting speed;
(2) the playback processing that collects the digits can be carried out the DTMF interaction process that collects the digits to user's playing alert tones with to the user;
(3) recording can be returned the recording file sign that the user is recorded or the deposit position information of recording file.
2, H.248.7 defining the method for using playback file identification playback in the agreement;
3, in agreement H.248.16, defined the complicated playback method of operation that collects the digits.
The present invention program expands the mode that the support media resource is used on the basis of existing H.248 agreement, hereinafter will call media resource control entity (as media resource function controller MRFC) to control appliance, controlled equipment is called media resource processing entities (as Media Resource Function Processor MRFP) and comes the present invention program's main realization principle and embodiment thereof are explained in detail.
The main design philosophy of first kind of method for processing media resource that the present invention proposes is that agreement is H.248 expanded, marking language (VXML based on the voice expansion, Voice Extend Mark Language) H.248 the medium Processing tasks of writing or its relevant information are directly embedded in the protocol message bag, H.248 the protocol message bag that will embed VXML medium Processing tasks or its relevant information then is handed down to the media resource processing entities, so that the media resource processing entities is directly carried out the VXML medium Processing tasks that embeds in the message bag H.248, or, obtain corresponding VXML medium Processing tasks and carry out processing according to the VXML medium Processing tasks relevant information that embeds in the message bag H.248; And the execution result information of correspondence fed back to media resource control entity.
As shown in Figure 3, this figure is the main realization principle flow chart of first kind of method for processing media resource proposing of the present invention, and its main implementation procedure is as follows:
Step S10, based on the corresponding medium Processing tasks of VXML language compilation, wherein can be for controlling the Processing tasks that the user is collected the digits and handles based on the medium Processing tasks of VXML language compilation, or the Processing tasks for user speech is recorded and handled, can also be for the voice that are used for being carried out the voice recognition tasks of automatic speech recognition;
H.248 step S20 is carried on the relevant information of above-mentioned medium Processing tasks and is indicated to the media resource processing entities by media resource control entity in the message bag;
Step S30, the media resource processing entities is resolved execution according to the relevant information of the medium Processing tasks that carries in the H.248 message bag that receives to the respective media Processing tasks.
Wherein in above-mentioned steps S20, the execution property parameters that is used for indicating the media resource processing entities to carry out the medium Processing tasks can also be carried on H.248 the message bag and indicate to the media resource processing entities by media resource control entity; Subsequent media resource processing entities will be carried out alignment processing to the medium Processing tasks according to the execution property parameters that carries in the H.248 message bag that receives.
Wherein the execution property parameters that carries in message H.248 comprises at least a in the following parameters:
1. be used to indicate the media resource processing entities to repeat the number of times parameter to what same medium Processing tasks repeated;
When 2. being used to indicate the media resource processing entities that same medium Processing tasks is repeated, the time interval parameter between per twice implementation;
3. be used to indicate the sign and the stored position information of media resource processing entities, based on the index command parameter that the corresponding medium Processing tasks of corresponding stored location index carries out buffer memory that is identified to of medium Processing tasks according to the medium Processing tasks;
4. be used to indicate the media resource processing entities will from the corresponding stored location index to the medium Processing tasks carry out the valid cache duration value parameter of buffer memory.
Wherein after step S30, media resource control entity can also issue and be used to detect the media resource processing entities and carry out the sense command of execution result information of medium Processing tasks to the media resource processing entities; The media resource processing entities responds the sense command that receives then, and the execution result information of carrying out the medium Processing tasks is reported media resource control entity.
Be that this media resource processing scheme that the present invention proposes mainly is by protocol package is H.248 expanded, to finish following function:
(1) media resource control entity is carried out the medium Processing tasks of writing based on VXML by the indication of agreement H.248 media resource processing entities: wherein can H.248 directly carry the medium Processing tasks of writing based on VXML itself in the protocol package, or carry the identification information and the stored position information of the medium Processing tasks of writing based on VXML, or carry the medium Processing tasks itself write based on VXML and the identification information and the stored position information of other medium Processing tasks of writing based on VXML;
(2) H.248 media resource control entity by carrying every execution parameter information in the protocol package, with indication media resource processing entities the medium Processing tasks of writing based on VXML being carried out the respective items purpose handles: be used to indicate the media resource processing entities to repeat the number of times parameter to what same medium Processing tasks repeated as carrying at protocol message bag H.248, and carry when being used to indicate the media resource processing entities that same medium Processing tasks is repeated the time interval parameter between per twice implementation; Or carry and be used to indicate sign and the stored position information of media resource processing entities according to the medium Processing tasks, based on the medium Processing tasks be identified to the corresponding medium Processing tasks of corresponding stored location index carry out the index command parameter of buffer memory and carry be used to indicate the media resource processing entities will from the corresponding stored location index to the medium Processing tasks carry out the valid cache duration value parameter of buffer memory;
(3) the media resource processing entities is when the medium Processing tasks execute exception of writing based on VXML, returns error code based on VXML to media resource control entity;
(4) the media resource processing entities is when the medium Processing tasks of writing based on VXML runs succeeded, return the information that runs succeeded and execution result information to media resource control entity based on VXML, wherein execution result information comprises user's input information, as DTMF number information or the recorded message of user's typing or the voice identification result information of user speech being carried out automatic speech recognition (ASR) of user's input.
Please refer to Fig. 4, this figure is based on first kind of method for processing media resource that the present invention proposes, and carries out the processing procedure schematic diagram of information interaction between media resource control entity and the media resource processing entities, and it is as long as processing procedure is as follows:
A1, media resource control entity issue and are used to indicate the media resource processing entities to handle the indication information of the medium Processing tasks of writing based on VXML;
After A2, media resource processing entities receive indication information, to media resource control entity feedback confirmation of receipt message.
Wherein the concrete enforcement of steps A 1 can have three kinds of modes, and is as follows respectively:
(1) H.248 media resource control entity is directly carrying the medium Processing tasks of writing based on VXML itself in the message bag;
The media resource processing entities is extracted the medium Processing tasks of writing based on VXML that carries in the H.248 message bag receive, and transfers to VXML script resolver and resolve execution.
Promptly in the spreading parameter of message bag H.248, directly carry the medium Processing tasks of writing based on VXML itself; Wherein the medium Processing tasks of writing based on VXML is complete, as can be explained execution by a VXML script interpreter VXML language text string, and example is as follows:
<?xml?version=″1.0″?>
<vxml?version=″1.0″>
<form?id=″Welcome″>
<prompt>
<audio?src=”welcome.wav”>
</audio>
</prompt>
</form>
</vxml>
The form of this VXML language text string can not conformed to the H.248 processing capacity Entity recognition of agreement, just is embedded in the H.248 message bag after the expansion as a language text string; The media resource processing entities can directly be extracted this language text string after receiving the H.248 message bag that carries this language text string, and gives the VXML script interpreter and resolve execution.
(2) identification information and the stored position information of the media resource control entity medium Processing tasks that carrying is write based on VXML in message bag H.248;
The media resource processing entities is according to the identification information and the stored position information of the medium Processing tasks that carries in the H.248 message bag that receives, based on the medium Processing tasks of the identification information of medium Processing tasks index correspondence in the memory location of correspondence; And the medium Processing tasks that indexes is transferred to VXML script resolver resolve execution.
Promptly the medium Processing tasks of writing based on VXML can be stored in the media resource processing entities in advance or store in advance on other the external server, and media resource control entity carries the identification information and the stored position information of this medium Processing tasks of writing based on VXML in message bag H.248;
Wherein the identification information of the medium Processing tasks of writing based on VXML can be the arbitrary string that meets the file designation standard; The stored position information of its medium Processing tasks has three kinds of forms:
A. but the medium Processing tasks document form of this locality direct access is the voice document welcome.vxm that is stored in this locality as a medium Processing tasks;
B. pass through file: the medium Processing tasks file of // mode access, as passing through file: //the huawei/welcome.vxm mode reads medium Processing tasks file welcome.vxm to correspondence position;
C. pass through http: the medium Processing tasks file of // mode access, as reading medium Processing tasks file welcome.vxm to correspondence position by http://huawei/welcome.vxm mode;
The media resource processing entities is according to the identification information and the stored position information of the medium Processing tasks that carries in the H.248 message bag that receives, after from far-end server or local storage medium, reading earlier corresponding medium Processing tasks file based on the identification information of medium Processing tasks, put into buffer memory and carry out caching process, and behind the buffer memory duration that arrives regulation, call the VXML script interpreter again and resolve execution.
(3) media resource control entity reaches the identification information and the stored position information of the second medium Processing tasks of writing based on VXML H.248 carrying the first medium Processing tasks of writing based on VXML in the message bag;
The media resource processing entities is according to the identification information and the stored position information of the second medium Processing tasks that carries in the H.248 message bag that receives, based on the identification information of the second medium Processing tasks index second medium Processing tasks in the memory location of correspondence; And the first medium Processing tasks that carries in second medium Processing tasks that will index and the H.248 message bag that receives in conjunction with after, transfer to VXML script resolver again and resolve execution.
The identification information and the stored position information of the medium Processing tasks that the medium Processing tasks that to be media resource control entity carry in the spreading parameter of message bag H.248 simultaneously writes based on VXML and other are write based on VXML, sign and memory location with other medium Processing tasks of writing the medium Processing tasks language text string of writing based on VXML with based on VXML are combined into a continuous text string, be carried in the parameter of H.248 message bag expansion, be issued to the media resource processing entities and handle, example is as follows:
http://huawei/welcome.vxm
<?xml?version=″1.0″?>
<vxml?version=″1.0″>
<form?id=″Welcome″>
<prompt>
<audio?src=”welcome.wav”>
</audio>
</prompt>
</form>
</vxml>
Or, introduce a medium Processing tasks file of writing based on VXML with expression at the special keyword of the identification information front of the medium Processing tasks of writing based on VXML increase, example is as follows:
<include?http://huawei/welcome.vxm>
<include>
After the media resource processing entities receives the identification information and stored position information string file of other medium Processing tasks that carry the medium Processing tasks write based on VXML simultaneously and write based on VXML, carry out preliminary treatment earlier, promptly according to the identification information and the stored position information of the VXML medium Processing tasks that carries in the message bag H.248, identification information based on VXML medium Processing tasks reads corresponding VXML medium Processing tasks language file string from far-end server or this locality of correspondence, and and the medium Processing tasks of writing based on VXML that H.248 carries in the message bag be connected to become a VXML language text string, put into buffer memory then, and behind the buffer memory duration that arrives regulation, call the VXML script interpreter again and resolve execution.
Wherein carry out in the medium Processing tasks process of writing based on VXML in indication media resource processing entities, can also in the parameter of H.248 message bag expansion, carrying be used to indicate the media resource processing entities medium Processing tasks to be carried out the execution parameter information of respective handling, being issued to the media resource processing entities from media resource control entity, thereby indication media resource processing entities is carried out corresponding processing according to every execution parameter information of carrying in the message bag H.248 to the medium Processing tasks.
Wherein portable execution parameter comprises in message bag H.248:
1) repeat number of times:
Be used to the execution number of times of indicating the media resource processing entities that same VXML medium Processing tasks is repeated, the default value when not carrying this parameter is once.
2) time interval between per repeat for twice:
When being used to indicate the media resource processing entities that same VMXL medium Processing tasks is repeatedly repeated, a time-delay value that can insert between per twice execution, default value is not at interval not free when not carrying this parameter.
3) whether read file parameters in advance:
Be used to indicate the media resource processing entities when carrying out a VXML medium Processing tasks, if this parameter is true, expression indication media resource processing entities just reads this locality to VXML medium Processing tasks file and carries out buffer memory after receiving fill order, otherwise wait until when fill order comes into force, remove to read VXML medium Processing tasks file again.
4) the buffer memory duration of VXML medium Processing tasks file:
After the VXML medium Processing tasks file that is used for indicating medium processing entity that this locality or far-end server are stored reads in local cache, an overtime duration is set, VXML medium Processing tasks file is still effective in this duration, otherwise invalid.
Wherein implement the process of above-mentioned steps A1, A2, H.248 the message bag that will be provided with VXML medium Processing tasks or its relevant information with the realization media resource control entity is handed down to the media resource processing entities, make the media resource processing entities directly carry out the VXML medium Processing tasks that carries in the message bag H.248, or according to its relevant information, it is as follows to obtain the specific embodiment that corresponding VXML medium Processing tasks carries out:
Signals (signal)
(1) play VXML file (VXML medium Processing tasks file is carried out in indication)
Signal Name (signal name): Play VXML file
SignalID (signal identification): pvf (0x?)
Description (explanation): carry out VXML medium Processing tasks file
SignalType (signal type): BR
Duration (duration): Not applicable
Additional Parameter (additional parameter):
I.Parameter Name (parameter name): VXML file
Parameter ID (parameter identification) vf (0x?)
Description (explanation): VXML filename and memory location
Type (type): String
Optional (whether optional): No
Possible Value (possible value): legal file identification and storage format
Default (default value): none
II.Parameter?Name: Iterations
Parameter?ID: it(0x??)
Description: the number of repetition of carrying out VXML medium Processing tasks file
Type: Integer
Optional: yes
Possible Values: more than or equal to 1
Default: 1
III.Parameter?Name: Interval
Parameter?ID: in(0x??)
Description: carry out continuously for twice VXML medium Processing tasks file it
Between the time interval
Type: Integer
Optional: yes
Possible Values: greater than 0
Default: None
IV.Parameter?Name: prefetch
Parameter?ID: pr(0x??)
Description: whether read VXML medium Processing tasks file in advance
Type: Enum
Optional: yes
Possible?Values: yes,no
Default: yes
V.Parameter?Name: cache?timeout
Parameter?ID: ct(0x??)
Description: be buffered in local VXML medium Processing tasks file
Effective duration
Type: integer
Optional: yes
Possible Values: greater than 0s
Default: none
(2) play VXML script (VXML medium Processing tasks script is carried out in indication)
Signal?Name: Play?VXML?script
SignalID: pvs(0x??)
Description: a VXML medium Processing tasks script is carried out in indication
SignalType: BR
Duration: Not?applicable
Additional?Parameter:
I.Parameter?Name: VXML?script
Parameter?ID: vs(0x??)
The medium Processing tasks script of Description:VXML language compilation
Type: String
Optional: No
Possible Value: legal VXML medium Processing tasks script
Default: none
II.Parameter?Name: Iterations
Parameter?ID: it(0x??)
Description: the number of repetition of carrying out VXML medium Processing tasks script
Type: Integer
Optional: yes
Possible Values: more than or equal to 1
Default: 1
III.Parameter?Name: Interval
Parameter?ID: in(0x??)
Description: twice continuous VXML medium Processing tasks pin of carrying out
The time interval between this
Type: Integer
Optional: yes
Possible Values: greater than 0
Default: None
(3) (VXML medium Processing tasks file and VXML are carried out in indication to play VXML script and file
The associating of medium Processing tasks script)
Signal?Name: Play?VXML?script?and?file
SignalID: psf(0x??)
Description: a VXML medium Processing tasks script is carried out in indication, should
Comprise VXML medium Processing tasks file in the script
SignalType: BR
Duration: Not?applicable
Additional?Parameter:
I.Parameter?Name: VXML?script?and?file
Parameter?ID: vsf(0x??)
Description: preliminary treatment is the medium place of VXML language compilation after launching
Reason task script
Type: string
Optional: No
Possible Value: legal VXML script and file
Default: none
II. identical in other execution parameter and the above-mentioned signal " play VXML file (VXML medium Processing tasks file is carried out in indication) ", no longer too much give unnecessary details here.
A3, issue sense command to the media resource processing entities from media resource control entity, be used to detect the execution result information that the media resource processing entities is carried out VXML medium Processing tasks, the incident that the sense command that wherein issues is used to detect comprises the failure of media resource processing entities execution VXML medium Processing tasks, perhaps carry out VXML medium Processing tasks success, wherein run succeeded and can be divided into and carry out DTMF collect the digits successfully, record success or automatic language and discern (ASR) and successfully wait.
The execution result information that A4, media resource processing entities will be carried out VXML medium Processing tasks reports media resource control entity, and wherein the execution result information that reports to media resource control entity of media resource processing entities comprises following two kinds of situations:
(1) the media resource processing entities is when carrying out the failure of VXML medium Processing tasks, to media resource control entity feedback VXML execution error sign indicating number;
Promptly carry out in the VXML medium Processing tasks scenario process in the media resource processing entities, if produce abnormal conditions, return concrete VXML error code to media resource control entity, the occurrence of its error code is distributed unitedly by normal structure, and content comprises:
The a.VXML script version is not supported;
B.VXML script syntax error;
The c.VXML script file does not exist;
D.VXML script file read error;
E. media resource processing entities hardware error;
F. media resource processing entities software error;
G. the user does not have input or user to import overtime;
H. the incorrect or user of user's input information imports overtime;
I. other mistake.
Corresponding embodiment: H.248 the define method of message bag is as follows:
Events (incident)
(1) VXML playing failure (carrying out the failure of VXML medium Processing tasks)
Event Name (event name): VXML playing failure
EventID (event identifier): vxmlfail (0x?)
Description (explanation): VXML medium Processing tasks file is carried out failure, returns
Return the VXML error code
EventDescriptor Parameters (Event Description parameter):
Do not have
ObservedEventDescriptor parameters (detected event argument):
I.Parameter Name (parameter name): Return Code
ParameterID (parameter identification): rc (0x?)
Description (explanation): error code parameter
Type (parameter type): enum
Optional (whether optional): not
Possible Value (probable value): the error code of above scheme definition
Default (default value): do not have
When (2) the media resource processing entities is carried out the success of VXML medium Processing tasks, feed back the object information that runs succeeded to media resource control entity;
Be the media resource processing entities after the success of VXML medium Processing tasks script executing, return the object information that runs succeeded according to the requirement (the H.248 event detection mechanism of agreement) of media resource control entity.
Wherein the media resource processing entities comprises following four kinds of situations to the object information that runs succeeded of media resource control entity feedback:
R1, the most basic be to return the information of running succeeded, do not distinguish the concrete operations type simultaneously, and return a VXML string representation user's input.
R2, feedback are to user's the DTMF object information that collects the digits:
The general DTMF information of collecting with a VXML string representation; Can also return the number of times that collects the digits again, play the duration information of the prompt tone that collects the digits etc.; Corresponding embodiment is as follows:
H.248 the define method of message bag
Event:
VXML Digitcollected success (carrying out VXML collects the digits successfully)
Event?Name: VXML?Digitcollected?success
EventID: vdsucc(0x??)
Description: collect the digits successfully by VXML
EventDescriptor?Parameters:
None
ObservedEventDescriptor?parameters:
I.Parameter Name:Digits Collected (DTMF collect the digits result)
ParameterID: dc(0x??)
Description: return the result that collects the digits with VXML character string mode
Type: string
Optional: yes
Possible Value: the character string that comprises effective dtmf key value
Default: None
II.Parameter?Name: Number?of?Attempts
ParameterID: na(0x??)
Description: the number of times that collects the digits again
Type: Integer
Optional: yes
Possible Value: more than or equal to 1
Default: None
III.Parameter?Name: Amount?Played
ParameterID: ap(0x??)
Description: the duration of playing alert tones
Type: Integer
Optional: yes
Possible Value: greater than 0
Default: None
The recording result that R3, feedback are recorded to user speech:
Wherein Fan Kui recording object information comprises recording file sign and deposit position, record length, whether recording file has been done information such as intercepting; Can also return the number of times of recording again, the information such as duration of playback prompt tone; Corresponding embodiment is as follows:
H.248 the define method of message bag
Event:
VXML Recording success (carrying out VXML records successfully)
Event?Name: VXML?Recording?success
EventID: vrsucc(0x??)
Description: record successfully by VXML
EventDescriptor?Parameters:
None
ObservedEventDescriptor?parameters:
I.Parameter Name:Recording Result (recording result)
ParameterID: rr(0x??)
Description: the state that returns the recording result
Type: enum
Optional: no
Possible Value: normal recording, recording is intercepted, and recording is by the user
End etc.
Default: None
II.Parameter Name:Recording Identity (recording sign)
ParameterID: ri(0x??)
Description: the sign of recording file and memory location
Type: string
Optional: yes
Possible Value: any legal file identification and storage format
Default: None
III.Parameter Name:Recording Duration (long recording time)
ParameterID: rd(0x??)
Description: the long recording time of storage
Type: Integer
Optional: yes
Possible Value: greater than 0
Default: None
IV.Parameter?Name: Number?of?Attempts
ParameterID: na(0x??)
Description: the number of times of pointing out recording again
Type: Integer
Optional: yes
Possible Value: more than or equal to 1
Default: None
V.Parameter?Name: Amount?Played
ParameterID: ap(0x??)
Description: the duration of playing alert tones
Type: Integer
Optional: yes
Possible Value: greater than 0
Default: None
R4, the automatic recognition result of feedback voice:
Voice identification result generally is one or more character string that identifies according to the identification grammer, can select each recognition result to return to media resource control entity with an information order respectively; Also can select a plurality of recognition result information are returned to media resource control entity with same information order unification; Simultaneously can also return the number of times that carries out speech recognition again, play the information such as duration of identification prompt tone; Corresponding embodiment is as follows:
H.248 the define method of message bag
Event
VXML ASR success (carrying out VXML discerns successfully)
Event?Name: VXML?ASR?success
EventID: vasucc(0x??)
Description: carry out the speech recognition success by VXML
EventDescriptor?Parameters:
None
ObservedEventDescriptor?parameters:
I.Parameter Name:ASR Result (ASR result)
ParameterID: ar(0x??)
Description: the result of speech recognition
Type: string
Optional: yes
Possible Value: represent the character string that concrete implication is arranged, as amount,
Date etc.
Default: None
II.Parameter?Name: Number?of?Attempts
ParameterID: na(0x??)
Description: the number of times of pointing out identification again
Type: Integer
Optional: yes
Possible Value: more than or equal to 1
Default: None
III.Parameter?Name: Amount?Played
ParameterID: ap(0x??)
Description: the duration of playing alert tones
Type: Integer
Optional: yes
Possible Value: greater than 0
Default: None
Method for processing media resource by the above-mentioned proposition of the present invention, can be implemented on the application server by the VXML language, provide multiple media resource to use to the user, and need on media resource controlling device, not realize complicated VXML script analytical capabilities, only need on media resource processing arrangements, resolve the VXML script and get final product.
Accordingly, the invention allows for another method for processing media resource, promptly the medium Processing tasks script of writing based on VXML is converted into to be issued in the media resource processing entities based on the medium Processing tasks of agreement H.248 and carries out.Specifically resolve VXML medium Processing tasks script by media resource control entity, use H.248 the advanced media server bag of agreement to handle then, be issued to the media resource processing entities and carry out to be treated as the medium Processing tasks packet form that meets H, 248 agreements.
As shown in Figure 5, this figure is the main realization principle flow chart of the another kind of method for processing media resource that proposes of the present invention, and its main implementation procedure is as follows:
Step S100, high-rise (as application server) will be issued to media resource control entity based on the medium Processing tasks of VXML language compilation;
Step S110, media resource control entity will be converted into based on the medium Processing tasks that VXML writes based on the medium Processing tasks of agreement H.248;
Wherein if media resource control entity in the medium Processing tasks that will write based on VXML is converted into medium Processing tasks process based on agreement H.248, if the transcription error problem occurs, then needs to feed back corresponding transition error information to high level.
Step S120, media resource control entity are issued to the media resource processing entities based on the medium Processing tasks of agreement H.248 after with conversion process;
Step S130, the media resource processing entities is resolved execution (H.248 present media resource processing entities just is based on agreement as MRFP media resource is handled) to the medium Processing tasks of agreement that meets H.248 that receives.
The execution result information that subsequent media resource processing entities also needs to carry out corresponding medium Processing tasks further reports media resource control entity.
Based on second kind of method for processing media resource of the above-mentioned proposition of the present invention, the information interaction processing procedure embodiment that is applied between MRFC and the MRFP is as follows:
1, after MRFC receives the execution VXML medium Processing tasks order that high level issues, the medium Processing tasks of writing based on VXML is converted into corresponding H.248 message flow;
2, in transfer process if the transcription error problem occurs, then directly return corresponding error code to high level;
3, MRFC carries out the H.248 message flow after the conversion, and message flow H.248 is handed down to MRFP;
4, the MRFP H.248 message flow that will receive complete after, return execution result information to MRFC.
Two kinds of method for processing media resource of the above-mentioned proposition of the present invention can be applied to fixed network, mobile WCDMMA/CDMA network respectively, and in all network scenarios by the control of agreement H.248 media resource processing arrangements.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1. a method for processing media resource is characterized in that, comprises step:
A. based on voice expansion mark language compilation medium Processing tasks;
B. with the first medium Processing tasks, and the stored position information of the identification information of the second medium Processing tasks and the second medium Processing tasks be embedded into H.248 in the message bag, indicate to the media resource processing entities by media resource control entity;
C. the media resource processing entities arrives the memory location index second medium Processing tasks of described stored position information correspondence according to the identification information and the stored position information of the second medium Processing tasks that carries in the H.248 message bag that receives based on the identification information of the described second medium Processing tasks; And
After the first medium Processing tasks combination of carrying in second medium Processing tasks that indexes and the H.248 message bag that receives, transfer to voice expansion mark language scripts resolver and resolve execution.
2. the method for claim 1, it is characterized in that, the second medium Processing tasks that the media resource processing entities will index carries out buffer memory, and behind the buffer memory duration that arrives regulation again with the first medium Processing tasks that carries in the second medium Processing tasks and the H.248 message bag that receives in conjunction with after, transfer to voice expansion mark language scripts resolver and resolve execution.
3. the method for claim 1, it is characterized in that, comprise also among the described step B that the execution property parameters of will be used for indicating the media resource processing entities to carry out the medium Processing tasks is carried on message bag H.248 and indicates step to the media resource processing entities by media resource control entity;
The media resource processing entities is carried out alignment processing according to the execution property parameters that carries in the H.248 message bag that receives to the medium Processing tasks among the described step C.
4. method as claimed in claim 3 is characterized in that, described execution property parameters comprises at least a in the following parameter:
Be used to indicate the media resource processing entities to repeat the number of times parameter to what same medium Processing tasks repeated;
When being used to indicate the media resource processing entities that same medium Processing tasks is repeated, the time interval parameter between per twice implementation;
Be used to indicate sign and the stored position information of media resource processing entities, based on the index command parameter that the corresponding medium Processing tasks of corresponding stored location index carries out buffer memory that is identified to of medium Processing tasks according to the medium Processing tasks;
Be used to indicate the media resource processing entities will from the corresponding stored location index to the medium Processing tasks carry out the valid cache duration value parameter of buffer memory.
5. as the described method of 1~4 arbitrary claim, it is characterized in that, also comprise step:
D. media resource control entity issues and is used to detect the media resource processing entities and carries out the sense command of execution result information of medium Processing tasks to the media resource processing entities;
E. the media resource processing entities responds the sense command that receives, and the execution result information of carrying out the medium Processing tasks is reported media resource control entity.
6. method as claimed in claim 5 is characterized in that, described execution result information comprises:
The media resource processing entities is after carrying out the success of medium Processing tasks, to the information that runs succeeded based on voice expansion mark language of media resource control entity feedback;
The media resource processing entities if occur unusually, is expanded the error code of mark language based on voice to the media resource control entity feedback when execution medium Processing tasks.
7. method as claimed in claim 6 is characterized in that, the Processing tasks of described medium Processing tasks for the user is collected the digits and handles, the collect the digits object information of described execution result information for the user is collected the digits and handles; Or
The Processing tasks of described medium Processing tasks for user speech is recorded and handled, the recording object information of described execution result information for user speech is recorded; Or
The Processing tasks of described medium Processing tasks for user speech is carried out speech recognition, the voice identification result information of described execution result information for user speech is discerned.
CN200510118253XA 2005-10-21 2005-10-21 A method for processing media resource Expired - Fee Related CN1953447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510118253XA CN1953447B (en) 2005-10-21 2005-10-21 A method for processing media resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510118253XA CN1953447B (en) 2005-10-21 2005-10-21 A method for processing media resource

Publications (2)

Publication Number Publication Date
CN1953447A CN1953447A (en) 2007-04-25
CN1953447B true CN1953447B (en) 2010-09-15

Family

ID=38059564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510118253XA Expired - Fee Related CN1953447B (en) 2005-10-21 2005-10-21 A method for processing media resource

Country Status (1)

Country Link
CN (1) CN1953447B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056284B (en) * 2007-06-06 2011-08-24 中兴通讯股份有限公司 A method for implementing the pure circuit switching in the next-generation network
CN101437020B (en) * 2007-11-16 2013-01-09 华为技术有限公司 Medium control method, system and equipment
WO2009030151A1 (en) * 2007-08-27 2009-03-12 Huawei Technologies Co., Ltd. Method, system and device for transmitting media streaming control message
CN101753803B (en) * 2008-12-18 2011-08-10 华为技术有限公司 Control method and system for picture display and multimedia resource function processor
CN101923856B (en) * 2009-06-12 2012-06-06 华为技术有限公司 Audio identification training processing and controlling method and device
CN102202279B (en) * 2010-03-23 2015-08-19 华为技术有限公司 Media resource control method, device, media resource node and media resource control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1298249A (en) * 1999-11-24 2001-06-06 电话通有限公司 Speech recognition based on user interface for radio apparatus
CN1390013A (en) * 2001-05-31 2003-01-08 阿尔卡塔尔公司 Emergency noticing and optimized service in multi-media network
CN1575574A (en) * 2000-12-28 2005-02-02 英特尔公司 Enhanced media gateway control protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1298249A (en) * 1999-11-24 2001-06-06 电话通有限公司 Speech recognition based on user interface for radio apparatus
CN1575574A (en) * 2000-12-28 2005-02-02 英特尔公司 Enhanced media gateway control protocol
CN1390013A (en) * 2001-05-31 2003-01-08 阿尔卡塔尔公司 Emergency noticing and optimized service in multi-media network

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
朱晓民,廖建新等.基于软交换的服务器的研究与设计.计算机工程第31卷 第13期.2005,第31卷(第13期),第201-203页.
朱晓民,廖建新等.基于软交换的服务器的研究与设计.计算机工程第31卷 第13期.2005,第31卷(第13期),第201-203页. *
阮国伟,黄本雄.UMTS中的IP多媒体子系统及其业务架构.中国数据通信 2004年第2期.2004,(2004年第2期),第95-101页.
阮国伟,黄本雄.UMTS中的IP多媒体子系统及其业务架构.中国数据通信 2004年第2期.2004,(2004年第2期),第95-101页. *

Also Published As

Publication number Publication date
CN1953447A (en) 2007-04-25

Similar Documents

Publication Publication Date Title
CN1953447B (en) A method for processing media resource
US7194071B2 (en) Enhanced media gateway control protocol
CN101923853B (en) Speaker recognition method, equipment and system
US20070203708A1 (en) System and method for providing transcription services using a speech server in an interactive voice response system
US8498854B2 (en) Enabling end-to-end testing of applications across networks
US7376710B1 (en) Methods and systems for providing access to stored audio data over a network
CN101160630A (en) Method, system for implementing multimedia recording and media resource processing arrangements
CN101001290A (en) System for multi-media integrated accessing
CN100487788C (en) A method to realize the function of text-to-speech convert
CN100426377C (en) A method for speech recognition
EP1883198B1 (en) Method and system for interacting with media servers based on the sip protocol
JP2008211739A (en) Service cooperating apparatus, service cooperating system, service cooperating method, and computer program therefor
US8219403B2 (en) Device and method for the creation of a voice browser functionality
CN101170748B (en) A method for using public identifier in IP multimedia subsystem
CN101222542B (en) Method for implementing Text-To-Speech function
CN100571374C (en) Video recording and real time play-back method
CN102137092A (en) Method and system for supporting conference system media packet capturing in multimedia subsystem
US7213056B2 (en) Providing modular telephony service
EP1570614B1 (en) Text-to-speech streaming via a network
RU2474065C2 (en) System, method and device for pausing signals
CN100375482C (en) Method of implementing user self defined sound recording using MEGACO protocol
CN101222541A (en) Method for implementing speech recognition function
WO2010057432A1 (en) Status information reporting method, device and system based on a separation architecture
EP2387197B1 (en) Method, system, and media gateway for reporting dual tone multi-frequency digits
US8503617B2 (en) Telephony testing

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100915

Termination date: 20121021