CN101005502B - Service scenario obtaining, control method and its control system and medium resource server - Google Patents

Service scenario obtaining, control method and its control system and medium resource server Download PDF

Info

Publication number
CN101005502B
CN101005502B CN2007100003921A CN200710000392A CN101005502B CN 101005502 B CN101005502 B CN 101005502B CN 2007100003921 A CN2007100003921 A CN 2007100003921A CN 200710000392 A CN200710000392 A CN 200710000392A CN 101005502 B CN101005502 B CN 101005502B
Authority
CN
China
Prior art keywords
script
sid
mrs
resource server
media resource
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
CN2007100003921A
Other languages
Chinese (zh)
Other versions
CN101005502A (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 CN2007100003921A priority Critical patent/CN101005502B/en
Publication of CN101005502A publication Critical patent/CN101005502A/en
Application granted granted Critical
Publication of CN101005502B publication Critical patent/CN101005502B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The method comprises: in media resource server (MRS), setting the corresponding relation between script ID (SID), script type and service script in advance; the control end sends the script operational information carrying the SID, and according to the received SID and said corresponding relation, gets the script type and service script corresponding to the SID. By the invention, there is no need to make multi expansions to the transmission protocol based on different script types so as to reduce the complexity of getting service script by MRS. The invention also reveals a control method, control system and media resource server thereof.

Description

Service scenario obtains, control method and control system and Media Resource Server
Technical field
The present invention relates to network media resource service technology, be specifically related to realize acquisition methods, the control method of service scenario in the Media Resource Server and control system and the Media Resource Server of realizing service scenario control.
Background technology
At next generation network (NGN, Next Generation Net) and internet protocol multimedia subsystem (IMS, IP Multimedia Subsystem) in the network, Media Resource Server (MRS, MediaResource Server) provides abundant medium resource service for the basic service and the value-added service of network.MRS is at soft switch (Softswitch) equipment or application server (AS, Application Server) under the control, obtain and carry out service scenario, finish the interactive function with the user, for example playback, collect the digits, recording, video playback, audio/video meeting, Streaming Media are mutual etc.The performed service scenario of MRS can be to be stored on the MRS, also can be that AS sends to MRS.
In the NGN network, adopt MGCP (MGCP between MRS and Softswitch equipment, the AS, Media Gateway Control Protocol), H.248 or conversation initialized protocol (SIP, Session Initiation Protocol) carry out information interaction; Softswitch equipment and AS can be called the control end of MRS.In the IMS network, media resource function (MRF, Media ResourceFunction) entity is realized the function of MRS, CSCF (CSCF, Call SessionControl Function) entity is realized the function of Softswitch equipment, adopts sip message to carry out information interaction between MRF and CSCF, the AS.CSCF and AS can be called the control end of MRS.As seen, SIP is the agreement comparatively commonly used that realizes medium resource service.
With the control end of AS as MRS, adopting sip message to carry out information interaction with MRS is example, at present, when thereby AS carries out service scenario realization user interactions at control MRS, at first between AS and MRS, set up session, then script type and service scenario are carried in sip message or the expansion sip message and send to MRS.The service scenario that AS sends can be the content of script, also can be the uniform resource address (URL of script, Uniform Resource Locators), MRS judges according to script type whether the service scenario that receives meets the parsing requirement, be whether MRS can resolve this service scenario, if can resolve the service scenario that just execution receives, realization is mutual with the user's.After service scenario was finished, MRS was to the AS reported result.AS carries out the service logic of AS according to reported result, and AS determines subsequent operation according to the execution result of service logic then.For example, AS can send next service scenario to MRS, perhaps discharge and MRS between session etc.Like this, MRS finishes mutual with the user under the control of AS.
From above scheme as can be seen, in the prior art, the method that AS control MRS carries out service scenario has following shortcoming:
At first, when AS sends service scenario to MRS, script type also need be sent to MRS together, MRS could choose suitable script resolver resolves according to the script type of service scenario and carry out service scenario.Therefore AS must know the script type of service scenario in advance, and MRS can resolve the service scenario of what type.When AS adopts sip message to send service scenario, need expand the special parameter in the sip message according to the difference of script type.
Sip message comprises message header and message body.When AS is carried at service scenario the sip message body and sends to MRS, need expand content type (Content-Type) parameter of sip message body, the content of this Content-Type parameter promptly demonstrates the script type of service scenario that AS sends.For example, when the sip message body has carried the service scenario of voice XML (extensible Markup Language) (VXML, Voice Extensible MarkupLanguage) type, then should expand the Content-Type parameter is application/vxml+xml; When the sip message body has carried the service scenario of Multimedia session identifiable language (MSML, Media SessionsMarkup Language) type, then should expand the Content-Type parameter is application/msml+xml.
When AS is carried at service scenario the sip message hair and gives MRS, need expand the session parameter (dialog-param) of sip message head, the content of this dialog-param parameter promptly demonstrates the script type of service scenario that AS sends.For example, expansion dialog-param is vxml or is msml.
Therefore, a kind of script type of every increase all needs the Content-Type parameter to the sip message body, and perhaps the dialog-param parameter of sip message head is expanded.And, if AS only sends to MRS with the URL of service scenario, also need to know the particular location of service scenario.Therefore, for AS, the MRS of AS control at present obtains the step of service scenario, and it is very inconvenient to implement, and has increased the burden of AS.
Secondly, after AS reported execution result, if AS needs MRS to continue and user interactions according to the execution result judgement of its service logic, then AS needed to send service scenario to MRS once more at MRS.Therefore increased the transmission burden between AS and the MRS.
Once more, the service scenario can not active termination MRS carried out of AS.If stop, can only stop the session between AS and the MRS by end (BYE) message of SIP.And the session between AS and the MRS can not be discharged by MRS.Therefore, to the control underaction of the implementation of service scenario.
Summary of the invention
In view of this, for fear of the inconvenience of host-host protocol repeatedly being expanded according to different script type, reduce the complexity that the control Media Resource Server obtains service scenario, the embodiment of the invention provides a kind of acquisition methods of service scenario, and this method comprises:
In Media Resource Server MRS, set in advance the corresponding relation of script sign SID, script type and service scenario;
Control end sends the script operation information that carries SID to MRS;
MRS obtains and this SID corresponding service script and script type thereof according to the SID and the described corresponding relation that receive.
The embodiment of the invention also provides a kind of control method of service scenario, can reduce the complexity that the control Media Resource Server obtains service scenario; Further, this control method can improve the flexibility to service scenario control.
The control method of this service scenario comprises:
In Media Resource Server MRS, set in advance the corresponding relation of script sign SID, script type and service scenario;
Control end sends the script operation information that carries SID to MRS;
Described MRS obtains and SID corresponding service script according to the SID and the described corresponding relation that receive, and according to the indication of the script operation type in the script operation information that receives, described corresponding service script is operated control.
The embodiment of the invention also provides a kind of Media Resource Server, can reduce the complexity that the control Media Resource Server obtains service scenario.
This Media Resource Server comprises: script parsing module and memory cell;
The script parsing module is used to receive the script operation information that carries script sign SID that control end sends; From the corresponding relation of described cell stores, obtain the corresponding service script according to the SID that receives; And, described corresponding service script is operated control according to the indication of the script operation type in the script operation information that receives;
Memory cell is used to store the corresponding relation of SID, script type and service scenario; And return described corresponding service script to described script parsing module.
The embodiment of the invention also provides a kind of control system of service scenario, can reduce the complexity that the control Media Resource Server obtains service scenario.
The control system of this service scenario comprises control end and Media Resource Server MRS;
Control end is used for sending the script operation information that carries script sign SID to MRS;
MRS stores the corresponding relation of SID, script type and service scenario, is used to receive the script operation information that carries SID from control end, obtains the corresponding service script according to the SID that receives from self stored relation; And, described corresponding service script is operated control according to the indication of the script operation type in the script operation information that receives.
Compared with prior art, the embodiment of the invention provides the service scenario of Media Resource Server to obtain and controlling schemes.Service scenario at Media Resource Server obtains in the scheme, and the corresponding relation of script sign (SID, Script Identifier), script type and service scenario is set on MRS in advance.When the control Media Resource Server obtains service scenario, control end does not send service scenario and script type thereof to MRS, and the script operation information that only needs to carry SID sends to MRS, MRS from the corresponding relation that sets in advance, obtains SID corresponding service script and script type thereof according to SID.Because control end does not carry script type to the script operation information that MRS sends, therefore control end does not need to know in advance the script type of service scenario even the position of service scenario, do not need host-host protocol to be carried out respective extension according to different script type yet, only need carry out one extension to host-host protocol, the host-host protocol after the feasible expansion can carry script operation information and get final product.Therefore reduce control end and controlled the complexity that MRS obtains service scenario, alleviated the burden of control end.
In the service scenario controlling schemes of Media Resource Server, after MRS has obtained service scenario, control end can send the script operation information that carries SID to MRS, and MRS operates SID corresponding service script according to the indication of script operation type in the script operation information.This operation comprises the execution of active termination service scenario, and MRS initiatively discharges session, has improved the flexibility of professional control.
Description of drawings
Fig. 1 realizes the flow chart of service scenario control method for the embodiment of the invention;
Fig. 2 realizes the sequential chart of service scenario control for the embodiment of the invention adopts script operation information;
Fig. 3 is the composition structural representation of embodiment of the invention service scenario control system;
Fig. 4 is the composition structural representation of embodiment of the invention Media Resource Server;
Fig. 5 realizes the method flow diagram of MRS playback script control for the present invention's first preferred embodiment;
Fig. 6 is the composition structural representation of the present invention's first preferred embodiment Media Resource Server;
Fig. 7 realizes the method flow diagram of MRS subscription authentication and the script that collects the digits control for the present invention's second preferred embodiment.
Embodiment
For making embodiment of the invention technical scheme and advantage clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
The present invention realizes that an embodiment of service scenario acquisition methods is: the corresponding relation that sets in advance SID, script type and service scenario in MRS; Control end to MRS send carry the script operation information of SID after; MRS is index with SID, obtains corresponding service script and script type thereof from the corresponding relation that sets in advance.
After obtaining service scenario and script type thereof, MRS can also operate control to service scenario accordingly according to the indication of the script operation type in the script operation information.The script operation type that script operation information is entrained is used to indicate MRS which kind of operation the service scenario that obtains is carried out.The script operation type comprises that script executing (ScriptRun) operation, script information (ScriptInfor) are operated and script is closed (ScriptClose) operation.
Fig. 1 realizes the flow chart of service scenario control method for the embodiment of the invention.As shown in Figure 1, this method detailed process may further comprise the steps:
Step 101 in MRS, sets in advance the corresponding relation of SID, script type and service scenario.
Step 102, control end send the script operation information that carries SID and script operation type to MRS.
Step 103, MRS is index with SID, searches the corresponding service script from the corresponding relation that sets in advance; And, the service scenario that finds is operated according to the script operation type in the script operation information.
In this step, MRS specifically carries out the script operation type which kind of operation depends on that script operation information is entrained to service scenario.
When the script operation type was ScriptRun, MRS need distribute the resource of carrying out service scenario, and activated this resource.Except obtaining service scenario, MRS also needs to obtain the script type of SID correspondence, calls corresponding script resolver according to script type, and according to the indication of ScriptRun, adopts the script resolver resolves of calling to carry out the service scenario that finds.
When the script operation type is ScriptClose, then indicate MRS to stop the service scenario of appointment.The ScriptClose operation of the embodiment of the invention is used for control end and initiatively stops the service scenario that MRS is carrying out.Behind the service scenario that MRS stops to carry out, AS do not discharge and MRS between session, so AS can be once more be the script operation information of ScriptRun by sending the script operation type, control MRS carries out another service scenario.
If service scenario is not controlled the intervention of end in the process of implementation, then to work as service scenario and be finished, this flow process also comprises step 104.
Step 104, service scenario are carried out and are finished, and MRS sends the script operation result to control end.
In this step, return the script operation result and also can belong to a type of script operation, be called script event (ScriptEvent) operation.Here script operation result comprises the script executing result.In the present embodiment, MRS is by sending the script operation information that carries SID and ScriptEvent to control end, notice control end script executing result.Send the contents such as username and password that information, acquisition are finished in playback as MRS to control end.Script executing result sends to control end after service scenario is finished.If the implementation of service scenario needs the control end intervention, then can be set to comprise a plurality of script event by a service scenario, a script event is finished user interactions one time.When a script event that executes service scenario, just need send the script operation information that carries ScriptEvent to control end, this script operation information can also be carried the data message after current script event is carried out.At this moment, the service scenario that MRS carries out is set to suspended state, promptly suspends this service scenario, but does not stop.
Control end is carried out the control end service logic of the entrained SID correspondence of script operation information after receiving the script operation information that carries ScriptEvent.According to the execution result of control end service logic, judge whether MRS needs to continue to carry out service scenario, continues if desired to carry out, and then sends the script operation information of carrying ScriptInfor to MRS, is carried out the service scenario of hanging up by MRS.The control end service logic is used to control MRS work, and the corresponding relation of SID and control end service logic sets in advance at control end.
More than four kinds of script operation information combine that can to finish the user profile of MRS under control end control mutual.Fig. 2 realizes the sequential chart of service scenario control for adopting script operation information.Referring to Fig. 2, its process that realizes service scenario control may further comprise the steps:
Step 201~202, control end sends the script operation information that carries SID and ScriptRun to MRS, MRS is index search corresponding service script and script type thereof with SID, and adopts the script resolver resolves of script type indication to carry out the service scenario that finds.
In actual applications, obtain service scenario for the ease of MRS, MRS can also store the corresponding relation of SID and script position.Script position represent with SID corresponding service script position be certain position on this locality or the network, if not in this locality, then SID corresponding service script may be a URL; This moment, MRS need obtain the particular content of service scenario according to URL on network.
Step 203 explains that at service scenario the current script event of service scenario is finished in the process of carrying out, and MRS reports the execution result of script event by sending the script operation information that carries SID and ScriptEvent to control end.
Step 204, control end judge whether current script event is the last script event of service scenario.If not, then execution in step 206; Otherwise then execution in step 205.
Step 205, control end send to MRS and discharge conversation message, discharge the session between control end and the MRS, and this flow process finishes.This session is that control end and MRS carry out setting up before the information interaction.
Step 206, the execution result that control end reports according to MRS in the step 203, the service logic of execution control end.Execution result according to this service logic judges whether to continue to carry out service scenario then; Continue if desired to carry out, then execution in step 207; Otherwise execution in step 209.
In this step, control end is searched corresponding control end service logic according to the SID in the script operation information, and carries out.For example, send to control end if MRS can be carried at the username and password of receiving in the script operation information, carry out the subscription authentication operation by control end, the authentication success is execution in step 207 then, otherwise execution in step 209.
Step 207, control end sends the script operation information of carrying SID and ScriptInfor to MRS, and indication MRS continues to carry out service scenario.
In this step, can also carry the customer interaction information that control end control MRS continues to carry out service scenario in the ScriptInfor information.For example, MRS need continue the execution script content for to send prompt tone to the user, and then above-mentioned customer interaction information can be used to indicate MRS to send which kind of prompt tone.
Step 208, MRS continues to carry out service scenario.Return step 203.
In the process of whole execution service scenario, can carry out repeatedly alternately between control end and the Media Resource Server, promptly repeated execution of steps 203,204,206,207 and 208.
Step 209, control end sends the script operation information of carrying SID and ScriptClose to MRS, and indication MRS stops to carry out the service scenario that does not execute.
The script operation information of carrying SID and ScriptClose in this step also can be carried out any time transmission of service scenario at MRS, to stop the execution of service scenario.After stopping carrying out, as long as the session between control end and the MRS does not discharge, control end just can carry the script operation information of SID and ScriptRun by transmission, and control MRS carries out other service scenario.The script operation information of carrying SID and ScriptClose has solved in the prior art, and under the prerequisite that does not discharge session, control end can not active termination MRS be carried out the problem of service scenario.
Step 210, control end discharges session.This flow process finishes.
In order to increase the flexibility that discharges session, the embodiment of the invention increases Media Resource Server and discharges session (DisMrf) parameter in script operation information, and this parameter value is a true time, and expression allows MRS initiatively to discharge session when the winding-up script executing.Specific implementation is, control end is in the script operation information of carrying SID and ScriptRun that MRS sends, further carry the DisMrf parameter, suppose that the DisMrf parametric representation allows MRS initiatively to discharge session, after MRS executes service scenario and execution result is reported control end, MRS just can initiatively discharge and control end between session.
In order to realize the service scenario control method of the embodiment of the invention, the embodiment of the invention provides a kind of control system of service scenario, and Fig. 3 is the composition structural representation of embodiment of the invention service scenario control system.As shown in Figure 3, this system comprises control end 310 and Media Resource Server 320.
Wherein, control end 310 is used for sending the script operation information that carries SID to MRS320.
MRS320, be provided with the corresponding relation of SID, script type and service scenario, be used to receive the script operation information that carries SID that control end 310 is sent, with SID is that index is searched the corresponding service script from the correspondence of self storing, and, the service scenario that finds is operated control according to the indication of the script operation type in the script operation information that receives.
Fig. 4 is the composition structural representation of embodiment of the invention Media Resource Server.As shown in Figure 4, this Media Resource Server 320 comprises memory cell 322 and script operation processing unit 321.
Wherein, script operation processing unit 321, be used to receive the script operation information that carries SID that control end 310 sends, with SID is that the corresponding service script searched in index in the stored relation from memory cell 321, and, the service scenario that finds is operated according to script operation information.
Memory cell 322 is used to store the corresponding relation of SID, service scenario and script type, and returns and SID corresponding service script to script operation processing unit 321.Corresponding relation in this unit can adopt a mapping table storage, and this mapping table can also comprise the script position field except SID field, script type field and service scenario field.The service scenario here may be the particular content of service scenario, also may be a URL who is used for identification service script position.
The technical scheme of the embodiment of the invention is applicable to IP network such as NGN or IMS.In the IMS network, control MRS carries out service scenario, and realization can be AS or CSCF with the control end of user interactions; In the NGN network, control MRF carries out script, and realization can be AS or Softswitch equipment with the control end of user interactions.More than cited each control end realize that the realization principle of service scenario control is all identical.
With in the IMS network, realize that it is example that AS control MRS carries out service scenario, illustrates the specific implementation method of the embodiment of the invention below.Adopt Session Initiation Protocol as message transmission protocol between AS and the MRS, therefore script operation information is carried in the sip message, finish the information interaction between AS and the MRS.
Script operation information can also be carried other script argument except carrying these two script arguments of SID and script operation type.
The carry-on script argument of script operation information to following examples is elaborated below:
1, script operation type (Message Type) parameter
For example, Message Type=<message-type 〉;
message-type=“sr”/“se”/“si”/“sc”
Wherein, sr is the script executing operation, and se is the script event operation, and si is the script information operation, and sc is the script shutoff operation.When AS is carried at script operation information the sip message body and sends to MRS, can adopt the script operation type of this Message Type parameter as script operation information; When script operation information being carried at the sip message hair giving MRS, then need to adopt dialog-param parameter in the sip message head as the script operation type of script operation information.Employing is carried MessageType parameter or dialog-param parameter as the script operation type, though form is distinguished to some extent.But its order ground all is that the represented action type of script operation information is distinguished.
2, script sign (SID) parameter
For example, SID=<script-id 〉
Script-id=1*(DIGIT)
SID is used to identify the section business script on the MRS, and MRS is index with SID, searches the corresponding service script.Simultaneously, MRS also obtains the script type of service scenario by SID, and calls the corresponding script resolver according to script type, resolves and carries out the service scenario that finds.
3, last script event indication (LEInd) parameter:
For example, LEInd=<lastEventIndicator_value 〉
lastEventIndicator_value=“true”/“false”
LEInd represents whether MRS is last script event to the script event that AS reports, and carries in MRS reports script executing result's script operation information at AS.The script executing result who reports to AS as MRS is the execution result of last script event, and this parameter value is true.
4, Media Resource Server discharges session (DisMrf) parameter:
For example, DisMrf=<disconnetFromMRF 〉
disconnetFromMRF=“true”/“false”
The DisMrf default value is false.That is, forbid that under normal circumstances MRS initiatively discharges session parameter, must discharge session by AS.This parameter is carried in the script operation type is the script operation information of ScriptRun.The DisMrf parameter can be used with the LEInd parameter, and when DisMrf is true, and MRS obtained the permission of AS, can discharge session when executing service scenario, and then MRS can initiatively discharge the session with AS.
5, script information data length (UiSInf_len) parameter:
For example, UiSInf_len=<length_value 〉
length_value=1*(DIGIT)
UiSInf_len is identified at the length of entrained data message in the script operation information.Have only this parameter is just arranged when carrying data message in the script.
6, script information data (UiSInf_data) parameter:
For example, UiSInf_data=<uiScriptSpecificinformation_value 〉
uiScriptSpecificinformation=byte-string
UiSInf_data is the concrete data of carrying in the script operation information, and this parameter can be carried in the script operation type is the script operation information of ScriptRun, ScriptInfor and ScriptClose.When being carried at action type and being the script operation information of ScriptInfor, the UiSInf_data parameter is that control end sends to MRS, assists MRS to continue to carry out the customer interaction information of service scenario.
The UiSInf_data parameter is specified by the operation layer on the AS and is sent, and is received and is resolved by the service scenario of MRS.This parameter is an optional parameters, and having only when carrying data in the script operation information just has, and the length of this UiSInf_data parameter is by the UiSInf_len parametric representation, and UiSInf_data is immediately following occurring after the UiSInf_len parameter.
The UiSInf_data parameter is byte-character string (byte-string) type, and its data content can adopt the coded system of abstract syntax notation one (ASN.1, Abstract Syntax Notation One), and framework is as shown in table 1:
Figure G07100392120070201D000121
Table 1
Wherein, the type of label (Tag) expression parameter, the Tag definition is as shown in table 2:
Type TAG
Boolean (boolean) 0x01
Integer (real number) 0x02
String (character string) 0x04
NULL (sky) 0x05
Enumerate (enumerating) 0x0A
Table 2
For example UiSInf_data=02512346 represents that these data are that a length is 5 real number, and its concrete data are 12346.
7, script results data (UiSRes_data) parameter:
For example, UiSRes_data=<uIScriptResult 〉
uiScriptSpecificinformation=byte-string
UiSRes_data is MRS script executing result, is that the script operation information of ScriptEvent reports to AS by the script operation type.This parameter is an optional parameters, and by the service scenario transmission of MRS, the operation layer on the AS receives and resolves.The length of UiSRes_data parameter is by the UiSInf_len parametric representation, and the UiSRes_data parameter can be immediately following occurring after the UiSInf_len parameter.The data format of UiSRes_data also can adopt the data code/decode format of ASN.1, behind the structure of the operation layer on the MRS, passes to AS, is resolved by the operation layer on the AS.
8, service key sign (SK) parameter
For example, SK=<service-key 〉
service-key=1*(DIGIT)
SK represents the business under this script.For example during SK=200, represent that this script belongs to 200 telephone services.Mutual with MRS finished in the repeatedly invoke script operation of AS business, and this parameter is an optional parameters.
More than in each script argument, script operation type parameter and script identification parameter are the script argument types that must carry in each script operation, other script argument is carried in the different script operation information according to the type difference of script operation.Summing up gets up is exactly:
Carry the script operation information of SID and ScriptRun, can also carry parameters such as SK, DisMrf, UiSInf_len, UiSInf_data;
Carry the script operation information of SID and ScriptClose, can also carry parameters such as SK, UiSInf_len, UiSInf_data;
Carry the script operation information of SID and ScriptEvent, can also carry parameters such as SK, LEInd, UiSInf_len, UiSRes_data;
Carry the script operation information of SID and ScriptInfor, can also carry parameters such as SK, UiSInf_len, UiSRes_data.
Script operation information can be carried in the message header or message body of expansion sip message.Below just respectively both of these case is lifted two preferred embodiments, the specific implementation of the embodiment of the invention is elaborated.
First preferred embodiment
When script operation information is carried in the sip message head, can be carried in the sip message head request row, also can be carried at message header request row message header content part afterwards.Present embodiment is expanded the message request row, to carry script operation information.In the present embodiment, concrete extended mode is as follows:
Expansion Backus normal form (BNF) (ABNF) the grammatical representation mode that script operation information is carried in expansion is:
DIALOG-URL=sip-ind?dialog-ind″@″hostport?dialog-parameters
sip-ind=″sip:″/″sips:″
dialog-ind=″dialog″
dialog-parameters=″;″dialog-param″[uis-parameters]
dialog-param=″uis.sr″/″uis.se″/″uis.si″/″uis.sc″/
uis-parameters=uis-param[uis-parameters]
uis-param=″;″uis-keyword″=″uis-value
uis-keyword=token
uis-value=token
Wherein, expanded the dialog-param parameter for " uis.sr "/" uis.se "/" uis.si "/" uis.sc/; when the dialog-param parameter in the sip message head is uis.sr or uis.se or uis.si or uis.sc, s represent that this sip message head has carried script operation information.Uis.sr represents the ScriptRun operation, and uis.se represents the ScriptEvent operation, and uis.si represents the ScriptInfor operation, and uis.sc represents the ScriptClose operation.Script operation type back this parameter of can fitting well, uis-keyword is the title of script argument, uis-value is the script argument occurrence.
The definition of portable script argument is identical with the definition of foregoing script argument 2~8 in the sip message head.Because the field length of message header is shorter, therefore can not comprise script information data length parameter.
The script operation type is that the script operation information of ScriptRun, ScriptInfor, ScriptClose and ScriptEvent can be carried in the message header of information (INFO) message and transmits.Wherein, be the script operation information of ScriptRun for the script operation type, can also be carried at invitation (INVITE) message of Session Initiation Protocol and invite the message header of (ReINVITE) message to transmit again.
Message header for INVITE and INFO carries the example that the script operation type is the script operation information of uis.sr below:
INVITE:sip:dialog@mrs.company.com;uis.sr;sk=200;sid=68000001
INFO:sip:dialog@mrs.company.com;uis.sr;sk=200;sid=68000001
Wherein, uis.sr is the script operation type, represents that this script operation is the script executing operation.Followed by service key identification parameter SK and script sign SID, sk=200 represents that this business belongs to 200 telephone services after the script operation type, and it is 68000001 service scenario that the sid=68000001 sign needs MRS to carry out SID.
AS can pass through to carry script operation information and control integration of user interaction functionality such as MRS realizes playback, collects the digits, recording, meeting in the sip message body.What function of specific implementation is determined by SID.Carrying out playback script flow process with AS by script operation information indication MRS below is that example describes.
Fig. 5 realizes the flow chart of MRS playback script control method for the present invention's first preferred embodiment.As shown in Figure 5, realize that the concrete steps of this method are as follows:
Step 500 is provided with the corresponding relation of SID, service scenario and script type thereof in MRS.
Step 501, AS sends to MRS and carries the INVITE of script operation information, thereby sets up the session of AS and MRS.The script operation type that this script operation information is carried is ScriptRun.
This step 501 is carried script operation information in the request row of INVITE, and this script operation information comprises the script operation type, SK and SID; Message body is carried user's Session Description Protocol (SDP, Session Description Protocol) information.Control MRS if desired and initiatively discharge session, the script operation type is that the script operation information of ScriptRun can also comprise parameter DisMrf.
In actual applications, also can adopt INVITE to set up session between AS and the MRS earlier, be that the script operation information of ScriptRun is carried at and sends to MRS in the INFO again with the script operation type.
In the present embodiment, the example of INVITE is as follows:
INVITE?sip:dialog@mrs.huawei.com;uis.sr;sk=200;sid=68000001
Via:SIP/2.0/UDP?client.huawei.com
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.sr;sk=200;sid=68000001>
Contact:sip:user@client.huawei.com
Call-ID:12345678@client.huawei.com
CSeq:1?INVITE
Content-Length:...
Content-Type:application/sdp
v=0
o=user?2890844526?2890844526?IN?IP4?client.huawei.com
s=Session?SDP
c=IN?IP4?client.huawei.com
t=3034423619?0
m=audio?49170?RTP/AVP?0
a=rtpmap:0?PCMU/8000
Wherein, uis.sr represents that the script operation type of the script operation information of carrying in the INVITE is ScriptRun, sk=200 represents that the affiliated business of service scenario that needs are carried out is 200 telephone services, and sid=68000001 represents that needs execution SID is 68000001 service scenario.
Step 502, MRS returns 200 OK response messages to AS.
In this step, MRS according to request/answer mechanism, according to the own media capability of being supported, makes amendment to the SDP that carries in the INVITE after receiving the INVITE that AS sends, and amended SDP returns AS by 200 OK response.
In the present embodiment, the example of 200 OK response messages is as follows:
SIP/2.0?200?OK
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.sr;sk=200;sid=68000001>
CSeq:1?INVITE
Call-ID:12345678@client.huawei.com
Via:SIP/2.0/UDP?client.huawei.com
Contact:<sip:dialog@mrs.huawei.com;transport=udp>
Content-Length:...
Content-Type:application/sdp
v=0
o=mrs?2890844527?2890844527?IN?IP4?mrs.huawei.com
s=Session?SDP
c=IN?IP4?mrs.huawei.com
t=3034423619?0
m=audio?3456?RTP/AVP?0
a=rtpmap:0?PCMU/8000
Step 503 after AS receives 200 OK response messages, sends and replys (ACK) message to MRS.
In the present embodiment, the example of ACK message is as follows:
ACK?sip:dialog@mrs.huawei.com;uis.sr;sid=68000001?SIP/2.0
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.sr;sk=200;sid=68000001>;tag=1a1e0a19
Call-ID:12345678@client.huawei.com
CSeq:1?ACK
Via:SIP/2.0/UDP?client.huawei.com
Content-Length:0
Step 504, MRS searches the corresponding service script according to the SID that carries in the script operation information, and carries out this service scenario, i.e. playback.
Step 505, MRS is after playback finishes, and the INFO that script operation information is carried in transmission is to AS, and notice AS playback finishes.The script operation type of carrying in this script operation information is ScriptEvent.
In the present embodiment, the service scenario that MRS carries out has only a script event, so this script event is last script event of current business script.The LEInd parameter value that MRS sends in the INFO of AS is set to very.
In the present embodiment, the example of INFO head of script operation information that carries the script operation type and be ScriptEvent is as follows:
INFO?sip:user@client.huawei.com;uis.se;sid=68000001;LEInd=true;UiSRes_data=111SIP/2.0
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.sr;sk=200;sid=6800001>;tag=1a1e0a19
CSeq:1?INFO
Call-ID:12345678@?client.huawei.com
Via:SIP/2.0/UDP?client.huawei.com;branch=z9hG4bK3e8156831
Max-Forwards:70
Content-Length:0
Wherein, uis.se represents that the script operation type of the script operation information of carrying in this INFO is ScriptEvent.UiSRes_data=111 represents that the MRS playback finishes.The particular content of the value representative of this UiSRes_data is consulted to determine by AS and MRS.LEInd=true represents that all script event in the service scenario of current execution are finished.
Step 506, AS returns 200 OK response messages.
In this step, after AS receives the INFO of MRS, check whether INFO meets the SIP signaling protocol, after inspection is passed through, send 200 response messages to MRS.
In the present embodiment, the example of the 200 OK response messages that AS returns is as follows:
SIP/2.0?200?OK
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.se;sk=200;sid=06800001>
CSeq:1?INFO
Call-ID:12345678@client.huawei.com
Via:SIP/2.0/UDP?client.huawei.com
Contact:<sip:dialog@mrs.huawei.com;transport=udp>
Content-Length:0
Step 507, AS sends BYE message according to the script operation information indication that receives to MRS, discharges session.
In this step, AS learns according to the LEInd=true of script operation information in the INFO, the last script event that executes service scenario of MRS, i.e. and playback finishes, and can discharge the session with MRS.Therefore AS sends BYE message, discharges session.
In the present embodiment, the example of the BYE message that AS sends is as follows:
BYE?sip:dialog@mrs.huawei.com;uis.sr;uisID=06800001?SIP/2.0
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.se;sk=200;sid=06800001>;tag=1a1e0a19
Call-ID:12345678@client.huawei.com
CSeq:1?BYE
Via:SIP/2.0/UDP?client.huawei.com
Content-Length:0
Step 508, MRS returns 200 OK response messages to AS after receiving the BYE request.
In the present embodiment, MRS is as follows to the example that AS returns 200 OK response messages:
SIP/2.0?200?OK
From:<sip:user@client.huawei.com>;tag=8000
To:<sip:dialog@mrs.huawei.com;uis.se;sk=200;sid=06800001>
CSeq:1?BYE
Call-ID:12345678@client.huawei.com
Via:SIP/2.0/UDP?client.huawei.com
Contact:<sip:dialog@mrs.huawei.com;transport=udp>
Content-Length:0
Below just finished AS operation by the playback of script operation information Control MRS.
Realize the service scenario control method of this preferred embodiment, can adopt the control system of service scenario shown in Figure 3, wherein MRS can adopt the composition structure of the present invention's first preferred embodiment Media Resource Server shown in Fig. 6.
As shown in Figure 6, MRS comprises script operation processing unit 600 and memory cell 610.
Wherein, script operation processing unit 600 comprises service scenario parsing module 602, script results reporting module 603 and session release module 601.
Service scenario parsing module 602, be used to receive the script operation information that carries SID that AS sends, with the SID that receives is index, from memory cell 610, search the corresponding service script in the stored relation, and, the service scenario that finds is operated control according to the indication of the script operation type in the script operation information that receives.
When the script operation type of carrying when script operation information is ScriptRun, service scenario parsing module 602 further according to SID from memory cell 610, obtain the script type of the service scenario that finds, adopt the script resolver of script type indication to carry out the service scenario that finds; When the script operation type of carrying when script operation information was ScriptClose, service scenario parsing module 602 was closed the service scenario that finds according to the indication of ScriptClose; When the script operation type of carrying when script operation information was ScriptInfor, service scenario parsing module 602 continued to carry out the service scenario that finds according to the indication of ScriptInfor.
After service scenario parsing module 602 executes a script event in the service scenario, send the script executing results to script results reporting module 603.After executing service scenario, and obtain the permission of AS in advance, service scenario parsing module 602 sends to session release module 601 and discharges session command.
Script results reporting module 603 is used to receive the script executing result that service scenario parsing module 602 sends, and sends the script operation result who carries SID to control end according to this script executing result.
Session release module 601 is used to receive the release session command that service scenario parsing module 602 sends, and sends the release conversation message to control end.Certainly, MRS initiatively discharges the permission that session needs AS, and promptly when AS transmission script operation type was the script operation information of ScriptRun, the DisMrf parameter of carrying in this script operation information was true.
Memory cell 610 is used to store the corresponding relation of SID, service scenario and script type, and returns and SID corresponding service script to service scenario parsing module 602.The service scenario of the storage here can be the particular content of service scenario, also can be URL.
Second preferred embodiment
Present embodiment is carried at script operation information in the sip message body and realizes, needs the Content-Type parameter of expansion sip message.
In the present embodiment, increase a kind of content type in the sip message body, when Content-Type was application/uis, what carry in the expression sip message body was script operation information.In sip message, be defined as follows:
Content-Type=<Content-type_parameter>
Content-type_parameter=“application/uis”
The definition of the script argument that carries in the sip message head is identical with the definition of foregoing script argument 1~8.
Be that with the first preferred embodiment difference under this mode, four kinds of script operation information all need be carried in the message body of INFO.
The script operation type is that the reason that the script operation information of sr can not be carried in the message body of INVITE or ReINVITE message is: if be that the script operation information of ScriptRun is carried in the message body of INVITE with the script operation type, then the Content-Type of this INVITE should be application/uis; But the message body that is used for setting up the INVITE of session needs to carry user's SDP information, so the Content-Type of this INVITE should be application/sdp again.And, application/uis and application/sdp can not be present in the same sip message, therefore, the script operation type is that the script operation information of sr can not be carried in the message body of INVITE, in like manner can not be carried in the message body of ReINVITE message.
Carrying out subscription authentication and receive Subscriber Number script flow process by script operation information indication MRS with AS below is that example describes.Wherein.The subscription authentication operation is finished by AS.Realization subscription authentication that MRS stored and the service scenario that collects the digits comprise two script event, are respectively from the user to obtain user name, password and receive Subscriber Number.
Fig. 7 realizes the flow chart of the MRS subscription authentication and the script control method that collects the digits for the present invention's second preferred embodiment.As shown in Figure 7, this method specific implementation step is as follows:
Step 700 is provided with the corresponding relation of SID, service scenario and script type thereof in MRS.
Step 701, AS sends INVITE to MRS, sets up session.
In this step, carry user's SDP information in the INVITE body.
Step 702, MRS returns 200 OK response messages to AS, carries the SDP of MRS this locality in this 200 OK response message.
Step 703, AS sends ACK to MRS after receiving 200 OK response.
Step 704, AS sends INFO to MRS.It is the script operation information of ScriptRun that this INFO has carried the script operation type.
In this step, AS sends INFO to MRS, carries script operation information in the INFO body.This script operation information comprises Message Type, SID, SK and DisMrf.Be that with the first preferred embodiment difference in the present embodiment, the script operation type adopts Message Type parametric representation.
In the present embodiment, the INFO body of script operation information that carries the script operation type and be ScriptRun is as follows:
Content-Length:...
Content-Type=application/uis
MessageType=sr
SK=200
SID=68800001
DisMrf=true
Wherein, Message Type=sr represents that the script operation type of the script operation information of carrying in the INFO is ScriptRun, SK=200 represents that the affiliated business of service scenario that needs are carried out is 200 telephone services, and sid=68000001 represents that needs execution SID is 68000001 service scenario.DisMrf=true represents that AS allows MRS after service scenario is finished, and initiatively discharges session.
Step 705 after MRS receives INFO, sends 200 OK message to AS.
Step 706, MRS is with in the INFO, the SID that script operation information is carried is an index, from the corresponding relation that is arranged on MRS, search corresponding service script and script type thereof, call the corresponding scripts resolver according to script type, and according to ScriptRun, carry out SID corresponding service script, the user is carried out the reception of account number, password.
In this step, service scenario not only can set in advance in MRS, perhaps is stored in certain position on the network, can also the particular content of service scenario be carried in the script operation information by AS, sends to MRS.When AS sent service scenario to MRS, the script executing operation information also needed to comprise UiSInf_len and UiSInf_data, and wherein the value of UiSInf_data parameter is a service scenario, and the value of UiSInf_len is the length of service scenario.The form of UiSInf_data is appointed in advance by AS and MRS and orders.
Step 707 after MRS receives user account number, password, sends INFO to AS.It is the script operation information of ScriptEvent that this INFO has carried the script operation type.Also comprise in this script operation information and receive user cipher and account number.
In the present embodiment, carrying the script operation type is the INFO of the script operation information of ScriptRun
Message body is as follows:
Content-Length:...
Content-Type=application/uis
MessageType=se
SK=200
SID=68800001
LEInd=false
UiSInf_len=25
UiSRes_data=1162a 680012345628 12345678
Wherein, LEInd=false represents that this script event is not the last script event of current business script, UiSInf_len=25 represents that the user account number that MRS receives and the length of code data are 25, and UiSRes_data=1162a68001234562887654321 is the user cipher that receives of MRS and the particular content of account number.In the present embodiment, user account number is 10 integers of 6800123456, and password is 8 integers of 87654321, and the numeral 116 among the UiSRes_data helps the AS resolution data for the relevant code of service scenario.The concrete form of UiSRes_data and its data represented meaning are by AS and MRS agreement.
Step 708, AS returns 200 OK response messages to MRS.
Step 709, AS obtains user account number and password, and the user is carried out authentication from the entrained script operation information of the INFO that receives.
In this step, AS passes to operation layer with the script operation information of carrying in the INFO that receives, and obtains account number and the password of the user in the script operation information by operation layer, and the user is carried out authentication.If the authentication success, then AS is the script operation information of ScriptInfor with the script operation type, is carried at and sends to MRS in the INFO, and indication MRS continues to carry out the flow process of current business script.If failed authentication, then AS is the script operation information of ScriptClose with the script operation type, is carried at and sends to MRS in the INFO, stops the execution of MRS to current business script flow process.
In the present embodiment, suppose the authentication success.
Step 710 after the success of AS authentication, is carried the INFO of script operation information to the MRS transmission, and indication MRS continues to carry out script.The script operation type of the script operation information here is ScriptInfor, and this script operation information also carries script results data parameters UiSRes_data, this parameter indication MRS subsequent action.
In the present embodiment, the INFO body of script operation information that carries the script operation type and be ScriptInfor is as follows:
Content-Length:...
Content-Type=application/uis
MessageType=si
SK=200
SID=68800001
UiSInf_len=3
UiSInf_data=211
Wherein, UiSInf_len=3 is the length of UiSRes_data data, and UiSRes_data=211 is the code of AS indication MRS subsequent action, and this code is by AS and MRS agreement.After 211 of present embodiment was resolved by MRS, expression MRS continued to carry out service logic, sends prompt tone, and the prompting user dials called number.
Step 711 after MRS receives INFO, sends 200 OK response messages to AS.
Step 712, MRS continues to carry out service scenario: MRS and sends the prompt tone of dialling called number to the user, and receive the called number of user's input according to the script operation information of carrying in the INFO that receives.
Step 713 after MRS receives called number, sends INFO to AS.It is the script operation information of ScriptEvent that this INFO body has carried the script operation type.This script operation information also comprises the called number that the user imports.
In the present embodiment, MRS receives called number, then current script event is finished, and this script event is the last script event of the performed service scenario of MRS, then MRS has not only reported the called number of user's input to the script operation information of AS transmission, also notifying this script event of AS is last script event, i.e. LEInd=true.
In the present embodiment, the INFO body of script operation information that carries the script operation type and be ScriptEvent is as follows:
Content-Length:...
Content-Type=application/uis
MessageType=se
SK=200
SID=68800001
LEInd=ture
UiSInf_len=25
UiSRes_data=2e2c 075528970808
Wherein, UiSRes_data=2e2c075528970808 is the particular content of the called number of user's input.In the present embodiment, user's called number is 075528970808 12 integer.Digital 2e among the UiSRes_data is the service scenario correlative code.
Step 714 after AS receives INFO, sends 200 OK response messages to MRS.
Step 715, MRS sends the BYE request to AS, discharges session.
In this step,, then allow MRS initiatively to discharge session because the script operation information that AS sends to MRS in the step 704 is carried the value of DisMrf for true.Therefore after MRS executes last script event of current business script, can initiatively discharge session with AS.
Step 716, AS returns 200 OK response to MRS.
Below just finished AS and carried out subscription authentication and the operation that collects the digits by script operation information indication MRS.
Present embodiment is to carry out authentication operations by AS.In actual applications, also can carry out authentication operations by MRS.For example, after the script event of step 707MRS in finishing service scenario, can only notify AS to be finished, being MRS carries the code that is finished in the script operation type that AS sends is the script operation information of ScriptEvent, AS carries out the control end service logic, send user account number and password to MRS then, carry out authentication operations by MRS.Here control end is exactly a customer interaction information to user account number and the password that MRS sends, and can be carried in the UiSRes_data parameter of step 710 script operation information.Certainly, user account number and password also can be kept at MRS, and then MRS does not need to carry out alternately with AS, can finish the subscription authentication operation.
The content of the execution result that MRS reports to AS, and the assistance MRS that sends to MRS according to execution result of AS continues to carry out the content of the customer interaction information of service logic, all appointed in advance by MRS and AS and orders is according to performed service logic and difference to some extent.
Realize the service scenario control method of above second preferred embodiment, can adopt the control system of the service scenario shown in Fig. 3, and the Media Resource Server shown in Fig. 6.
More than among each embodiment, the scheme of carrying script operation information in Session Initiation Protocol can realize at the execution podium level of AS and MRS, perhaps realizes at the operation layer of AS and MRS.When operation layer is realized, can the explanation of execution podium level to Session Initiation Protocol by AS or MRS after, the upper-layer service logic of giving AS or MRS with the data passes in the script operation information of carrying in the sip message, by service logic to the execution that makes an explanation of data content.Like this can be self-defined between the business between AS and the MRS mutual data and data format mutually, and do not need podium level to participate in.
By the above as can be seen, the scheme of obtaining of service scenario provided by the present invention, provide a kind of simple control Media Resource Server to obtain the method for service scenario, because AS need not obtain and send information such as script type and script position to MRS, therefore alleviated the burden of AS, and only need sip message is carried out one extension, sip message after the feasible expansion can carry the script operation information in the present embodiment, has avoided the complexity of according to different script type host-host protocol repeatedly being expanded in the prior art.
Secondly, when AS carries out service scenario at control MRS, do not limit the script what type MRS carries out, MRS can carry out service scenarios such as MSML, VXML, C, C++, perhaps privately owned service scenario, expanded the kind of the service scenario of its support as MRS, perhaps changed the type of SID corresponding service script, as long as the service scenario function is constant, constant with the corresponding relation of SID, MRS still can obtain required service scenario according to SID, finishes set integration of user interaction functionality, has therefore improved the extensibility of Media Resource Server.
In addition, service scenario controlling schemes provided by the present invention can also realize AS under the prerequisite that does not discharge session, initiatively stops the performed service scenario of MRS; MRS also can improve the flexibility of professional control stopping initiatively to discharge session after service scenario is carried out.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (24)

1. a service scenario acquisition methods is characterized in that, sets in advance the corresponding relation of script sign SID, script type and service scenario in Media Resource Server MRS; This method comprises:
Control end sends the script operation information that carries SID to Media Resource Server MRS;
Media Resource Server MRS obtains and this SID corresponding service script and script type thereof according to the SID and the described corresponding relation that receive.
2. the method for claim 1 is characterized in that, described script operation information is carried at the message header of the Session initiation protocol SIP message of expansion session parameter dialog-param.
3. the method for claim 1 is characterized in that, described script operation information is carried at the message body of the sip message of expansion content type Content-type.
4. the method for claim 1 is characterized in that, further carries service scenario in the described script operation information, and the described method of obtaining with this SID corresponding service script and script type thereof is:
Described Media Resource Server MRS obtains service scenario from the script operation information that receives, and according to SID that receives and described corresponding relation, obtains the script type of described service scenario from the script operation information acquisition.
5. a service scenario control method is characterized in that, sets in advance the corresponding relation of script sign SID, script type and service scenario in Media Resource Server MRS; This method comprises:
Control end sends the script operation information that carries SID to Media Resource Server MRS;
Described Media Resource Server MRS obtains and SID corresponding service script according to the SID and the described corresponding relation that receive, and according to the indication of the script operation type in the script operation information that receives, described corresponding service script is operated control.
6. method as claimed in claim 5 is characterized in that, described script operation type is the script executing operation, and this method further comprises: according to described SID that receives and described corresponding relation, obtain the script type of described corresponding service script;
Described indication according to the script operation type, the method for the corresponding service script being operated control is:
Described Media Resource Server MRS adopts the script resolver that calls to carry out described service scenario according to the script type invoke script resolver that obtains.
7. method as claimed in claim 5 is characterized in that, described script operation type is the script shutoff operation, described indication according to the script operation type, and the method for the corresponding service script being operated control is:
Described Media Resource Server MRS closes described corresponding service script according to the indication of described script shutoff operation.
8. method as claimed in claim 5 is characterized in that, sets in advance the corresponding relation of SID and the control end service logic that is used to control Media Resource Server MRS work at described control end;
Described Media Resource Server MRS whenever executes a script event in the described corresponding service script, sends the script operation result who carries SID to described control end;
The SID that described control end carries according to described script operation result carries out the control end service logic of SID correspondence, and according to described control end service logic execution result, sends the script operation information that carries SID to described Media Resource Server MRS again.
9. method as claimed in claim 8 is characterized in that,
If described service logic execution result continues to carry out described corresponding service script for needs Media Resource Server MRS, the script operation type of the script operation information of the described SID of carrying that then described control end resends is the script information operation;
Media Resource Server MRS receives after the script operation information that the described SID of carrying and script operation type are the script information operation, and this method further comprises: described Media Resource Server MRS continues to carry out described service scenario;
If described service logic execution result stops to carry out described corresponding service script for needs Media Resource Server MRS, the script operation type of the script operation information of the described SID of carrying that then described control end resends is the script shutoff operation.
10. method as claimed in claim 9, it is characterized in that, described SID of carrying and script operation type are that the script operation information of script information operation comprises the script information data parameters, are used to carry control end continues to carry out information from service scenario to the assistance Media Resource Server MRS of Media Resource Server MRS transmission;
Described script operation result comprises the script results data parameters, is used to carry the execution result information that Media Resource Server MRS reports to control end.
11. method as claimed in claim 10 is characterized in that, described script results data parameters and described script information data parameters adopt the data code/decode format of abstract syntax notation one.
12. method as claimed in claim 8 is characterized in that, described script operation type is the script operation information of script executing operation, comprises that further Media Resource Server discharges session parameter; Described script operation result further comprises last script event indication parameter;
The described method that sends the script operation information carry SID to Media Resource Server MRS is:
Described control end sends to Media Resource Server MRS and carries SID, Media Resource Server discharges session parameter and the script operation type is the script operation information of script executing operation, and notice Media Resource Server MRS allows it initiatively to discharge session with control end;
When described Media Resource Server MRS executes the last script event of current business script, described Media Resource Server MRS sends the script operation result who carries SID to control end and is: the script operation result who carries SID and described last script event indication parameter;
Described Media Resource Server MRS to control end send carry the script operation result of SID and described last script event indication parameter after, this method further comprises: described Media Resource Server MRS initiatively discharge and control end between session.
13. method as claimed in claim 5 is characterized in that, described script operation information is carried in the message header of the Session initiation protocol SIP message of expanding session parameter dialog-param.
14. method as claimed in claim 5 is characterized in that, described script operation information is carried in the message body of the sip message of expanding content type Content-type.
15. method as claimed in claim 5 is characterized in that, in internet protocol multimedia subsystem IMS network, described control end is application server AS or call conversation control function entity CSCF;
In next generation network NGN, described control end is application server AS or soft handover Softswitch equipment.
16. a Media Resource Server MRS is characterized in that, this Media Resource Server MRS comprises service scenario parsing module and memory cell;
The service scenario parsing module is used to receive the script operation information that carries script sign SID that control end sends; From the corresponding relation of described cell stores, obtain the corresponding service script according to the SID that receives; And, described corresponding service script is operated control according to the indication of the script operation type in the script operation information that receives;
Memory cell is used to store the corresponding relation of SID, script type and service scenario; And return described corresponding service script to described service scenario parsing module.
17. Media Resource Server MRS as claimed in claim 16, it is characterized in that, this Media Resource Server MRS further comprises the script results reporting module, is used to receive the script operation result that described service scenario parsing module sends, and sends the script operation result to control end;
Described service scenario parsing module is further used for, and after the script event in whenever executing described corresponding service script, sends the script operation result who carries SID to described script results reporting module.
18. Media Resource Server MRS as claimed in claim 16, it is characterized in that, this Media Resource Server MRS further comprises the session release module, is used to receive the release session command that the service scenario parsing module sends, and sends the release conversation message to control end;
Described service scenario parsing module is further used for, and after executing described corresponding service script, sends the release session command to described session release module.
19. the control system of a service scenario is characterized in that, this system comprises control end and Media Resource Server MRS;
Control end is used for sending the script operation information that carries script sign SID to Media Resource Server MRS;
Media Resource Server MRS stores the corresponding relation of SID, script type and service scenario, is used to receive the script operation information that carries SID from control end, obtains the corresponding service script according to the SID that receives from self stored relation; And, described corresponding service script is operated control according to the indication of the script operation type in the script operation information that receives.
20. system as claimed in claim 19 is characterized in that, described Media Resource Server MRS comprises service scenario parsing module and memory cell;
The service scenario parsing module is used to receive the script operation information that carries SID that control end sends; From the corresponding relation of described cell stores, obtain the corresponding service script according to the SID that receives; And, described corresponding service script is operated control according to the indication of the script operation type in the script operation information that receives;
Memory cell is used to store the corresponding relation of SID, script type and service scenario; And return described corresponding service script to described service scenario parsing module.
21. system as claimed in claim 20, it is characterized in that, described Media Resource Server MRS further comprises the script results reporting module, is used to receive the script operation result that described service scenario parsing module sends, and sends the script operation result to control end;
Described service scenario parsing module is further used for, and after the script event in whenever executing described corresponding service script, sends the script operation result who carries SID to control end.
22. system as claimed in claim 21 is characterized in that, described Media Resource Server MRS further comprises the session release module, is used to receive the release session command that the service scenario parsing module sends, and sends the release conversation message to control end;
Described service scenario parsing module is further used for, and after executing described corresponding service script, sends the release session command to described session release module.
23. system as claimed in claim 20 is characterized in that, described control end and described Media Resource Server MRS adopt Session initiation protocol SIP message to carry out information interaction;
Described control end sends to Media Resource Server MRS with the script operation information setting of the described SID of carrying at the message body or the message header of described sip message;
Media Resource Server MRS sends to control end with message body or the message header that the script operation result of the described SID of carrying is carried at described sip message.
24. system as claimed in claim 19 is characterized in that, in internet protocol multimedia subsystem IMS network, described control end is application server AS or call conversation control function entity CSCF;
In next generation network NGN, described control end is application server AS or soft handover Softswitch equipment.
CN2007100003921A 2007-01-25 2007-01-25 Service scenario obtaining, control method and its control system and medium resource server Expired - Fee Related CN101005502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100003921A CN101005502B (en) 2007-01-25 2007-01-25 Service scenario obtaining, control method and its control system and medium resource server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100003921A CN101005502B (en) 2007-01-25 2007-01-25 Service scenario obtaining, control method and its control system and medium resource server

Publications (2)

Publication Number Publication Date
CN101005502A CN101005502A (en) 2007-07-25
CN101005502B true CN101005502B (en) 2010-12-01

Family

ID=38704364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100003921A Expired - Fee Related CN101005502B (en) 2007-01-25 2007-01-25 Service scenario obtaining, control method and its control system and medium resource server

Country Status (1)

Country Link
CN (1) CN101005502B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729491B (en) 2008-10-17 2014-04-16 华为技术有限公司 Method, device and system for enhancing application reliability of script-based business
CN102385527A (en) * 2010-09-01 2012-03-21 中兴通讯股份有限公司 Device and method for improving execution efficiency of service scripts
CN102270132B (en) * 2011-07-13 2014-03-12 中国人民解放军海军计算技术研究所 Control method for script action in Linux operating system
CN106685965B (en) * 2016-12-29 2019-07-02 河北远东通信系统工程有限公司 A kind of flexible CENTREX business realizing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738256A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Method for operating media resource in next generation network
CN1756200A (en) * 2004-09-28 2006-04-05 中兴通讯股份有限公司 Integrated tester and integrated testing method for media server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738256A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Method for operating media resource in next generation network
CN1756200A (en) * 2004-09-28 2006-04-05 中兴通讯股份有限公司 Integrated tester and integrated testing method for media server

Also Published As

Publication number Publication date
CN101005502A (en) 2007-07-25

Similar Documents

Publication Publication Date Title
US7792275B2 (en) Application service invocation
US8879547B2 (en) Telephony application services
KR20060085912A (en) Telecommunication network system and method in communication services using session initiation protocol
US20100110978A1 (en) IMS Device Reconfiguration
US7912042B2 (en) IMS surrogate registration
CN101030931B (en) Method for transmitting service data and applied packet terminal thereof
CN102144380B (en) End-to-end address transfer
CN101132560A (en) Business interactive processing method and system
CN101005502B (en) Service scenario obtaining, control method and its control system and medium resource server
CN102651732B (en) Service trigger method in a kind of IMS network and system
US8472600B2 (en) System and method for providing signaling in a network environment
US8036211B1 (en) Legacy user proxy call session control function
CN101369906A (en) Conference service implementing method and apparatus
CN101902455A (en) Open multimedia conference service system and implementing method thereof
CN101325744A (en) Method, apparatus and system for triggering service according to terminal capability
EP2314040B1 (en) Auxiliary sip services
US11277451B2 (en) Method and entity for managing a multimedia session between a calling terminal and at least one called terminal, corresponding terminal and computer programs
CN101282288B (en) System, apparatus and method for processing services in packet field network
CN101170602B (en) a media information processing method, communication system and user terminal
CN105491180B (en) Method for realizing network communication through back-to-back agent
CN101047718B (en) System, method and server for implementing media consultation
CN101741871A (en) Method and system for isolating or reconnecting ISDN subscriber in session and access node
Cho et al. An implementation of the SDP using common service enablers
Back et al. Voice Mail System for IP Multimedia Sub-system
CN101742369A (en) Method, device and system for realizing management function of communication transfer service

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

Granted publication date: 20101201

Termination date: 20200125