[go: up one dir, main page]

WO2010075692A1 - Identifying method and device for forwarding service - Google Patents

Identifying method and device for forwarding service Download PDF

Info

Publication number
WO2010075692A1
WO2010075692A1 PCT/CN2009/073413 CN2009073413W WO2010075692A1 WO 2010075692 A1 WO2010075692 A1 WO 2010075692A1 CN 2009073413 W CN2009073413 W CN 2009073413W WO 2010075692 A1 WO2010075692 A1 WO 2010075692A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
request
uri
ifc
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2009/073413
Other languages
French (fr)
Chinese (zh)
Inventor
雷娜
王瞬迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2010075692A1 publication Critical patent/WO2010075692A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a method and device for identifying a forwarding service.
  • the IP Multimedia Subsystem (IMS) network is the IP Multimedia Subsystem Service Control defined by the 3GPP Funds (3GPP) in the 3rd Generation Partnership Project (3GPP).
  • the interface (ISC) refers to the interface between the Call Session Control Function (CSCF) and the Application Server (AS).
  • the Request-Universal Resource Identifier (Request-Universal Resource Identifier) in the message before and after the trigger is only used for the forward-recognition of the triggered AS in the called service-call session control function (S-CSCF).
  • Request-URI Make a simple comparison.
  • the description of the S-CSCF identification forwarding in 3GPP 24.229 is not given a detailed description.
  • the called S-CSCF identifies the forwarding service of the triggering AS only according to the Session Initiation Protocol (SIP). Whether the Request-URI in the message is changed for easy identification. For example: The Request-URI in the SIP message before the AS is triggered is "TEL: +8675528760001". After the AS is triggered, the AS modifies the Request-URI in the SIP message to "TEL:+8613911112222", then the S-CSCF judges before and after the trigger. The Request-URI has been changed, and it is identified as a forward-directed direct route to the forward-relay network without subsequent service triggering.
  • SIP Session Initiation Protocol
  • the S-CSCF identifies the forward forwarding only according to whether the Request-URI in the SIP message before and after the trigger is changed. Due to the variety of services and scenarios, the AS sent by the S-CSCF contacts the Invite message.
  • the Request-URI (a basic request message in SIP) is often modified into various service-related forms. When a simple judgment of the Request-URI change is applied to the IMS network, the forwarding service identification may be inaccurate. , or the problem of forwarding business is not recognized.
  • the embodiment of the invention provides a method and a device for identifying a forwarding service, which are used for accurately identifying a forwarding service.
  • An embodiment of the present invention provides a method for identifying a forwarding service, where the method includes: determining, when the request resource identifier Request-URI in the received message is changed, whether the message meets the initial filtering rule iFC One or more service trigger points in the SPT;
  • the forward service identification identifier included in the iFC is used to identify whether the service corresponding to the message is a forwarding service.
  • an embodiment of the present invention further provides an apparatus having a called service-call session control function, where the apparatus includes:
  • a matching determining unit configured to determine, when the Request-URI in the received message is changed, whether the message meets a matching condition in one or more SPTs included in the iFC;
  • a forward identification unit configured to identify the message according to the forwarding service identification identifier included in the iFC when the matching determination unit determines that the message meets a matching condition in one or more SPTs included in the iFC Whether the corresponding service is a forward business.
  • FIG. 1 is a schematic flowchart of a method for identifying a forwarding service according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of an S-CSCF according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for identifying a forwarding service according to Embodiment 3 of the present invention
  • FIG. 4 is a schematic flowchart of a method for acquiring original called information according to Embodiment 4 of the present invention
  • FIG. 6 is a schematic flowchart of obtaining the original called information according to the scenario 2 in the fourth embodiment of the present invention
  • FIG. 7 is a schematic diagram of obtaining the original called party in the third scenario according to the fourth embodiment of the present invention
  • Schematic diagram of the flow of information is detailed description
  • a first embodiment of the present invention provides a method for identifying a forwarding service, and a schematic flowchart thereof is shown in FIG. 1 , and includes the following steps:
  • Step S101 When the Request-URI in the received message is changed, determine whether the message meets one or more Service Point Trigger (SPT) included in the Initial Filter Criteria (iFC). Matching conditions in .
  • SPT Service Point Trigger
  • iFC Initial Filter Criteria
  • step S102 When the message meets the matching condition in one or more SPTs included in the iFC, the process proceeds to step S102;
  • step S103 When the message does not match the matching condition in one or more SPTs included in the iFC, the process proceeds to step S103.
  • the received message may be a message returned by the application server AS after being triggered.
  • the matching condition in one or more SPTs included in the iFC is specifically set by an exact value or a regular expression, and the specific content of the matching condition is:
  • a Request-URI content set in a ⁇ Request-URI> field in the first SPT and/or a History-info header field set in a ⁇ SIPHeader> field in the second SPT; and/or in the third SPT
  • the Diversion header field is set in the ⁇ SIPHeader> field.
  • the judgment basis of the message conforming to the matching condition in one or more SPTs included in the iFC includes the following situations:
  • the Request-URI in the message returned after the received AS trigger matches the Request-URI content set in the ⁇ 81-111 1> field in the first SPT, and the message corresponds to the AS before the AS trigger
  • the message matches the information of the History-info header field set in the ⁇ SIPHeader> field in the second SPT, it is determined that the message meets the matching condition; or,
  • the difference between the Request-URI in the message returned after the received AS trigger and the message corresponding to the message before the AS triggers is the Request-set in the ⁇ Req UeS t-URI> field in the first SPT.
  • the message is judged to be in a matching condition; or,
  • the Request-URI in the message returned after the received AS trigger matches the Request-URI content set in the ⁇ Request-URI> field in the first SPT, and is set with the Diversion set in the ⁇ SIPHeader> field in the third SPT.
  • the content set by the header field matches, it is judged that the message meets the matching condition.
  • Step S102 Identify, according to the forwarding service identification identifier included in the iFC, whether the service corresponding to the message is a forwarding service.
  • the forwarding service identification identifier includes a server identifier and a forwarding identifier.
  • step S104 When the server identifier included in the iFC is the location identifier of the entire network, and the forwarding identifier is the forwarding confirmation character, the process proceeds to step S104;
  • step S103 When the server identifier included in the iFC is not the entire network identification location character, or the forwarding identifier is not the forwarding confirmation character, the process proceeds to step S103.
  • the process of identifying, according to the forwarding service identification identifier included in the iFC, whether the service corresponding to the message is a forwarding service is:
  • the server identifier included in the iFC is a location identifier of the entire network, it is determined whether the forwarding identifier is a forward confirmation character;
  • the forwarding identifier is a forwarding confirmation character
  • the service corresponding to the message is forwarded to the next step S103, and the service corresponding to the message is a non-forwarding service, and the subsequent service corresponding to the message is triggered.
  • Step S104 Identify the service corresponding to the message as a forwarding service, and route the message to the forwarding network.
  • the iFC when the iFC is configured for a single user, the iFC is configured on a Home Subscriber Server (HSS) to which the single user subscribes; when the iFC is The iFC is configured on the S-CSCF for the configuration of all users of the current network.
  • HSS Home Subscriber Server
  • the method further includes: obtaining, according to the History-Info information carried in the message, a method for obtaining the original called information of the message corresponding to the message before the AS is triggered, and the specific process is as follows:
  • the parent index information of the index information is obtained.
  • the information corresponding to the parent index information is confirmed as the original called information of the message corresponding to the message before the AS is triggered.
  • the technical solution of the embodiment of the present invention has the following advantages, because the method for performing forwarding service identification according to the matching condition in one or more SPTs included in the iFC and the corresponding extended parameter is adopted, so that the forwarding can be accurately performed.
  • the identification of services has improved the accuracy of business identification and avoids the waste of communication resources due to misidentification.
  • the second embodiment of the present invention provides a device, such as an S-CSCF, having a called service-call session control function.
  • a device such as an S-CSCF
  • the structure of the device is as shown in FIG.
  • the matching judging unit 1 is configured to determine, when the Request-URI in the received message is changed, whether the message meets the matching condition in one or more SPTs included in the iFC.
  • the matching judging unit 1 is specifically configured to receive a message returned by the application server AS, and when the Request-URI in the received message is changed, determine whether the message meets a match in one or more SPTs included in the iFC. condition.
  • the matching judging unit 1 specifically includes:
  • the first determining module 11 is configured to determine whether the Request-URI in the message returned after the received AS is triggered is changed.
  • the condition obtaining module 12 is configured to: when the first determining module 11 determines that the Request-URI in the message returned after the received AS trigger is changed, obtain the iFC corresponding to the message returned by the HSS or the local AS after the received AS trigger Matching conditions in one or more SPTs included;
  • the second determining module 13 is configured to determine whether the message returned after the received AS trigger meets the matching condition acquired by the condition obtaining module 12.
  • the forwarding identification unit 2 is configured to: when the matching determining unit 1 determines that the message meets the matching condition in the one or more SPTs included in the iFC, whether the service corresponding to the message is identified according to the forwarding service identification identifier included in the iFC
  • the forwarding service identification identifier includes a server identifier and a forwarding identifier
  • the forwarding forwarding unit 2 specifically includes:
  • the third determining module 21 is configured to determine, according to the matching condition, whether the server identifier is a full network identification location character;
  • the fourth judging module 22 is configured to: when the third judging module 21 determines that the server identifier is a full-network identification location character, determine whether the forwarding identifier is a forwarding confirmation character, and when the current forwarding identifier is a forwarding confirmation character, the identification message corresponds to The business is a forward business.
  • the device further includes:
  • the information obtaining unit 3 is configured to obtain the original called information of the message corresponding to the message before the AS triggers according to the parent index information of the last index index information in the returned message after the received AS trigger.
  • the above units may be distributed in one device or distributed in multiple devices.
  • the above units can be combined into one unit, or they can be split into multiple subunits.
  • the technical solution of the embodiment of the present invention has the following advantages, because the called service-call session control function is adopted for performing forwarding service identification according to the matching condition in one or more SPTs included in the iFC and its corresponding extended parameter. Therefore, the device can accurately identify the forwarding service, thereby improving the accuracy of the service identification and avoiding the waste of communication resources caused by misidentification.
  • the Request-UR form transformation application scenario mainly includes the following situations:
  • Case 1 The Request-URI before the called party is "tel: +8675512345".
  • the existing forward recognition technology simply compares the Request-URI before and after the trigger. Such recognition does not accurately distinguish the forwarding service. Therefore, multiple non-forward scenarios are identified as forwarding situations.
  • the call routing process is additionally performed once more, which in turn leads to service failure, which affects the efficiency of service response and wastes network resources.
  • the technical solution proposed by the embodiment of the present invention is to flexibly utilize the existing user subscription data iFC and the extended part parameter to flexibly identify the forward rotation through the device with the called service-call session control function, and solve the various S-CSCF pairs.
  • the effective identification of the forwarding after the AS is changed in the scenario, to avoid the change of the part that affects the route when the called party is triggered, and to additionally cause the service failure caused by the called routing process.
  • the device having the called service-call session control function flexibly uses the ⁇ Request-URI> field and/or ⁇ 80 ) in the SPT of the existing user subscription data. (161) field and other fields to configure the matching condition, and determine whether the message after the AS is triggered satisfies the established SPT. When the result of the above determination is yes, the current message is triggered to the corresponding input of the SPT. 1 1101 ⁇ 61" ⁇ >Server.
  • the ⁇ ServerName> field in ⁇ ApplicationServer> is no longer configured with the address of the AS, but a location character recognized by the entire network is configured, that is, the entire network recognizes the location character.
  • the forwarding identifier is named by "CF".
  • the change of the parameter name does not occur. It affects the scope of protection of the present invention.
  • the iFC signed by the user is:
  • the device having the called service-call session control function determines the iFC.
  • the message satisfies the matching condition of the trigger point, and thus triggers to ⁇ ServerName> in ⁇ ApplicationServer>.
  • Step S301 The device, such as the S-CSCF, determines whether the Request-URI in the message is changed after receiving the message triggered by the AS.
  • Step S303 determines whether the service corresponding to the message is a forwarding service.
  • Step S302 The device continues to perform a service trigger on the message without performing forwarding.
  • Step S303 The device determines whether the Request-URI meets a matching condition in one or more SPTs included in the iFC.
  • step S304 When the device determines that the Request-URI meets the matching condition, the process proceeds to step S304; when the device determines that the Request-URI does not meet the matching condition, the process proceeds to step S302.
  • the device performs the next internal business logic identification (such as forwarding forwarding logic) of the iFC, using the SPT's ⁇ 1 ⁇ 9 8 13 ⁇ 41> and/or ⁇ 803 ⁇ 46&(161"> and other fields in the iFC.
  • the set condition is used as a judgment drive for triggering the internal forward rotation recognition logic of the device, that is, by using the satisfaction condition of the iFC trigger condition, the forward forwarding service identification according to ⁇ ApplicationServer> is further triggered.
  • Step S304 The device determines whether the ⁇ 1 &1101 861 ⁇ 61"> triggered by the STP trigger condition is a full network identification position character.
  • Step S305 the device determines whether the forwarding identifier in ⁇ ApplicationServer> triggered by the SPT trigger condition is before Confirm the character.
  • Step S306 The device identifies that the service corresponding to the message is a forwarding service, and routes the message to the forwarding network.
  • the embodiment of the present invention describes the above-described method implementation scenario according to a specific application example.
  • the matching condition in the above SPT can support precise configuration, and can also support regular expression configuration.
  • the following description will be based on the specific implementation scenarios.
  • Case 1 When the device only identifies the forwarding request for the Request-URI in the message triggered by the AS, it only needs to configure ⁇ 1 ⁇ -13 ⁇ 41> as the specified Request-URI in the SPT. , can be an exact value, or it can be a regular expression.
  • Example 1 When User B needs to be forwarded to C, the device can recognize the forward by the iFC configured as follows (for example: C number is "TEL: +867551234") :
  • Example 2 After the AS is triggered, the Request-URI is renamed to a regular matching URI with certain characteristics (for example, a number prefixed with +86755), which is recognized as a forward.
  • the device can perform such identification by an iFC configured as follows.
  • Example 3 Set the original called URI before the trigger (for example: the number prefixed with 139) and the triggered Request-URI is a certain feature number (a number prefixed with 86755), then it is recognized as forwarding/ Non-forward, for example, in the same-vibration service, the number prefixed with 86755 is considered to be non-forward, and the other numbers are considered to be forwarded.
  • the SPT in iFC can also use the ⁇ 803 ⁇ 46&(161">Configure Diversion header field, because the Diversion header field can also represent the original called Request-URI before the change.
  • Case 3 When the device needs to determine the difference between the Request-URI before and after the trigger, it is necessary to control whether the difference is the basis for the forward rotation, and the difference is various, by flexibly configuring the History-Info header field. Differences between the original content and the new content The regular expression configures the difference to achieve the effect of control.
  • the original content can be the original URI
  • the new content can be a new URI.
  • Example 4 After setting the triggering AS, the original Request-URI is changed to a Request-URI that carries certain key parameters (for example, Phone-context or Trunk Grou or cic or rn, etc.), and is recognized as forwarding.
  • the device can perform such identification by an iFC configured as follows.
  • the AS can be triggered by the flexible adjustment of the forwarding identifier CF. Whether the returned message is accurately identified corresponding to the forwarding service, and the foregoing methods may be used separately or in combination, so that an accurate definition of the attribute of the message to be identified may be implemented, thereby flexibly determining the range of the message to be identified.
  • the technical solution of the embodiment of the present invention has the following advantages, because the method for performing forwarding service identification according to the matching condition in one or more SPTs included in the iFC and the corresponding extended parameter is adopted, so that the forwarding can be accurately performed.
  • the identification of services has improved the accuracy of business identification and avoids the waste of communication resources due to misidentification.
  • the fourth embodiment of the present invention also provides a method for acquiring the original called information, and according to the History-Info (history information header field) information carried in the message, the message corresponding to the message before the AS is triggered is obtained.
  • the original called information the specific flow chart is shown in Figure 4.
  • Step S401 The device acquires a last index (index) in the currently received AS-triggered Invite message (a basic request message in the SIP).
  • Step S402 The device acquires, according to the index information, a parent index (index) where the index (the arch) 1 is located, and the information corresponding to the parent index (index) is the message in the AS.
  • the following scenarios cover various forwarding service points, that is, the acquisition algorithm of History-Info (history information header field) can correctly obtain the original processing by the current device.
  • the called information wherein for convenience of description with reference to the accompanying drawings, the device is represented by S-CSCF+ uppercase letters, and the Invite message is represented by "request + letter", as the Invite message B is represented as a request: B.
  • the last hop of ⁇ D;index 1.2: ⁇
  • the device with the called service-call session control function provided by the embodiment of the present invention can utilize the flexible use of the SPT in the iFC and the application of the extended parameter "CF".
  • the S-CSCF can effectively identify the forwarding of the AS after the number is changed in various scenarios, and avoids the change of the part of the route that does not affect the routing when the called party is triggered.
  • the called routing process is additionally performed once, causing the service to fail.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An identifying method and device for forwarding service are provided. The method comprises the following steps: when the request universal resource identifier (Request-URI) in the received message is changed, judging whether the message meets the match conditions in one or more service point triggers (SPT) which are contained in an initial filter criteria (iFC). When the message meets the match conditions in one or more SPTs which are contained in the iFC, according to the forwarding service identifier which is contained in the iFC, identifying whether the service which corresponds to the message is the forwarding service.

Description

前转业务的识别方法和设备  Forwarding service identification method and equipment

本申请要求了 2008年 12月 31 日提交的, 申请号为 200810187970.1, 发明名称为 "一种前转业务的识别方法和设备" 的中国申请优先权。  This application claims the priority of the Chinese application filed on December 31, 2008, with the application number 200810187970.1, and the invention name is "a method and device for identifying the forwarding business".

技术领域 Technical field

本发明涉及通信技术领域, 特别是涉及一种前转业务的识别方法和设 备。  The present invention relates to the field of communication technologies, and in particular, to a method and device for identifying a forwarding service.

背景技术 Background technique

IP多媒体子系统(IP Multimedia Subsystem, 简称 IMS ) 网络是第三代合 作伙伴计划 (3rd Generation Partnership Project, 简称 3 GPP ) 中 3 GPP 24.229 标准定义的 IP多媒体子系统业务控制 (IP Multimedia Subsystem Service Control, 简称 ISC ) 接口, 即是指呼叫会话控制功能 (Call Session Control Function, 简称 CSCF) 与应用服务器 (Application Server, 简称 AS ) 之间的 接口。 其中, 被叫服务 -呼叫会话控制功能 (Serving-Call Session Control Function, 简称 S-CSCF )对于触发 AS的前转识别只是对触发前后的消息中的 请求资源标志符 (Request-Universal Resource Identifier, 简称 Request-URI) 进行简单的比较。  The IP Multimedia Subsystem (IMS) network is the IP Multimedia Subsystem Service Control defined by the 3GPP Funds (3GPP) in the 3rd Generation Partnership Project (3GPP). The interface (ISC) refers to the interface between the Call Session Control Function (CSCF) and the Application Server (AS). The Request-Universal Resource Identifier (Request-Universal Resource Identifier) in the message before and after the trigger is only used for the forward-recognition of the triggered AS in the called service-call session control function (S-CSCF). Request-URI) Make a simple comparison.

3GPP 24.229中对于 S-CSCF识别前转的描述并未给出详细具体描述, 被 叫 S-CSCF对于触发 AS的前转业务的识别只是根据触发前后会话发起协议 (the Session Initiation Protocol, 简称 SIP) 消息中的 Request-URI是否改变来 作简单的识别。 例如: 触发 AS前的 SIP消息中的 Request-URI为 "TEL:+8675528760001 " , 触发 AS后 AS将 SIP消息中的 Request-URI修改为 了 "TEL:+8613911112222 " , 那么 S-CSCF判断触发前后的 Request-URI发生 了变化, 识别为前转直接路由到前转方网络不进行后续业务触发。  The description of the S-CSCF identification forwarding in 3GPP 24.229 is not given a detailed description. The called S-CSCF identifies the forwarding service of the triggering AS only according to the Session Initiation Protocol (SIP). Whether the Request-URI in the message is changed for easy identification. For example: The Request-URI in the SIP message before the AS is triggered is "TEL: +8675528760001". After the AS is triggered, the AS modifies the Request-URI in the SIP message to "TEL:+8613911112222", then the S-CSCF judges before and after the trigger. The Request-URI has been changed, and it is identified as a forward-directed direct route to the forward-relay network without subsequent service triggering.

现有技术方案中, S-CSCF对前转的识别只是根据触发前后 SIP消息中的 Request-URI是否改变来识别, 因业务需要和场景的繁多, 与 S-CSCF对接触 发的 AS对于 Invite消息(SIP中的一种基本请求消息)的 Request-URI经常修改 为各种和业务相关的形式, 当对 Request-URI改变的简单的判断应用到 IMS网 络上时, 会出现前转业务识别不准确, 或无法识别前转业务的问题。  In the prior art solution, the S-CSCF identifies the forward forwarding only according to whether the Request-URI in the SIP message before and after the trigger is changed. Due to the variety of services and scenarios, the AS sent by the S-CSCF contacts the Invite message. The Request-URI (a basic request message in SIP) is often modified into various service-related forms. When a simple judgment of the Request-URI change is applied to the IMS network, the forwarding service identification may be inaccurate. , or the problem of forwarding business is not recognized.

发明内容 本发明实施例提供一种前转业务的识别方法和设备,用于准确识别前转 业务。 Summary of the invention The embodiment of the invention provides a method and a device for identifying a forwarding service, which are used for accurately identifying a forwarding service.

本发明实施例一方面提出一种前转业务的识别方法, 所述方法包括: 当接收的消息中的请求资源标识符 Request-URI被改变时, 判断所述消 息是否符合初始过滤规则 iFC所包含的一个或多个业务触发点 SPT中的匹配 条件;  An embodiment of the present invention provides a method for identifying a forwarding service, where the method includes: determining, when the request resource identifier Request-URI in the received message is changed, whether the message meets the initial filtering rule iFC One or more service trigger points in the SPT;

当所述消息符合所述 iFC所包含的一个或多个 SPT中的匹配条件时,根 据所述 iFC包含的前转业务识别标识识别所述消息所对应的业务是否为前转 业务。  When the message meets the matching condition in the one or more SPTs included in the iFC, the forward service identification identifier included in the iFC is used to identify whether the service corresponding to the message is a forwarding service.

另一方面, 本发明实施例还提出一种具有被叫服务 -呼叫会话控制功能 的装置, 所述装置包括:  On the other hand, an embodiment of the present invention further provides an apparatus having a called service-call session control function, where the apparatus includes:

匹配判断单元, 用于当接收的消息中的 Request-URI被改变时, 判断所 述消息是否符合 iFC所包含的一个或多个 SPT中的匹配条件;  a matching determining unit, configured to determine, when the Request-URI in the received message is changed, whether the message meets a matching condition in one or more SPTs included in the iFC;

前转识别单元,用于当所述匹配判断单元判断所述消息符合所述 iFC所 包含的一个或多个 SPT中的匹配条件时,根据所述 iFC包含的前转业务识别 标识识别所述消息所对应的业务是否为前转业务。  a forward identification unit, configured to identify the message according to the forwarding service identification identifier included in the iFC when the matching determination unit determines that the message meets a matching condition in one or more SPTs included in the iFC Whether the corresponding service is a forward business.

附图说明 DRAWINGS

此处所说明的附图用来提供对本发明的进一歩理解, 构成本申请的一部 分, 并不构成对本发明的限定。 在附图中:  The drawings described herein are provided to provide a further understanding of the invention and are in no way of limitation. In the drawing:

图 1为本发明实施例一中一种前转业务的识别方法的流程示意图; 图 2为本发明实施例二中一种 S-CSCF的结构示意图;  1 is a schematic flowchart of a method for identifying a forwarding service according to Embodiment 1 of the present invention; FIG. 2 is a schematic structural diagram of an S-CSCF according to Embodiment 2 of the present invention;

图 3为本发明实施例三中一种前转业务的识别方法的流程示意图; 图 4为本发明实施例四中一种原被叫信息的获取方法的流程示意图; 图 5为本发明实施例四中场景一下获取原被叫信息的流程示意图; 图 6为本发明实施例四中场景二下获取原被叫信息的流程示意图; 图 7为本发明实施例四中场景三下获取原被叫信息的流程示意图。 具体实施方式  FIG. 3 is a schematic flowchart of a method for identifying a forwarding service according to Embodiment 3 of the present invention; FIG. 4 is a schematic flowchart of a method for acquiring original called information according to Embodiment 4 of the present invention; FIG. 6 is a schematic flowchart of obtaining the original called information according to the scenario 2 in the fourth embodiment of the present invention; FIG. 7 is a schematic diagram of obtaining the original called party in the third scenario according to the fourth embodiment of the present invention; Schematic diagram of the flow of information. detailed description

为使本发明实施例的目的、 技术方案和优点更加清楚明白, 下面结合实 施例和附图, 对本发明实施例做进一歩详细说明。 在此, 本发明的示意性实 施例及其说明用于解释本发明, 但并不作为对本发明的限定。 In order to make the objects, the technical solutions and the advantages of the embodiments of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the embodiments and drawings. Here, the illustrative embodiment of the present invention The examples and the description thereof are intended to explain the present invention, but are not intended to limit the invention.

本发明实施例一提供了一种前转业务的识别方法, 其流程示意图如图 1 所示, 包括以下歩骤:  A first embodiment of the present invention provides a method for identifying a forwarding service, and a schematic flowchart thereof is shown in FIG. 1 , and includes the following steps:

歩骤 S101、 当接收的消息中的 Request-URI被改变时, 判断该消息是否 符合初始过滤规则 (Initial Filter Criteria, 简称 iFC) 所包含的一个或多个业 务触发点 (Service Point Trigger, SPT) 中的匹配条件。  Step S101: When the Request-URI in the received message is changed, determine whether the message meets one or more Service Point Trigger (SPT) included in the Initial Filter Criteria (iFC). Matching conditions in .

当该消息符合 iFC所包含的一个或多个 SPT中的匹配条件时,转入歩骤 S102;  When the message meets the matching condition in one or more SPTs included in the iFC, the process proceeds to step S102;

当该消息不符合 iFC所包含的一个或多个 SPT中的匹配条件时,转入歩 骤 S103。  When the message does not match the matching condition in one or more SPTs included in the iFC, the process proceeds to step S103.

其中, 接收的消息可以为应用服务器 AS触发后返回的消息。  The received message may be a message returned by the application server AS after being triggered.

其中, iFC所包含的一个或多个 SPT中的匹配条件具体通过精确值或正 则表达式进行设置, 该匹配条件的具体内容为:  The matching condition in one or more SPTs included in the iFC is specifically set by an exact value or a regular expression, and the specific content of the matching condition is:

在第一 SPT中的 <Request-URI>字段设置的 Request-URI内容; 和 /或, 在第二 SPT中的 <SIPHeader>字段设置的 History-info头域; 和 /或, 在第三 SPT中的 <SIPHeader>字段设置的 Diversion头域。  a Request-URI content set in a <Request-URI> field in the first SPT; and/or a History-info header field set in a <SIPHeader> field in the second SPT; and/or in the third SPT The Diversion header field is set in the <SIPHeader> field.

具体的, 基于上述的匹配条件设置, 该消息符合 iFC所包含的一个或多 个 SPT中的匹配条件的判断依据包括以下几种情况:  Specifically, based on the foregoing matching condition setting, the judgment basis of the message conforming to the matching condition in one or more SPTs included in the iFC includes the following situations:

当所接收的 AS触发后返回的消息中的 Request-URI与在第一 SPT中的 <Request-URI>字段设置的 Request-URI内容相匹配时,判断该消息符合匹配 条件; 或,  When the Request-URI in the message returned by the received AS trigger matches the Request-URI content set in the <Request-URI> field in the first SPT, it is determined that the message meets the matching condition; or

当所接收的 AS触发后返回的消息中的 Request-URI与在第一 SPT中的 <^^^81-111 1>字段设置的 Request-URI内容相匹配, 且该消息在 AS触发前所 对应的消息和在第二 SPT中的 <SIPHeader>字段设置的 History-info头域的信 息相匹配时, 判断该消息符合匹配条件; 或,  The Request-URI in the message returned after the received AS trigger matches the Request-URI content set in the <^^^81-111 1> field in the first SPT, and the message corresponds to the AS before the AS trigger When the message matches the information of the History-info header field set in the <SIPHeader> field in the second SPT, it is determined that the message meets the matching condition; or,

当所接收的 AS触发后返回的消息中的 Request-URI和该消息在 AS触发 前所对应的消息之间的差异性关系与在第一 SPT中的 <ReqUeSt-URI>字段设 置的 Request-URI内容和在第二 SPT中的<8 1¾&(161">字段设置的 History-info 头域所对应的差异性关系相匹配时, 判断该消息符合匹配条件; 或, 当所接收的 AS触发后返回的消息中的 Request-URI与在第一 SPT中的 <Request-URI>字段设置的 Request-URI内容匹配, 且与在第三 SPT中的 <SIPHeader>字段设置的 Diversion头域所设置的内容相匹配时, 判断该消息 符合匹配条件。 The difference between the Request-URI in the message returned after the received AS trigger and the message corresponding to the message before the AS triggers is the Request-set in the <Req UeS t-URI> field in the first SPT. When the URI content matches the difference relationship corresponding to the <8 13⁄4&[161">History-info header field set in the second SPT, the message is judged to be in a matching condition; or, The Request-URI in the message returned after the received AS trigger matches the Request-URI content set in the <Request-URI> field in the first SPT, and is set with the Diversion set in the <SIPHeader> field in the third SPT. When the content set by the header field matches, it is judged that the message meets the matching condition.

歩骤 S102、 根据 iFC包含的前转业务识别标识识别消息所对应的业务是 否为前转业务。  Step S102: Identify, according to the forwarding service identification identifier included in the iFC, whether the service corresponding to the message is a forwarding service.

前转业务识别标识包括服务器标识和前转标识。  The forwarding service identification identifier includes a server identifier and a forwarding identifier.

当 iFC包含的服务器标识为全网识别位置字符, 且前转标识为前转确认 字符时, 转入歩骤 S 104;  When the server identifier included in the iFC is the location identifier of the entire network, and the forwarding identifier is the forwarding confirmation character, the process proceeds to step S104;

当 iFC包含的服务器标识不是全网识别位置字符, 或该前转标识不是前 转确认字符时, 转入歩骤 S103。  When the server identifier included in the iFC is not the entire network identification location character, or the forwarding identifier is not the forwarding confirmation character, the process proceeds to step S103.

具体的, 根据 iFC包含的前转业务识别标识识别该消息所对应的业务是 否为前转业务的流程为:  Specifically, the process of identifying, according to the forwarding service identification identifier included in the iFC, whether the service corresponding to the message is a forwarding service is:

判断 iFC包含的服务器标识是否为全网识别位置字符;  Determine whether the server identifier included in the iFC is a full network identification location character;

当该 iFC包含的服务器标识为全网识别位置字符时, 判断该前转标识是 否为前转确认字符;  When the server identifier included in the iFC is a location identifier of the entire network, it is determined whether the forwarding identifier is a forward confirmation character;

当该前转标识为前转确认字符时, 识别该消息所对应的业务为前转业 歩骤 S103、 识别该消息所对应的业务为非前转业务, 进行该消息所对应 的后续业务的触发。  When the forwarding identifier is a forwarding confirmation character, the service corresponding to the message is forwarded to the next step S103, and the service corresponding to the message is a non-forwarding service, and the subsequent service corresponding to the message is triggered.

歩骤 S104、 识别该消息所对应的业务为前转业务, 将该消息路由到前转 方网络。  Step S104: Identify the service corresponding to the message as a forwarding service, and route the message to the forwarding network.

进一歩需要指出的是, 在上述的方法中, 当 iFC为针对单一用户的配置 时,该 iFC配置在该单一用户所签约的归属签约用户服务器(Home Subscriber Server, 简称 HSS ) 上; 当 iFC为针对当前网络的全部用户的配置时, 该 iFC 配置在 S-CSCF上。  It should be noted that, in the above method, when the iFC is configured for a single user, the iFC is configured on a Home Subscriber Server (HSS) to which the single user subscribes; when the iFC is The iFC is configured on the S-CSCF for the configuration of all users of the current network.

进一歩的, 上述方法还包括根据消息中携带的 History-Info信息, 获取该 消息在 AS触发前所对应消息的原被叫信息的方法, 具体流程如下:  Further, the method further includes: obtaining, according to the History-Info information carried in the message, a method for obtaining the original called information of the message corresponding to the message before the AS is triggered, and the specific process is as follows:

获取所接收的 AS触发后返回的消息中的最后一条 index信息; 根据该 index信息, 获取该 index信息的父级 index信息 ·' Obtaining the last index information in the message returned after the received AS trigger; According to the index information, the parent index information of the index information is obtained.

确认该父级 index信息所对应的信息为该消息在 AS触发前所对应消息的 原被叫信息。  The information corresponding to the parent index information is confirmed as the original called information of the message corresponding to the message before the AS is triggered.

根据实际情况, 对本发明实施例中的歩骤或流程进行相应的调换或改 变, 并不影响本专利保护范围。  According to the actual situation, the corresponding changes or changes in the steps or processes in the embodiments of the present invention do not affect the scope of protection of the patent.

本发明实施例的技术方案具有以下优点, 因为采用了根据 iFC所包含的 一个或多个 SPT 中的匹配条件及其对应的扩展参数进行前转业务识别的方 法, 从而, 可以准确的进行前转业务的识别, 达到了提高业务识别准确率, 避免因误识别而导致通信资源浪费的效果。  The technical solution of the embodiment of the present invention has the following advantages, because the method for performing forwarding service identification according to the matching condition in one or more SPTs included in the iFC and the corresponding extended parameter is adopted, so that the forwarding can be accurately performed. The identification of services has improved the accuracy of business identification and avoids the waste of communication resources due to misidentification.

基于上述实施例所提出的方法,本发明实施例二提出了一种具有被叫服 务-呼叫会话控制功能的装置, 如 S-CSCF, 其结构示意图如图 2所示, 该装 置具体包括:  Based on the method proposed in the foregoing embodiment, the second embodiment of the present invention provides a device, such as an S-CSCF, having a called service-call session control function. The structure of the device is as shown in FIG.

匹配判断单元 1, 用于当接收的消息中的 Request-URI被改变时, 判断 该消息是否符合 iFC所包含的一个或多个 SPT中的匹配条件。  The matching judging unit 1 is configured to determine, when the Request-URI in the received message is changed, whether the message meets the matching condition in one or more SPTs included in the iFC.

匹配判断单元 1具体用于接收应用服务器 AS触发后返回的消息, 当所 述接收的消息中的 Request-URI被改变时, 判断所述消息是否符合 iFC所包 含的一个或多个 SPT中的匹配条件。  The matching judging unit 1 is specifically configured to receive a message returned by the application server AS, and when the Request-URI in the received message is changed, determine whether the message meets a match in one or more SPTs included in the iFC. condition.

匹配判断单元 1, 具体包括:  The matching judging unit 1 specifically includes:

第一判断模块 11, 用于判断所接收的 AS 触发后返回的消息中的 Request-URI是否被改变;  The first determining module 11 is configured to determine whether the Request-URI in the message returned after the received AS is triggered is changed.

条件获取模块 12, 用于当第一判断模块 11判断所接收的 AS触发后返 回的消息中的 Request-URI被改变时, 在 HSS或本地获取所接收的 AS触发 后返回的消息所对应的 iFC所包含的一个或多个 SPT中的匹配条件;  The condition obtaining module 12 is configured to: when the first determining module 11 determines that the Request-URI in the message returned after the received AS trigger is changed, obtain the iFC corresponding to the message returned by the HSS or the local AS after the received AS trigger Matching conditions in one or more SPTs included;

第二判断模块 13,用于判断所接收的 AS触发后返回的消息是否符合条 件获取模块 12所获取的匹配条件。  The second determining module 13 is configured to determine whether the message returned after the received AS trigger meets the matching condition acquired by the condition obtaining module 12.

前转识别单元 2, 用于当匹配判断单元 1判断该消息符合 iFC所包含的 一个或多个 SPT中的匹配条件时,根据该 iFC包含的前转业务识别标识识别 该消息所对应的业务是否为前转业务, 该前转业务识别标识包括服务器标识 和前转标识, 前转识别单元 2具体包括: 第三判断模块 21,用于根据所述匹配条件,判断服务器标识是否为全网 识别位置字符; The forwarding identification unit 2 is configured to: when the matching determining unit 1 determines that the message meets the matching condition in the one or more SPTs included in the iFC, whether the service corresponding to the message is identified according to the forwarding service identification identifier included in the iFC For the forwarding service, the forwarding service identification identifier includes a server identifier and a forwarding identifier, and the forwarding forwarding unit 2 specifically includes: The third determining module 21 is configured to determine, according to the matching condition, whether the server identifier is a full network identification location character;

第四判断模块 22, 用于当第三判断模块 21判断服务器标识为全网识别 位置字符时, 判断前转标识是否为前转确认字符, 当前转标识为前转确认字 符时, 识别消息所对应的业务为前转业务。  The fourth judging module 22 is configured to: when the third judging module 21 determines that the server identifier is a full-network identification location character, determine whether the forwarding identifier is a forwarding confirmation character, and when the current forwarding identifier is a forwarding confirmation character, the identification message corresponds to The business is a forward business.

进一歩的, 所述装置还包括:  Further, the device further includes:

信息获取单元 3, 用于根据所接收的 AS触发后返回的消息中的最后一 条索引 index信息的父级 index信息,获取该消息在 AS触发前所对应消息的 原被叫信息。  The information obtaining unit 3 is configured to obtain the original called information of the message corresponding to the message before the AS triggers according to the parent index information of the last index index information in the returned message after the received AS trigger.

上述单元可以分布于一个装置, 也可以分布于多个装置。 上述单元可以 合并为一个单元, 也可以进一歩拆分成多个子单元。  The above units may be distributed in one device or distributed in multiple devices. The above units can be combined into one unit, or they can be split into multiple subunits.

本发明实施例的技术方案具有以下优点, 因为采用了根据 iFC所包含的 一个或多个 SPT 中的匹配条件及其对应的扩展参数进行前转业务识别的具 有被叫服务-呼叫会话控制功能的装置, 从而, 可以准确的进行前转业务的 识别, 达到了提高业务识别准确率, 避免因误识别而导致通信资源浪费的效 果。  The technical solution of the embodiment of the present invention has the following advantages, because the called service-call session control function is adopted for performing forwarding service identification according to the matching condition in one or more SPTs included in the iFC and its corresponding extended parameter. Therefore, the device can accurately identify the forwarding service, thereby improving the accuracy of the service identification and avoiding the waste of communication resources caused by misidentification.

在现有的技术场景下, 结合具体的示例, Request-UR形式变换应用场景 主要包括以下几种情况:  In the existing technical scenario, combined with a specific example, the Request-UR form transformation application scenario mainly includes the following situations:

情况一、被叫触发前的 Request-URI为" tel:+8675512345",对接的 AS出于 业务需求或者自身支持能力限制,将触发后的 Request-URI作了形式变换,修 改为了 "sip:+8675512345@huawei.com;user=phone,,。  Case 1: The Request-URI before the called party is "tel: +8675512345". The docked AS is transformed according to the business requirement or its own support capability, and the Request-URI after the trigger is changed in the form of "sip:+". 8675512345@huawei.com;user=phone,,.

情况二、 触发前的 Request-URI为" tel: 12345;phone-context=+86755,,, 对 接的 AS对此短号形式进行了号码分析和规整, 将触发后的 Request-URI规整 为了" tel:+8675512345", 实际上是同一个号码。  Case 2: The Request-URI before the trigger is "tel: 12345; phone-context=+86755,,, the docked AS performs the number analysis and regularization on the short form, and the triggered Request-URI is adjusted to "tel" :+8675512345", actually the same number.

情况三、触发前的 Request-URI为" tel:+8675512345",对接的 AS进行了业 务参数的添加 (例如: cic ) , 触发 AS后的 Request-URI被修改为了 "tel:+8675512345;cic=+8001'O  Case 3: The Request-URI before the trigger is "tel:+8675512345", and the AS is added to the docked AS (for example: cic). The Request-URI after the AS is triggered is modified to "tel:+8675512345;cic= +8001'O

情况四、 触发前的 Request-URI为" tel:+8613911112222", 对接的 AS进 行了特殊业务处理, 将号码统一添加了运营预选前缀(例如: 17951 ), 触发 AS后的 Request-URI被修改为了" tel: 179586113911112222"。 Case 4: The Request-URI before the trigger is "tel: +8613911112222", and the connected AS performs special service processing, and the number is uniformly added to the operation pre-selection prefix (for example: 17951), which triggers The Request-URI after the AS is modified to "tel: 179586113911112222".

需要指出的是, 上述四种情况只是为了方便描述而选择了具体的号码或 标识的示例, 在具体的应用中, 具体号码或标识内容的变化并不影响上述各 情况所代表的示例范围。  It should be noted that the above four cases are merely examples of specific numbers or identifiers for convenience of description. In a specific application, the change of the specific number or the content of the identification does not affect the example range represented by the above cases.

下面, 为了更清楚的阐述本发明实施例所提出的技术方案, 本发明在后 续实施例中结合上述的几种情况, 进行具体的说明。  In the following, in order to clarify the technical solutions proposed by the embodiments of the present invention, the present invention will be specifically described in the following embodiments in combination with the above several cases.

现有的前转识别技术只是简单的对触发前后的 Request-URI 进行比 较, 这样的识别并不能准确区分前转业务, 因此, 会将多种非前转场景 被识别成了前转情况, 而额外多进行一次被叫路由过程, 并进而导致业 务失败, 影响了业务响应效率, 浪费了网络资源。  The existing forward recognition technology simply compares the Request-URI before and after the trigger. Such recognition does not accurately distinguish the forwarding service. Therefore, multiple non-forward scenarios are identified as forwarding situations. The call routing process is additionally performed once more, which in turn leads to service failure, which affects the efficiency of service response and wastes network resources.

本发明实施例所提出的技术方案是通过具有被叫服务-呼叫会话控制 功能的装置灵活运用已有的用户签约数据 iFC 和扩展部分参数对前转的 灵活识别方式,解决 S-CSCF对各种场景下 AS改号后的前转的有效识别, 避免被叫触发时影响路由的部分发生变化, 额外多进行一次被叫路由过 程所带来的导致业务失败。  The technical solution proposed by the embodiment of the present invention is to flexibly utilize the existing user subscription data iFC and the extended part parameter to flexibly identify the forward rotation through the device with the called service-call session control function, and solve the various S-CSCF pairs. The effective identification of the forwarding after the AS is changed in the scenario, to avoid the change of the part that affects the route when the called party is triggered, and to additionally cause the service failure caused by the called routing process.

在本发明实施例所提出的技术方案中,具有被叫服务-呼叫会话控制功 能的装置灵活运用规范已有的用户签约数据中 iFC 的 SPT 中 <Request-URI>字段和 /或<80)1¾&(161">字段以及其他字段来进行匹配条件 的配置, 并判断触发 AS后的消息是否满足制定的 SPT, 在上述判断的结 果为是时,将当前的消息触发到该 SPT所对应的<入 1 1101^61"\^>服务 器。 对于前转业务, <ApplicationServer>中的 <ServerName>字段, 不再 配置 AS的地址, 而是配置了全网识别的一个位置字符, 即全网识别位置 字符, 并且配置 S-CSCF 自身进行业务识别的一个扩展参数作为前转标 识, 本发明实施例中以" CF '对该前转标识进行命名, 在具体的应用场景 中, 参数名称的变化并不会影响本发明的保护范围。 In the technical solution proposed by the embodiment of the present invention, the device having the called service-call session control function flexibly uses the <Request-URI> field and/or <80 ) in the SPT of the existing user subscription data. (161) field and other fields to configure the matching condition, and determine whether the message after the AS is triggered satisfies the established SPT. When the result of the above determination is yes, the current message is triggered to the corresponding input of the SPT. 1 1101^61"\^>Server. For the forwarding service, the <ServerName> field in <ApplicationServer> is no longer configured with the address of the AS, but a location character recognized by the entire network is configured, that is, the entire network recognizes the location character. And configuring an extended parameter of the S-CSCF to perform service identification as a forwarding identifier. In the embodiment of the present invention, the forwarding identifier is named by "CF". In a specific application scenario, the change of the parameter name does not occur. It affects the scope of protection of the present invention.

例如: 用户签约的 iFC为:  For example: The iFC signed by the user is:

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint> <ConditionTypeCNF>0</ConditionTypeCNF> <TriggerPoint> <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<1^9\168 1¾1>制定的 URI</Request-URI>  <1^9\168 13⁄41>Proposed URI</Request-URI>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<861^6^&1^>全网识别位置字符; CF= 1 </ServerName>  <861^6^&1^> The whole network recognizes the position character; CF= 1 </ServerName>

<DefaultHandling index="0">0</DefaultHandling> <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer> </ApplicationServer>

</InitialFilterCriteria>  </InitialFilterCriteria>

当触发 AS后的 SIP消息中的 Request-URI发生了变化, 消息中的 Request-URI被 AS修改为制定的 URI时, 具有被叫服务-呼叫会话控制功 能的装置执行此条 iFC时会判断该消息满足此触发点的匹配条件, 从而, 触发到 <ApplicationServer>中的 <ServerName>, 此时所述装置判断 <ServerName>是全网识别的位置字符而非 AS地址,将不进行 ISC接口的 AS触发路由而是进行自身的业务逻辑判断。 例如: 获取 <861"\^^ 1^>中 扩展的前转标识" CF', 根据此参数判断当前消息所对应的业务是否是前 转业务, 如果 CF=1则为前转, 如果 CF=0或者不存在则认为非前转。  When the Request-URI in the SIP message after the AS is triggered changes, and the Request-URI in the message is modified by the AS to the defined URI, the device having the called service-call session control function determines the iFC. The message satisfies the matching condition of the trigger point, and thus triggers to <ServerName> in <ApplicationServer>. At this time, the device determines that <ServerName> is the location character recognized by the entire network, not the AS address, and will not perform the AS of the ISC interface. Trigger the route and make its own business logic judgment. For example: Obtain the extended forwarding identifier "CF" in <861"\^^ 1^>, and judge whether the service corresponding to the current message is the forwarding service according to this parameter. If CF=1, it is forward, if CF= 0 or non-existent, it is considered non-forward.

具体的, 本发明实施例所提出的技术方案通过对 iFC 数据配置及扩 展参数 "CF"的灵活运用, 解决各种场景下的前转识别问题, 下面, 通过 本发明实施例三对具体的识别过程进行说明, 其流程示意图如图 3所示, 包括以下歩骤:  Specifically, the technical solution proposed in the embodiment of the present invention solves the problem of forwarding identification in various scenarios by using the flexible configuration of the iFC data and the extended parameter "CF". The process is described. The schematic diagram of the process is shown in Figure 3. The following steps are included:

歩骤 S301、 所述装置, 如 S-CSCF , 收到从 AS触发回来的消息后, 判断该消息中的 Request-URI是否被改变。  Step S301: The device, such as the S-CSCF, determines whether the Request-URI in the message is changed after receiving the message triggered by the AS.

如果 Request-URI未被改变, 则转入歩骤 S302;  If the Request-URI has not been changed, proceed to step S302;

如果 Request-URI被改变, 则转入歩骤 S303 , 进一歩判断该消息所 对应的业务是否是前转业务。 歩骤 S302、 所述装置继续对该消息执行业务触发, 而不进行前转。 歩骤 S303、 所述装置判断该 Request-URI是否符合 iFC所包含的一 个或多个 SPT中的匹配条件。 If the Request-URI is changed, the process proceeds to step S303 to determine whether the service corresponding to the message is a forwarding service. Step S302: The device continues to perform a service trigger on the message without performing forwarding. Step S303: The device determines whether the Request-URI meets a matching condition in one or more SPTs included in the iFC.

当所述装置判断该 Request-URI符合匹配条件时, 转入歩骤 S304; 当所述装置判断该 Request-URI不符合匹配条件时, 转入歩骤 S302。 在本歩骤中, 所述装置执行下一条内部业务逻辑识别 (如前转识别 逻辑) 的 iFC, 使用 iFC中 SPT的<1^9 8 1¾1>和/或<80¾6&(161">以及 其他字段所设置的条件作为触发所述装置进行内部前转识别逻辑的判断 驱动, 即, 利用 iFC 的触发条件的满足, 进一歩触发根据 <ApplicationServer>所进行的前转业务识别。  When the device determines that the Request-URI meets the matching condition, the process proceeds to step S304; when the device determines that the Request-URI does not meet the matching condition, the process proceeds to step S302. In this step, the device performs the next internal business logic identification (such as forwarding forwarding logic) of the iFC, using the SPT's <1^9 8 13⁄41> and/or <803⁄46&(161"> and other fields in the iFC. The set condition is used as a judgment drive for triggering the internal forward rotation recognition logic of the device, that is, by using the satisfaction condition of the iFC trigger condition, the forward forwarding service identification according to <ApplicationServer> is further triggered.

歩骤 S304、 所述装置判断满足该 STP 触发条件所触发的 < 1 &1101 861^61">是否为全网识别位置字符。  Step S304: The device determines whether the < 1 &1101 861^61"> triggered by the STP trigger condition is a full network identification position character.

当< 1 &1101 861^61">为全网识别位置字符时, 转入歩骤 S305 ;  When < 1 & 1101 861^61"> identifies the position character for the whole network, the process proceeds to step S305;

当< 1 &1101 861^61">不是全网识别位置字符时, 转入歩骤 S302。 歩骤 S305、 所述装置判断满足该 SPT 触发条件所触发的 <ApplicationServer>中的前转标识是否为前转确认字符。  When < 1 & 1101 861^61"> is not the whole network to identify the location character, the process proceeds to step S302. Step S305, the device determines whether the forwarding identifier in <ApplicationServer> triggered by the SPT trigger condition is before Confirm the character.

基于本发明实施例前述的场景设置, 本歩骤相当于判断" CF"的标识 值是否为 1, CF=1即表示前转标识为前转确认字符。  Based on the foregoing scenario setting in the embodiment of the present invention, this step is equivalent to determining whether the identification value of "CF" is 1, and CF=1 means that the forwarding identifier is a forwarding confirmation character.

当所述装置判断前转标识为前转确认字符,即 CF=1时,转入歩骤 S306; 当所述装置判断前转标识不是前转确认字符, 或不存在前转标识, 即 CF=0或无 CF值时, 转入歩骤 S302。  When the device determines that the forwarding identifier is a forwarding confirmation character, that is, CF=1, the process proceeds to step S306; when the device determines that the forwarding identifier is not a forwarding confirmation character, or does not have a forwarding identifier, that is, CF= When 0 or no CF value, the process proceeds to step S302.

歩骤 S306、 所述装置识别该消息所对应的业务为前转业务, 将该消息 路由到前转方网络。  Step S306: The device identifies that the service corresponding to the message is a forwarding service, and routes the message to the forwarding network.

根据实际情况, 对本发明实施例中的歩骤或流程进行相应的调换或改 变, 并不影响本专利保护范围。  According to the actual situation, the corresponding changes or changes in the steps or processes in the embodiments of the present invention do not affect the scope of protection of the patent.

为了更加清楚地对上述识别过程进行说明, 本发明实施例根据具体 的应用示例对上述的方法实现场景进行描述。  In order to explain the above identification process more clearly, the embodiment of the present invention describes the above-described method implementation scenario according to a specific application example.

首先, 需要说明的是, 上述的 SPT中的匹配条件可以支持精确配置, 也可以支持正则表达式配置。 下面, 根据具体的实施场景分情况进行说明。 First, it should be noted that the matching condition in the above SPT can support precise configuration, and can also support regular expression configuration. The following description will be based on the specific implementation scenarios.

情况一、 当所述装置只针对 AS触发回来的消息中的 Request-URI来 识别是否是前转时, 则只需要在 SPT 中配置 <1 ^^^-1¾1>为制定的 Request-URI即可, 可以是精确值, 也可以是正则表达式。  Case 1: When the device only identifies the forwarding request for the Request-URI in the message triggered by the AS, it only needs to configure <1 ^^^-13⁄41> as the specified Request-URI in the SPT. , can be an exact value, or it can be a regular expression.

具体示例如下:  Specific examples are as follows:

例 1 : 当用户 B需要被前转到 C时, 所述装置可通过如下配置的 iFC 来识别此次前转 (例如: C的号码为" TEL:+867551234") : Example 1: When User B needs to be forwarded to C, the device can recognize the forward by the iFC configured as follows (for example: C number is "TEL: +867551234") :

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint>  <TriggerPoint>

<ConditionTypeCNF>0</ConditionTypeCNF>  <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<Request-URI>TEL:+867551234</Request-URI>  <Request-URI>TEL: +867551234</Request-URI>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<861^6^&1^>全网识别位置字符; CF= 1 </ServerName>  <861^6^&1^> The whole network recognizes the position character; CF= 1 </ServerName>

<DefaultHandling index="0">0</DefaultHandling>  <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer>  </ApplicationServer>

</InitialFilterCriteria> 例 2: 触发 AS后 Request-URI被改号为具有制定的具有某些特征的 正则匹配 URI (例如: 以 +86755为前缀的号码), 则识别为前转。 所述装 置可通过如下配置的 iFC进行此类识别。  </InitialFilterCriteria> Example 2: After the AS is triggered, the Request-URI is renamed to a regular matching URI with certain characteristics (for example, a number prefixed with +86755), which is recognized as a forward. The device can perform such identification by an iFC configured as follows.

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint> <ConditionTypeCNF>0</ConditionTypeCNF> <TriggerPoint> <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<Request-URI>TEL:+86755(.*)</Request-URI>  <Request-URI>TEL: +86755(.*)</Request-URI>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<861^6^&1^>全网识别位置字符; CF= 1 </ServerName>  <861^6^&1^> The whole network recognizes the position character; CF= 1 </ServerName>

<DefaultHandling index="0">0</DefaultHandling>  <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer>  </ApplicationServer>

</InitialFilterCriteria> 情况二、 当所述装置需要同时判断触发前和触发后的 Request-URI 来识别是否是前转, 即需要触发前的原被叫满足某个条件, 同时需要触 发 AS后所改变的 Request-URI也满足某个条件时, iFC中的 SPT需要使 用<81?1¾&(161">配置 History-Info头域, 因为 History-info头域能够正确的 代表改号前的原被叫的 Request-URI。  </InitialFilterCriteria> Case 2: When the device needs to determine the Request-URI before and after the trigger to identify whether it is a forward, that is, the original called before the trigger needs to satisfy a certain condition, and needs to be changed after the AS is triggered. When the Request-URI also satisfies a certain condition, the SPT in the iFC needs to use <81?13⁄4&(161">Configure the History-Info header field, because the History-info header field can correctly represent the original called number before the change. Request-URI.

例 3 :设置触发前的原被叫为制定的 URI (例如: 以 139前缀的号码) 且触发后的 Request-URI为某类特征号码 (以 86755为前缀的号码), 则 识别为前转 /非前转, 例如, 同振业务中需要对以 86755为前缀的号码认 为非前转, 其它号码认为前转。  Example 3: Set the original called URI before the trigger (for example: the number prefixed with 139) and the triggered Request-URI is a certain feature number (a number prefixed with 86755), then it is recognized as forwarding/ Non-forward, for example, in the same-vibration service, the number prefixed with 86755 is considered to be non-forward, and the other numbers are considered to be forwarded.

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint>  <TriggerPoint>

<ConditionTypeCNF>0</ConditionTypeCNF>  <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group> <Request-URI>TEL:+86755(.*)</Request-URI> <Group>0</Group> <Request-URI>TEL: +86755(.*)</Request-URI>

</SPT>  </SPT>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<SIPHeader>  <SIPHeader>

<Header>History-Info</Header>  <Header>History-Info</Header>

<Content>TEL:+139(.*)</Content>  <Content>TEL:+139(.*)</Content>

</SIPHeader>  </SIPHeader>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<ServerName>全网识别位置字符; CF=0</ServerName>  <ServerName> identifies the location character on the whole network; CF=0</ServerName>

<DefaultHandling index="0">0</DefaultHandling>  <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer>  </ApplicationServer>

</InitialFilterCriteria>  </InitialFilterCriteria>

上述匹配条件可以只包含 <81?1¾&(161">而不包括 REQUEST-URI, 其 原理相同, 再次不再赘述。  The above matching conditions can only contain <81?13⁄4&(161"> without REQUEST-URI, and the principle is the same, and will not be described again.

iFC 中的 SPT 也可使用<80¾6&(161">配置 Diversion 头域, 因为 Diversion头域也能够代表改号前的原被叫的 Request-URI。  The SPT in iFC can also use the <803⁄46&(161">Configure Diversion header field, because the Diversion header field can also represent the original called Request-URI before the change.

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint>  <TriggerPoint>

<ConditionTypeCNF>0</ConditionTypeCNF>  <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<Request-URI>TEL:+86755(.*)</Request-URI>  <Request-URI>TEL: +86755(.*)</Request-URI>

</SPT> <SPT> </SPT> <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<SIPHeader>  <SIPHeader>

<Header>Diversion</Header>  <Header>Diversion</Header>

<Content>TEL:+139(.*)</Content>  <Content>TEL:+139(.*)</Content>

</SIPHeader>  </SIPHeader>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<ServerName>全网识别位置字符; CF=0</ServerName>  <ServerName> identifies the location character on the whole network; CF=0</ServerName>

<DefaultHandling index="0">0</DefaultHandling>  <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer>  </ApplicationServer>

</InitialFilterCriteria>  </InitialFilterCriteria>

情况三、当所述装置需要判断触发前后的 Request-URI有差异性关系 时, 需要控制差异是否是前转的判断依据, 而差异是多种多样的, 通过 灵活配置 History-Info头域中的原内容和新的内容的差异正则表达式将差 异配置出来, 达到控制的效果, 上述原内容可以为原 URI, 新的内容可 以为新的 URI。  Case 3: When the device needs to determine the difference between the Request-URI before and after the trigger, it is necessary to control whether the difference is the basis for the forward rotation, and the difference is various, by flexibly configuring the History-Info header field. Differences between the original content and the new content The regular expression configures the difference to achieve the effect of control. The original content can be the original URI, and the new content can be a new URI.

例 4: 设置触发 AS后原 Request-URI被改变为携带了某些关键参数 (例如: Phone-context或 Trunk Grou 或 cic或 rn等)制定值的 Request-URI 时, 则识别为前转。 所述装置可通过如下配置的 iFC进行此类识别。  Example 4: After setting the triggering AS, the original Request-URI is changed to a Request-URI that carries certain key parameters (for example, Phone-context or Trunk Grou or cic or rn, etc.), and is recognized as forwarding. The device can perform such identification by an iFC configured as follows.

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint>  <TriggerPoint>

<ConditionTypeCNF>0</ConditionTypeCNF>  <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group> <Request-URI> (条件) [cic=制定 cic](.*)</Request-URI> <Group>0</Group> <Request-URI> (condition) [cic=develop cic](.*)</Request-URI>

</SPT>  </SPT>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<SIPHeader>  <SIPHeader>

<Header>History-Info</Header>  <Header>History-Info</Header>

<Content>TEL:!条件! </Content>  <Content>TEL:! Conditions! </Content>

</SIPHeader>  </SIPHeader>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<861^6^&1^>全网识别位置字符; CF= 1 </ServerName>  <861^6^&1^> The whole network recognizes the position character; CF= 1 </ServerName>

<DefaultHandling index="0">0</DefaultHandling>  <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer>  </ApplicationServer>

</InitialFilterCriteria> 例 5 : 触发前的 Request-URI为 TEL形式, 而触发后的 Request-URI 为此号码的 SIP:user=phone形式时, 则识别为非前转。  </InitialFilterCriteria> Example 5: The Request-URI before the trigger is in the TEL format, and the Request-URI after the trigger is the SIP:user=phone format for this number, it is recognized as non-forward.

<InitialFilterCriteria>  <InitialFilterCriteria>

<Priority>0</Priority>  <Priority>0</Priority>

<TriggerPoint>  <TriggerPoint>

<ConditionTypeCNF>0</ConditionTypeCNF>  <ConditionTypeCNF>0</ConditionTypeCNF>

<SPT>  <SPT>

<ConditionNegated> 1 </ConditionNegated>  <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<Request-URI>SIP: !条件! @(.*);user=phone</Request-URI>  <Request-URI>SIP: ! condition! @(.*);user=phone</Request-URI>

</SPT>  </SPT>

<SPT> <ConditionNegated> 1 </ConditionNegated> <SPT> <ConditionNegated> 1 </ConditionNegated>

<Group>0</Group>  <Group>0</Group>

<SIPHeader>  <SIPHeader>

<Header>History-Info</Header>  <Header>History-Info</Header>

<Content>TEL:!条件! </Content>  <Content>TEL:! Conditions! </Content>

</SIPHeader>  </SIPHeader>

</SPT>  </SPT>

</TriggerPoint>  </TriggerPoint>

<ApplicationServer>  <ApplicationServer>

<ServerName>全网识别位置字符; CF=0</ServerName>  <ServerName> identifies the location character on the whole network; CF=0</ServerName>

<DefaultHandling index="0">0</DefaultHandling>  <DefaultHandling index="0">0</DefaultHandling>

</ApplicationServer>  </ApplicationServer>

</InitialFilterCriteria> 需要进一歩指出的是, 上述三种情况所对应的例 1至例 5所提出的 各种具体应用场景中, 通过前转标识 CF的灵活调整, 可以对符合匹配条 件的 AS触发返回的消息是否对应前转业务做出准确识别, 并且, 上述各 方法可以单独使用, 也可以组合使用, 从而可以实现对待识别消息的属 性的准确定义, 从而灵活确定待识别消息的范围。  </InitialFilterCriteria> It is pointed out that in the specific application scenarios proposed in the first to the fifth cases corresponding to the above three cases, the AS can be triggered by the flexible adjustment of the forwarding identifier CF. Whether the returned message is accurately identified corresponding to the forwarding service, and the foregoing methods may be used separately or in combination, so that an accurate definition of the attribute of the message to be identified may be implemented, thereby flexibly determining the range of the message to be identified.

本发明实施例的技术方案具有以下优点, 因为采用了根据 iFC所包含的 一个或多个 SPT 中的匹配条件及其对应的扩展参数进行前转业务识别的方 法, 从而, 可以准确的进行前转业务的识别, 达到了提高业务识别准确率, 避免因误识别而导致通信资源浪费的效果。 再进一歩的, 本发明实施例四还提出了一种原被叫信息的获取方法, 根据消息中携带的 History-Info (历史信息头域)信息,获取该消息在 AS触发 前所对应消息的原被叫信息, 具体流程图如图 4所示。  The technical solution of the embodiment of the present invention has the following advantages, because the method for performing forwarding service identification according to the matching condition in one or more SPTs included in the iFC and the corresponding extended parameter is adopted, so that the forwarding can be accurately performed. The identification of services has improved the accuracy of business identification and avoids the waste of communication resources due to misidentification. Further, the fourth embodiment of the present invention also provides a method for acquiring the original called information, and according to the History-Info (history information header field) information carried in the message, the message corresponding to the message before the AS is triggered is obtained. The original called information, the specific flow chart is shown in Figure 4.

因为 History-Info是一个列表 list, 要准确获取到当前所述装置, 如 S-CSCF所处理的原被叫的信息, 可以通过以下歩骤实现: 歩骤 S401、 所述装置获取当前收到的 AS触发后的 Invite消息 (SIP 中的一种基本请求消息) 中的最后一条 index (索引)。 Because History-Info is a list list, to accurately obtain the current device, such as the original called information processed by the S-CSCF, can be achieved by the following steps: Step S401: The device acquires a last index (index) in the currently received AS-triggered Invite message (a basic request message in the SIP).

歩骤 S402、 所述装置根据该 index (索引)信息, 再获取此 index (索 弓 1)所在的父级 index (索引), 该父级 index (索引) 所对应的信息即为 该消息在 AS触发前所对应消息的原被叫信息。  Step S402: The device acquires, according to the index information, a parent index (index) where the index (the arch) 1 is located, and the information corresponding to the parent index (index) is the message in the AS. The original called information of the message corresponding to the trigger.

进一歩的, 通过以下前转场景进行具体说明, 以下场景涵盖了各种前 转业务点, 即通过 History-Info (历史信息头域) 的获取算法可正确获取 到当前所述装置所处理的原被叫信息, 其中为了便于结合附图进行说明, 所述装置以 S-CSCF+大写字母表示, Invite消息以 "请求 +字母"表示, 如 Invite消息 B表示为请求: B。  Further, the following scenarios are specifically described. The following scenarios cover various forwarding service points, that is, the acquisition algorithm of History-Info (history information header field) can correctly obtain the original processing by the current device. The called information, wherein for convenience of description with reference to the accompanying drawings, the device is represented by S-CSCF+ uppercase letters, and the Invite message is represented by "request + letter", as the Invite message B is represented as a request: B.

场景一、 如图 5 所示, 此场景中发生两次前转, 其中第一次为早前 转( SP,无条件前转),第二次为晚前转( SP,遇忙前转)。其中, <B;index=l> (附图中为 <B; 索引 =1> 以下类似标记在附图中的表达于此相同, 故不 再说明) 是原被叫, <0^1(1^=1.1>是 B用户所触发的 AS无条件前转后 的第一被叫, <D;index=1.2>是触发 AS后遇忙前转后的第二被叫。  Scene 1, as shown in Figure 5, two forwards occur in this scenario, the first one is forward (SP, unconditional forward), and the second is late forward (SP, busy forward). Where <B;index=l> (<B; index=1> in the drawing) The following similar reference is expressed in the same figure in the drawing, so it is not explained.) It is the original called, <0^1(1 ^=1.1> is the first called after the unconditional forwarding of the AS triggered by the B user. <D;index=1.2> is the second called after the busy forwarding after the AS is triggered.

其中, <0;^(16 =1.1>和<0; (16 =1.2>是同级 index, 而<8;^(16 =1> 是<0;^(16 =1.1>和<0;^(^ =1.2>的父级 index。  Where <0;^(16 =1.1> and <0; (16 =1.2> is the same level index, and <8;^(16 =1> is <0;^(16 =1.1> and <0;^ (^ =1.2> parent index.

那么对于原被叫 B所在的 S-CSCF2来说, 在第一次无条件前转中, 获取的原被叫的信息就是触发 AS后的消息的当前 History-Info中最后一 ¾<C;index=l.l^ 上一级 index=l 的 URI, 即<8; (^ =1>, 而在第二次 遇忙前转中, 获取的原被叫的信息就是触发 AS 后的消息的当前 History-Info 中最后一跳的 <D;index=1.2:^ 上一级 index=l 的 URI, 即 <B;index=l>。 场景二、 如图 6 所示, 此场景中发生了两次无条件前转, 在第一次 无条件前转中, <B;index=l>是原被叫, 经过 B 用户的 AS 前转到 <C;index=l.l:^ 第二原被叫, 而在第二次无条件前转中, <C;index=l.l> 则成为了原被叫, 然后再经过 C用户的前转 AS前转到 <D;index=l.l.l> 的当前被叫。 其中, <8; (16 =1>是<0^1(16 =1.1>的父级 index, 而<0;^(16 =1.1> 是<0; (^ =1.1.1>的父级 index。 Then, for the S-CSCF2 where the original called B is located, in the first unconditional forward, the obtained original called information is the last 3⁄4<C; index= in the current History-Info of the message after the AS is triggered. Ll^ The URI of the previous index=l, ie <8; (^ =1>, and in the second busy forward, the information of the original called is the current History-Info of the message after the AS is triggered. The last hop of <D;index=1.2:^ The URI of the previous index=l, ie <B;index=l>. Scene 2, as shown in Figure 6, two unconditional forwards occurred in this scenario. In the first unconditional forward, <B;index=l> is the original called, after the B user's AS forwards to <C;index=ll:^ second original called, and in the second unconditional In the forward rotation, <C;index=ll> becomes the original called party, and then goes to the current called party of <D;index=lll> after passing the C user's forward AS. Where <8; (16 =1> is <0^1 (16 =1.1> parent index, and <0;^(16 =1.1> is <0; (^ =1.1.1> parent index) .

那么 S-CSCF2对应的是第一次无条件前转, 其获取的原被叫则为其 当前触发 AS后的 History-Info中最后一跳 <C;index=l.l>的上一级 index=l 的 URI, SP<B;index=l>; 而 S-CSCF3对应的是第二次无条件前转, 其获 取的原被叫则为其当前触发后的 History-Info中最后一跳 <D;index=l.l.l> 的上一级 index=l.l的 URI, 即<0;^ (^ =1.1>。 场景三、 如图 7 所示, 此场景中发生了三次前转, 包括两次无条件 前转和一次遇忙前转, 在第一次无条件前转中, <B;index=l>是原被叫, 经过 B用户的 AS无条件前转到 C后增加 T<C;index=l.l>的第二原被叫, 由于 C 用户忙, 于是 B 的 AS 进行了第二次遇忙前转, 前转到 <D;index=1.2>的第三原被叫; D用户的触发 AS将呼叫进行第三次无条件 前转, 前转到当前用户 E。  Then S-CSCF2 corresponds to the first unconditional forward, and the original called is the last hop of the last hop <C;index=ll> of the history-Info after the current AS is triggered. URI, SP<B;index=l>; and S-CSCF3 corresponds to the second unconditional forward, and the original called is the last hop in the History-Info after the current trigger <D; index= Lll> The URI of index=ll above, ie <0;^ (^ =1.1>. Scene 3, as shown in Figure 7, three forwards occurred in this scenario, including two unconditional forwards and one encounter Busy forward, in the first unconditional forward, <B;index=l> is the original called, after the B user's AS unconditionally forwarded to C, the second original was added T<C; index=ll> Call, because the C user is busy, then the AS of B performs the second busy forward, forwards to the third original called <D;index=1.2>; the triggered AS of the D user makes the call the third unconditionally Forward, forward to current user E.

其中, <8;^(16 =1>是<0^1(16 =1.1>和<0; (16 =1.2>的父级 index, 而<0; (^ =1.2>是<£; (16 =1.2.1>的父级 index。  Where <8;^(16 =1> is <0^1(16 =1.1> and <0; (16 =1.2> parent index, and <0; (^ =1.2> is <£; (16 The parent index of =1.2.1>.

那么对于 S-CSCF2来说, 第一次无条件前转获取的原被叫就为触发 后当前 History-Info中最后一跳<0;^ (^ =1.1>的上一级 index=l的 URI, 即

Figure imgf000019_0001
, 第二次遇忙前转获取的原被叫就为触发后当前的 History-Info 中最后一跳的 <D;index=1.2:^ 上一级 index=l 的 URI, 即 <B;index=l>。 Then, for S-CSCF2, the original called for the first unconditional forward is the URI of the last index=l of the last hop <0;^ (^ =1.1> in the current History-Info after the trigger. which is
Figure imgf000019_0001
The original called called the second time to get forwarded is the URI of the last hop of the current hop in the current History-Info after the trigger, ie====<B;index= l>.

对于 S-CSCF4 来说, 获取的原被叫就为触发后当前的 History-Info 中最后一跳的 <E;index=1.2.1>的上一级 index=1.2 的 URI, 即 <D;index=1.2>。  For S-CSCF4, the original called is the URI of the previous index=1.2 of <E;index=1.2.1> of the last hop in the current History-Info after the trigger, ie <D;index =1.2>.

通过应用本发明实施例所提出的技术方案, 本发明实施例所提供的 具有被叫服务-呼叫会话控制功能的装置能够利用 iFC中对 SPT的灵活运用 及扩展参数 "CF" 的运用,即可解决 S-CSCF对各种场景下 AS改号后的 前转的有效识别, 避免被叫触发时候不影响路由的部分发生变化, 额外 多进行一次被叫路由过程, 导致业务失败。 结合本文中所公开的实施例描述的方法或算法的歩骤可以直接用硬件、 处理器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存 储器(RAM)、 内存、 只读存储器(ROM)、 电可编程 ROM、 电可擦除可编 程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的 任意其它形式的存储介质中。 By applying the technical solution proposed by the embodiment of the present invention, the device with the called service-call session control function provided by the embodiment of the present invention can utilize the flexible use of the SPT in the iFC and the application of the extended parameter "CF". The S-CSCF can effectively identify the forwarding of the AS after the number is changed in various scenarios, and avoids the change of the part of the route that does not affect the routing when the called party is triggered. The called routing process is additionally performed once, causing the service to fail. The steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented directly in hardware, a software module executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进行了 进一歩详细说明, 所应理解的是, 以上所述仅为本发明的具体实施例而已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任 何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the invention, any modifications, equivalents, 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 identifying a forwarding service, the method comprising: 当接收的消息中的请求资源标识符 Request-URI被改变时, 判断所述消 息是否符合初始过滤规则 iFC所包含的一个或多个业务触发点 SPT中的匹配 条件;  When the request resource identifier Request-URI in the received message is changed, it is determined whether the message meets the matching condition in one or more service trigger points SPT included in the initial filtering rule iFC; 当所述消息符合所述 iFC所包含的一个或多个 SPT中的匹配条件时,根 据所述 iFC包含的前转业务识别标识识别所述消息所对应的业务是否为前转 业务。  When the message meets the matching condition in the one or more SPTs included in the iFC, the forward service identification identifier included in the iFC is used to identify whether the service corresponding to the message is a forwarding service. 2、 如权利要求 1所述的方法, 其特征在于, 所述接收的消息为应用服 务器 AS触发后返回的消息。  2. The method according to claim 1, wherein the received message is a message returned by the application server AS after being triggered. 3、 如权利要求 1所述的方法, 其特征在于, 所述前转业务识别标识包 括服务器标识和前转标识。  3. The method according to claim 1, wherein the forwarding service identification identifier comprises a server identifier and a forwarding identifier. 4、 如权利要求 1所述的方法, 其特征在于, 所述 iFC所包含的一个或 多个 SPT中的匹配条件通过精确值或正则表达式进行设置。  4. The method according to claim 1, wherein the matching condition in one or more SPTs included in the iFC is set by an exact value or a regular expression. 5、 如权利要求 4所述的方法, 其特征在于, 所述 iFC所包含的一个或 多个 SPT中的匹配条件, 具体为:  The method according to claim 4, wherein the matching condition in one or more SPTs included in the iFC is specifically: 在第一 SPT中的请求资源标识符 <Request-URI>字段设置的 Request-URI 内容; 和 /或,  Request-URI content set in the request resource identifier <Request-URI> field in the first SPT; and / or, 在第二 SPT 中的会话发起协议头 <SIPHeader>字段设置的历史信息 History-info头域; 和 /或, In the second session of the SPT head Initiation Protocol <SIPHead er> history information History-info header field set; and / or, 在第三 SPT中的 <80¾6&(161">字段设置的转移 Diversion头域。  In the third SPT, the <803⁄46&(161"> field setting is transferred to the Diversion header field. 6、 如权利要求 1或 4或 5任一项所述的方法, 其特征在于, 所述消息 符合所述 iFC所包含的一个或多个 SPT中的匹配条件, 具体包括:  The method according to any one of claims 1 to 4 or 5, wherein the message meets a matching condition in one or more SPTs included in the iFC, and specifically includes: 当所接收的 AS触发后返回的消息中的 Request-URI与所述在第一 SPT 中的 <Request-URI>字段设置的 Request-URI内容相匹配时,判断所述消息符 合所述匹配条件; 或,  Determining that the message meets the matching condition when the Request-URI in the message returned by the received AS trigger matches the Content of the Request-URI set in the <Request-URI> field in the first SPT; or , 当所接收的 AS触发后返回的消息中的 Request-URI与所述在第一 SPT 中的 <Request-URI>字段设置的 Request-URI内容相匹配, 且所述消息在 AS 触发前所对应的消息和所述在第二 SPT 中的 <SIPHeader>字段设置的 History-info头域的信息相匹配时, 判断所述消息符合所述匹配条件; 或, 当所接收的 AS触发后返回的消息中的 Request-URI和所述消息在 AS 触发前所对应的消息之间的差异性关系与所述在第一 SPT 中的 <Request-URI>字段设置的 Request-URI 内容和所述在第二 SPT 中的 <SIPHeader>字段设置的 History-info头域所对应的差异性关系相匹配时, 判 断所述消息符合所述匹配条件; 或, The Request-URI in the message returned after the received AS trigger matches the Request-URI content set in the <Request-URI> field in the first SPT, and the message corresponding to the message before the AS triggers And the <SIPHeader> field set in the second SPT When the information of the History-info header field matches, it is determined that the message meets the matching condition; or, the Request-URI in the message returned after the received AS is triggered and the message corresponding to the message before the AS triggers The difference between the difference relationship and the Request-URI content set in the <Request-URI> field in the first SPT and the difference corresponding to the History-info header field set in the <SIPHeader> field in the second SPT When the sexual relations match, it is judged that the message meets the matching condition; or, 当所接收的 AS触发后返回的消息中的 Request-URI与所述在第一 SPT 中的 <Request-URI>字段设置的 Request-URI内容匹配,且与所述在第三 SPT 中的<8 (161">字段设置的 Diversion头域中所设置的内容相匹配时, 判断 所述消息符合所述匹配条件。  The Request-URI in the message returned after the received AS trigger matches the Request-URI content set in the <Request-URI> field in the first SPT, and is <8 (in the third SPT) 161">When the content set in the Diversion header field of the field setting matches, it is judged that the message meets the matching condition. 7、 如权利要求 3所述的方法, 其特征在于, 所述根据所述 iFC包含的 前转业务识别标识识别所述消息所对应的业务是否为前转业务, 具体为: 判断所述服务器标识是否为全网识别位置字符;  The method according to claim 3, wherein the determining, according to the forward forwarding service identification identifier included in the iFC, whether the service corresponding to the message is a forwarding service, specifically: determining the server identifier Whether to identify the location character for the entire network; 当判断结果为所述服务器标识为全网识别位置字符时,判断所述前转标 识是否为前转确认字符;  When the result of the determination is that the server identifier is a full network identification location character, it is determined whether the forward forwarding identifier is a forward confirmation character; 当所述前转标识为前转确认字符时, 识别所述消息所对应的业务为前转 业务。  When the forwarding identifier is a forwarding confirmation character, the service corresponding to the message is identified as a forwarding service. 8、 如权利要求 1所述的方法, 其特征在于, 还包括歩骤:  8. The method of claim 1 further comprising the step of: 当所述 iFC为针对单一用户的配置时,所述 iFC配置在所述单一用户所 签约的归属签约用户服务器 HSS上;  When the iFC is configured for a single user, the iFC is configured on a home subscriber server HSS that is subscribed by the single user; 当所述 iFC为针对当前网络的全部用户的配置时,所述 iFC配置在服务 -呼叫会话控制功能实体 S-CSCF上。  When the iFC is configured for all users of the current network, the iFC is configured on the service-call session control function entity S-CSCF. 9、 如权利要求 1所述的方法, 其特征在于, 还包括歩骤: 根据所述消 息中携带的 History-Info信息,获取所述消息在 AS触发前所对应消息的原被 叫信息, 具体为:  The method according to claim 1, further comprising: obtaining, according to the History-Info information carried in the message, the original called information of the message corresponding to the message before the AS is triggered, specifically For: 获取所接收的 AS触发后返回的消息中的最后一条索引 index信息; 根据所述 index信息, 获取所述 index信息的父级 index信息;  Obtaining the last index index information in the message returned by the received AS triggering; acquiring the parent index information of the index information according to the index information; 确认所述父级 index信息所对应的信息为所述消息在 AS触发前所对应 消息的原被叫信息。 The information corresponding to the parent index information is confirmed as the original called information of the message corresponding to the message before the AS is triggered. 10、 一种具有服务-呼叫会话控制功能的装置, 其特征在于, 所述装置 包括: 10. A device having a service-call session control function, the device comprising: 匹配判断单元, 用于当接收的消息中的 Request-URI被改变时, 判断所 述消息是否符合 iFC所包含的一个或多个 SPT中的匹配条件;  a matching determining unit, configured to determine, when the Request-URI in the received message is changed, whether the message meets a matching condition in one or more SPTs included in the iFC; 前转识别单元,用于当所述匹配判断单元判断所述消息符合所述 iFC所 包含的一个或多个 SPT中的匹配条件时,根据所述 iFC包含的前转业务识别 标识识别所述消息所对应的业务是否为前转业务。  a forward identification unit, configured to identify the message according to the forwarding service identification identifier included in the iFC when the matching determination unit determines that the message meets a matching condition in one or more SPTs included in the iFC Whether the corresponding service is a forward business. 11、 如权利要求 10所述的装置, 其特征在于, 所述匹配判断单元具体 用于接收应用服务器 AS 触发后返回的消息, 当所述接收的消息中的 Request-URI被改变时,判断所述消息是否符合 iFC所包含的一个或多个 SPT 中的匹配条件。  The device according to claim 10, wherein the matching determining unit is specifically configured to receive a message returned by the application server AS, and when the Request-URI in the received message is changed, determine the location Whether the message meets the matching condition in one or more SPTs included in the iFC. 12、 如权利要求 10所述的装置, 其特征在于, 所述前转识别单元具体 用于根据所述 iFC包含的前转业务识别标识包括的服务器标识和前转标识的 类型识别所述消息所对应的业务是否为前转业务。  The apparatus according to claim 10, wherein the forwarding identification unit is configured to identify the message according to a type of a server identifier and a forwarding identifier included in the forwarding service identification identifier included in the iFC. Whether the corresponding service is a forward business. 13、 如权利要求 10所述的装置, 其特征在于, 所述匹配判断单元, 具 体包括:  The device according to claim 10, wherein the matching determining unit comprises: 第一判断模块, 用于判断所接收的 AS 触发后返回的消息中的 Request-URI是否被改变;  a first determining module, configured to determine whether a Request-URI in the message returned after the received AS is triggered is changed; 条件获取模块, 用于当所述第一判断模块判断所接收的 AS触发后返回 的消息中的 Request-URI被改变时,在归属签约用户服务器 HSS或本地获取 所接收的 AS触发后返回的消息所对应的 iFC所包含的一个或多个 SPT中的 匹配条件;  a condition obtaining module, configured to: when the first determining module determines that the Request-URI in the message returned after the received AS trigger is changed, returns a message after the home subscription user server HSS or the local AS triggers the received AS trigger a matching condition in one or more SPTs included in the corresponding iFC; 第二判断模块, 用于判断所接收的 AS触发后返回的消息是否符合所述 条件获取模块所获取的匹配条件。  The second determining module is configured to determine whether the message returned by the received AS trigger meets the matching condition acquired by the condition acquiring module. 14、 如权利要求 12所述的装置, 其特征在于, 所述前转识别单元, 具 体包括:  The apparatus according to claim 12, wherein the forward rotation identification unit comprises: 第三判断模块, 用于根据所述匹配条件, 判断所述服务器标识是否为全 网识别位置字符;  a third determining module, configured to determine, according to the matching condition, whether the server identifier is a full network identification location character; 第四判断模块,用于当所述第三判断模块判断所述 iFC包含的服务器标 识为全网识别位置字符时, 判断所述前转标识是否为前转确认字符, 当所 前转标识为前转确认字符时, 识别所述消息所对应的业务为前转业务。 a fourth determining module, configured to: when the third determining module determines, the server identifier included in the iFC When the location identifier is recognized by the entire network, it is determined whether the forward forwarding identifier is a forwarding confirmation character. When the forward forwarding identifier is a forwarding confirmation character, the service corresponding to the message is identified as a forwarding service. 15、 如权利要求 10所述的装置, 其特征在于, 所述装置还包括: 信息获取单元, 用于根据所接收的 AS触发后返回的消息中的最后一 索引 index信息的父级 index信息,获取所述消息在 AS触发前所对应消息 原被叫信息。  The device according to claim 10, wherein the device further comprises: an information acquiring unit, configured to: according to the parent index information of the last index index information in the message returned after the received AS is triggered, Obtaining the original called message information of the message corresponding to the message before the AS triggers.
PCT/CN2009/073413 2008-12-31 2009-08-21 Identifying method and device for forwarding service Ceased WO2010075692A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008101879701A CN101448226B (en) 2008-12-31 2008-12-31 Method and apparatus for identifying forwarding service
CN200810187970.1 2008-12-31

Publications (1)

Publication Number Publication Date
WO2010075692A1 true WO2010075692A1 (en) 2010-07-08

Family

ID=40743557

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073413 Ceased WO2010075692A1 (en) 2008-12-31 2009-08-21 Identifying method and device for forwarding service

Country Status (2)

Country Link
CN (1) CN101448226B (en)
WO (1) WO2010075692A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448226B (en) * 2008-12-31 2011-02-09 华为技术有限公司 Method and apparatus for identifying forwarding service
CN103179525B (en) * 2011-12-21 2016-08-10 中国移动通信集团公司 A kind of USSD service trigger method based on IMS system and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625193A (en) * 2003-12-04 2005-06-08 华为技术有限公司 Method of realizing switching calling current of mobile terminal and its radio communication system
CN1770764A (en) * 2004-11-06 2006-05-10 华为技术有限公司 Service trigger point matching method
CN101188802A (en) * 2007-12-14 2008-05-28 华为技术有限公司 Method and system for implementing call forwarding class
CN101267431A (en) * 2007-03-12 2008-09-17 中兴通讯股份有限公司 Matching Method of Initial Request Message in IP Multimedia Subsystem Service Triggering Process
CN101448226A (en) * 2008-12-31 2009-06-03 华为技术有限公司 Method and apparatus for identifying forwarding service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625193A (en) * 2003-12-04 2005-06-08 华为技术有限公司 Method of realizing switching calling current of mobile terminal and its radio communication system
CN1770764A (en) * 2004-11-06 2006-05-10 华为技术有限公司 Service trigger point matching method
CN101267431A (en) * 2007-03-12 2008-09-17 中兴通讯股份有限公司 Matching Method of Initial Request Message in IP Multimedia Subsystem Service Triggering Process
CN101188802A (en) * 2007-12-14 2008-05-28 华为技术有限公司 Method and system for implementing call forwarding class
CN101448226A (en) * 2008-12-31 2009-06-03 华为技术有限公司 Method and apparatus for identifying forwarding service

Also Published As

Publication number Publication date
CN101448226B (en) 2011-02-09
CN101448226A (en) 2009-06-03

Similar Documents

Publication Publication Date Title
US8213425B2 (en) Method for matching initial request message in the IP multimedia subsystem service triggering process
CN107509184B (en) Method, apparatus, device, medium and server for determining access domain
US9392436B2 (en) Method and apparatus for voice over LTE
WO2008083587A1 (en) Method and system and network element for service processing after network element data invalidated and occurring fault
CN103975566A (en) Service Domain Selection Service Indicator
CN105636007B (en) A kind of called input field determines method and server
US7835352B2 (en) Method, system and equipment for processing SIP requests in IMS network
TW201201552A (en) Methods and apparatuses for handling public identities in an Internet Protocol Multimedia Subsystem network
WO2008080342A1 (en) Method and system for implementing simulative service, method for implementing interworking, and unit for controlling interworking
CN102884858A (en) Setting to enable connections from UEs not registered in IMS
WO2010075692A1 (en) Identifying method and device for forwarding service
WO2011029342A1 (en) Method, device and system for identifying type of public user identity (pui)
CN104301450B (en) The method and device of addressing
WO2011107001A1 (en) Call processing method and apparatus thereof
JP2006521717A5 (en)
CN101448258A (en) Judgment method of authentication mode for UE to access IMS and device thereof
CN101001248B (en) Method for processing registration initial filtering rules in IMS network
CN101304551A (en) A communication method, communication system and device in an IMS network
WO2008077308A1 (en) Processing method and entity of public identity shared by multi-terminals
WO2008092358A1 (en) A strategy performing method, system and network element
CN107302485B (en) Method, equipment and device for interconnecting equipment in different networks
CN113366801A (en) Method and apparatus for continuation of terminating service in IMS communication network
WO2008119302A1 (en) System, device and method for processing service in group domain network
US20100054445A1 (en) Method, apparatus and computer program product for providing routing of message signaling
KR101006318B1 (en) Internet based call processing method and system

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

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

Country of ref document: EP

Kind code of ref document: A1