WO2008151538A1 - Method, device and system for achieving barring service - Google Patents

Method, device and system for achieving barring service Download PDF

Info

Publication number
WO2008151538A1
WO2008151538A1 PCT/CN2008/071096 CN2008071096W WO2008151538A1 WO 2008151538 A1 WO2008151538 A1 WO 2008151538A1 CN 2008071096 W CN2008071096 W CN 2008071096W WO 2008151538 A1 WO2008151538 A1 WO 2008151538A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
message
terminal
restricted service
restricted
Prior art date
Application number
PCT/CN2008/071096
Other languages
French (fr)
Chinese (zh)
Inventor
Youzhu Shi
Qing Zhou
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008151538A1 publication Critical patent/WO2008151538A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions

Definitions

  • the present invention relates to communication technologies, and more particularly to a method, apparatus and system for implementing restricted services.
  • the network in addition to providing call services to users, the network also provides supplementary service services, such as: Call Forwarding (CF), and Outgoing Call Barring (OCB) services.
  • CF Call Forwarding
  • OBC Outgoing Call Barring
  • packet telecommunication networks also need to provide users with services similar to supplementary services in traditional circuit networks, such as: CDIV (Communication Diversion), Outgoing Call Barring (OCB), and so on.
  • the user terminal may be a legacy terminal or a packet terminal.
  • the packet terminal may be a SIP (Session Initiation Protocol) terminal or a packet non-SIP terminal, such as an H323 terminal.
  • SIP Session Initiation Protocol
  • H323 terminal a packet non-SIP terminal
  • NPN Next Generation Network
  • services with traditional service features provided to user terminals are collectively referred to as public switched telephone networks/integrated services digital network analog services.
  • Terminal A signs the incoming call restriction service and restricts the incoming call of terminal B. If terminal B initiates to terminal A
  • the network may determine that the incoming call of the terminal is required to be restricted according to the parameter that the terminal has signed the restriction condition in the service, thereby denying the terminal to establish a session with the terminal.
  • the restriction condition may be to limit the incoming call of the terminal B
  • the parameter may be the user identifier of the terminal B.
  • the parameters in the above restrictions may change during the call, so that the session that should not be restricted before becomes a limit.
  • terminal A subscribes to the outgoing call restriction service and restricts the call to terminal C;
  • terminal B subscribes to the unconditional call forwarding service (CFU), and needs to forward the call to terminal C when there is an incoming call.
  • CFU unconditional call forwarding service
  • terminal A initiates a call to terminal B
  • terminal B forwards the call to terminal C
  • the parameter in the terminal A restriction condition is changed from the user identifier of terminal B to the user identifier of terminal C.
  • Terminal A signs an incoming call to restrict the service and restricts the incoming call of terminal C.
  • terminal B calls terminal A, and in the process of establishing a session, terminal B activates the call forwarding service, and forwards the call to terminal C, and the parameter in the restriction condition of terminal A is changed by the user identifier of terminal B.
  • User ID of terminal C User ID of terminal C.
  • Terminal A signs the call restriction service, restricts the call to terminal C
  • terminal B signs the same vibration service
  • terminal C and terminal B belong to the same same vibration group.
  • terminal A calls terminal B
  • the network will simultaneously send the call to terminal B and terminal C.
  • the terminal C responds first, the parameter in the terminal A restriction condition is changed from the terminal B to the terminal C.
  • the network does not process this after the session request, so that the user is not provided with a limited service.
  • the embodiments of the present invention provide a method, an apparatus, and a system for implementing a service restriction, which may continue to provide a restricted service for a subscription terminal after the session initial request message.
  • a method of implementing a restricted service comprising the steps of:
  • the subsequent session message of the session initial request message is received, and the process of restricting the service is performed according to the parameter related to the restricted service in the subsequent session message.
  • a device for implementing a restricted service comprising:
  • a receiving unit receiving a subsequent session message of the session initial request message
  • the processing unit performs a process of restricting the service according to the parameter related to the restricted service in the subsequent session request.
  • a system for implementing restricted services comprising:
  • Restricting the service control module receiving a subsequent session message of the session initial request message, and performing a process of restricting the service according to the parameter related to the restricted service in the subsequent session message;
  • the session control module provides a session routing function, and the forwarding terminal and the session message that restricts the interaction of the service control module.
  • the embodiment of the present invention provides a method, an apparatus, and a system for implementing a service restriction, which may receive a subsequent session message of a session initial request message, and perform a restriction according to a parameter related to the restricted service in the subsequent session message. The processing of the service, so as to continue to provide restricted services for the contracted terminal after the initial session request message.
  • Embodiment 1 is a flow chart of Embodiment 1 of the method of the present invention.
  • FIG. 2 is a schematic diagram of a message flow according to Embodiment 2 of the method of the present invention.
  • FIG. 3 is a schematic diagram of a message flow according to Embodiment 3 of the method of the present invention.
  • FIG. 4 is a schematic view showing the basic structure of an embodiment of the apparatus of the present invention.
  • Figure 5 is a schematic diagram showing the basic structure of an embodiment of the system of the present invention.
  • FIG. 1 is a flowchart of Embodiment 1 of implementing a method for restricting services. As shown in FIG. 1, this embodiment can To include the following steps:
  • Step 101 Receive a subsequent session message of the session initial request message during the session.
  • the first session message of the session process is generally the session initial message of the session initiation, that is, the initial request message (SIP, Ses-Isation Protocol), such as: SIP INVITE message. , SIP SUBSCRIBE message, SIP message (SIP MESSAGE) message, etc. All session messages after the session initial message can be collectively referred to as subsequent session messages, such as: re-INVITE message, acknowledgment (ACK) message, notification (INFO) message, REFER message, response code message, and the like.
  • SIP Ses-Isation Protocol
  • SIP MESSAGE SIP message
  • All session messages after the session initial message can be collectively referred to as subsequent session messages, such as: re-INVITE message, acknowledgment (ACK) message, notification (INFO) message, REFER message, response code message, and the like.
  • an entity on the session signaling path in the network needs to receive subsequent session messages of the session initial request message in order to implement the restricted service.
  • an entity that implements a restricted service may be a server, such as an application server (AS).
  • AS application server
  • the AS is required to receive subsequent messages for the initial session request.
  • the implementation of the restricted service can also be only one functional module in the AS, or other entities in the session path.
  • the method for receiving the subsequent session message of the session initial request message may be:
  • the own address is added to the session initiation request message to join the session signaling path, and the subsequent session message is received from the session signaling path.
  • an entity that can implement restricted services such as an AS
  • Step 102 Perform processing of restricting services according to parameters related to the restricted service in the subsequent session message.
  • the processing of the restricted service described in this step may be: The related parameters are matched with the parameters in the existing restriction conditions. If the matching is successful, the session failure information is sent to the terminal.
  • the entity that implements the restricted service saves the restrictions and parameters of the session that the terminal wants to restrict. For example, if terminal A subscribes to the call restriction service and needs to restrict the call to terminal B, then the restriction condition may be "restrict call to terminal B" and the parameter is the user identifier of terminal B. In this way, if the parameters related to the restricted service in the subsequent session message are the same as the user identifier of the terminal B, it may be determined that the restriction condition of the terminal A subscription is met, and the session failure information should be sent to notify the terminal that the session is restricted.
  • the parameters related to the restricted service in the subsequent session message may be the user identifier, for example: the calling user identifier, the called user identifier, the original calling user identifier, the original called user identifier, the forwarding user identifier, the forwarded user identifier, Transfer the user ID or the user ID after the number change.
  • the user identifier associated with the restricted service in the subsequent session message is related to the specific session.
  • terminal A subscribes to the outgoing call restriction service and restricts the call to terminal C.
  • Terminal B subscribes to the unconditional call forwarding service, and needs to forward the call to terminal C when there is an incoming call.
  • the parameter related to the restricted service should be the user identifier of terminal C. , that is, the called user ID.
  • the session needs to be restricted, that is, the session failure information is sent to the terminal.
  • the session can still exist.
  • terminal A subscribes to the outgoing call restriction service and restricts the call to terminal C.
  • Terminal B subscribes to the unconditional call forwarding service, and needs to forward the call to terminal C when there is an incoming call.
  • the terminal B forwards the call to the terminal C, and the parameter in the terminal A restriction condition is changed from the user identifier of the terminal B to the user identifier of the terminal C, and the subsequent session message and the restriction
  • the service-related parameter is the user ID of terminal C.
  • the entity that receives the subsequent session message and restricts the service may determine that the session should be restricted according to the parameter related to the restricted service, send the session failure information to the terminal B, and establish the network with the terminal B.
  • Standing a conversation In this case, the session initiated by the terminal A is only restricted from the session with the terminal C, but the session with the terminal B can still be maintained.
  • the entity that implements the restricted service can also further dismantle the session after sending the information of the session failure, and end the session.
  • terminal A cannot talk to terminal C or to terminal B.
  • the existing session flow can be continued.
  • the existing session process belongs to the prior art and will not be described here.
  • the parameters related to the restricted service in the subsequent session message may be carried in a Reques tURI domain, an S IP header field, or a message body.
  • the restricted service may include: an anonymous call restriction service, an incoming call restriction service, or an outgoing call restriction service.
  • the terminal A503 subscribes to the outgoing call restriction service, and restricts the call to the terminal C.
  • the terminal B subscribes to the unconditional call forwarding service, and needs to forward the call to the terminal C when there is an incoming call.
  • the system corresponding to this embodiment may include: a restricted service control module 501, a session control module 502, a terminal A503, a network 504 to which the terminal B belongs, and a terminal C505.
  • the session control module 502 can provide a session routing function, and the forwarding terminal A 503 and the session information that restricts the service control module 501, such as a P-CSCF, an S-CSCF, an I-CSCF, etc.;
  • the entity that implements the restricted service can be an AS server or the like.
  • the network to which the terminal B belongs and the network to which the terminal C belongs may also include entities similar to the above, which are not listed here.
  • FIG. 2 is a schematic diagram of a message flow of an embodiment of the method. As shown in FIG. 2, this embodiment may include the following steps:
  • Step 201 The terminal A503 sends a session initial request message to the session control module 502, where the parameter related to the restricted service carried by the session initial request message is the user identifier of the terminal B.
  • Step 202 The session control module 502 sends a session initial request message to the restricted service control mode. Block 501.
  • the terminal A503 may carry the user identifier of the terminal B in the Reques tURI domain, the SIP header field, or the message body, and the SIP header field may be a P-As ser ted-Ident domain, a Refer-To domain, and a Referred - By field, From field, To field, P_Preferred - Ident i ty field, P_As soc ia ted - URI field, P-Ca l led-Par ty-ID field, Hi s tory-Info field, and so on.
  • Step 203 The restriction service control module 501 determines that the parameter related to the restricted service in the session initial request message does not match the parameter in the existing restriction condition, and adds the own address to the session initial request message.
  • the restriction service control module determines that the session should not be restricted. Continue with the subsequent session process.
  • the restricted service control module also needs to add its own address to the session initial request message and join the session signaling path to receive subsequent session messages.
  • the restricted service control module can add its own address to a certain field of the message, such as: Record-Route header field.
  • Step 204 The restricted service control module 501 sends a session initial request message with its own address added to the session control module 502.
  • Step 205 The session control module 502 forwards the initial request message to the network to which the terminal B belongs.
  • Step 206 The network 504 to which the terminal B belongs forwards the session initial request message to the terminal C505, and carries the user identifier of the terminal C505 as a parameter related to the restricted service in the session initial request message.
  • the network 504 to which the terminal B belongs can directly forward the session initial request message sent to the terminal B to the terminal C505.
  • Step 207 The terminal C505 sends a session response 183 message to the network 504 to which the terminal B belongs.
  • the session response 183 message carries the user identifier of the terminal C as a parameter related to the restricted service.
  • Step 208 The network 504 to which the terminal B belongs will respond to the message 183 message session control module 502.
  • Step 210 The restriction service control module 501 determines that the parameter related to the restricted service carried in the session response 183 message matches the parameter in the existing restriction condition.
  • the parameter related to the restricted service carried in the session response 183 message is the user identifier of the terminal C, and the parameter in the terminal A restriction condition is also the user identifier of the terminal C, it can be determined that the session is the terminal A. Limited.
  • Step 211 The restricted service control module 501 sends a message 603 indicating that the session failed to the session control module 502.
  • Step 212 The session control module 502 forwards to the terminal A 503 a message indicating that the session failed.
  • sending a message indicating that the session has failed may also use no other messages, such as 480, 5 X X messages, etc., instead of 603 messages.
  • the information indicating that the session fails is sent to the terminal by using the steps 211 and 212.
  • the information indicating that the session fails may be sent to the terminal in the foregoing manner, and other methods are used. For example: Send the session failure information to both parties at the same time.
  • Step 213 The restricted service control module 501 sends a CANCEL message to the session control module 502 to tear down the session.
  • Step 214 The session control module 502 forwards the CANCEL message of the teardown session to the network 504 to which the terminal B belongs.
  • Step 215 The network 504 to which the terminal B belongs sends a CANCEL message for tearing down the session to the terminal C505.
  • Step 216 The terminal C505 returns a 200 response message to the network 504 to which the terminal B belongs.
  • Step 217 The network 504 to which the terminal B belongs returns a 200 response message to the session control module 502.
  • Step 218 The session control module 502 returns a 200 response message to the restricted service control module 501.
  • the teardown session is implemented by using steps 213 to 218.
  • the specific manner of dismantling the session may also be determined by the user who applies the solution in this embodiment, and details are not described herein again.
  • the address of the service control module 501 may be added to the Record-Route or Route header field of the message, and the user identifier of the terminal may be carried in the Reques tURI domain, the SIP header field, or the message body. It can be determined by the user who applies the solution of this embodiment, and details are not described herein again.
  • the terminal A subscribes to the incoming call restriction service, and restricts the call from the terminal C; the terminal B calls the terminal A, and activates the call forwarding service that has been contracted after the session is established, and transfers the call to the terminal C. .
  • the system corresponding to the embodiment of the method may include: a restricted service control module 501, a session control module 502, a terminal A503, a network 504 to which the terminal B belongs, and a terminal B506.
  • the session control module 502 can provide a session routing function, and the forwarding terminal and the session message that restricts the interaction of the service control module, such as a P-CSCF, an S-CSCF, an I-CSCF, etc.; Entity, can be an AS server, etc.
  • the network to which Terminal B and Terminal C belong may also include entities similar to those described above, which are not listed here.
  • FIG. 3 is a schematic diagram of a message flow of an embodiment of the method. As shown in FIG. 3, this embodiment may include the following steps:
  • Step 301 The terminal B506 sends a session initial request message to the network 505 to which the terminal B belongs, and the parameter related to the restricted service carried in the session initial request message is the user identifier of the terminal B.
  • the user identifier of the terminal B may also be carried in the Reques tURI domain, the SIP header field, or the message body.
  • the SIP header field may be a PA ssert ed-1 den tity domain or a Re fe r-To domain. , Referred - By field, From field, To field, P-Pref erred-Ident ty field, P_As soc ia ted - URI field, P_Ca l led - Par ty - ID field, Hi s tory - Inf o field, etc.
  • Step 302 The network 504 to which the terminal B belongs forwards the session initial request message to the session control module.
  • Step 303 The session control module 502 forwards the session initial request message to the restricted service control module 501.
  • Step 304 The restriction service control module 501 determines that the parameter related to the restricted service in the session initial request message does not match the parameter in the existing restriction condition, and adds the own address to the session initial request message.
  • the restriction service control module determines that the session should not be restricted. Continue with the subsequent session process.
  • Step 305 The restricted service control module 501 sends a session initial request message with its own address to the session control module 502.
  • Step 306 The session control module 502 forwards the session initial request message to the terminal A503.
  • Step 307 The terminal A503 and the terminal B506 establish a session.
  • Step 308 The terminal B506 activates the call forwarding service that has been contracted by itself.
  • the terminal B 506 activates the call forwarding service after establishing a session with the terminal A 503.
  • the terminal B 506 can activate the call forwarding service at any time.
  • Step 309 The terminal B506 sends a re-session request message to the network 504 to which the terminal B belongs, and the re-session request message carries the parameter related to the restricted service, that is, the user identifier of the terminal C.
  • Step 310 The network 504 to which the terminal B belongs forwards the re-session request message to the session control module.
  • Step 311 The session control module 502 forwards the re-session request message to the restricted service control module 501.
  • Step 312 The restriction service control module 501 determines that the parameter related to the restricted service carried in the re-session request message is the same as the parameter in the existing restriction condition.
  • the parameter related to the restricted service carried in the re-session request message is the user identifier of the terminal C, and the parameter in the terminal A restriction condition is also the user identifier of the terminal C, it can be determined that the session is the terminal A. limited. In actual applications, if the parameters are determined to be different in this step, the existing subsequent session process can be continued.
  • Step 31 3 The restricted service control module 501 sends a message 603 indicating that the session failed to the session control module 502.
  • Step 314 The session control module 502 forwards the 603 message indicating the session failure to the network 504 to which the terminal B belongs.
  • Step 315 The network 504 to which the terminal B belongs sends a message 603 indicating that the session has failed to the terminal B 506.
  • the address of the restricted service control module 501 may be added to the Re c 0 r d-Rou te or Rou te header field of the message, and the user identifier of the terminal may be carried in the Reques tURI.
  • the specific situation may be determined by the user who applies the solution in this embodiment, and details are not described herein again.
  • the parameters related to the restricted service in the subsequent session message are changed, and are the same as the parameters in the existing restriction condition, so that the session should never be changed to be restricted, and the restriction is restricted by the service control module.
  • Business process In practical applications, it leads to changes in the parameters that limit the business-related parameters in the message [ ⁇ .
  • the terminal ⁇ subscribes to the call restriction service, restricts the call to the terminal C, and the terminal B signs the same vibration service, and the terminal C and the terminal B belong to the same same vibration group.
  • terminal A calls terminal B, and after the call arrives at the network to which terminal B belongs, terminal B and terminal C are simultaneously called. If terminal C answers first, terminal A and terminal C will perform the session flow.
  • the parameter related to the restricted service in the subsequent session message will be the user identifier of the terminal C, which also triggers the restriction service control module to limit the session.
  • the process of restricting the service may be performed by using parameters related to the restricted service in the subsequent session message, thereby providing the terminal with the prior Contracted business restrictions.
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of implementing a restricted service device. As shown in FIG. 4, this embodiment includes:
  • the receiving unit 401 is configured to receive a subsequent session message of the session initial request message.
  • the processing unit 402 is configured to perform a process of limiting the service according to the parameter related to the restricted service in the subsequent session request.
  • processing unit 402 may include:
  • the matching unit 4021 is configured to match the parameter related to the restricted service in the subsequent session message with the parameter of the restriction condition in the storage unit 4022. If the matching is successful, the sending unit 403 sends the session failure information to the terminal.
  • the storage unit 4022 is configured to save a parameter of the restriction condition.
  • the device further comprises:
  • the sending unit 403 is configured to send session failure information to the terminal.
  • the apparatus may further include:
  • the address loading unit 404 is configured to add the device's own address to the received session initial request message, and send it through the sending unit 403.
  • the address loading unit 404 When receiving the session initial situation message, the address loading unit 404 adds the device's own address to the received session initial request message, and transmits it through the sending unit 403; the receiving unit 401 receives the subsequent session of the session initial request message.
  • the matching unit 4021 matches the parameter related to the restriction service and the parameter of the restriction condition in the storage unit 4022 in the subsequent session message. If the matching is successful, the sending unit 403 sends the session failure information to the terminal to limit the current time. Conversation.
  • the implementation limiting service device may be an application server (AS) or one of the functional modules, that is, the restricted service control module 501.
  • AS application server
  • the restricted service control module 501 the restricted service control module 501.
  • FIG. 5 is a block diagram showing an embodiment of a restricted service system.
  • the system can include:
  • the service control module 501 is configured to receive a subsequent session message of the session initial request message, and perform a process of limiting the service according to the parameter related to the restricted service in the subsequent session message.
  • the structure inside the restricted service control module 501 described herein is the same as that of FIG. 4 and will not be described here.
  • the session control module 502 is configured to provide a session routing function, and the forwarding terminal 503 and the session message restricting the interaction of the service control module 501.
  • session control module 502 may be a Call Session Control Function entity (CSCF), comprising a P-CSCF, S-CSCF, I -CSCF 0
  • CSCF Call Session Control Function entity
  • the terminal 503 initiates a session, and sends a subsequent session message of the session initial request message to the restricted service control unit 503 through the session control module 502.
  • the implementation of the restricted service system is actually a contracting restriction on the service terminal side.
  • the system also needs to interact with the network or entity on the other terminal side of the session, and which entities are included on the other terminal side. It is related to the specific situation and belongs to the prior art part, and will not be described here.
  • the interface between the service control module 501 and the session control module 502 is E1, and may be exchanged according to the SIP protocol; the interface between the session control module 502 and the terminal 503 is E2, and may also be in accordance with S.
  • the IP protocol interacts.
  • the service control module may receive the subsequent session message, and perform the process of limiting the service according to the parameter related to the restricted service in the subsequent session message. If the parameter related to the restricted service in the subsequent session message matches the parameter in the existing restriction condition, the session failure information is sent to the terminal; otherwise, the existing session flow is continued.
  • the restricted service control module not only implements the process of restricting the service when receiving the initial session request message, but also provides the restricted service service for the contracted terminal in the subsequent session, and ensures that the validity of the service service is restricted throughout the session process. Conducive to restrict the promotion of business.
  • All or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, when executed, The steps of the foregoing method embodiments are performed; and the foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.
  • modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the embodiment, or may be correspondingly changed in one or more apparatuses different from the embodiment.
  • the modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A method, device and system for achieving a barring service are provided. The method includes: during a session, receiving the subsequent session message of a session original request message, and performing the process of the interdictory service according to a parameter related to an interdictory service in the subsequent session message.

Description

一种实现限制业务的方法、 装置和系统  Method, device and system for realizing limited service
技术领域 Technical field
本发明涉及通信技术, 特别是涉及一种实现限制业务的方法、 装置和系 统。  The present invention relates to communication technologies, and more particularly to a method, apparatus and system for implementing restricted services.
背景技术 Background technique
目前, 随着分组技术的不断成熟, 基于电路交换的传统电信网络正在向 着基于分组交换的宽带电信网发展。  At present, with the continuous maturity of packet technology, traditional telecommunication networks based on circuit switching are developing toward packet telecommunication-based broadband telecommunication networks.
在传统电信网络中, 网络除了向用户提供呼叫服务外, 还提供补充业务 服务, 比如: 呼叫前转(CF, Call Forward)业务、 去话限制 (OCB, Outgoing Call Barring )业务等。  In the traditional telecommunication network, in addition to providing call services to users, the network also provides supplementary service services, such as: Call Forwarding (CF), and Outgoing Call Barring (OCB) services.
相应地, 分组电信网络也需要向用户提供与传统电路网络中类似的补充 业务的服务, 比如: 呼叫前转业务(CDIV, Communication Diversion) 、 去 话限制业务 (OCB , Outgoing Call Barring )等。 在分组电信网络中, 用户 终端可以为传统终端, 也可以为分组终端。 其中, 分组终端又可以为初始会 话协议 ( SIP, Session Initiation Protocol )终端, 或者为分组非 SIP终 端, 如 H323终端等。 在下一代网络(NGN) 中, 将向用户终端提供的具有传 统业务特征的业务统称为公用电话交换网 /综合业务数字网模拟业务  Correspondingly, packet telecommunication networks also need to provide users with services similar to supplementary services in traditional circuit networks, such as: CDIV (Communication Diversion), Outgoing Call Barring (OCB), and so on. In a packet telecommunication network, the user terminal may be a legacy terminal or a packet terminal. The packet terminal may be a SIP (Session Initiation Protocol) terminal or a packet non-SIP terminal, such as an H323 terminal. In the Next Generation Network (NGN), services with traditional service features provided to user terminals are collectively referred to as public switched telephone networks/integrated services digital network analog services.
( PSTN/ISDN simulation services ) 。  ( PSTN/ISDN simulation services ).
在上述的模拟业务中, 有一类可以限制用户来话或去话的限制业务, 如 匿名呼叫限制业务 (ACR, Anonymous Communication Rejection ) 、 来话限 制业务 ( ICB, Incoming Communication Barring ) 、 去话限制业务(OCB, Outgoing Call Barring)等。 用户签约某限制业务后, 可以设置相应的限制 条件, 通过激活相应的限制条件来要求限制某一类来话或者去话。  In the above-mentioned analog service, there is a type of restricted service that can restrict the incoming or outgoing calls of the user, such as Anonymous Communication Rejection (ACR), Incoming Communication Barring (ICB), and outgoing call restriction service. (OCB, Outgoing Call Barring), etc. After the user signs a certain restricted service, the corresponding restriction condition can be set, and a certain type of incoming or outgoing call is required to be restricted by activating the corresponding restriction condition.
现有的分组电信网络技术中, 如果需要实现上述的限制业务, 通常在发 起会话请求消息时, 根据会话请求消息来确定是否需要进行限制处理。 比如: 终端 A签署了来话限制业务, 限制终端 B的呼入。 如果终端 B发起对终端 A 的呼叫 , 网络可以根据终端 Β所签署限制业务中限制条件的参数判断出需要 限制终端 Β的呼入, 从而拒绝终端 Β与终端 Α建立会话。 这里, 所述限制条 件可以为限制终端 B的呼入, 参数可以为终端 B的用户标识。 In the existing packet telecommunication network technology, if the above-mentioned restricted service needs to be implemented, when the session request message is initiated, it is usually determined according to the session request message whether the restriction process needs to be performed. For example: Terminal A signs the incoming call restriction service and restricts the incoming call of terminal B. If terminal B initiates to terminal A For the call, the network may determine that the incoming call of the terminal is required to be restricted according to the parameter that the terminal has signed the restriction condition in the service, thereby denying the terminal to establish a session with the terminal. Here, the restriction condition may be to limit the incoming call of the terminal B, and the parameter may be the user identifier of the terminal B.
在实现本发明的过程中, 发明人发现现有技术中至少存在如下问题: 实际应用中, 上述限制条件中的参数在呼叫过程中可能发生变化, 使先 前不应该限制的会话变成需要限制的会话。 比如: 终端 A签约了去话限制业 务, 限制呼叫到终端 C; 终端 B签约了无条件呼叫前转业务(CFU ) , 需要在 有呼入时将呼叫前转到终端 C。 此时, 如果终端 A向终端 B发起呼叫, 终端 B 将呼叫前转到终端 C,终端 A限制条件中的参数由终端 B的用户标识变成了终 端 C的用户标识。  In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: In practical applications, the parameters in the above restrictions may change during the call, so that the session that should not be restricted before becomes a limit. Conversation. For example, terminal A subscribes to the outgoing call restriction service and restricts the call to terminal C; terminal B subscribes to the unconditional call forwarding service (CFU), and needs to forward the call to terminal C when there is an incoming call. At this time, if terminal A initiates a call to terminal B, terminal B forwards the call to terminal C, and the parameter in the terminal A restriction condition is changed from the user identifier of terminal B to the user identifier of terminal C.
又比如: 终端 A签约了来话限制业务, 限制终端 C的呼入。 此时, 如果 终端 B呼叫终端 A, 并在建立会话的过程中, 终端 B激活了呼叫转移业务, 将 呼叫前转到终端 C,终端 A限制条件中的参数由终端 B的用户标识变成了终端 C的用户标识。  For another example: Terminal A signs an incoming call to restrict the service and restricts the incoming call of terminal C. At this time, if terminal B calls terminal A, and in the process of establishing a session, terminal B activates the call forwarding service, and forwards the call to terminal C, and the parameter in the restriction condition of terminal A is changed by the user identifier of terminal B. User ID of terminal C.
再比如: 终端 A签约了去话限制业务, 限制呼叫到终端 C, 而终端 B签约 了同振业务, 终端 C和终端 B属于同一个同振群。 此时, 如果终端 A呼叫终 端 B, 网络会将呼叫同时发送给终端 B和终端 C。在终端 C先行应答的情况下, 终端 A限制条件中的参数由终端 B变成了终端 C。  For example: Terminal A signs the call restriction service, restricts the call to terminal C, and terminal B signs the same vibration service, and terminal C and terminal B belong to the same same vibration group. At this time, if terminal A calls terminal B, the network will simultaneously send the call to terminal B and terminal C. In the case where the terminal C responds first, the parameter in the terminal A restriction condition is changed from the terminal B to the terminal C.
总之, 不管限制条件中的参数在什么样的情况下发生了变化, 导致先前 不应该限制的会话变成应该限制, 在这种情况下, 网络应该对该会话进行限 制。 但现有技术中, 网络并不会在会话请求之后对此进行处理, 从而不能为 用户很好地提供限制业务。  In summary, regardless of the circumstances under which the parameters in the constraints change, the session that should not be previously restricted should become restricted, in which case the network should limit the session. However, in the prior art, the network does not process this after the session request, so that the user is not provided with a limited service.
发明内容 Summary of the invention
本发明实施例提供一种实现限制业务的方法、 装置和系统, 可以在会话 初始请求消息之后继续为签约终端提供限制业务。  The embodiments of the present invention provide a method, an apparatus, and a system for implementing a service restriction, which may continue to provide a restricted service for a subscription terminal after the session initial request message.
本发明方法实施例提出的技术方案为: 一种实现限制业务的方法, 该方法包括以下步骤: The technical solution proposed by the method embodiment of the present invention is: A method of implementing a restricted service, the method comprising the steps of:
在会话过程中, 接收会话初始请求消息的后续会话消息, 并根据所述后 续会话消息中与限制业务相关的参数执行限制业务的处理过程。  During the session, the subsequent session message of the session initial request message is received, and the process of restricting the service is performed according to the parameter related to the restricted service in the subsequent session message.
本发明装置实施例提出的技术方案为:  The technical solution proposed by the device embodiment of the present invention is:
一种实现限制业务的装置, 该装置包括:  A device for implementing a restricted service, the device comprising:
接收单元, 接收会话初始请求消息的后续会话消息;  a receiving unit, receiving a subsequent session message of the session initial request message;
处理单元, 根据后续会话请求中与限制业务相关的参数执行限制业务的 处理过程。  The processing unit performs a process of restricting the service according to the parameter related to the restricted service in the subsequent session request.
本发明系统实施例提出的技术方案为:  The technical solution proposed by the system embodiment of the present invention is:
一种实现限制业务的系统, 该系统包括:  A system for implementing restricted services, the system comprising:
限制业务控制模块, 接收会话初始请求消息的后续会话消息, 并根据后 续会话消息中与限制业务相关的参数执行限制业务的处理过程;  Restricting the service control module, receiving a subsequent session message of the session initial request message, and performing a process of restricting the service according to the parameter related to the restricted service in the subsequent session message;
会话控制模块, 提供会话路由功能, 转发终端和限制业务控制模块交互 的会话消息。  The session control module provides a session routing function, and the forwarding terminal and the session message that restricts the interaction of the service control module.
综上所述, 本发明实施例提出一种实现限制业务的方法、 装置和系统, 由于可以接收会话初始请求消息的后续会话消息, 并根据所述后续会话消息 中与限制业务相关的参数执行限制业务的处理过程, 从而达到在会话初始请 求消息后继续为签约终端提供限制业务的目的。  In summary, the embodiment of the present invention provides a method, an apparatus, and a system for implementing a service restriction, which may receive a subsequent session message of a session initial request message, and perform a restriction according to a parameter related to the restricted service in the subsequent session message. The processing of the service, so as to continue to provide restricted services for the contracted terminal after the initial session request message.
附图说明 DRAWINGS
图 1是本发明方法实施例一的流程图;  1 is a flow chart of Embodiment 1 of the method of the present invention;
图 2是本发明方法实施例二的消息流示意图;  2 is a schematic diagram of a message flow according to Embodiment 2 of the method of the present invention;
图 3是本发明方法实施例三的消息流示意图;  3 is a schematic diagram of a message flow according to Embodiment 3 of the method of the present invention;
图 4是本发明装置实施例的基本结构示意图;  4 is a schematic view showing the basic structure of an embodiment of the apparatus of the present invention;
图 5是本发明系统实施例的基本结构示意图。  Figure 5 is a schematic diagram showing the basic structure of an embodiment of the system of the present invention.
具体实施方式 detailed description
图 1是实现限制业务方法实施例一的流程图。 如图 1所示, 本实施例可 以包括以下步骤: FIG. 1 is a flowchart of Embodiment 1 of implementing a method for restricting services. As shown in FIG. 1, this embodiment can To include the following steps:
步骤 101 : 在会话过程中, 接收会话初始请求消息的后续会话消息。  Step 101: Receive a subsequent session message of the session initial request message during the session.
当某个终端针对另一终端发起会话时, 两个终端以及终端之间会话信令 路径上的实体将执行会话流程。 会话流程的第一条会话消息一般是发起会话 的会话初始消息, 即会话初始十办议( S IP , Ses s ion Ini t ia t ion Protocol ) 初始请求消息, 比如: SIP邀请( SIP INVITE )消息、 SIP订阅( SIP SUBSCRIBE ) 消息、 SIP信息 (SIP MESSAGE ) 消息等。 而会话初始消息后的所有会话消息 都可以统称为后续会话消息, 比如: 重新邀请(re-INVITE )消息、确认( ACK ) 消息、 通知(INFO ) 消息、 REFER消息、 响应码消息等。  When a terminal initiates a session for another terminal, the entities on the session signaling path between the two terminals and the terminal will perform the session flow. The first session message of the session process is generally the session initial message of the session initiation, that is, the initial request message (SIP, Ses-Isation Protocol), such as: SIP INVITE message. , SIP SUBSCRIBE message, SIP message (SIP MESSAGE) message, etc. All session messages after the session initial message can be collectively referred to as subsequent session messages, such as: re-INVITE message, acknowledgment (ACK) message, notification (INFO) message, REFER message, response code message, and the like.
但不管具体的会话流程如何, 都需要网络中会话信令路径上的某个实体 接收会话初始请求消息的后续会话消息, 以便实现限制业务。 实际应用中, 实现限制业务的实体可以为某个服务器, 比如应用服务器(AS )。 此时, 就需 要 AS来接收会话初始请求的后续消息。 当然, 实现限制业务的也可以仅仅是 AS中的某一个功能模块, 或者是会话路径上其它实体。  However, regardless of the specific session process, an entity on the session signaling path in the network needs to receive subsequent session messages of the session initial request message in order to implement the restricted service. In an actual application, an entity that implements a restricted service may be a server, such as an application server (AS). At this point, the AS is required to receive subsequent messages for the initial session request. Of course, the implementation of the restricted service can also be only one functional module in the AS, or other entities in the session path.
但不管是哪个实体或模块接收后续会话消息, 所述接收会话初始请求消 息的后续会话消息的方法可以为:  However, regardless of which entity or module receives the subsequent session message, the method for receiving the subsequent session message of the session initial request message may be:
当接收到会话过程中的会话初始请求消息时, 将自身地址添加到会话初 始请求消息中以加入会话信令路径, 并从会话信令路径上接收所述后续会话 消息。  When the session initial request message during the session is received, the own address is added to the session initiation request message to join the session signaling path, and the subsequent session message is received from the session signaling path.
也就是说, 某个可以实现限制业务的实体, 如 AS , 从网络中接收会话初 始请求消息时, 将自身地址添加到消息中, 以加入会话信令路径。 此后, 进 行会话的终端之间交互的所有后续会话消息都将按照会话信令路径进行传 输, 也必将到达 AS。  That is to say, an entity that can implement restricted services, such as an AS, adds its own address to the message to join the session signaling path when receiving the initial session request message from the network. Thereafter, all subsequent session messages exchanged between the terminals performing the session will be transmitted according to the session signaling path and will also arrive at the AS.
步骤 102:根据所述后续会话消息中与限制业务相关的参数执行限制业务 的处理。  Step 102: Perform processing of restricting services according to parameters related to the restricted service in the subsequent session message.
本步骤所述执行限制业务的处理可以为: 将后续会话消息中与限制业务 相关的参数和已有的限制条件中的参数进行匹配, 如果匹配成功, 则向终端 发送会话失败的信息。 The processing of the restricted service described in this step may be: The related parameters are matched with the parameters in the existing restriction conditions. If the matching is successful, the session failure information is sent to the terminal.
实际应用中, 当终端签约限制业务时, 实现限制业务的实体会保存该终 端所要限制会话的限制条件以及参数。 比如: 终端 A签约去话限制业务, 需 要限制呼叫到终端 B, 那么, 限制条件可以为 "限制呼叫到终端 B" , 参数为 终端 B 的用户标识。 这样, 如果后续会话消息中与限制业务相关的参数与终 端 B的用户标识相同, 则可以确定满足终端 A签约的限制条件, 应该发送会 话失败信息, 通知终端此次会话是被限制的。  In actual applications, when a terminal subscribes to a restricted service, the entity that implements the restricted service saves the restrictions and parameters of the session that the terminal wants to restrict. For example, if terminal A subscribes to the call restriction service and needs to restrict the call to terminal B, then the restriction condition may be "restrict call to terminal B" and the parameter is the user identifier of terminal B. In this way, if the parameters related to the restricted service in the subsequent session message are the same as the user identifier of the terminal B, it may be determined that the restriction condition of the terminal A subscription is met, and the session failure information should be sent to notify the terminal that the session is restricted.
后续会话消息中与限制业务相关的参数可以为用户标识, 比如: 主叫用 户标识、 被叫用户标识、 原主叫用户标识、 原被叫用户标识、 前转用户标识、 前转到用户标识、 转移用户标识或号码变换后的用户标识。  The parameters related to the restricted service in the subsequent session message may be the user identifier, for example: the calling user identifier, the called user identifier, the original calling user identifier, the original called user identifier, the forwarding user identifier, the forwarded user identifier, Transfer the user ID or the user ID after the number change.
后续会话消息中与限制业务相关的参数是哪种用户标识, 则与具体的会 话情况相关。 比如: 终端 A签约了去话限制业务, 限制呼叫到终端 C; 终端 B 签约了无条件呼叫前转业务, 需要在有呼入时将呼叫前转到终端 C。 此时, 如 果终端 A向终端 B发起呼叫, 终端 B将呼叫前转到终端 C, 实现限制业务的实 体所接收到的后续会话消息中, 与限制业务相关的参数就应该为终端 C 的用 户标识, 即被叫用户标识。  The user identifier associated with the restricted service in the subsequent session message is related to the specific session. For example, terminal A subscribes to the outgoing call restriction service and restricts the call to terminal C. Terminal B subscribes to the unconditional call forwarding service, and needs to forward the call to terminal C when there is an incoming call. At this time, if terminal A initiates a call to terminal B, and terminal B forwards the call to terminal C, and the subsequent session message received by the entity that implements the restricted service, the parameter related to the restricted service should be the user identifier of terminal C. , that is, the called user ID.
这里, 如果后续会话消息中与限制业务相关的参数和已有的限制条件中 的参数匹配成功, 则需要限制本次会话, 即向终端发送会话失败的信息。 但 发送会话失败的信息后, 会话仍然可以存在。 比如: 终端 A签约了去话限制 业务, 限制呼叫到终端 C; 终端 B签约了无条件呼叫前转业务, 需要在有呼入 时将呼叫前转到终端 C。 此时, 如果终端 A向终端 B发起呼叫, 终端 B将呼叫 前转到终端 C,终端 A限制条件中的参数由终端 B的用户标识变成了终端 C的 用户标识, 后续会话消息中与限制业务相关的参数为终端 C 的用户标识。 接 收到后续会话消息的实现限制业务的实体可以根据与限制业务相关的参数确 定应该限制本次会话, 向终端 B发送会话失败信息, 并通过网络与终端 B建 立会话。 在这种情况下, 终端 A发起的本次会话只是被限制与终端 C进行会 话, 但可以仍然保持与终端 B的会话。 Here, if the parameters related to the restricted service and the parameters in the existing restriction conditions are successfully matched in the subsequent session message, the session needs to be restricted, that is, the session failure information is sent to the terminal. However, after the message that the session failed to be sent, the session can still exist. For example, terminal A subscribes to the outgoing call restriction service and restricts the call to terminal C. Terminal B subscribes to the unconditional call forwarding service, and needs to forward the call to terminal C when there is an incoming call. At this time, if the terminal A initiates a call to the terminal B, the terminal B forwards the call to the terminal C, and the parameter in the terminal A restriction condition is changed from the user identifier of the terminal B to the user identifier of the terminal C, and the subsequent session message and the restriction The service-related parameter is the user ID of terminal C. The entity that receives the subsequent session message and restricts the service may determine that the session should be restricted according to the parameter related to the restricted service, send the session failure information to the terminal B, and establish the network with the terminal B. Standing a conversation. In this case, the session initiated by the terminal A is only restricted from the session with the terminal C, but the session with the terminal B can still be maintained.
实现限制业务的实体也可以在发送会话失败的信息之后进一步拆除会 话, 结束本次会话。 这样, 终端 A既不能与终端 C会话, 也不能与终端 B会 话。  The entity that implements the restricted service can also further dismantle the session after sending the information of the session failure, and end the session. Thus, terminal A cannot talk to terminal C or to terminal B.
当然, 如果后续会话消息中与限制业务相关的参数和已有的限制条件中 的参数不匹配, 则可以继续执行已有的会话流程。 已有的会话流程属于现有 技术, 此处不再赘述。  Of course, if the parameters related to the restricted service in the subsequent session message do not match the parameters in the existing restriction condition, the existing session flow can be continued. The existing session process belongs to the prior art and will not be described here.
另外, 实际应用中, 所述后续会话消息中与限制业务相关的参数可以携 带于 Reques tURI域、 S IP头域或消息体等中。 所述限制业务可以包括: 匿名 呼叫限制业务、 来话限制业务或去话限制业务等。  In addition, in actual applications, the parameters related to the restricted service in the subsequent session message may be carried in a Reques tURI domain, an S IP header field, or a message body. The restricted service may include: an anonymous call restriction service, an incoming call restriction service, or an outgoing call restriction service.
为了更好地说明实现限制业务的方法, 下面用方法实施例二和方法实施 例三进行详细描述。  In order to better illustrate the method for implementing the restricted service, the following describes the method embodiment 2 and the method embodiment 3.
方法实施例二中, 终端 A503签约了去话限制业务, 限制呼叫到终端 C; 终端 B签约了无条件呼叫前转业务, 需要在有呼入时将呼叫前转到终端 C。  In the second embodiment of the method, the terminal A503 subscribes to the outgoing call restriction service, and restricts the call to the terminal C. The terminal B subscribes to the unconditional call forwarding service, and needs to forward the call to the terminal C when there is an incoming call.
本实施例对应的系统可以包括: 限制业务控制模块 501、 会话控制模块 502、 终端 A503、 终端 B所属网络 504、 终端 C505。 其中, 所述会话控制模块 502可以提供会话路由功能, 转发终端 A503和限制业务控制模块 501交互的 会话消息, 比如 P-CSCF、 S-CSCF、 I-CSCF等; 所述限制业务控制模块 501就 是实现限制业务的实体, 可以为 AS服务器等。 当然, 终端 B所属网络 504和 终端 C所属网络也可能包括类似上述的实体, 此处不再——列举。  The system corresponding to this embodiment may include: a restricted service control module 501, a session control module 502, a terminal A503, a network 504 to which the terminal B belongs, and a terminal C505. The session control module 502 can provide a session routing function, and the forwarding terminal A 503 and the session information that restricts the service control module 501, such as a P-CSCF, an S-CSCF, an I-CSCF, etc.; The entity that implements the restricted service can be an AS server or the like. Of course, the network to which the terminal B belongs and the network to which the terminal C belongs may also include entities similar to the above, which are not listed here.
图 2是本方法实施例的消息流示意图。 如图 2所示, 本实施例可以包括 以下步骤:  2 is a schematic diagram of a message flow of an embodiment of the method. As shown in FIG. 2, this embodiment may include the following steps:
步骤 201 : 终端 A503向会话控制模块 502发送会话初始请求消息, 所述 会话初始请求消息携带的与限制业务相关的参数为终端 B的用户标识。  Step 201: The terminal A503 sends a session initial request message to the session control module 502, where the parameter related to the restricted service carried by the session initial request message is the user identifier of the terminal B.
步骤 202 :会话控制模块 502将会话初始请求消息发送给限制业务控制模 块 501。 Step 202: The session control module 502 sends a session initial request message to the restricted service control mode. Block 501.
这里, 终端 A503可以将终端 B的用户标识携带于 Reques tURI域、 SIP头 域或消息体中, 所述 SIP头域可以为 P-As ser ted-Ident i ty域、 Refer-To域, Referred - By域、 From域、 To域、 P_Preferred - Ident i ty域、 P_As soc ia ted - URI 域、 P-Ca l led-Par ty-ID域、 Hi s tory-Info域等。  Here, the terminal A503 may carry the user identifier of the terminal B in the Reques tURI domain, the SIP header field, or the message body, and the SIP header field may be a P-As ser ted-Ident domain, a Refer-To domain, and a Referred - By field, From field, To field, P_Preferred - Ident i ty field, P_As soc ia ted - URI field, P-Ca l led-Par ty-ID field, Hi s tory-Info field, and so on.
步骤 203:限制业务控制模块 501判断出会话初始请求消息中与限制业务 相关的参数, 与已有的限制条件中的参数不匹配, 将自身地址添加到会话初 始请求消息中。  Step 203: The restriction service control module 501 determines that the parameter related to the restricted service in the session initial request message does not match the parameter in the existing restriction condition, and adds the own address to the session initial request message.
这里, 由于会话初始请求消息中与限制业务相关的参数为终端 B 的用户 标识, 而已有的限制条件中的参数为终端 C 的用户标识, 限制业务控制模块 由此判断不应该限制本次会话, 继续执行后续会话流程。  Here, since the parameter related to the restricted service in the session initial request message is the user identifier of the terminal B, and the parameter in the existing restriction condition is the user identifier of the terminal C, the restriction service control module determines that the session should not be restricted. Continue with the subsequent session process.
但与现有技术不同的是, 限制业务控制模块还需要将自身地址添加到会 话初始请求消息中, 加入会话信令路径, 以便于接收后续会话消息。 实际应 用中, 限制业务控制模块可以将自身地址添加到消息的某个域中, 比如: Record-Route头域。  However, unlike the prior art, the restricted service control module also needs to add its own address to the session initial request message and join the session signaling path to receive subsequent session messages. In the actual application, the restricted service control module can add its own address to a certain field of the message, such as: Record-Route header field.
步骤 204:限制业务控制模块 501将添加了自身地址的会话初始请求消息 发送给会话控制模块 502。  Step 204: The restricted service control module 501 sends a session initial request message with its own address added to the session control module 502.
步骤 205: 会话控制模块 502将话初始请求消息转发给终端 B所属网络 Step 205: The session control module 502 forwards the initial request message to the network to which the terminal B belongs.
504。 504.
步骤 206: 终端 B所属网络 504将会话初始请求消息前转到终端 C505 , 并将终端 C505的用户标识作为与限制业务相关的参数携带于会话初始请求消 息中。  Step 206: The network 504 to which the terminal B belongs forwards the session initial request message to the terminal C505, and carries the user identifier of the terminal C505 as a parameter related to the restricted service in the session initial request message.
本步骤中, 由于终端 B签约了无条件呼叫前转业务, 所以终端 B所属网 络 504可以直接将发送给终端 B的会话初始请求消息前转给终端 C505。  In this step, since the terminal B subscribes to the unconditional call forwarding service, the network 504 to which the terminal B belongs can directly forward the session initial request message sent to the terminal B to the terminal C505.
与步骤 201相似, 终端 C505的用户标识也可以携带于 Reques tURI域等 等, 此处不再赘述。 步骤 207: 终端 C505向终端 B所属网络 504发送会话响应 183消息, 所 述会话响应 183消息携带有作为与限制业务相关的参数的终端 C的用户标识。 Similar to the step 201, the user identifier of the terminal C505 can also be carried in the Reques tURI domain and the like, and details are not described herein again. Step 207: The terminal C505 sends a session response 183 message to the network 504 to which the terminal B belongs. The session response 183 message carries the user identifier of the terminal C as a parameter related to the restricted service.
步骤 208: 终端 B所属网络 504将会话响应 183消息会话控制模块 502。 步骤 209:会话控制模块 502将会话响应 183消息转发给限制业务控制模 块 501。  Step 208: The network 504 to which the terminal B belongs will respond to the message 183 message session control module 502. Step 209: The session control module 502 forwards the session response 183 message to the restricted service control module 501.
步骤 210:限制业务控制模块 501判断出会话响应 183消息中携带的与限 制业务相关的参数, 与已有的限制条件中的参数匹配。  Step 210: The restriction service control module 501 determines that the parameter related to the restricted service carried in the session response 183 message matches the parameter in the existing restriction condition.
本步骤中, 由于会话响应 183 消息中携带的与限制业务相关的参数为终 端 C的用户标识, 而终端 A限制条件中的参数也为终端 C的用户标识, 则可 以确定此次会话是终端 A所限制的。  In this step, since the parameter related to the restricted service carried in the session response 183 message is the user identifier of the terminal C, and the parameter in the terminal A restriction condition is also the user identifier of the terminal C, it can be determined that the session is the terminal A. Limited.
步骤 211 :限制业务控制模块 501向会话控制模块 502发送指示会话失败 的 603消息。  Step 211: The restricted service control module 501 sends a message 603 indicating that the session failed to the session control module 502.
步骤 212:会话控制模块 502向终端 A503转发指示会话失败的 603消息。 实际应用中, 发送指示会话失败的消息也可以不用 603 消息, 而用其它 消息, 比如 480、 5 X X消息等。  Step 212: The session control module 502 forwards to the terminal A 503 a message indicating that the session failed. In practical applications, sending a message indicating that the session has failed may also use no other messages, such as 480, 5 X X messages, etc., instead of 603 messages.
另外, 本实施例是利用步骤 211和步骤 212向终端发送指示会话失败的 信息的, 但实际应用中, 也可以不釆用上述方式向终端发送指示会话失败的 信息, 而釆用其它的方式, 比如: 同时向会话双方发送会话失败的信息。  In addition, in this embodiment, the information indicating that the session fails is sent to the terminal by using the steps 211 and 212. However, in actual applications, the information indicating that the session fails may be sent to the terminal in the foregoing manner, and other methods are used. For example: Send the session failure information to both parties at the same time.
步骤 213: 限制业务控制模块 501 向会话控制模块 502发送拆除会话的 CANCEL消息。  Step 213: The restricted service control module 501 sends a CANCEL message to the session control module 502 to tear down the session.
步骤 214 : 会话控制模块 502将拆除会话的 CANCEL消息转发给终端 B所 属网络 504。  Step 214: The session control module 502 forwards the CANCEL message of the teardown session to the network 504 to which the terminal B belongs.
步骤 215:终端 B所属网络 504向终端 C505发送拆除会话的 CANCEL消息。 步骤 216: 终端 C505向终端 B所属网络 504返回 200响应消息。  Step 215: The network 504 to which the terminal B belongs sends a CANCEL message for tearing down the session to the terminal C505. Step 216: The terminal C505 returns a 200 response message to the network 504 to which the terminal B belongs.
步骤 217:终端 B所属网络 504将 200响应消息返回给会话控制模块 502。 步骤 218:会话控制模块 502向限制业务控制模块 501返回 200响应消息。 本实施例中 ,拆除会话是利用步骤 213 ~步骤 218来实现的。实际应用中, 拆除会话的具体方式也可以由应用本实施例方案的用户自行确定, 此处不再 赘述。 Step 217: The network 504 to which the terminal B belongs returns a 200 response message to the session control module 502. Step 218: The session control module 502 returns a 200 response message to the restricted service control module 501. In this embodiment, the teardown session is implemented by using steps 213 to 218. In a practical application, the specific manner of dismantling the session may also be determined by the user who applies the solution in this embodiment, and details are not described herein again.
本实施例中, 限制业务控制模块 501 的地址可以添加到消息的 Record-Route或 Route头域中, 而终端的用户标识则可以携带于 Reques tURI 域、 SIP头域或消息体中, 其具体情况可以由应用本实施例方案的用户自行确 定, 此处不再赘述。  In this embodiment, the address of the service control module 501 may be added to the Record-Route or Route header field of the message, and the user identifier of the terminal may be carried in the Reques tURI domain, the SIP header field, or the message body. It can be determined by the user who applies the solution of this embodiment, and details are not described herein again.
方法实施例三中, ϋ殳终端 A签约了来话限制业务, 限制来自终端 C的 呼叫;终端 B呼叫终端 A,并在会话建立后激活自身已经签约的呼叫转移业务, 将呼叫转移到终端 C。  In the third embodiment of the method, the terminal A subscribes to the incoming call restriction service, and restricts the call from the terminal C; the terminal B calls the terminal A, and activates the call forwarding service that has been contracted after the session is established, and transfers the call to the terminal C. .
本方法实施例对应的系统可以包括: 限制业务控制模块 501、会话控制模 块 502、 终端 A503、 终端 B所属网络 504、 终端 B506。 其中, 会话控制模块 502可以提供会话路由功能, 转发终端和限制业务控制模块交互的会话消息, 比如 P-CSCF、 S-CSCF、 I-CSCF等; 所述限制业务控制模块 501就是实现限制 业务的实体, 可以为 AS服务器等。 终端 B和终端 C所属网络也可能包括类似 上述的实体, 此处不再——列举。  The system corresponding to the embodiment of the method may include: a restricted service control module 501, a session control module 502, a terminal A503, a network 504 to which the terminal B belongs, and a terminal B506. The session control module 502 can provide a session routing function, and the forwarding terminal and the session message that restricts the interaction of the service control module, such as a P-CSCF, an S-CSCF, an I-CSCF, etc.; Entity, can be an AS server, etc. The network to which Terminal B and Terminal C belong may also include entities similar to those described above, which are not listed here.
图 3是本方法实施例的消息流示意图。 如图 3所示, 本实施例可以包括 以下步骤:  FIG. 3 is a schematic diagram of a message flow of an embodiment of the method. As shown in FIG. 3, this embodiment may include the following steps:
步骤 301 : 终端 B506向终端 B所属网络 505发送会话初始请求消息, 所 述会话初始请求消息携带的与限制业务相关的参数为终端 B的用户标识。  Step 301: The terminal B506 sends a session initial request message to the network 505 to which the terminal B belongs, and the parameter related to the restricted service carried in the session initial request message is the user identifier of the terminal B.
与方法实施例二相似, 终端 B的用户标识也可以携带于 Reques tURI域、 S I P头域或消息体中,所述 S I P头域可以为 P-A s s e r t ed- 1 den t i t y域、 Re f e r-To 域, Referred - By 域、 From 域、 To 域、 P-Pref erred-Ident i ty 域、 P_As soc ia ted - URI域、 P_Ca l led - Par ty - ID域、 Hi s tory - Inf o域等。  Similar to the method embodiment 2, the user identifier of the terminal B may also be carried in the Reques tURI domain, the SIP header field, or the message body. The SIP header field may be a PA ssert ed-1 den tity domain or a Re fe r-To domain. , Referred - By field, From field, To field, P-Pref erred-Ident ty field, P_As soc ia ted - URI field, P_Ca l led - Par ty - ID field, Hi s tory - Inf o field, etc.
步骤 302:终端 B所属网络 504将会话初始请求消息转发给会话控制模块 Step 302: The network 504 to which the terminal B belongs forwards the session initial request message to the session control module.
502。 步骤 303:会话控制模块 502向限制业务控制模块 501转发会话初始请求 消息。 502. Step 303: The session control module 502 forwards the session initial request message to the restricted service control module 501.
步骤 304:限制业务控制模块 501判断出会话初始请求消息中与限制业务 相关的参数, 与已有的限制条件中的参数不匹配, 将自身地址添加到会话初 始请求消息中。  Step 304: The restriction service control module 501 determines that the parameter related to the restricted service in the session initial request message does not match the parameter in the existing restriction condition, and adds the own address to the session initial request message.
这里, 由于会话初始请求消息中与限制业务相关的参数为终端 B 的用户 标识, 而已有的限制条件中的参数为终端 C 的用户标识, 限制业务控制模块 由此判断不应该限制本次会话, 继续执行后续会话流程。  Here, since the parameter related to the restricted service in the session initial request message is the user identifier of the terminal B, and the parameter in the existing restriction condition is the user identifier of the terminal C, the restriction service control module determines that the session should not be restricted. Continue with the subsequent session process.
步骤 305:限制业务控制模块 501将添加有自身地址的会话初始请求消息 发送给会话控制模块 502。  Step 305: The restricted service control module 501 sends a session initial request message with its own address to the session control module 502.
步骤 306: 会话控制模块 502将会话初始请求消息转发给终端 A503。 步骤 307: 终端 A503和终端 B506建立会话。  Step 306: The session control module 502 forwards the session initial request message to the terminal A503. Step 307: The terminal A503 and the terminal B506 establish a session.
步骤 308: 终端 B506激活自身已经签约的呼叫转移业务。  Step 308: The terminal B506 activates the call forwarding service that has been contracted by itself.
本实施例中, 终端 B506是在与终端 A503建立会话之后才激活呼叫转移 业务的, 而实际应用中, 终端 B506在任何时候都可以激活呼叫转移业务。  In this embodiment, the terminal B 506 activates the call forwarding service after establishing a session with the terminal A 503. In actual applications, the terminal B 506 can activate the call forwarding service at any time.
步骤 309 : 终端 B506向终端 B所属网络 504发送重新会话请求消息, 重 新会话请求消息携带有作为与限制业务相关的参数, 即终端 C的用户标识。  Step 309: The terminal B506 sends a re-session request message to the network 504 to which the terminal B belongs, and the re-session request message carries the parameter related to the restricted service, that is, the user identifier of the terminal C.
步骤 310:终端 B所属网络 504将重新会话请求消息转发给会话控制模块 Step 310: The network 504 to which the terminal B belongs forwards the re-session request message to the session control module.
502。 502.
步骤 311 :会话控制模块 502将重新会话请求消息转发给限制业务控制模 块 501。  Step 311: The session control module 502 forwards the re-session request message to the restricted service control module 501.
步骤 312:限制业务控制模块 501判断出重新会话请求消息携带的与限制 业务相关的参数, 与已有的限制条件中的参数相同。  Step 312: The restriction service control module 501 determines that the parameter related to the restricted service carried in the re-session request message is the same as the parameter in the existing restriction condition.
本步骤中,由于重新会话请求消息携带的与限制业务相关的参数为终端 C 的用户标识, 而终端 A限制条件中的参数也为终端 C的用户标识, 则可以确 定此次会话是终端 A所限制的。 实际应用中, 如果本步骤判断出参数不相同, 则可以继续执行已有的后 续会话流程。 In this step, since the parameter related to the restricted service carried in the re-session request message is the user identifier of the terminal C, and the parameter in the terminal A restriction condition is also the user identifier of the terminal C, it can be determined that the session is the terminal A. limited. In actual applications, if the parameters are determined to be different in this step, the existing subsequent session process can be continued.
步骤 31 3:限制业务控制模块 501向会话控制模块 502发送指示会话失败 的 603消息。  Step 31 3: The restricted service control module 501 sends a message 603 indicating that the session failed to the session control module 502.
步骤 314 :会话控制模块 502将指示会话失败的 603消息转发给终端 B所 属网络 504。  Step 314: The session control module 502 forwards the 603 message indicating the session failure to the network 504 to which the terminal B belongs.
步骤 315 : 终端 B所属网络 504将指示会话失败的 603消息发送给终端 B506。  Step 315: The network 504 to which the terminal B belongs sends a message 603 indicating that the session has failed to the terminal B 506.
与方法实施例二相似, 本实施例中, 限制业务控制模块 501 的地址可以 添加到消息的 Re c 0 r d-Rou t e或 Rou t e头域中, 而终端的用户标识则可以携带 于 Reques tURI域、 S IP头域或消息体中, 其具体情况可以由应用本实施例方 案的用户自行确定, 此处不再赘述。  Similar to the method embodiment 2, in this embodiment, the address of the restricted service control module 501 may be added to the Re c 0 r d-Rou te or Rou te header field of the message, and the user identifier of the terminal may be carried in the Reques tURI. In the domain, the sip header field, or the message body, the specific situation may be determined by the user who applies the solution in this embodiment, and details are not described herein again.
需要强调的是, 方法实施例二和方法实施例三只是在某个场景下的实施 例。 在上述实施例中, 后续会话消息中与限制业务相关的参数发生了变化, 而且与已有的限制条件中的参数相同, 导致会话从不应该限制变化为应该限 制, 触发限制业务控制模块执行限制业务的处理过程。 实际应用中, 导致消 息中限制业务相关的参数发生变化的情况 [艮多。 比如: 终端 Α签约了去话限 制业务, 限制呼叫到终端 C , 而终端 B签约了同振业务, 终端 C和终端 B属于 同一个同振群中。 此时, 终端 A呼叫终端 B, 呼叫到达终端 B所属网络后, 将 同时呼叫终端 B和终端 C。如果终端 C先行应答, 终端 A和终端 C将执行会话 流程。 这样, 后续会话消息中与限制业务相关的参数将为终端 C的用户标识, 同样会触发限制业务控制模块对此次会话进行限制。  It should be emphasized that the method embodiment 2 and the method embodiment 3 are only examples in a certain scenario. In the foregoing embodiment, the parameters related to the restricted service in the subsequent session message are changed, and are the same as the parameters in the existing restriction condition, so that the session should never be changed to be restricted, and the restriction is restricted by the service control module. Business process. In practical applications, it leads to changes in the parameters that limit the business-related parameters in the message [艮. For example, the terminal Α subscribes to the call restriction service, restricts the call to the terminal C, and the terminal B signs the same vibration service, and the terminal C and the terminal B belong to the same same vibration group. At this time, terminal A calls terminal B, and after the call arrives at the network to which terminal B belongs, terminal B and terminal C are simultaneously called. If terminal C answers first, terminal A and terminal C will perform the session flow. In this way, the parameter related to the restricted service in the subsequent session message will be the user identifier of the terminal C, which also triggers the restriction service control module to limit the session.
总之, 不管会话的情况如何, 只要限制业务控制模块接收到后续会话消 息, 就可以利用后续会话消息中与限制业务相关的参数执行限制业务的处理 过程, 从而在整个会话过程中都为终端提供事先签约的限制业务。  In summary, regardless of the situation of the session, as long as the service control module is restricted from receiving the subsequent session message, the process of restricting the service may be performed by using parameters related to the restricted service in the subsequent session message, thereby providing the terminal with the prior Contracted business restrictions.
针对上述方法, 下面还提出一种实现限制业务的装置和系统。 图 4是实现限制业务装置实施例一的结构示意图。 如图 4所示, 本实施 例包括: In response to the above method, an apparatus and system for implementing restricted services are also presented below. FIG. 4 is a schematic structural diagram of Embodiment 1 of implementing a restricted service device. As shown in FIG. 4, this embodiment includes:
接收单元 401 , 用于接收会话初始请求消息的后续会话消息。  The receiving unit 401 is configured to receive a subsequent session message of the session initial request message.
处理单元 402 ,用于根据后续会话请求中与限制业务相关的参数执行限制 业务的处理过程。  The processing unit 402 is configured to perform a process of limiting the service according to the parameter related to the restricted service in the subsequent session request.
实际应用中, 所述处理单元 402可以包括:  In an actual application, the processing unit 402 may include:
匹配单元 4021 , 用于将后续会话消息中与限制业务相关的参数和存储单 元 4022中限制条件的参数进行匹配, 如果匹配成功, 则通过发送单元 403向 终端发送会话失败的信息。  The matching unit 4021 is configured to match the parameter related to the restricted service in the subsequent session message with the parameter of the restriction condition in the storage unit 4022. If the matching is successful, the sending unit 403 sends the session failure information to the terminal.
存储单元 4022 , 用于保存限制条件的参数。  The storage unit 4022 is configured to save a parameter of the restriction condition.
相应地, 该装置进一步包括:  Correspondingly, the device further comprises:
发送单元 403 , 用于发送会话失败信息给终端。  The sending unit 403 is configured to send session failure information to the terminal.
另外, 实际应用中, 不管处理单元 402 包括哪些单元, 该装置还可以包 括:  In addition, in practical applications, regardless of which units are included in the processing unit 402, the apparatus may further include:
地址装载单元 404 ,用于将该装置自身的地址添加到接收到的会话初始请 求消息中, 并通过发送单元 403发送出去。  The address loading unit 404 is configured to add the device's own address to the received session initial request message, and send it through the sending unit 403.
当接收到会话初始情况消息时, 地址装载单元 404将该装置自身的地址 添加到接收到的会话初始请求消息中, 并通过发送单元 403发送出去; 接收 单元 401接收到会话初始请求消息的后续会话消息时, 匹配单元 4021将后续 会话消息中与限制业务相关的参数和存储单元 4022中限制条件的参数进行匹 配, 如果匹配成功, 则通过发送单元 403 向终端发送会话失败的信息, 以限 制本次会话。  When receiving the session initial situation message, the address loading unit 404 adds the device's own address to the received session initial request message, and transmits it through the sending unit 403; the receiving unit 401 receives the subsequent session of the session initial request message. When the message is received, the matching unit 4021 matches the parameter related to the restriction service and the parameter of the restriction condition in the storage unit 4022 in the subsequent session message. If the matching is successful, the sending unit 403 sends the session failure information to the terminal to limit the current time. Conversation.
另外, 实际应用中, 实现限制业务装置可以为应用服务器(AS )或者其 中的一个功能模块, 即限制业务控制模块 501。  In addition, in an actual application, the implementation limiting service device may be an application server (AS) or one of the functional modules, that is, the restricted service control module 501.
图 5是实现限制业务系统实施例的结构图。 如图 5所示, 该系统可以包 括: 限制业务控制模块 501 , 用于接收会话初始请求消息的后续会话消息, 并 根据后续会话消息中与限制业务相关的参数执行限制业务的处理过程。 Figure 5 is a block diagram showing an embodiment of a restricted service system. As shown in FIG. 5, the system can include: The service control module 501 is configured to receive a subsequent session message of the session initial request message, and perform a process of limiting the service according to the parameter related to the restricted service in the subsequent session message.
这里所述的限制业务控制模块 501 内部的结构与图 4相同, 此处不再赘 述。  The structure inside the restricted service control module 501 described herein is the same as that of FIG. 4 and will not be described here.
会话控制模块 502 , 用于提供会话路由功能, 转发终端 503和限制业务控 制模块 501交互的会话消息。  The session control module 502 is configured to provide a session routing function, and the forwarding terminal 503 and the session message restricting the interaction of the service control module 501.
这里的会话控制模块 502 可以为呼叫会话控制功能实体(CSCF ), 包括 P-CSCF、 S-CSCF、 I -CSCF 0 Here the session control module 502 may be a Call Session Control Function entity (CSCF), comprising a P-CSCF, S-CSCF, I -CSCF 0
终端 503 , 发起会话, 并将会话初始请求消息的后续会话消息通过会话控 制模块 502发送给限制业务控制单元 503。  The terminal 503 initiates a session, and sends a subsequent session message of the session initial request message to the restricted service control unit 503 through the session control module 502.
这里所述实现限制业务系统实际上是签约限制业务终端一侧的情况, 而 实际应用中, 该系统还需要与会话另一终端侧的网络或实体进行交互, 至于 另一终端侧的包括哪些实体则与具体情况相关, 属于现有技术部分, 此处不 再赘述。  The implementation of the restricted service system is actually a contracting restriction on the service terminal side. In actual applications, the system also needs to interact with the network or entity on the other terminal side of the session, and which entities are included on the other terminal side. It is related to the specific situation and belongs to the prior art part, and will not be described here.
另外, 本系统实施例中, 限制业务控制模块 501与会话控制模块 502之 间的接口为 E1 , 可以按照 SIP协议进行交互; 会话控制模块 502和终端 503 之间的接口为 E2 , 也可以按照 S IP协议进行交互。  In addition, in the embodiment of the system, the interface between the service control module 501 and the session control module 502 is E1, and may be exchanged according to the SIP protocol; the interface between the session control module 502 and the terminal 503 is E2, and may also be in accordance with S. The IP protocol interacts.
应用本发明实施例方案, 由于限制业务控制模块可以接收后续会话消息, 并根据后续会话消息中与限制业务相关的参数执行限制业务的处理过程。 如 果后续会话消息中与限制业务相关的参数和已有的限制条件中的参数匹配, 则向终端发送会话失败的信息; 否则, 继续执行已有的会话流程。 这样, 限 制业务控制模块不仅在接收到初始会话请求消息时实施限制业务的处理过 程, 而且在后续会话中, 仍然为签约终端提供限制业务服务, 保证限制业务 服务在整个会话过程的有效性, 有利于限制业务的推广。  When the solution of the embodiment of the present invention is applied, the service control module may receive the subsequent session message, and perform the process of limiting the service according to the parameter related to the restricted service in the subsequent session message. If the parameter related to the restricted service in the subsequent session message matches the parameter in the existing restriction condition, the session failure information is sent to the terminal; otherwise, the existing session flow is continued. In this way, the restricted service control module not only implements the process of restricting the service when receiving the initial session request message, but also provides the restricted service service for the contracted terminal in the subsequent session, and ensures that the validity of the service service is restricted throughout the session process. Conducive to restrict the promotion of business.
实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来 完成, 前述的程序可以存储于一计算机可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟 或者光盘等各种可以存储程序代码的介质。 All or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, when executed, The steps of the foregoing method embodiments are performed; and the foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.
本领域普通技术人员可以理解: 附图只是一个优选实施例的示意图, 附 图中的模块或流程并不一定是实施本发明所必须的。  It will be understood by those of ordinary skill in the art that the drawings are only a schematic representation of a preferred embodiment, and that the modules or processes in the drawings are not necessarily required to practice the invention.
本领域普通技术人员可以理解: 实施例中的装置中的模块可以按照实施 例描述分布于实施例的装置中, 也可以进行相应变化位于不同于本实施例的 一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进一步 拆分成多个子模块。  It will be understood by those skilled in the art that the modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the embodiment, or may be correspondingly changed in one or more apparatuses different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
综上所述, 以上仅为本发明的较佳实施例而已, 并非用于限定本发明的 保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改 进等, 均应包含在本发明的保护范围之内。  In conclusion, the above is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利 要求 书 Claim
1、 一种实现限制业务的方法, 其特征在于, 该方法包括以下步骤: 接收会话初始请求消息的后续会话消息,并根据所述后续会话消息中与限制 业务相关的参数执行限制业务。 A method for implementing a restricted service, the method comprising the steps of: receiving a subsequent session message of a session initial request message, and performing a restricted service according to a parameter related to the restricted service in the subsequent session message.
2、 根据权利要求 1所述的实现限制业务的方法, 其特征在于, 所述根据后 续会话消息中与限制业务相关的参数执行限制业务包括:  2. The method for implementing a restricted service according to claim 1, wherein the performing the restricted service according to the parameter related to the restricted service in the subsequent session message comprises:
将后续会话消息中与限制业务相关的参数和已有的限制条件中的参数进行 匹配, 如果匹配成功, 则向终端发送会话失败的信息。  The parameters related to the restricted service in the subsequent session message are matched with the parameters in the existing restriction condition. If the matching is successful, the session failure information is sent to the terminal.
3、 根据权利要求 1任一项所述的实现限制业务的方法, 其特征在于, 所述 接收会话初始请求消息的后续会话消息的方法为:  The method for implementing a restricted service according to any one of the preceding claims, wherein the method for receiving a subsequent session message of a session initial request message is:
当接收到会话过程中的会话初始请求消息时,接收所述会话初始请求消息的 实体将自身地址添加到会话初始请求消息中以加入会话信令路径, 并从会话信 令路径上接收所述后续会话消息。  When receiving the session initial request message during the session, the entity receiving the session initial request message adds its own address to the session initial request message to join the session signaling path, and receives the subsequent from the session signaling path. Session message.
4、 根据权利要求 1至 3任一项所述的实现限制业务的方法, 其特征在于, 所述会话初始请求消息为: 会话初始协议初始请求消息。  The method for implementing a restricted service according to any one of claims 1 to 3, wherein the session initial request message is: a session initial protocol initial request message.
5、 根据权利要求 1至 3任一项所述的实现限制业务的方法, 其特征在于, 所述后续会话消息中与限制业务相关的参数为用户标识。  The method for implementing a restricted service according to any one of claims 1 to 3, wherein the parameter related to the restricted service in the subsequent session message is a user identifier.
6、 根据权利要求 5所述的实现限制业务的方法, 其特征在于, 所述用户标 识包括: 主叫用户标识、 被叫用户标识、 原主叫用户标识、 原被叫用户标识、 前转用户标识、 前转到用户标识、 转移用户标识或号码变换后的用户标识。  The method for limiting service according to claim 5, wherein the user identifier comprises: a calling user identifier, a called user identifier, an original calling user identifier, an original called user identifier, and a forwarding user. ID, forwarded user ID, transferred user ID, or user ID after number change.
7、 根据权利要求 1至 3任一项所述的实现限制业务的方法, 其特征在于, 所述后续会话消息中与限制业务相关的参数携带于 Reques tURI域、 会话初始协 议头域或消息体中。  The method for implementing a restricted service according to any one of claims 1 to 3, wherein the parameter related to the restricted service in the subsequent session message is carried in a Reques tURI domain, a session initial protocol header field, or a message body. in.
8、 一种实现限制业务的装置, 其特征在于, 该装置包括:  8. A device for implementing a restricted service, characterized in that the device comprises:
接收单元, 用于接收会话初始请求消息的后续会话消息; 处理单元, 用于根据后续会话请求中与限制业务相关的参数执行限制业务。a receiving unit, configured to receive a subsequent session message of the session initial request message; And a processing unit, configured to perform a restricted service according to a parameter related to the restricted service in the subsequent session request.
9、 根据权利要求 8所述的实现限制业务的装置, 其特征在于, 所述处理单 元包括: 匹配单元、 存储单元和发送单元, 其中: 9. The apparatus for implementing a service restriction according to claim 8, wherein the processing unit comprises: a matching unit, a storage unit, and a sending unit, where:
所述匹配单元,用于将后续会话消息中与限制业务相关的参数和存储单元中 保存的限制条件的参数进行匹配, 如果匹配成功, 则通知发送单元发送会话失 败的信息;  The matching unit is configured to match a parameter related to the restricted service in the subsequent session message with a parameter of the restriction condition stored in the storage unit, and if the matching is successful, notify the sending unit to send the information that the session is lost;
所述存储单元, 用于保存限制条件的参数;  The storage unit is configured to save a parameter of the constraint condition;
所述发送单元, 用于发送会话失败信息给终端。  The sending unit is configured to send session failure information to the terminal.
10、根据权利要求 8或 9所述的实现限制业务的装置, 其特征在于, 该装置 还包括:  The device for implementing a service restriction according to claim 8 or 9, wherein the device further comprises:
地址装载单元,用于将该装置自身的地址添加到接收到的会话初始请求消息 中, 并通过发送单元发送出去。  An address loading unit is configured to add the device's own address to the received session initial request message and send it out through the sending unit.
11、 一种实现限制业务的系统, 其特征在于, 该系统包括:  11. A system for implementing restricted services, characterized in that the system comprises:
限制业务控制模块,用于接收会话初始请求消息的后续会话消息,并根据后 续会话消息中与限制业务相关的参数执行限制业务的处理过程;  And a service control module, configured to receive a subsequent session message of the session initial request message, and perform a process of limiting the service according to the parameter related to the restricted service in the subsequent session message;
会话控制模块,用于提供会话路由功能,转发终端和限制业务控制模块交互 的会话消息。  The session control module is configured to provide a session routing function, and forward the terminal and the session message that restricts the interaction of the service control module.
12、 根据权利要求 11所述的实现限制业务的系统, 其特征在于, 所述系统 还包括:  The system for implementing a restricted service according to claim 11, wherein the system further comprises:
终端,用于发起会话,并将会话初始请求消息的后续会话消息通过会话控制 模块发送给限制业务控制单元。  The terminal is configured to initiate a session, and send a subsequent session message of the session initial request message to the restricted service control unit by using the session control module.
13、 根据权利要求 11所述的实现限制业务的系统, 其特征在于, 所述限制 业务控制模块包括:  The system for implementing a restricted service according to claim 11, wherein the restricted service control module comprises:
接收单元, 用于接收会话初始请求消息的后续会话消息;  a receiving unit, configured to receive a subsequent session message of the session initial request message;
处理单元, 用于根据后续会话请求中与限制业务相关的参数执行限制业务。 And a processing unit, configured to perform a restricted service according to a parameter related to the restricted service in the subsequent session request.
14、根据权利要求 11或 13所述的实现限制业务的系统, 其特征在于, 所述 处理单元包括: 匹配单元、 存储单元和发送单元, 其中: 14. A system for implementing restricted services according to claim 11 or claim 13, wherein said The processing unit includes: a matching unit, a storage unit, and a sending unit, where:
匹配单元,用于将后续会话消息中与限制业务相关的参数和存储单元中限制 条件的参数进行匹配, 如果匹配成功, 则通知发送单元发送会话失败的信息; 存储单元, 用于保存限制条件的参数;  a matching unit, configured to match a parameter related to the restricted service and a parameter in the storage unit in the subsequent session message, and if the matching is successful, notify the sending unit to send the information that the session fails; the storage unit is configured to save the restriction condition Parameter
发送单元, 发送会话失败信息给终端。  The sending unit sends a session failure message to the terminal.
15、 根据权利要求 1 3所述的实现限制业务的系统, 其特征在于, 所述限制 业务控制模块还包括:  The system for implementing a restricted service according to claim 13, wherein the restricted service control module further comprises:
地址装载单元,用于将该装置自身的地址添加到接收到的会话初始请求消息 中, 并通过发送单元发送出去。  An address loading unit is configured to add the device's own address to the received session initial request message and send it out through the sending unit.
PCT/CN2008/071096 2007-06-08 2008-05-27 Method, device and system for achieving barring service WO2008151538A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007101109251A CN101321081B (en) 2007-06-08 2007-06-08 Method, device and system for implementing limited business
CN200710110925.1 2007-06-08

Publications (1)

Publication Number Publication Date
WO2008151538A1 true WO2008151538A1 (en) 2008-12-18

Family

ID=40129240

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071096 WO2008151538A1 (en) 2007-06-08 2008-05-27 Method, device and system for achieving barring service

Country Status (2)

Country Link
CN (1) CN101321081B (en)
WO (1) WO2008151538A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888351B (en) 2012-12-20 2017-12-15 联想企业解决方案(新加坡)私人有限公司 The method and device of multiple sessions is managed in the network based on Multi-path route
CN107395907A (en) * 2017-08-31 2017-11-24 上海市共进通信技术有限公司 Method based on the exhalation of Session Initiation Protocol restricting VoIP service
CN109756871B (en) 2018-09-03 2022-02-15 中兴通讯股份有限公司 Device-to-device service restriction method, terminal, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1689314A (en) * 2002-10-09 2005-10-26 摩托罗拉公司(在特拉华州注册的公司) Contact validation and trusted contact updating in mobile wireless communications devices
KR20050105025A (en) * 2004-04-30 2005-11-03 엘지전자 주식회사 Method for call rejection in mobile communication device
CN1836422A (en) * 2003-08-18 2006-09-20 北电网络有限公司 Method and system for service denial and termination on a wireless network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251254B2 (en) * 2003-09-03 2007-07-31 At&T Corp. Telecommunication network system and method in communication services using session initiation protocol
JP4264016B2 (en) * 2004-03-22 2009-05-13 株式会社日立製作所 Communication control device and filtering method in communication control device
CN100525308C (en) * 2006-02-20 2009-08-05 华为技术有限公司 Method and apparatus for subscribing to initial filtering condition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1689314A (en) * 2002-10-09 2005-10-26 摩托罗拉公司(在特拉华州注册的公司) Contact validation and trusted contact updating in mobile wireless communications devices
CN1836422A (en) * 2003-08-18 2006-09-20 北电网络有限公司 Method and system for service denial and termination on a wireless network
KR20050105025A (en) * 2004-04-30 2005-11-03 엘지전자 주식회사 Method for call rejection in mobile communication device

Also Published As

Publication number Publication date
CN101321081A (en) 2008-12-10
CN101321081B (en) 2011-04-13

Similar Documents

Publication Publication Date Title
US9094260B2 (en) Service controlling in a service provisioning system
US7898990B2 (en) Method, system and gateway device for enabling interworking between IP and CS networks
US9379914B2 (en) Method and system for implementing aggregate endpoints on IMS networks
US9392028B2 (en) Apparatus and method for macro operation involving a plurality of session protocol transactions
US20220038514A1 (en) Method, User Equipment and Application Server for Adding Media Stream of Multimedia Session
CN101884205B (en) Dynamic initiation of i1-ps signaling in ims centralized services
EP2104305A1 (en) Call service handling in an IMS-based system
WO2013044649A1 (en) Method and system for telecom network providing session service to internet
KR20110050439A (en) Method and system for selective call forwarding based on media attributes in telecommunication network
CN101779443A (en) Call transfer with multiple application servers in session initiation protocol-based network
WO2007085154A1 (en) A method and system for implementing isdn service in the packet network
EP2587777B1 (en) Method and system for implementing color ring back tone and multimedia ring alert tone service.
CN101369906B (en) Conference service implementing method and apparatus
EP1959608A1 (en) A method, a application server and a system for implementing the third party control service
WO2007093116A1 (en) A method and system for realizing the simulating service and the access signaling adaptive entity
US8213373B2 (en) Supporting method for REFER message expansion parameter
EP2299670A1 (en) Method and network unit for realizing customized video service in ims network
WO2008151538A1 (en) Method, device and system for achieving barring service
WO2009124512A1 (en) Implement method for controlling playback of early media
WO2008040171A1 (en) A method, system of circuit switching domain apperceiving multi-media session media information of ims domain
CN101505509B (en) Resource reservation implementing method and interconnection network element
EP2020813A1 (en) A method, device and system for implementing the session service
WO2008086744A1 (en) Method of implementing call establishment, system and call controlling network element thereof
WO2008049371A1 (en) A method and system for transferring service event
EP3136756A1 (en) System, device and method for implementing ring back tone service

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

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

Country of ref document: EP

Kind code of ref document: A1