CN106332037A - IP Multimedia Subsystem Billing Method and Device - Google Patents
IP Multimedia Subsystem Billing Method and Device Download PDFInfo
- Publication number
- CN106332037A CN106332037A CN201510364022.0A CN201510364022A CN106332037A CN 106332037 A CN106332037 A CN 106332037A CN 201510364022 A CN201510364022 A CN 201510364022A CN 106332037 A CN106332037 A CN 106332037A
- Authority
- CN
- China
- Prior art keywords
- multimedia subsystem
- network element
- charging
- subsystem network
- charging priority
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,具体涉及一种IP多媒体子系统(IP MultimediaSubsystem,简称IMS)计费方法及装置。The present invention relates to the communication field, in particular to an IP Multimedia Subsystem (IP Multimedia Subsystem, IMS for short) charging method and device.
背景技术Background technique
在3GPP描述的电信网络中,计费系统是其重要的功能部件之一,其离线计费模型如图1所示。从图1可以看出,对于离线计费来说,所有的IMS网元都支持离线计费接口(图1只示意了本发明相关的部分网元,并未列出全部网元。完整的离线计费模型请参考3GPP TS32.240)。这些离线计费网元包括:接入层的接入网关控制功能(Access Gateway Control Function,简称AGCF)、代理会话控制功能(Proxy-Call Session Control Function,简称P-CSCF),控制层的服务会话控制功能(Server-Call Session Control Function,简称S-CSCF)、问询会话控制功能(Interrogation-Call Session Control Function,简称I-CSCF)、媒体网关控制功能(Media Gateway Control Function,简称MGCF)、业务层的会话初始化协议应用服务器(Session Initial ProtocolApplication Server,简称SIP AS)等。In the telecommunication network described by 3GPP, the charging system is one of its important functional components, and its offline charging model is shown in Figure 1. As can be seen from Figure 1, for offline charging, all IMS network elements support the offline charging interface (Figure 1 only illustrates some network elements relevant to the present invention, and does not list all network elements. Complete offline For charging model, please refer to 3GPP TS32.240). These offline charging network elements include: access gateway control function (Access Gateway Control Function, referred to as AGCF), proxy session control function (Proxy-Call Session Control Function, referred to as P-CSCF), control layer service session Server-Call Session Control Function (S-CSCF for short), Interrogation-Call Session Control Function (I-CSCF for short), Media Gateway Control Function (MGCF for short), service Layer session initialization protocol application server (Session Initial Protocol Application Server, referred to as SIP AS) and so on.
对于上述网元,接入层负责各种不同类型用户的接入,实现接入用户的终端无关性;控制层用于对会话路由进行控制,包含下一跳的选择,选择触发哪些SIP AS等。而业务层处理该用户签约的业务,比如,来电显示,呼叫转移、智能业务等等。For the above-mentioned network elements, the access layer is responsible for the access of various types of users, and realizes the terminal independence of the access users; the control layer is used to control the session routing, including the selection of the next hop, which SIP AS to trigger, etc. . The business layer handles the services signed by the user, such as caller ID, call forwarding, intelligent services, and so on.
在IMS域中,对于一个会话(session)来说,所有处理过该会话的网元都会产生计费消息,即计费请求消息(Accounting Request,简称ACR)。这些ACR发到计费收集功能(Charging Collecting Function,简称CCF),由CCF生成计费话单(Call Data Record,简称CDR),传送到计费域(Billing Domain,简称BD)完成最终计费。In the IMS domain, for a session (session), all network elements that have processed the session will generate accounting messages, that is, accounting request messages (Accounting Request, ACR for short). These ACRs are sent to the Charging Collecting Function (CCF for short), and the CCF generates a Call Data Record (CDR for short), which is sent to the Billing Domain (BD for short) to complete the final billing.
而对于业务层来说,由于电信业务的复杂性和多样性,需要设置多个不同的SIP AS才能实现。比如,一个SIP AS实现基本补充业务(来电显示、呼叫限制等),一个SIP AS实现虚拟专网业务(Centrex),一个SIP AS实现智能业务等等。如图2所示。在图2中,示意了多个SIP AS触发顺序和流程,触发顺序和路由选择由控制层的网元进行控制。在本示例流程中,共存在三个SIP AS,其中1,2,3为信令消息的去向流程,或称之为发端流程。4,5,6为返向流程,或称之为收端流程。本例中的三个SIP AS都会向CCF发送计费消息。As for the service layer, due to the complexity and diversity of telecommunication services, multiple different SIP ASs need to be set up to realize it. For example, a SIP AS implements basic supplementary services (caller ID, call barring, etc.), a SIP AS implements virtual private network services (Centrex), and a SIP AS implements intelligent services, etc. as shown in picture 2. In FIG. 2 , the triggering sequence and flow of multiple SIP ASs are illustrated, and the triggering sequence and route selection are controlled by network elements at the control layer. In this example process, there are three SIP ASs in total, 1, 2, and 3 are the destination process of the signaling message, or called the origination process. 4, 5, and 6 are the return process, or called the receiving end process. All three SIP ASs in this example will send accounting messages to the CCF.
一个详细计费流程如图3所示。从整个过程来看,整个会话可分为三个阶段。阶段一,用户发起会话,网络为用户进行资源预留,终端之间进行媒体协商等。阶段二,用户进入通话状态,计费会话开始。在这个阶段中,网元不断发送ACR到CCF,分别是:一个Start ACR用于标识计费会话开始,零个或多个Interim ACR用于标识会话过程中的资源变化情况以及一个Stop ACR用于标识会话结束。阶段三,对已经配置的网络资源进行回收等。A detailed billing process is shown in Figure 3. From the perspective of the whole process, the whole conversation can be divided into three stages. In phase one, the user initiates a session, the network reserves resources for the user, and media negotiation is performed between terminals. In phase two, the user enters the call state, and the charging session starts. In this phase, the network element continuously sends ACRs to the CCF, namely: a Start ACR is used to identify the start of the charging session, zero or more Interim ACRs are used to identify resource changes during the session, and a Stop ACR is used to Indicates that the session is over. Phase 3, reclaiming the configured network resources, etc.
目前的计费处理流程将各个网元产生的ACR都发送到CCF。CCF分别为每个网元产生不同的CDR。然后由CCF或者BD将同一个会话相关的CDR合并为一张综合的CDR进行计费;这种处理方式合并的工作量较大,并且不同网元传递的计费信息存在很大的冗余,造成不必要的传输浪费,并且当某个网元传输延迟时也影响话单合并处理的及时性。The current charging process sends the ACR generated by each network element to the CCF. The CCF generates different CDRs for each network element respectively. Then the CCF or BD merges the CDRs related to the same session into a comprehensive CDR for billing; this processing method involves a large workload of merging, and there is a lot of redundancy in the billing information transmitted by different network elements. Unnecessary transmission waste is caused, and the timeliness of bill merging processing is also affected when a certain network element transmits delay.
发明内容Contents of the invention
本发明要解决的主要技术问题是,提供一种IP多媒体子系统计费方法及装置,解决现有IP多媒体子系统计费工作量大、需占用较多资源且及时性差的问题。The main technical problem to be solved by the present invention is to provide a billing method and device for an IP multimedia subsystem to solve the problems of large billing workload, large resource occupation and poor timeliness of the existing IP multimedia subsystem.
为解决上述技术问题,本发明提供一种IP多媒体子系统计费方法,包括:In order to solve the above-mentioned technical problem, the present invention provides a kind of IP multimedia subsystem billing method, comprising:
设置IP多媒体子系统网元的计费优先级;Set the charging priority of IP multimedia subsystem network elements;
在业务发起后,通过处理此次业务的各IP多媒体子系统网元确定出计费优先级最高的目标IP多媒体子系统网元;After the service is initiated, determine the target IP multimedia subsystem network element with the highest charging priority through the network elements of the IP multimedia subsystem processing the service;
根据所述目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费。The service is charged according to the charging request message sent by the network element of the target IP multimedia subsystem.
在本发的一种实施例中,通过处理此次业务的各IP多媒体子系统网元确定出计费优先级最高的目标IP多媒体子系统网元包括:In one embodiment of the present invention, the target IP multimedia subsystem network element with the highest charging priority determined by each IP multimedia subsystem network element processing this service includes:
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元;Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request message added with charging priority information;
或,or,
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元。Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request response message added with the charging priority information.
在本发的一种实施例中,各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:In one embodiment of the present invention, when each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request message added with the charging priority information, it includes:
第一个处理所述业务的IP多媒体子系统网元将自身的计费优先级添加到业务请求消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元判断接收到的业务请求消息中的计费优先级是否比自身的高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元判断接收到的业务请求消息中的计费优先级比自身的高时,将该业务请求消息中的计费优先级作为最高计费优先级,否则,将自身的作为最高计费优先级;The first IP multimedia subsystem network element that processes the service adds its own charging priority to the service request message and sends it to the next IP multimedia subsystem network element; the next IP multimedia subsystem network element judges the received Whether the charging priority in the service request message is higher than its own, if so, it will not be replaced and sent to the next IP multimedia subsystem network element, otherwise, it will be replaced and then sent to the next IP multimedia subsystem network element, so as to By analogy, when the last IP multimedia subsystem network element judges that the charging priority in the received service request message is higher than its own, it takes the charging priority in the service request message as the highest charging priority; Its own as the highest charging priority;
通知所述最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。Notify the IP multimedia subsystem network element corresponding to the highest charging priority as the target IP multimedia subsystem network element.
在本发的一种实施例中,各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:In one embodiment of the present invention, when each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request response message added with charging priority information, it includes:
第一个接收到对端反馈的业务请求响应消息的业务的IP多媒体子系统网元将自身的计费优先级添加到该业务请求响应消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级是否比自身的高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级比自身的高时,将该业务请求响应消息中的计费优先级作为最高计费优先级,否则,将自身的作为最高计费优先级;The first IP multimedia subsystem network element that receives the service of the service request response message fed back by the opposite end adds its own charging priority to the service request response message and sends it to the next IP multimedia subsystem network element; The IP multimedia subsystem network element judges whether the charging priority in the received service request response message is higher than its own, if so, it will not replace it and send it to the next IP multimedia subsystem network element, otherwise, it will send it to the next IP multimedia subsystem network element after replacement The next IP multimedia subsystem network element, and so on, when the last IP multimedia subsystem network element judges that the charging priority in the service request response message received is higher than its own, it will use the charging priority in the service request response message charging priority as the highest charging priority, otherwise, take its own as the highest charging priority;
通知所述最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。Notify the IP multimedia subsystem network element corresponding to the highest charging priority as the target IP multimedia subsystem network element.
在本发的一种实施例中,通知所述最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元包括:In an embodiment of the present invention, notifying the IP multimedia subsystem network element corresponding to the highest charging priority as the target IP multimedia subsystem network element includes:
所述最后一个IP多媒体子系统网元接收到对端反馈的业务请求响应消息后将所述最高计费优先级添加到所述业务请求响应消息中后依次往下面的IP多媒体子系统网元发送,下面的IP多媒体子系统网元判断接收到的业务请求响应消息中包含的计费优先级与自身的计费优先级相同时,将自身标记为目标IP多媒体子系统网元。After receiving the service request response message fed back by the opposite end, the last IP multimedia subsystem network element adds the highest charging priority to the service request response message and sends it to the following IP multimedia subsystem network elements in sequence , when the following IP multimedia subsystem network element judges that the charging priority contained in the received service request response message is the same as its own charging priority, it marks itself as the target IP multimedia subsystem network element.
在本发的一种实施例中,根据所述目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费包括:In an embodiment of the present invention, charging this service according to the charging request message sent by the network element of the target IP multimedia subsystem includes:
接收目标IP多媒体子系统网元发送的计费请求消息,所述计费请求消息包含目标IP多媒体子系统网元标识信息;receiving a charging request message sent by a target IP multimedia subsystem network element, where the charging request message includes target IP multimedia subsystem network element identification information;
根据所述计费请求消息生成计费话单;generating a charging bill according to the charging request message;
根据所述计费话单完成计费。Complete charging according to the billing bill.
为了解决上述问题,本发明还提供了一种IP多媒体子系统计费系统,包括:IP多媒体子系统网元和计费装置;In order to solve the above problems, the present invention also provides an IP multimedia subsystem charging system, including: IP multimedia subsystem network elements and charging devices;
所述IP多媒体子系统网元设置有计费优先级;The network element of the IP multimedia subsystem is set with a charging priority;
在业务发起后,处理此次业务的各IP多媒体子系统网元用于确定出计费优先级最高的目标IP多媒体子系统网元;After the service is initiated, each IP multimedia subsystem network element processing this service is used to determine the target IP multimedia subsystem network element with the highest charging priority;
所述计费装置用于根据所述目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费。The charging device is used for charging this service according to the charging request message sent by the network element of the target IP multimedia subsystem.
在本发的一种实施例中,处理此次业务的各IP多媒体子系统网元确定出计费优先级最高的目标IP多媒体子系统网元包括:In one embodiment of the present invention, each IP multimedia subsystem network element processing this service determines that the target IP multimedia subsystem network element with the highest charging priority includes:
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元;Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request message added with charging priority information;
或,or,
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元。Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request response message added with the charging priority information.
在本发的一种实施例中,各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:In one embodiment of the present invention, when each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request message added with the charging priority information, it includes:
第一个处理所述业务的IP多媒体子系统网元将自身的计费优先级添加到业务请求消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元判断接收到的业务请求消息中的计费优先级是否比自身的高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元判断接收到的业务请求消息中的计费优先级比自身的高时,将该业务请求消息中的计费优先级作为最高计费优先级,否则,将自身的作为最高计费优先级,并通知所述最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。The first IP multimedia subsystem network element that processes the service adds its own charging priority to the service request message and sends it to the next IP multimedia subsystem network element; the next IP multimedia subsystem network element judges the received Whether the charging priority in the service request message is higher than its own, if so, it will not be replaced and sent to the next IP multimedia subsystem network element, otherwise, it will be replaced and then sent to the next IP multimedia subsystem network element, so as to By analogy, when the last IP multimedia subsystem network element judges that the charging priority in the received service request message is higher than its own, it takes the charging priority in the service request message as the highest charging priority; its own as the highest charging priority, and notify the IP Multimedia Subsystem network element corresponding to the highest charging priority as the target IP Multimedia Subsystem network element.
在本发的一种实施例中,各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:In one embodiment of the present invention, when each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request response message added with charging priority information, it includes:
第一个接收到对端反馈的业务请求响应消息的业务的IP多媒体子系统网元将自身的计费优先级添加到该业务请求响应消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级是否比自身的高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级比自身的高时,将该业务请求响应消息中的计费优先级作为最高计费优先级,否则,将自身的作为最高计费优先级,并通知所述最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。The first IP multimedia subsystem network element that receives the service of the service request response message fed back by the opposite end adds its own charging priority to the service request response message and sends it to the next IP multimedia subsystem network element; The IP multimedia subsystem network element judges whether the charging priority in the received service request response message is higher than its own, if so, it will not replace it and send it to the next IP multimedia subsystem network element, otherwise, it will send it to the next IP multimedia subsystem network element after replacement The next IP multimedia subsystem network element, and so on, when the last IP multimedia subsystem network element judges that the charging priority in the service request response message received is higher than its own, it will use the charging priority in the service request response message If not, take its own as the highest charging priority, and notify the IP multimedia subsystem network element corresponding to the highest charging priority as the target IP multimedia subsystem network element.
在本发的一种实施例中,通知所述最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元包括:In an embodiment of the present invention, notifying the IP multimedia subsystem network element corresponding to the highest charging priority as the target IP multimedia subsystem network element includes:
所述最后一个IP多媒体子系统网元接收到对端反馈的业务请求响应消息后将所述最高计费优先级添加到所述业务请求响应消息中后依次往下面的IP多媒体子系统网元发送,下面的IP多媒体子系统网元判断接收到的业务请求响应消息中包含的计费优先级与自身的计费优先级相同时,将自身标记为目标IP多媒体子系统网元。After receiving the service request response message fed back by the opposite end, the last IP multimedia subsystem network element adds the highest charging priority to the service request response message and sends it to the following IP multimedia subsystem network elements in sequence , when the following IP multimedia subsystem network element judges that the charging priority contained in the received service request response message is the same as its own charging priority, it marks itself as the target IP multimedia subsystem network element.
在本发的一种实施例中,所述计费装置包括计费收集功能设备和计费域设备;In an embodiment of the present invention, the billing device includes a billing collection function device and a billing domain device;
所述计费收集功能设备接收目标IP多媒体子系统网元发送的计费请求消息,根据所述计费请求消息生成计费话单;所述计费请求消息包含目标IP多媒体子系统网元标识信息;The charging collection function device receives the charging request message sent by the target IP multimedia subsystem network element, and generates a charging bill according to the charging request message; the charging request message includes the target IP multimedia subsystem network element identifier information;
所述计费域设备根据所述计费话单完成计费。The charging domain device completes charging according to the charging bill.
本发明的有益效果是:The beneficial effects of the present invention are:
本发明提供的IP多媒体子系统计费方法及装置,在计费时,设置IP多媒体子系统网元的计费优先级;在业务发起后,通过处理此次业务的各IP多媒体子系统网元之间确定出计费优先级最高的目标IP多媒体子系统网元,然后根据确定出的目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费;也即本发明可在业务发起时,处理此次业务的各IP多媒体子系统网元之间根据自身设置的计费优先级可以协商比对出优先级最高的网元,该优先级最高的网元可随着业务的不同而动态变化;然后根据确定的优先级最高的网元的计费请求消息进行完成计费,并不需要接收所有网元的计费请求消息进行合并等处理,因此可降低处理工作量,同时可减少信息传输的冗余,降低传输资源的占用率,且可尽可能减少受其他网元传输延迟导致计费实时性差的问题。The IP multimedia subsystem charging method and device provided by the present invention set the charging priority of IP multimedia subsystem network elements during charging; after the service is initiated, each IP multimedia subsystem network element that processes this service Determine the target IP multimedia subsystem network element with the highest charging priority, and then charge this service according to the charging request message sent by the determined target IP multimedia subsystem network element; that is, the present invention can be used in the When the service is initiated, the network elements of the IP multimedia subsystem that handle the service can negotiate and compare the network element with the highest priority according to the charging priority set by themselves, and the network element with the highest priority can be used as the service Different and dynamic changes; then complete the charging according to the charging request message of the determined network element with the highest priority, and do not need to receive the charging request messages of all network elements for merging and other processing, so the processing workload can be reduced, and at the same time It can reduce the redundancy of information transmission, reduce the occupancy rate of transmission resources, and minimize the problem of poor real-time billing caused by transmission delays of other network elements.
附图说明Description of drawings
图1为离线计费系统结构示意图;FIG. 1 is a schematic structural diagram of an offline billing system;
图2为多会话初始化协议应用服务器并存时的计费过程示意图;Fig. 2 is a schematic diagram of the billing process when multiple session initialization protocol application servers coexist;
图3为会话过程的计费流程示意图;Fig. 3 is a schematic diagram of the billing process of the session process;
图4为本发明实施例一提供的IP多媒体子系统计费方法流程示意图;FIG. 4 is a schematic flow chart of an IP multimedia subsystem charging method provided by Embodiment 1 of the present invention;
图5为本发明实施例二提供的IP多媒体子系统计费系统结构示意图;FIG. 5 is a schematic structural diagram of an IP multimedia subsystem charging system provided by Embodiment 2 of the present invention;
图6为本发明实施例三提供的IP多媒体子系统计费方法流程示意图。FIG. 6 is a schematic flowchart of a charging method for an IP multimedia subsystem provided in Embodiment 3 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.
实施例一:Embodiment one:
请参见图4所示,本实施例提供的IP多媒体子系统计费方法包括:Referring to Fig. 4, the IP multimedia subsystem charging method provided in this embodiment includes:
步骤401:设置IP多媒体子系统网元的计费优先级;具体可对每个IP多媒体子系统网元进行计费优先级编号,不同的IP多媒体子系统网元的编号一般是不同的,如果相同,则表明二者的计费优先级相同;本实施例中的优先级编号可以为数字,且为了方便后续更新,例如删除、增加、修改等,优先级编号可不比连续,例如设依次设置为1,2,10,14,21;数字越大或者越小,优先级越高;Step 401: Set the charging priority of IP multimedia subsystem network elements; specifically, each IP multimedia subsystem network element can be numbered for charging priority, and the numbers of different IP multimedia subsystem network elements are generally different. If If they are the same, it indicates that the charging priorities of the two are the same; the priority number in this embodiment can be a number, and in order to facilitate subsequent updates, such as deletion, addition, modification, etc., the priority number can not be more continuous, such as setting in sequence 1, 2, 10, 14, 21; the larger or smaller the number, the higher the priority;
应当注意的是,本实施例中的IP多媒体子系统网元并不限于SIP AS,而包括所有的IP多媒体子系统网元,在实际应用中,大部分情况下可能只选取SIP AS的话单作为计费依据,但有时候也需要用其他网元,比如专用交换机(PrivateBranch Exchange,简称PBX)对等接入时,需要使用MGCF话单进行计费;It should be noted that the IP multimedia subsystem network element in this embodiment is not limited to the SIP AS, but includes all IP multimedia subsystem network elements. In practical applications, in most cases, only the SIP AS call list may be selected as the Billing basis, but sometimes other network elements are needed, such as private branch exchange (PBX for short) peer-to-peer access, need to use MGCF bills for billing;
步骤402:在业务发起后,通过处理此次业务的各IP多媒体子系统网元确定出计费优先级最高的目标IP多媒体子系统网元;Step 402: after the service is initiated, determine the target IP multimedia subsystem network element with the highest charging priority through each IP multimedia subsystem network element processing this service;
步骤403:根据目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费。Step 403: Charge this service according to the charging request message sent by the network element of the target IP multimedia subsystem.
通过上述处理流程可以看出,可在业务(包括但不限于会话)发起时,处理此次业务的各IP多媒体子系统网元之间根据自身设置的计费优先级可以协商比对出优先级最高的网元,且该优先级最高的网元可随着业务的不同而动态变化;然后根据确定的优先级最高的网元的计费请求消息进行完成计费,并不需要接收所有网元的计费请求消息进行合并等处理,可降低处理工作量的同时减少信息传输的冗余,提升资源利用率,且可尽可能减少受其他网元传输延迟导致计费实时性差的问题。From the above processing flow, it can be seen that when a service (including but not limited to a session) is initiated, each IP multimedia subsystem network element processing this service can negotiate and compare the priority according to the charging priority set by itself The network element with the highest priority, and the network element with the highest priority can change dynamically with different services; then complete the charging according to the charging request message of the determined network element with the highest priority, and does not need to receive all network elements Merging and other processing of the billing request messages can reduce the processing workload while reducing the redundancy of information transmission, improve resource utilization, and minimize the problem of poor real-time billing caused by transmission delays of other network elements.
上述步骤402中,通过处理此次业务的各IP多媒体子系统网元确定出计费优先级最高的目标IP多媒体子系统网元包括:In the above step 402, the target IP multimedia subsystem network element with the highest charging priority determined by each IP multimedia subsystem network element processing this service includes:
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元;Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request message added with charging priority information;
或,or,
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元。Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request response message added with the charging priority information.
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:When each IP multimedia subsystem network element uses the service request message added with charging priority information to determine the target IP multimedia subsystem network element with the highest charging priority, it includes:
第一个处理业务的IP多媒体子系统网元(也即第一个发送业务请求消息的网元)将自身的计费优先级添加到业务请求消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元接收到后,判断接收到的业务请求消息中的计费优先级是否比自身的计费优先级高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元接收到业务请求消息后,则判断接收到的业务请求消息中的计费优先级比自身的高时,将该业务请求消息中的计费优先级作为最高计费优先级保存在本端,否则,将自身的作为最高计费优先级保存在本端;然后通知最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。此处通知的方式可以额外采用新的消息进行通知;但为了进一步提升资源利用率,降低开销;本实施例中利用业务请求响应消息进行通知,具体为:The first IP multimedia subsystem network element (that is, the first network element to send a service request message) to process the service adds its own charging priority to the service request message and sends it to the next IP multimedia subsystem network element; After receiving it, the next IP multimedia subsystem network element judges whether the charging priority in the received service request message is higher than its own charging priority, and if so, sends it to the next IP multimedia subsystem network element without replacement , otherwise, replace it and then send it to the next IP Multimedia Subsystem NE, and so on. After the last IP Multimedia Subsystem NE receives the service request message, it judges that the charging priority When the priority is higher than its own, save the charging priority in the service request message as the highest charging priority on the local end, otherwise, save its own as the highest charging priority on the local end; then notify the highest charging priority The IP multimedia subsystem network element corresponding to the priority is used as the target IP multimedia subsystem network element. The way of notification here can additionally use new messages for notification; but in order to further improve resource utilization and reduce overhead; in this embodiment, business request response messages are used for notification, specifically:
最后一个接收到业务请求消息的IP多媒体子系统网元会第一个接收到对端反馈的业务请求响应消息,然后将最高计费优先级添加到该业务请求响应消息中后依次往下面的IP多媒体子系统网元发送,下面的IP多媒体子系统网元判断接收到的业务请求响应消息中包含的计费优先级与自身的计费优先级相同时,则表明自身的计费优先级是最高的,将自身标记为目标IP多媒体子系统网元;否则,表明自身的优先级并不是最高的。The last IP multimedia subsystem network element that receives the service request message will be the first to receive the service request response message fed back by the opposite end, and then add the highest charging priority to the service request response message, and then forward to the following IP When the multimedia subsystem network element sends it, the following IP multimedia subsystem network element judges that the charging priority contained in the received service request response message is the same as its own charging priority, indicating that its own charging priority is the highest , mark itself as the target IP multimedia subsystem network element; otherwise, indicate that the priority of itself is not the highest.
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:When each IP multimedia subsystem network element uses the service request response message added with charging priority information to determine the target IP multimedia subsystem network element with the highest charging priority, it includes:
第一个接收到对端反馈的业务请求响应消息的业务的IP多媒体子系统网元将自身的计费优先级添加到该业务请求响应消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级是否比自身的高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级比自身的高时,将该业务请求响应消息中的计费优先级作为最高计费优先级,否则,将自身的作为最高计费优先级;然后通知最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。通知的方式可采用新增专用的消息进行通知。The first IP multimedia subsystem network element that receives the service of the service request response message fed back by the opposite end adds its own charging priority to the service request response message and sends it to the next IP multimedia subsystem network element; The IP multimedia subsystem network element judges whether the charging priority in the received service request response message is higher than its own, if so, it will not replace it and send it to the next IP multimedia subsystem network element, otherwise, it will send it to the next IP multimedia subsystem network element after replacement The next IP multimedia subsystem network element, and so on, when the last IP multimedia subsystem network element judges that the charging priority in the service request response message received is higher than its own, it will use the charging priority in the service request response message The charging priority is taken as the highest charging priority, otherwise, it is taken as the highest charging priority; and then the IP multimedia subsystem network element corresponding to the highest charging priority is notified as the target IP multimedia subsystem network element. The way of notification can be by adding a dedicated message for notification.
本实施例中,IP多媒体子系统网元将自身的计费优先级添加到业务请求消息或业务请求响应消息中的方式可以通过扩展现有信令参数(例如SIP信令的P-Charging),或者增加新的信令参数,且为了便于后续识别和说明,可设此参数为charging priority。In this embodiment, the manner in which the network element of the IP multimedia subsystem adds its own charging priority to the service request message or the service request response message may be by extending the existing signaling parameters (such as P-Charging of SIP signaling), Or add a new signaling parameter, and for the convenience of subsequent identification and description, this parameter can be set as charging priority.
上述步骤403中,根据目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费包括:In the above step 403, charging this service according to the charging request message sent by the network element of the target IP multimedia subsystem includes:
接收目标IP多媒体子系统网元发送的计费请求消息,该计费请求消息包含目标IP多媒体子系统网元标识信息,以便于区分是否是目标IP多媒体子系统网元发送的;当然,在设定只有目标IP多媒体子系统网元发送计费请求消息时,则可不包含该标识信息;该标识信息的增加可通过扩展(比如,在Diameter消息中增加一个新的AVP,Attribute Value Pair,属性对)实现。为方便起见,假设此标识信息为charging anchor;本实施例中对于其他IP多媒体子系统网元发送的计费请求消息可以丢弃或者做其他备份处理等,但不在往下传输;Receive the charging request message sent by the network element of the target IP multimedia subsystem, the charging request message includes the identification information of the network element of the target IP multimedia subsystem, so as to distinguish whether it is sent by the network element of the target IP multimedia subsystem; When it is determined that only the target IP multimedia subsystem network element sends the charging request message, then the identification information may not be included; the increase of the identification information may be extended (for example, adding a new AVP, Attribute Value Pair, and attribute pair in the Diameter message) )accomplish. For convenience, it is assumed that the identification information is charging anchor; in this embodiment, the charging request message sent by other IP multimedia subsystem network elements can be discarded or performed for other backup processing, etc., but it is not transmitted downward;
根据目标IP多媒体子系统网元发送的计费请求消息生成计费话单;Generate a charging bill according to the charging request message sent by the network element of the target IP multimedia subsystem;
本实施例中,当所有IP多媒体子系统网元的计费话单也都发到计费中心做处理时,实施例中的针对目标IP多媒体子系统网元的计费话单也可包括目标IP多媒体子系统网元标识信息,以供计费中心从众多计费话单中分拣出目标IP多媒体子系统网元的计费话单;In this embodiment, when the billing bills of all IP multimedia subsystem network elements are also sent to the billing center for processing, the billing bills for the target IP multimedia subsystem network elements in the embodiment may also include the target IP multimedia subsystem network element identification information for the billing center to sort out the billing bills of the target IP multimedia subsystem network elements from numerous billing bills;
进一步根据计费话单完成计费。Further complete charging according to the billing bill.
可见,本实施例通过一次信令交互即可完成计费优先级的选举和确认,且可利用现有流程简单扩展即可,不需要增加新的消息流程;It can be seen that in this embodiment, the election and confirmation of charging priority can be completed through one signaling interaction, and the existing process can be used for simple expansion without adding a new message process;
CCF可以选择只将最需要计费的话单也即计费优先级最高的网元发送的话单传送到BD,能有效降低网络负荷。The CCF can choose to only transmit the bills sent by the network element with the highest charging priority to the BD, which can effectively reduce the network load.
实施例二:Embodiment two:
本实施例提供了一种IP多媒体子系统计费系统,请参见图5所示,包括计费装置和多个IP多媒体子系统网元,IP多媒体子系统网元设置有计费优先级;本实施例中的IP多媒体子系统网元并不限于SIP AS,而包括所有的IP多媒体子系统网元。This embodiment provides an IP multimedia subsystem charging system, as shown in FIG. 5 , including a charging device and a plurality of IP multimedia subsystem network elements, and the IP multimedia subsystem network elements are provided with charging priorities; The IP multimedia subsystem network element in the embodiment is not limited to the SIP AS, but includes all IP multimedia subsystem network elements.
在业务发起后,处理此次业务的各IP多媒体子系统网元用于确定出计费优先级最高的目标IP多媒体子系统网元;After the service is initiated, each IP multimedia subsystem network element processing this service is used to determine the target IP multimedia subsystem network element with the highest charging priority;
计费装置用于根据目标IP多媒体子系统网元发送的计费请求消息对此次业务进行计费。The charging device is used for charging this service according to the charging request message sent by the network element of the target IP multimedia subsystem.
本实施例中,处理此次业务的各IP多媒体子系统网元确定出计费优先级最高的目标IP多媒体子系统网元包括:In this embodiment, each IP multimedia subsystem network element processing this service determines that the target IP multimedia subsystem network element with the highest charging priority includes:
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元;Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request message added with charging priority information;
或,or,
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元。Each IP multimedia subsystem network element determines the target IP multimedia subsystem network element with the highest charging priority by using the service request response message added with the charging priority information.
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:When each IP multimedia subsystem network element uses the service request message added with charging priority information to determine the target IP multimedia subsystem network element with the highest charging priority, it includes:
第一个处理业务的IP多媒体子系统网元(也即第一个发送业务请求消息的网元)将自身的计费优先级添加到业务请求消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元接收到后,判断接收到的业务请求消息中的计费优先级是否比自身的计费优先级高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元接收到业务请求消息后,则判断接收到的业务请求消息中的计费优先级比自身的高时,将该业务请求消息中的计费优先级作为最高计费优先级保存在本端,否则,将自身的作为最高计费优先级保存在本端;然后通知最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。此处通知的方式可以额外采用新的消息进行通知;但为了进一步提升资源利用率,降低开销;本实施例中利用业务请求响应消息进行通知,具体为:The first IP multimedia subsystem network element (that is, the first network element to send a service request message) to process the service adds its own charging priority to the service request message and sends it to the next IP multimedia subsystem network element; After receiving it, the next IP multimedia subsystem network element judges whether the charging priority in the received service request message is higher than its own charging priority, and if so, sends it to the next IP multimedia subsystem network element without replacement , otherwise, replace it and then send it to the next IP Multimedia Subsystem NE, and so on. After the last IP Multimedia Subsystem NE receives the service request message, it judges that the charging priority When the priority is higher than its own, save the charging priority in the service request message as the highest charging priority on the local end, otherwise, save its own as the highest charging priority on the local end; then notify the highest charging priority The IP multimedia subsystem network element corresponding to the priority is used as the target IP multimedia subsystem network element. The way of notification here can additionally use new messages for notification; but in order to further improve resource utilization and reduce overhead; in this embodiment, business request response messages are used for notification, specifically:
最后一个接收到业务请求消息的IP多媒体子系统网元会第一个接收到对端反馈的业务请求响应消息,然后将最高计费优先级添加到该业务请求响应消息中后依次往下面的IP多媒体子系统网元发送,下面的IP多媒体子系统网元判断接收到的业务请求响应消息中包含的计费优先级与自身的计费优先级相同时,则表明自身的计费优先级是最高的,将自身标记为目标IP多媒体子系统网元;否则,表明自身的优先级并不是最高的。The last IP multimedia subsystem network element that receives the service request message will be the first to receive the service request response message fed back by the opposite end, and then add the highest charging priority to the service request response message, and then forward to the following IP When the multimedia subsystem network element sends it, the following IP multimedia subsystem network element judges that the charging priority contained in the received service request response message is the same as its own charging priority, indicating that its own charging priority is the highest , mark itself as the target IP multimedia subsystem network element; otherwise, indicate that the priority of itself is not the highest.
各IP多媒体子系统网元利用添加有计费优先级信息的业务请求响应消息确定出计费优先级最高的目标IP多媒体子系统网元时,包括:When each IP multimedia subsystem network element uses the service request response message added with charging priority information to determine the target IP multimedia subsystem network element with the highest charging priority, it includes:
第一个接收到对端反馈的业务请求响应消息的业务的IP多媒体子系统网元将自身的计费优先级添加到该业务请求响应消息中发给下一IP多媒体子系统网元;下一IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级是否比自身的高,如是,则不作替换发给下一个IP多媒体子系统网元,否则,进行替换后再发给下一IP多媒体子系统网元,以此类推,最后一个IP多媒体子系统网元判断接收到的业务请求响应消息中的计费优先级比自身的高时,将该业务请求响应消息中的计费优先级作为最高计费优先级,否则,将自身的作为最高计费优先级;然后通知最高计费优先级对应的IP多媒体子系统网元作为目标IP多媒体子系统网元。通知的方式可采用新增专用的消息进行通知。The first IP multimedia subsystem network element that receives the service of the service request response message fed back by the opposite end adds its own charging priority to the service request response message and sends it to the next IP multimedia subsystem network element; The IP multimedia subsystem network element judges whether the charging priority in the received service request response message is higher than its own, if so, it will not replace it and send it to the next IP multimedia subsystem network element, otherwise, it will send it to the next IP multimedia subsystem network element after replacement The next IP multimedia subsystem network element, and so on, when the last IP multimedia subsystem network element judges that the charging priority in the service request response message received is higher than its own, it will use the charging priority in the service request response message The charging priority is taken as the highest charging priority, otherwise, it is taken as the highest charging priority; and then the IP multimedia subsystem network element corresponding to the highest charging priority is notified as the target IP multimedia subsystem network element. The way of notification can be by adding a dedicated message for notification.
本实施例中,IP多媒体子系统网元将自身的计费优先级添加到业务请求消息或业务请求响应消息中的方式可以通过扩展现有信令参数(例如SIP信令的P-Charging),或者增加新的信令参数,且为了便于后续识别和说明,可设此参数为charging priority。In this embodiment, the manner in which the network element of the IP multimedia subsystem adds its own charging priority to the service request message or the service request response message may be by extending the existing signaling parameters (such as P-Charging of SIP signaling), Or add a new signaling parameter, and for the convenience of subsequent identification and description, this parameter can be set as charging priority.
本实施例中的计费装置具体可包括计费收集功能设备和计费域设备;The billing device in this embodiment may specifically include billing collection function devices and billing domain devices;
计费收集功能设备接收目标IP多媒体子系统网元发送的计费请求消息,根据计费请求消息生成计费话单;计费请求消息包含目标IP多媒体子系统网元标识信息;以便于计费收集功能设备区分是否是目标IP多媒体子系统网元发送的;当然,在设定只有目标IP多媒体子系统网元发送计费请求消息时,则可不包含该标识信息;该标识信息的增加可通过扩展(比如,在Diameter消息中增加一个新的AVP,Attribute Value Pair,属性对)实现。为方便起见,假设此标识信息为charging anchor;本实施例中对于其他IP多媒体子系统网元发送的计费请求消息可以丢弃或者做其他备份处理等,但不在往下向计费域设备传输;The billing collection function device receives the billing request message sent by the target IP multimedia subsystem network element, and generates a billing bill according to the billing request message; the billing request message contains the target IP multimedia subsystem network element identification information; in order to facilitate billing The collection function device distinguishes whether it is sent by the network element of the target IP multimedia subsystem; of course, when it is set that only the network element of the target IP multimedia subsystem sends the charging request message, the identification information may not be included; the increase of the identification information can be made through Extension (for example, adding a new AVP, Attribute Value Pair, attribute pair in the Diameter message) implementation. For the sake of convenience, it is assumed that the identification information is charging anchor; in this embodiment, the charging request message sent by other IP multimedia subsystem network elements can be discarded or other backup processing can be performed, but it is not transmitted downward to the charging domain device;
计费域设备根据计费收集功能设备得到的计费话单完成计费。The billing domain device completes billing according to the billing bill obtained by the billing collection function device.
实施例三:Embodiment three:
为了更好的理解本发明,下面以会话业务为示例,且以主叫侧为例对本发明做进一步说明;对于被叫侧的计费处理则类似,此处不再进行赘述。请参见图6所示,包括:In order to better understand the present invention, the present invention will be further described by taking the conversation service as an example and the calling side as an example; the billing process of the called side is similar, and will not be repeated here. See Figure 6, including:
步骤S01:用户发起业务,网元1接收到业务请求消息(比如SIP Invite),在计费请求消息中增加自身的计费优先级参数,charging priority;Step S01: A user initiates a service, and network element 1 receives a service request message (such as a SIP Invite), and adds its own charging priority parameter, charging priority, to the charging request message;
步骤S02:业务请求消息传送到第二个网元2,网元2根据消息中携带的计费优先级参数,比较自己的优先级参数,如果自己的优先级较高,则用自己的计费优先级覆盖请求消息中对应参数,如果自己优先级较低,不做处理;Step S02: The service request message is sent to the second network element 2, and the network element 2 compares its own priority parameters according to the charging priority parameters carried in the message, and uses its own charging priority if its own priority is higher The priority overrides the corresponding parameters in the request message. If the priority is low, it will not be processed;
步骤S03:业务请求消息发送至后续网元。后续网元采用步骤S02的方式进行处理;如果存在多个后续网元,均采用这种方式进行处理;Step S03: The service request message is sent to subsequent network elements. Subsequent network elements are processed in the manner of step S02; if there are multiple subsequent network elements, they are all processed in this manner;
步骤S04:本侧业务请求消息处理完毕,请求消息传送到对端网络(比如被叫侧)。在将消息传送到对端网络时,将最终得到的最高计费优先级参数(charging priority)从请求消息中去除,缓存在本地(因为移动网络对于会话参与的各方均维护独立的上下文,不互相交叉。将主叫侧的计费优先级参数传递到被叫侧是没有意义的;特别地,当对端是其他运营商时,更不需要如此);Step S04: After processing the service request message at the local side, the request message is sent to the peer network (such as the called side). When the message is transmitted to the peer network, the final highest charging priority parameter (charging priority) is removed from the request message and cached locally (because the mobile network maintains an independent context for all parties participating in the session, it does not Interleaved with each other. It is meaningless to pass the charging priority parameters of the calling side to the called side; especially, when the opposite end is another operator, it is not necessary);
步骤S05:业务请求消息在对端处理后,对端发送响应消息(比如SIP 183,或者SIP 200OK),进入本端网络,由于消息是按原路返回,所以本端第一个处理返回消息的网元,需要查找本会话对应的上下文,将对应的最高计费优先级参数(charging priority)添加到响应消息中;同时,如果该计费优先级参数与本节点配置的优先级一致,则本节点为本次会话最高计费优先级节点;Step S05: After the service request message is processed by the peer end, the peer end sends a response message (such as SIP 183, or SIP 200OK) and enters the local network. Since the message is returned by the original route, the local end is the first to process the returned message The network element needs to find the context corresponding to this session, and add the corresponding highest charging priority parameter (charging priority) to the response message; at the same time, if the charging priority parameter is consistent with the priority configured on this node, the local The node is the highest charging priority node for this session;
步骤S06:响应消息传送到下一个网元节点;该网元节点同样比对响应消息中计费优先级参数,与本节点配置的优先级进行比较;如果二者相同,则本节点为本次会话最高计费优先级节点;Step S06: The response message is sent to the next network element node; the network element node also compares the charging priority parameter in the response message with the priority configured by the node; if the two are the same, the node is the current The highest charging priority node for the session;
步骤S07:响应消息依次处理,直至本侧最后一个网元1;这样在一个请求消息+一个响应消息的交互后,可以决策中本端网元中最高计费优先级节点;Step S07: The response messages are processed sequentially until the last network element 1 on the local side; in this way, after the interaction of a request message and a response message, the node with the highest charging priority among the local network elements can be decided;
步骤S08:用户进入通话状态;本端所有相关的网元均发送计费ACR到计费收集功能设备CCF。只有最高计费优先级节点发送的计费消息中携带charginganchor参数;Step S08: The user enters the call state; all relevant network elements at the local end send the charging ACR to the charging collection function device CCF. Only the charging message sent by the node with the highest charging priority carries the charginganchor parameter;
步骤S09:CCF处理计费ACR;对于携带charging anchor参数的ACR,正常构造为CDR;对于未携带该参数的ACR,特殊处理,丢弃或者存放于特殊目录,可供日后查对;当然,也可以将所有网元的话单都构造为CDR,不管是否携带charging anchor;Step S09: CCF processes the billing ACR; for the ACR that carries the charging anchor parameter, it is normally constructed as a CDR; for the ACR that does not carry the parameter, it is specially processed, discarded or stored in a special directory for future checking; of course, it can also be Construct the bills of all network elements as CDRs, regardless of whether they carry charging anchors;
步骤S10:CCF将构造完成的CDR发送到计费域设备BD进行后续处理;如果步骤S09中是将所有的话单都构造成了CDR,那么BD需要根据charginganchor分拣出需要计费的话单,其他的话单保存备查。Step S10: CCF sends the completed CDR to the billing domain device BD for subsequent processing; if all bills are constructed into CDRs in step S09, then BD needs to sort out the bills that need to be billed according to charginganchor, and other Save the call list for future reference.
综上,采用本发明方法,在IMS网络中存在多个SIP AS时,能够自动准确地按照优先级确定计费网元,在SIP AS增加、删除或调整时,能自主学习并适应新的优先级,简化计费流程,大大提高计费效率,为新业务的快速部署提供保障。从而可以使运营商快速推出新业务、占领新市场。In summary, with the method of the present invention, when there are multiple SIP ASs in the IMS network, the charging network element can be automatically and accurately determined according to the priority, and when the SIP AS is added, deleted or adjusted, it can learn independently and adapt to the new priority. level, simplify the billing process, greatly improve billing efficiency, and provide guarantee for the rapid deployment of new services. Thus, operators can quickly launch new services and occupy new markets.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510364022.0A CN106332037A (en) | 2015-06-26 | 2015-06-26 | IP Multimedia Subsystem Billing Method and Device |
PCT/CN2016/074330 WO2016206396A1 (en) | 2015-06-26 | 2016-02-23 | Charging method and device for ip multimedia subsystem |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510364022.0A CN106332037A (en) | 2015-06-26 | 2015-06-26 | IP Multimedia Subsystem Billing Method and Device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106332037A true CN106332037A (en) | 2017-01-11 |
Family
ID=57584599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510364022.0A Withdrawn CN106332037A (en) | 2015-06-26 | 2015-06-26 | IP Multimedia Subsystem Billing Method and Device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106332037A (en) |
WO (1) | WO2016206396A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114071390A (en) * | 2020-08-04 | 2022-02-18 | 华为技术有限公司 | Method, system and related equipment for billing processing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983937A (en) * | 2006-06-09 | 2007-06-20 | 华为技术有限公司 | IMS network charging system and method |
CN101006681A (en) * | 2004-06-08 | 2007-07-25 | 艾利森电话股份有限公司 | Flexible charging mechanisms for IP multimeda services |
CN101436941A (en) * | 2007-11-15 | 2009-05-20 | 华为技术有限公司 | Charging method, charging network element, charging system and communication system |
CN102186156A (en) * | 2011-05-30 | 2011-09-14 | 杭州东信北邮信息技术有限公司 | Intelligent network service charging method and system based on service broker (SB) |
US20120295585A1 (en) * | 2011-05-17 | 2012-11-22 | David Khan | Prioritisation of Charging in an IMS Network |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123514B (en) * | 2007-09-14 | 2010-08-18 | 中兴通讯股份有限公司 | A billing method in IP multimedia subsystem network |
CN102137374A (en) * | 2010-09-10 | 2011-07-27 | 华为技术有限公司 | Charging call ticket generating method, system and device based on multimedia subsystem |
CN103957168B (en) * | 2014-04-15 | 2017-01-25 | 华东师范大学 | Scheduling method of PCC rules in EPS system |
-
2015
- 2015-06-26 CN CN201510364022.0A patent/CN106332037A/en not_active Withdrawn
-
2016
- 2016-02-23 WO PCT/CN2016/074330 patent/WO2016206396A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101006681A (en) * | 2004-06-08 | 2007-07-25 | 艾利森电话股份有限公司 | Flexible charging mechanisms for IP multimeda services |
CN1983937A (en) * | 2006-06-09 | 2007-06-20 | 华为技术有限公司 | IMS network charging system and method |
CN101436941A (en) * | 2007-11-15 | 2009-05-20 | 华为技术有限公司 | Charging method, charging network element, charging system and communication system |
US20120295585A1 (en) * | 2011-05-17 | 2012-11-22 | David Khan | Prioritisation of Charging in an IMS Network |
CN102186156A (en) * | 2011-05-30 | 2011-09-14 | 杭州东信北邮信息技术有限公司 | Intelligent network service charging method and system based on service broker (SB) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114071390A (en) * | 2020-08-04 | 2022-02-18 | 华为技术有限公司 | Method, system and related equipment for billing processing |
Also Published As
Publication number | Publication date |
---|---|
WO2016206396A1 (en) | 2016-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101971592B (en) | Local session controller, ip multimedia subsystem and session registration method | |
US10044553B2 (en) | Media resource reservation request failure handling for voice over mobile wireless network | |
CN106453345A (en) | Call set-up method and system | |
US11438831B2 (en) | Network slicing awareness in IP multimedia subsystem | |
CN104202786B (en) | A kind of method and device for calling routing | |
EP1940076A1 (en) | Method and system for sending media stream-based charging request in a multiparty session | |
JP2011130458A (en) | Method and arrangement for establishing communication session for multimedia | |
JP5581444B2 (en) | Management of service provision gateway for performance improvement | |
EP3198837A1 (en) | Cdf tracking for offline charging | |
US9161199B1 (en) | Override of distribution algorithms for an offline charging system | |
CN104168190B (en) | A kind of method and device for calling routing | |
US8213373B2 (en) | Supporting method for REFER message expansion parameter | |
CN105959274B (en) | Communication method and network element used in communication method | |
CN105207982B (en) | Resource sharing processing method, device and P-CSCF | |
CN111031528B (en) | A kind of connection establishment method and device of private network | |
CN100466804C (en) | Method for confirming data transmission service quality in communication network | |
CN106332037A (en) | IP Multimedia Subsystem Billing Method and Device | |
EP3157278A1 (en) | Policy control and charging method, apparatus and device | |
CN103139798B (en) | A kind of ensure the method for end-to-end session service quality, PCRF and AF | |
CN102891830A (en) | Method and system for guaranteeing service quality of streaming service | |
CN103905664A (en) | Method, device and system for selecting multipoint control unit (MCU) | |
KR20070036847A (en) | Method of Provisioning Representative Number Service in 3BPPI IMS-based Network | |
CN103166922B (en) | Call request processing method, system and device in point-to-point stacking network | |
WO2010075688A1 (en) | Method, apparatus and system for creating and joining ip multimedia subsystem (ims) group conference | |
CN103825914B (en) | SN information reporting method, and method and apparatus for communication between DSN P2P network and IMS network communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170111 |