WO2008034358A1 - A handling method, device and system for service control unit - Google Patents
A handling method, device and system for service control unit Download PDFInfo
- Publication number
- WO2008034358A1 WO2008034358A1 PCT/CN2007/070251 CN2007070251W WO2008034358A1 WO 2008034358 A1 WO2008034358 A1 WO 2008034358A1 CN 2007070251 W CN2007070251 W CN 2007070251W WO 2008034358 A1 WO2008034358 A1 WO 2008034358A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- subsequent
- service
- control unit
- message
- filtering rule
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 113
- 230000006854 communication Effects 0.000 claims abstract description 71
- 238000004891 communication Methods 0.000 claims abstract description 61
- 230000008569 process Effects 0.000 claims abstract description 42
- 238000001914 filtration Methods 0.000 claims description 298
- 238000012545 processing Methods 0.000 claims description 150
- 238000003672 processing method Methods 0.000 claims description 29
- 230000001960 triggered effect Effects 0.000 claims description 8
- 230000003993 interaction Effects 0.000 abstract description 16
- 230000004044 response Effects 0.000 description 33
- 230000011664 signaling Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 6
- 239000012634 fragment Substances 0.000 description 3
- 102100026009 NF-kappa-B inhibitor zeta Human genes 0.000 description 1
- 101710115530 NF-kappa-B inhibitor zeta Proteins 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Definitions
- the present invention relates to a service invocation technology of an Internet multimedia subsystem, and in particular, to a method, apparatus and system for processing a service control unit. Background of the invention
- the Internet Protocol Multimedia Subsystem is an IP Multimedia Subsystem defined by the 3rd Generation Partnership Project (3GPP).
- the IMS network uses the Session Initiation Protocol (SIP) as the call control signaling, which is the target network for the 3G mobile communication network to provide unified multimedia services and applications.
- SIP Session Initiation Protocol
- the session layer is separated from the service layer, and IMS provides the necessary method for the call of the service.
- the host execution environment for various services is called the Service Control Unit and provides a variety of business logic control functions.
- the service control unit includes an IMS application server, a traditional intelligent network service control function entity (SCF, Service Control Function), and the like. Taking the IMS application server as an example, the process of providing services in an IMS network includes the following three basic steps:
- Step 1 Define a possible business or business collection
- Step 2 When the user orders/modifies the service subscription relationship, the user-specific service data is created in the form of an initial filter rule (iFC, Initial Filter Criteria);
- iFC Initial Filter Criteria
- the iFC includes a service call condition and its corresponding application server (AS, Application Server), and the service call condition is described by a service point trigger (SPT, Service Point Trigger), and the content of the SPT includes: a request-uniform resource identifier (Request-URI), identifying the resource pointed to by the SIP initial request; a SIP method (Method) indicating the type of the SIP initial request; a SIP header field (Header) containing information related to the SIP initial request, Can be any SIP header field and its header field content; Session Case, there are three possible values, ie start, terminate or terminate unregistered; Session Description, any session description within the SIP method SDP (Session Description Protocol) field content.
- SPT Service Point Trigger
- Step 3 When the service-call session control function (S-CSCF) receives the SIP initial request, according to the current session situation and the received SIP initial request message, the iFC is executed to determine the current session situation and the SIP initial request. Corresponding application server, and the received SIP initial request is delivered to the determined application server.
- S-CSCF service-call session control function
- the S-CSCF receives a SIP Invite message (INVITE), and according to the execution of the iFC, sequentially calls the three application servers AS1, AS2, and AS3, and sends the INVITE message to the called user; Bell, suppose the called user has opened the no-answer forwarding voice mailbox service. After the ringing timeout, the call is forwarded to the voice mailbox; the voice mailbox answers, and the S-CSCF receives the response message from the voice mailbox (200 OK) .
- the 200 OK message will be sent to AS3, AS2 and AS1 according to the established signaling path.
- AS2 receives the 200 OK message, it considers that this is the 200 OK message returned by the user, and the voice message will be played to it.
- the 200 OK message in this example is actually returned by the voice mailbox. Obviously, AS2 cannot receive the 200 OK message.
- the application server can only be triggered by the SIP initial request message, such as: can only be triggered by INVITE message, instant message (MESSAGE), subscription message (SUBSCRIBE) and reference message (REFER), ie iFC Only SIP initial request messages are processed; however, some application servers actually need to be triggered only in certain scenarios during communication. For example, handle busy call forwarding (CFB, Call Forwarding)
- CFB Call Forwarding
- the application server CFB AS of Busy needs to be triggered only when the called user is busy.
- the CFB AS must be Triggered, and if the called user is currently idle, the CFB AS will be useless in the signaling path. Obviously, this reduces the efficiency of call setup and prolongs the call connection time.
- a complete, normal call setup procedure will pass through the INVITE message, the 183 response code message, the temporary acknowledgement message (PRACK), the 200 response code message, the update message (UPDATE), the 200 response code message, and the 180-vibration.
- the bell response message, the PRACK message, the 200 response code message, the 200 response response code message, and the acknowledgement message (ACK) have a total of 11 messages.
- AS1 only needs to receive 4 messages of INVITE message, 180 ringing response message, 200 response response message, and ACK message to implement business logic control, and S-CSCF sends all messages to AS1. Reduce the efficiency of call setup and extend the call duration.
- the embodiment of the present invention provides a service control unit processing method, so that the signaling path of the service control unit can be adjusted in the subsequent process of communication, thereby solving the service. Interaction and conflict issues.
- the embodiment of the invention further provides a service control unit processing device, so that the signaling path of the service control unit can be adjusted in the subsequent process of communication, thereby solving the business interaction and conflict problem.
- the embodiment of the present invention further provides a service control unit processing system, so that the signaling path of the service control unit can be adjusted in the subsequent process of communication, thereby solving the business interaction and conflict problem.
- a service control unit processing method where the method includes the following steps: executing a service filtering rule, determining a called service control unit and a phase thereof Corresponding subsequent filtering rules;
- the current communication is processed according to the determined subsequent filtering rules.
- a service control unit processing device comprising: a subsequent filtering rule obtaining module, configured to execute a service filtering rule, and determine a called service control unit and a corresponding subsequent filtering rule;
- the subsequent processing mode execution module is configured to process the current communication according to the subsequent filtering rule during the execution of the service.
- a service control unit processing system comprising: a service control unit processing device, configured to execute a service filtering rule, determine a subsequent filtering rule corresponding to the service control unit, and perform current according to the subsequent filtering rule Communication processing;
- the service control unit is configured to provide various service logic control functions according to the processing of the service control unit processing device.
- the embodiment of the present invention firstly is based on the called service control unit.
- the processing conditions that may occur during the execution of the service, setting a subsequent filtering rule corresponding to the called service control unit in the service filtering rule; then executing the service filtering rule to determine the service control unit and its corresponding subsequent filtering rule; After the service execution process, the current communication is processed according to the determined subsequent filtering rule, so that the signaling path of the service control unit can be adjusted in the subsequent process of the communication, and the service interaction and conflict problem after the service control unit is invoked are solved. And improve call setup efficiency and shorten call connection time.
- FIG. 1 is a schematic flowchart diagram of a method for processing a service control unit according to a preferred embodiment of the present invention. The flowchart of the service control unit processing method in the specific embodiments 1 to 3 of the present invention is shown.
- FIG. 3 is a schematic structural diagram of a service control unit processing apparatus according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a service control unit processing system according to an embodiment of the present invention. Mode for carrying out the invention
- FIG. 1 is a schematic flowchart diagram of a method for processing a service control unit according to a preferred embodiment of the present invention. Referring to Figure 1, the method includes the following steps:
- Step 101 Perform a service filtering rule to determine the called service control unit and its corresponding subsequent filtering rules.
- Step 102 During the service execution process, the current communication is processed according to the determined subsequent filtering rule.
- the service filtering rule is executed based on the service triggering message.
- the service trigger message may be a SIP initial request message or the like.
- the service trigger message will be sent to the called service control unit to enable the call to the service control unit.
- a subsequent filtering rule corresponding to the called service control unit is set in the service filtering rule according to the processing situation that may be occurred in the service execution process of the called service control unit.
- the subsequent filtering rule is a concept introduced by the present invention with respect to the initial filtering rule (iFC), indicating that the filtering rule is a service filtering rule set according to a processing situation that may be occurred in the service execution process of the called service control unit.
- Subsequent filtering rules include subsequent trigger conditions and their corresponding subsequent processing methods.
- the subsequent triggering conditions include at least one of a subsequent message, a call state, a service control unit call failure, and a service control unit call success; the subsequent processing manner includes sending a message, rejecting the message, calling the specified service control unit, continuing the communication, and stopping.
- the subsequent message in the subsequent trigger condition refers to all messages after the service control unit is called (that is, after receiving the service trigger message) until the current communication is released, and also includes the release message.
- it may be a response code message of a SIP initial request message, or any SIP method or the like.
- the message name, message content and any combination of the subsequent messages can be used as subsequent trigger conditions; one or more subsequent messages may be included in the subsequent trigger conditions.
- subsequent messages can be divided into the following two categories:
- One is a message returned by the called service control unit, including a SIP initial request message, a SIP response code message (the message is a response code message of a SIP initial request message invoking the service control unit), and other subsequent SIP method messages (eg, SIP PRACK message, SIP A BYE message, etc., that is, a subsequent SIP method message that invokes the SIP initial request message of the service control unit).
- SIP initial request message e.g, SIP PRACK message, SIP A BYE message, etc., that is, a subsequent SIP method message that invokes the SIP initial request message of the service control unit.
- the other is a message sent to the called service control unit, including a SIP initial request message (unlike the SIP initial request message that invokes the current service filtering rule to invoke the service control unit), and a SIP response code message (the message is generally called)
- SIP initial request message unlike the SIP initial request message that invokes the current service filtering rule to invoke the service control unit
- SIP response code message the message is generally called
- the response code message of the SIP initial request message returned by the service control unit and other subsequent SIP method messages (ie, subsequent SIP method messages of the SIP initial request message returned by the called service control unit).
- the source information can indicate: the subsequent message is the same message as the SIP initial request message that invokes the service control unit, or the message that is the same as the SIP initial request message returned after the service control unit is called. , or a new SIP initial request message.
- the homology may be further represented as being located in the same call, session, or conversation.
- the call state in the subsequent trigger condition includes all process states of the current communication and any combination thereof.
- the call status includes: collecting information, analyzing information, routing failure, originating_busy, originating_non-answering, originating_responding, originating_disconnection, originating_abandonment, terminal attempting authentication, Terminal_Busy, Terminal_No Answer, Terminal_Answer, Terminal_Remove, Terminal_Abandon.
- One or more of the above call states may be included in the subsequent trigger conditions; for a detailed explanation of each of the above call states, see 3GPP TS 23.278, and no further details are provided herein.
- the call status in subsequent trigger conditions may also employ a SIP timer, such as timers T1, T2, Timer A, Timer B, etc., as defined in 3GPP TS 24.229.
- a SIP timer such as timers T1, T2, Timer A, Timer B, etc.
- 3GPP TS 24.229 3GPP TS 23.278 and 3GPP TS 24.229, which are not described here.
- the timeout waiting time of the call state may also be described in the subsequent filtering rule.
- the failure of the service control unit call in the subsequent trigger condition means that the called service control unit does not respond, or the service logic call in the called service control unit fails.
- the latter indicates that the service control unit is called normally, and the response is returned, but the user is not on schedule. Provide the corresponding business.
- the reason for the failure of the business logic call may be that the user has no permission or no data to use the service, a function failure in the service control unit, and the like.
- the business logic call failure is different from the case where the business logic in the service control unit is normally called but the communication fails. For example, if the call restriction service is called, it is a communication failure.
- the related protocol may be extended such that when the business logic call fails, the service control unit may return a message indicating that the business logic call failed, for example, return a SIP response code indicating that the business logic call failed or a SIP message carrying a service logic call failure indication. Wait.
- the failure of the various service control unit calls may be separately described, for example, the service control unit does not respond or the service logic fails to be invoked, and the failure of the various service control unit calls may be uniformly described.
- the returned failure message may be used as a subsequent message in the subsequent trigger condition to indicate that the service logic call fails, and the call state in the subsequent trigger condition may also be used to indicate that the service control unit does not respond.
- the successful call of the service control unit in the subsequent trigger condition means that the invoked service control unit is successfully invoked, and the service control unit returns a message indicating that the service logic call is successful, for example, returning a SIP response code indicating that the service logic call is successful or carrying the business logic. Call the SIP message indicating the success. If the message returned by the service control unit does not explicitly indicate whether the service logic is successfully invoked, such as receiving an initial SIP request message, and returning an initial SIP request message that does not carry the service logic call success indication, the default may also be considered. The service control unit was successfully called.
- the sending message in the subsequent processing mode is: Send the specified message.
- the subsequent processing mode only the name of the specified message may be described, and the content of the specified message may be described. Further, the source and/or destination of the sent message may be distinguished in the subsequent processing manner. Specifically, depending on the source information, sending messages can be divided into the following three types:
- the first type is the message returned by the called service control unit.
- the second type is a message sent to the called service control unit.
- a description of the source information refer to the corresponding description of the source information of the subsequent message in the subsequent trigger condition as described above.
- the third is to call the SIP initial request message of the service control unit, that is, the service trigger message.
- the sending message may be a subsequent message in the subsequent triggering condition.
- the destination information of the sent message may be: sending a message to the called service control unit, sending a message to the called service control unit (ie, starting direction of the current communication, such as sending a message to the calling party), to the called service
- the control unit sends a message backward (ie, the end direction of the current communication, such as sending a message to the called party).
- the reject message in the subsequent processing mode is: It is forbidden to send subsequent messages in subsequent trigger conditions.
- the destination of the reject message may also be distinguished in a subsequent processing manner to indicate that the subsequent message is prohibited from being sent to the destination.
- the destination information of the reject message may be: refusing to send a message to the called service control unit, rejecting the forward sending message to the called service control unit (such as the calling direction), or refusing to the called service control unit.
- the message is sent backwards (such as the direction of the called party).
- the call in the subsequent processing mode specifies that the service control unit is: Sends an invocation message to the specified service control unit.
- the address of the service control unit may be directly specified, or may be specified indirectly, for example, the identifier of the service filtering rule corresponding to the specified service control unit is described in the subsequent filtering rule (the address of the specified service control unit is described in the service filtering rule)
- the call to the specified service control unit will be implemented by the execution of the business filter rule.
- calling the specified service control unit is divided into the following three cases:
- the first case is to re-invoke the service control unit, and the subsequent processing mode can be used to process the subsequent trigger condition that the service control unit fails to be called, that is, the call message is resent to the service control unit that failed the call; Used to process subsequent triggers
- the condition is that the service control unit is successfully invoked, that is, the call message is sent again to the service control unit that successfully invokes. At this time, the call message sent again may not be the call message of the previous successful call of the service control unit.
- the homogeneous service control unit is called, that is, the call message is sent to the homogeneous service control unit.
- This subsequent processing mode can be used to process the subsequent trigger condition as the service control unit call fails.
- the homogeneous service control unit refers to a service control unit that can provide the same service as the service control unit that has failed the current call. If the AS7 call fails, and the AS8 can provide the same service as the AS7, the AS8 is called and a message is sent to the AS8.
- the address of the homogeneous service control unit can be set in the service filtering rule together with the address of the called service control unit, so that when the service filtering rule is executed, the address of the homogeneous service control unit corresponding to a certain service control unit can be obtained. .
- the third case is to call a new service control unit, which specifies the address of the new service control unit, and sends a call message to the designated new service control unit.
- the communication in the subsequent processing mode continues to: Continue processing the current communication. Specifically, if there is a subsequent service filtering rule, the subsequent service filtering rule is executed, otherwise the current communication process continues to be processed, for example, continuing to the called route, or sending the currently processed communication message to the calling party.
- the subsequent processing manner of invoking the new service control unit when the new service control unit corresponds to the subsequent service filtering rule, the method may also be implemented in this manner.
- the execution of the service filtering rule in the subsequent processing mode is: If there is a subsequent service filtering rule, the subsequent service filtering rule is stopped, and the current communication is continued, for example, continuing to the called route.
- the release service control unit in the subsequent processing mode is: releasing the service control unit that has been called.
- the sending message in the subsequent processing mode may also be set as a release message, such as a SIP BYE message, a SIP CANCEL message, etc., to indicate that the service control unit that has been called is released.
- the communication in the subsequent processing mode is released as: Release the current communication.
- the method provided by the preferred embodiment of the present invention enables the service filtering rule to process subsequent messages in the communication process in addition to the SIP initial request message, that is, to provide a communication according to the subsequent filtering rule.
- the subsequent filtering rules in the embodiment of the present invention may be set by extending the existing iFC, or may be separately set.
- the existing iFC is extended to describe the subsequent filtering rules in the iFC, so that the initial filtering rule iFC that can only process the SIP initial request message is expanded to have the capability of processing subsequent messages.
- Business filtering rules it is necessary to set a subsequent filtering rule corresponding to the called service control unit in the service filtering rule in advance, and for the sake of the cylinder, only the service filtering rules related to the embodiment are listed in the following embodiments. Piece.
- the Service Control Unit is the host execution environment for a variety of services and provides a variety of business logic control functions.
- the service control unit can be an IMS application server, SCF, or the like.
- an IMS application server is taken as an example for description.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- ⁇ /ApplicationServer> For convenience of description, the above-mentioned service filtering rule segment is referred to as a service filtering rule one in this embodiment.
- the following description of the method of processing the service control unit in this embodiment also focuses on the portion related to the segment of the service filtering rule.
- Step 201 Perform a service filtering rule according to the service trigger message INVITE, and determine the called application server and its corresponding subsequent filtering rule.
- the service filtering rules executed in this step are as shown in the service filtering rule one, where The content between ⁇ 13 ⁇ 4886 01111> and ⁇ / 886 01111> is the trigger point information, indicating the trigger condition of the service filtering rule.
- the trigger condition of the service filtering rule is a method (Method) service point trigger (SPT) with a value of INVITE.
- the called application server name (ServerName) and its corresponding subsequent filtering rule (Subsequent FilterCriteria) are obtained, that is, ⁇ ApplicationServer> and ⁇ as shown in the service filtering rule one. Content between /ApplicationServer>.
- the ServerName indicates the address of the called application server.
- the value is sip:asl @ims.example.com, which represents the address of AS1. If there is a service control unit of the same quality as AS1, the address of the homogeneous service control unit of AS1 can be set here.
- Subsequent filtering rules include subsequent trigger conditions and their corresponding subsequent processing methods. The same service control unit may have different subsequent filtering rules in different situations.
- a ⁇ SubsequentFilterCriteriax/SubsequentFilter Criteria> may be used to describe all subsequent processing modes and their corresponding subsequent triggering conditions, or multiple ⁇ SubsequentFilterCriteria may be used.
- the content between ⁇ SubsequentTriggerPoint> and ⁇ /SubsequentTrigger Point> indicates the subsequent trigger condition. There may be multiple Subsequent TriggerPoint> ⁇ /SubsequentTriggerPoint> indicating multiple subsequent trigger conditions, or multiple subsequent trigger conditions may be described between one ⁇ SubsequentTriggerPoint> ⁇ /SubsequentTriggerPoint>.
- the content between ⁇ SubsequentHandlingMode> and ⁇ /Subsequent HandlingMode> represents the subsequent processing party corresponding to the subsequent trigger condition.
- the content between ⁇ SubsequentMessage To ApplicationServer> ⁇ ⁇ /SubsequentMessageToApplicationServer> - ⁇ . indicates that the source is a subsequent message sent to the called service control unit, and the content can be any subsequent The message's message name, the message content, and the source information of the message. Specifically, the message name ( MessageName ), the source ( Origination ), the SIP header field ( SIPHeader ), the header field ( Header ), and the content of the header field ( Content ).
- the description of the subsequent source may not be reflected in the ⁇ SubsequentMessageToApplicationServer> tag, and subsequent messages in subsequent trigger conditions may be described as follows:
- ⁇ /SubsequentMessage> The content between ⁇ SubsequentMessage>" ⁇ ⁇ /SubsequentMessage>- ⁇ represents the subsequent message, where the source of the subsequent message is represented by Origination.
- Origination the value of Origination is ToApplicationServer, indicating the source of subsequent messages. Is the message sent to the called service control unit.
- MessageName indicates the name of the subsequent message.
- the value is 200; ⁇ 81?11 ⁇ 2&(the content between 161 and ⁇ /SIPHeader ⁇ indicates the SIP header field content of the subsequent message, in this embodiment , set the Header to the contact header field ( Contact ), the Content header i or the content is set to auto-operate ( automata ).
- the mode (Mode) in the subsequent processing mode indicates a subsequent processing mode corresponding to the subsequent triggering condition.
- the subsequent processing mode indicating the reject message (RejectMessage) is set.
- the destination indicates the destination of the reject message. In this embodiment, it is set as the service control unit (ApplicationServer), indicating that the message is refused to be sent to the called service control unit.
- Step 202 Record a subsequent filtering rule of the called application server, and send an INVITE message to the called application server, that is, the application server is initially called.
- step 201 according to the service filtering rule 1 executed in step 201, the called application server AS1 and its corresponding subsequent filtering rules are obtained, the subsequent filtering rules of AS1 are recorded, and the INVITE message is sent to AS1.
- Step 203 According to the subsequent message received during the execution of the service, the current call state, and the call failure of the service control unit, determine whether the subsequent trigger condition is satisfied according to the recorded subsequent filtering rule. When the subsequent trigger condition is met, the subsequent use is performed. The corresponding subsequent processing in the filtering rule processes the current communication.
- the 200 OK response response message is matched with the recorded subsequent trigger condition: since the 200 OK message is a response from the voice mailbox, The "automata" is set in the Contact header field of the message, indicating that this is an automatic response from the system; moreover, the destination of the 200 OK message is AS1, and therefore, the subsequent trigger condition recorded in step 202 is successfully matched.
- the corresponding service control unit is processed in a subsequent processing manner corresponding to the subsequent triggering condition in the subsequent filtering rule.
- the subsequent processing mode is a processing manner indicating the rejection message, that is, the 200 OK response is not received.
- the response message is sent to AS1.
- the subsequent call setup message that is used by the service control unit to process the service logic control is used as a follow-up message in the subsequent trigger condition, and the subsequent processing manner corresponding to the 183, the PRACK message, the UPDATE message, and the like is set as the reject message.
- the message is sent to the service control unit as needed, and the subsequent call setup message that is used by the service control unit to process the service logic control is shielded from the service control unit, thereby simplifying the call processing, improving the call setup efficiency, and shortening the call connection time.
- An example is as follows:
- the three subsequent trigger conditions are subsequent messages, which are: 200 messages sent to AS1, the Contact header field contains content automata; 183 messages sent to AS1; all messages sent to AS1, Cseq header field containing content PRACK (Various SIP response code messages including PRACK messages and PARCK messages).
- the three subsequent trigger conditions have the same subsequent processing mode: the corresponding subsequent message is rejected from being sent to AS1.
- the wildcard description is allowed to be used in the subsequent filtering rule, for example, AllMessage means all messages, and 1XX means all SIP 1XX response code messages.
- any combination of a plurality of subsequent trigger conditions is allowed to be described in a subsequent filtering rule, such as an "and", “or”, “non” combination relationship, and any multiple combination relationship based on the three, etc., in the above
- the default combination relationship is "or", that is, as long as one of the three subsequent trigger conditions meets, the subsequent processing mode is executed.
- the present embodiment sets a subsequent filtering rule corresponding to AS1 in the service filtering rule one according to the processing situation that may be occurred in the service execution process of the called application server AS1. Then, according to the service trigger message INVITE After the service filtering rule 1 is executed, the subsequent filtering rule corresponding to the AS 1 is obtained. In the subsequent service execution process, the AS1 is processed according to the determined subsequent filtering rule, so that the signaling path of the called service control unit is adjusted according to requirements. , to solve business interactions and conflicts, in addition, Improve call setup efficiency and shorten call connection time.
- the technical solution of the present invention is described in detail by taking the case that the subsequent trigger condition is the subsequent message and the subsequent processing mode is the rejection.
- subsequent trigger conditions may also be met; for the service control unit, there are other subsequent processing methods, such as the manner in which the message is sent. How the invention is carried out in these cases will be described in detail in the second embodiment below.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- service filtering rule 2 For convenience of description, the above-mentioned service filtering rule segment is referred to as service filtering rule 2 in this embodiment.
- the following description of the method of processing the service control unit in this embodiment also focuses on the portion related to the segment of the service filtering rule.
- the service control unit processing method includes the following steps: In step 201, the service filtering rule is executed according to the service trigger message INVITE, and the called application server and its corresponding subsequent filtering rule are determined.
- the service filtering rule executed in this step is as shown in the service filtering rule 2.
- the content between ⁇ 13 ⁇ 4886 011 »> and ⁇ /1 886 011 «> is the trigger point information, which is the same as the first embodiment.
- the trigger condition for the filter rule is the method (Method) of the INVITE, which is the business point trigger (SPT).
- the service filtering rule 2 is executed according to the INVITE message, similar to the first embodiment, the called application server name (ServerName) and its corresponding subsequent filtering rule 'J (SubsequentFilterCriteria) are obtained, that is, the service filtering rule is as follows:
- ServerName represents the address of the called application server.
- the value is sip: as2@ims.example.com, which represents the address of AS2.
- the content represents a subsequent filtering rule corresponding to AS2, and this part is an extended description of the iFC in this embodiment.
- the content between ⁇ SubsequentTriggerPoint> and ⁇ / SubsequentTrigger Point> indicates the subsequent trigger condition.
- the content between ⁇ &1181&16> and ⁇ /CallState> indicates the call status, and the part of the content may be the name of any call state and any related content thereof; ⁇ SubsequentHandling Mode> and ⁇
- the content between /SubsequentHandling Mode> represents the subsequent processing method corresponding to the subsequent trigger condition.
- the state name indicates the name of the call state.
- the value is Terminal_No Answer (Noin Answer), and the State Value indicates the call state.
- the timeout period is long. In this embodiment, the value is 20000 milliseconds.
- the mode (Mode) in the subsequent processing mode of the service filtering rule 2 indicates the subsequent processing mode corresponding to the subsequent trigger condition. In this embodiment, it is set to indicate a subsequent processing manner of sending a message (SendingMessage), and the message is specified as a goodbye message (BYE) in the message name (MessageName), and the Origination of the message is set to ToApplicationServer, indicating the source of the BYE message. It is a subsequent SIP method message sent to AS2, that is, it is the same as the SIP initial request message returned after AS2 is called. The Destination of the message is set to ApplicationServer, indicating that the message is sent to AS2.
- step 202 the subsequent filtering rule obtained in step 201 is recorded, and an INVITE message is sent to AS2, that is, AS2 is initially called.
- step 203 according to the subsequent message received during the execution of the service, the current call state, and the call failure of the service control unit, it is determined whether the subsequent trigger condition is satisfied according to the recorded subsequent filtering rule.
- the subsequent trigger condition is met
- the current communication is processed using the corresponding subsequent processing in the subsequent filtering rules.
- the call state of the user is migrated to the terminal_no answer
- the call state is matched with the recorded subsequent trigger condition, and the matching is successful, and the subsequent processing manner corresponding to the subsequent triggering condition in the subsequent filtering rule is used.
- Process the corresponding application server when the call state of the user is migrated to the terminal_no answer, the call state is matched with the recorded subsequent trigger condition, and the matching is successful, and the subsequent processing manner corresponding to the subsequent triggering condition in the subsequent filtering rule is used.
- the corresponding subsequent processing mode is sent according to the call state and the subsequent filtering rule, and the specified message name is BYE, and the SIP BYE message is sent to AS2, so that AS2 quits the current communication, and the SIP BYE message and AS2 are
- the SIP initial request message returned after the call (the SIP INVITE message returned after the AS2 receives the call message SIP INVITE message) is the same.
- the timeout period of the user's call state transition to the terminal_non-answering may be specified in the subsequent filtering rule. For example, it is specified as 20000 milliseconds in this embodiment, or may be preset in the program, or may be set in other manners.
- the present embodiment sets a subsequent filtering rule corresponding to AS2 in the service filtering rule 2 according to the processing situation that may occur in the service execution process of the invoked application server AS2. Then, according to the service trigger message INVITE The service filtering rule 2 is executed to obtain the subsequent filtering rule corresponding to the AS2. In the subsequent service execution process, the AS2 is processed according to the determined subsequent filtering rule, thereby implementing the signaling path of the called service control unit according to the need. , solve business interaction and conflict issues.
- the called service control unit is adjusted in the same communication process, that is, the initial call and the subsequent trigger condition described are that when the user is in the same communication process, the pair is Call the relevant processing of the business control unit.
- the processing described by the initial call and subsequent trigger conditions of the called service control unit may also be related processing of the user in different communication processes.
- the called service control unit is already in a communication process, when the user When another communication is initiated or received, it will cause the adjustment of the called service control unit.
- the invention is described.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- IPTV IP television
- IPTV AS IP television
- IPTV AS IP television
- the IPTV AS should pause.
- the user plays the video streaming media so that the user can accept the incoming incoming call and establish a call with the calling party that newly incoming the incoming call; thereafter, when the incoming incoming call is released, the IPTV AS should resume the call to the user. Play video streaming. Therefore, there are two communication processes in this embodiment, one is communication between the user and the IPTV, and the other is communication between the user and the incoming caller of the new incoming call.
- the embodiment sets the interaction in the service filtering rule for the INVITE1 message.
- Subsequent filtering rules corresponding to the IPTV AS, the subsequent filtering rule fragments related to the IPTV AS set in this embodiment are as follows:
- the above-mentioned subsequent filtering rule segment is referred to as a subsequent filtering rule three in this embodiment.
- the following description of the processing method of the service control unit in this embodiment also focuses on the part related to the subsequent filtering rule segment.
- the service control unit processing method includes the following steps: In step 201, according to the service trigger message INVITE1, the service filtering rule is executed, and the called application server and its corresponding subsequent filtering rule are determined.
- the content of ⁇ SubsequentTriggerPoint>" ⁇ ⁇ /SubsequentTriggerPoint> - ⁇ . indicates that the subsequent trigger condition for the new incoming call is the subsequent message to the IPTV AS (SubsequentMessageToApplicationServer).
- the MessageName is set to the INVITE message, that is, the subsequent message. It is a new SIP initial request message sent to the IPTV AS.
- the Mode is set to SendendingMessage
- the MessageName is set to SameWithSubsequentMessage, indicating that the subsequent processing mode is to send subsequent messages in the subsequent trigger condition (ie, new incoming call) Incoming INVITE message), so there is no need to set the message name here.
- the Destination of the message is set to ApplicationServer, indicating that the message is sent to the IPTV AS.
- step 202 the subsequent filtering rules of the IPTV AS obtained in step 201 are recorded, and the IPTV AS is initially invoked.
- step 203 according to the subsequent message received during the execution of the service, the current call state, and the call failure of the service control unit, it is determined whether the subsequent trigger condition is satisfied according to the recorded subsequent filtering rule.
- the subsequent trigger condition is met, The current communication is processed using the corresponding subsequent processing in the subsequent filtering rules.
- subsequent filtering rules may also be set as follows:
- the subsequent trigger conditions and subsequent processing modes for the IPTV AS are set in the service filtering rule in advance.
- the subsequent processing manner for the subsequent trigger condition INVITE2 message is to send a new INVITE3 message to the IPTV AS, and specify the content of the INVITE3 message as: Set the media direction of the INVITE1 message establishment session to "inactive". That is, the INVITE3 message is a re-INVITE message (re-INVITE1).
- the release of the BYE message to the INVITE2 message is also set to a subsequent trigger condition.
- the corresponding subsequent processing mode is to send an INVITE4 message to the IPTV AS, and the message is also a re-INVITE1 message whose media direction is set to "active".
- the service filtering rule is executed according to the service trigger message INVITE1, and subsequent filtering rules corresponding to the IPTV AS are obtained.
- the INVITE3 message is sent to the IPTV AS according to the determined subsequent filtering rule.
- the IPTV AS receives the INVITE3 message, and sets the media direction of the INVITE1 message establishment session to deactivate, that is, does not send media to the user.
- the new incoming call is released, that is, when the BYE message is received, to the IPTV AS
- the INVITE4 message is sent, the media direction of the INVITE1 message establishing session is set to be activated, and the IPTVAS resumes service.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- the protocol extension is described in the request header field (Require) of the INVITE message or a certain media type is described in the INVITE message body.
- the service filtering rule is executed, one is invoked.
- the ring back tone service AS of the CRBT service is provided; when the called CRBT service AS does not support the protocol described by the Require header field
- the AS When the AS does not support the media type described in the message body, it will return an Unsupported Media Type that is not supported by 415.
- AS4 is only called when the SIP initial request is received, and when the CRBT service AS returns a 420 response code or a 415 response code.
- AS4 will not be called, AS4 will not be able to join the call signaling path of the user.
- the CRBT service is not a necessary service in the call setup process, the user hopes that the CRBT service can still be provided normally, so that the call success rate can be improved.
- this embodiment presets the following filtering rules in the service filtering rule as follows:
- the subsequent trigger condition is set to follow-up messages.
- Subsequent MessageFromApplicationServer indicates that the subsequent message is from the message returned by the called service control unit.
- the names of subsequent messages are 420 messages and 415 messages.
- the subsequent trigger condition can also be set to the subsequent message SubsequentMessage, and the source information of the subsequent message is set by the label Origination; and, here, two subsequent trigger conditions (420 messages and 415 messages) are provided, indicating these Subsequent messages have the same subsequent processing mode.
- the combination of these two subsequent trigger conditions defaults to "or";
- Mode is set to CallContinued , indicating communication continues.
- the service triggering message INVITE of the color ring service AS can be used to perform the service filtering rule of the AS4.
- the execution basis of the subsequent service filtering rule can be further specified here.
- a combination of "send message,” and “communicate continuation” is used, and "send message” is set to send a SIP initial request message for calling the CRBT service AS to the "backward of the called service control unit".
- the subsequent processing method is a detailed description of the case where the execution of the service filtering rule is stopped.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- the embodiment sets a subsequent filtering rule as shown in the following in the service filtering rule:
- the subsequent trigger condition is set to follow-up messages.
- Subsequent MessageFromApplicationServer indicates that the subsequent message comes from the called service control list.
- the message returned by the element, the name of the subsequent message is the INVITE message; the Header is set to the Priority header field, and the Content is set to urgent, indicating that this is an emergency call.
- Mode is set to StopNextFilter Criteria, which means that the business filtering rule is stopped.
- the subsequent service filtering rule exists after the service filtering rule of the AS5
- the subsequent service filtering rule will be stopped, that is, the service control unit corresponding to the subsequent service filtering rule is excluded. Outside the user's call signalling path, and continue to route the call to the called party.
- the adjustment of the signaling path of the service control unit is realized, the conflict between the emergency service and other services is solved, the call establishment efficiency is improved, and the call connection time is shortened.
- the following describes the specific implementation manner of the present invention, in which the subsequent triggering condition is a follow-up message, and the subsequent processing mode is to stop performing subsequent service filtering.
- the following describes how to implement the call according to actual needs when the service control unit fails to be invoked.
- the new business control unit is a follow-up treatment.
- the name of the subsequent message in the subsequent trigger condition is 486 message.
- Mode is set to InvokingNewApplicationServer, which means that the new service control unit is called, and the name of the new service control unit is set in ServerName.
- it is set to sip:cfb-as@ims.example.com, which is the address of the CFB AS.
- the call will be sent to the address of the CFB AS, that is, the service control unit is called only when the trigger condition of the service control unit is satisfied, and the service is invoked according to actual needs.
- the control unit solves the problem of business interaction and conflict, and improves call setup efficiency and shortens call connection time.
- the CFB AS can be invoked using AS6's Service Trigger Message INVITE, although the call message to the new Service Control Unit can be further specified here.
- a combination of "send message” and “communicate continuation” is used, and "send message” is set to send a SIP initial request message calling AS6 to "backward of the called service control unit".
- the user initiates a SUBSCRIBE message to subscribe to the change notification of the user data, that is, notify the user when the user data in the network changes.
- the above-mentioned CRBT service AS and CFB AS both store user data, so the SUBSCRIBE message needs to be sent to the CRBT service AS and CFB AS.
- the service filtering rule the CRBT service AS is first invoked. After receiving the SUBSCRIBE message, the processing user subscription is successful, and the subscription success message 200 message is returned. At this time, the SUBSCRIBE message needs to be used to call the CFB AS, and the 200 message is returned to the user.
- the service filtering rule for the color ring back tone service AS is set in the embodiment to enable the CFB AS to be invoked according to actual needs, as follows:
- the content between ⁇ 886 01111> and ⁇ /13 ⁇ 4886 01111> is the trigger point information
- the trigger condition of the service filtering rule in this embodiment is the method (Method) with the value of SUBSCRIBE.
- the service point trigger (SPT) correspondingly, the called application server name ( ServerName ) takes the value sip:colored -ring-as @ims. example.com , which is the call address of the CRBT service AS.
- the name of the subsequent message as the subsequent trigger condition is AllMessage, indicating that the subsequent trigger condition is all messages returned from the called service control unit.
- the first mode is that Mode is set to SendingMessage, and the name of the sent message is Same WithSubsequentMessage, that is, the subsequent message of the subsequent trigger condition, that is, the message returned by the ring back tone service AS after being called.
- the destination Destination is set to Front-Application Server, indicating forward delivery to the called service control unit.
- Mode is set to SendingMessage, and the name of the sent message is Same WithlnvokingMessage, that is, the CR initial request message (SUBSCRIBE message) is called by the CRBT service AS, and the destination destination is set to Back_Application Server, indicating to the called service control unit. Send backwards.
- the third mode is that Mode is set to InvokingNewApplicationServer, which means that the new service control unit is called.
- the implementation of the subsequent processing mode of invoking the new service control unit is indicated by setting the name of the new service control unit.
- another implementation manner of invoking the new service control unit is provided. : Set the service filtering rule identifier corresponding to the new service control unit itself.
- the application server Filter1D indicates that the new service control unit itself corresponds to the corresponding service filtering rule identifier, that is, the corresponding service filtering rule identifier corresponding to the new service control unit (CFB AS) is set to 10, and the iFC is taken as an example.
- the rule ID can be the priority of the iFC.
- the CRBT service AS is first invoked according to the execution of the service filtering rule.
- the CRBT service AS returns a message, and then sends a message returned by the CRBT service AS to the CR ring service AS.
- the message will be forwarded to the user, that is, sent to the user, and then sent to the CRBT service AS in the backward direction of the CRBT service AS, that is, the SUBSCRIBE message, the message
- subsequent processing manners using a plurality of arbitrary combinations are allowed, such as a combination of "simultaneous execution", “sequential execution", and any multiple combination relationship based on the two.
- the combination of the three subsequent processing modes is "sequential execution”.
- the previous service control unit is called instead of the SIP initial request message, the latter service control unit can be called according to actual needs, thereby solving the business interaction and conflict problem.
- the description of the processing method of the service control unit in the seventh embodiment of the present invention is ended.
- a specific implementation manner for describing a subsequent filtering rule related to a called service control unit in a service filtering rule is given, that is, a subsequent filtering is performed on a called service control unit in a service filtering rule.
- the rules are processed.
- the present invention also supports processing one or more called service control units in accordance with subsequent filtering rules in one service filtering rule. At this time, there are two cases. The first case is: the call of the one or more called service control units comes from a service filter rule, and the second case is: the call of the one or more called service control units From more than one business filter rule.
- the service filtering rule is executed and the IMS application servers AS1 and AS2 are called. Thereafter, when both AS1 and AS2 fail to call, the communication is released, and when only one of the AS1 and AS2 calls fails, the communication continues.
- the service filtering rules shown below are set in advance for AS1 and AS2:
- ⁇ /ApplicationServer> the content between ⁇ 1 311011860 ⁇ 1 and ⁇ / 1 31 ⁇ 011860 ⁇ 1 indicates that the application server is called.
- two called application server names sip: as l @ims.example.com sip: as2@ims.example.com are given, indicating that the service filtering rule is applied to the two application servers AS1. Both are valid with AS2.
- AS1 and AS2 will be called.
- AS1 and AS2 can be called in order, or other calling methods can be specified in the service filtering rule, such as simultaneous calling.
- the corresponding subsequent processing method is communication release (CallRelease); in the second subsequent trigger condition, ConditionTypeCNF takes a value of 0, indicating that the combination type of the two sources AS1 and AS2 is "OR (OR)", that is, the subsequent trigger condition is The AS1 or AS2 call fails, and the corresponding subsequent processing method is CallContinued.
- the subsequent trigger condition may be set to the call state to indicate that the service control unit fails to be called, for example, the call state name is set to “the service control unit invokes no response”, and may also be triggered subsequently.
- the timeout waiting time for the call state is further set in the condition.
- the technical solution provided by the embodiment of the present invention when describing the subsequent triggering condition, may indicate which service control unit is associated with the subsequent triggering condition, such as indicating the subsequent message, the call state, and the source service control unit that the service control unit fails to call, for example, The service control unit described in this embodiment calls the failed source service control unit.
- the subsequent processing mode it may indicate which service control unit is associated with the subsequent processing mode. For example, when describing the source information of the sent message, the source service control unit may be specified, and the destination service control unit that sends the message may be specified. It may also indicate the destination service control unit of the reject message, and may also indicate the destination service control unit that releases the service control unit, and may even indicate the destination service control unit that invokes the specified service control unit.
- Embodiments of the present invention also support the implementation of the second case described above, that is, in a service filtering
- the calls of the one or more called service control units are respectively from more than one service filtering rule, for example: 3 ⁇ 4:
- ⁇ /ApplicationServer> the corresponding called application server has only one AS1, and the name is sip:asl @ims.example.com.
- AS1 in addition to AS1, there is another AS2 named sip:as2@ ims. example .com, corresponding The ApplicationServer1D label is set to 10, which indicates that the AS2 itself corresponds to the attribute of the service filtering rule, that is, the application server corresponding to the service filtering rule is AS2.
- the subsequent filtering rules of the service control unit invoked by other service filtering rules may be described.
- a method for performing subsequent filtering processing on multiple called service control units in a service filtering rule may, on the one hand, describe and execute the description and execution of the service filtering rule; on the other hand, it may also combine more Subsequent processing application.
- the subsequent communication processing may be the execution of a specified service filtering rule, that is, the subsequent processing manner.
- the corresponding subsequent trigger condition is a trigger execution prerequisite of the specified service filtering rule.
- a service filtering rule is a special type of service filtering rule.
- the present invention allows a special identifier to be set in such a service filtering rule so that such a service filtering rule is only used when a specific subsequent triggering condition is met. Trigger execution.
- the service filtering rule is executed in sequence. If the special identifier is set in a service filtering rule, the corresponding subsequent triggering condition is checked. If not, the service is not executed. Filter rules.
- the present invention also provides a way to allow subsequent trigger conditions to be directly set in such service filtering rules so that such service filtering rules are not triggered when certain subsequent triggering conditions are not met. .
- the following embodiment IX will explain in detail how the invention is implemented in this case.
- the INVITE2 message is set to an SPT, and the subsequent triggering condition is also set to SPT, that is, the filtering matching condition of the service filtering rule 3 is directly set, and the subsequent triggering condition is the service control.
- the unit call succeeds (InvokingSuccess),
- the ID of Service Filtering Rule 1 of AS1 is 10
- the ID of Service Filtering Rule 1 of AS2 is 20,
- the ConditionTypeCNF is set to "1", indicating that both AS 1 and AS2 are successfully invoked.
- the service filtering rule 3 is executed, and the subsequent trigger condition of the called service control unit AS1 and the corresponding other service filtering rule is obtained, and the subsequent trigger condition is used as the SPT.
- the current communication is performed. Processing, sending a call message INVITE2 message to the service control unit AS1, that is, the subsequent process is to invoke the specified service control unit, so that AS1 processes the corresponding service interaction.
- the subsequent triggering conditions of the service filtering rule 1 and the service filtering rule 2 are set in the service filtering rule 3, so that it becomes the execution matching condition of the service filtering rule 3.
- the subsequent triggering condition may be set to the subsequent filtering rule of the service filtering rule 2, and the corresponding subsequent processing is to execute the specified service filtering rule 3.
- the service filtering rule 3 Set the special label above. In this way, when the INVITE2 message is received, if the subsequent trigger condition is not met, the INVITE2 message will not be matched to perform the service filtering rule 3.
- the description of the processing method of the service control unit in the ninth embodiment of the present invention is completed.
- the service filtering rule is executed, the called service control unit and its corresponding subsequent filtering rule can be determined.
- the present invention also allows the "called service control unit" to be empty. This is because the subsequent filtering rule describes the situation that occurs after the called service control unit is called at the initial request, that is, the subsequent filtering rule relies on first obtaining the called service control unit, and if the user only signs one AS. And the call of the AS itself is described in the subsequent filtering rule, then no service control unit is called at the initial request, so that the subsequent filtering rule will not be dependent on the called service control unit, the following embodiment Ten will explain in detail how to implement the invention in this case.
- Example 10 In this embodiment, it is assumed that the user initiates an INVITE message, and the CFB AS is invoked when the called user is busy.
- the subsequent filtering rules set in the service filtering rule in this embodiment are as follows:
- the matched application server name (ServerName) is "NULL" (empty).
- the label of the subsequent message in the subsequent triggering condition is SubsequentMessageFromBack, indicating that the source information of the subsequent message is From the backward direction, since there is no specified application server, there is no label SubsequentMessageToApplicationServer that uses the subsequent message used in the previous embodiment (of course It can also be used, but another way to express the source information of subsequent messages. It should be noted that the expression of the source information may also be used in the foregoing embodiment, and may represent further subdivision of the source information, that is, whether the distinction is forward or backward.
- the name of the subsequent message in the subsequent trigger condition is 486 message.
- the Mode is set to InvokingNewApplicationServer, indicating that the new service control unit is invoked, and the name of the new service control unit is set in the ServerName. In this embodiment, it is set to sip:cfb-as@ims.example.com, which is the address of the CFB AS.
- the SIP initial request INVITE message when the SIP initial request INVITE message is matched with the service filtering rule, the corresponding called service control unit is not obtained, but the subsequent filtering rule is still obtained.
- the 486 message is received.
- the call After the subsequent trigger condition is met, the call will be sent to the address of the CFB AS.
- the SIP initial request INVITE message can be used to invoke the CFB AS, and the call message to the CFB AS can also be set in the subsequent processing mode.
- the present invention provides a service control unit processing apparatus, which is configured to execute a service filtering rule, determine a called service control unit and a corresponding subsequent filtering rule, and During the service execution process, the service control unit is processed according to the determined subsequent filtering rules.
- the service control unit processing apparatus of the present invention will now be described with reference to an apparatus embodiment.
- FIG. 3 is a schematic structural diagram of a service control unit processing apparatus according to an embodiment of the present invention.
- the apparatus includes a subsequent filtering rule obtaining module 301, a subsequent trigger condition matching module 302, and a subsequent processing mode executing module 303.
- the subsequent filtering rule obtaining module 301 is configured to execute a service filtering rule, and determine a subsequent filtering rule that includes a subsequent triggering condition and a corresponding subsequent processing mode, and is used to provide a subsequent triggering condition to the subsequent triggering condition matching module 302, and to perform subsequent processing.
- Mode execution mode Block 303 provides a subsequent processing method;
- the subsequent trigger condition matching module 302 is configured to determine whether the trigger condition and the subsequent trigger condition provided by the subsequent filter rule obtaining module 301 are satisfied during the execution of the service, and notify the subsequent processing mode execution module 303 when the subsequent trigger condition is met. ;
- the subsequent processing mode execution module 303 is configured to perform a subsequent processing manner provided by the subsequent filtering rule obtaining module 301 according to the notification of the subsequent triggering condition matching module 302.
- FIG. 4 is a schematic structural diagram of a service control unit processing system according to an embodiment of the present invention.
- the system includes a service filtering rule base 410, a service control unit processing unit 420, and a service control unit 430.
- the service control unit processing unit 420 further includes a subsequent filtering rule obtaining module 421, a subsequent trigger condition matching module 422, and The subsequent processing mode executes the module 423.
- the service filtering rule base 410 is configured to save or generate a service filtering rule of the user, and is configured to provide a service filtering rule to the subsequent filtering rule obtaining module 421 in the service control unit processing device 420;
- the subsequent filtering rule obtaining module 421 is configured to receive and execute the service filtering rule from the service filtering rule base 410, and provide a subsequent triggering condition to the subsequent triggering condition matching module 422, and provide a subsequent processing manner to the subsequent processing mode execution module 423.
- the subsequent trigger condition matching module 422 is configured to determine whether the trigger condition is met during the execution of the service, and notify the subsequent processing mode execution module 423 to perform a subsequent processing mode, the service control unit 430, and the current communication, when the subsequent trigger condition is met. Carry out corresponding processing;
- the service control unit 430 is configured to provide various service logic control functions according to the processing of the subsequent processing mode execution module 423 in the service control unit processing device 420.
- the service control unit may further include a first communication module, configured to be used in When the service filtering rule is generated in the process of the service, the generated service filtering rule is sent to the service filtering rule base 410.
- the service filtering rule base 410 may further include a second communication module for receiving the service filtering rule from the service control unit 430, and a storage module for saving the service filtering rule.
- the service filtering rule base 410 in the system may be an independent user subscription database, such as a home subscriber server (HSS, Home Subscriber Server),
- HSS home subscriber server
- the filtering rule is stored as the user subscription data, such as the aforementioned iFC;
- the service filtering rule base 410 in the system may also be located in the service control unit processing device 420, such as the service filtering rule exists as a piece of program or configuration data in the service control unit.
- the service filtering rule base 410 in the system may also be located in the service control unit 430, for example, the service control unit 430 generates a service filtering rule in the service processing process.
- the service control unit processing apparatus 420 may be an S-CSCF, a Service Broker, or a Service Capability Interaction Manager (SCIM) defined in the 3GPP IMS standard. ;
- the service control unit 430 is a host execution environment of various services, and may be an IMS application server, a traditional intelligent network SCF entity, or the like;
- the interface between the service filtering rule base 410 and the service control unit processing device 420 may be a Diameter protocol or an internal interface protocol, etc.; the interface between the service filtering rule base 410 and the service control unit 430 may be a Diameter protocol or an internal interface protocol;
- the interface between the service control unit processing device 420 and the service control unit 430 may be a SIP protocol, an intelligent service protocol (such as an Intelligent Network Application Protocol: INAP, an internal interface protocol, etc.).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
A handling method includes firstly excuting service filter criteria, determining the invoked service control unit and corresponding subsequent filter criteria, and then handling the proceeding communication according to the determined subsequent filter criteria in the service excuting process. A handling device and system for service control unit are also disclosed. By using the present invention, the signal path can be adjusted in the subsequent communication process, so as to resolve the problem of service interaction and conflict, improve the call setup efficiency and shorten the call connection time.
Description
一种业务控制单元处理方法、 装置及系统 技术领域 Service control unit processing method, device and system
本发明涉及因特网多媒体子系统的业务调用技术, 特别涉及一种业 务控制单元处理方法、 装置及系统。 发明背景 The present invention relates to a service invocation technology of an Internet multimedia subsystem, and in particular, to a method, apparatus and system for processing a service control unit. Background of the invention
因特网协议多媒体子系统 ( IMS , Internet Protocol Multimedia Subsystem )是第三代移动通信合作伙伴计划 ( 3GPP, 3rd Generation Partnership Project )定义的一个 IP多媒体子系统。 IMS网络采用会话初 始化协议(SIP )作为呼叫控制信令, 是 3G移动通信网络提供统一多媒 体业务和应用的目标网络。 The Internet Protocol Multimedia Subsystem (IMS) is an IP Multimedia Subsystem defined by the 3rd Generation Partnership Project (3GPP). The IMS network uses the Session Initiation Protocol (SIP) as the call control signaling, which is the target network for the 3G mobile communication network to provide unified multimedia services and applications.
在 IMS网络中, 会话层和业务层分离, IMS为业务的调用提供必要 的方法。 各种业务的宿主执行环境称为业务控制单元, 能够提供各种业 务逻辑控制功能。 业务控制单元包括 IMS应用服务器、传统智能网业务 控制功能实体(SCF, Service Control Function )等。 以 IMS应用服务器 为例, 在 IMS网络中提供业务的过程包括以下三个基本步骤: In the IMS network, the session layer is separated from the service layer, and IMS provides the necessary method for the call of the service. The host execution environment for various services is called the Service Control Unit and provides a variety of business logic control functions. The service control unit includes an IMS application server, a traditional intelligent network service control function entity (SCF, Service Control Function), and the like. Taking the IMS application server as an example, the process of providing services in an IMS network includes the following three basic steps:
步骤 1 : 定义可能的业务或业务集合; Step 1: Define a possible business or business collection;
步骤 2: 当用户定购 /修改业务订购关系时, 以初始过滤规则 (iFC, Initial Filter Criteria ) 的形式创建用户专有的业务数据; Step 2: When the user orders/modifies the service subscription relationship, the user-specific service data is created in the form of an initial filter rule (iFC, Initial Filter Criteria);
具体来说, iFC中包含业务调用条件及其对应的应用服务器(AS, Application Server ), 业务调用条件由业务点触发器( SPT, Service Point Trigger )描述, SPT的内容包括: 请求-统一资源标识( Request-URI ), 标识 SIP初始请求所指向的资源; SIP方法( Method ) , 表示该 SIP初始 请求的类型; SIP头域(Header ), 包含与该 SIP初始请求相关的信息,
可以是任何 SIP头域及其中的头域内容; 会话情形 (Session Case ), 有 三个可能的值, 即起始、 终止或终止未注册; 会话描述 ( Session Description ), SIP方法内的任何会话描述十办议( SDP, Session Description Protocol ) 字段内容。 Specifically, the iFC includes a service call condition and its corresponding application server (AS, Application Server), and the service call condition is described by a service point trigger (SPT, Service Point Trigger), and the content of the SPT includes: a request-uniform resource identifier (Request-URI), identifying the resource pointed to by the SIP initial request; a SIP method (Method) indicating the type of the SIP initial request; a SIP header field (Header) containing information related to the SIP initial request, Can be any SIP header field and its header field content; Session Case, there are three possible values, ie start, terminate or terminate unregistered; Session Description, any session description within the SIP method SDP (Session Description Protocol) field content.
步骤 3: 当服务 -呼叫会话控制功能( S-CSCF )接收到 SIP初始请求 时, 根据当前会话情形和所接收到的 SIP初始请求消息, 执行 iFC, 确 定与当前会话情形以及该 SIP初始请求相对应的应用服务器, 并将所接 收到的 SIP初始请求传递给所确定的应用服务器。 Step 3: When the service-call session control function (S-CSCF) receives the SIP initial request, according to the current session situation and the received SIP initial request message, the iFC is executed to determine the current session situation and the SIP initial request. Corresponding application server, and the received SIP initial request is delivered to the determined application server.
通常, 不同的业务可以由不同的应用服务器提供, 然而, 本申请的 发明人在实现本发明的过程中发现: 不同业务在应用过程中可能会存在 相互影响和沖突。 In general, different services may be provided by different application servers. However, the inventors of the present application found in the process of implementing the present invention that different services may have mutual influence and conflict in the application process.
例如, S-CSCF收到一个 SIP邀请消息( INVITE ) ,依据 iFC的执行, 依次调用了 AS1、 AS2、 AS3这三个应用服务器, 并将该 INVITE消息 发送至被叫用户; 被叫用户终端振铃, 假设被叫用户开通了无应答前转 语音邮箱服务, 振铃超时后, 呼叫被前转至语音邮箱; 语音邮箱应答, S-CSCF接收到来自于语音邮箱的应答响应消息( 200 OK )。按照现有技 术, 该 200 OK消息将按照已经建立的信令路径依次发往 AS3、 AS2和 AS1; 而 AS2接收到 200 OK消息则认为这是用户返回的 200 OK消息, 将向其播放语音信息, 而本例中的 200 OK消息实际上是语音邮箱返回 的, 显然, AS2不能接收该 200 OK消息。 For example, the S-CSCF receives a SIP Invite message (INVITE), and according to the execution of the iFC, sequentially calls the three application servers AS1, AS2, and AS3, and sends the INVITE message to the called user; Bell, suppose the called user has opened the no-answer forwarding voice mailbox service. After the ringing timeout, the call is forwarded to the voice mailbox; the voice mailbox answers, and the S-CSCF receives the response message from the voice mailbox (200 OK) . According to the prior art, the 200 OK message will be sent to AS3, AS2 and AS1 according to the established signaling path. When AS2 receives the 200 OK message, it considers that this is the 200 OK message returned by the user, and the voice message will be played to it. The 200 OK message in this example is actually returned by the voice mailbox. Obviously, AS2 cannot receive the 200 OK message.
而且,根据 IMS标准,应用服务器只能被 SIP初始请求消息所触发, 如: 只能被 INVITE 消息、 即时消息 ( MESSAGE ) , 订阅消息 ( SUBSCRIBE )和参考消息( REFER )等所触发, 即 iFC中只处理 SIP 初始请求消息; 但是, 某些应用服务器实际上只有在通信过程中的特定 场景下才需要被触发。例如,处理遇忙呼叫前转(CFB , Call Forwarding
Busy ) 的应用服务器 CFB AS只有在被叫用户遇忙时才需要被触发, 但 是,由于现有技术在 SIP初始请求时就需要建立信令路径,因此, CFB AS 必须在 SIP初始请求时就被触发,而如果被叫用户当前空闲,则 CFB AS 将无用地处在信令路径中。 显然, 这样降低了呼叫建立的效率、 延长了 呼叫接续的时间。 Moreover, according to the IMS standard, the application server can only be triggered by the SIP initial request message, such as: can only be triggered by INVITE message, instant message (MESSAGE), subscription message (SUBSCRIBE) and reference message (REFER), ie iFC Only SIP initial request messages are processed; however, some application servers actually need to be triggered only in certain scenarios during communication. For example, handle busy call forwarding (CFB, Call Forwarding) The application server CFB AS of Busy needs to be triggered only when the called user is busy. However, since the prior art needs to establish a signaling path in the initial SIP request, the CFB AS must be Triggered, and if the called user is currently idle, the CFB AS will be useless in the signaling path. Obviously, this reduces the efficiency of call setup and prolongs the call connection time.
此外, 根据 IMS标准, 一个完整、 正常的呼叫建立过程将依次经过 INVITE消息、 183响应码消息、 临时确认消息( PRACK )、 200响应码 消息、更新消息( UPDATE )、 200响应码消息、 180振铃响应消息、 PRACK 消息、 200响应码消息、 200应答响应码消息、 确认消息(ACK )共 11 个消息。 当 S-CSCF收到 INVITE消息, 依据 iFC的执行, 调用 AS 1并 向其发送 INVITE消息之后,此后 S-CSCF所收到的 10个后续呼叫建立 消息, 都将按照已经建立的信令路径发送给 AS1; 但实际上, AS1只需 要接收 INVITE消息、 180振铃响应消息、 200应答响应消息、 ACK消 息这共 4个消息即可实现业务逻辑控制, S-CSCF将所有消息都发送给 AS1 , 降低了呼叫建立的效率、 延长呼叫了接续的时间。 In addition, according to the IMS standard, a complete, normal call setup procedure will pass through the INVITE message, the 183 response code message, the temporary acknowledgement message (PRACK), the 200 response code message, the update message (UPDATE), the 200 response code message, and the 180-vibration. The bell response message, the PRACK message, the 200 response code message, the 200 response response code message, and the acknowledgement message (ACK) have a total of 11 messages. When the S-CSCF receives the INVITE message, according to the execution of the iFC, after calling the AS 1 and sending the INVITE message thereto, the 10 subsequent call setup messages received by the S-CSCF will be sent according to the established signaling path. To AS1; but in fact, AS1 only needs to receive 4 messages of INVITE message, 180 ringing response message, 200 response response message, and ACK message to implement business logic control, and S-CSCF sends all messages to AS1. Reduce the efficiency of call setup and extend the call duration.
由本申请发明人的上述分析可见, 由于现有技术中应用服务器的信 令路径在 SIP初始请求时就被固定,无法在通信后续过程中再进行调整, 无法依据业务过滤规则对 SIP初始请求消息的后续消息进行处理,因此, 无法解决业务控制单元被调用之后的业务交互及沖突问题, 也无法按照 需要向业务控制单元发送消息, 并使得呼叫建立的效率较低、 呼叫接续 的时间较长。 发明内容 It can be seen from the above analysis by the inventor of the present application that since the signaling path of the application server in the prior art is fixed at the initial SIP request, it cannot be adjusted in the subsequent process of the communication, and the SIP initial request message cannot be used according to the service filtering rule. Subsequent messages are processed. Therefore, the service interaction and conflict problems after the service control unit is invoked cannot be solved, and the message cannot be sent to the service control unit as needed, and the call setup efficiency is low and the call connection time is long. Summary of the invention
有鉴于此, 本发明实施例提供了一种业务控制单元处理方法, 使得 业务控制单元的信令路径在通信后续过程中能够被调整, 从而解决业务
交互及沖突问题。 In view of this, the embodiment of the present invention provides a service control unit processing method, so that the signaling path of the service control unit can be adjusted in the subsequent process of communication, thereby solving the service. Interaction and conflict issues.
本发明实施例还提供了一种业务控制单元处理装置, 使得业务控制 单元的信令路径在通信后续过程中能够被调整, 从而解决业务交互及沖 突问题。 The embodiment of the invention further provides a service control unit processing device, so that the signaling path of the service control unit can be adjusted in the subsequent process of communication, thereby solving the business interaction and conflict problem.
本发明实施例还提供了一种业务控制单元处理系统, 使得业务控制 单元的信令路径在通信后续过程中能够被调整, 从而解决业务交互及沖 突问题。 The embodiment of the present invention further provides a service control unit processing system, so that the signaling path of the service control unit can be adjusted in the subsequent process of communication, thereby solving the business interaction and conflict problem.
为达到上述目的, 本发明实施例的技术方案具体是这样实现的: 一种业务控制单元处理方法, 其特征在于, 该方法包括以下步骤: 执行业务过滤规则, 确定被调用业务控制单元及其相对应的后续过 滤规则; To achieve the above objective, the technical solution of the embodiment of the present invention is specifically implemented as follows: A service control unit processing method, where the method includes the following steps: executing a service filtering rule, determining a called service control unit and a phase thereof Corresponding subsequent filtering rules;
在业务执行过程中, 根据所确定的后续过滤规则对当前通信进行处 理。 During the execution of the service, the current communication is processed according to the determined subsequent filtering rules.
一种业务控制单元处理装置, 其特征在于, 该装置包括: 后续过滤规则获取模块, 用于执行业务过滤规则, 确定被调用业务 控制单元及其相对应的后续过滤规则; A service control unit processing device, comprising: a subsequent filtering rule obtaining module, configured to execute a service filtering rule, and determine a called service control unit and a corresponding subsequent filtering rule;
后续处理方式执行模块, 用于在业务执行过程中, 根据所述后续过 滤规则对当前通信进行处理。 The subsequent processing mode execution module is configured to process the current communication according to the subsequent filtering rule during the execution of the service.
一种业务控制单元处理系统, 其特征在于, 该系统包括: 业务控制单元处理装置, 用于执行业务过滤规则, 确定与业务控制 单元相对应的后续过滤规则, 并根据所述后续过滤规则对当前通信进行 处理; A service control unit processing system, the system comprising: a service control unit processing device, configured to execute a service filtering rule, determine a subsequent filtering rule corresponding to the service control unit, and perform current according to the subsequent filtering rule Communication processing;
业务控制单元, 用于根据所述业务控制单元处理装置的处理, 提供 各种业务逻辑控制功能。 The service control unit is configured to provide various service logic control functions according to the processing of the service control unit processing device.
由上述技术方案可见, 本发明实施例首先根据被调用业务控制单元
在业务执行过程中可能出现的处理情况, 在业务过滤规则中设置与被调 用业务控制单元相对应的后续过滤规则; 然后执行业务过滤规则, 确定 业务控制单元及其相对应的后续过滤规则; 在此后的业务执行过程中, 根据所确定的后续过滤规则, 对当前通信进行处理, 从而能够在通信后 续过程中调整业务控制单元的信令路径, 解决业务控制单元被调用之后 的业务交互及沖突问题, 并提高呼叫建立效率、 缩短呼叫接续时间。 附图简要说明 It can be seen from the above technical solution that the embodiment of the present invention firstly is based on the called service control unit. The processing conditions that may occur during the execution of the service, setting a subsequent filtering rule corresponding to the called service control unit in the service filtering rule; then executing the service filtering rule to determine the service control unit and its corresponding subsequent filtering rule; After the service execution process, the current communication is processed according to the determined subsequent filtering rule, so that the signaling path of the service control unit can be adjusted in the subsequent process of the communication, and the service interaction and conflict problem after the service control unit is invoked are solved. And improve call setup efficiency and shorten call connection time. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为本发明较佳实施例中业务控制单元处理方法的流程示意图。 图 为本发明具体实施例一至三中业务控制单元处理方法的流程示 意图。 FIG. 1 is a schematic flowchart diagram of a method for processing a service control unit according to a preferred embodiment of the present invention. The flowchart of the service control unit processing method in the specific embodiments 1 to 3 of the present invention is shown.
图 3为本发明具体实施例中业务控制单元处理装置的结构示意图。 图 4为本发明具体实施例中业务控制单元处理系统的结构示意图。 实施本发明的方式 FIG. 3 is a schematic structural diagram of a service control unit processing apparatus according to an embodiment of the present invention. FIG. 4 is a schematic structural diagram of a service control unit processing system according to an embodiment of the present invention. Mode for carrying out the invention
为使本发明的目的、 技术方案及优点更加清楚明白, 以下参照附图 并举实施例, 对本发明作进一步详细说明。 The present invention will be further described in detail below with reference to the accompanying drawings.
图 1为本发明较佳实施例中业务控制单元处理方法的流程示意图。 参见图 1 , 该方法包括以下步骤: FIG. 1 is a schematic flowchart diagram of a method for processing a service control unit according to a preferred embodiment of the present invention. Referring to Figure 1, the method includes the following steps:
步骤 101: 执行业务过滤规则, 确定被调用业务控制单元及其相对 应的后续过滤规则。 Step 101: Perform a service filtering rule to determine the called service control unit and its corresponding subsequent filtering rules.
步骤 102: 在业务执行过程中, 根据所确定的后续过滤规则对当前 通信进行处理。 Step 102: During the service execution process, the current communication is processed according to the determined subsequent filtering rule.
本步骤中, 当后续过滤规则中的后续触发条件满足时, 按照后续过 滤规则中的后续处理方式进行相应的处理。
至此, 完成本发明较佳实施例中业务控制单元处理方法。 In this step, when the subsequent triggering conditions in the subsequent filtering rules are met, the corresponding processing is performed according to the subsequent processing manner in the subsequent filtering rules. So far, the service control unit processing method in the preferred embodiment of the present invention has been completed.
在上述步骤 101中, 业务过滤规则被执行的依据可以是业务触发消 息。 这里, 业务触发消息可以是 SIP初始请求消息等。 通常, 该业务触 发消息将被发往被调用业务控制单元, 从而实现对业务控制单元的调 用。 In the above step 101, the service filtering rule is executed based on the service triggering message. Here, the service trigger message may be a SIP initial request message or the like. Typically, the service trigger message will be sent to the called service control unit to enable the call to the service control unit.
本实施例预先根据被调用业务控制单元在业务执行过程中可能出 现的处理情况, 在业务过滤规则中设置与被调用业务控制单元相对应的 后续过滤规则。 后续过滤规则是本发明相对于初始过滤规则 (iFC )所 引入的一个概念, 表示该过滤规则是根据被调用业务控制单元在业务执 行过程中可能出现的处理情况所设置的业务过滤规则。 In this embodiment, a subsequent filtering rule corresponding to the called service control unit is set in the service filtering rule according to the processing situation that may be occurred in the service execution process of the called service control unit. The subsequent filtering rule is a concept introduced by the present invention with respect to the initial filtering rule (iFC), indicating that the filtering rule is a service filtering rule set according to a processing situation that may be occurred in the service execution process of the called service control unit.
后续过滤规则中包括后续触发条件及其相对应的后续处理方式。 其中, 后续触发条件包括后续消息、 呼叫状态、 业务控制单元调用 失败、 以及业务控制单元调用成功中的至少一种; 后续处理方式包括发 送消息、 拒绝消息、 调用指定业务控制单元、 通信继续、 停止执行业务 过滤规则、 释放业务控制单元和通信释放中的至少一种。 Subsequent filtering rules include subsequent trigger conditions and their corresponding subsequent processing methods. The subsequent triggering conditions include at least one of a subsequent message, a call state, a service control unit call failure, and a service control unit call success; the subsequent processing manner includes sending a message, rejecting the message, calling the specified service control unit, continuing the communication, and stopping. Perform at least one of a service filtering rule, a release service control unit, and a communication release.
这里, 后续触发条件中的后续消息是指该业务控制单元被调用之后 (即收到业务触发消息之后)、 直至当前通信被释放之前的所有消息, 也包括释放消息。 例如, 可以是 SIP初始请求消息的响应码消息、 或任 意 SIP方法等。 后续消息的消息名称、 消息内容及其任意组合都可以作 为后续触发条件; 后续触发条件中可以包括一个或一个以上后续消息。 Here, the subsequent message in the subsequent trigger condition refers to all messages after the service control unit is called (that is, after receiving the service trigger message) until the current communication is released, and also includes the release message. For example, it may be a response code message of a SIP initial request message, or any SIP method or the like. The message name, message content and any combination of the subsequent messages can be used as subsequent trigger conditions; one or more subsequent messages may be included in the subsequent trigger conditions.
进一步的, 还可以在后续触发条件中区分后续消息的来源。 举例来 说, 根据其来源信息, 后续消息可以分为以下两种: Further, the source of the subsequent message can also be distinguished in subsequent trigger conditions. For example, depending on the source information, subsequent messages can be divided into the following two categories:
一种是被调用业务控制单元返回的消息, 包括 SIP初始请求消息、 SIP响应码消息(该消息是调用该业务控制单元的 SIP初始请求消息的 响应码消息) 以及其它的后续 SIP方法消息 (如 SIP PRACK消息、 SIP
BYE 消息等, 也就是调用该业务控制单元的 SIP初始请求消息的后续 SIP方法消息)。 One is a message returned by the called service control unit, including a SIP initial request message, a SIP response code message (the message is a response code message of a SIP initial request message invoking the service control unit), and other subsequent SIP method messages (eg, SIP PRACK message, SIP A BYE message, etc., that is, a subsequent SIP method message that invokes the SIP initial request message of the service control unit).
另一种是发向被调用业务控制单元的消息, 包括 SIP初始请求消息 (不同于执行当前业务过滤规则调用该业务控制单元的 SIP初始请求消 息)、 SIP响应码消息 (该消息一般就是被调用业务控制单元返回的 SIP 初始请求消息的响应码消息) 以及其它的后续 SIP方法消息 (也就是被 调用业务控制单元返回的 SIP初始请求消息的后续 SIP方法消息)。 The other is a message sent to the called service control unit, including a SIP initial request message (unlike the SIP initial request message that invokes the current service filtering rule to invoke the service control unit), and a SIP response code message (the message is generally called) The response code message of the SIP initial request message returned by the service control unit) and other subsequent SIP method messages (ie, subsequent SIP method messages of the SIP initial request message returned by the called service control unit).
由此可见, 该来源信息可以表示出: 该后续消息是与调用该业务控 制单元的 SIP初始请求消息同源的消息、 还是与该业务控制单元被调用 后返回的 SIP初始请求消息同源的消息、 还是一个新的 SIP初始请求消 息。 所述同源可以进一步表示成位于同一呼叫、 会话或对话中。 It can be seen that the source information can indicate: the subsequent message is the same message as the SIP initial request message that invokes the service control unit, or the message that is the same as the SIP initial request message returned after the service control unit is called. , or a new SIP initial request message. The homology may be further represented as being located in the same call, session, or conversation.
后续触发条件中的呼叫状态包括当前通信的所有过程状态及其任 意组合。 以 3GPP TS 23.278标准为例, 呼叫状态包括: 收集信息、 分析 信息、 路由选择失败、 发端_忙、 发端 _无应答、 发端 _应答、 发端 _拆线、 发端 _放弃、 终端试呼鉴权、 终端_忙、 终端 _无应答、 终端 _应答、 终端 _拆线、 终端 _放弃。 在后续触发条件中可以包括上述呼叫状态中的一个 或一个以上; 上述每一呼叫状态的具体解释可参见 3GPP TS 23.278, 这 里不再赘述。此外,后续触发条件中的呼叫状态还可以采用 SIP定时器, 如 3GPP TS 24.229中定义的定时器 Tl、 T2、 Timer A、 Timer B等。 关 于上述 SIP 定时器的具体解释可参见 3GPP TS 23.278 和 3GPP TS 24.229, 这里不再赘述。 进一步的, 还可以在后续过滤规则中描述呼叫 状态的超时等待时长。 The call state in the subsequent trigger condition includes all process states of the current communication and any combination thereof. Taking the 3GPP TS 23.278 standard as an example, the call status includes: collecting information, analyzing information, routing failure, originating_busy, originating_non-answering, originating_responding, originating_disconnection, originating_abandonment, terminal attempting authentication, Terminal_Busy, Terminal_No Answer, Terminal_Answer, Terminal_Remove, Terminal_Abandon. One or more of the above call states may be included in the subsequent trigger conditions; for a detailed explanation of each of the above call states, see 3GPP TS 23.278, and no further details are provided herein. In addition, the call status in subsequent trigger conditions may also employ a SIP timer, such as timers T1, T2, Timer A, Timer B, etc., as defined in 3GPP TS 24.229. For a detailed explanation of the above SIP timer, refer to 3GPP TS 23.278 and 3GPP TS 24.229, which are not described here. Further, the timeout waiting time of the call state may also be described in the subsequent filtering rule.
后续触发条件中的业务控制单元调用失败是指被调用业务控制单 元没有响应, 或被调用业务控制单元中的业务逻辑调用失败等。 其中, 后者表示业务控制单元被正常调用, 返回了响应, 但是未能如期为用户
提供相应的业务。 导致业务逻辑调用失败的原因可能是用户无权限或无 数据使用该业务、 业务控制单元中某个功能故障等。 业务逻辑调用失败 不同于业务控制单元中的业务逻辑被正常调用但通信失败的情况, 例如 呼叫限制业务被调用就属于通信失败。 可以扩展相关协议, 使得当业务 逻辑调用失败时, 业务控制单元可以返回表示业务逻辑调用失败的消 息, 例如, 返回一个表示业务逻辑调用失败的 SIP响应码或携带有业务 逻辑调用失败指示的 SIP消息等。 在后续触发条件中, 可以分别描述各 种业务控制单元调用失败的情况, 例如, 业务控制单元没有响应或业务 逻辑调用失败等, 也可以将各种业务控制单元调用失败的情况统一描 述。 在实际应用中, 也可以将返回的失败消息作为后续触发条件中的后 续消息来表示业务逻辑调用失败, 还可以使用后续触发条件中的呼叫状 态来表示业务控制单元没有响应。 The failure of the service control unit call in the subsequent trigger condition means that the called service control unit does not respond, or the service logic call in the called service control unit fails. The latter indicates that the service control unit is called normally, and the response is returned, but the user is not on schedule. Provide the corresponding business. The reason for the failure of the business logic call may be that the user has no permission or no data to use the service, a function failure in the service control unit, and the like. The business logic call failure is different from the case where the business logic in the service control unit is normally called but the communication fails. For example, if the call restriction service is called, it is a communication failure. The related protocol may be extended such that when the business logic call fails, the service control unit may return a message indicating that the business logic call failed, for example, return a SIP response code indicating that the business logic call failed or a SIP message carrying a service logic call failure indication. Wait. In the subsequent triggering conditions, the failure of the various service control unit calls may be separately described, for example, the service control unit does not respond or the service logic fails to be invoked, and the failure of the various service control unit calls may be uniformly described. In an actual application, the returned failure message may be used as a subsequent message in the subsequent trigger condition to indicate that the service logic call fails, and the call state in the subsequent trigger condition may also be used to indicate that the service control unit does not respond.
后续触发条件中的业务控制单元调用成功是指被调用业务控制单 元调用成功, 业务控制单元返回表示业务逻辑调用成功的消息, 例如, 返回一个表示业务逻辑调用成功的 SIP响应码或携带有业务逻辑调用成 功指示的 SIP消息等。 如果业务控制单元返回的消息没有显式的指示业 务逻辑是否调用成功, 如收到一个 SIP初始请求消息, 返回的是一个没 有携带业务逻辑调用成功指示的 SIP初始请求消息, 则也可以缺省认为 业务控制单元调用成功。 The successful call of the service control unit in the subsequent trigger condition means that the invoked service control unit is successfully invoked, and the service control unit returns a message indicating that the service logic call is successful, for example, returning a SIP response code indicating that the service logic call is successful or carrying the business logic. Call the SIP message indicating the success. If the message returned by the service control unit does not explicitly indicate whether the service logic is successfully invoked, such as receiving an initial SIP request message, and returning an initial SIP request message that does not carry the service logic call success indication, the default may also be considered. The service control unit was successfully called.
后续处理方式中的发送消息为: 发送指定的消息。 后续处理方式中 可以只描述所指定的消息的名称, 还可以描述所指定的消息的内容, 进 一步的, 还可以在后续处理方式中区分发送消息的来源和 /或目的地。 具 体而言, 根据其来源信息, 发送消息可以分为以下三种: The sending message in the subsequent processing mode is: Send the specified message. In the subsequent processing mode, only the name of the specified message may be described, and the content of the specified message may be described. Further, the source and/or destination of the sent message may be distinguished in the subsequent processing manner. Specifically, depending on the source information, sending messages can be divided into the following three types:
第一种是被调用业务控制单元返回的消息, 关于该来源信息的说明 请参见如前所述后续触发条件中关于后续消息来源信息的相应说明。
第二种是发向被调用业务控制单元的消息, 关于该来源信息的说明 请参见如前所述后续触发条件中关于后续消息的来源信息的相应说明。 The first type is the message returned by the called service control unit. For the description of the source information, please refer to the corresponding description of the subsequent source information in the subsequent trigger conditions as described above. The second type is a message sent to the called service control unit. For a description of the source information, refer to the corresponding description of the source information of the subsequent message in the subsequent trigger condition as described above.
第三种是调用该业务控制单元的 SIP初始请求消息, 即业务触发消 息。 The third is to call the SIP initial request message of the service control unit, that is, the service trigger message.
其中, 作为第一种和第二种的特例, 发送消息可以就是后续触发条 件中的后续消息。 Wherein, as a special case of the first type and the second type, the sending message may be a subsequent message in the subsequent triggering condition.
发送消息的目的地信息可以是: 向被调用业务控制单元发送消息、 向被调用业务控制单元的前向发送消息(即当前通信的起始方向, 如向 主叫发送消息)、 向被调用业务控制单元的后向发送消息 (即当前通信 的终结方向, 如向被叫发送消息)。 The destination information of the sent message may be: sending a message to the called service control unit, sending a message to the called service control unit (ie, starting direction of the current communication, such as sending a message to the calling party), to the called service The control unit sends a message backward (ie, the end direction of the current communication, such as sending a message to the called party).
后续处理方式中的拒绝消息为: 禁止发送后续触发条件中的后续消 息。 进一步的, 还可以在后续处理方式中区分拒绝消息的目的地, 以表 示禁止向所述目的地发送该后续消息。 具体而言, 拒绝消息的目的地信 息可以是: 拒绝向被调用业务控制单元发送消息、 拒绝向被调用业务控 制单元的前向发送消息 (如主叫方向)、 或拒绝向被调用业务控制单元 的后向发送消息(如被叫方向)。 The reject message in the subsequent processing mode is: It is forbidden to send subsequent messages in subsequent trigger conditions. Further, the destination of the reject message may also be distinguished in a subsequent processing manner to indicate that the subsequent message is prohibited from being sent to the destination. Specifically, the destination information of the reject message may be: refusing to send a message to the called service control unit, rejecting the forward sending message to the called service control unit (such as the calling direction), or refusing to the called service control unit. The message is sent backwards (such as the direction of the called party).
后续处理方式中的调用指定业务控制单元为: 向指定的业务控制单 元发送调用消息。 可以直接指定该业务控制单元的地址, 也可以间接指 定, 如在后续过滤规则中描述该指定业务控制单元所对应的业务过滤规 则的标识(该业务过滤规则中描述了指定业务控制单元的地址), 此时, 将通过对该业务过滤规则的执行实现向指定业务控制单元的调用。 一般 的, 调用指定业务控制单元分为以下三种情况: The call in the subsequent processing mode specifies that the service control unit is: Sends an invocation message to the specified service control unit. The address of the service control unit may be directly specified, or may be specified indirectly, for example, the identifier of the service filtering rule corresponding to the specified service control unit is described in the subsequent filtering rule (the address of the specified service control unit is described in the service filtering rule) At this point, the call to the specified service control unit will be implemented by the execution of the business filter rule. In general, calling the specified service control unit is divided into the following three cases:
第一种情况是重新调用业务控制单元, 该后续处理方式可以用于处 理后续触发条件为业务控制单元调用失败的情况, 即向调用失败的业务 控制单元重新发送调用消息; 该后续处理方式还可以用于处理后续触发
条件为业务控制单元调用成功的情况, 即向调用成功的业务控制单元再 次发送调用消息, 此时, 再次发送的调用消息可以不是此前成功调用业 务控制单元的调用消息。 The first case is to re-invoke the service control unit, and the subsequent processing mode can be used to process the subsequent trigger condition that the service control unit fails to be called, that is, the call message is resent to the service control unit that failed the call; Used to process subsequent triggers The condition is that the service control unit is successfully invoked, that is, the call message is sent again to the service control unit that successfully invokes. At this time, the call message sent again may not be the call message of the previous successful call of the service control unit.
第二种情况是调用同质业务控制单元, 即向同质业务控制单元发送 调用消息。 该后续处理方式可以用于处理后续触发条件为业务控制单元 调用失败的情况。 这里, 同质业务控制单元是指能提供与当前调用失败 的业务控制单元相同服务的业务控制单元, 如 AS7调用失败, AS8能提 供与 AS7相同的服务, 则调用 AS8, 向其发送消息。 同质业务控制单元 的地址可以与被调用业务控制单元的地址一起设置在业务过滤规则中, 如此, 执行业务过滤规则时, 就可以得到与某个业务控制单元相应的同 质业务控制单元的地址。 In the second case, the homogeneous service control unit is called, that is, the call message is sent to the homogeneous service control unit. This subsequent processing mode can be used to process the subsequent trigger condition as the service control unit call fails. Here, the homogeneous service control unit refers to a service control unit that can provide the same service as the service control unit that has failed the current call. If the AS7 call fails, and the AS8 can provide the same service as the AS7, the AS8 is called and a message is sent to the AS8. The address of the homogeneous service control unit can be set in the service filtering rule together with the address of the called service control unit, so that when the service filtering rule is executed, the address of the homogeneous service control unit corresponding to a certain service control unit can be obtained. .
第三种情况是调用新的业务控制单元, 即指定新业务控制单元的地 址, 向所指定的新业务控制单元发送调用消息。 The third case is to call a new service control unit, which specifies the address of the new service control unit, and sends a call message to the designated new service control unit.
后续处理方式中的通信继续为: 继续处理当前通信。 具体而言, 若 存在后续业务过滤规则, 则执行后续业务过滤规则, 否则继续处理当前 通信过程, 例如, 继续向被叫路由, 或向主叫发送当前处理的通信消息 等。 在上述的调用新的业务控制单元的后续处理方式中, 当新的业务控 制单元就对应于后续业务过滤规则时, 也可以通过本方式实现。 The communication in the subsequent processing mode continues to: Continue processing the current communication. Specifically, if there is a subsequent service filtering rule, the subsequent service filtering rule is executed, otherwise the current communication process continues to be processed, for example, continuing to the called route, or sending the currently processed communication message to the calling party. In the subsequent processing manner of invoking the new service control unit, when the new service control unit corresponds to the subsequent service filtering rule, the method may also be implemented in this manner.
后续处理方式中的停止执行业务过滤规则为: 若存在后续业务过滤 规则, 则停止执行后续的业务过滤规则, 并继续处理当前通信, 例如, 继续向被叫路由。 The execution of the service filtering rule in the subsequent processing mode is: If there is a subsequent service filtering rule, the subsequent service filtering rule is stopped, and the current communication is continued, for example, continuing to the called route.
后续处理方式中的释放业务控制单元为: 释放已经被调用的业务控 制单元。 一般的, 也可以采用将后续处理方式中的发送消息设定为释放 消息, 例如 SIP BYE消息、 SIP ^款消 (CANCEL ) 消息等, 表示释放已 经被调用的业务控制单元。
后续处理方式中的通信释放为: 释放当前通信。 The release service control unit in the subsequent processing mode is: releasing the service control unit that has been called. In general, the sending message in the subsequent processing mode may also be set as a release message, such as a SIP BYE message, a SIP CANCEL message, etc., to indicate that the service control unit that has been called is released. The communication in the subsequent processing mode is released as: Release the current communication.
由上述技术方案可见, 本发明较佳实施例所提供的方法使得业务过 滤规则除了能处理 SIP初始请求消息外, 还能处理通信过程中的后续消 息, 即提供了一种根据后续过滤规则处理通信的方法。 本发明实施例所 述后续过滤规则可以通过扩展现有 iFC的方式进行设置, 也可以单独设 置。 It can be seen from the above technical solution that the method provided by the preferred embodiment of the present invention enables the service filtering rule to process subsequent messages in the communication process in addition to the SIP initial request message, that is, to provide a communication according to the subsequent filtering rule. Methods. The subsequent filtering rules in the embodiment of the present invention may be set by extending the existing iFC, or may be separately set.
在下面的各实施例中, 采用对现有 iFC进行扩展的方式, 将后续过 滤规则描述在 iFC中, 从而将只能处理 SIP初始请求消息的初始过滤规 则 iFC扩展成也能具备处理后续消息能力的业务过滤规则。 为此, 需要 预先在业务过滤规则中设置与被调用业务控制单元相对应的后续过滤 规则, 同时为筒化起见, 以下的各实施例中列出的仅是与该实施例相关 的业务过滤规则片断。 In the following embodiments, the existing iFC is extended to describe the subsequent filtering rules in the iFC, so that the initial filtering rule iFC that can only process the SIP initial request message is expanded to have the capability of processing subsequent messages. Business filtering rules. To this end, it is necessary to set a subsequent filtering rule corresponding to the called service control unit in the service filtering rule in advance, and for the sake of the cylinder, only the service filtering rules related to the embodiment are listed in the following embodiments. Piece.
如前所述, 业务控制单元是各种业务的宿主执行环境, 能够提供各 种业务逻辑控制功能。 业务控制单元可以是 IMS应用服务器、 SCF等。 下面的实施例中以 IMS应用服务器为例进行说明。 As mentioned earlier, the Service Control Unit is the host execution environment for a variety of services and provides a variety of business logic control functions. The service control unit can be an IMS application server, SCF, or the like. In the following embodiments, an IMS application server is taken as an example for description.
实施例一: Embodiment 1:
本实施例中, 假设收到一个 SIP INVITE消息, 调用了 IMS应用服 务器 AS1 , 其后, 在被叫用户无应答时, 呼叫被前转至语音邮箱, 语音 邮箱应答, 返回 200 OK应答响应消息, 而 AS1不希望收到系统自动应 答的 200 OK消息, 因此, 应当对 AS1屏蔽该 200 OK消息。 In this embodiment, it is assumed that a SIP INVITE message is received, and the IMS application server AS1 is invoked. Thereafter, when the called user does not answer, the call is forwarded to the voice mailbox, the voice mailbox responds, and a 200 OK response message is returned. AS1 does not want to receive the 200 OK message automatically answered by the system. Therefore, the 200 OK message should be masked to AS1.
本实施例所设置的业务过滤规则片断如下: The service filtering rule fragments set in this embodiment are as follows:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>INVITE</Method> <Method>INVITE</Method>
</SPT>
</TriggerPoint > </SPT> </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>sip:asl @ims.example.com</ServerName> <ServerName>sip:asl @ims.example.com</ServerName>
< SubsequentFilterCriteria> < SubsequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageToApplicationServer> <SubsequentMessageToApplicationServer>
<MessageName>200</MessageName> <MessageName>200</MessageName>
<SIPHeader> <SIPHeader>
<Header>Contact</Header> <Header>Contact</Header>
<Content>automata</ Content> <Content>automata</ Content>
</SIPHeader> </SIPHeader>
</SubsequentMessageToApplicationServer> </SubsequentTriggerPoint> </SubsequentMessageToApplicationServer> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>RejectMessage</Mode> <Mode>RejectMessage</Mode>
<Destination>ApplicationServer</Destionation> <Destination>ApplicationServer</Destionation>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> 为描述方便, 在本实施例中将上述业务过滤规则片断称为业务过滤 规则一。 以下对本实施例中业务控制单元处理方法的说明, 也着重描述 与该业务过滤规则片断相关的部分。 </ApplicationServer> For convenience of description, the above-mentioned service filtering rule segment is referred to as a service filtering rule one in this embodiment. The following description of the method of processing the service control unit in this embodiment also focuses on the portion related to the segment of the service filtering rule.
图 为本发明具体实施例一至三中业务控制单元处理方法的流程示 意图。 参见图 2, 该方法包括以下步骤: The flowchart of the service control unit processing method in the specific embodiments 1 to 3 of the present invention is shown. Referring to Figure 2, the method includes the following steps:
步骤 201 : 根据业务触发消息 INVITE, 执行业务过滤规则, 确定被 调用应用服务器及其相对应的后续过滤规则。 Step 201: Perform a service filtering rule according to the service trigger message INVITE, and determine the called application server and its corresponding subsequent filtering rule.
本步骤中所执行的业务过滤规则如业务过滤规则一所示, 其中,
<1¾886 01111〉与</ 886 01111〉之间的内容为触发点信息, 表示该业务 过滤规则的触发条件。 本实施例中, 该业务过滤规则的触发条件是取值 为 INVITE的方法(Method )业务点触发器(SPT )。 The service filtering rules executed in this step are as shown in the service filtering rule one, where The content between <13⁄4886 01111> and </ 886 01111> is the trigger point information, indicating the trigger condition of the service filtering rule. In this embodiment, the trigger condition of the service filtering rule is a method (Method) service point trigger (SPT) with a value of INVITE.
本步骤中, 根据 INVITE消息执行业务过滤规则一之后, 得到被调 用应用服务器名( ServerName )及其相对应的后续过滤规则( Subsequent FilterCriteria ) , 即: 如业务过滤规则一所示 <ApplicationServer〉与 </ApplicationServer〉之间的内容。 In this step, after the service filtering rule 1 is executed according to the INVITE message, the called application server name (ServerName) and its corresponding subsequent filtering rule (Subsequent FilterCriteria) are obtained, that is, <ApplicationServer> and < as shown in the service filtering rule one. Content between /ApplicationServer>.
其中, ServerName表示被调用应用服务器地址, 本实施例中, 取值 为 sip:asl @ims.example.com, 代表 AS1的地址。 如果存在与 AS1 同质 的业务控制单元, 可以在这里设置 AS1的同质业务控制单元的地址。 表示与 AS1相对应的后续过滤规则,这部分内容就是本实施例对 iFC的 扩展描述。 后续过滤规则包括后续触发条件及其相对应的后续处理方 式。 同一业务控制单元在不同情况下可能存在不同的后续过滤规则, 本 发明中, 可以采用一个 <SubsequentFilterCriteriax/SubsequentFilter Criteria〉描述所有后续处理方式及其相对应的后续触发条件, 也可以采 用多个<SubsequentFilterCriteria〉 </SubsequentFilterCriteria〉分另1 J描述后 续处理方式及其相对应的后续触发条件。 The ServerName indicates the address of the called application server. In this embodiment, the value is sip:asl @ims.example.com, which represents the address of AS1. If there is a service control unit of the same quality as AS1, the address of the homogeneous service control unit of AS1 can be set here. Indicates the subsequent filtering rules corresponding to AS1. This part is the extended description of iFC in this embodiment. Subsequent filtering rules include subsequent trigger conditions and their corresponding subsequent processing methods. The same service control unit may have different subsequent filtering rules in different situations. In the present invention, a <SubsequentFilterCriteriax/SubsequentFilter Criteria> may be used to describe all subsequent processing modes and their corresponding subsequent triggering conditions, or multiple <SubsequentFilterCriteria may be used. ></SubsequentFilterCriteria> min 1 J another embodiment described in the subsequent processing and follow-up corresponding to the trigger condition.
后续过滤规贝1 J中 , <SubsequentTriggerPoint〉与 </SubsequentTrigger Point>之间的内容表示后续触发条件。 可以存在多个 Subsequent TriggerPoint〉</SubsequentTriggerPoint〉表示多个后续触发条件, 也可以 在一个 <SubsequentTriggerPoint〉</SubsequentTriggerPoint〉间描述多个后 续触发条件。 In the subsequent filter rule 1 J, the content between <SubsequentTriggerPoint> and </SubsequentTrigger Point> indicates the subsequent trigger condition. There may be multiple Subsequent TriggerPoint></SubsequentTriggerPoint> indicating multiple subsequent trigger conditions, or multiple subsequent trigger conditions may be described between one <SubsequentTriggerPoint></SubsequentTriggerPoint>.
后续过滤规贝' J 中, <SubsequentHandlingMode>与 </Subsequent HandlingMode〉之间的内容表示与后续触发条件相对应的后续处理方
式。 In the subsequent filtering rule, the content between <SubsequentHandlingMode> and </Subsequent HandlingMode> represents the subsequent processing party corresponding to the subsequent trigger condition. Style.
如业务过滤规则一所示的后续触发条件中, <SubsequentMessage To ApplicationServer> ^ </SubsequentMessageToApplicationServer> -^.间的 内容表示来源是发向被调用业务控制单元的后续消息, 该部分内容可以 由任意后续消息的消息名称、 消息内容以及该消息的来源信息组成。 具 体包括: 消息名称( MessageName )、 消息来源( Origination )、 SIP头域 ( SIPHeader ), 头域( Header )和头域的内容( Content )。 此外, 表示后 续消息来源的描述也可以不在 <SubsequentMessageToApplicationServer〉 标签中体现, 则后续触发条件中的后续消息可以描述为如下形式: In the subsequent trigger condition shown in the business filter rule 1, the content between <SubsequentMessage To ApplicationServer> ^ </SubsequentMessageToApplicationServer> -^. indicates that the source is a subsequent message sent to the called service control unit, and the content can be any subsequent The message's message name, the message content, and the source information of the message. Specifically, the message name ( MessageName ), the source ( Origination ), the SIP header field ( SIPHeader ), the header field ( Header ), and the content of the header field ( Content ). In addition, the description of the subsequent source may not be reflected in the <SubsequentMessageToApplicationServer> tag, and subsequent messages in subsequent trigger conditions may be described as follows:
<SubsequentMessage> <SubsequentMessage>
<MessageName>200</MessageName> <MessageName>200</MessageName>
<Origination>ToApplicationServer</Origination> <Origination>ToApplicationServer</Origination>
<SIPHeader> <SIPHeader>
<Header>Contact</Header> <Header>Contact</Header>
<Content>automata</Content> <Content>automata</Content>
</SIPHeader> </SIPHeader>
</SubsequentMessage> 即由 <SubsequentMessage〉"^ </SubsequentMessage>-^间的内容表示 后续消息, 其中, 通过 Origination 表示后续消息的来源。 上例中, Origination 的取值为 ToApplicationServer, 表示后续消息的来源是发向 被调用业务控制单元的消息。 </SubsequentMessage> The content between <SubsequentMessage>"^ </SubsequentMessage>-^ represents the subsequent message, where the source of the subsequent message is represented by Origination. In the above example, the value of Origination is ToApplicationServer, indicating the source of subsequent messages. Is the message sent to the called service control unit.
上述后续触发条件中, MessageName表示后续消息的名称, 本实施 例中, 取值为 200; <81?1½&(161 与 </SIPHeader ^间的内容表示后续消 息的 SIP头域内容, 本实施例中, 将 Header设置为联系头域( Contact ), Content头 i或内容设置为自动操作 ( automata )。
上述后续处理方式中的方式( Mode )表示与后续触发条件相对应的 后续处理方式, 本实施例中, 设置为表示拒绝消息( RejectMessage ) 的 后续处理方式。 目的地(Destination )表示拒绝消息的目的地, 本实施 例中, 设置为业务控制单元( ApplicationServer ), 表示拒绝向被调用业 务控制单元发送消息。 In the foregoing triggering condition, MessageName indicates the name of the subsequent message. In this embodiment, the value is 200; <81?11⁄2&(the content between 161 and </SIPHeader^ indicates the SIP header field content of the subsequent message, in this embodiment , set the Header to the contact header field ( Contact ), the Content header i or the content is set to auto-operate ( automata ). The mode (Mode) in the subsequent processing mode indicates a subsequent processing mode corresponding to the subsequent triggering condition. In this embodiment, the subsequent processing mode indicating the reject message (RejectMessage) is set. The destination indicates the destination of the reject message. In this embodiment, it is set as the service control unit (ApplicationServer), indicating that the message is refused to be sent to the called service control unit.
步骤 202: 记录被调用应用服务器的后续过滤规则, 并向被调用应 用服务器发送 INVITE消息, 即初始调用该应用服务器。 Step 202: Record a subsequent filtering rule of the called application server, and send an INVITE message to the called application server, that is, the application server is initially called.
本步骤中, 根据步骤 201所执行的业务过滤规则一, 得到被调用应 用服务器 AS1及其相对应的后续过滤规则, 记录 AS1的后续过滤规则、 向 AS1发送 INVITE消息。 In this step, according to the service filtering rule 1 executed in step 201, the called application server AS1 and its corresponding subsequent filtering rules are obtained, the subsequent filtering rules of AS1 are recorded, and the INVITE message is sent to AS1.
步骤 203: 根据业务执行过程中所接收到的后续消息、 当前呼叫状 态以及业务控制单元的调用失败, 对照所记录的后续过滤规则, 判断后 续触发条件是否满足, 当后续触发条件满足时, 使用后续过滤规则中相 应的后续处理方式处理当前通信。 Step 203: According to the subsequent message received during the execution of the service, the current call state, and the call failure of the service control unit, determine whether the subsequent trigger condition is satisfied according to the recorded subsequent filtering rule. When the subsequent trigger condition is met, the subsequent use is performed. The corresponding subsequent processing in the filtering rule processes the current communication.
本步骤中, 当收到来自于语音邮箱的 200 OK应答响应消息时, 将 该 200 OK应答响应消息与所记录的后续触发条件进行匹配:由于该 200 OK消息是来自于语音邮箱的应答,因此消息中的 Contact头域中设置了 "automata", 表示这是一个来自于系统的自动应答; 而且, 该 200 OK消 息的目的地是 AS1 , 因此,与步骤 202所记录的后续触发条件匹配成功。 匹配成功之后, 使用后续过滤规则中与该后续触发条件相对应的后续处 理方式处理相应的业务控制单元, 本实施例中, 后续处理方式为表示拒 绝消息的处理方式, 即不把该 200 OK应答响应消息发向 AS1。 In this step, when receiving the 200 OK response message from the voice mailbox, the 200 OK response response message is matched with the recorded subsequent trigger condition: since the 200 OK message is a response from the voice mailbox, The "automata" is set in the Contact header field of the message, indicating that this is an automatic response from the system; moreover, the destination of the 200 OK message is AS1, and therefore, the subsequent trigger condition recorded in step 202 is successfully matched. After the matching is successful, the corresponding service control unit is processed in a subsequent processing manner corresponding to the subsequent triggering condition in the subsequent filtering rule. In this embodiment, the subsequent processing mode is a processing manner indicating the rejection message, that is, the 200 OK response is not received. The response message is sent to AS1.
类似的, 通过将 183、 PRACK消息、 UPDATE消息等对业务控制单 元处理业务逻辑控制无用的后续呼叫建立消息作为后续触发条件中的 后续消息, 并将与之相应的后续处理方式设置为拒绝消息, 就可以实现
按照需要向业务控制单元发送消息, 将对业务控制单元处理业务逻辑控 制无用的后续呼叫建立消息向业务控制单元屏蔽, 从而筒化了呼叫处 理、 提高了呼叫建立效率、 缩短了呼叫接续时间。 示例如下: Similarly, the subsequent call setup message that is used by the service control unit to process the service logic control is used as a follow-up message in the subsequent trigger condition, and the subsequent processing manner corresponding to the 183, the PRACK message, the UPDATE message, and the like is set as the reject message. Can be achieved The message is sent to the service control unit as needed, and the subsequent call setup message that is used by the service control unit to process the service logic control is shielded from the service control unit, thereby simplifying the call processing, improving the call setup efficiency, and shortening the call connection time. An example is as follows:
<ApplicationServer> <ApplicationServer>
<ServerName>sip:asl @ims.example.com</ServerName> <ServerName>sip:asl @ims.example.com</ServerName>
< SubsequentFilterCriteria> < SubsequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageToApplicationServer> <SubsequentMessageToApplicationServer>
<MessageName>200</MessageName> <MessageName>200</MessageName>
<SIPHeader> <SIPHeader>
<Header>Contact</Header> <Header>Contact</Header>
<Content>automata</ Content> <Content>automata</ Content>
</SIPHeader> </SIPHeader>
</SubsequentMessageToApplicationServer> </SubsequentMessageToApplicationServer>
<SubsequentMessageToApplicationServer> <SubsequentMessageToApplicationServer>
<MessageName>183</MessageName> <MessageName>183</MessageName>
</SubsequentMessageToApplicationServer> </SubsequentMessageToApplicationServer>
<SubsequentMessageToApplicationServer> <SubsequentMessageToApplicationServer>
<MessageName>AllMessage</MessageName> <MessageName>AllMessage</MessageName>
<SIPHeader> <SIPHeader>
<Header>CSeq</Header> <Header>CSeq</Header>
<Content>PRACK</Content> <Content>PRACK</Content>
</SIPHeader> </SIPHeader>
</SubsequentMessageToApplicationServer> </SubsequentTriggerPoint>
<SubsequentHandlingMode> </SubsequentMessageToApplicationServer></SubsequentTriggerPoint> <SubsequentHandlingMode>
<Mode>RejectMessage</Mode> <Mode>RejectMessage</Mode>
<Destination>ApplicationServer</Destionation> </SubsequentHandlingMode> <Destination>ApplicationServer</Destionation> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> 在上述后续过滤规则中,在<81^869116111;1¾ 6 0 1 和</81^869116111;
描述了三个后续触发条件。 这三个后续触发条件都是 后续消息, 分别是: 发向 AS1的、 Contact头域包含内容 automata的 200 消息; 发向 AS1的 183消息; 发向 AS1的、 Cseq头域包含内容 PRACK 的所有消息(包括 PRACK消息和 PARCK消息的各种 SIP响应码消息)。 这三个后续触发条件有相同的后续处理方式:拒绝向 AS1发送对应的后 续消息。 本实施例中, 允许在后续过滤规则中使用通配描述, 如 AllMessage即表示所有消息, 用 1XX表示所有的 SIP 1XX响应码消息 等。 此外, 本实施例中允许在后续过滤规则中描述多个后续触发条件的 任意组合, 比如"与"、 "或"、 "非"组合关系以及基于这三者的任意多重 组合关系等, 在上述后续过滤规则中, 缺省的组合关系是"或", 即这三 个后续触发条件只要有一个符合, 就执行后续处理方式。 </ApplicationServer> in the above-mentioned subsequent filtering rules, at <81^869116111; 13⁄4 6 0 1 and </81^869116111; Three subsequent trigger conditions are described. The three subsequent trigger conditions are subsequent messages, which are: 200 messages sent to AS1, the Contact header field contains content automata; 183 messages sent to AS1; all messages sent to AS1, Cseq header field containing content PRACK (Various SIP response code messages including PRACK messages and PARCK messages). The three subsequent trigger conditions have the same subsequent processing mode: the corresponding subsequent message is rejected from being sent to AS1. In this embodiment, the wildcard description is allowed to be used in the subsequent filtering rule, for example, AllMessage means all messages, and 1XX means all SIP 1XX response code messages. In addition, in this embodiment, any combination of a plurality of subsequent trigger conditions is allowed to be described in a subsequent filtering rule, such as an "and", "or", "non" combination relationship, and any multiple combination relationship based on the three, etc., in the above In the subsequent filtering rules, the default combination relationship is "or", that is, as long as one of the three subsequent trigger conditions meets, the subsequent processing mode is executed.
至此, 结束本实施例业务控制单元处理方法。 So far, the processing method of the service control unit of this embodiment is ended.
由上述实施例可见,本实施例预先根据被调用应用服务器 AS1在业 务执行过程中可能出现的处理情况,在业务过滤规则一中设置与 AS1相 对应的后续过滤规则; 然后, 根据业务触发消息 INVITE执行业务过滤 规则一,得到与 AS 1相对应的后续过滤规则;在此后的业务执行过程中, 根据所确定的后续过滤规则处理 AS1 , 从而实现了根据需要调整被调用 业务控制单元的信令路径, 解决了业务交互及沖突问题, 此外, 还能够
提高呼叫建立效率、 缩短呼叫接续时间。 It can be seen from the foregoing embodiment that the present embodiment sets a subsequent filtering rule corresponding to AS1 in the service filtering rule one according to the processing situation that may be occurred in the service execution process of the called application server AS1. Then, according to the service trigger message INVITE After the service filtering rule 1 is executed, the subsequent filtering rule corresponding to the AS 1 is obtained. In the subsequent service execution process, the AS1 is processed according to the determined subsequent filtering rule, so that the signaling path of the called service control unit is adjusted according to requirements. , to solve business interactions and conflicts, in addition, Improve call setup efficiency and shorten call connection time.
在上述实施例中, 以后续触发条件为后续消息、 后续处理方式为拒 绝消 , 的情况为例对本发明技术方案进行了详细的说明。 在实际应用 中, 当呼叫状态发生迁移时, 也可能满足后续触发条件; 而对于业务控 制单元而言, 也存在其他的后续处理方式, 例如发送消息的方式。 在下 面的实施例二中将对这些情况下如何实施本发明进行详细说明。 In the above embodiment, the technical solution of the present invention is described in detail by taking the case that the subsequent trigger condition is the subsequent message and the subsequent processing mode is the rejection. In actual applications, when the call state is migrated, subsequent trigger conditions may also be met; for the service control unit, there are other subsequent processing methods, such as the manner in which the message is sent. How the invention is carried out in these cases will be described in detail in the second embodiment below.
实施例二: Embodiment 2:
本实施例中, 假设收到一个 SIP INVITE消息, 调用了 IMS应用服 务器 AS2, 其后, 在被叫用户无应答时, AS2希望退出当前通信, 因此, 应当向 AS2发送新的调用消息。 In this embodiment, it is assumed that a SIP INVITE message is received, and the IMS application server AS2 is invoked. Thereafter, when the called user does not answer, AS2 wishes to quit the current communication, and therefore, a new call message should be sent to AS2.
本实施例所设置的业务过滤规则片断如下: The service filtering rule fragments set in this embodiment are as follows:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>INVITE</Method> <Method>INVITE</Method>
</SPT> </SPT>
</TriggerPoint > </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>sip:as2@ims.example.com</ServerName> <ServerName>sip:as2@ims.example.com</ServerName>
<SubsequentFilterCriteria> <SubsequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<CallState> <CallState>
<StateName>Terminating_NoAnswer</StateName> <StateName>Terminating_NoAnswer</StateName>
<StateValue>20000</StateValue> <StateValue>20000</StateValue>
</CallState> </CallState>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode>
<Mode>SendingMessage</Mode> <SubsequentHandlingMode> <Mode>SendingMessage</Mode>
<MessageName>BYE</MessageName> <MessageName>BYE</MessageName>
<Origination>ToApplicationServer</Origination> <Origination>ToApplicationServer</Origination>
<Destination>ApplicationServer</Destionation> </SubsequentHandlingMode> <Destination>ApplicationServer</Destionation> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> 为描述方便, 在本实施例中将上述业务过滤规则片断称为业务过滤 规则二。 以下对本实施例中业务控制单元处理方法的说明, 也着重描述 与该业务过滤规则片断相关的部分。 </ApplicationServer> For convenience of description, the above-mentioned service filtering rule segment is referred to as service filtering rule 2 in this embodiment. The following description of the method of processing the service control unit in this embodiment also focuses on the portion related to the segment of the service filtering rule.
本实施例中业务控制单元处理方法的流程示意图与实施例一中图 2 相同, 请参见图 2。 本实施例中, 业务控制单元处理方法包括以下步骤: 在步骤 201 中, 根据业务触发消息 INVITE, 执行业务过滤规则, 确定被调用应用服务器及其相对应的后续过滤规则。 The flowchart of the service control unit processing method in this embodiment is the same as that in FIG. 2 in the first embodiment, and FIG. 2 is shown. In this embodiment, the service control unit processing method includes the following steps: In step 201, the service filtering rule is executed according to the service trigger message INVITE, and the called application server and its corresponding subsequent filtering rule are determined.
本步骤中所执行的业务过滤规则如业务过滤规则二所示, <1¾886 011«〉与 </1 886 011«〉之间的内容为触发点信息, 与实施例一 相同, 本实施例中业务过滤规则的触发条件是取值为 INVITE 的方法 ( Method ) 业务点触发器(SPT )。 The service filtering rule executed in this step is as shown in the service filtering rule 2. The content between <13⁄4886 011«> and </1 886 011«> is the trigger point information, which is the same as the first embodiment. The trigger condition for the filter rule is the method (Method) of the INVITE, which is the business point trigger (SPT).
本步骤中, 根据 INVITE消息执行业务过滤规则二之后, 与实施例 一类似, 得到被调用应用服务器名 (ServerName )及其相对应的后续过 滤规贝' J ( SubsequentFilterCriteria ) , 即: 如业务过滤规则二所示 其中, ServerName表示被调用应用服务器地址, 本实施例中, 取值 为 sip: as2@ims.example.com, 代表 AS2的地址。 In this step, after the service filtering rule 2 is executed according to the INVITE message, similar to the first embodiment, the called application server name (ServerName) and its corresponding subsequent filtering rule 'J (SubsequentFilterCriteria) are obtained, that is, the service filtering rule is as follows: In the second example, ServerName represents the address of the called application server. In this embodiment, the value is sip: as2@ims.example.com, which represents the address of AS2.
其中,
内容表示与 AS2相对应的后续过滤规则, 这部分内容就是本实施例对 iFC的扩展描述。 among them, The content represents a subsequent filtering rule corresponding to AS2, and this part is an extended description of the iFC in this embodiment.
后续过滤规贝1 J中 , < SubsequentTriggerPoint〉与 </ SubsequentTrigger Point〉之间的内容表示后续触发条件。 本实施例的后续触发条件中, <〇&1181&16〉与 </CallState〉之间的内容表示表示呼叫状态, 该部分内容可 以是任意呼叫状态的名称及其相关的任何内容; <SubsequentHandling Mode>与 </SubsequentHandling Mode>之间的内容表示与后续触发条 件相对应的后续处理方式。 In the subsequent filter rule 1 J, the content between <SubsequentTriggerPoint> and </ SubsequentTrigger Point> indicates the subsequent trigger condition. In the subsequent trigger condition of this embodiment, the content between <〇&1181&16> and </CallState> indicates the call status, and the part of the content may be the name of any call state and any related content thereof; <SubsequentHandling Mode> and < The content between /SubsequentHandling Mode> represents the subsequent processing method corresponding to the subsequent trigger condition.
如业务过滤规则二所示的后续触发条件中, 状态名称(StateName ) 表示呼叫状态的名称, 本实施例中, 取值为终端 _无应答 ( Terminating_NoAnswer ) , 状态值 ( State Value )表示呼叫状态的超时 等待时长, 本实施例中取值为 20000毫秒。 In the subsequent trigger condition shown in the service filtering rule 2, the state name (StateName) indicates the name of the call state. In this embodiment, the value is Terminal_No Answer (Noin Answer), and the State Value indicates the call state. The timeout period is long. In this embodiment, the value is 20000 milliseconds.
业务过滤规则二的后续处理方式中的方式( Mode )表示与后续触发 条件相对应的后续处理方式。 本实施例中, 设置为表示发送消息 ( SendingMessage ) 的后续处理方式, 并在消息名称 ( MessageName ) 中指定该消息为再见消息 ( BYE ) , 该消息的 Origination 设置为 ToApplicationServer, 表示该 BYE消息的来源是发向 AS2的后续 SIP方 法消息, 即它和 AS2被调用后返回的 SIP初始请求消息同源, 该消息的 Destination设置为 ApplicationServer , 表示该消息的发送目的地是 AS2。 The mode (Mode) in the subsequent processing mode of the service filtering rule 2 indicates the subsequent processing mode corresponding to the subsequent trigger condition. In this embodiment, it is set to indicate a subsequent processing manner of sending a message (SendingMessage), and the message is specified as a goodbye message (BYE) in the message name (MessageName), and the Origination of the message is set to ToApplicationServer, indicating the source of the BYE message. It is a subsequent SIP method message sent to AS2, that is, it is the same as the SIP initial request message returned after AS2 is called. The Destination of the message is set to ApplicationServer, indicating that the message is sent to AS2.
在步骤 202中, 记录步骤 201所得到的的后续过滤规则, 并向 AS2 发送 INVITE消息, 即初始调用 AS2。 In step 202, the subsequent filtering rule obtained in step 201 is recorded, and an INVITE message is sent to AS2, that is, AS2 is initially called.
在步骤 203中, 根据业务执行过程中所接收到的后续消息、 当前呼 叫状态以及业务控制单元的调用失败, 对照所记录的后续过滤规则, 判 断后续触发条件是否满足, 当后续触发条件满足时, 使用后续过滤规则 中相应的后续处理方式处理当前通信。
本步骤中, 当用户的呼叫状态迁移为终端_无应答时, 将该呼叫状 态与所记录的后续触发条件进行匹配, 匹配成功, 使用后续过滤规则中 与该后续触发条件相对应的后续处理方式处理相应的应用服务器。 本实 施例中, 根据呼叫状态和后续过滤规则获得相应的后续处理方式为发送 消息, 所指定的消息名称为 BYE, 向 AS2发送 SIP BYE消息, 使 AS2 退出当前通信,该 SIP BYE消息和 AS2被调用后返回的 SIP初始请求消 息( AS2收到调用消息 SIP INVITE消息后返回的 SIP INVITE消息 ) 同 源。 In step 203, according to the subsequent message received during the execution of the service, the current call state, and the call failure of the service control unit, it is determined whether the subsequent trigger condition is satisfied according to the recorded subsequent filtering rule. When the subsequent trigger condition is met, The current communication is processed using the corresponding subsequent processing in the subsequent filtering rules. In this step, when the call state of the user is migrated to the terminal_no answer, the call state is matched with the recorded subsequent trigger condition, and the matching is successful, and the subsequent processing manner corresponding to the subsequent triggering condition in the subsequent filtering rule is used. Process the corresponding application server. In this embodiment, the corresponding subsequent processing mode is sent according to the call state and the subsequent filtering rule, and the specified message name is BYE, and the SIP BYE message is sent to AS2, so that AS2 quits the current communication, and the SIP BYE message and AS2 are The SIP initial request message returned after the call (the SIP INVITE message returned after the AS2 receives the call message SIP INVITE message) is the same.
其中, 用户的呼叫状态迁移为终端_无应答的超时等待时长可以在 后续过滤规则中指定, 例如本实施例中指定为 20000毫秒, 也可以在程 序预先设置, 或采取其它方式进行设置。 The timeout period of the user's call state transition to the terminal_non-answering may be specified in the subsequent filtering rule. For example, it is specified as 20000 milliseconds in this embodiment, or may be preset in the program, or may be set in other manners.
至此, 结束本实施例业务控制单元处理方法。 So far, the processing method of the service control unit of this embodiment is ended.
由上述实施例可见,本实施例预先根据被调用应用服务器 AS2在业 务执行过程中可能出现的处理情况,在业务过滤规则二中设置与 AS2相 对应的后续过滤规则; 然后, 根据业务触发消息 INVITE执行业务过滤 规则二,得到与 AS2相对应的后续过滤规则;在此后的业务执行过程中, 根据所确定的后续过滤规则, 处理 AS2, 从而实现了根据需要调整被调 用业务控制单元的信令路径, 解决了业务交互及沖突问题。 It can be seen from the foregoing embodiment that the present embodiment sets a subsequent filtering rule corresponding to AS2 in the service filtering rule 2 according to the processing situation that may occur in the service execution process of the invoked application server AS2. Then, according to the service trigger message INVITE The service filtering rule 2 is executed to obtain the subsequent filtering rule corresponding to the AS2. In the subsequent service execution process, the AS2 is processed according to the determined subsequent filtering rule, thereby implementing the signaling path of the called service control unit according to the need. , solve business interaction and conflict issues.
在上述实施例中, 给出了被调用业务控制单元在同一个通信过程中 被调整的示例, 即所描述的初始调用和后续触发条件是当用户处于同一 个通信过程中的情况下, 对被调用业务控制单元的相关处理。 在实际应 用中, 被调用业务控制单元的初始调用和后续触发条件所描述的处理也 可以是用户在不同通信过程中的相关处理, 例如, 被调用业务控制单元 已经处于一个通信过程中, 当用户发起或收到另一个通信时, 将引起被 调用业务控制单元的调整, 在下面的实施例三中将对这些情况下如何实
施本发明进行介绍。 In the above embodiment, an example is given in which the called service control unit is adjusted in the same communication process, that is, the initial call and the subsequent trigger condition described are that when the user is in the same communication process, the pair is Call the relevant processing of the business control unit. In practical applications, the processing described by the initial call and subsequent trigger conditions of the called service control unit may also be related processing of the user in different communication processes. For example, the called service control unit is already in a communication process, when the user When another communication is initiated or received, it will cause the adjustment of the called service control unit. In the following third embodiment, how will these cases be implemented? The invention is described.
实施例三: Embodiment 3:
本实施例中, 假设收到一个 SIP INVITEl 消息, 调用了 IP 电视 ( IPTV ) AS, 向用户提供 IPTV服务; 其后, 当用户收到一个呼入来话 SIP INVITE2消息时, IPTV AS应暂停向用户播放视频流媒体, 以便用 户能够接受该新呼入来话, 并与新呼入来话的主叫方建立通话; 此后, 当该新呼入来话被释放时, IPTV AS应恢复向用户播放视频流媒体。 因 此, 在本实施例中存在两个通信过程, 一个是用户与 IPTV之间的通信, 另一个是用户与新呼入来话主叫方之间的通信。 In this embodiment, it is assumed that a SIP INVITE1 message is received, an IP television (IPTV) AS is invoked, and an IPTV service is provided to the user. Thereafter, when the user receives an incoming SIP INVITE2 message, the IPTV AS should pause. The user plays the video streaming media so that the user can accept the incoming incoming call and establish a call with the calling party that newly incoming the incoming call; thereafter, when the incoming incoming call is released, the IPTV AS should resume the call to the user. Play video streaming. Therefore, there are two communication processes in this embodiment, one is communication between the user and the IPTV, and the other is communication between the user and the incoming caller of the new incoming call.
为了在用户收到一个新呼入来话时, 实现 IPTV AS暂停服务, 并在 新呼入来话被释放时实现 IPTV AS 恢复服务, 本实施例预先在针对 INVITEl 消息的业务过滤规则中设置与 IPTV AS相对应的后续过滤规 则, 本实施例所设置的 IPTV AS相关的后续过滤规则片断如下: In order to implement the IPTV AS suspension service when the user receives a new incoming call, and implement the IPTV AS recovery service when the new incoming call is released, the embodiment sets the interaction in the service filtering rule for the INVITE1 message. Subsequent filtering rules corresponding to the IPTV AS, the subsequent filtering rule fragments related to the IPTV AS set in this embodiment are as follows:
<SubsequentFilterCriteria> <SubsequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageToApplicationServer> <SubsequentMessageToApplicationServer>
<MessageName>INVITE</MessageName> <MessageName>INVITE</MessageName>
</SubsequentMessageToApplicationServer> </SubsequentMessageToApplicationServer>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>SendingMessage</Mode> <Mode>SendingMessage</Mode>
<MessageName>SameWithSubsequentMessage</MessageName> <MessageName>SameWithSubsequentMessage</MessageName>
<Destination>ApplicationServer</Destionation> <Destination>ApplicationServer</Destionation>
</SubsequentHandlingModex/SubsequentFilterCriteria>
为描述方便, 在本实施例中将上述后续过滤规则片断称为后续过滤 规则三。 以下对本实施例中业务控制单元处理方法的说明, 也着重描述 与该后续过滤规则片断相关的部分。 </SubsequentHandlingModex/SubsequentFilterCriteria> For convenience of description, the above-mentioned subsequent filtering rule segment is referred to as a subsequent filtering rule three in this embodiment. The following description of the processing method of the service control unit in this embodiment also focuses on the part related to the subsequent filtering rule segment.
本实施例中业务控制单元处理方法的流程示意图与实施例一中图 2 相同, 请参见图 2。 本实施例中, 业务控制单元处理方法包括以下步骤: 在步骤 201中, 根据业务触发消息 INVITE1 , 执行业务过滤规则, 确定被调用应用服务器及其相对应的后续过滤规则。 The flowchart of the service control unit processing method in this embodiment is the same as that in FIG. 2 in the first embodiment, and FIG. 2 is shown. In this embodiment, the service control unit processing method includes the following steps: In step 201, according to the service trigger message INVITE1, the service filtering rule is executed, and the called application server and its corresponding subsequent filtering rule are determined.
本步骤中根据业务触发消息 INVITE1执行业务过滤规则之后,得到 与 IPTV AS相对应的后续过滤规则, 如后续过滤规则三所示: After the service filtering rule is executed according to the service trigger message INVITE1, the subsequent filtering rules corresponding to the IPTV AS are obtained, as shown in the following filtering rule three:
其中 , <SubsequentTriggerPoint〉"^ </SubsequentTriggerPoint> -^.间的 内容表示: 针对新呼入来话的后续触发条件是发向 IPTV AS的后续消息 ( SubsequentMessageToApplicationServer )。 MessageName设置为 INVITE 消息, 即后续消息是一个发向 IPTV AS的新的 SIP初始请求消息; 后续 处理方式( SubsequentHandlingMode )中, Mode设置为 SendingMessage, MessageName设置为 SameWithSubsequentMessage, 表示后续处理方式 为发送后续触发条件中的后续消息(即新呼入来话的 INVITE消息), 因 此这里不需要再设定消息名称, 该消息的 Destination 设置为 ApplicationServer, 表示该消息的发送目的地是 IPTV AS。 The content of <SubsequentTriggerPoint>"^ </SubsequentTriggerPoint> -^. indicates that the subsequent trigger condition for the new incoming call is the subsequent message to the IPTV AS (SubsequentMessageToApplicationServer). The MessageName is set to the INVITE message, that is, the subsequent message. It is a new SIP initial request message sent to the IPTV AS. In the subsequent processing mode (SubsequentHandlingMode), the Mode is set to SendendingMessage, and the MessageName is set to SameWithSubsequentMessage, indicating that the subsequent processing mode is to send subsequent messages in the subsequent trigger condition (ie, new incoming call) Incoming INVITE message), so there is no need to set the message name here. The Destination of the message is set to ApplicationServer, indicating that the message is sent to the IPTV AS.
在步骤 202中, 记录步骤 201所得到的 IPTV AS的后续过滤规则、 并初始调用 IPTV AS。 In step 202, the subsequent filtering rules of the IPTV AS obtained in step 201 are recorded, and the IPTV AS is initially invoked.
在步骤 203中, 根据业务执行过程中所接收到的后续消息、 当前呼 叫状态以及业务控制单元的调用失败, 对照所记录的后续过滤规则, 判 断后续触发条件是否满足, 当后续触发条件满足时, 使用后续过滤规则 中相应的后续处理方式处理当前通信。 In step 203, according to the subsequent message received during the execution of the service, the current call state, and the call failure of the service control unit, it is determined whether the subsequent trigger condition is satisfied according to the recorded subsequent filtering rule. When the subsequent trigger condition is met, The current communication is processed using the corresponding subsequent processing in the subsequent filtering rules.
本步骤中, 当收到新呼入来话 INVITE2消息时,根据所确定的后续
过滤规则,向 IPTV AS发送该 INVITE2消息; IPTV AS收到该 INVITE2 消息,解析之后确定这是一个新的用于建立通话的呼入来话,则 IPTV AS 暂停对用户的服务; 此后, 新呼入来话被释放, 由于 IPTV AS已经在 INVITE2消息建立的信令路径中, 它将收到对 INVITE2消息的 BYE释 放消息, 解析之后确定这是对新呼入来话的释放, 则 IPTV AS恢复对用 户的服务。 In this step, when a new incoming call INVITE2 message is received, according to the determined follow-up Filtering the rule, sending the INVITE2 message to the IPTV AS; the IPTV AS receives the INVITE2 message, and after determining that it is a new incoming call for establishing a call, the IPTV AS suspends the service to the user; thereafter, the new call The incoming call is released. Since the IPTV AS is already in the signaling path established by the INVITE2 message, it will receive the BYE release message for the INVITE2 message. After parsing, it is determined that this is the release of the incoming call, and the IPTV AS is restored. Service to users.
至此, 结束本实施例业务控制单元处理方法。 So far, the processing method of the service control unit of this embodiment is ended.
本实施例中, 也可以按照如下方式设置后续过滤规则: In this embodiment, subsequent filtering rules may also be set as follows:
预先在业务过滤规则中设置对 IPTV AS的后续触发条件和后续处理 方式。其中,针对后续触发条件 INVITE2消息的后续处理方式是向 IPTV AS发送一个新的 INVITE3消息, 并指定该 INVITE3消息的内容为: 将 INVITE1 消息建立会话的媒体方向设置为"去激活 (inactive ) ", 即该 INVITE3消息是一个 re-INVITE消息( re-INVITEl )。相应的,对 INVITE2 消息的释放 BYE 消息, 也将其设置为一个后续触发条件, 对应的后续 处理方式是向 IPTV AS发送一个 INVITE4消息,该消息也是 re-INVITEl 消息, 其媒体方向设置为"激活 (active ),,。 并将上述 INVITE3 消息和 INVITE4消息的 Origination设置为 SameDialogWith InvokingMessage, 表示 INVITE3和 INVITE4与调用消息, 即业务触发消息 INVITE1位于 同一对话中, 即与 INVITE1具有相同的对话( Dialog )标识。 The subsequent trigger conditions and subsequent processing modes for the IPTV AS are set in the service filtering rule in advance. The subsequent processing manner for the subsequent trigger condition INVITE2 message is to send a new INVITE3 message to the IPTV AS, and specify the content of the INVITE3 message as: Set the media direction of the INVITE1 message establishment session to "inactive". That is, the INVITE3 message is a re-INVITE message (re-INVITE1). Correspondingly, the release of the BYE message to the INVITE2 message is also set to a subsequent trigger condition. The corresponding subsequent processing mode is to send an INVITE4 message to the IPTV AS, and the message is also a re-INVITE1 message whose media direction is set to "active". (active ),, and set the Originaltion of the above INVITE3 message and INVITE4 message to SameDialogWith InvokingMessage, indicating that INVITE3 and INVITE4 are in the same conversation with the invocation message, that is, the service trigger message INVITE1, that is, the same dialog (Dialog) identifier as INVITE1. .
然后,根据业务触发消息 INVITE1执行业务过滤规则,得到与 IPTV AS相对应的后续过滤规则。 Then, the service filtering rule is executed according to the service trigger message INVITE1, and subsequent filtering rules corresponding to the IPTV AS are obtained.
此后在业务执行过程中, 当收到 INVITE2消息时,根据所确定的后 续过滤规则,向 IPTV AS发送 INVITE3消息。 IPTV AS收到该 INVITE3 消息,将 INVITE1消息建立会话的媒体方向设置为去激活, 即不向用户 发送媒体。 当新呼入来话被释放时, 即收到 BYE消息时, 向 IPTV AS
发送 INVITE4消息,将 INVITE1消息建立会话的媒体方向设置为激活, IPTVAS恢复服务。 Thereafter, during the service execution process, when the INVITE2 message is received, the INVITE3 message is sent to the IPTV AS according to the determined subsequent filtering rule. The IPTV AS receives the INVITE3 message, and sets the media direction of the INVITE1 message establishment session to deactivate, that is, does not send media to the user. When the new incoming call is released, that is, when the BYE message is received, to the IPTV AS The INVITE4 message is sent, the media direction of the INVITE1 message establishing session is set to be activated, and the IPTVAS resumes service.
以上是对本发明实施例三的说明, 下面通过实施例四来说明后续处 理方式为通信继续的具体实施方法。 The above is the description of the third embodiment of the present invention. The following describes the specific implementation method of the subsequent processing mode as the communication continues by the fourth embodiment.
实施例四: Embodiment 4:
本实施例中, 假设用户发起一个 INVITE消息, 并在 INVITE消息 的要求头域(Require ) 中描述了协议扩展或者在 INVITE消息体中描述 了某种媒体类型, 执行业务过滤规则之后, 调用了一个提供彩铃业务的 彩铃业务 AS; 当被调用彩铃业务 AS不支持 Require头域所描述的协议 In this embodiment, it is assumed that the user initiates an INVITE message, and the protocol extension is described in the request header field (Require) of the INVITE message or a certain media type is described in the INVITE message body. After the service filtering rule is executed, one is invoked. The ring back tone service AS of the CRBT service is provided; when the called CRBT service AS does not support the protocol described by the Require header field
务 AS不支持消息体中所描述的媒体类型时将返回 415不支持的媒体类 型响应码( Unsupported Media Type )。 本实施例中假设在调用彩铃业务 AS之后还有针对应用服务器 AS4的业务过滤规则,按照现有技术, AS4 只会在 SIP初始请求时被调用, 当彩铃业务 AS返回 420响应码或 415 响应码时, AS4将不会被调用, 即 AS4将无法加入到用户的呼叫信令路 径中。 但是, 由于彩铃业务不是呼叫建立过程中的必须业务, 用户希望 在彩铃业务不能正常提供的情况下, 后续业务依然能够正常提供, 以提 高呼叫接续成功率。 When the AS does not support the media type described in the message body, it will return an Unsupported Media Type that is not supported by 415. In this embodiment, it is assumed that after the CRBT service AS is invoked, there is also a service filtering rule for the application server AS4. According to the prior art, AS4 is only called when the SIP initial request is received, and when the CRBT service AS returns a 420 response code or a 415 response code. When AS4 will not be called, AS4 will not be able to join the call signaling path of the user. However, since the CRBT service is not a necessary service in the call setup process, the user hopes that the CRBT service can still be provided normally, so that the call success rate can be improved.
为了实现在彩铃业务 AS不能正常提供业务的情况下, AS4能够被 正常调用, 本实施例预先在业务过滤规则中设置如下所示的后续过滤规 则: In order to realize that the AS4 can be normally called when the CRBT service AS cannot provide services normally, this embodiment presets the following filtering rules in the service filtering rule as follows:
<Sub sequentFilterCriteria> <Sub sequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageFromApplicationServer> <SubsequentMessageFromApplicationServer>
<Mes sageName>420</Mes sageNamo
<MessageName>415 </Mes sageNamo <Mes sageName>420</Mes sageNamo <MessageName>415 </Mes sageNamo
</SubsequentMessageFromApplicationServer> </SubsequentMessageFromApplicationServer>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>CallContinued</Mode> <Mode>CallContinued</Mode>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> 上述后续过滤规则中, 后续触发条件设置为后续消息。 Subsequent MessageFromApplicationServer表示该后续消息来自被调用业务控制单 元返回的消息。 后续消息的名称是 420消息和 415消息。 如前所述, 这 里也可以将后续触发条件设置为后续消息 SubsequentMessage,而通过标 签 Origination设置该后续消息的来源信息; 并且, 这里提供了两个后续 触发条件 ( 420消息和 415消息), 表示这些后续消息具有相同的后续处 理方式, 如前所述, 这两个后续触发条件的组合关系缺省为"或"; </SubsequentFilterCriteria> In the above subsequent filtering rules, the subsequent trigger condition is set to follow-up messages. Subsequent MessageFromApplicationServer indicates that the subsequent message is from the message returned by the called service control unit. The names of subsequent messages are 420 messages and 415 messages. As mentioned before, the subsequent trigger condition can also be set to the subsequent message SubsequentMessage, and the source information of the subsequent message is set by the label Origination; and, here, two subsequent trigger conditions (420 messages and 415 messages) are provided, indicating these Subsequent messages have the same subsequent processing mode. As mentioned above, the combination of these two subsequent trigger conditions defaults to "or";
后续处理方式 SubsequentHandlingMode 中 , Mode 设置为 CallContinued , 表示通信继续。 Subsequent processing SubsequentHandlingMode , Mode is set to CallContinued , indicating communication continues.
如此, 在业务执行过程中, 当后续触发条件满足时, AS4的业务过 滤规则将被执行, AS4将加入到用户的呼叫信令路径中, 实现了对业务 控制单元的信令路径的调整, 解决了业务交互和沖突问题, 并提高了呼 叫建立效率。 In this way, during the service execution process, when the subsequent triggering conditions are met, the service filtering rule of AS4 will be executed, and AS4 will be added to the call signaling path of the user, thereby realizing the adjustment of the signaling path of the service control unit. Business interaction and conflict issues, and improved call setup efficiency.
通常, 可以使用彩铃业务 AS的业务触发消息 INVITE来执行 AS4 的业务过滤规则, 当然也可以在此进一步指定后续业务过滤规则的执行 依据。 比如在后续处理方式中使用 "发送消息,,和"通信继续"的组合, "发 送消息 "设置为向"被调用业务控制单元的后向 "发送调用彩铃业务 AS的 SIP初始请求消息。
在上面的实施例四中, 以后续触发条件是后续消息、 后续处理方式 是通信继续为例, 对本发明的具体实施方式进行了详细说明, 下面的实 施例五中对后续触发条件是后续消息、 后续处理方式是停止执行业务过 滤规则的情况进行详细说明。 Generally, the service triggering message INVITE of the color ring service AS can be used to perform the service filtering rule of the AS4. Of course, the execution basis of the subsequent service filtering rule can be further specified here. For example, in the subsequent processing mode, a combination of "send message," and "communicate continuation" is used, and "send message" is set to send a SIP initial request message for calling the CRBT service AS to the "backward of the called service control unit". In the above fourth embodiment, the specific implementation manner of the present invention is described in detail in the following example, in which the subsequent triggering condition is a subsequent message, and the subsequent processing mode is the continuation of the communication. The subsequent processing method is a detailed description of the case where the execution of the service filtering rule is stopped.
实施例五: Embodiment 5:
本实施例中, 假设用户发起一个 INVITE消息, 执行业务过滤规则 之后, 调用了应用服务器 AS5; AS5检测到该呼叫是一个紧急呼叫, 因 此在返回的 INVITE消息中设置紧急标志; 在遇到紧急呼叫时, 应停止 使用其他业务, 并继续向被叫路由该呼叫。 为此, 本实施例预先在业务 过滤规则中设置如下所示的后续过滤规则: In this embodiment, it is assumed that the user initiates an INVITE message, and after executing the service filtering rule, the application server AS5 is invoked; AS5 detects that the call is an emergency call, so an emergency flag is set in the returned INVITE message; When you stop using other services, continue to route the call to the called party. To this end, the embodiment sets a subsequent filtering rule as shown in the following in the service filtering rule:
<Sub sequentFilterCriteria> <Sub sequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageFromApplicationServer> <SubsequentMessageFromApplicationServer>
<MessageName>INVITE</MessageName> <MessageName>INVITE</MessageName>
<SIPHeader> <SIPHeader>
<Header>Priority</Header> <Header>Priority</Header>
<Content>urgent</ Content> <Content>urgent</ Content>
</SIPHeader> </SIPHeader>
</SubsequentMessageFromApplicationServer> </SubsequentMessageFromApplicationServer>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>StopNextFilterCriteria</Mode> <Mode>StopNextFilterCriteria</Mode>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> 上述后续过滤规则中, 后续触发条件设置为后续消息。 Subsequent MessageFromApplicationServer表示该后续消息来自被调用业务控制单
元返回的消息, 后续消息的名称是 INVITE消息; Header设置为 Priority 头域, Content设置为紧急 (urgent ), 表示这是一个紧急呼叫。 </SubsequentFilterCriteria> In the above subsequent filtering rules, the subsequent trigger condition is set to follow-up messages. Subsequent MessageFromApplicationServer indicates that the subsequent message comes from the called service control list. The message returned by the element, the name of the subsequent message is the INVITE message; the Header is set to the Priority header field, and the Content is set to urgent, indicating that this is an emergency call.
后续处理方式 SubsequentHandlingMode 中 , Mode 设置为 StopNextFilter Criteria, 表示停止执行业务过滤规则。 Subsequent processing SubsequentHandlingMode , Mode is set to StopNextFilter Criteria, which means that the business filtering rule is stopped.
这样, 在业务执行过程中, 当后续触发条件满足时, 如果 AS5的业 务过滤规则之后还存在后续业务过滤规则, 将停止执行后续业务过滤规 则, 即: 将后续业务过滤规则对应的业务控制单元排除在用户的呼叫信 令路径之外, 并继续向被叫路由该呼叫。 如此, 实现了对业务控制单元 的信令路径的调整, 解决了紧急业务与其他业务的沖突, 并提高了呼叫 建立效率、 缩短了呼叫接续时间。 In this way, during the service execution process, if the subsequent triggering conditions are met, if the subsequent service filtering rule exists after the service filtering rule of the AS5, the subsequent service filtering rule will be stopped, that is, the service control unit corresponding to the subsequent service filtering rule is excluded. Outside the user's call signalling path, and continue to route the call to the called party. In this way, the adjustment of the signaling path of the service control unit is realized, the conflict between the emergency service and other services is solved, the call establishment efficiency is improved, and the call connection time is shortened.
以上通过实施例五介绍了后续触发条件是后续消息、 后续处理方式 是停止执行后续业务过滤的本发明具体实施方式, 下面通过实施例六说 明如何在业务控制单元调用失败时, 按照实际需要实施调用新的业务控 制单元这一后续处理方式。 The following describes the specific implementation manner of the present invention, in which the subsequent triggering condition is a follow-up message, and the subsequent processing mode is to stop performing subsequent service filtering. The following describes how to implement the call according to actual needs when the service control unit fails to be invoked. The new business control unit is a follow-up treatment.
实施例六: Example 6:
本实施例中, 假设用户发起一个 INVITE消息, 执行业务过滤规则 之后, 调用了应用服务器 AS6; 而 AS6当前状态为"忙", 无法处理业务 逻辑控制, 因此, 返回 486 此处忙响应码 ( Busy Here ), 此时应调用遇 忙呼叫前转(Call Forwarding Busy, CFB ) AS。 为了实现根据实际需要 调用 CFB AS, 本实施例在业务过滤规则中设置的后续过滤规则如下所 示: In this embodiment, it is assumed that the user initiates an INVITE message, and after executing the service filtering rule, the application server AS6 is invoked; and the current state of the AS6 is "busy", and the service logic control cannot be processed. Therefore, the busy response code (Busy) is returned 486. Here ), Call Forwarding Busy (CFB) AS should be called at this time. In order to implement the CFB AS according to actual needs, the subsequent filtering rules set in the service filtering rule in this embodiment are as follows:
<Sub sequentFilterCriteria> <Sub sequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageFromApplicationServer> <SubsequentMessageFromApplicationServer>
<MessageName>486</MessageName>
</SubsequentMessageFromApplicationServer> <MessageName>486</MessageName> </SubsequentMessageFromApplicationServer>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>InvokingNewApplicationServer</Mode> <Mode>InvokingNewApplicationServer</Mode>
<ServerName>sip:cfb-as@ims.example.com</ServerName> <ServerName>sip:cfb-as@ims.example.com</ServerName>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> 上述后续过滤规则中,后续触发条件中后续消息的名称是 486消息。 后续处理方式中, Mode设置为 InvokingNewApplicationServer, 表 示调用新的业务控制单元, 并在 ServerName 中设置新业务控制单元的 名称。例如,本实施例中设置为 sip:cfb-as@ims.example.com, 即 CFB AS 的地址。 </SubsequentFilterCriteria> In the above subsequent filtering rules, the name of the subsequent message in the subsequent trigger condition is 486 message. In the subsequent processing mode, Mode is set to InvokingNewApplicationServer, which means that the new service control unit is called, and the name of the new service control unit is set in ServerName. For example, in this embodiment, it is set to sip:cfb-as@ims.example.com, which is the address of the CFB AS.
如此,在业务执行过程中,当后续触发条件满足时,呼叫将发向 CFB AS 的地址, 即只有在业务控制单元的触发条件满足时, 才调用该业务 控制单元, 实现了根据实际需要调用业务控制单元, 解决了业务交互和 沖突问题, 并提高了呼叫建立效率、 缩短了呼叫接续时间。 In this way, during the service execution process, when the subsequent trigger condition is met, the call will be sent to the address of the CFB AS, that is, the service control unit is called only when the trigger condition of the service control unit is satisfied, and the service is invoked according to actual needs. The control unit solves the problem of business interaction and conflict, and improves call setup efficiency and shortens call connection time.
通常, 可以使用 AS6的业务触发消息 INVITE来调用 CFB AS, 当 然也可以在此进一步指定发向新的业务控制单元的调用消息。 例如, 在 后续处理方式中使用 "发送消息"和"通信继续"的组合, "发送消息"设置 为向"被调用业务控制单元的后向 "发送调用 AS6的 SIP初始请求消息。 In general, the CFB AS can be invoked using AS6's Service Trigger Message INVITE, although the call message to the new Service Control Unit can be further specified here. For example, in the subsequent processing mode, a combination of "send message" and "communicate continuation" is used, and "send message" is set to send a SIP initial request message calling AS6 to "backward of the called service control unit".
至此, 结束对本发明实施例六中业务控制单元处理方法的说明。 在上述实施例中, 已经指出, 本发明允许在 <SubsequentHandling ^10(16〉和</81^691161«1½11(1111¾^10(16〉间设置一个以上的后续处理方式, 下面的实施例七将具体描述如何使用组合的后续处理方式。
实施例七: So far, the description of the processing method of the service control unit in the sixth embodiment of the present invention is completed. In the above embodiment, it has been pointed out that the present invention allows one or more subsequent processing modes to be set between <SubsequentHandling ^10(16> and </81^691161«11⁄211(11113⁄4^10(16>, the following seventh embodiment will Describe in detail how to use the combined subsequent processing. Example 7:
本实施例中, 4叚设用户发起一个订阅(SUBSCRIBE )消息, 订阅用 户数据的变化通知, 即当网络中的用户数据发生变化时通知用户。 上述 的彩铃业务 AS和 CFB AS都存储有用户数据, 因此该 SUBSCRIBE消 息需要发给彩铃业务 AS和 CFB AS。 根据业务过滤规则, 彩铃业务 AS 被首先调用, 收到该 SUBSCRIBE消息后, 处理用户订阅成功, 返回订 阅成功消息 200消息, 此时需要继续使用该 SUBSCRIBE消息调用 CFB AS , 同时向用户返回该 200消息, 为实现根据实际需要调用 CFB AS, 本实施例中设置针对彩铃业务 AS的业务过滤规则, 如下所示: In this embodiment, the user initiates a SUBSCRIBE message to subscribe to the change notification of the user data, that is, notify the user when the user data in the network changes. The above-mentioned CRBT service AS and CFB AS both store user data, so the SUBSCRIBE message needs to be sent to the CRBT service AS and CFB AS. According to the service filtering rule, the CRBT service AS is first invoked. After receiving the SUBSCRIBE message, the processing user subscription is successful, and the subscription success message 200 message is returned. At this time, the SUBSCRIBE message needs to be used to call the CFB AS, and the 200 message is returned to the user. In this embodiment, the service filtering rule for the color ring back tone service AS is set in the embodiment to enable the CFB AS to be invoked according to actual needs, as follows:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>SUBSCRIBE</Method> <Method>SUBSCRIBE</Method>
</SPT> </SPT>
</TriggerPoint > </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>sip:colored-ring-as@ims.example.com</ServerName> <SubsequentFilterCriteria> <ServerName>sip:colored-ring-as@ims.example.com</ServerName> <SubsequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageFromApplicationServer> <SubsequentMessageFromApplicationServer>
<MessageName>AllMessage</MessageName> <MessageName>AllMessage</MessageName>
</SubsequentMessageFromApplicationServer> </SubsequentTriggerPoint> </SubsequentMessageFromApplicationServer> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>SendingMessage</Mode> <Mode>SendingMessage</Mode>
<MessageName>SameWithSubsequentMessage</MessageName> <Destination>Front_ApplicationServer</Destionation> <Mode>SendingMessage</Mode>
<MessageName>SameWithInvokingMessage</MessageName> <Destination>Back_ApplicationServer</Destionation> <MessageName>SameWithSubsequentMessage</MessageName><Destination>Front_ApplicationServer</Destionation><Mode>SendingMessage</Mode> <MessageName>SameWithInvokingMessage</MessageName><Destination>Back_ApplicationServer</Destionation>
<Mode>InvokingNewApplicationServer</Mode> <Mode>InvokingNewApplicationServer</Mode>
<ApplicationServerID> 10</ApplicationServerFilterID> </SubsequentHandlingMode> <ApplicationServerID> 10</ApplicationServerFilterID> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> 在上述业务过滤规则中, < 886 01111〉与 </1¾886 01111〉之间的内 容为触发点信息, 本实施例中业务过滤规则的触发条件是取值为 SUBSCRIBE的方法(Method )业务点触发器(SPT ), 对应的, 被调用 应用 服务器名 ( ServerName ) 取值为 sip:colored -ring-as @ims. example.com , 即彩铃业务 AS的调用地址。 </ApplicationServer> In the foregoing service filtering rule, the content between <886 01111> and </13⁄4886 01111> is the trigger point information, and the trigger condition of the service filtering rule in this embodiment is the method (Method) with the value of SUBSCRIBE. The service point trigger (SPT), correspondingly, the called application server name ( ServerName ) takes the value sip:colored -ring-as @ims. example.com , which is the call address of the CRBT service AS.
在该彩铃业务 AS对应的后续过滤规则中, 作为后续触发条件的后 续消息的名称是 AllMessage, 表示后续触发条件是所有从被调用业务控 制单元返回的消息。 In the subsequent filtering rule corresponding to the CRBT service AS, the name of the subsequent message as the subsequent trigger condition is AllMessage, indicating that the subsequent trigger condition is all messages returned from the called service control unit.
/^<SubsequentHandlingMode>^</SubsequentHandlingMode> -^.间 , 设置了三种后续处理方式: /^<SubsequentHandlingMode>^</SubsequentHandlingMode> -^., three post-processing methods are set:
方式一是 Mode设置为 SendingMessage, 发送消息的名称为 Same WithSubsequentMessage , 即: 后续触发条件的后续消息, 也就是彩铃业 务 AS被调用后返回的消息。目的地 Destination设置为 Front—Application Server, 表示向被调用业务控制单元的前向发送。 The first mode is that Mode is set to SendingMessage, and the name of the sent message is Same WithSubsequentMessage, that is, the subsequent message of the subsequent trigger condition, that is, the message returned by the ring back tone service AS after being called. The destination Destination is set to Front-Application Server, indicating forward delivery to the called service control unit.
方式二也是 Mode设置为 SendingMessage,发送消息的名称为 Same WithlnvokingMessage, 即: 彩铃业务 AS 被调用的 SIP初始请求消息 ( SUBSCRIBE消息), 发送目的地 Destination设置为 Back_Application Server, 表示向被调用业务控制单元的后向发送。
方式三是 Mode设置为 InvokingNewApplicationServer, 表示调用新 的业务控制单元。 在实施例六中, 通过设置新业务控制单元的名称来表 示调用新的业务控制单元这一后续处理方式的实施, 在本实施例中, 提 供了另外一种调用新的业务控制单元的实施方式: 设置新业务控制单元 本身所对应的业务过滤规则标识。 ApplicationServerFilterlD表示该新业 务控制单元本身对应所对应的业务过滤规则标识, 即设置该新业务控制 单元(CFB AS )对应所对应的业务过滤规则标识为 10, —般的, 以 iFC 为例, 业务过滤规则标识可以就是 iFC的优先级。 In the second mode, Mode is set to SendingMessage, and the name of the sent message is Same WithlnvokingMessage, that is, the CR initial request message (SUBSCRIBE message) is called by the CRBT service AS, and the destination destination is set to Back_Application Server, indicating to the called service control unit. Send backwards. The third mode is that Mode is set to InvokingNewApplicationServer, which means that the new service control unit is called. In the sixth embodiment, the implementation of the subsequent processing mode of invoking the new service control unit is indicated by setting the name of the new service control unit. In this embodiment, another implementation manner of invoking the new service control unit is provided. : Set the service filtering rule identifier corresponding to the new service control unit itself. The application server Filter1D indicates that the new service control unit itself corresponds to the corresponding service filtering rule identifier, that is, the corresponding service filtering rule identifier corresponding to the new service control unit (CFB AS) is set to 10, and the iFC is taken as an example. The rule ID can be the priority of the iFC.
如此, 首先根据业务过滤规则的执行调用彩铃业务 AS, 在业务执 行过程中, 当后续触发条件满足, 彩铃业务 AS返回一个消息后, 向彩 铃业务 AS的前向发送彩铃业务 AS返回的消息。如果彩铃业务 AS返回 的是表示订阅成功的 200消息,该消息将向其前向发送, 即向用户发送, 然后向彩铃业务 AS 的后向发送彩铃业务 AS 的调用消息, 即 SUBSCRIBE消息,该消息将用来作为优先级为 10的 iFC的业务触发消 息, 即, 将执行 CFB AS对应的业务过滤规则, 即优先级为 10的 iFC。 In this way, the CRBT service AS is first invoked according to the execution of the service filtering rule. In the service execution process, when the subsequent triggering condition is satisfied, the CRBT service AS returns a message, and then sends a message returned by the CRBT service AS to the CR ring service AS. If the CRBT service AS returns a message indicating that the subscription is successful, the message will be forwarded to the user, that is, sent to the user, and then sent to the CRBT service AS in the backward direction of the CRBT service AS, that is, the SUBSCRIBE message, the message The service triggering message to be used as the iFC of the priority level 10, that is, the service filtering rule corresponding to the CFB AS, that is, the iFC with the priority of 10.
本发明所提供的实施例中, 允许使用多个任意组合关系的后续处理 方式, 如可以是"同时执行"、 "顺序执行"的组合关系以及基于这两者的 任意多重组合关系。 在本实施例中, 缺省的, 这三个后续处理方式的组 合关系是"顺序执行"。 这样, 在前一个业务控制单元被调用后返回的不 是 SIP初始请求消息时, 也能根据实际需要调用后一个业务控制单元, 解决了业务交互和沖突问题。 In the embodiments provided by the present invention, subsequent processing manners using a plurality of arbitrary combinations are allowed, such as a combination of "simultaneous execution", "sequential execution", and any multiple combination relationship based on the two. In this embodiment, by default, the combination of the three subsequent processing modes is "sequential execution". In this way, when the previous service control unit is called instead of the SIP initial request message, the latter service control unit can be called according to actual needs, thereby solving the business interaction and conflict problem.
至此, 结束对本发明实施例七中业务控制单元处理方法的说明。 在上述实施例中, 给出了在一个业务过滤规则中描述与一个被调用 业务控制单元相关的后续过滤规则的具体实施方式, 即在一个业务过滤 规则中对一个被调用业务控制单元按照后续过滤规则进行处理。 除此之
外, 本发明还支持在一个业务过滤规则中对一个以上被调用业务控制单 元按照后续过滤规则进行处理。 此时, 又分为两种情况, 第一种情况是: 所述一个以上被调用业务控制单元的调用来自一个业务过滤规则, 第二 种情况是: 所述一个以上被调用业务控制单元的调用分别来自一个以上 的业务过滤规则。 So far, the description of the processing method of the service control unit in the seventh embodiment of the present invention is ended. In the above embodiment, a specific implementation manner for describing a subsequent filtering rule related to a called service control unit in a service filtering rule is given, that is, a subsequent filtering is performed on a called service control unit in a service filtering rule. The rules are processed. In addition to this In addition, the present invention also supports processing one or more called service control units in accordance with subsequent filtering rules in one service filtering rule. At this time, there are two cases. The first case is: the call of the one or more called service control units comes from a service filter rule, and the second case is: the call of the one or more called service control units From more than one business filter rule.
下面的实施例八中将对上述第一种情况下如何实施本发明进行介 In the following embodiment 8, how to implement the present invention in the first case above will be introduced.
4刀 4 knife
实施例八: Example 8:
本实施例中,假设业务过滤规则被执行后调用 IMS应用服务器 AS1 和 AS2, 其后, 在 AS1和 AS2都调用失败时, 通信释放, 而当 AS1和 AS2中只有一个调用失败时,通信继续。 本实施例预先针对 AS1和 AS2 设置了如下所示的业务过滤规则: In this embodiment, it is assumed that the service filtering rule is executed and the IMS application servers AS1 and AS2 are called. Thereafter, when both AS1 and AS2 fail to call, the communication is released, and when only one of the AS1 and AS2 calls fails, the communication continues. In this embodiment, the service filtering rules shown below are set in advance for AS1 and AS2:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>INVITE</Method> <Method>INVITE</Method>
</SPT> </SPT>
</TriggerPoint > </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>sip:asl @ims.example.com</ServerName> <ServerName>sip:asl @ims.example.com</ServerName>
<ServerName>sip:as2@ims.example.com</ServerName> <ServerName>sip:as2@ims.example.com</ServerName>
<Sub sequentFilterCriteria> <Sub sequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<InvokingFailure> <InvokingFailure>
<ConditionTypeCNF> 1 </ConditionTypeCNF> <ConditionTypeCNF> 1 </ConditionTypeCNF>
<Source> sip: as 1 @ ims.example.com </Source> <Source> sip: as 1 @ ims.example.com </Source>
<Source> sip: as2@ims.example.com </Source>
</InvokingFailure> <Source> sip: as2@ims.example.com </Source> </InvokingFailure>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>CallRelease</Mode> <Mode>CallRelease</Mode>
</SubsequentHandlingMode> </SubsequentHandlingMode>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<InvokingFailure> <InvokingFailure>
<ConditionTypeCNF>0</ConditionTypeCNF> <ConditionTypeCNF>0</ConditionTypeCNF>
<Source> sip: as 1 @ ims.example.com </Source> <Source> sip: as 1 @ ims.example.com </Source>
<Source> sip: as2@ims.example.com </Source> <Source> sip: as2@ims.example.com </Source>
</InvokingFailure> </InvokingFailure>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>CallContinued</Mode> <Mode>CallContinued</Mode>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> 在上述业务过滤规则中 , < 1 311011860^1 与</ 1 31^011860^1 之间的内容表示被调用应用服务器。 本实施例中, 给出了两个被调用应 用月^务器名 sip: as l @ims.example.com sip: as2@ims.example.com,表示 该业务过滤规则对这两个应用服务器 AS1和 AS2都有效。 业务过滤规 则被执行后, AS1和 AS2将被调用, 一般的, 可以按先后顺序调用 AS1 和 AS2,也可以在业务过滤规则中指明其它的调用方式,如同时调用等。 </ApplicationServer> In the above business filter rule, the content between < 1 311011860^1 and </ 1 31^011860^1 indicates that the application server is called. In this embodiment, two called application server names sip: as l @ims.example.com sip: as2@ims.example.com are given, indicating that the service filtering rule is applied to the two application servers AS1. Both are valid with AS2. After the service filtering rule is executed, AS1 and AS2 will be called. Generally, AS1 and AS2 can be called in order, or other calling methods can be specified in the service filtering rule, such as simultaneous calling.
后续过滤规则中分别描述了两个后续触发条件和对应的后续处理 方式。 Two subsequent trigger conditions and corresponding subsequent processing methods are respectively described in the subsequent filtering rules.
其中, 两个后续触发条件都是业务控制单元调用失败
( InvokingFailure ), /^<InvokingFailure>^</InvokingFailure>-^|s]的内容 是业务控制单元调用失败的描述。 其中, Source表示发生业务控制单元 调用失败的来源,本例中给出了两个来源 AS1和 AS2。 ConditionTypeCNF 表示采用正则表达式的条件组合, 在第一个后续触发条件中取值为 1表 示两个来源 AS1和 AS2的组合类型是 "与 (AND ) ", 即后续触发条件 是 AS1和 AS2调用失败,对应的后续处理方式是通信释放( CallRelease ); 在第二个后续触发条件中, ConditionTypeCNF取值为 0表示两个来源 AS1和 AS2的组合类型是 "或 ( OR ) ", 即后续触发条件是 AS1或 AS2 调用失败, 对应的后续处理方式是通信继续 (CallContinued )。 Where two subsequent trigger conditions are failed by the service control unit call (InvokingFailure), /^<InvokingFailure>^</InvokingFailure>-^|s] is the description of the failure of the service control unit call. Where Source indicates the source of the failure of the service control unit call. In this example, two sources AS1 and AS2 are given. ConditionTypeCNF represents a combination of conditions using a regular expression. A value of 1 in the first subsequent trigger condition indicates that the combination type of the two sources AS1 and AS2 is "AND", that is, the subsequent trigger condition is that the AS1 and AS2 calls fail. The corresponding subsequent processing method is communication release (CallRelease); in the second subsequent trigger condition, ConditionTypeCNF takes a value of 0, indicating that the combination type of the two sources AS1 and AS2 is "OR (OR)", that is, the subsequent trigger condition is The AS1 or AS2 call fails, and the corresponding subsequent processing method is CallContinued.
这样, 在业务执行过程中, 当后续触发条件满足时, 通信释放或通 信继续。 Thus, during the execution of the service, when the subsequent trigger condition is satisfied, the communication release or communication continues.
如前所述, 在本实施例中, 也可以将后续触发条件设为呼叫状态来 表示业务控制单元调用失败,如将呼叫状态名称设为"业务控制单元调用 无响应",还可以在后续触发条件中进一步设置该呼叫状态的超时等待时 长。 As described above, in this embodiment, the subsequent trigger condition may be set to the call state to indicate that the service control unit fails to be called, for example, the call state name is set to “the service control unit invokes no response”, and may also be triggered subsequently. The timeout waiting time for the call state is further set in the condition.
本发明实施例所提供的技术方案, 在描述后续触发条件时, 可以指 明该后续触发条件与哪个业务控制单元相关, 如指明后续消息、 呼叫状 态以及业务控制单元调用失败的源业务控制单元, 比如在本实施例中描 述的业务控制单元调用失败的源业务控制单元。 同样, 在描述后续处理 方式时, 可以指明该后续处理方式与哪个业务控制单元相关, 比如, 在 描述发送消息的来源信息时, 指明其源业务控制单元, 可以指明发送消 息的目的业务控制单元, 也可以指明拒绝消息的目的业务控制单元, 还 可以指明释放业务控制单元的目的业务控制单元, 甚至可以指明调用指 定业务控制单元的目的业务控制单元等。 The technical solution provided by the embodiment of the present invention, when describing the subsequent triggering condition, may indicate which service control unit is associated with the subsequent triggering condition, such as indicating the subsequent message, the call state, and the source service control unit that the service control unit fails to call, for example, The service control unit described in this embodiment calls the failed source service control unit. Similarly, when describing the subsequent processing mode, it may indicate which service control unit is associated with the subsequent processing mode. For example, when describing the source information of the sent message, the source service control unit may be specified, and the destination service control unit that sends the message may be specified. It may also indicate the destination service control unit of the reject message, and may also indicate the destination service control unit that releases the service control unit, and may even indicate the destination service control unit that invokes the specified service control unit.
本发明实施例同样支持上述第二种情况的实施, 即在一个业务过滤
规则中对一个以上被调用业务控制单元进行后续过滤规则处理时, 所述 一个以上被调用业务控制单元的调用分别来自一个以上的业务过滤规 则, 示例: ¾口下: Embodiments of the present invention also support the implementation of the second case described above, that is, in a service filtering When more than one called service control unit performs subsequent filtering rule processing in the rule, the calls of the one or more called service control units are respectively from more than one service filtering rule, for example: 3⁄4:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>INVITE</Method> <Method>INVITE</Method>
</SPT> </SPT>
</TriggerPoint > </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>sip:asl @ims.example.com</ServerName> <ServerName>sip:asl @ims.example.com</ServerName>
<Sub sequentFilterCriteria> <Sub sequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<InvokingFailure> <InvokingFailure>
<ConditionTypeCNF> 1 </ConditionTypeCNF> <ConditionTypeCNF> 1 </ConditionTypeCNF>
<Source> sip: as 1 @ ims.example.com </Source> <Source> sip: as 1 @ ims.example.com </Source>
<Source> sip: as2@ims.example.com </Source> <Source> sip: as2@ims.example.com </Source>
<ApplicationServerID> 10</ApplicationServerFilterID> </InvokingFailure> <ApplicationServerID> 10</ApplicationServerFilterID> </InvokingFailure>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>CallRelease</Mode> <Mode>CallRelease</Mode>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> 在上述业务过滤规则中, 对应的被调用应用服务器只有一个 ASl , 名称是 sip:asl @ims.example.com。在 ASl的后续过滤规则中, 除了 AS1 外, 还有另外一个 AS2, 名称是 sip:as2@ ims. example .com, 对应的
ApplicationServerlD标签设置为 10,表示 AS2本身对应归属的业务过滤 规则标识, 即该业务过滤规则对应调用的应用服务器为 AS2。 这样, 就 实现了在一个业务过滤规则中的后续过滤规则中, 可以描述其它业务过 滤规则对应所调用的业务控制单元的后续过滤规则。 </ApplicationServer> In the above service filtering rule, the corresponding called application server has only one AS1, and the name is sip:asl @ims.example.com. In the subsequent filtering rules of AS1, in addition to AS1, there is another AS2 named sip:as2@ ims. example .com, corresponding The ApplicationServer1D label is set to 10, which indicates that the AS2 itself corresponds to the attribute of the service filtering rule, that is, the application server corresponding to the service filtering rule is AS2. In this way, in the subsequent filtering rules in a service filtering rule, the subsequent filtering rules of the service control unit invoked by other service filtering rules may be described.
这样, 在业务执行过程中, 当 AS1和 AS2都调用失败时, 通信释 放。 In this way, during the execution of the service, when both AS1 and AS2 fail to call, the communication is released.
本发明实施例在一个业务过滤规则中对多个被调用业务控制单元 进行后续过滤处理的方式, 一方面可以筒化对业务过滤规则的描述和执 行; 另一方面, 还可以组合出更多的后续处理应用。 In the embodiment of the present invention, a method for performing subsequent filtering processing on multiple called service control units in a service filtering rule may, on the one hand, describe and execute the description and execution of the service filtering rule; on the other hand, it may also combine more Subsequent processing application.
至此, 结束对本发明实施例八的业务控制单元处理方法的说明。 此外, 需要说明的是, 本发明实施例中, 当后续处理方式为调用指 定业务控制单元或通信继续时, 后续的通信处理都可能是对一个指定的 业务过滤规则的执行, 即该后续处理方式对应的后续触发条件是该指定 的业务过滤规则的触发执行前提。 显然, 此类业务过滤规则是一类特殊 的业务过滤规则, 本发明允许在此类业务过滤规则中设置特殊标识, 使 其只有在特定的后续触发条件满足时, 此类业务过滤规则才会被触发执 行。 比如, 收到一个 SIP初始请求消息, 按顺序执行业务过滤规则, 若 发现某个业务过滤规则中设置有该特殊标识, 则检查对应的后续触发条 件是否满足, 若没有满足, 则不执行该业务过滤规则。 So far, the description of the processing method of the service control unit in the eighth embodiment of the present invention is completed. In addition, it should be noted that, in the embodiment of the present invention, when the subsequent processing mode is to invoke the specified service control unit or the communication continues, the subsequent communication processing may be the execution of a specified service filtering rule, that is, the subsequent processing manner. The corresponding subsequent trigger condition is a trigger execution prerequisite of the specified service filtering rule. Obviously, such a service filtering rule is a special type of service filtering rule. The present invention allows a special identifier to be set in such a service filtering rule so that such a service filtering rule is only used when a specific subsequent triggering condition is met. Trigger execution. For example, if a SIP initial request message is received, the service filtering rule is executed in sequence. If the special identifier is set in a service filtering rule, the corresponding subsequent triggering condition is checked. If not, the service is not executed. Filter rules.
此外, 本发明中还提供了一种方式, 允许将后续触发条件直接设置 在此类业务过滤规则中, 以使其在特定的后续触发条件没有满足时, 此 类业务过滤规则不会被触发执行。 下面的实施例九将对该情况下如何实 施本发明进行详细说明。 In addition, the present invention also provides a way to allow subsequent trigger conditions to be directly set in such service filtering rules so that such service filtering rules are not triggered when certain subsequent triggering conditions are not met. . The following embodiment IX will explain in detail how the invention is implemented in this case.
实施例九: Example 9:
本实施例中, 4叚设 AS1和 AS2有业务交互关系, AS1的业务过滤
规则 1被执行, 向 AS1发送调用消息 INVITE1消息, AS1调用成功; 此后, AS2的业务过滤规则 2被执行, 向 AS2发送调用消息 INVITE2 消息, AS2调用成功。 为了实现 AS1和 AS2的业务交互, AS 1需要感 知 AS2的调用情况, 即需要向 AS1发送调用消息 INVITE2消息, AS1 的业务过滤规则 3的示例如下: In this embodiment, there are service interactions between AS1 and AS2, and service filtering of AS1. Rule 1 is executed, and the call message INVITE1 message is sent to AS1, and the AS1 call succeeds; thereafter, the service filter rule 2 of AS2 is executed, and the call message INVITE2 message is sent to AS2, and the AS2 call is successful. In order to implement the service interaction between AS1 and AS2, AS 1 needs to be aware of the call of AS2. That is, the call message INVITE2 message needs to be sent to AS1. The example of service filter rule 3 of AS1 is as follows:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>INVITE</Method> <Method>INVITE</Method>
</SPT> </SPT>
<SPT> <SPT>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<InvokingSuccess> <InvokingSuccess>
<ConditionTypeCNF> 1 </ConditionTypeCNF> <ConditionTypeCNF> 1 </ConditionTypeCNF>
<Source> sip: as 1 @ ims.example.com </Source> <Source> sip: as 1 @ ims.example.com </Source>
<ApplicationServerID> 10</ApplicationServerFilterID> <Source> sip: as2@ims.example.com </Source> <ApplicationServerID> 10</ApplicationServerFilterID> <Source> sip: as2@ims.example.com </Source>
<ApplicationServerID>20</ApplicationServerFilterID> </InvokingSuccess> <ApplicationServerID>20</ApplicationServerFilterID> </InvokingSuccess>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
</SPT> </SPT>
</TriggerPoint > </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>sip:asl @ims.example.com</ServerName> <ServerName>sip:asl @ims.example.com</ServerName>
</ApplicationServer> 在上述 AS1的业务过滤规则 3中,将 INVITE2消息设置成一个 SPT, 后续触发条件也被设置成 SPT, 即直接设置成业务过滤规则 3的过滤匹 配条件, 后续触发条件是业务控制单元调用成功 (InvokingSuccess ),
AS1的业务过滤规则 1的标识为 10, AS2的业务过滤规则 1的标识为 20 , ConditionTypeCNF设置为 "1"表示 AS 1和 AS2都被调用成功。 </ApplicationServer> In the service filtering rule 3 of the foregoing AS1, the INVITE2 message is set to an SPT, and the subsequent triggering condition is also set to SPT, that is, the filtering matching condition of the service filtering rule 3 is directly set, and the subsequent triggering condition is the service control. The unit call succeeds (InvokingSuccess), The ID of Service Filtering Rule 1 of AS1 is 10, the ID of Service Filtering Rule 1 of AS2 is 20, and the ConditionTypeCNF is set to "1", indicating that both AS 1 and AS2 are successfully invoked.
这样, 业务过滤规则 3被执行, 获得被调用业务控制单元 AS1以及 对应的其它业务过滤规则的后续触发条件, 该后续触发条件作为 SPT, 在上述两个 SPT都被满足时, 对当前的通信进行处理, 向业务控制单元 AS1发送调用消息 INVITE2消息,即后续处理是调用指定的业务控制单 元, 以使 AS1处理相应的业务交互。 In this way, the service filtering rule 3 is executed, and the subsequent trigger condition of the called service control unit AS1 and the corresponding other service filtering rule is obtained, and the subsequent trigger condition is used as the SPT. When the two SPTs are satisfied, the current communication is performed. Processing, sending a call message INVITE2 message to the service control unit AS1, that is, the subsequent process is to invoke the specified service control unit, so that AS1 processes the corresponding service interaction.
可以看到, 这里将业务过滤规则 1和业务过滤规则 2的后续触发条 件设置在业务过滤规则 3中,使其成为业务过滤规则 3的执行匹配条件。 当然, 如前所述, 也可以将上述的后续触发条件设置成业务过滤规则 2 的后续过滤规则中, 对应的后续处理为执行指定的业务过滤规则 3, 此 时, 可以在业务过滤规则 3 中设置上述的特殊标示, 这样, 在收到 INVITE2消息时,若上述后续触发条件没有满足, 不会以 INVITE2消息 去匹配执行业务过滤规则 3。 It can be seen that the subsequent triggering conditions of the service filtering rule 1 and the service filtering rule 2 are set in the service filtering rule 3, so that it becomes the execution matching condition of the service filtering rule 3. As a matter of course, as described above, the subsequent triggering condition may be set to the subsequent filtering rule of the service filtering rule 2, and the corresponding subsequent processing is to execute the specified service filtering rule 3. In this case, in the service filtering rule 3 Set the special label above. In this way, when the INVITE2 message is received, if the subsequent trigger condition is not met, the INVITE2 message will not be matched to perform the service filtering rule 3.
至此, 结束对本发明实施例九的业务控制单元处理方法的说明。 在上述实施例中, 只要业务过滤规则被执行, 就能够确定被调用业 务控制单元及其相对应的后续过滤规则。 作为一种特例, 本发明也允许 "被调用业务控制单元"为空。 这是因为, 后续过滤规则描述的是在初始 请求时、 被调用业务控制单元被调用之后发生的情况, 即该后续过滤规 则依赖于首先获取被调用业务控制单元, 而如果用户只签约了一个 AS, 而该 AS的调用本身就被描述在后续过滤规则中, 则在初始请求时并没 有业务控制单元被调用, 这样, 该后续过滤规则将没有一个被调用业务 控制单元可依赖, 下面的实施例十将对该情况下如何实施本发明进行详 细说明。 So far, the description of the processing method of the service control unit in the ninth embodiment of the present invention is completed. In the above embodiment, as long as the service filtering rule is executed, the called service control unit and its corresponding subsequent filtering rule can be determined. As a special case, the present invention also allows the "called service control unit" to be empty. This is because the subsequent filtering rule describes the situation that occurs after the called service control unit is called at the initial request, that is, the subsequent filtering rule relies on first obtaining the called service control unit, and if the user only signs one AS. And the call of the AS itself is described in the subsequent filtering rule, then no service control unit is called at the initial request, so that the subsequent filtering rule will not be dependent on the called service control unit, the following embodiment Ten will explain in detail how to implement the invention in this case.
实施例十:
本实施例中, 假设用户发起一个 INVITE消息, 当被叫用户忙时调 用 CFB AS , 本实施例在业务过滤规则中设置的后续过滤规则如下所示: Example 10: In this embodiment, it is assumed that the user initiates an INVITE message, and the CFB AS is invoked when the called user is busy. The subsequent filtering rules set in the service filtering rule in this embodiment are as follows:
<TriggerPoint> <TriggerPoint>
<SPT> <SPT>
<Method>INVITE</Method> <Method>INVITE</Method>
</SPT> </SPT>
</TriggerPoint > </TriggerPoint >
<ApplicationServer> <ApplicationServer>
<ServerName>NULL</ServerName> <ServerName>NULL</ServerName>
<Sub sequentFilterCriteria> <Sub sequentFilterCriteria>
<SubsequentTriggerPoint> <SubsequentTriggerPoint>
<SubsequentMessageFromBack> <SubsequentMessageFromBack>
<MessageName>486</MessageName> <MessageName>486</MessageName>
</SubsequentMessageFromBack> </SubsequentMessageFromBack>
</SubsequentTriggerPoint> </SubsequentTriggerPoint>
<SubsequentHandlingMode> <SubsequentHandlingMode>
<Mode>InvokingNewApplicationServer</Mode> <Mode>InvokingNewApplicationServer</Mode>
<ServerName>sip:cfb-as@ims.example.com</ServerName> <ServerName>sip:cfb-as@ims.example.com</ServerName>
</SubsequentHandlingMode> </SubsequentHandlingMode>
</SubsequentFilterCriteria> </SubsequentFilterCriteria>
</ApplicationServer> </ApplicationServer>
在上述业务过滤规则中, 被匹配的应用服务器名称(ServerName ) 为" NULL" (空), 在对应的后续过滤规则中, 后续触发条件中后续消息 的标签为 SubsequentMessageFromBack, 表示后续消息的来源信息是来 自后向, 由于这里没有指定的应用服务器, 所以没有使用在前述实施例 中使用的后续消息的标签 SubsequentMessageToApplicationServer (当然
也可以使用), 而是使用了另一种方式来表达后续消息的来源信息。 需 要说明的是, 该来源信息的表达方式也可以在前述实施例中使用, 可表 示对来源信息的的进一步细分, 即区分是前向还是后向。 In the above service filtering rule, the matched application server name (ServerName) is "NULL" (empty). In the corresponding subsequent filtering rule, the label of the subsequent message in the subsequent triggering condition is SubsequentMessageFromBack, indicating that the source information of the subsequent message is From the backward direction, since there is no specified application server, there is no label SubsequentMessageToApplicationServer that uses the subsequent message used in the previous embodiment (of course It can also be used, but another way to express the source information of subsequent messages. It should be noted that the expression of the source information may also be used in the foregoing embodiment, and may represent further subdivision of the source information, that is, whether the distinction is forward or backward.
在上述的后续过滤规则中, 后续触发条件中后续消息的名称是 486 消息, 后续处理方式中, Mode设置为 InvokingNewApplicationServer , 表示调用新的业务控制单元, 并在 ServerName 中设置新业务控制单元 的名称, 本实施例中设置为 sip:cfb-as@ims.example.com, 即 CFB AS的 地址。 In the subsequent filtering rule, the name of the subsequent message in the subsequent trigger condition is 486 message. In the subsequent processing mode, the Mode is set to InvokingNewApplicationServer, indicating that the new service control unit is invoked, and the name of the new service control unit is set in the ServerName. In this embodiment, it is set to sip:cfb-as@ims.example.com, which is the address of the CFB AS.
如此, 在业务执行过程中, 当 SIP初始请求 INVITE消息被匹配业 务过滤规则时, 没有获得对应的被调用业务控制单元, 但仍获得了后续 过滤规则, 当被叫忙, 486 消息被收到时, 后续触发条件满足, 呼叫将 发向 CFB AS的地址, 缺省可使用该 SIP初始请求 INVITE消息来调用 CFB AS, 也可在后续处理方式中设定对 CFB AS的调用消息 In this way, during the service execution process, when the SIP initial request INVITE message is matched with the service filtering rule, the corresponding called service control unit is not obtained, but the subsequent filtering rule is still obtained. When the called party is busy, the 486 message is received. After the subsequent trigger condition is met, the call will be sent to the address of the CFB AS. By default, the SIP initial request INVITE message can be used to invoke the CFB AS, and the call message to the CFB AS can also be set in the subsequent processing mode.
至此, 结束对本发明实施例十中业务控制单元处理方法的说明。 为了实现对业务控制单元的后续过滤规则处理, 本发明提供了一种 业务控制单元处理装置, 该装置用于执行业务过滤规则, 确定被调用业 务控制单元及其相对应的后续过滤规则, 并在业务执行过程中, 根据所 确定的后续过滤规则处理业务控制单元。 下面举一个装置实施例对本发 明业务控制单元处理装置进行说明。 So far, the description of the processing method of the service control unit in the tenth embodiment of the present invention is ended. In order to implement subsequent filtering rule processing on the service control unit, the present invention provides a service control unit processing apparatus, which is configured to execute a service filtering rule, determine a called service control unit and a corresponding subsequent filtering rule, and During the service execution process, the service control unit is processed according to the determined subsequent filtering rules. The service control unit processing apparatus of the present invention will now be described with reference to an apparatus embodiment.
图 3为本发明具体实施例中业务控制单元处理装置的结构示意图。 参见图 3, 该装置包括后续过滤规则获取模块 301、 后续触发条件匹配 模块 302和后续处理方式执行模块 303。 FIG. 3 is a schematic structural diagram of a service control unit processing apparatus according to an embodiment of the present invention. Referring to FIG. 3, the apparatus includes a subsequent filtering rule obtaining module 301, a subsequent trigger condition matching module 302, and a subsequent processing mode executing module 303.
其中, 后续过滤规则获取模块 301 , 用于执行业务过滤规则, 确定 包含后续触发条件及其对应的后续处理方式的后续过滤规则, 并用于向 后续触发条件匹配模块 302提供后续触发条件、 向后续处理方式执行模
块 303提供后续处理方式; The subsequent filtering rule obtaining module 301 is configured to execute a service filtering rule, and determine a subsequent filtering rule that includes a subsequent triggering condition and a corresponding subsequent processing mode, and is used to provide a subsequent triggering condition to the subsequent triggering condition matching module 302, and to perform subsequent processing. Mode execution mode Block 303 provides a subsequent processing method;
后续触发条件匹配模块 302, 用于在所述业务执行过程中, 判断触 发条件与后续过滤规则获取模块 301所提供的后续触发条件是否满足, 当后续触发条件满足时, 通知后续处理方式执行模块 303; The subsequent trigger condition matching module 302 is configured to determine whether the trigger condition and the subsequent trigger condition provided by the subsequent filter rule obtaining module 301 are satisfied during the execution of the service, and notify the subsequent processing mode execution module 303 when the subsequent trigger condition is met. ;
后续处理方式执行模块 303 , 用于根据后续触发条件匹配模块 302 的通知, 执行后续过滤规则获取模块 301所提供的后续处理方式。 The subsequent processing mode execution module 303 is configured to perform a subsequent processing manner provided by the subsequent filtering rule obtaining module 301 according to the notification of the subsequent triggering condition matching module 302.
下面通过一个系统实施例, 说明如何将图 3所示装置应用于本发明 业务控制单元处理系统中。 图 4为本发明具体实施例中业务控制单元处 理系统的结构示意图。 参见图 4, 该系统包括业务过滤规则库 410、 业 务控制单元处理装置 420和业务控制单元 430, 其中, 业务控制单元处 理装置 420, 进一步包括后续过滤规则获取模块 421、 后续触发条件匹 配模块 422和后续处理方式执行模块 423。 Next, a system embodiment will be described to explain how the apparatus shown in Fig. 3 is applied to the service control unit processing system of the present invention. FIG. 4 is a schematic structural diagram of a service control unit processing system according to an embodiment of the present invention. Referring to FIG. 4, the system includes a service filtering rule base 410, a service control unit processing unit 420, and a service control unit 430. The service control unit processing unit 420 further includes a subsequent filtering rule obtaining module 421, a subsequent trigger condition matching module 422, and The subsequent processing mode executes the module 423.
图 4所示系统中, 业务过滤规则库 410, 用于保存或产生用户的业 务过滤规则, 并用于向业务控制单元处理装置 420中的后续过滤规则获 取模块 421提供业务过滤规则; In the system shown in FIG. 4, the service filtering rule base 410 is configured to save or generate a service filtering rule of the user, and is configured to provide a service filtering rule to the subsequent filtering rule obtaining module 421 in the service control unit processing device 420;
后续过滤规则获取模块 421 , 用于接收、 并执行来自于业务过滤规 则库 410的业务过滤规则, 并向后续触发条件匹配模块 422提供后续触 发条件、 向后续处理方式执行模块 423提供后续处理方式; The subsequent filtering rule obtaining module 421 is configured to receive and execute the service filtering rule from the service filtering rule base 410, and provide a subsequent triggering condition to the subsequent triggering condition matching module 422, and provide a subsequent processing manner to the subsequent processing mode execution module 423.
后续触发条件匹配模块 422, 用于在所述业务执行过程中, 判断触 发条件是否满足, 当后续触发条件满足时, 通知后续处理方式执行模块 423执行后续处理方式, 对业务控制单元 430以及当前通信进行相应的 处理; The subsequent trigger condition matching module 422 is configured to determine whether the trigger condition is met during the execution of the service, and notify the subsequent processing mode execution module 423 to perform a subsequent processing mode, the service control unit 430, and the current communication, when the subsequent trigger condition is met. Carry out corresponding processing;
业务控制单元 430, 用于根据业务控制单元处理装置 420中后续处 理方式执行模块 423的处理, 提供各种业务逻辑控制功能。 The service control unit 430 is configured to provide various service logic control functions according to the processing of the subsequent processing mode execution module 423 in the service control unit processing device 420.
进一步的, 业务控制单元中可以进一步包括第一通信模块, 用于在
业务处理过程中产生业务过滤规则时, 将所产生的业务过滤规则发送给 业务过滤规则库 410。 Further, the service control unit may further include a first communication module, configured to be used in When the service filtering rule is generated in the process of the service, the generated service filtering rule is sent to the service filtering rule base 410.
相应地, 业务过滤规则库 410中可以进一步包括用于接收来自于所 述业务控制单元 430的业务过滤规则的第二通信模块, 和用于保存业务 过滤规则的存储模块。 Correspondingly, the service filtering rule base 410 may further include a second communication module for receiving the service filtering rule from the service control unit 430, and a storage module for saving the service filtering rule.
图 4所示系统中,可以存在一个或一个以上的业务过滤规则库 410, 该系统中的业务过滤规则库 410可以是独立的用户签约数据库, 如归属 用户服务器(HSS , Home Subscriber Server ), 业务过滤规则作为用户签 约数据存放其中, 如前述的 iFC; 该系统中的业务过滤规则库 410也可 以位于业务控制单元处理装置 420中, 如业务过滤规则作为一段程序或 配置数据存在于业务控制单元处理装置 420中; 该系统中的业务过滤规 则库 410还可以位于业务控制单元 430中, 如业务控制单元 430在业务 处理过程中产生业务过滤规则。 In the system shown in FIG. 4, there may be one or more service filtering rule bases 410, and the service filtering rule base 410 in the system may be an independent user subscription database, such as a home subscriber server (HSS, Home Subscriber Server), The filtering rule is stored as the user subscription data, such as the aforementioned iFC; the service filtering rule base 410 in the system may also be located in the service control unit processing device 420, such as the service filtering rule exists as a piece of program or configuration data in the service control unit. In the device 420, the service filtering rule base 410 in the system may also be located in the service control unit 430, for example, the service control unit 430 generates a service filtering rule in the service processing process.
图 4所示系统中, 业务控制单元处理装置 420可以是 3GPP IMS标 准中定义的 S-CSCF、 业务代理(Service Broker )或业务能力交互管理 ( SCIM , Service Capability Interaction Manager )应用月良务器等; In the system shown in FIG. 4, the service control unit processing apparatus 420 may be an S-CSCF, a Service Broker, or a Service Capability Interaction Manager (SCIM) defined in the 3GPP IMS standard. ;
业务控制单元 430是各种业务的宿主执行环境,可以是 IMS应用服 务器、 传统智能网 SCF实体等; The service control unit 430 is a host execution environment of various services, and may be an IMS application server, a traditional intelligent network SCF entity, or the like;
业务过滤规则库 410与业务控制单元处理装置 420之间的接口可以 是 Diameter协议或内部接口协议等; 业务过滤规则库 410与业务控制单 元 430之间的接口可以是 Diameter协议或内部接口协议等; 业务控制单 元处理装置 420与业务控制单元 430之间的接口可以是 SIP协议、 智能 业务协议(如智能网应用规程协议: INAP, Intelligent Network Application Protocol )、 内部接口协议等。 The interface between the service filtering rule base 410 and the service control unit processing device 420 may be a Diameter protocol or an internal interface protocol, etc.; the interface between the service filtering rule base 410 and the service control unit 430 may be a Diameter protocol or an internal interface protocol; The interface between the service control unit processing device 420 and the service control unit 430 may be a SIP protocol, an intelligent service protocol (such as an Intelligent Network Application Protocol: INAP, an internal interface protocol, etc.).
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保
护范围。 凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改 进等, 均应包含在本发明的保护范围之内。
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Range of protection. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
Claims
1、 一种业务控制单元处理方法, 其特征在于, 该方法包括以下步 骤: A method for processing a service control unit, the method comprising the steps of:
执行业务过滤规则, 确定被调用业务控制单元及其相对应的后续过 滤规则; Performing a service filtering rule to determine the called service control unit and its corresponding subsequent filtering rules;
在业务执行过程中, 根据所确定的后续过滤规则对当前通信进行处 理。 During the execution of the service, the current communication is processed according to the determined subsequent filtering rules.
2、 根据权利要求 1 所述的方法, 其特征在于, 所述后续过滤规则 包括后续触发条件及其相对应的后续处理方式; 2. The method according to claim 1, wherein the subsequent filtering rule includes a subsequent triggering condition and a corresponding subsequent processing manner;
所述对当前通信进行处理为: 当所述后续触发条件满足时, 执行与 所述后续触发条件相对应的后续处理方式。 The processing of the current communication is: when the subsequent trigger condition is met, performing a subsequent processing manner corresponding to the subsequent trigger condition.
3、 根据权利要求 2所述的方法, 其特征在于, 所述后续触发条件 包括后续消息、 呼叫状态、 业务控制单元调用失败和业务控制单元调用 成功中的至少一种; The method according to claim 2, wherein the subsequent triggering condition comprises at least one of a subsequent message, a call state, a service control unit call failure, and a service control unit call success;
所述后续处理方式包括发送消息、 拒绝消息、 调用指定业务控制单 元、 通信继续、 停止执行业务过滤规则、 释放业务控制单元和通信释放 中的至少一种。 The subsequent processing manner includes at least one of sending a message, rejecting a message, invoking a specified service control unit, continuing communication, stopping execution of a service filtering rule, releasing a service control unit, and releasing a communication.
4、 根据权利要求 3 所述的方法, 其特征在于, 所述后续消息包括 所述被调用业务控制单元被调用之后、 直至当前通信被释放之前的包括 释放消息在内的所有消息中的至少一个; 4. The method according to claim 3, wherein the subsequent message comprises at least one of all messages including a release message after the called service control unit is invoked until the current communication is released. ;
所述呼叫状态包括当前通信的所有过程状态中的至少一个; 所述业务控制单元调用失败至少包括所述被调用业务控制单元没 有响应或所述被调用业务控制单元中的业务逻辑调用失败; The call state includes at least one of all process states of the current communication; the service control unit call failure includes at least the called service control unit not responding or the service logic call in the invoked service control unit fails;
所述业务控制单元调用成功至少包括所述被调用业务控制单元中
的业务逻辑调用成功。 Successfully invoking the service control unit includes at least the called service control unit The business logic is called successfully.
5、 根据权利要求 4所述的方法, 其特征在于, 所述执行业务过滤 规则之前, 进一步包括: 在所述后续过滤规则中描述所述呼叫状态的超 时等待时长。 The method according to claim 4, wherein before the performing the service filtering rule, the method further comprises: describing, in the subsequent filtering rule, a timeout waiting time of the call state.
6、 根据权利要求 4所述的方法, 其特征在于, 所述被调用业务控 制单元中的业务逻辑调用失败为: 所述被调用业务控制单元返回表示业 务逻辑调用失败的 SIP消息或携带有业务逻辑调用失败指示的 SIP消息; 所述被调用业务控制单元中的业务逻辑调用成功为: 返回一个表示 业务逻辑调用成功的 SIP消息或携带有业务逻辑调用成功指示的 SIP消 The method according to claim 4, wherein the service logic call in the called service control unit fails: the called service control unit returns a SIP message indicating that the service logic call failed or carries a service The SIP message indicating the failure of the logic call; the success of the service logic in the called service control unit is: returning a SIP message indicating that the service logic is successfully invoked or a SIP message carrying the success indication of the service logic call
7、 根据权利要求 3 所述的方法, 其特征在于, 所述后续处理方式 中的发送消息为: 发送指定的消息。 The method according to claim 3, wherein the sending the message in the subsequent processing mode is: sending the specified message.
8、 根据权利要求 7所述的方法, 其特征在于, 所述指定的消息为: 进一步指定消息来源信息和 /或消息目的地信息的消息; 8. The method according to claim 7, wherein the specified message is: a message further specifying message source information and/or message destination information;
根据所述来源信息, 区分所述指定的消息是来自所述被调用业务控 制单元返回的消息、 发向所述被调用业务控制单元的消息、 调用所述被 调用业务控制单元的 SIP初始请求消息、 或所述后续触发条件中的后续 消息。 Determining, according to the source information, the specified message is a message returned from the called service control unit, a message sent to the called service control unit, and a SIP initial request message invoking the called service control unit. , or a subsequent message in the subsequent trigger condition.
9、 根据权利要求 3 所述的方法, 其特征在于, 所述后续处理方式 中的拒绝消息为: 禁止发送所述后续触发条件中的后续消息。 The method according to claim 3, wherein the reject message in the subsequent processing manner is: prohibiting sending a subsequent message in the subsequent trigger condition.
10、 根据权利要求 3所述的方法, 其特征在于, 10. The method of claim 3, wherein
所述调用指定业务控制单元为: 当所述后续触发条件满足时, 向所 述指定业务控制单元发送调用消息或执行与所述指定业务控制单元所 对应的业务过滤规则。 The invoking the specified service control unit is: when the subsequent triggering condition is met, sending an invocation message to the specified service control unit or performing a service filtering rule corresponding to the specified service control unit.
11、 根据权利要求 3所述的方法, 其特征在于, 所述后续处理方式
中的通信继续为: 若存在后续业务过滤规则, 则继续执行所述后续业务 过滤规则, 否则, 继续当前通信过程。 11. The method according to claim 3, wherein the subsequent processing manner The communication in the continuation is: If there is a subsequent service filtering rule, the subsequent service filtering rule is continued to be executed; otherwise, the current communication process is continued.
12、 根据权利要求 3所述的方法, 其特征在于, 所述后续处理方式 中的停止执行业务过滤规则为: 若存在后续业务过滤规则, 则停止执行 所述后续业务过滤规则, 并继续当前通信过程。 The method according to claim 3, wherein the stopping the execution of the service filtering rule in the subsequent processing mode is: if there is a subsequent service filtering rule, stopping the execution of the subsequent service filtering rule, and continuing the current communication process.
13、 根据权利要求 3所述的方法, 其特征在于, 所述后续触发条件 是后续业务过滤规则的匹配条件之一, 所述后续处理方式是对所述后续 业务过滤规则执行通信继续或停止执行所述后续业务过滤规则。 The method according to claim 3, wherein the subsequent triggering condition is one of matching conditions of a subsequent service filtering rule, and the subsequent processing mode is to perform communication to the subsequent service filtering rule to continue or stop executing. The subsequent service filtering rule.
14、 根据权利要求 2至 13任一项所述的方法, 其特征在于, 所述 执行业务过滤规则之前, 进一步包括: 在所述后续触发条件中描述源业 务控制单元信息,和 /或在所述后续处理方式中描述源业务控制单元信息 和 /或目的业务控制单元信息。 The method according to any one of claims 2 to 13, wherein before the performing the service filtering rule, the method further includes: describing the source service control unit information in the subsequent triggering condition, and/or The source service control unit information and/or the destination service control unit information are described in the subsequent processing manner.
15、 根据权利要求 2至 13任一项所述的方法, 其特征在于, 所述 执行业务过滤规则之前, 进一步包括: 在所述后续触发条件中描述所述 多个业务控制单元中至少一个业务控制单元所对应的业务过滤规则标 识。 The method according to any one of claims 2 to 13, wherein before the performing the service filtering rule, the method further includes: describing, in the subsequent triggering condition, at least one of the multiple service control units The service filtering rule identifier corresponding to the control unit.
16、 根据权利要求 2至 13任一项所述的方法, 其特征在于, 所述 执行业务过滤规则之前, 进一步包括: 在所述后续过滤规则中描述多个 后续触发条件的任意组合、和 /或在所述后续过滤规则中描述多个后续处 理方式的任意组合。 The method according to any one of claims 2 to 13, wherein before the performing the service filtering rule, the method further includes: describing, in the subsequent filtering rule, any combination of a plurality of subsequent triggering conditions, and/ Or any combination of multiple subsequent processing methods is described in the subsequent filtering rules.
17、 根据权利要求 1至 13任一项所述的方法, 其特征在于, 所述 对当前通信进行处理是执行指定的业务过滤规则; The method according to any one of claims 1 to 13, wherein the processing the current communication is to execute a specified service filtering rule;
所述指定的业务过滤规则中设置有表示所述指定的业务过滤规则 只有在相应的后续触发条件满足时才被触发执行的特殊标识。 The specified service filtering rule is provided with a special identifier indicating that the specified service filtering rule is triggered to be executed only when the corresponding subsequent triggering condition is met.
18、 一种业务控制单元处理装置, 其特征在于, 该装置包括:
后续过滤规则获取模块, 用于执行业务过滤规则, 确定被调用业务 控制单元及其相对应的后续过滤规则; 18. A service control unit processing apparatus, the apparatus comprising: a subsequent filtering rule obtaining module, configured to execute a service filtering rule, and determine a called service control unit and a corresponding subsequent filtering rule;
后续处理方式执行模块, 用于在业务执行过程中, 根据所述后续过 滤规则对当前通信进行处理。 The subsequent processing mode execution module is configured to process the current communication according to the subsequent filtering rule during the execution of the service.
19、 根据权利要求 18 所述的装置, 其特征在于, 所述后续过滤规 则包括后续触发条件及其对应的后续处理方式; The device according to claim 18, wherein the subsequent filtering rule includes a subsequent triggering condition and a corresponding subsequent processing manner;
该装置还进一步包括后续触发条件匹配模块, 用于在所述业务执行 过程中, 根据所述后续过滤规则获取模块所提供的后续触发条件判断所 述后续触发条件是否满足, 当所述后续触发条件满足时, 通知所述后续 处理方式执行模块, 执行所述后续过滤规则获取模块所提供的后续处理 方式。 The device further includes a subsequent trigger condition matching module, configured to determine, according to the subsequent trigger condition provided by the subsequent filter rule acquiring module, whether the subsequent trigger condition is satisfied, when the subsequent trigger condition is satisfied. When the method is satisfied, the subsequent processing mode execution module is notified, and the subsequent processing manner provided by the subsequent filtering rule obtaining module is executed.
20、 一种业务控制单元处理系统, 其特征在于, 该系统包括: 业务控制单元处理装置, 用于执行业务过滤规则, 确定与业务控制 单元相对应的后续过滤规则, 并根据所述后续过滤规则对当前通信进行 处理; A service control unit processing system, comprising: a service control unit processing device, configured to execute a service filtering rule, determine a subsequent filtering rule corresponding to the service control unit, and according to the subsequent filtering rule Processing the current communication;
业务控制单元, 用于根据所述业务控制单元处理装置的处理, 提供 各种业务逻辑控制功能。 The service control unit is configured to provide various service logic control functions according to the processing of the service control unit processing device.
21、 根据权利要求 20所述的系统, 其特征在于, 该装置进一步包 括: 业务过滤规则库, 用于保存或产生用户的业务过滤规则, 并用于向 所述业务控制单元处理装置提供所述业务过滤规则。
The system according to claim 20, wherein the apparatus further comprises: a service filtering rule base, configured to save or generate a service filtering rule of the user, and configured to provide the service to the service control unit processing device Filter rules.
Applications Claiming Priority (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610153284.3 | 2006-09-20 | ||
CN200610153284 | 2006-09-20 | ||
CN200610131963.0 | 2006-10-13 | ||
CNA2006101319630A CN101163135A (en) | 2006-10-13 | 2006-10-13 | Service control cell preprocessing method, device and system |
CN200710000395 | 2007-01-25 | ||
CN200710000395.5 | 2007-01-25 | ||
CNA200710079273XA CN101232498A (en) | 2007-01-25 | 2007-02-13 | Method, device and system for subsequent processing of service control unit |
CN200710079273.X | 2007-02-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008034358A1 true WO2008034358A1 (en) | 2008-03-27 |
Family
ID=39200184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/070251 WO2008034358A1 (en) | 2006-09-20 | 2007-07-06 | A handling method, device and system for service control unit |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2008034358A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040038993A (en) * | 2002-10-30 | 2004-05-10 | 한국전자통신연구원 | Method for controlling Call Session for IP Multimedia Service |
CN1662000A (en) * | 2004-02-26 | 2005-08-31 | 财团法人工业技术研究院 | Triggering Method and Multimedia Subsystem of Internet Protocol Multimedia Service Control |
CN1747391A (en) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | A charging method for multimedia subsystem signaling bearer |
CN1770799A (en) * | 2004-11-02 | 2006-05-10 | 华为技术有限公司 | A method for realizing color name service |
-
2007
- 2007-07-06 WO PCT/CN2007/070251 patent/WO2008034358A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040038993A (en) * | 2002-10-30 | 2004-05-10 | 한국전자통신연구원 | Method for controlling Call Session for IP Multimedia Service |
CN1662000A (en) * | 2004-02-26 | 2005-08-31 | 财团法人工业技术研究院 | Triggering Method and Multimedia Subsystem of Internet Protocol Multimedia Service Control |
CN1747391A (en) * | 2004-09-10 | 2006-03-15 | 华为技术有限公司 | A charging method for multimedia subsystem signaling bearer |
CN1770799A (en) * | 2004-11-02 | 2006-05-10 | 华为技术有限公司 | A method for realizing color name service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5529129B2 (en) | Method and system for selective call forwarding based on media attributes in a telecommunications network | |
US8917850B2 (en) | Method and system for implementing multimedia ring back tone service and multimedia caller identification service | |
JP4819947B2 (en) | Session setting protocol based early media service provision method | |
RU2449488C2 (en) | Session access controller, multimedia ip subsystem and registration and method for session establishing using them | |
CN104348989B (en) | The method and application server of set top box and call terminal handoff calls | |
WO2009003422A1 (en) | A method, system and device for realizing multimedia coloring ring back tone | |
WO2022147697A1 (en) | Call processing system and call processing method | |
WO2009049520A1 (en) | A method and an apparatus for realizing multimedia color ring tone service and filtering of color ring tone | |
WO2008083582A1 (en) | A service trigger method, system and service trigger apparatus | |
WO2006097045A1 (en) | A multimedia call processing method and the system thereof | |
US20150222753A1 (en) | Method for Handling a Call from a Calling Subscriber Towards a Called Subscriber | |
US20080273671A1 (en) | Method, system and application server for preventing crosstalk of color ring back tone | |
CN101325744A (en) | A method, device and system for triggering services based on terminal capabilities | |
WO2008106885A1 (en) | Method and system for the service compatibility | |
CN101163135A (en) | Service control cell preprocessing method, device and system | |
WO2009018752A1 (en) | A method and device for realizing callback service | |
CN101272530A (en) | Service trigger method and system | |
WO2007056958A1 (en) | A method, system and device for realizing call waiting in packet domain | |
CN102664863B (en) | Method, device, and system for realizing call waiting by user equipment | |
EP3136756A1 (en) | System, device and method for implementing ring back tone service | |
WO2008034358A1 (en) | A handling method, device and system for service control unit | |
CN101232498A (en) | Method, device and system for subsequent processing of service control unit | |
CN101800733B (en) | Method, system and device for processing business interaction | |
WO2009121281A1 (en) | A method for invoking a service in ims network, system and device thereof | |
EP2795867A1 (en) | Method, server and system for a network multimedia content component service in an internet protocol multimedia subsystem. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07764179 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07764179 Country of ref document: EP Kind code of ref document: A1 |