WO2007107074A1 - A method, apparatus and system for communication service processing - Google Patents

A method, apparatus and system for communication service processing Download PDF

Info

Publication number
WO2007107074A1
WO2007107074A1 PCT/CN2007/000437 CN2007000437W WO2007107074A1 WO 2007107074 A1 WO2007107074 A1 WO 2007107074A1 CN 2007000437 W CN2007000437 W CN 2007000437W WO 2007107074 A1 WO2007107074 A1 WO 2007107074A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
configuration file
sip
message
configuration
Prior art date
Application number
PCT/CN2007/000437
Other languages
French (fr)
Chinese (zh)
Inventor
Bo Zheng
Youzhu Shi
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CNA2006100775759A external-priority patent/CN101039259A/en
Priority claimed from CNA2006100843510A external-priority patent/CN101075953A/en
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007107074A1 publication Critical patent/WO2007107074A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a communication service processing method, apparatus, and system.
  • NTN Next Generation Network
  • IP Internet Protocol
  • packet-switched network is the core network, and the control and bearer are separated.
  • Various access technologies coexist, and a new generation network of existing networks is integrated to meet the needs of future broadband multimedia communications.
  • a gateway device having a cross-network call connection capability between a packet switched network and a circuit switched-based legacy communication network such as a relay gateway having a Media Gateway Control Function (MGGF), with an access gateway
  • MGGF Media Gateway Control Function
  • a gateway device having a cross-network call connection capability between a packet switched network and a circuit switched-based legacy communication network, such as a relay gateway having a Media Gateway Control Function (MGGF), with an access gateway
  • the access gateway of the Access Gateway Control Function (AGCF) is interoperable.
  • ITU-T International Telecommunication Union-Telecommunication Standardization Sector
  • ETSI European Telecommunications Standards Institute
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • 3GPP Standards Organization
  • Session Initiation Protocol As one of the current technology trends in packet control signaling for packet switched networks.
  • SIP is an NGN developed by the Internet Engineering Task Force (IETF). The important agreement in the middle is considered to be one of the core protocols of IMS, and 3GPP has also determined SIP is used as the third-generation mobile communication (The Third Generation, referred to as "3G,") all-IP stage multimedia domain session control protocol.
  • 3G Third Generation
  • SIP is developed to help provide Internet access (Internet). Advanced telephone service, used to establish, change and terminate calls between IP network-based users. It is in the Simple Mail Transfer Protocol (“SMTP”) and Hypertext Transfer Protocol (Hypertext Transfer Protocol). The tube is called ' ⁇ ') and is built on the basis of widely used protocols on the Internet.
  • SMTP Simple Mail Transfer Protocol
  • HTTP Hypertext Transfer Protocol
  • the tube is called ' ⁇ ') and is built on the basis of widely used protocols on the Internet.
  • SIP Session Initiation Protocol
  • client software and intelligent multimedia terminals supporting SIP protocol appear in the market, as well as servers and exchanges implemented by SIP. device.
  • client and server in SIP a client is an application that establishes a connection with a server in order to send a request to a server;
  • server is an application that provides a service to a request sent by a client and returns a response. .
  • SIP has four types of basic servers: User Agent ("UA") server, which contacts the user when receiving a SIP request, and returns a response on behalf of the user; the proxy server initiates a request on behalf of other clients, acting as both The server, in turn, acts as a client's media program, which can overwrite the contents of the original request message before forwarding the request; redirect the server, which receives the SIP request and maps the original address in the request to zero or more new addresses. Returned to the client; the registration server, which receives the client's registration request and completes the registration of the user's address.
  • the user terminal program often needs to include a UA client and a UA server, and the proxy server, the redirect server, and the registration server are public network servers.
  • SIP messages are used for the establishment and modification of session connections.
  • the format is similar to that of the HTTP protocol. It is divided into two types: request (REQUEST) and response (RESPONSE). Among them, the RESPONSE message has multiple codes indicating the specific response made by the session acceptor.
  • REQUEST request
  • REQUEST response
  • the RESPONSE message has multiple codes indicating the specific response made by the session acceptor.
  • the SIP protocol makers are also defining new types as needed.
  • INVITE and ACK are used to establish a call, complete a three-way handshake, or to change the session attributes later; BYE is used to end the session; OPTIONS Used to query server capabilities; CANCEL In order to cancel a request that has been issued but has not ended in the end; REGISTER is used for the client to log in to the registration server to register the user's location and other messages.
  • PSTN Public Switched Telephone Network
  • ISDN Integrated Services Digital Network
  • PSTN/ISDN Emulation PSTN/ISDN Emulation
  • PSTN/ISDN Emulation Subsystem PSTN/ISDN Emulation Subsystem
  • PES PSTN/ISDN Emulation Subsystem
  • IMS-based functional architecture The functional architecture of the IMS-based PES is defined.
  • the functional architecture is shown in Figure 1.
  • the functional entities such as AGCF and Media Gateway (MG) are used to implement the traditional PSTN terminal to IMS network access.
  • Adaptation at the same time, move the PSTN service logic control up to the application server (Application Server, referred to as "AS") of the IMS network.
  • AS Application Server
  • TISPAN draft standard ETSI TS 183 043 V ⁇ 0.1.8> 2006-02
  • TISPAN NGN IMS-based PSTN/ISDN Emulation Call Control Protocols Stage 3 TISPAN NGN IMS-based PSTN/ISDN Emulation Call Control Protocol Phase 3
  • Some specific process definitions for implementing PSTN simulation services based on IMS are also given.
  • the business logic processing is performed by the AGCF.
  • the AGCF requests a dial tone management file from the PES AS, where the indication includes a standard tone or a message indication tone, and when the AGCF receives the message indication event package, the message indication tone is set according to the dial tone management file.
  • the user registers the unconditional call forwarding service.
  • the PES AS sends a NOTIFY message to the AGCF.
  • the AGCF parses the event packet carried in the NOTIFY message, and then according to the dialing.
  • the tone management file sets the special dial tone to the default dial tone that the user listens after picking up the phone; for example, after the AGCF receives the flash-hook signal of the user, it needs to analyze the current call state, specifically, these The states are: one party call state, a stable two-party call state, a stable two-party call state with a hold/waiter, and the like. Then, the corresponding playback dial tone, collection number, and transmission number are processed.
  • the above solutions have the following problems:
  • the business logic processing on the AGCF is complex and does not conform to the core idea of the development of IMS-based PES. The main reason for this situation is that the business logic processing on the AGCF is complicated according to the existing practical implementation.
  • a core idea is to move the PSTN service logic control up to the PES AS. That is, the processing of the centralized AGCF and the centralized processing of the business on the PES AS, therefore, the current implementation does not meet the requirements of the core idea of the PES. For example, in a multi-party conference service, after receiving the user's cross-signal signal, if other users listen to the conference call voice notification, the business logic processing on the AGCF will be more complicated.
  • PSTN/ISDN Simulation Services is also defined in TISPAN. It also uses the IMS architecture to provide SIP terminals with analog services with PSTN/ISDN supplementary service features. In fact, most of the Simulation simulations.
  • the service and Emulation simulation services are similar, such as the calling number display/calling number display restriction service, in the above mentioned TISPAN standard draft ETSI TS 183 043 V ⁇ 0.1.8> ( 2006-02 ) appendix, Execution of the service, such as the temporary reservation OIR service requires the PES AS to insert the Privacy header field in the invitation invite message from the AGCF, and to insert the anonymous keyword operation in the From header field.
  • the Simulation simulation service there is also a similar source identifier display/source identifier display restriction service.
  • the operation of the above PES AS is not available in the Simulation simulation service AS (refer to the TISPAN standard draft ETSI TS 183 007), which can be performed by SIP.
  • the terminal completes itself.
  • the two services are the same, but according to the current TISPAN current In the current mode, although the service is based on the IMS network, the network still needs to deploy the AS of the two types of services, resulting in waste of investment.
  • the technical problem to be solved by the embodiments of the present invention is to provide a communication service processing method, device and system, which make the service logic processing of the communication device simple.
  • Another technical problem solved by the embodiments of the present invention is that the network can be reused to provide an application server that provides analog service control, thereby saving investment.
  • an embodiment of the present invention provides a communication service processing method, including the following steps:
  • the business logic processing is performed in accordance with the corresponding action in the configuration file.
  • the embodiment of the present invention further provides a communication service processing apparatus, including:
  • An acquiring unit configured to acquire a configuration file of the user, where the configuration file includes an operation event
  • a detecting unit connected to the acquiring unit, configured to detect the configuration file in real time, and if detected, send the detection result
  • the service processing unit is connected to the detecting unit, configured to receive the detection result, and perform business logic processing according to a corresponding action in the preset setting of the detection result.
  • the embodiment of the present invention further provides a communication service processing system, including configuring a delivery server and a communication device; the configuration delivery server, configured to provide a configuration file of the user, including an operation event; And configured to acquire a configuration file of the user from the configuration delivery server, and if the operation event is detected, perform business logic processing according to a corresponding action in the configuration file.
  • the user's configuration file is obtained, and the operation event performed by the user is detected according to the configuration file. If an operation event in the configuration file is detected, the service logic processing is performed according to the corresponding action in the preset configuration file. . This method of performing the corresponding action by matching the operation events in the configuration file greatly reduces the processing complexity of the SIP UA.
  • DRAWINGS 1 is a schematic diagram of a IMS-based PES functional architecture in the prior art
  • FIG. 2 is a flowchart of a communication service processing method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a communication device service control method according to a first embodiment of the present invention
  • FIG. 4 is a flowchart of a communication device service control method according to a second embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a communication service processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a communication service processing system according to an embodiment of the present invention.
  • FIG. 2 it is a flowchart of a method for processing a communication service according to an embodiment of the present invention.
  • the method includes:
  • Step S11 Obtain a configuration file of the user, where the configuration file includes an operation event
  • Step S12 If the operation event is detected, the business logic processing is executed according to the corresponding action in the configuration file.
  • the embodiment of the present invention provides a logical description of possible operations of the user and possible network side actions caused by the operations according to the user's current business application environment by the configuration delivery server, and uses this logical description as a configuration.
  • the file is passed to the communication device. After detecting the operation event of the user, the communication device uses the configuration file to perform matching, obtains the corresponding action described in the configuration file, and directly performs the action.
  • the communication device may be an access device with an access gateway control function AGCF or a SIP IAD as a SIP UA, but is not limited thereto, and may be other devices.
  • the configuration delivery server may be a PES AS. Wait.
  • the SIP UA is taken as an example to illustrate that the SIP UA receives at least one of the following events from the user: an off-hook event, a flash event, an on-hook event, or a dial-up event.
  • a timeout event may occur, that is, when the network side waits for the user's next operation event after the user completes an operation event, if the user does not perform the next operation within the specified time, the network side generates a timeout event, for example, After the user picks up the phone, the network side will wait for the user to dial and start a timer (such as a 10-second timer). If no operation event is received from the user within the time limit of the timer, the network side will generate a timeout event.
  • a timer such as a 10-second timer
  • the network needs to periodically manage the user in this state, then the network side will also A timeout event is generated. For example, in the state of the user's call, the network periodically sends a charging signal to the user (for example, every 3 minutes).
  • the timeout event triggered by the timer and its processing are in each operation event from the user and its corresponding processing action. Therefore, the timer setting mainly sets the timer duration and timeout processing action.
  • the timeout processing action may be that the SIP UA sends an indication to the user, the SIP UA sends a message to the network side, and the SIP UA sets its own timer.
  • the timer settings can come from the default settings of the SIP UA or from the configuration file. Obviously, the operational events from the user are limited. After the operation event performed by the user, the action that the SIP UA may perform is also fixed according to the current service application environment of the user: For the operation event of the user, the SIP UA sends an instruction to the user (you may not issue any indication, or Simultaneously issuing multiple indications, such as listening indication, reverse polarity indication, billing signal indication, display indication, etc.; SIP UA sends a message to the network side (may not send any message, but also can send multiple messages at the same time) ; SIP UA sets its own timer.
  • the actions performed by the SIP UA to receive an operation event from the user are as follows.
  • the processing item corresponding to the off-hook event includes at least one of the following: a reverse polarity processing item, a billing processing item, a signal tone or a voice notification processing item, a hotline number, or an immediate hotline number processing item.
  • the action corresponding to the reverse polarity processing item is that the SIP UA sends a reverse polarity signal to the user;
  • the action of the charging processing item ⁇ is that the SIP UA sends a charging signal to the user, such as a 16K Hz pulse signal and a reverse polarity pulse signal.
  • the action corresponding to the signal tone or the voice notification processing item is that the SIP UA sends a signal tone or a voice notification to the user, or the SIP UA initiates a call to the designated sound resource; the action corresponding to the hotline number or the immediate hotline number processing item is initiated by the SIP UA.
  • the call for example, sends a SIP INVITE message.
  • the processing item corresponding to the flashing event also includes a signal tone or a voice notification processing item, and further includes a hold processing item, a recovery processing item, and the like, or any combination thereof.
  • the corresponding action is that the SIP UA sends a Session Description Protocol (SDP) to the user, and sends an SDP to the peer to maintain the sending action, for example, sending a SIP re-INVITE message.
  • the action corresponding to the recovery processing item is that the SIP UA sends an SDP recovery action to the user, or sends an SDP recovery action to the peer end. Similarly, for example, sending a SIP UPDATE message or SIP re-INVITE message.
  • the processing items corresponding to the on-hook event include: a release processing item, a transfer processing item, or any combination thereof.
  • the action corresponding to the release processing item is a SIP UA release call, for example, sending a BYE message; the action corresponding to the transfer processing item is that the SIP UA transfers two calls related to the user into one call, for example, sending a SIP REFER ( Reference News.
  • the configuration items corresponding to the dialing event include: Dialing paradigm processing items.
  • the processing item is further composed of a signal tone or a voice notification processing item, a number rule configuration item, and the like.
  • the action corresponding to the number rule configuration item is a call action initiated by the SIP UA to collect the number dialed by the user.
  • the action compares the special bead, and the number of the number dialed by the user can be collected, and the number is transmitted to the PES AS through the initiated call action, and the PES AS performs the corresponding service processing according to the number, or can be directly used by the SIP UA.
  • the dialed number is processed accordingly.
  • the service includes an outgoing service, a supplementary service activation, a supplementary service data operation, and the like. If the dialed number indicates a supplementary service activation or supplementary service data operation, the action corresponding to the number rule configuration item includes a request action (such as sending a SIP SUBSCRIBE message), a data operation action (such as sending an HTTP/XCAP message), a release action, Keep the action, resume the action, etc.
  • the present invention presents an XML Schema file that conforms to the above description.
  • the XML Schema file can be used to define the structure of the configuration file and constrain the contents of the configuration file.
  • the contents of the XML Schema file are as follows:
  • FIG. 3 it is a flowchart of a method for processing a communication service according to a first embodiment of the present invention.
  • the communication device uses a SIP UA as an example, and the user is a traditional terminal user.
  • the SIP UA sends a SIP SUBSCRIBE message to the configuration delivery server to request a configuration file of the current business environment of the user, including an operation event and a corresponding action.
  • the delivery server is configured to return the confirmation information of the request, and the configuration file of the user is generated according to the subscription data of the user and the current business application environment.
  • the SIP UA processes the network side processing action of the user's off-hook, flashing, dialing, and on-hook operations in the current service application environment of the user. Among them, the off-hook action is to send a dial tone to the user, according to the given dialing paradigm
  • the configuration delivery server carries the user profile through a NOTIFY message and sends the message to the SIP UA.
  • the SIP UA returns an acknowledgement message that the NOTIFY message was received.
  • the user picks up the phone and the off-hook event is reported to the SIP UA.
  • the off-air event of the user detected by the SIP UA is based on an off-hook event.
  • a configuration file is provided, and a dial tone action is played to the user according to the matching result. This method of performing corresponding actions by matching operational events in the configuration file greatly reduces the processing complexity of the SIP UA.
  • dial tone dialing can be performed.
  • the dialing event is also reported to the SIP UA through the terminal.
  • the SIP UA receives the number according to the given dialing paradigm according to the configuration file.
  • the SIP UA performs the matching according to the dialing event after the dialing paradigm described in the configuration file is completely matched.
  • the SIP UA sends a message to the network side according to the indication of the configuration file, including the message type and the message destination address, for example, the message type is SEP INVITE, the message destination address is the hotline AS address, and the SIP UA sends the message to the hotline AS. Register the hotline's SIP INVITE message.
  • step 310 the PES AS returns a response message to the SIP UA that the registration hotline was successful. Thereafter, if the user's current business application environment changes, the configuration delivery server will generate a new configuration file.
  • the delivery server is configured to send a NOTIFY message of the event change to the SIP UA according to the SIP UA request for the user profile, and pass the current user's configuration file to the SIP UA through the message. For example, in the new configuration file, the current SIP UA processing user off-hook event is performed to send a dial tone to the user, and a 5-second timer is started. If the user does not dial the time, the user is stopped. Tone, and send a SIP INVITE message to the registered hotline number.
  • the registered hotline number is 86-10-88886666.
  • the SIP UA returns a confirmation message to the received change notification.
  • the user performs an off-hook operation again, and the operation event is also reported to the SIP UA.
  • the SIP UA performs matching of the operation events according to the updated configuration file, and according to the matching result, plays a dial tone to the user and starts a timer with a duration of 5 seconds.
  • the SIP UA automatically stops sending the tone to the user, and the hotline service is enabled, and the hotline number registered to the user, for example, the registered 86-10.
  • the method for the SIP UA to obtain the configuration file from the configuration server is that the SIP UA requests the configuration from the configuration delivery server, and the configuration delivery server carries the configuration file to the SIP UA in the event notification message (Notify).
  • the configuration delivery server can actively notify the SIP UA of the configuration file, such as when the user service application environment changes and causes its configuration file to change, the configuration delivery server actively sends a SIP PUBLISH release message, or sends a SIP INPO message to the SIP UA, and Carrying the user's configuration file in the message; if the configuration delivery server is located in the session signaling route, the configuration delivery server may carry the user's configuration file, such as the 183 response code message, in the SIP response message to the SIP UA.
  • the configuration delivery server can also use this way to refresh the user's configuration file to the SIP UA; for example, the SIP UA can also obtain the configuration file from the configuration delivery server through an HTTP interface or even a custom interface. Through these interfaces, the SIP UA can request a configuration file from the configuration delivery server, and the configuration delivery server can also actively notify the SIP UA of the configuration file.
  • the SIP UA obtains a configuration file from a configuration delivery server.
  • the SIP UA can also configure a batch of users as a group collection to configure the delivery server to avoid multiple requests to the configuration delivery server, which can share the same configuration file. Referring to FIG.
  • step 401 the user has a message indication, and therefore, the current service application environment of the user changes, and the configuration is delivered.
  • the server will update the current user's profile.
  • the delivery server sends a NOTIFY message to the SIP UA, and carries a part of the configuration file, for example, in the current service application environment, the SIP corresponding to the off-hook event of the user.
  • the UA action is to send a message indicating tone to the user.
  • the configuration of the SIP UA is simplified by the configuration delivery server updating the current user profile according to changes in the business environment, and notifying the SIP UA new profile requesting the profile or only notifying the changed portion of the profile. And can adapt to changes in the business environment.
  • the SIP UA returns an acknowledgment message to the configuration delivery server that the OTIFY message was received.
  • the user picks up the phone and the off-hook event is reported to the SIP UA.
  • the SIP UA matches the configuration file, and directly sends a message indicating tone to the user according to the processing description of the off-hook event in the configuration file.
  • the communication service processing method of the foregoing embodiment is applied to the PES, where the SIP UA can send a message to the network side through SIP or HTTP, and the message sent to the network side through the SIP includes a SIP INVITE message, a SIP REFER message, a SIP SUBSCRIBE message, and a SIP. UPDATE message, etc.
  • FIG. 5 is a schematic structural diagram of a communication service processing apparatus according to an embodiment of the present invention.
  • the apparatus includes: an obtaining unit 51, a detecting unit 52, and a service processing unit 53.
  • the obtaining unit 52 is configured to acquire a configuration file of the user, where the configuration file includes an operation event
  • the detecting unit 52 is connected to the obtaining unit 51, configured to detect the configuration file in real time, and send the detected configuration file.
  • the service processing unit 53 is connected to the detecting unit 53 for receiving the detection result, and performing the business logic processing according to the corresponding action in the setting of the detection result in advance.
  • FIG. 6 is a schematic structural diagram of a communication service processing system according to an embodiment of the present invention.
  • the method includes: a legacy terminal (ie, a user) 61, a configuration delivery server 63, and a communication device.
  • the SIP User Agent 62 (SIP UA) is taken as an example, but is not limited thereto.
  • the legacy terminal 61 is connected to the SIP user agent 62 via interface E1
  • the SIP user agent 62 is connected to the configuration delivery server 63 via interface E2.
  • the configuration delivery server 63 is configured to provide a configuration file of the user, where the configuration file includes an operation event, and the communication device 62 is configured to acquire a configuration file of the user from the configuration delivery server, if the detection is detected.
  • the operation event in the configuration file performs business logic processing according to a corresponding action in the configuration file preset.
  • the configuration delivery server 63 provides the user's profile, including operational events, based on the user's subscription data and the business application environment.
  • the SIP UA 62 is configured to acquire a configuration file of the user from the configuration delivery server 63, detect an operation event performed by the user, and if an operation event in the configuration file is detected, perform business logic processing according to a corresponding action in the preset configuration file.
  • the services implemented by the configuration file include: hotline service, user owed to pay off the hook to listen to the fee, after the user has a new message, pick up the phone to listen to the message indication tone, abbreviated dialing, group The user picks up the group and dials the group to listen to the secondary dial tone, the fork processing, and the like.
  • the hotline number is "abcd@home.com”
  • the configuration file described in XML is:
  • the SIP UA Upon receiving the confirmation message that the user is successfully registered, the SIP UA actively requests the configuration delivery server for the user's profile through the SIP SUBSCRIBE message. Configuring the delivery server to query the hotline service currently signed by the user according to the subscription data of the user.
  • the hotline number is "abcd@home.com”
  • the configuration file is generated, or the service application environment changes after the user successfully registers the hotline service.
  • the configuration delivery server carries the configuration file in a NOTIFY message sent to the SIP UA.
  • the "profile" as the "configuration ID" is the extended MIME media type, which can be defined as follows:
  • the extended event package "profile” in this definition is used to transfer the configuration file to the requesting user ( Subscriber ) in the NOTIFY message.
  • the name of the extended event package ( event-package token name ) is: "profile” , and no other parameters are defined in the extended event package.
  • the configured SIP SUBSCRIBE message Event header field or the configured NOTIFY message Event header field is as follows: Event: profile; For the user's arrears, the off-hook hears the fee and does not allow the user For outgoing services, the configuration file described in XML is:
  • the configuration of this XML description is as follows: When the user picks up the phone, the SIP UA should send a SIP INVITE message to the media control resource to apply for the arrears tone resource.
  • the "request-U T of the SIP INVITE message is the specified arrears.
  • the voice resource identifier is "arrearage-toneMRPC@example.com”.
  • the SIP UA plays the underpaid tone to the user. If the user has no other operations within 30 seconds, the SIP UA sends a BYE message to the media control resource to release the sound resource.
  • the user terminal sends a busy tone to the user. The duration of the busy tone is 60 seconds, and the audible tone is changed.
  • the user configures the delivery server to send the updated configuration file to the SIP UA through the NOTIFY message after the user picks up the audible tone.
  • the description of releasing the audible resource is as follows:
  • the users in the group can call other users in the group, or they can make outbound calls, but the dialing rules are different. For example, if a user calls a group user, the dialing rule is 7 The first four digits, and the outbound call, the outbound prefix is 0, dial 0 to send the second dial tone, and delete the prefix; if the user dials, the number has been dialed; the user has no other services, pick up the phone Normal dial tone.
  • the configuration file described in XML is:
  • the tag ⁇ offhook> ⁇ describes the action performed when the current SIP UA processes the off-hook event.
  • the tag ⁇ dial-pattern> describes the dialing paradigm currently allowed to dial, and
  • the configuration delivery server can carry relevant information in the dialing paradigm of the user's configuration file:
  • the SIP UA automatically initiates a call to "mary@example.com” according to the dialing paradigm in the configuration file. request.
  • the configuration file described in XML is:
  • the user can initiate a new call by the flashing operation.
  • the SIP UA needs to send a signal tone to the opposite end to send a special dial tone to the local end.
  • the configuration file described by ML is:
  • the peer After the user shoots the fork operation, the peer sends an UPDATE message (or re- INVITE) to the peer end, and configures the delivery server to update the configuration file to the user by using the NOTIFY message, which describes that the current call recovery action is performed if the user re-crosses the fork. .
  • the user dials in to initiate a new call.
  • the configuration file described in XML is:
  • ⁇ /profile> In the tag ⁇ liooking>, describes the action of resuming the call when the current SIP UA processes the dialing event: the SIP UA sends an UPDATE message to the peer user to resume the call; in the tag ⁇ dial>, describes the current SIP The action performed by the UA when processing the dialing event.
  • the tag ⁇ dial-pattem> describes the dialing paradigm currently allowed to dial.
  • the user picks up the phone to dial "*62 called number", and the AGCF matches the number dialed by the user with the obtained configuration file, according to the dialing paradigm processing description of the dialing event in the configuration file.
  • the action to be performed send an invite request message according to the request, and put the "called number” dialed by the user into the Request-URI ("Qingqi-Uniform Resource Identifier" in the form of a tel URL in the invite request message.
  • the AGCF sends the invite message to the network.
  • the invite message is like the SIP terminal device using the simulation to simulate the service, so the application server that processes the simulation service can be reused as the PES subsystem service, thereby saving investment.
  • the configuration file described in XML is:
  • the SIP UA sends a charging signal to the user according to the configuration file, and the related charging information carried in the configuration file sent by the delivery server to the SIP UA may be a simple number of pulse signals, and may also include more complicated charging rules.
  • the SIP UA sends a charging pulse to the user according to the charging rule.
  • the following describes an embodiment in which a SIP UA periodically sends a charging pulse after a user enters a call state.
  • the embodiment takes the charging rule in the configuration as an example.
  • the Automatic Meter event package (amet) is extended with reference to the ITU H.248.26 protocol.
  • the amet packet defines the signal for transmitting the impulse accounting information.
  • the parameters of the different charging rules are listed below: Phased Meter Type parameters for charging rules
  • PM-PD phase duration, duration of each billing period, in seconds.
  • the above parameters correspond to the H.248amet packet EM, MBP, PM signal and signal parameters, and the meanings are the same. For details, refer to the H.248 protocol.
  • ⁇ /profile> Configure the delivery server to deliver the configuration file to the SIP UA through the response message (200 response code) when the user enters the call state.
  • the SIP UA receives and parses the XML configuration, ⁇ timerlength>60000 every 60 seconds ⁇ /timerlength> ) 3 billing pulses are sent, and the billing pulse is continuously sent to the user according to this rule during the call.
  • the SIP UA parses after receiving the configuration file, detects a timer operation event, and performs a corresponding action to start the timer.
  • a "empty operation" can also be defined here, indicating that the corresponding action is to be performed unconditionally (no specific operational event triggering is required).
  • the SIP UA can also receive the configuration file. After that, the operation event that needs to be detected is parsed to match the operation event received by the user to perform the corresponding action. Generally, after receiving the configuration file, the SIP UA may not need to parse immediately, but after detecting an operation event received by the user, it matches the operation event set in the configuration file. If the matching is successful, the corresponding execution is performed. Actions.
  • the foregoing SIP UA sends a charging signal to the user according to the configuration file
  • the operation event set in the configuration file is a SIP message received by the user, that is, the response message of the user entering the call state, SIP
  • the UA parses the operation event to perform a corresponding action when receiving the response message; or after receiving the response message, matches the configuration file and performs a corresponding action.
  • the actions described in the above embodiments may be preset in a configuration file or preset in a SIP UA, such as a program code.
  • the configuration files of the services described in the embodiments of the present invention are described by using XML, and the extensibility of the XML makes the service scalable.
  • An embodiment of the present invention obtains a configuration file of a user from a network entity such as a profile delivery server through a communication device (such as SIP UA), and detects an operation event performed by the user according to the configuration file, if the configuration file is detected. In the operation event, the business logic processing is performed according to the corresponding action in the preset configuration file. This method of performing corresponding actions by matching operational events in the configuration file greatly reduces the processing complexity of the SIP UA.
  • the action of the SIP UA to match the configuration file to the network can be completely consistent with the action performed by the SIP terminal device to perform the same type of service, so that the SIP UA can reuse the application server that processes the analog service when processing the same type of service.
  • the equipment that is, the application server equipment that processes the analog service, can also serve the public switched telephone network/integrated service digital network simulation subsystem, saving network investment.
  • the current configuration file is updated by the configuration delivery server according to the change of the business environment, and the corresponding SIP UA new configuration file is notified or only the changed part of the configuration file is notified, so that the SIP UA
  • the processing is simplified and adaptable to changes in the business environment.
  • the configuration file uses XML language to describe operational events and corresponding actions, and the business is highly scalable.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A communication service processing method, the apparatus and the system thereof, which simplifies the service logical processing of the communication device. The said method includes: the communication device(such as SIP UA) acquires the user's profile from other network elements(201), and detects the operation event carried out by the user according to the profile, if the operation event in the profile is detected, implements the service logical processing according to the corresponding actions preset in the profile(202). The said apparatus includes: an acquiring unit, a detecting unit and a service processing unit. The said system includes the configuration delivering server and the communication device. The configuration delivering server renews the current user's profile according to the change of the service circumstance, and notifies the corresponding SIP UA of the new profile or the change part of the profile. The profile uses XML language to describe the events and the corresponding actions, thus the expandability of the service improves.

Description

通信业务处理方法、 装置及系统 本申请分别要求于 2006年 3月 17日、 2006年 4月 26 日、 2006年 5月 19 日提交中国专利局、 申请号分别为 200610067558.7、 200610077575.9、 200610084351.0发明名称都为"通信设备业务控制方法及其系统"的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。  Communication service processing method, device and system The present application claims to be submitted to the Chinese Patent Office on March 17, 2006, April 26, 2006, May 19, 2006, and the application numbers are 200610067558.7, 200610077575.9, 200610084351.0, respectively. The priority of the Chinese Patent Application for "Communication Equipment Service Control Method and System" is incorporated herein by reference.
技术领域 本发明涉及通信技术领域,特别涉及一种通信业务处理方法、装置及系统。 背景技术 随着传统通信网络、互联网以及移动通信网絡的发展,各个网络相互融合 是必然趋势, 下一代网络(Next Generation Network, 筒称" NGN" )就是以网 际†办议(Iirtemet Protocol, 简称" IP" )分组交换网络为核心网, 控制与承载分 离, 各种接入技术并存, 融合现有各种网络的新一代网络, 能够满足未来宽带 多媒体通信的需求。分组交换网络和基于电路交换的传统通信网络间通过具有 跨网络呼叫接续能力的网关设备,例如具有媒体网关控制功能( Media Gateway Control Function, 筒称" MGCF" )的中继网关、具有接入网关控制功能( Access Gateway Control Function, 简称" AGCF" ) 的接入网关等, 实现互通。 国 际 电信联盟 - 电信标准部 ( International Telecommunication Union-Telecommunication Standardization Sector, 简称" ITU-T" )和欧洲电信标 准十办会 ( European Telecommunications Standards Institute, 简称 "ETSI" )当前^^ 采用第三代合作伙伴项目 ( 3rd Generation Partnership Project, '简称 "3GPP" ) 标准组织定义的 IP多媒体子系统(IP Multimedia Subsystem, 简称' 'IMS" ) 架 构作为 NGN的核心网。 随着分组技术的不断成熟,使用会话发起协议( Session Initiation Protocol, 简称" SIP" )作为分组交换网络的呼叫控制信令则是当前的技术发展趋势之一。 SIP是互联网工程任务组 ( Internet Engineering Task Force , 简称" IETF" )制定 的 NGN中的重要协议, 被认为是 IMS的核心协议之一, 而 3GPP也已经确定 采用 SIP作为第三代移动通信 ( The Third Generation, 简称" 3G,,)全 IP阶段 的多媒体域会话控制协议。 作为 IETF标准进程的一部分, SIP的开发目的是用来帮助提供跨越因特 网 (Internet ) 的高级电话业务, 用来建立、 改变和终止基于 IP网络的用户间 的呼叫。 它是在筒单邮件传送协议 ( Simple Mail Transfer Protocol , 简称 "SMTP" )和超文本传送协议 ( Hypertext Transfer Protocol, 筒称' ΉΤΤΡ" )等 Internet上广泛应用的协议基础之上建立起来的。 The present invention relates to the field of communications technologies, and in particular, to a communication service processing method, apparatus, and system. BACKGROUND With the development of traditional communication networks, the Internet, and mobile communication networks, integration of networks is an inevitable trend. The Next Generation Network ("NGN") is an Internet Protocol (Iirtemet Protocol). The IP") packet-switched network is the core network, and the control and bearer are separated. Various access technologies coexist, and a new generation network of existing networks is integrated to meet the needs of future broadband multimedia communications. A gateway device having a cross-network call connection capability between a packet switched network and a circuit switched-based legacy communication network, such as a relay gateway having a Media Gateway Control Function (MGGF), with an access gateway The access gateway of the Access Gateway Control Function (AGCF) is interoperable. International Telecommunication Union-Telecommunication Standardization Sector ("ITU-T") and the European Telecommunications Standards Institute (ETSI) currently use the third generation of partners The IP Multimedia Subsystem (IP Multimedia Subsystem, referred to as 'IMS) architecture defined by the Standards Organization (3GPP) is used as the core network of the NGN. As the packet technology continues to mature, session initiation is used. Session Initiation Protocol ("SIP") as one of the current technology trends in packet control signaling for packet switched networks. SIP is an NGN developed by the Internet Engineering Task Force (IETF). The important agreement in the middle is considered to be one of the core protocols of IMS, and 3GPP has also determined SIP is used as the third-generation mobile communication (The Third Generation, referred to as "3G,") all-IP stage multimedia domain session control protocol. As part of the IETF standard process, SIP is developed to help provide Internet access (Internet). Advanced telephone service, used to establish, change and terminate calls between IP network-based users. It is in the Simple Mail Transfer Protocol ("SMTP") and Hypertext Transfer Protocol (Hypertext Transfer Protocol). The tube is called 'ΉΤΤΡ') and is built on the basis of widely used protocols on the Internet.
SIP凭借其简单、易于扩展、便于实现等诸多优点越来越得到业界的青睐, 在市场上出现越来越多的支持 SIP协议的客户端软件和智能多媒体终端,以及 用 SIP实现的服务器和交换设备。 具体地说, SIP中有客户机和服务器之分: 客户机是指为了向服务器发送请求而与服务器建立连接的应用程序;服务器是 用于向客户机发出的请求提供服务并回送应答的应用程序。 其中, SIP共有四类基本服务器: 用户代理(User Agent, 简称" UA" )服 务器, 当接到 SIP请求时它联系用户, 并代表用户返回响应; 代理服务器, 代 表其它客户机发起请求, 既充当服务器又充当客户机的媒介程序,在转发请求 之前, 它可以改写原请求消息中的内容; 重定向服务器, 它接收 SIP请求, 并 把请求中的原地址映射成零个或多个新地址, 返回给客户机; 注册服务器, 它 接收客户机的注册请求, 完成用户地址的注册。 用户终端程序往往需要包括 UA客户机和 UA服务器, 而代理服务器、 重 定向服务器和注册服务器是公众性的网络服务器。 With its advantages of simplicity, ease of expansion, and ease of implementation, SIP is increasingly favored by the industry. More and more client software and intelligent multimedia terminals supporting SIP protocol appear in the market, as well as servers and exchanges implemented by SIP. device. Specifically, there are client and server in SIP: a client is an application that establishes a connection with a server in order to send a request to a server; a server is an application that provides a service to a request sent by a client and returns a response. . Among them, SIP has four types of basic servers: User Agent ("UA") server, which contacts the user when receiving a SIP request, and returns a response on behalf of the user; the proxy server initiates a request on behalf of other clients, acting as both The server, in turn, acts as a client's media program, which can overwrite the contents of the original request message before forwarding the request; redirect the server, which receives the SIP request and maps the original address in the request to zero or more new addresses. Returned to the client; the registration server, which receives the client's registration request and completes the registration of the user's address. The user terminal program often needs to include a UA client and a UA server, and the proxy server, the redirect server, and the registration server are public network servers.
SIP消息用于会话连接的建立及修改, 其格式与 HTTP协议的格式类似, 分为请求(REQUEST )和响应 (RESPONSE ) 两类。 其中, RESPONSE消息 有多种编码,指示会话接受方所做出的具体响应。 而 REQUEST消息有 6种基 本类型, 分别为: 发起呼叫 (INVITE )、 对应答做出回应 (ACK )、 拆除连接 ( BYE )、 中途取消 (CANCLE )、 查询对方的能力 (OPTIONS ) 和注册 ( REGISTER )„ 另外, SIP协议的制订者还在根据需要定义新的类型。 具体地 说, INVITE和 ACK用于建立呼叫, 完成三次握手, 或者用于建立以后改变 会话属性; BYE用以结束会话; OPTIONS用于查询服务器能力; CANCEL用 于取消已经发出但未最终结束的请求; REGISTER用于客户出向注册服务器注 册用户位置等消息。 虽然这种新的 SIP用户终端将逐步取代传统的终端话机,也是分组交换网 络未来发展的趋势,但运营商在分组交换网络的建设过程中, 需要逐步对传统 通信网络中的公用电话交换网 ( Public Switched Telephone Network , 筒称 "PSTN" ) /综合业务数字网 ( Integrated Services Digital Network, 简称 "ISDN" ) 进行网络改造, 实现现有 PSTN/ISDN网络向 NGN的平滑演进。 这必然要求 现有的 PSTN/ISDN核心网络在使用分组交换网络进行替换之后, 能够保留现 有 PSTN/ISDN网络的终端、 用户网络接口、 业务使用体验等不变。 这种分组 交换网络应用于 PSTN/ISDN 核心网的改造和替换的应用场景有时也称为 PSTN/ISDN仿真(PSTN/ISDN Emulation )。 在 PSTN/ISDN仿真子系统( PSTN/ISDN Emulation Subsystem,简称" PES" ) 中,也采用基于 IMS的网络架构。 因此在 ITU-T和 ETSI下属的用于现今网络 的电信和因特网融合的业务及十办议 ( Telecommunications and Internet converged Services and Protocols for Advanced Networking, 简称" TISPAN" )标准组织中均 成立了相关的标准项目进行这方面的研究工作。 在 TISPAN 标准草案 ETSI TS 02030 V<1.2.7> ( 2005-12 ) 《TISPAN Functional Architecture; PSTN/ISDN Emulation Subsystem; IMS-based functional architecture ( TISPAN功能构架; PES; 基于 IMS的功能构架)》 中给出了基于 IMS的 PES的功能架构定义, 其功能架构如图 1所示, 应用了 AGCF和媒体 网关(Media Gateway, 筒称" MG" )等功能实体实现了传统 PSTN终端到 IMS 网络的接入适配, 同时把 PSTN业务逻辑控制上移到 IMS 网络的应用服务器 ( Application Server, 简称" AS" ) 中。 在 TISPAN标准草案 ETSI TS 183 043 V<0.1.8> ( 2006-02 )《 TISPAN NGN IMS-based PSTN/ISDN Emulation Call Control Protocols Stage 3 ( TISPAN NGN基于 IMS的 PSTN/ISDN仿真呼叫控 制协议阶段 3 )» 中还给出了基于 IMS实现 PSTN仿真业务的一些具体流程定 义。 在 TISPAN定义的基于 IMS的 PES中, 由 AGCF来做业务逻辑处理。 例 如, AGCF向 PES AS请求拨号音管理文件, 其中, 包括标准信号音或留言指 示信号音等的指示, 当 AGCF 收到留言指示事件包时, 将根据该拨号音管理 文件将留言指示信号音设置为用户摘机后听的缺省拨号音; 再例如, 用户登记 无条件呼叫前转业务,登记成功后, PES AS向 AGCF发送 NOTIFY消息, AGCF 解析该 NOTIFY消息中携带的事件包, 再根据该拨号音管理文件将特殊拨号 音设置为用户摘机后听的缺省拨号音; 再例如, AGCF 收到用户的拍叉 ( flash-hook )信号后, 需要分析当前的呼叫状态, 具体地说, 这些状态有: 一方呼叫状态、 稳定的两方呼叫状态、 具有保持 /等待方的稳定的两方呼叫状 态等。 然后再进行对应的播放拨号音、 收集号码、 发送号码等处理。 在实际应用中, 上述方案存在以下问题: AGCF上的业务逻辑处理复杂, 不符合基于 IMS的 PES发展的核心思想。 造成这种情况的主要原因在于, 根据现有的实际实施方案, AGCF上的业 务逻辑处理复杂, 然而, 在基于 IMS的 PES中, 一个核心思想是将 PSTN业 务逻辑控制上移到 PES AS上, 也即, 筒化 AGCF的处理、 在 PES AS上集中 处理业务的思想, 因此, 目前的实施方案不符合 PES 的核心思想的要求。 例 如, 在多方会议业务中, 收到用户拍叉信号后, 如果其他方用户听会议电话语 音通知, 则 AGCF上的业务逻辑处理将更加复杂。 SIP messages are used for the establishment and modification of session connections. The format is similar to that of the HTTP protocol. It is divided into two types: request (REQUEST) and response (RESPONSE). Among them, the RESPONSE message has multiple codes indicating the specific response made by the session acceptor. There are six basic types of REQUEST messages: INVITE, ACK, CONNECT, BYC, CANCLE, OPTIONS, and REGISTER. In addition, the SIP protocol makers are also defining new types as needed. Specifically, INVITE and ACK are used to establish a call, complete a three-way handshake, or to change the session attributes later; BYE is used to end the session; OPTIONS Used to query server capabilities; CANCEL In order to cancel a request that has been issued but has not ended in the end; REGISTER is used for the client to log in to the registration server to register the user's location and other messages. Although this new SIP user terminal will gradually replace the traditional terminal phone, it is also the future development trend of the packet switching network. However, in the process of building the packet switching network, the operator needs to gradually adopt the public switched telephone network in the traditional communication network ( The Public Switched Telephone Network ("PSTN") / Integrated Services Digital Network ("ISDN") performs network transformation to realize the smooth evolution of the existing PSTN/ISDN network to NGN. This inevitably requires the existing PSTN/ISDN core network to retain the terminal, user network interface, service experience and the like of the existing PSTN/ISDN network after being replaced by the packet switched network. The application scenario in which the packet switched network is applied to the transformation and replacement of the PSTN/ISDN core network is sometimes referred to as PSTN/ISDN Emulation (PSTN/ISDN Emulation). In the PSTN/ISDN Emulation Subsystem (PSTN/ISDN Emulation Subsystem, referred to as "PES"), an IMS-based network architecture is also adopted. Therefore, relevant standards have been established in the ITU-T and ETSI standards for the Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN) standards organization. The project conducts research work in this area. In the TISPAN draft standard ETSI TS 02030 V<1.2.7> (2005-12) "TISPAN Functional Architecture; PSTN/ISDN Emulation Subsystem; IMS-based functional architecture (TISPAN functional architecture; PES; IMS-based functional architecture)" The functional architecture of the IMS-based PES is defined. The functional architecture is shown in Figure 1. The functional entities such as AGCF and Media Gateway (MG) are used to implement the traditional PSTN terminal to IMS network access. Adaptation, at the same time, move the PSTN service logic control up to the application server (Application Server, referred to as "AS") of the IMS network. In the TISPAN draft standard ETSI TS 183 043 V<0.1.8> ( 2006-02 ) "TISPAN NGN IMS-based PSTN/ISDN Emulation Call Control Protocols Stage 3 (TISPAN NGN IMS-based PSTN/ISDN Emulation Call Control Protocol Phase 3) » Some specific process definitions for implementing PSTN simulation services based on IMS are also given. In the IMS-based PES defined by TISPAN, the business logic processing is performed by the AGCF. example For example, the AGCF requests a dial tone management file from the PES AS, where the indication includes a standard tone or a message indication tone, and when the AGCF receives the message indication event package, the message indication tone is set according to the dial tone management file. For example, the user registers the unconditional call forwarding service. After the registration is successful, the PES AS sends a NOTIFY message to the AGCF. The AGCF parses the event packet carried in the NOTIFY message, and then according to the dialing. The tone management file sets the special dial tone to the default dial tone that the user listens after picking up the phone; for example, after the AGCF receives the flash-hook signal of the user, it needs to analyze the current call state, specifically, these The states are: one party call state, a stable two-party call state, a stable two-party call state with a hold/waiter, and the like. Then, the corresponding playback dial tone, collection number, and transmission number are processed. In practical applications, the above solutions have the following problems: The business logic processing on the AGCF is complex and does not conform to the core idea of the development of IMS-based PES. The main reason for this situation is that the business logic processing on the AGCF is complicated according to the existing practical implementation. However, in the IMS-based PES, a core idea is to move the PSTN service logic control up to the PES AS. That is, the processing of the centralized AGCF and the centralized processing of the business on the PES AS, therefore, the current implementation does not meet the requirements of the core idea of the PES. For example, in a multi-party conference service, after receiving the user's cross-signal signal, if other users listen to the conference call voice notification, the business logic processing on the AGCF will be more complicated.
此外, 在 TISPAN 中还定义了 PSTN/ISDN 模拟业务 (PSTN/ISDN Simulation Services ), 它同样釆用 IMS架构, 为 SIP 终 端 提 供 具 有 PSTN/ISDN补充业务特征的模拟业务, 事实上大部分的 Simulation模拟业务 和 Emulation仿真业务是类似的, 如主叫号码显示 /主叫号码显示限制业务,在 上文提到的 TISPAN标准草案 ETSI TS 183 043 V<0.1.8> ( 2006-02 ) 附录中, 给出该业务的执行,如临时预约 OIR业务要求 PES AS在其收到的来自 AGCF 的邀请 invite消息中插入 Privacy头域, 以及在 From头域中前插 anonymous 关键字操作。 而在 Simulation模拟业务中, 也有类似的源标识显示 /源标识显 示限制业务, 上述 PES AS的操作是 Simulation模拟业务 AS并不具备的 (参 考 TISPAN标准草案 ETSI TS 183 007 ), 该操作可以由 SIP终端自己完成。 显 然, 对用户的体验来说, 这两种业务是相同的, 但按照上述 TISPAN当前的实 现方式, 虽然业务都是基于 IMS网络, 但网络还是需要部署两类业务的 AS, 造成投资的浪费。 In addition, PSTN/ISDN Simulation Services (PSTN/ISDN Simulation Services) is also defined in TISPAN. It also uses the IMS architecture to provide SIP terminals with analog services with PSTN/ISDN supplementary service features. In fact, most of the Simulation simulations. The service and Emulation simulation services are similar, such as the calling number display/calling number display restriction service, in the above mentioned TISPAN standard draft ETSI TS 183 043 V<0.1.8> ( 2006-02 ) appendix, Execution of the service, such as the temporary reservation OIR service requires the PES AS to insert the Privacy header field in the invitation invite message from the AGCF, and to insert the anonymous keyword operation in the From header field. In the Simulation simulation service, there is also a similar source identifier display/source identifier display restriction service. The operation of the above PES AS is not available in the Simulation simulation service AS (refer to the TISPAN standard draft ETSI TS 183 007), which can be performed by SIP. The terminal completes itself. Obviously, for the user experience, the two services are the same, but according to the current TISPAN current In the current mode, although the service is based on the IMS network, the network still needs to deploy the AS of the two types of services, resulting in waste of investment.
发明内容 Summary of the invention
本发明实施例解决的技术问题是提供一种通信业务处理方法、 装置及系 统, 使得通信设备的业务逻辑处理简单化。  The technical problem to be solved by the embodiments of the present invention is to provide a communication service processing method, device and system, which make the service logic processing of the communication device simple.
本发明实施例解决的另一技术问题是可以使网络重用提供模拟业务控制 的应用 良务器设备, 节约投资。  Another technical problem solved by the embodiments of the present invention is that the network can be reused to provide an application server that provides analog service control, thereby saving investment.
为解决上述技术问题,本发明实施例提供了一种通信业务处理方法, 包括 步驟:  To solve the above technical problem, an embodiment of the present invention provides a communication service processing method, including the following steps:
获取用户的配置文件, 其中包括操作事件;  Obtain the user's configuration file, including the operation event;
如果检测到所述操作事件,则根据该配置文件中的对应动作执行业务逻辑 处理。  If the operational event is detected, the business logic processing is performed in accordance with the corresponding action in the configuration file.
另外, 本发明实施例还提供一种通信业务处理装置, 包括:  In addition, the embodiment of the present invention further provides a communication service processing apparatus, including:
获取单元, 用于获取用户的配置文件, 所述配置文件包括操作事件; 检测单元, 与获取单元相连, 用于实时检测配置文件, 若检测到, 则发送 检测结果;  An acquiring unit, configured to acquire a configuration file of the user, where the configuration file includes an operation event, and a detecting unit, connected to the acquiring unit, configured to detect the configuration file in real time, and if detected, send the detection result;
业务处理单元, 与检测单元相连, 用于接收检测结果, 并根据预先设置该 检测结果中的对应动作执行业务逻辑处理。 此夕卜,本发明实施例又提供了一种通信业务处理系统, 包括配置递送服务 器和通信设备; 所述配置递送服务器, 用于提供该用户的配置文件, 其中包括操作事件; 所述通信设备,用于从所述配置递送服务器获取用户的配置文件,如果检 测到所述操作事件, 则根据该配置文件中的对应动作执行业务逻辑处理。 本发明实施例通过获取用户的配置文件,并根据该配置文件检测该用户执 行的操作事件,如果检测到该配置文件中的操作事件, 则根据预置该配置文件 中的对应动作执行业务逻辑处理。这种通过匹配配置文件中的操作事件来执行 对应动作的方法, 大大降低了 SIP UA的处理复杂度。  The service processing unit is connected to the detecting unit, configured to receive the detection result, and perform business logic processing according to a corresponding action in the preset setting of the detection result. Further, the embodiment of the present invention further provides a communication service processing system, including configuring a delivery server and a communication device; the configuration delivery server, configured to provide a configuration file of the user, including an operation event; And configured to acquire a configuration file of the user from the configuration delivery server, and if the operation event is detected, perform business logic processing according to a corresponding action in the configuration file. In the embodiment of the present invention, the user's configuration file is obtained, and the operation event performed by the user is detected according to the configuration file. If an operation event in the configuration file is detected, the service logic processing is performed according to the corresponding action in the preset configuration file. . This method of performing the corresponding action by matching the operation events in the configuration file greatly reduces the processing complexity of the SIP UA.
附图说明 图 1是现有技术中基于 IMS的 PES功能架构示意图; DRAWINGS 1 is a schematic diagram of a IMS-based PES functional architecture in the prior art;
图 2是本发明的实施例所述通信业务处理方法流程图;  2 is a flowchart of a communication service processing method according to an embodiment of the present invention;
图 3是本发明第一实施例的通信设备业务控制方法流程图;  3 is a flowchart of a communication device service control method according to a first embodiment of the present invention;
图 4是本发明第二实施例的通信设备业务控制方法流程图;  4 is a flowchart of a communication device service control method according to a second embodiment of the present invention;
图 5为本发明的实施例所述通信业务处理装置的结构示意图;  FIG. 5 is a schematic structural diagram of a communication service processing apparatus according to an embodiment of the present invention; FIG.
图 6是本发明的实施例所述通信业务处理系统的结构示意图。  FIG. 6 is a schematic structural diagram of a communication service processing system according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明'技术方案和优点更加清楚,下面将结合附图与实施例对本发明 作进一步地详细描述。 请参阅图 2, 为本发明的实施例所述通信业务处理方法流程图; 所述方法 包括:  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Referring to FIG. 2, it is a flowchart of a method for processing a communication service according to an embodiment of the present invention; the method includes:
步驟 S11: 获取用户的配置文件, 所述配置文件包括操作事件;  Step S11: Obtain a configuration file of the user, where the configuration file includes an operation event;
步骤 S12: 如果检测到所述操作事件, 则根据该配置文件中的对应动作执 行业务逻辑处理。  Step S12: If the operation event is detected, the business logic processing is executed according to the corresponding action in the configuration file.
本发明的实施例由配置递送服务器根据用户当前的业务应用环境,给出用 户可能的各种操作, 以及这些操作所可能引发的网络侧动作的逻辑描述, 并把 这种逻辑描述作为一种配置文件传递给通信设备。通信设备检测到用户的操作 事件后, 利用该配置文件进行匹配, 得到配置文件中所描述的对应动作, 并直 接执行该动作。 其中, 所述通信设备可以是具备接入网关控制功能 AGCF的 接入设备或 SIP IAD作为 SIP UA的设备, 但并不限于此, 还可以是其他的设 备, 所述配置递送服务器可以是 PES AS等。 下面以 SIP UA为例来说明, SIP UA收到来自用户的可能的操作事件至少 包括下述之一事件: 摘机事件、 拍叉事件、 挂机事件或拨号事件。 另外, 还可 能发生超时事件,即当用户完成一个操作事件后网絡侧等待用户的下一个操作 事件时, 如果在规定时间内用户未进行下一个操作, 则网络侧会生成一个超时 事件, 例如, 在用户摘机后网络侧将等待用户拨号, 同时启动定时器 (如 10 秒定时器), 若在该定时器的定时时间内未收到用户的任何操作事件, 则网络 侧将生成超时事件, 并启动超时处理; 或者用户呼叫进入一个稳定状态后(如 通话已经建立), 网絡需要对用户在该状态下进行周期性管理, 则网络侧也会 生成一个超时事件, 例如在用户通话状态下, 网络周期性的 (如每 3分钟)向 用户下发计费信号。作为对会话的保护, 由定时器触发的超时事件及其处理在 每个来自用户的操作事件及其对应处理动作中。 因此,对定时器设置主要设置 定时器时长和超时处理动作。 其中, 超时处理动作可以为 SIP UA给用户下发 指示、 SIP UA给网络侧发送消息、 SIP UA对自身的定时器进行设置等。 定时 器设置可以来自 SIP UA的缺省设置, 也可以是来自配置文件。 显而易见, 来自用户的操作事件是有限的。 在用户执行的操作事件后, 根 据用户当前的业务应用环境, SIP UA可能执行的动作也将是固定的: 对于用 户的操作事件, SIP UA给用户下发指示(可以不下发任何指示, 也可以同时 下发多个指示), 例如听音指示、 反极信号指示、 计费冲信号指示、 显示指示 等; SIP UA给网络侧发送消息 (可以不发送任何消息, 也可以同时发送多个 消息); SIP UA对自身定时器的设置。 具体地说, SIP UA收到的来自用户的操作事件所执行的动作分别如下所 述。 摘机事件对应的处理项至少包括下述之一: 反极处理项、 计费处理项、信 号音或语音通知处理项、 热线号码或立即热线号码处理项等。 其中, 反极处理 项对应的动作为 SIP UA向用户下发反极信号; 计费处理项^ "应的动作为 SIP UA向用户下发计费信号, 如 16K赫兹脉冲信号、反极脉冲信号等; 信号音或 语音通知处理项对应的动作为 SIP UA向用户下发信号音或语音通知、 或 SIP UA向指定音资源发起呼叫;热线号码或立即热线号码处理项对应的动作为 SIP UA发起呼叫 , 例如发送 SIP INVITE消息。 拍叉事件对应的处理项也包括信号音或语音通知处理项,还包括保持处理 项、 恢复处理项等, 也可以是其任意组合。 其中, 所述保持处理项对应的动作 为 SIP UA 向用户下发会话描述协议 ( Session Description Protocol , 筒称 "SDP" ), 为保持下发动作向对端发送 SDP, 例如, 发送 SIP re-INVITE (重新 发起呼叫)消息; 所述恢复处理项对应的动作为 SIP UA向用户下发 SDP的恢 复动作、 或向对端发送 SDP的恢复动作, 同样, 例如发送 SIP UPDATE消息 或 SIP re-INVITE消息。 挂机事件对应的处理项包括: 释放处理项、 转移处理项或其任意组合等。 其中,所述释放处理项对应的动作为 SIP UA释放呼叫,例如,发送 BYE消息; 转移处理项对应的动作为 SIP UA将和用户相关的两个呼叫转移为一个呼叫, 例如, 发送 SIP REFER (参考) 消息。 而拨号事件对应的配置项包括: 拨号范式处理项。该处理项又由信号音或 语音通知处理项、 号码规则配置项等组成。 其中, 号码规则配置项对应的动作 为 SIP UA将用户拨打的号码收集全后发起的呼叫动作。 该动作比较特珠, 既 可以将用户所拨的号码收集全后,将号码通过发起的呼叫动作传递给 PES AS , 由 PES AS根据该号码进行对应的业务处理, 也可以由 SIP UA直接根据所拨 的号码进行对应的处理。 其中, 所述业务包括呼出业务、 补充业务激活、 补充 业务数据操作等。 如果所拨号码表示的是补充业务激活或补充业务数据操作, 则号码规则配置项对应的动作包括请求动作 (如发送 SIP SUBSCRIBE消息)、 数据操作动作 (如发送 HTTP/XCAP消息)、 释放动作、 保持动作、 恢复动作 等。 The embodiment of the present invention provides a logical description of possible operations of the user and possible network side actions caused by the operations according to the user's current business application environment by the configuration delivery server, and uses this logical description as a configuration. The file is passed to the communication device. After detecting the operation event of the user, the communication device uses the configuration file to perform matching, obtains the corresponding action described in the configuration file, and directly performs the action. The communication device may be an access device with an access gateway control function AGCF or a SIP IAD as a SIP UA, but is not limited thereto, and may be other devices. The configuration delivery server may be a PES AS. Wait. The SIP UA is taken as an example to illustrate that the SIP UA receives at least one of the following events from the user: an off-hook event, a flash event, an on-hook event, or a dial-up event. In addition, a timeout event may occur, that is, when the network side waits for the user's next operation event after the user completes an operation event, if the user does not perform the next operation within the specified time, the network side generates a timeout event, for example, After the user picks up the phone, the network side will wait for the user to dial and start a timer (such as a 10-second timer). If no operation event is received from the user within the time limit of the timer, the network side will generate a timeout event. And start timeout processing; or after the user calls into a stable state (if the call has been established), the network needs to periodically manage the user in this state, then the network side will also A timeout event is generated. For example, in the state of the user's call, the network periodically sends a charging signal to the user (for example, every 3 minutes). As a protection for the session, the timeout event triggered by the timer and its processing are in each operation event from the user and its corresponding processing action. Therefore, the timer setting mainly sets the timer duration and timeout processing action. The timeout processing action may be that the SIP UA sends an indication to the user, the SIP UA sends a message to the network side, and the SIP UA sets its own timer. The timer settings can come from the default settings of the SIP UA or from the configuration file. Obviously, the operational events from the user are limited. After the operation event performed by the user, the action that the SIP UA may perform is also fixed according to the current service application environment of the user: For the operation event of the user, the SIP UA sends an instruction to the user (you may not issue any indication, or Simultaneously issuing multiple indications, such as listening indication, reverse polarity indication, billing signal indication, display indication, etc.; SIP UA sends a message to the network side (may not send any message, but also can send multiple messages at the same time) ; SIP UA sets its own timer. Specifically, the actions performed by the SIP UA to receive an operation event from the user are as follows. The processing item corresponding to the off-hook event includes at least one of the following: a reverse polarity processing item, a billing processing item, a signal tone or a voice notification processing item, a hotline number, or an immediate hotline number processing item. The action corresponding to the reverse polarity processing item is that the SIP UA sends a reverse polarity signal to the user; the action of the charging processing item ^ is that the SIP UA sends a charging signal to the user, such as a 16K Hz pulse signal and a reverse polarity pulse signal. The action corresponding to the signal tone or the voice notification processing item is that the SIP UA sends a signal tone or a voice notification to the user, or the SIP UA initiates a call to the designated sound resource; the action corresponding to the hotline number or the immediate hotline number processing item is initiated by the SIP UA. The call, for example, sends a SIP INVITE message. The processing item corresponding to the flashing event also includes a signal tone or a voice notification processing item, and further includes a hold processing item, a recovery processing item, and the like, or any combination thereof. The corresponding action is that the SIP UA sends a Session Description Protocol (SDP) to the user, and sends an SDP to the peer to maintain the sending action, for example, sending a SIP re-INVITE message. The action corresponding to the recovery processing item is that the SIP UA sends an SDP recovery action to the user, or sends an SDP recovery action to the peer end. Similarly, for example, sending a SIP UPDATE message or SIP re-INVITE message. The processing items corresponding to the on-hook event include: a release processing item, a transfer processing item, or any combination thereof. The action corresponding to the release processing item is a SIP UA release call, for example, sending a BYE message; the action corresponding to the transfer processing item is that the SIP UA transfers two calls related to the user into one call, for example, sending a SIP REFER ( Reference News. The configuration items corresponding to the dialing event include: Dialing paradigm processing items. The processing item is further composed of a signal tone or a voice notification processing item, a number rule configuration item, and the like. The action corresponding to the number rule configuration item is a call action initiated by the SIP UA to collect the number dialed by the user. The action compares the special bead, and the number of the number dialed by the user can be collected, and the number is transmitted to the PES AS through the initiated call action, and the PES AS performs the corresponding service processing according to the number, or can be directly used by the SIP UA. The dialed number is processed accordingly. The service includes an outgoing service, a supplementary service activation, a supplementary service data operation, and the like. If the dialed number indicates a supplementary service activation or supplementary service data operation, the action corresponding to the number rule configuration item includes a request action (such as sending a SIP SUBSCRIBE message), a data operation action (such as sending an HTTP/XCAP message), a release action, Keep the action, resume the action, etc.
因此, 根据用户的操作事件和对应的处理动作来生成配置文件是可行的。 经过大量的实验总结和验证, 本发明给出了符合上述描述的 XML Schema文 件,采用该 XML Schema文件可以定义配置文件的结构 ,约束配置文件的内容。 XML Schema文件内容如下:  Therefore, it is feasible to generate a configuration file according to the user's operation event and the corresponding processing action. After a lot of experimental summarization and verification, the present invention presents an XML Schema file that conforms to the above description. The XML Schema file can be used to define the structure of the configuration file and constrain the contents of the configuration file. The contents of the XML Schema file are as follows:
<?xml version- 11.0" encoding=1,UTF-8"?> <?xml version- 1 1.0" encoding= 1, UTF-8"?>
<xs:schema xmlns- 'urn-.ietfiparamstxmliprofile" xmlns:xs="http://www.w3.org/2001 X LSchema"  <xs:schema xmlns- 'urn-.ietfiparamstxmliprofile" xmlns:xs="http://www.w3.org/2001 X LSchema"
targetNamespace="urn:ietf:params:xml:profiIe" elementFormDefaulfqualified" attributeFormDefault="unqualified"> targetNamespace="urn:ietf:params:xml:profiIe" elementFormDefaulfqualified" attributeFormDefault="unqualified">
<xs: element name="profile">  <xs: element name="profile">
<xs:complexType>  <xs:complexType>
<xs:sequence>  <xs:sequence>
<xs: element rei=="offhook" minOccurs="0"/>  <xs: element rei=="offhook" minOccurs="0"/>
<xs:element ref=Mhooking" minOccurs="0"/> <xs:element ref= M hooking"minOccurs="0"/>
<xs:element ref="dial" mmOccurs- '0"/>  <xs:element ref="dial" mmOccurs- '0"/>
<xs:element ref="onhook" minOccurs="0"/>  <xs:element ref="onhook" minOccurs="0"/>
<xs: element name="timer" type="tTimer" minOccurs="0'7>
Figure imgf000011_0001
<xs: element name="timer"type="tTimer"minOccurs="0'7>
Figure imgf000011_0001
 .
。〉 . 〉
baurit Axs:ue> Baurit Axs:ue>
Figure imgf000012_0001
Figure imgf000012_0001
namen Namen
<xs: attribute name="requestURI" type-"xs:anyURI" use="optionaI"/> <xs: attribute
Figure imgf000013_0001
<xs: attribute name="requestURI"type-"xs:anyURI"use="optionaI"/><xs: attribute
Figure imgf000013_0001
</xs:complexType>  </xs:complexType>
</xs:element> </xs:element>
<xs:element name=,,to-user"> <xs:element name= ,, to-user">
<xs:complexType>  <xs:complexType>
<xs:sequence>  <xs:sequence>
<xs:element ref="pulse-info" minOccurs="0"/> <xs: element name="FSKbody" type="xs: string" minOccurs="0"/> <xs: element name="Tonetype" type="xs:string" minOccurs=l,0'7> </xs:sequence> <xs:element ref="pulse-info"minOccurs="0"/><xs: element name="FSKbody"type="xs:string"minOccurs="0"/><xs: element name="Tonetype"Type="xs:string" minOccurs =l, 0'7></xs:sequence>
<xs: attribute name="needed" type="xs:boolean" use- 'required"/> <xs: attribute
Figure imgf000013_0002
<xs: attribute name="needed"type="xs:boolean" use- 'required"/><xs: attribute
Figure imgf000013_0002
<xs:simpleType>  <xs:simpleType>
<xs:restriction base="xs:string">  <xs:restriction base="xs:string">
<xs: enumeration value="tone'7>  <xs: enumeration value="tone'7>
<xs: enumeration value=,,FSK"/> <xs: enumeration value =,, FSK"/>
<xs:enumeration value- 'xal-Ias"/>  <xs:enumeration value- 'xal-Ias"/>
<xs: enumeration value="pulse'7>  <xs: enumeration value="pulse'7>
</xs:restriction>  </xs:restriction>
</xs:simpleType>  </xs:simpleType>
</xs:attribute>  </xs:attribute>
<xs: attribute name="timelengh" type="xs:integer" use="optional > </xs:complexType>  <xs: attribute name="timelengh" type="xs:integer" use="optional > </xs:complexType>
</xs:element> </xs:element>
<xs:complexType name="tTimer">  <xs:complexType name="tTimer">
<xs:sequence>  <xs:sequence>
<xs:element name="timerlength" type="xs:integer" minOccurs="0'7> <xs: element ref="timeoutaction" minOccurs=n0"/> </xs:sequence> <xs:element name="timerlength"type="xs:integer"minOccurs="0'7><xs: element ref="timeoutaction" minOccurs= n 0"/> </xs:sequence>
<xs:attribute name="startup" type=,,xs:boolean" use="required"/> <xs:attribute name="startup" type =,, xs:boolean"use="required"/>
</xs:complexType> </xs:complexType>
<xs:element name="dial-pattern"> <xs:element name="dial-pattern">
<xs:complexType>  <xs:complexType>
<xs:sequence>  <xs:sequence>
<xs:element name- 'flush" minOccurs="0">  <xs:element name- 'flush" minOccurs="0">
<xs:cornplexType>  <xs:cornplexType>
<xs:simpleContent>  <xs:simpleContent>
<xs: extension base- 'xs:string" >  <xs: extension base- 'xs:string" >
</xs:simpleContent>  </xs:simpleContent>
</xs:complexType>  </xs:complexType>
</xs:element>  </xs:element>
<xs: element name="regex" maxOccurs="unbounded">  <xs: element name="regex" maxOccurs="unbounded">
<xs:complexType mixed=,,true"> <xs:complexType mixed= ,, true">
<xs:choice>  <xs:choice>
<xs:element name="pre" minOccurs="0">  <xs:element name="pre" minOccurs="0">
<xs: complexType>  <xs: complexType>
<xs:simpleContent>  <xs:simpleContent>
<xs: extension base="xs:string > </xs:simpleContent>  <xs: extension base="xs:string > </xs:simpleContent>
</xs: complexType>  </xs: complexType>
</xs:element </xs:element
Figure imgf000014_0001
Figure imgf000014_0001
</xs:choice>  </xs:choice>
<xs: attribute name="cleanup" type="xs:boolean" use="optional'V> <xs: attribute name="method" use="optional">  <xs: attribute name="cleanup" type="xs:boolean" use="optional'V> <xs: attribute name="method" use="optional">
<xs:simpleType>  <xs:simpleType>
<xs:restriction base="xs:string"> <xs:enumeration value="invite'7> <xs:restriction base="xs:string"> <xs:enumeration value="invite'7>
<xs:enumeration value~"infomation"/>  <xs:enumeration value~"infomation"/>
</xs:restriction>  </xs:restriction>
</xs:simpleType>  </xs:simpleType>
</xs:attribute>  </xs:attribute>
<xs: attribute name="tone" type="xs:string" use="optiona '/>  <xs: attribute name="tone" type="xs:string" use="optiona '/>
<xs:attribute name- 'newRequestURI" type- 'xs:anyURI" use="optionar7> <xs:attribute name=:"tag" type="xs:string" use="optional"/> <xs:attribute name- 'newRequestURI" type- 'xs:anyURI"use="optionar7><xs:attribute name= : "tag"type="xs:string"use="optional"/>
<xs: attribute
Figure imgf000015_0001
<xs: attribute
Figure imgf000015_0001
</xs:complexType>  </xs:complexType>
</xs:element>  </xs:element>
</xs:sequence>  </xs:sequence>
<xs: attribute name="persist" use="optional">  <xs: attribute name="persist" use="optional">
<xs:simpIeType>  <xs:simpIeType>
<xs:restriction base="xs:string">  <xs:restriction base="xs:string">
<xs:enumeration value="one-shot"/>  <xs:enumeration value="one-shot"/>
<xs:enumeration value="persist"/>  <xs:enumeration value="persist"/>
<xs:enumeration value="single-notify,7> <xs:enumeration value="single-notify , 7>
</xs:restriction>  </xs:restriction>
</xs:simpleType>  </xs:simpleType>
</xs:attribute>  </xs:attribute>
<xs:attribute name^" interdigittimer" type="xs:integer" use="optiona 7>  <xs:attribute name^" interdigittimer" type="xs:integer" use="optiona 7>
<xs: attribute
Figure imgf000015_0002
<xs: attribute
Figure imgf000015_0002
<xs: attribute name^'^xtradigittimer" type="xs:integer" use="optionar7>  <xs: attribute name^'^xtradigittimer" type="xs:integer" use="optionar7>
<xs: attribute
Figure imgf000015_0003
<xs: attribute
Figure imgf000015_0003
<xs:attribute name=M longrepeat" type="xs:boolean" use="optional"/> <xs:attribute name= M longrepeat"type="xs:boolean"use="optional"/>
<xs:attribute name="nopartial" t pe="xs:boolean" use="optional"/>  <xs:attribute name="nopartial" t pe="xs:boolean" use="optional"/>
<xs:attribute name=, enterkey" type="xs:stringn use="optional"/> <xs:attribute name= , enterkey"type="xs:string n use="optional"/>
</xs:complexType>
Figure imgf000016_0001
</xs:complexType>
Figure imgf000016_0001
〇7〇 maxv- <xs:element name="Pulse-repetition-intervar' type="xs:integer'7> 〇7〇maxv- <xs:element name="Pulse-repetition-intervar'type="xs:integer'7>
<xs:element name- ' AX-PCCr1 type="xs: integer"/> <xs:element name- ' AX-PCCr 1 type="xs: integer"/>
<xs: element name="REPX" type="xs:integer'V>  <xs: element name="REPX" type="xs:integer'V>
<xs: element
Figure imgf000017_0001
<xs: element
Figure imgf000017_0001
<xs: element name="PCN" type="xs:integer"/>  <xs: element name="PCN" type="xs:integer"/>
<xs: element name="CI" type="xs:integer"/>  <xs: element name="CI" type="xs:integer"/>
<xs:element name- 'PD" type="xs:integer'7>  <xs:element name- 'PD" type="xs:integer'7>
</xs:sequence>  </xs:sequence>
</xs:complexType>  </xs:complexType>
</xs:element>  </xs:element>
</xs:schema> 为了便于本领域技术人员的理解, 下面结合具体的实施例来说明本发明。 请参阅图 3 , 为本发明第一实施例的通信业务处理方法的流程图, 其中, 通信 设备以 SIP UA为例, 用户为传统的终端用户。 在步骤 301 中, 在用户注册后, SIP UA 向配置递送服务器发送 SIP SUBSCRIBE消息请求该用户当前业务环境下的配置文件, 其中包括操作事件 和对应动作。 在步骤 302中, 配置递送服务器返回请求的确认信息, 并根据该用户的签 约数据和当前业务应用环境生成该用户的配置文件。 在该配置文件中描述 SIP UA在用户当前业务应用环境下处理该用户摘机、 拍叉、 拨号和挂机操作的网 络侧处理动作。 其中, 摘机动作处理为给用户送拨号音, 按给定的拨号范式收 </xs: Schema> In order to facilitate the understanding of those skilled in the art, the present invention will be described below in conjunction with specific embodiments. Referring to FIG. 3, it is a flowchart of a method for processing a communication service according to a first embodiment of the present invention. The communication device uses a SIP UA as an example, and the user is a traditional terminal user. In step 301, after the user registers, the SIP UA sends a SIP SUBSCRIBE message to the configuration delivery server to request a configuration file of the current business environment of the user, including an operation event and a corresponding action. In step 302, the delivery server is configured to return the confirmation information of the request, and the configuration file of the user is generated according to the subscription data of the user and the current business application environment. In this configuration file, the SIP UA processes the network side processing action of the user's off-hook, flashing, dialing, and on-hook operations in the current service application environment of the user. Among them, the off-hook action is to send a dial tone to the user, according to the given dialing paradigm
在步骤 303中, 配置递送服务器通过 NOTIFY消息携带该用户配置文件, 并将该消息发送给 SIP UA。 在步骤 304中, SIP UA返回收到 NOTIFY消息的确认信息。 在步骤 305中, 用户摘机, 摘机事件上报到 SIP UA。 在步骤 306中, SIP UA检测到的该用户的摘机事件, 根据摘机事件, 匹 配配置文件, 并根据匹配结果向用户播放拨号音动作。这种通过匹配配置文件 中的操作事件来执行对应动作的方法, 大大降低了 SIP UA的处理复杂度。 在步骤 307, 用户听得拨号音后, 可以进行拨号。 该拨号事件也通过终端 上报给 SIP UA。 在步骤 308中, SIP UA根据配置文件按给定的拨号范式收号, 当用户拨 号完全匹配拨号范式时, SIP UA按配置文件中描述的拨号范式完全匹配后, 根据拨号事件, 执行邀请。 在步骤 309中, SIP UA根据配置文件的指示向网络侧发送消息, 其中包 括消息类型和消息目的地址, 例如消息的类型为 SEP INVITE、 消息目的地址 为热线 AS地址, SIP UA即向热线 AS发送登记热线的 SIP INVITE消息。 在步骤 310中, PES AS向 SIP UA返回登记热线成功的响应信息。 此后,如果用户当前业务应用环境发生改变, 则配置递送服务器将生成新 的配置文件。 在步骤 311中, 配置递送服务器根据 SIP UA对该用户配置文件的请求, 向 SIP UA发送事件变更的 NOTIFY消息, 并通过该消息, 将当前用户的配置 文件传递给 SIP UA。例如, 在新的配置文件中描述当前 SIP UA处理用户摘机 事件所执行的动作为给用户送拨号音,并启动 5秒定时器,在该定时时间内如 果用户未拨号, 则停止给用户送音, 并发送 SIP INVITE消息到所登记的热线 号码, 例如, 所登记的热线号码为 86-10-88886666。 在步骤 312中, SIP UA对收到的变更通知返回确认信息。 在步骤 313中, 用户再次进行摘机操作, 该操作事件同样上报给 SIP UA。 在步骤 314中, SIP UA根据更新后的配置文件来进行操作事件的匹配, 根据匹配结果, 向用户播放拨号音并启动时长为 5秒的定时器。 在步骤 315中,如果定时器超时用户仍未拨号,根据配置文件,则 SIP UA 自动停止给用户送音, 并将启用热线业务, 向用户所登记的热线号码, 例如为 所登记的 86-10-88886666 起呼叫。 上述实施例中 , SIP UA从配置服务器获得配置文件的方法是 SIP UA向配 置递送服务器请求配置, 配置递送服务器在事件通知消息 (Notify ) 中携带配 置文件给 SIP UA。事实上,配置递送服务器可以向 SIP UA主动通知配置文件, 如用户业务应用环境发生变化引发其配置文件变化时,配置递送服务器主动发 送 SIP PUBLISH发布消息、 或将 SIP INPO消息发送给 SIP UA, 并在消息中 携带用户的配置文件; 再如当配置递送月良务器位于会话信令路由中时, 配置递 送服务器可以在给 SIP UA的 SIP响应消息中携带用户的配置文件, 如 183响 应码消息、 200响应码消息等, 配置递送服务器同样可以釆用这种方式刷新用 户的配置文件给 SIP UA; 再如, SIP UA还可以通过 HTTP接口、 甚至自定义 接口等从配置递送服务器获得配置文件, 通过这些接口, SIP UA可以向配置 递送服务器请求配置文件, 配置递送服务器也可以向 SIP UA主动通知配置文 件。 而这些方式同样适用于本发明中其他实施例中 SIP UA从配置递送服务器 获得配置文件。 此外, SIP UA还可以将一批用户作为一个群组集合向配置递 送服务器请求配置, 以避免向配置递送服务器发起多个请求,这些用户可以共 用同一个配置文件。 再请参阅图 4, 为本发明第二实施例的通信业务处理方法的流程图, 如图 4所示, 在步骤 401中,用户有留言指示,因此,用户当前业务应用环境发生改变, 配置递送服务器将更新当前该用户的配置文件。 根据 SIP UA的对该配置文件 的请求, 配置递送服务器向 SIP UA发送事件的 NOTIFY消息, 并携带该配置 文件发生变化的部分, 例如, 在当前业务应用环境下, 用户摘机事件所对应的 SIP UA动作为给用户送留言指示信号音。 由配置递送服务器才艮据业务环境的变化更新当前的用户配置文件,并通知 请求了该配置文件的 SIP UA新的配置文件或仅通知该配置文件的变更部分, 使得 SIP UA的处理得到简化, 并能适应业务环境的变化。 在步骤 402中, SIP UA向配置递送服务器返回收到 OTIFY消息的确认 信息。 在步驟 403中, 用户摘机, 摘机事件上报到 SIP UA。 在步骤 404中, SIP UA匹配配置文件, 根据配置文件中摘机事件的处理 描述, 直接给用户送留言指示信号音。 上述实施例的通信业务处理方法应用于 PES,其中, SIP UA可以通过 SIP 或 HTTP向网络侧发送消息 ,而通过 SIP向网络侧发送的消息包括 SIP INVITE 消息、 SIP REFER消息、 SIP SUBSCRIBE消息、 SIP UPDATE消息等。 In step 303, the configuration delivery server carries the user profile through a NOTIFY message and sends the message to the SIP UA. In step 304, the SIP UA returns an acknowledgement message that the NOTIFY message was received. In step 305, the user picks up the phone and the off-hook event is reported to the SIP UA. In step 306, the off-air event of the user detected by the SIP UA is based on an off-hook event. A configuration file is provided, and a dial tone action is played to the user according to the matching result. This method of performing corresponding actions by matching operational events in the configuration file greatly reduces the processing complexity of the SIP UA. In step 307, after the user hears the dial tone, dialing can be performed. The dialing event is also reported to the SIP UA through the terminal. In step 308, the SIP UA receives the number according to the given dialing paradigm according to the configuration file. When the user dials the dialing paradigm completely, the SIP UA performs the matching according to the dialing event after the dialing paradigm described in the configuration file is completely matched. In step 309, the SIP UA sends a message to the network side according to the indication of the configuration file, including the message type and the message destination address, for example, the message type is SEP INVITE, the message destination address is the hotline AS address, and the SIP UA sends the message to the hotline AS. Register the hotline's SIP INVITE message. In step 310, the PES AS returns a response message to the SIP UA that the registration hotline was successful. Thereafter, if the user's current business application environment changes, the configuration delivery server will generate a new configuration file. In step 311, the delivery server is configured to send a NOTIFY message of the event change to the SIP UA according to the SIP UA request for the user profile, and pass the current user's configuration file to the SIP UA through the message. For example, in the new configuration file, the current SIP UA processing user off-hook event is performed to send a dial tone to the user, and a 5-second timer is started. If the user does not dial the time, the user is stopped. Tone, and send a SIP INVITE message to the registered hotline number. For example, the registered hotline number is 86-10-88886666. In step 312, the SIP UA returns a confirmation message to the received change notification. In step 313, the user performs an off-hook operation again, and the operation event is also reported to the SIP UA. In step 314, the SIP UA performs matching of the operation events according to the updated configuration file, and according to the matching result, plays a dial tone to the user and starts a timer with a duration of 5 seconds. In step 315, if the timer has expired and the user still has not dialed, according to the configuration file, the SIP UA automatically stops sending the tone to the user, and the hotline service is enabled, and the hotline number registered to the user, for example, the registered 86-10. -88886666 to call. In the above embodiment, the method for the SIP UA to obtain the configuration file from the configuration server is that the SIP UA requests the configuration from the configuration delivery server, and the configuration delivery server carries the configuration file to the SIP UA in the event notification message (Notify). In fact, the configuration delivery server can actively notify the SIP UA of the configuration file, such as when the user service application environment changes and causes its configuration file to change, the configuration delivery server actively sends a SIP PUBLISH release message, or sends a SIP INPO message to the SIP UA, and Carrying the user's configuration file in the message; if the configuration delivery server is located in the session signaling route, the configuration delivery server may carry the user's configuration file, such as the 183 response code message, in the SIP response message to the SIP UA. , 200 response code messages, etc., the configuration delivery server can also use this way to refresh the user's configuration file to the SIP UA; for example, the SIP UA can also obtain the configuration file from the configuration delivery server through an HTTP interface or even a custom interface. Through these interfaces, the SIP UA can request a configuration file from the configuration delivery server, and the configuration delivery server can also actively notify the SIP UA of the configuration file. These methods are equally applicable to other embodiments of the present invention in which the SIP UA obtains a configuration file from a configuration delivery server. In addition, the SIP UA can also configure a batch of users as a group collection to configure the delivery server to avoid multiple requests to the configuration delivery server, which can share the same configuration file. Referring to FIG. 4, which is a flowchart of a method for processing a communication service according to a second embodiment of the present invention, as shown in FIG. 4, in step 401, the user has a message indication, and therefore, the current service application environment of the user changes, and the configuration is delivered. The server will update the current user's profile. According to the request of the configuration file of the SIP UA, the delivery server sends a NOTIFY message to the SIP UA, and carries a part of the configuration file, for example, in the current service application environment, the SIP corresponding to the off-hook event of the user. The UA action is to send a message indicating tone to the user. The configuration of the SIP UA is simplified by the configuration delivery server updating the current user profile according to changes in the business environment, and notifying the SIP UA new profile requesting the profile or only notifying the changed portion of the profile. And can adapt to changes in the business environment. In step 402, the SIP UA returns an acknowledgment message to the configuration delivery server that the OTIFY message was received. In step 403, the user picks up the phone and the off-hook event is reported to the SIP UA. In step 404, the SIP UA matches the configuration file, and directly sends a message indicating tone to the user according to the processing description of the off-hook event in the configuration file. The communication service processing method of the foregoing embodiment is applied to the PES, where the SIP UA can send a message to the network side through SIP or HTTP, and the message sent to the network side through the SIP includes a SIP INVITE message, a SIP REFER message, a SIP SUBSCRIBE message, and a SIP. UPDATE message, etc.
还请参阅图 5, 为本发明的实施例所述通信业务处理装置的结构示意图, 所述装置包括: 获取单元 51、 检测单元 52和业务处理单元 53。 其中, 所述获 取单元 52, 用于获取用户的配置文件, 所述配置文件包括操作事件; 所述检 测单元 52, 与获取单元 51相连, 用于实时检测配置文件, 并发送将测到配置 文件的检测结果; 所述业务处理单元 53 , 与检测单元 53相连, 用于接收检测 结果, 并根据预先设置该检测结果中的对应动作执行业务逻辑处理。  FIG. 5 is a schematic structural diagram of a communication service processing apparatus according to an embodiment of the present invention. The apparatus includes: an obtaining unit 51, a detecting unit 52, and a service processing unit 53. The obtaining unit 52 is configured to acquire a configuration file of the user, where the configuration file includes an operation event, and the detecting unit 52 is connected to the obtaining unit 51, configured to detect the configuration file in real time, and send the detected configuration file. The service processing unit 53 is connected to the detecting unit 53 for receiving the detection result, and performing the business logic processing according to the corresponding action in the setting of the detection result in advance.
所述装置中各个单元的功能和作用详见上述方法中各个步骤,在此不再赘 述。 再请参阅图 6, 为本发明的实施例所述通信业务处理系统的结构示意图, 如图 6所示, 包括: 传统终端(即用户) 61、 配置递送月艮务器 63和通信设备, 以 SIP用户代理 62 ( SIP UA )为例, 但并不限于此。 传统终端 61与 SIP用户 代理 62通过接口 E1相连,而 SIP用户代理 62与配置递送服务器 63通过接口 E2相连。 其中, 所述配置递送服务器 63, 用于提供该用户的配置文件, 所述 配置文件包括操作事件; 所述通信设备 62, 用于从所述配置递送服务器中获 取用户的配置文件,如果检测到所述配置文件中的操作事件, 则根据预先设置 该配置文件中的对应动作执行业务逻辑处理。 具体地说, 配置递送服务器 63根据用户的签约数据和业务应用环境提供 用户的配置文件, 其中包括操作事件。  The functions and functions of the various units in the device are described in detail in the above steps, and will not be described again. Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a communication service processing system according to an embodiment of the present invention. As shown in FIG. 6, the method includes: a legacy terminal (ie, a user) 61, a configuration delivery server 63, and a communication device. The SIP User Agent 62 (SIP UA) is taken as an example, but is not limited thereto. The legacy terminal 61 is connected to the SIP user agent 62 via interface E1, and the SIP user agent 62 is connected to the configuration delivery server 63 via interface E2. The configuration delivery server 63 is configured to provide a configuration file of the user, where the configuration file includes an operation event, and the communication device 62 is configured to acquire a configuration file of the user from the configuration delivery server, if the detection is detected. The operation event in the configuration file performs business logic processing according to a corresponding action in the configuration file preset. Specifically, the configuration delivery server 63 provides the user's profile, including operational events, based on the user's subscription data and the business application environment.
SIP UA62则用于从配置递送服务器 63获取用户的配置文件,检测该用户 执行的操作事件,如果检测到配置文件中的操作事件, 则根据预置该配置文件 中的对应动作执行业务逻辑处理。 根据上述实施方法和系统, 通过配置文件实现的业务包括: 热线业务、 用 户欠费摘机听欠费音、 用户有新留言后摘机听留言指示信号音、 缩位拨号、群 用户摘机出群拨号听二次拨号音、 拍叉处理等。 对于用户签约的立即热线业务, 例如, 热线号码为" abcd@home.com", 釆 用 XML描述的配置文件为: The SIP UA 62 is configured to acquire a configuration file of the user from the configuration delivery server 63, detect an operation event performed by the user, and if an operation event in the configuration file is detected, perform business logic processing according to a corresponding action in the preset configuration file. According to the foregoing implementation method and system, the services implemented by the configuration file include: hotline service, user owed to pay off the hook to listen to the fee, after the user has a new message, pick up the phone to listen to the message indication tone, abbreviated dialing, group The user picks up the group and dials the group to listen to the secondary dial tone, the fork processing, and the like. For the immediate hotline service that the user subscribes to, for example, the hotline number is "abcd@home.com", the configuration file described in XML is:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<profiIe xmlns="urn:ietf:params:xml:proflle" version- Ό" state="fuH">  <profiIe xmlns="urn:ietf:params:xml:proflle" version- Ό" state="fuH">
<offhook allow="true">  <offhook allow="true">
<to-network needed="true" method^" invite" requestURI="abcd@home.com"/>  <to-network needed="true" method^" invite" requestURI="abcd@home.com"/>
<to-user needed="false'7>  <to-user needed="false'7>
<timer startup="false"/>  <timer startup="false"/>
</offhook>  </offhook>
<hooking allow="false'7>  <hooking allow="false'7>
<dial allow="falseM/> <dial allow="false M />
<onhook allow="false"/>  <onhook allow="false"/>
</profile> 这段 XML描述的配置为: SIP UA在用户未摘机前仅能处理用户的摘机操 作, 在用户摘机之后, 立刻发送 SIP INVITE消息到地址" abpd@home.com"。 </profile> The configuration of this XML description is as follows: The SIP UA can only handle the user's off-hook operation before the user picks up the phone. After the user picks up the phone, the SIP INVITE message is sent to the address "abpd@home.com".
SIP UA在接收到用户注册成功的确认消息时, 主动通过 SIP SUBSCRIBE 消息向配置递送服务器请求用户的配置文件 (profile )。 配置递送服务器根据 用户的签约数据, 查询用户当前签约的热线业务, 其热线号码为 "abcd@home.com", 生成上述配置文件, 或者用户在登记热线业务成功后, 其 业务应用环境发生了变化, 配置递送服务器在向 SIP UA发送的 NOTIFY消息 中携带该配置文件。 在该配置文件中, 作为"配置标识"的" profile"为扩展的 MIME媒体类型, 该 MIME媒体类型可以定义如下: Upon receiving the confirmation message that the user is successfully registered, the SIP UA actively requests the configuration delivery server for the user's profile through the SIP SUBSCRIBE message. Configuring the delivery server to query the hotline service currently signed by the user according to the subscription data of the user. The hotline number is "abcd@home.com", and the configuration file is generated, or the service application environment changes after the user successfully registers the hotline service. The configuration delivery server carries the configuration file in a NOTIFY message sent to the SIP UA. In this configuration file, the "profile" as the "configuration ID" is the extended MIME media type, which can be defined as follows:
Media type name: application Media type name: application
Media subtype name: profile+xml  Media subtype name: profile+xml
Required parameters: none Encoding scheme: XML 该定义中的扩展事件包" profile"用于在 NOTIFY消息中传输配置文件给请 求的用户 ( Subscriber )。 该扩展事件包表示的名字 ( event-package token name ) 是: "profile" , 该扩展的事件包中未定义其它的参数。 在该扩展事件包中, 请求配置的 SIP SUBSCRIBE消息 Event头域或携带 配置的 NOTIFY消息 Event头域如下所示: Event: profile; 对于用户欠费,摘机听欠费音,并且不允许该用户呼出的业务,采用 XML 描述的配置文件为: Required parameters: none Encoding scheme: XML The extended event package "profile" in this definition is used to transfer the configuration file to the requesting user ( Subscriber ) in the NOTIFY message. The name of the extended event package ( event-package token name ) is: "profile" , and no other parameters are defined in the extended event package. In the extended event package, the configured SIP SUBSCRIBE message Event header field or the configured NOTIFY message Event header field is as follows: Event: profile; For the user's arrears, the off-hook hears the fee and does not allow the user For outgoing services, the configuration file described in XML is:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<profile xmlns="um:ietf:pararas:xml:profile" version="0" state="full,r> <profile xmlns="um:ietf:pararas:xml:profile"version="0"state="full ,r >
<ofihook allow="true">  <ofihook allow="true">
<to-network needed="true" method=" invite" requestURI="arrearage-toneMRFC@example.com'7>  <to-network needed="true" method=" invite" requestURI="arrearage-toneMRFC@example.com'7>
<to-user needed-' alse''^  <to-user needed-' alse''^
<timer startup="true">  <timer startup="true">
<timerlength>30000</timerlength>  <timerlength>30000</timerlength>
<timeoutaction>  <timeoutaction>
<to-network needed- 'true1' method="bye" requestURI="arrearage-toneMRPP@example.com,,/> <to-network needed- 'true 1 'method="bye"requestURI="arrearage-toneMRPP@example.com ,, />
<to-user needed="true" type="tone">  <to-user needed="true" type="tone">
<tonet pe>busy-tone</tonetype>  <tonet pe>busy-tone</tonetype>
</to-user>  </to-user>
<timer startup="truen> <timer startup="true n >
<timerlength>60000</timerlength>  <timerlength>60000</timerlength>
<timeoutaction>  <timeoutaction>
<to-network needed="false"/>  <to-network needed="false"/>
<to-user needed="true" t pe="tone">  <to-user needed="true" t pe="tone">
<tonetype>howling-tone</tonet pe>  <tonetype>howling-tone</tonet pe>
</to-user>  </to-user>
</timeoutaction> </timer> </timeoutaction> </timer>
</timeoutaction>  </timeoutaction>
</timer>  </timer>
</offhook>  </offhook>
<hooking allow="false7>  <hooking allow="false7>
<dial aIlow="false"/>  <dial aIlow="false"/>
<onhook allow="false"/>  <onhook allow="false"/>
</profile> 这段 XML描述的配置为: 当用户摘机时, SIP UA应发送 SIP INVITE消 息到媒体控制资源申请欠费音资源, SIP INVITE消息的 "request-U T即为指定 的欠费音资源标识" arrearage-toneMRPC@example.com"。然后, SIP UA给用户 播放欠费音, 若用户在 30秒内无其它操作时, SIP UA给媒体控制资源发送 BYE消息释放音资源, 改由用户终端给用户放忙音。 放忙音时长为 60秒, 超 时改放嗥鸣音。 用户摘机听欠费音后, 配置递送服务器通过 NOTIFY消息给 SIP UA发送更新后的配置文件, 其中, 在听欠费音时, 如果用户挂机, 释放 欠费音资源的描述如下: </profile> The configuration of this XML description is as follows: When the user picks up the phone, the SIP UA should send a SIP INVITE message to the media control resource to apply for the arrears tone resource. The "request-U T of the SIP INVITE message is the specified arrears. The voice resource identifier is "arrearage-toneMRPC@example.com". Then, the SIP UA plays the underpaid tone to the user. If the user has no other operations within 30 seconds, the SIP UA sends a BYE message to the media control resource to release the sound resource. The user terminal sends a busy tone to the user. The duration of the busy tone is 60 seconds, and the audible tone is changed. The user configures the delivery server to send the updated configuration file to the SIP UA through the NOTIFY message after the user picks up the audible tone. When the user hangs up, if the user hangs up, the description of releasing the audible resource is as follows:
<?xml version="1.0" encoding-,,UTF-8"?> <?xml version="1.0" encoding- , , UTF-8"?>
<profile xmlns="urn:ietf:params:xml:profile" version="0" state="full">  <profile xmlns="urn:ietf:params:xml:profile" version="0" state="full">
<offhook allow="false >  <offhook allow="false >
<hooking allow="false'7>  <hooking allow="false'7>
<dial aIlo ="false"/>  <dial aIlo ="false"/>
<onhook allow="true">  <onhook allow="true">
<to-network needed="true" method="bye" requestURI=="arrearage-toneMRFP@example.com,,/> <to-network needed="true"method="bye" requestURI == "arrearage-toneMRFP@example.com ,, />
<to-user needed="false,7> <to-user needed="false , 7>
<timer startup="false"/> <timer startup="false"/>
</onhook>  </onhook>
</profile> 对于群(Centrex ) 用户的主叫业务, 群内用户可以呼叫群内其他用户, 也可以出群呼叫, 但拨号规则不同。 例如, 用户呼叫群内用户, 拨号规则为 7 开头的四位号码, 而出群呼叫, 出群字冠为 0, 拨 0送二次拨号音, 并删除该 字冠; 用户拨 ,则表示号码已拨完; 用户无其它业务, 摘机听正常的拨号音。 采用 XML描述的配置文件为: </profile> For the calling service of a group (Centrex) user, the users in the group can call other users in the group, or they can make outbound calls, but the dialing rules are different. For example, if a user calls a group user, the dialing rule is 7 The first four digits, and the outbound call, the outbound prefix is 0, dial 0 to send the second dial tone, and delete the prefix; if the user dials, the number has been dialed; the user has no other services, pick up the phone Normal dial tone. The configuration file described in XML is:
<?xml version="1.0" encoding=MUTF-8'*?> <?xml version="1.0" encoding= M UTF-8'*?>
<profile xmlns=::"urn:ietf:params:xml:profile" version="0" state="full"> <profile xmlns =:: "urn:ietf:params:xml:profile"version="0"state="full">
<offliook allow=Htrue"> <offliook allow= H true">
<to-network needed- 'false"/>  <to-network needed- 'false"/>
<to-user needed="true" type="tone">  <to-user needed="true" type="tone">
<tonetype>diaI-tone</tonetype>  <tonetype>diaI-tone</tonetype>
</to-user>  </to-user>
<timer startup="true">  <timer startup="true">
<timerlength>60000</timerlength>  <timerlength>60000</timerlength>
<timeoutaction>  <timeoutaction>
<to-network needed="false"/>  <to-network needed="false"/>
<to-user needed="true" type="tone">  <to-user needed="true" type="tone">
<tonetype>busy-tone</tonetype>  <tonetype>busy-tone</tonetype>
</to-user>  </to-user>
<timer startup=="true">  <timer startup=="true">
<timerlength>60000</timerlength>  <timerlength>60000</timerlength>
<timeoutaction>  <timeoutaction>
<to-network needed="false"/>  <to-network needed="false"/>
<to-user needed- 'true" type="tone">  <to-user needed- 'true" type="tone">
<tonetype>howling-tone</tonetype>  <tonetype>howling-tone</tonetype>
</to-user>  </to-user>
</timeoutaction>  </timeoutaction>
</titner>  </titner>
</timeoutaction>  </timeoutaction>
</timer>  </timer>
</offliook> <hooking alIow="false"/> </offliook> <hooking alIow="false"/>
<dial allow="true">  <dial allow="true">
<dial-pattern enterke ="#">  <dial-pattern enterke ="#">
<regex tone=" second-dial-tone" tag="centrexout">0</regex>  <regex tone=" second-dial-tone" tag="centrexout">0</regex>
<regex method=" invite" tag="centrexin">7[x] [x] [x]</regex>  <regex method=" invite" tag="centrexin">7[x] [x] [x]</regex>
</dial-pattern>  </dial-pattern>
</dial>  </dial>
<onhook allo ="false"/>  <onhook allo ="false"/>
</proflle> </proflle>
其中,在标签 <offhook>† ,描述当前 SIP UA处理摘机事件时执行的动作, 属性 allow="true"描述当前允许处理摘机动作; 标签 <to-user>描述当前动作给 用户送音 ( type="tone" ),送音类型为拨号音 ( <tonetype>dial-tone</tonetype> ), 送 60000ms ( <timerlength>60000</timerlength> ); 在标签 <dial>中, 描述当前 SIP UA处理拨号事件时执行的动作, 属性 allow="tme"描述当前允许处理拨号 动作; 标签 < dial-pattern >描述当前允许拨号的拨号范式, 属性 enterkey="#"表 示当用户拨" # "时代表号码已拨完, 用户可以拨 0出群, 也可以拨 7开头的四 位群内号码。 当用户拨出群字冠 0 时, 给用户送二次拨号音 ( tone="second-dial-tone" ), 而当用户拨完 7开头的四位群内号码时, 使用 SIP INVITE ( method="invite" ) 消息发送该号码到服务呼叫会话控制功能实体。  The tag <offhook>† describes the action performed when the current SIP UA processes the off-hook event. The attribute allow="true" describes the current allowable handling of the off-hook action; the tag <to-user> describes the current action to send the tone to the user ( Type="tone" ), the transmission type is dial tone ( <tonetype>dial-tone</tonetype> ), send 60000ms ( <timerlength>60000</timerlength> ); in the tag <dial>, describe the current SIP UA The action performed when processing the dialing event, the attribute allow="tme" describes the current allowable dialing action; the tag <dial-pattern> describes the dialing paradigm currently allowed to dial, and the attribute enterkey="#" means that when the user dials "#" After the number has been dialed, the user can dial 0 out of the group or dial the four in-group number at the beginning of 7. When the user dials the group prefix 0, the user is given a second dial tone (tone="second-dial-tone"), and when the user dials the four-digit group number at the beginning of the 7th, the SIP INVITE is used (meth = The "invite" message sends the number to the service call session control function entity.
对于用 户 登记了 缩位拨号的呼叫业务, 例如, 用 户 呼叫 "mary@example.com"时,只需要拨缩位号" **11"。 配置递送服务器在给用户的 配置文件的拨号范式中可以携带相关信息: 当使用缩位拨号业务, 呼叫 时, SIP UA才艮据配置文件中拨号范式自动发起对" mary@example.com"的呼叫 请求。 采用 XML描述的配置文件为:  For the call service in which the user has registered the abbreviated dialing, for example, when the user calls "mary@example.com", only the quota number "**11" needs to be dialed. The configuration delivery server can carry relevant information in the dialing paradigm of the user's configuration file: When using the abbreviated dialing service, the SIP UA automatically initiates a call to "mary@example.com" according to the dialing paradigm in the configuration file. request. The configuration file described in XML is:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<profde xmlns="um:ietf:params:xml:profile" version="0" state="full">  <profde xmlns="um:ietf:params:xml:profile" version="0" state="full">
<ofSiook allow="true">  <ofSiook allow="true">
<to-network needed="false"/>  <to-network needed="false"/>
<to-user needed="true" type="tone"/> allow<to-user needed="true"type="tone"/> Allow
/dial <>  /dial <>
Figure imgf000026_0001
Figure imgf000026_0001
< <
<  <
< /ouster <>- </profile> 其中, 标签 <offhook>中相关摘机事件同上述群 ( Centrex )用户的主叫业 务中摘机事件的描述, 此处不再赘述; 在标签 <dial>中描述了当前允许的拨号 范式,用户可以呼叫 287开头的 8位数字的本地号码,也可以使用缩位拨号业 务, 呼叫" **n"。 当用户拨号呼叫" **ιι"时, SIP UA根据配置文件拨号范式发 起 到 属 性 为 newRequestU I="mar @example.com" 的 SIP INVITE ( method="invite" ) 消息。 对于用户处于会话状态下的拍叉事件, 例如, 当前用户" abcd@home.com" 和另一用户 "mary@example.com"处于会话中, 用户可通过拍叉操作发起新的 呼叫。 在用户执行拍叉操作后, SIP UA需要给对端送信号音, 给本端送特殊 拨号音。 采用 ML描述的配置文件为: < /ouster <>- </profile> where the relevant off-hook event in the tag <offhook> is the same as the description of the off-hook event in the calling service of the group (Centre) user, and will not be described here; the currently allowed in the tag <dial> In the dialing paradigm, the user can call the 8-digit local number at the beginning of 287, or use the abbreviated dialing service to call "** n ". When the user dials the call " ** ιι", the SIP UA initiates a SIP INVITE ( method="invite" ) message with the attribute newRequestU I="mar @example.com" according to the profile dialing paradigm. For a flash event in which the user is in a session state, for example, the current user "abcd@home.com" and another user "mary@example.com" are in the session, the user can initiate a new call by the flashing operation. After the user performs the flashing operation, the SIP UA needs to send a signal tone to the opposite end to send a special dial tone to the local end. The configuration file described by ML is:
<?xml version- ' 1.0" encoding^"UTF-8"?>  <?xml version- ' 1.0" encoding^"UTF-8"?>
<profile xmlns="urn:ietf:params:xml:profile" version="0" state=,rfuH"> <profile xmlns="urn:ietf:params:xml:profile"version="0" state= ,r fuH">
<o£fhook allow="faIse'7>  <o£fhook allow="faIse'7>
<hooking allow="true">  <hooking allow="true">
<to-network needed=ntrue" method="updaten requestURJ="mary@example.com" message- 'a=inactive'7> <to-network needed= n true"method="update n requestURJ="mary@example.com" message- 'a=inactive'7>
<to-user needed="true" type="tone">  <to-user needed="true" type="tone">
<tonetype>special-dial-tone</tonetype>  <tonetype>special-dial-tone</tonetype>
</to-user>  </to-user>
<timer startup-'true">  <timer startup-'true">
<timerlength>60000</timerlength>  <timerlength>60000</timerlength>
<timeoutaction>  <timeoutaction>
<to-network needed="ti'ue" method="update', requestURI="mary@example.c0mM <to-network needed="ti'ue"method="update', requestURI = "mary@example.c0m M
message==,,a=sendrecieve"/> Message= =,, a=sendrecieve"/>
<to-user needed="false"/>  <to-user needed="false"/>
</timeoutaction>  </timeoutaction>
</timer>  </timer>
</hooking>  </hooking>
<dial allow="faIse,7> <onhook allow="true,,> <dial allow="faIse , 7> <onhook allow="true ,, >
<to-network needed="true" method="bye" requestURI="mary@example.com"/>  <to-network needed="true" method="bye" requestURI="mary@example.com"/>
<to-user needed^' alse''^  <to-user needed^' alse''^
</onhook>  </onhook>
</profile> </profile>
其中,在标签 <hooking>中, 描述了当前 SIP UA处理拍叉事件时执行的动 作, 属性 allow="true"描述了当前允许处理拍叉动作; 标签 <to-network>描述当 前拍叉后 SIP UA给网络侧动作为发送 UPDATE消息 ( method="update" ), 并 且保持( hold )对端 ( message="a=inactive" ); 标签 <to-user>描述了给用户送 音 (type="tone" )动作, 送音类型为特殊拨号音 ( <tonetype>special dial-tone </tonetype> ), 送 60000ms ( <timerlength>60000</timerlength> )0 若超时仍没有 收到用户执行通话恢复的动作, 给对端发送 UPDATE消息恢复通话; 而标签 <onhook:^ 述了用户如果执行拍叉操作 , SIP UA发送 BYE消息给对端用户, 结束当前会话。 在用户拍叉操作后 ,给对端发送 UPDATE消息(或 re- INVITE )保持对端 , 配置递送服务器使用 NOTIFY 消息更新给用户的配置文件, 其中描述了当前 若用户再拍叉则执行通话恢复动作。 用户拨号发起新的呼叫。 釆用 XML描述 的配置文件为: In the tag <hooking>, the action performed when the current SIP UA processes the flashing event is described, the attribute allow="true" describes the current permission to handle the flashing action; the tag <to-network> describes the current flashing SIP The UA sends an UPDATE message ( method="update" ) to the network side, and holds (hold) the peer (message="a=inactive"); the tag <to-user> describes the voice to the user (type="Tone") action, the transmission type is special dial tone ( <tonetype>special dial-tone </tonetype> ), send 60000ms ( <timerlength>60000</timerlength> ) 0 If the timeout still does not receive the user to perform call recovery Action: Send an UPDATE message to the peer to resume the call; and the tag <onhook:^ indicates that if the user performs a flashing operation, the SIP UA sends a BYE message to the peer user to end the current session. After the user shoots the fork operation, the peer sends an UPDATE message (or re- INVITE) to the peer end, and configures the delivery server to update the configuration file to the user by using the NOTIFY message, which describes that the current call recovery action is performed if the user re-crosses the fork. . The user dials in to initiate a new call. The configuration file described in XML is:
<?xml version- ' 1.0H encoding="UTF-8"?> <?xml version- ' 1.0 H encoding="UTF-8"?>
<profile xmlns- 'urn:ietf:params:xml:profile" version="0" state="full">  <profile xmlns- 'urn:ietf:params:xml:profile" version="0" state="full">
<offhook allow=="false7>  <offhook allow=="false7>
<hooking allow="true">  <hooking allow="true">
<to-network needed- 'true" method- 'update" requestURI-"mary@example.comM message="a=sendrecieve'7><to-network needed- 'true" method- 'update"requestURI-"mary@example.com M message="a=sendrecieve'7>
<to-user needed="false"/> <to-user needed="false"/>
<timer startup="false'7>  <timer startup="false'7>
</hooking>  </hooking>
<dial allo ="truen> <dial allo ="true n >
<dial-pattern enterke ="#">  <dial-pattern enterke ="#">
<regex method="invite" tag="local">287[x][x] [x] [x] [x]</regex> </dial-pattern> <regex method="invite"tag="local">287[x][x] [x] [x] [x]</regex> </dial-pattern>
</dial>  </dial>
<onhook allow="true">  <onhook allow="true">
<to-network needed="true" method="byeM requestURI=,,mary@example.com"/> <to-network needed="true"method="bye M requestURI =,, mary@example.com"/>
<to-user needed="false"/>  <to-user needed="false"/>
</onhook>  </onhook>
</profile> 其中,在标签 <liooking>中,描述了当前 SIP UA处理拨号事件时恢复通话 的动作: SIP UA发送 UPDATE消息给对端用户, 恢复通话; 在标签 <dial>中, 描述当前 SIP UA处理拨号事件时执行的动作,属性 allow="true"描述当前允许 处理拨号动作; 标签 <dial-pattem>描述当前允许拨号的拨号范式, 属性 enterkey="#"表示若用户拨 则代表号码已拨完。允许用户拨 287开头的 8位 号码, 若用户拨打这类号码, 则使用 SIP INVITE ( method="invite" )消息发起 到该号码的呼叫。 对于用户使用临时预约主叫号码显示限制业务, 用户摘机拨" *62被叫号 码", AGCF将用户所拨号码和已经获得的配置文件进行匹配, 根据配置文件 中拨号事件的拨号范式处理描述, 得到所要执行的动作, 按此要求发送 invite 请求消息, 在 invite请求消息中将用户所拨"被叫号码"以 tel URL的形式置入 Request-URI ( ·清求-统一资源标识) 中, 携带 Privacy头域, 设置为 "header", 在 From头域中前插 anonymous关键字。 </profile> In the tag <liooking>, describes the action of resuming the call when the current SIP UA processes the dialing event: the SIP UA sends an UPDATE message to the peer user to resume the call; in the tag <dial>, describes the current SIP The action performed by the UA when processing the dialing event. The attribute allow="true" describes the current dialing action allowed. The tag <dial-pattem> describes the dialing paradigm currently allowed to dial. The attribute enterkey="#" indicates that if the user dials, the representative number has been Dial the end. Allows the user to dial the 8-digit number at the beginning of 287. If the user dials this number, the SIP INVITE ( method="invite" ) message is used to initiate a call to that number. For the user to use the temporary reservation calling number to display the restricted service, the user picks up the phone to dial "*62 called number", and the AGCF matches the number dialed by the user with the obtained configuration file, according to the dialing paradigm processing description of the dialing event in the configuration file. , to get the action to be performed, send an invite request message according to the request, and put the "called number" dialed by the user into the Request-URI ("Qingqi-Uniform Resource Identifier" in the form of a tel URL in the invite request message. Carry the Privacy header field, set it to "header", and insert the anonymous keyword in the From header field.
AGCF将该 invite消息向网络发送,对网络来说,该 invite消息就象是 SIP 终端设备在使用 simulation模拟业务, 因此可以重用处理 simulation模拟业务 的应用服务器为; PES子系统服务, 从而节约投资。 采用 XML描述的配置文件为: The AGCF sends the invite message to the network. For the network, the invite message is like the SIP terminal device using the simulation to simulate the service, so the application server that processes the simulation service can be reused as the PES subsystem service, thereby saving investment. The configuration file described in XML is:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<profile xmlns="urn:ietf:params:xml:profile" xmlns:xsi=''http://www. w3.org/2001/XMLSchema-instance'1 <profile xmlns="urn:ietf:params:xml:profile"xmlns:xsi=''http://www.w3.org/2001/XMLSchema-instance' 1
xsi:schemaLocation="um:ietf:params:xml:profile:\XML\profile\ppptest,xsd" state="full" version="0"> Xsi:schemaLocation="um:ietf:params:xml:profile:\XML\profile\ppptest,xsd" state="full" version="0">
<offhook allow="true"> <to-network needed="false"/> <offhook allow="true"> <to-network needed="false"/>
<to-user needed="true" t pe="tone" timelengh- '60000">  <to-user needed="true" t pe="tone" timelengh- '60000">
<tonetype>special-dial-tone</tonetype>  <tonetype>special-dial-tone</tonetype>
</to-user>  </to-user>
<timer startup="false"/>  <timer startup="false"/>
</offhook>  </offhook>
<hooking allo ="false"/>  <hooking allo ="false"/>
<dial allow^true1' <dial allow^true 1 '
<dial-pattern>  <dial-pattern>
<regex method="invite" special='Travicy:header;From:&quot;Anonymous&quot;  <regex method="invite" special='Travicy:header;From:&quot;Anonymous&quot;
&lt;sip:ationymous@anonymous.invaUd&gt;" cleanup="trueM tag="temp-OIR">:i!62</regex> &lt;sip:ationymous@anonymous.invaUd&gt;"cleanup="true M tag="temp-OIR"> :i! 62</regex>
</dial-pattern>  </dial-pattern>
</dial>  </dial>
<onhook allow=Mfalse"/> <onhook allow= M false"/>
</profile> 其中, 给出的拨号范式为" *62", 当用户拨" *62"时, "*62"被从号码缓冲 区清除掉(CleanUP="tme" ), 继续接受用户的拨号, 在用户的发起的呼叫中插入头 域 Pravicy: eader和 From: "Anonymous" <sip: anonymous @anonymous . invalid>
Figure imgf000030_0001
</profile> where the given dialing paradigm is "*62", when the user dials "*62", "*62" is cleared from the number buffer ( C l eanUP ="tme" ), and continues to accept users. Dial, insert the header field Pravicy in the user's initiated call: eader and From: "Anonymous"<sip: anonymous @anonymous . invalid>
Figure imgf000030_0001
符号 < > "使用转义字符替换)到 invite ( meth。d= Vite" )请求中。 The symbol <>" is replaced with an escape character) into the invite ( me th.d= V it e " ) request.
对于 SIP UA根据配置文件向用户下发计费信号, 配置递送服务器发送给 SIP UA的配置文件中携带的相关计费信息可以是简单的脉冲信号个数, 也可 以包括更复杂的计费规则 , 如 Enable Meter Type (开始自动周期性脉冲类型)、 Meter Pulse Burst Type (突发性计费脉冲类型), Phased Meter Type (按时段区 分计费类型)等, 计费规则中描述时间、 费率等元素, 由 SIP UA按照该计费 规则, 给用户下发计费脉冲。 下面描述一个用户进入通话状态后, SIP UA周 期性下发计费脉冲的实施例, 实施例以在配置中传递计费规则为例。在实施例 前,参考 ITU《H.248.26》协议中扩展了 Automatic Meter 事件包( amet ), amet 包中定义了用于传递脉冲计费信息的信号, 下面罗列出不同计费规则的参数: Phased Meter Type (按时段区分计费类型)计费规则的参数 The SIP UA sends a charging signal to the user according to the configuration file, and the related charging information carried in the configuration file sent by the delivery server to the SIP UA may be a simple number of pulse signals, and may also include more complicated charging rules. Such as Enable Meter Type, Meter Pulse Burst Type, Phased Meter Type, etc., billing rules describe time, rate, etc. Element, the SIP UA sends a charging pulse to the user according to the charging rule. The following describes an embodiment in which a SIP UA periodically sends a charging pulse after a user enters a call state. The embodiment takes the charging rule in the configuration as an example. Before the embodiment, the Automatic Meter event package (amet) is extended with reference to the ITU H.248.26 protocol. The amet packet defines the signal for transmitting the impulse accounting information. The parameters of the different charging rules are listed below: Phased Meter Type parameters for charging rules
• PM-Pulse-repetition-interval (脉冲间隔,单位毫秒)  • PM-Pulse-repetition-interval (pulse interval, in milliseconds)
• PM-MAX PCCI(Maximum pulse count per charge interval计费间隔内最 大脉冲数目)  • PM-MAX PCCI (Maximum pulse count per charge interval)
• PM-REPX(repetition of Max PCCI,釆用最大计费脉冲计费间隔数目) • PM-REPX (repetition of Max PCCI, the maximum number of billing intervals)
• PM-MIN PCCI(Minimum pulse count per charge interval 计费间隔最大 脉冲数目) • PM-MIN PCCI (Minimum pulse count per charge interval)
• PM-PCN(repetition ofMin PCCI,采用最少计费脉冲计费间隔数目) • PM-PCN (repetition of Min PCCI, using the minimum billing pulse billing interval)
• PM-CI ( charge interval计费间隔, 单位秒 ) • PM-CI (charge interval, interval in seconds)
• PM-PD ( phase duration每个计费时段时长, 单位秒),以上参数对应于 H.248amet包 EM、 MBP、 PM信号以及信号参数, 含义亦相同, 具体 可以参考 H.248协议。  • PM-PD (phase duration, duration of each billing period, in seconds). The above parameters correspond to the H.248amet packet EM, MBP, PM signal and signal parameters, and the meanings are the same. For details, refer to the H.248 protocol.
Enable Meter Type (开始自动周期性脉冲类型)计费规则的参数  Enable Meter Type parameters for the charging rule
• EM-pulse-count (每时间间隔下发的脉冲个数)  • EM-pulse-count (number of pulses sent per interval)
• EM-Pulse- repetition-interval (下发 EM PC的事件间隔)  • EM-Pulse-repetition-interval (issued EM PC event interval)
Meter Pulse Burst Type (突发性计费脉冲类型)计费规则的参数 Meter Pulse Burst Type parameters for the billing rules
• MPB-burst-pulse-count (一次性下发咏冲个数)  • MPB-burst-pulse-count (one-time number of punches)
• MPB-Pulse-repetition-interval (脉冲之间事件间隔) 对于用户处于通话稳定态后, SIP UA下发定时器配置, 在定时器中描述 给传统终端计费脉冲的计费规则, 采用 XML描述的配置文件为:  • MPB-Pulse-repetition-interval. After the user is in a call steady state, the SIP UA sends a timer configuration, and the charging rule described in the timer to the traditional terminal charging pulse is described by XML. The configuration file is:
<?xml version=" 1.0" encoding="UTF-8"?>  <?xml version=" 1.0" encoding="UTF-8"?>
<profile mlns="urn:ietf:params:xml:profile" xmlns:xsi="http://ww . w3.org/2001/XMLSchema-instance"  <profile mlns="urn:ietf:params:xml:profile" xmlns:xsi="http://ww . w3.org/2001/XMLSchema-instance"
xsi:scliemaLocation=',um:ietf:params-.xml:profile,.VXML\profile\ppptest.xsd" state- 'full" version="0"> Xsi:scliemaLocation=' , um:ietf:params-.xml:profile , .VXML\profile\ppptest.xsd" state- 'full"version="0">
<offlioolc allo ="false"/>  <offlioolc allo ="false"/>
<hooking allo ="false"/>  <hooking allo ="false"/>
<dial allow="faIse"/>  <dial allow="faIse"/>
<onhook allow="false"/>  <onhook allow="false"/>
<timer startup="true">  <timer startup="true">
<timerlength>60000</timerlength> <timeoutaction> <timerlength>60000</timerlength> <timeoutaction>
<to-user needed""true" type="pulse">  <to-user needed""true" type="pulse">
<pulse-info>  <pulse-info>
<PM>  <PM>
<Pulse-repetition-interval>3< Pulse-repetition-interval>  <Pulse-repetition-interval>3< Pulse-repetition-interval>
<MAX-PCCI>0</MAX-PCCI>  <MAX-PCCI>0</MAX-PCCI>
<REPX>0< REPX>  <REPX>0< REPX>
<MIN-PCCI>0</MIN-PCCI>  <MIN-PCCI>0</MIN-PCCI>
<PCN>0</PCN>  <PCN>0</PCN>
<CI>60</CI>  <CI>60</CI>
<PD>60< PD>  <PD>60< PD>
</P >  </P >
</pulse-info>  </pulse-info>
</to-user>  </to-user>
<to-network needed="false'7>  <to-network needed="false'7>
</timeoutaction>  </timeoutaction>
</timer>  </timer>
</profile> 配置递送服务器在用户进入通话态时, 可以通过应答消息 (200响应码) 向 SIP UA下发配置文件, SIP UA收到并解析上述 XML配置后, 每 60秒 <timerlength>60000</timerlength> ) 内下发 3 计费个脉冲, 并在通话时按此规则持续下 发计费脉冲给用户。 在上述的实施例中, SIP UA是在收到配置文件后解析, 检测到定时器操 作事件, 并执行对应的动作, 启动定时器。 当然, 这里也可以定义一个 "空操 作,,, 表示要无条件 (不需要具体的操作事件触发)执行对应的动作。 在本发明中, 对其它的实施例, SIP UA也可以在收到配置文件后, 解析 出需要被检测的操作事件, 以和用户收到的操作事件进行匹配, 以执行对应的 动作。 一般的, SIP UA在收到配置文件后, 也可以不用立即解析, 而是在检测 到一个用户收到的操作事件后,去和配置文件中设置的操作事件匹配,如果匹 配成功, 则执行对应的动作。 另外, 上述 SIP UA根据配置文件向用户下发计费信号, 还有一种实现方 式, 配置文件中设置的的操作事件将是用户收到的一个 SIP消息, 即用户进入 通话态的应答消息, SIP UA收到该配置文件后, 解析出该操作事件, 以在收 到应答消息时执行对应的动作; 或在收到应答消息后, 匹配该配置文件并执行 对应的动作。 上述各实施例中所述的动作可以预置在配置文件中,或预置在 SIP UA中, 比如程序代码。 此外, 本发明的实施例中所述各业务的配置文件是采用 XML来描述的, 由于 XML的可扩展性, 使得业务的可扩展性强。 对于本领域普通技术人员来 说容易理解, 但是, 各业务的配置文件还可以采用其它语言进行描述, 可以由 SIP UA对收到的配置文件解释后进行事件匹配和动作执行等操作, 其精神不 偏离本发明的范围。 本发明的实施例通过通信设备 (比如 SIP UA )从配置递送服务器(profile delivery server )等网络实体获得用户的配置文件, 并根据该配置文件检测该用 户执行的操作事件,如果检测到该配置文件中的操作事件, 则根据预置该配置 文件中的对应动作执行业务逻辑处理。这种通过匹配配置文件中的操作事件来 执行对应动作的方法, 大大降低了 SIP UA的处理复杂度。 同时, SIP UA通过匹配配置文件, 使其向网络发出的动作, 可以和 SIP 终端设备执行同类业务发出的动作完全一致, 从而使 SIP UA在处理同类业务 时,可以重用网络处理模拟业务的应用服务器设备, 即处理模拟业务的应用服 务器设备也可以为公用电话交换网 /综合业务数字网仿真子系统服务, 节约了 网络投资。 由配置递送服务器根据业务环境的变化更新当前的用户配置文件,并通知 对应的 SIP UA新的配置文件或仅通知该配置文件的变更部分, 使得 SIP UA 的处理得到简化, 并能适应业务环境的变化。 </profile> Configure the delivery server to deliver the configuration file to the SIP UA through the response message (200 response code) when the user enters the call state. After the SIP UA receives and parses the XML configuration, <timerlength>60000 every 60 seconds</timerlength> ) 3 billing pulses are sent, and the billing pulse is continuously sent to the user according to this rule during the call. In the above embodiment, the SIP UA parses after receiving the configuration file, detects a timer operation event, and performs a corresponding action to start the timer. Of course, a "empty operation" can also be defined here, indicating that the corresponding action is to be performed unconditionally (no specific operational event triggering is required). In the present invention, for other embodiments, the SIP UA can also receive the configuration file. After that, the operation event that needs to be detected is parsed to match the operation event received by the user to perform the corresponding action. Generally, after receiving the configuration file, the SIP UA may not need to parse immediately, but after detecting an operation event received by the user, it matches the operation event set in the configuration file. If the matching is successful, the corresponding execution is performed. Actions. In addition, the foregoing SIP UA sends a charging signal to the user according to the configuration file, and another implementation manner, the operation event set in the configuration file is a SIP message received by the user, that is, the response message of the user entering the call state, SIP After receiving the configuration file, the UA parses the operation event to perform a corresponding action when receiving the response message; or after receiving the response message, matches the configuration file and performs a corresponding action. The actions described in the above embodiments may be preset in a configuration file or preset in a SIP UA, such as a program code. In addition, the configuration files of the services described in the embodiments of the present invention are described by using XML, and the extensibility of the XML makes the service scalable. It can be easily understood by those skilled in the art, but the configuration file of each service can also be described in other languages, and the SIP UA can interpret the received configuration file and perform event matching and action execution operations. It is within the scope of the invention. An embodiment of the present invention obtains a configuration file of a user from a network entity such as a profile delivery server through a communication device (such as SIP UA), and detects an operation event performed by the user according to the configuration file, if the configuration file is detected. In the operation event, the business logic processing is performed according to the corresponding action in the preset configuration file. This method of performing corresponding actions by matching operational events in the configuration file greatly reduces the processing complexity of the SIP UA. At the same time, the action of the SIP UA to match the configuration file to the network can be completely consistent with the action performed by the SIP terminal device to perform the same type of service, so that the SIP UA can reuse the application server that processes the analog service when processing the same type of service. The equipment, that is, the application server equipment that processes the analog service, can also serve the public switched telephone network/integrated service digital network simulation subsystem, saving network investment. The current configuration file is updated by the configuration delivery server according to the change of the business environment, and the corresponding SIP UA new configuration file is notified or only the changed part of the configuration file is notified, so that the SIP UA The processing is simplified and adaptable to changes in the business environment.
配置文件采用 XML语言描述操作事件和对应动作, 业务的可扩展性强。 虽然通过参照本发明的某些优选实施方式,巳经对本发明进行了图示和描 述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改 变, 而不偏离本发明的精神和范围。  The configuration file uses XML language to describe operational events and corresponding actions, and the business is highly scalable. Although the present invention has been illustrated and described with reference to the preferred embodiments of the present invention, those skilled in the art will understand that various changes can be made in form and detail without departing. The spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1. 一种通信业务处理方法, 其特征在于, 包括步骤:  A communication service processing method, comprising the steps of:
获取用户的配置文件, 所述配置文件包括操作事件;  Obtaining a configuration file of the user, where the configuration file includes an operation event;
如果检测到所述操作事件,则根据该配置文件中的对应动作执行业务逻辑 处理。  If the operational event is detected, the business logic processing is performed in accordance with the corresponding action in the configuration file.
2. 根据权利要求 1所述的通信业务处理方法, 其特征在于, 所述对应动 作预先设置在配置文件或通信设备中。  The communication service processing method according to claim 1, wherein the corresponding action is previously set in a configuration file or a communication device.
3. 根据权利要求 2所述的通信业务处理方法, 其特征在于, 通信设备从 网絡侧的配置递送服务器中获取用户的配置文件。  3. The communication service processing method according to claim 2, wherein the communication device acquires a profile of the user from a configuration delivery server on the network side.
4. 根据权利要求 3所述的通信业务处理方法, 其特征在于, 所述通信设 备获取用户的配置文件的过程为:  The communication service processing method according to claim 3, wherein the process of the communication device acquiring the user's configuration file is:
所述通信设备在所述用户注册后向所述配置递送服务器请求该用户的配 置文件;  The communication device requests the configuration file of the user from the configuration delivery server after the user registers;
所述配置递送服务器在收到所述通信设备发送请求该用户的配置文件的 请求消息时, 向该通信设备发送携带该配置文件的消息。  The configuration delivery server, upon receiving the request message that the communication device sends a configuration file requesting the user, sends a message carrying the configuration file to the communication device.
5. 根据权利要求 4所述的通信业务处理方法, 其特征在于, 当该用户的 业务应用环境发生变化引发用户配置改变时,该配置递送月良务器根据该用户当 前的业务应用环境生成新的用户配置文件, 并将其发送给所述通信设备。  The communication service processing method according to claim 4, wherein when the user's business application environment changes to cause a user configuration change, the configuration delivery server generates a new one according to the current business application environment of the user. User profile and send it to the communication device.
6. 根据权利要求 5所述的通信业务处理方法, 其特征在于, 当该用户的 业务应用环境再次发生变化引发用户配置改变时,所述配置递送服务器通知所 述通信设备上一次通知之后该配置文件中发生变化的部分。  The communication service processing method according to claim 5, wherein when the user's business application environment changes again to cause a user configuration change, the configuration delivery server notifies the communication device of the configuration after the last notification. The part of the file that has changed.
7. 根据权利要求 3所述的通信业务处理方法, 其特征在于, 所述通信设 备获取所述用户的配置文件后, 对当前的用户配置文件进行解析; 或者  The communication service processing method according to claim 3, wherein after the communication device acquires the configuration file of the user, parsing the current user configuration file; or
所述通信设备获取所述用户的配置文件并检测操作事件后,对当前的用户 配置文件中对应操作事件进行解析, 执行对应动作。  After acquiring the configuration file of the user and detecting the operation event, the communication device parses the corresponding operation event in the current user profile, and performs a corresponding action.
8. 根据权利要求 7所述的通信业务处理方法, 其特征在于, 所述方法应 用于公用电话交换网 PSTN/综合业务数字网 ISDN仿真子系统; 其中, 所述通 信设备为会话发起协议 SIP用户代理。  The communication service processing method according to claim 7, wherein the method is applied to a public switched telephone network PSTN/integrated service digital network ISDN emulation subsystem; wherein the communication device is a session initiation protocol SIP user proxy.
9. 根据权利要求 7所述的通信业务处理方法, 其特征在于, 所述配置文 件中的操作事件至少包括下述之一: 9. The communication service processing method according to claim 7, wherein the configuration file The operational events in the piece include at least one of the following:
摘机事件、 拨号事件、 拍叉事件、 挂机事件、 定时器超时事件或会话发起 协议消息;  Off-hook event, dialing event, flashing event, on-hook event, timer timeout event or session initiation protocol message;
所述操作事件的对应动作至少包括下述之一:  The corresponding action of the operation event includes at least one of the following:
向网络侧发送消息、 给用户发送指示信号或定时器设置。  Send a message to the network side, send an indication signal to the user, or set the timer.
10. 根据权利要求 9所述的通信业务处理方法, 其特征在于, 所述给用户 发送的指示信号至少包括下述之一:  10. The communication service processing method according to claim 9, wherein the indication signal sent to the user comprises at least one of the following:
给用户送音、 给用户下发反极信号、 计费信号、 显示信号、 保持或恢复。 Send voice to the user, send reverse signal to the user, billing signal, display signal, hold or resume.
11. 根据权利要求 9所述的通信业务处理方法, 其特征在于, 所述通信设 备通过会话发起协议或超文本传输协议向网络侧发送消息, 其中, 通过会话发 起协议向网络侧发送的消息是至少包括下述之一: The communication service processing method according to claim 9, wherein the communication device sends a message to the network side by using a session initiation protocol or a hypertext transfer protocol, wherein the message sent to the network side by the session initiation protocol is At least one of the following:
"邀请 Invite"消息、 "提交 Refer"消息、 "预定 subscribe"消息、 "附属 ΒΥΈ" 消息、 或"更新 Update"消息。  "Invite Invite" message, "Submit Refer" message, "Scheduled subscribe" message, "Attachment" message, or "Update Update" message.
12. 根据权利要求 2所述的通信业务处理方法, 其特征在于, 所述业务包 括:  12. The communication service processing method according to claim 2, wherein the service comprises:
热线业务、用户欠费摘机听欠费音、用户有新留言后摘机听留言指示信号 音、 缩位拨号、群用户摘机出群拨号听二次拨号音、 拍叉处理、 网络向用户下 发计费信号、 PSTN/ISDN仿真业务或 PSTN/ISDN模拟业务。  Hotline service, user owed to pay off the hook to listen to the fee, the user has a new message, pick up the phone to listen to the message indication tone, abbreviated dialing, group user pick up the group dialing to listen to the second dial tone, the fork processing, the network to the user The charging signal, PSTN/ISDN emulation service or PSTN/ISDN analog service is delivered.
13. 根据权利要求 2所述的通信业务处理方法, 其特征在于, 所述配置文 件通过扩充标记语言描述所述操作事件及其对应动作。  The communication service processing method according to claim 2, wherein the configuration file describes the operation event and its corresponding action by an extended markup language.
14. 一种通信业务处理装置, 其特征在于, 包括:  A communication service processing device, comprising:
获取单元, 用于获取用户的配置文件, 所述配置文件包括操作事件; 检测单元, 与获取单元相连, 用于实时检测配置文件, 并发送检测到操作 事件的检测结果;  An obtaining unit, configured to acquire a configuration file of the user, where the configuration file includes an operation event, and the detecting unit is connected to the acquiring unit, configured to detect the configuration file in real time, and send a detection result of detecting the operation event;
业务处理单元, 与检测单元相连, 用于接收检测结果, 并根据预先设置该 检测结果中的对应动作执行业务逻辑处理。  The service processing unit is connected to the detecting unit, configured to receive the detection result, and perform business logic processing according to a corresponding action in the preset setting of the detection result.
15. 一种通信业务处理系统, 其特征在于, 包括配置递送服务器和通信设 备; 其中,  A communication service processing system, comprising: configuring a delivery server and a communication device; wherein
所述配置递送服务器, 用于提供该用户的配置文件,所述配置文件包括操 作事件; The configuration delivery server is configured to provide a configuration file of the user, where the configuration file includes operations Make an event;
所述通信设备, 用于从所述配置递送服务器中获取用户的配置文件,如果 检测到所述操作事件, 则根据该配置文件中的对应动作执行业务逻辑处理。  The communication device is configured to obtain a configuration file of the user from the configuration delivery server, and if the operation event is detected, perform business logic processing according to a corresponding action in the configuration file.
16. 根据权利要求 15所述的通信业务处理系统, 其特征在于, 所述配置 递送服务器才艮据所述用户的签约数据和业务应用环境提供该用户的配置文件。  16. The communication service processing system according to claim 15, wherein the configuration delivery server provides the user's configuration file according to the user's subscription data and the business application environment.
17. 根据权利要求 16所述的通信业务处理系统, 其特征在于, 所述通信 设备为 SIP用户代理。  17. The communication service processing system according to claim 16, wherein the communication device is a SIP user agent.
18. 根据权利要求 16所述的通信业务处理系统, 其特征在于, 所述 SIP 用户代理为具有接入网关控制功能的接入设备或 SIP综合接入设备。  The communication service processing system according to claim 16, wherein the SIP user agent is an access device or a SIP integrated access device having an access gateway control function.
PCT/CN2007/000437 2006-03-17 2007-02-08 A method, apparatus and system for communication service processing WO2007107074A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN200610067558 2006-03-17
CN200610067558.7 2006-03-17
CN200610077575.9 2006-04-26
CNA2006100775759A CN101039259A (en) 2006-03-17 2006-04-26 Method for controlling service of communication equipment and system thereof
CN200610084351.0 2006-05-19
CNA2006100843510A CN101075953A (en) 2006-05-19 2006-05-19 Method and system for controlling telecommunication equipment service

Publications (1)

Publication Number Publication Date
WO2007107074A1 true WO2007107074A1 (en) 2007-09-27

Family

ID=38522021

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000437 WO2007107074A1 (en) 2006-03-17 2007-02-08 A method, apparatus and system for communication service processing

Country Status (1)

Country Link
WO (1) WO2007107074A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357190A (en) * 1999-06-18 2002-07-03 艾利森电话股份有限公司 System and method for providing value-added services (VAS) in integrated telecom network using session initiation protocol (SIP)
US6421424B1 (en) * 2000-06-05 2002-07-16 International Business Machines Corp. Client simulator and method of operation for testing PSTN-to-IP network telephone services for individual & group internet clients prior to availability of the services

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357190A (en) * 1999-06-18 2002-07-03 艾利森电话股份有限公司 System and method for providing value-added services (VAS) in integrated telecom network using session initiation protocol (SIP)
US6421424B1 (en) * 2000-06-05 2002-07-16 International Business Machines Corp. Client simulator and method of operation for testing PSTN-to-IP network telephone services for individual & group internet clients prior to availability of the services

Similar Documents

Publication Publication Date Title
EP1989866B1 (en) Remote control of device by telephone or other communication devices
US8161080B2 (en) XML based transaction detail records
CA2790516C (en) Lawful call interception support in packet cable network
WO2008119272A1 (en) A method, terminal and system for implementing video binding in a voice communication network
WO2006026901A1 (en) The process system for the packet domain service signal and the method using the same
JP2006135954A (en) Method for establishing ip video-conference using telephone network for voice transmission
WO2007115455A1 (en) A method device and system for the circuit switched domain terminals accessing packet network realizing packet service
CN101030931B (en) Method for transmitting service data and applied packet terminal thereof
WO2008086690A1 (en) An enquiry diversion service method and a device thereof
US7738445B2 (en) Combined H.450.2 and SIP call transfer
WO2009152699A1 (en) Sip terminal and the status reporting method, system and sip server thereof
WO2007028329A1 (en) A method for realizing service activation operation and user terminal realizing the method
WO2007003089A1 (en) Calling tapping at flash implement method and communication system
WO2007093116A1 (en) A method and system for realizing the simulating service and the access signaling adaptive entity
CN101075953A (en) Method and system for controlling telecommunication equipment service
CA2483128A1 (en) Call management service
CN101039259A (en) Method for controlling service of communication equipment and system thereof
CN101099406B (en) Method for realizing service activation operation and subscriber terminal for realizing the same
WO2007056958A1 (en) A method, system and device for realizing call waiting in packet domain
WO2007109950A1 (en) A method and system for realizing speech interaction
WO2007098654A1 (en) Method for realizing service triggering when picked-up
WO2007009384A1 (en) A method for realizing pstn emulation service
WO2007107074A1 (en) A method, apparatus and system for communication service processing
WO2007107058A1 (en) A method, a system and a translating apparatus for realizing service activation and service data processing
US20120069775A1 (en) Graphical User-Interface for Terminals with Visual Call Progress Indicator

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: 07720239

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: 07720239

Country of ref document: EP

Kind code of ref document: A1