[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2010020076A1 - A control charging method and equipment based on application service in a communication network - Google Patents

A control charging method and equipment based on application service in a communication network Download PDF

Info

Publication number
WO2010020076A1
WO2010020076A1 PCT/CN2008/001503 CN2008001503W WO2010020076A1 WO 2010020076 A1 WO2010020076 A1 WO 2010020076A1 CN 2008001503 W CN2008001503 W CN 2008001503W WO 2010020076 A1 WO2010020076 A1 WO 2010020076A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
application
application service
session
application services
Prior art date
Application number
PCT/CN2008/001503
Other languages
French (fr)
Chinese (zh)
Inventor
李向阳
Original Assignee
阿尔卡特朗讯
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 阿尔卡特朗讯 filed Critical 阿尔卡特朗讯
Priority to CN2008801304454A priority Critical patent/CN102100033A/en
Priority to PCT/CN2008/001503 priority patent/WO2010020076A1/en
Publication of WO2010020076A1 publication Critical patent/WO2010020076A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications

Definitions

  • the present invention relates to a system for controlling charging in a communication network, and more particularly to a control charging system for charging a plurality of related application services in a session based on an IP multimedia subsystem architecture.
  • the existing 2G/3G traditional billing system there is no uniform billing standard for the application service of the intelligent network.
  • the existing billing system for smart application services with simple technology, such as: calling display, calling restriction, called display, called restriction, malicious call ID authentication, anonymous call rejection, call forwarding, call waiting Application services such as call hold, call barring, etc., are often integrated into existing network devices.
  • the Call Forwarding Service can be implemented in a Home Location Register (HLR) or in an intelligent network-based billing system.
  • HLR Home Location Register
  • the charging method for these application services often adopts a simple method of flat rate (such as monthly subscription, for example, 5 yuan / month). Such a method of billing is sometimes unreasonable. For example, although a user sometimes opens an application service, the user does not use or rarely use the opened application service, but still has to pay a fixed fee each month.
  • IMS IP Multimedia Subsystem
  • 3 GPP defines in the TS23.218 protocol (IP Multimedia (IM) session handling; IM call model, http://www.3gpp.org/ftp/specs/html-info/23218.htm) Models for various applications of the IMS network, Session Initiation Protocol (SIP)-based application servers, and Service Capability Interaction Manager (SCIM), see 3GPP TS 23.218 Figure 5.1.1.
  • IP Multimedia (IM) session handling IP Multimedia (IM) session handling; IM call model, http://www.3gpp.org/ftp/specs/html-info/23218.htm
  • SIP Session Initiation Protocol
  • SCIM Service Capability Interaction Manager
  • the current 3GPP TS 32.240-TS 32.299 technical standard defines a unified online charging and offline charging model, which separates the application service module from the unified charging system.
  • the above standards do not specify how to apply to the involved application servers during the call. Unified billing.
  • the Multimedia Telephony Service is a specific application based on the IMS subsystem.
  • 3GPP recognizes the importance of MMTel billing in the TS32.275 protocol (Telecommunication management; Charging management; MultiMedia Telephony (MMTel) charging, http://www.3gpp.org/FTP/Specs/html-info/32275. Htm ), mentioned the charge for multimedia telephony services, but because TS32.275 is only at the stage of the draft, it does not give how to manage and count multiple different applications when one MMTel calls multiple applications. The fee, how to generate a charging request message according to the application service related information of one or more applications that need to be charged is sent to the charging system, and how the charging system determines the price policy according to the charging request message. Summary of the invention
  • the application service triggers the network device to acquire application service related information of each of one or more application services invoked by a session request, And the conversation phase
  • the identification information is provided; the application service related information of the one or more application services requested to be invoked and the session related identification information are provided to the charging triggering device.
  • the charging triggering device acquires application service related information of one or more application services of one or more application services related to a session from the application service triggering network device, and the session related identification information; Determining whether the one or more application services require charging according to application service related information of one or more application services in the service; application service related information and session related identifiers of one or more application services that need to be charged according to requirements Information to generate a charging request message; transmitting the charging request message to the charging device.
  • the charging device pre-stores multiple application service group identifiers, and receives an accounting request message from the receiving charging triggering device, where the application service related information of the application service that needs to be charged is included, and the charging is performed according to the one or more requirements.
  • the application service related information of the application service determines the application service group identifier. In addition, if the charging receives the charging request message from the charging triggering device, where the application service group identification information is already included, the charging system directly determines the price policy according to the group identification information.
  • a method for controlling charging in an application service triggering network device of a communication network comprising the steps of: acquiring one or more application services related to a session Application service related information of each of the one or more application services invoked by the session request, and the session related identification information; application service related information of one or more application services invoked by the request and the The session related identification information is provided to the charging trigger network device.
  • a method for controlling charging in a charging trigger network device of a communication network comprising the steps of: acquiring a session related to a session from an application service triggering network device Or application service related information of one or more application services of the plurality of application services, and the session related identification information; according to application service related information of one or more application services of the one or more application services, Determining whether one or more application services of the one or more application services require charging; if one or more application services of the one or more application services require charging, then charging one according to requirements Or application service related information of the plurality of application services and the session related identification information to generate a charging request message; The charging request message is sent to the charging device.
  • a method for controlling charging in a charging device of a communication network characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, wherein each The application group identifier corresponds to an identifier of one or more application services included in the application service group identified by the application server group identifier, and the method includes the following steps: receiving an accounting request message from the charging trigger network device, where The charging request message includes application service related information of one or more application services that need to be charged related to one session, and the session related identification information; an application of one or more application services that are charged according to the requirement The service related information determines an application service group identifier corresponding to the one or more application services that need to be charged; and determines a price policy according to the application service group identifier.
  • a method for controlling charging in a charging device of a communication network characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, wherein each The application group identifier corresponds to the identifier of the one or more application services included in the application service group identified by the application group identifier, and the method includes the following steps: receiving an accounting request message from the charging trigger network device, where The charging request message includes application service group identification information corresponding to the one or more application services that need to be charged, and session related identification information that invokes one or more application services that need to be charged; Service group identification, determining the price strategy.
  • a first charging device for controlling charging in a charging device of a communication network, characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, Each of the application group identifiers corresponds to one or more application services included in the application service group identified by the application service group identifier, and the first charging device includes: a first charging request receiving device, configured to: Receiving an accounting request message from the charging triggering network device, where the charging request message includes application service related information of one or more application services that need to be charged related to one session, and the session related identification information; a service group identifier determining apparatus, configured to determine, according to the application service related information of the one or more application services that need to be charged, an application service group identifier corresponding to the one or more application services that need to be charged; a price policy determining device, configured to determine a price policy according to the application service group identifier.
  • a second charging device for controlling charging in a charging device of a communication network, wherein a plurality of application service group identifiers are pre-stored in the charging device.
  • Each of the application group identifiers corresponds to an identifier of one or more application services included in the application service group identified by the application service group identifier
  • the second charging device includes: a second charging request receiving device, configured to: Receiving an accounting request message from the charging triggering network device, where the charging request message includes application service group identification information corresponding to the one or more application services that need to be charged, and calling one of the required charging Or session-related identification information of the plurality of application services; and second price policy determining means, configured to determine a price policy according to the application service group identifier.
  • FIG. 1 is a schematic diagram of a network structure according to an embodiment of the present invention
  • FIG. 2 is an application service triggering network device 1, a charging trigger network device 2, and a charging device 3 according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a system method for an application service trigger network device, a charging trigger network device 2, and a charging device 3 to perform charging according to the acquired application service related information of an application service according to a variant embodiment of the present invention
  • FIG. 4 is a diagram showing an application service of a communication network triggering a first charging control device 10 in the network device 1, a second charging control device 20 in the charging trigger network device 2, and a meter according to an embodiment of the present invention.
  • the first charging device 30 in the fee device 3 is used to perform a device block diagram of the application service based charging operation.
  • the Service Control Interaction Module (SCIM) 6 is located at the application layer. Used to control one or more application services.
  • Application services include video services, audio services, file services, streaming services, short number services, caller display services, call barring services, called display services, called barring services, malicious call ID authentication services, anonymous call denial services , call forwarding service, call waiting service, call hold service.
  • each application service Represented by the application server hosting the application service.
  • the audio server 4a carrying the audio service, the video server 4b carrying the video service, the instant message server 4c carrying the instant message service, the short number server 4d carrying the short number service, and the file server 4e carrying the file service are shown. .
  • the service control interaction module 6 can be interconnected with the IP Multimedia Subsystem (IMS) 5 through an ISC (IMS Service Controller) interface or a Sh interface (a DIAMETER protocol interface for interconnecting with an HSS (Home Subscriber Server) in an IMS network).
  • IMS IP Multimedia Subsystem
  • the IP Multimedia Subsystem includes a Serving Call Session Control Function Device (S-CSCF) ⁇ for interacting with the Service Control Interaction Module 6.
  • S-CSCF Serving Call Session Control Function Device
  • the control interaction module 6 can also interact with the circuit switched network (CS domain) 9 through the Intelligent Network Application Protocol (INAP), the application portion of the enhanced logic (CAMEL Application Part, CAP), the ISDN User Part (ISUP), The Mobile Application Part (MAP) and the CDMA Wireless Intelligent Network Protocol (IS 826) interface are connected, and the circuit switched network 9 may include a PSTN network, or may include a circuit switched part of the GSM network, or a circuit switched part of the CDMA network. Wait.
  • the circuit switched portion of the GSM network includes a mobile switching center 8 for interacting with the service control interaction module 6.
  • Service Control Interaction Module 6 can also be interconnected with a Data Switching Network (PS Domain).
  • PS Domain Data Switching Network
  • the service control interaction module 6 includes an application service trigger network device 1 and a charging trigger network device 2.
  • the application service triggers the network device. 1
  • the management of the accounting-related information of each application server is implemented.
  • the charging triggering network device 2 sends the information of the application server that needs to be charged to the charging device 3.
  • the service interaction module 6 can also exchange messages based on the INAP protocol, the CAP protocol, the ISUP protocol, and the MAP protocol with the circuit switched network 9 for controlling user billing, and its implementation and service.
  • the call session control function device 7 processes the SIP protocol based message similarly, I will not repeat them here.
  • FIG. 2 is a flowchart of a system method for an application service triggering network device, a charging trigger network device 2, and a charging device 3 to perform charging according to the acquired application service related information of an application service according to an embodiment of the present invention.
  • a terminal device used by a user supports multimedia telephony services.
  • the user requests to initiate a multimedia phone service, because the user is the originator of the session, hereinafter referred to as the user as the calling user, and the other party called by the calling user is called the called user.
  • Both the calling user and the called user can add new media services during the call.
  • the calling party dials the short number of the called user and requests to place a video call.
  • the user equipment of the calling user generates a session request message, where the session request message includes the identification information of the calling user and the identification information of the called user, and the type of the service requested by the calling user, that is, the IMS communication service identifier ( IMS-Communication-Service-Identifier A VP ).
  • the user equipment of the calling user sends the session request message to the Serving Call Session Control Function Device (S-CSCF).
  • S-CSCF Serving Call Session Control Function Device
  • the serving call session control function device determines, according to its own internal logic, whether to route the session request message to the application service trigger network device 1.
  • the application service triggers the network device 1 to obtain the session request message from the service call session control function device 6, where the session request message includes the session-related identification information, that is, the identification information of the calling user and the identifier of the called user.
  • the information further includes an IMS communication service identifier that is requested by the calling user, where the IMS communication service identifier is used to identify that the service type requested by the session is a video call service.
  • the session-related identification information in the session request message includes both the identification information of the calling user and the identification information of the called user. Because even in the case of charging the calling party, when the calling user establishes three different types of calls, such as local call, domestic long distance or international long distance, the charging standard is different, and therefore, the identification information of the called user is required. To distinguish between different tariffs. In a variant embodiment, for example, only the calling party is allowed to make a local call, since the call is not due to It is affected by the difference of the called user. Therefore, the session related identification information may only contain the identification information of the calling user. Similarly, in the case of the called user charging, if the difference of the calling user does not affect the tariff standard of the called user, the session related identification information may only include the identification information of the called user.
  • step S101 the application service triggers the network device 1 to first determine the 6246 as a short number according to the number of the called user in the session request message, for example, the number is 6246, and determine that the session needs to invoke the short number server. The number is then routed to the short number server 4d.
  • the short number server 4d searches the mapping table between the short number and the actual number stored therein to determine that the actual number corresponding to the short number 6246 is 13512345678, and the short number server 4d returns the actual number to the application service trigger network device 1 . Since the session invokes the service provided by the short number server 4d, the application service triggers the network device 1 to save the identification information of the short number server 4d.
  • the application service triggers the network device 1 to also request the service according to the calling user in the session request message. That is, the video call service determines that the session needs to call the audio server 4a and the video server 4b, and the application service triggers the network device 1 to allow the audio server 4a and the video server 4b to receive the session request message and respond to the call of the session, and the application service triggers
  • the network device 1 further acquires the identification information 0001 of the audio server 4a and the identification information 0010 of the video server 4b, respectively.
  • the application service triggers the application service related information of the application service that the network device 1 requests to invoke, that is, the identification information of each application server that is requested to be invoked, including: the identification information 0100 of the short number server 4d, and the identifier of the audio server 4a.
  • the information 0001 and the identification information 0010 of the video server 4b, and the identification information of the calling user and the identification information of the called user are provided to the charging trigger network device 2 through the internal interface.
  • step S103 the charging trigger network device 2 acquires application service related information from the application service triggering network device 1 application service, that is, the identification information 0100 of the short number server 4d, the identification information 0001 of the audio server 4a, and the video server.
  • the identification information 0010 of 4b, and the identification information of the calling user and the identification information of the called user are included in step S103.
  • the billing trigger network device 2 internally stores a database, and saves each application service. Whether the server needs charging information, the charging trigger network device 2 searches the database to determine whether multiple application servers called by the session request need to charge. For example, in the database, according to the policy formulated by the operator, the charging trigger network device 2 determines that calling the short number server 4d does not require charging, and calling the audio server 4a and the video server 4b requires charging, and the audio server 4a and the video server 4b are application servers for online charging.
  • step S014 the charging trigger network device 2 generates an online charging request message according to the identification information 0001 and 0010 of the audio server 4a and the video server 4b requiring online charging and the identification information of the calling user and the called user.
  • step S105 the charging trigger network device 2 transmits the online charging request message to the online charging subsystem 3a in the charging device 3 via the online charging interface Ro.
  • step S106 after the online charging subsystem 3a obtains the online charging request message, according to the identification information of the calling user and the called user, and the online charging subsystem 3a prestores the online of the calling user. Based on the account balance information, the online charging subsystem 3a determines whether the calling party and the called user of the session are allowed to invoke the application services provided by the online charging audio server 4a and the video server 4b.
  • the charging type that the calling user and the called user join is charging for the initiator of the application service, that is, when the session is initially established or during the call, the calling user requests the application service called by the main The user is called to pay; if the called user requests to invoke one or more application services during the call, if the application services need to be charged, the called user who initiated the application service pays. Therefore, in the session of this embodiment, the audio server 4a and the video server 4b of the online charging that the calling user requests to call are all charged by the calling user.
  • the online charging subsystem 3a determines whether the balance of the online account of the calling user is sufficient. If sufficient, for example, the balance of the online account of the calling user is above a predetermined threshold, the online charging subsystem 3a authorizes the calling user and is Ask the user to use the application service they are requesting.
  • the online charging subsystem 3a maintains a correspondence table between the application server identification information of the online charging and the application server group identifier, that is, Table 1.
  • the online charging subsystem 3a can determine the application services of one or more application servers according to Table 1.
  • the application server group identifier for online charging corresponding to the combination of devices.
  • step S106 after the online charging subsystem 3a determines that the calling user and the called user of the session are allowed to invoke the application services provided by the online charging audio server 4a and the video server 4b, in step S107, The online charging subsystem 3a needs to determine the corresponding application server group identifier according to the identification information of the application server audio server 4a and the video server 4b, and Table 1.
  • the session request initiated by the calling user invokes the service provided by the audio server 4a whose application server identification information is 0001 and the video server 4b whose application server identification information is 0010. Therefore, the online charging subsystem 3a according to Table 1 It is determined that the application server group identifier for charging corresponding to the two online charging server is ⁇ .
  • the online charging subsystem 3a determines the price policy based on the application server group identification III. Specifically, the online charging subsystem 3a determines the corresponding fee calculation rule according to the application server group identifier, including whether to use the promotion plan, the discount plan, the reward plan, and the like. Different application server group identifiers affect the cost calculation rule.
  • the billing unit price corresponding to the application service group I identified as I is unit price 1 (that is, the rate is unit price 1, and the billing per minute is Unit price 1)
  • the billing unit price corresponding to the application service group II identified as II is unit price 2 (that is, the rate is unit price 2, the billing per minute is unit price 2)
  • the application service group 111 identified as III corresponds
  • the unit price for billing is unit price 3 (that is, the rate is unit price 3, and the billing per minute is unit price 3).
  • step S109 the online charging subsystem 3a calculates the account balance of the calling user and the rate information corresponding to the application service group (for example, how much is charged in one minute) Estimating the length of time allowed for the call to generate authorization information about the application service, including authorizing the calling user and the called user to use the requested application server audio server
  • the authorization related information only includes the application server audio server 4a and video server 4b that authorize the calling and called users to use their request. If the user is a pay-per-view or monthly user, the time-length information may not be included in the authorization related information.
  • step S110 the online charging subsystem 3a sends the authorization related information to the charging trigger network device 2.
  • step S1 the charging trigger network device 2 receives the online charging subsystem.
  • the charging trigger network device 2 After the information about the authorization of the application service is 3a, the charging trigger network device 2 provides the application service triggering network device 1 with the authorization related information of the application service.
  • step S1 12 the application service triggers the network device 1 to receive the authorization related information of the application service from the charging trigger network device 2, that is, allows the calling user and the called user to use the application server audio server 4a and the video server 4b.
  • Application services provided. After being authorized by the online charging subsystem, the application service triggers the network device 1 to allow the calling user and the called user to use the authorized application service.
  • the online charging system 3a determines the actual rate (for example, how much is charged in one minute) when the online charging system 3a terminates the session due to insufficient balance of the charging user account of the session. And determining the actual call charge based on the actual call duration, and returning the message of the end of the session to the calling user and the called user; when a session is terminated by the calling user or the called user, the online charging system 3a determines the actual Rate, and based on actual call duration, determine the actual call cost.
  • the actual rate for example, how much is charged in one minute
  • step S106 the online charging subsystem 3a determines that the balance of the online account of the calling user is higher than a predetermined threshold, and authorizes the calling user and the called user to use the requested application service. In a variant embodiment, in step S106, the online charging subsystem 3a determines that the balance in the online account of the calling user is insufficient, and the online charging subsystem 3a generates an authorization related information in step S109, including The calling user and the called user are not allowed to use the application service provided by the requested application server. Business.
  • step S110 the online charging subsystem 3a transmits the authorization related information to the charging trigger network device 2.
  • the charging trigger network device 2 receives the authorization related information of the application service from the online charging subsystem 3a and provides the authorization related information of the application service to the application service triggering network device 1, wherein
  • the authorization related information of the application service includes an application service provided by the application server audio server 4a and the video server 4b that the user is not allowed to use the request, and therefore, the session request message is terminated by the application service triggering network device 1, and will not be
  • the application service triggers the network device 1 to be routed to the called user, so the session cannot be established.
  • the calling user only initiates a session request message.
  • the calling user or the called user may also change the application service requested by the calling user after establishing the session.
  • the application service requesting the user to change the call is described as an example.
  • the case where the called user requests to change the invoked application service during the call is similar to the calling user, and details are not described herein.
  • step S113 the application service triggering network device 1 further needs to detect whether the called application server has changed, that is, whether the calling user or the called user also requests to call the audio server 4a in addition to the call. And the new application server other than the video server 4b, or the calling user or the called user requests to terminate the called audio server 4a and/or the video server 4b.
  • the calling user requests to quit the video service and simultaneously invokes a new instant messaging service
  • the calling user's user equipment sends a session request message to the S-CSCF, including the exit video service and the request to invoke the instant messaging service.
  • the S-CSCF forwards the session request message to the application service trigger network device 1.
  • the application service triggers the network device 1 to discover that the application server has changed, including the video server 4b requesting to quit the session, and the instant message server 4c requests to join the session.
  • the application service triggers the network device 1 to request the video server 4b with the identification information of 0010 to request to exit the session, and the instant message server 4c with the identification information of 001 1 requests to join the session and the identification information of the session is sent to the charging trigger network device 2.
  • the charging trigger network device 2 and the charging device 3 repeatedly perform step S103 to SI 12, .
  • the charging trigger network device 2 acquires application service related information from the application server of the application service triggering network device 1, that is, the video server 4b that terminates the calling identification information is 0010, and the new request calling identification information is After the instant messaging server 4c of 001 1, the charging trigger network device 2 determines whether the two application servers require charging.
  • the charging trigger network device 2 determines that the video server 4b is an application server that needs to be charged, and is an application server for online charging; the charging trigger network device 2 determines an instant message server. It is an application server that needs to be charged, and is an application server that is offline charged.
  • step S104' the charging trigger network device 2 is based on the termination call identifier information.
  • the video server 4b of 0010 generates an online charging request message, and invokes an instant message server 4c whose identification information is 0011 according to the new request, and generates an offline charging request message.
  • step S105 the charging trigger network device 2 sends the online charging request message to the online charging subsystem 3a through the online charging interface Ro, and sends the offline charging request message to the offline charging interface Rf to Offline charging subsystem 3b.
  • the charging trigger network device 2 when an offline charging request message is generated, the charging trigger network device 2 immediately sends the offline charging request message to the offline charging subsystem 3b through the Rf interface, and the offline charging message is used.
  • the timing of sending an offline charging request message is only an example. In the actual billing system, the timing of the offline charging request message is sent in the DIAMETER protocol.
  • DIAMTER protocol refer to htt ://www. ietf.org/rfc/rfc3588.txt.
  • the Rf interface specification refer to http://www.3gpp.org/ftp/Specs/html-info/32299.htm.
  • the Rf interface supports the offline charging request message based on the DIAMTER protocol.
  • the status of the offline charging request message includes start, interim, stop, and event.
  • the online charging subsystem 3a and the offline charging subsystem 3b in the charging device 3 receive an online charging request message and an offline charging request message from the charging trigger network device 2, respectively.
  • the billing device 3 all the calls called up to one session have been maintained so far.
  • the sequence table of the application service therefore, the charging device 3 knows all the application servers that the session has currently called. According to the sequence table, in the application service requiring online charging, the charging device 3 knows the video server 4b whose session termination call identification information is 0010.
  • step S106' the online charging subsystem 3a obtains the identification information of the calling user and the called user, and the online charging subsystem 3a prestores the online account balance information of the calling user, according to the account balance. Information, the online charging subsystem 3a determines whether the calling party and the called user of the session are allowed to invoke the application service provided by the online charging audio server 4a.
  • the offline charging subsystem 3b maintains a correspondence table between the application server identification information of the offline charging and the application server group identifier, that is, Table 2. According to Table 2, the offline charging subsystem 3b can determine the application server group identifier for charging corresponding to the application server combination composed of one or more offline charging application servers.
  • step S107 the offline charging subsystem 3b searches the table 2 according to the identification information 001 1 of the instant message server 4c, and determines that the corresponding application server group identifier for charging is i.
  • step S106' determines in step S106' that the calling party and the called user of the session allow the application service provided by the online charging audio server 4a
  • step S017' the online meter The fee subsystem 3a searches the table 1 according to the identification information 0001 of the online charging audio server 4a, and determines that the group identification information of the application server for charging is I.
  • the offline charging subsystem 3b is identified according to the application server group identifier. i, determine the price strategy. Specifically, the offline charging subsystem 3b determines the corresponding fee calculation rule according to the application server group identifier i, including whether to use a promotion plan, a discount plan, a reward plan, and the like. Different application server group IDs affect the cost calculation rule. The following is only an example: The billing unit price corresponding to the application service group i identified as i is the unit price a, and the billing unit price corresponding to the application service group ii identified as ii is the unit price. b. The unit price of the bill corresponding to the application service group iii identified as iii is the unit price c. These specific cost calculation rules may be set by the network operator according to the specific network operation status, or the charging device 3 may be automatically adjusted during the operation.
  • the charging device 3 since the charging information does not affect the application service provided by the calling user and/or the called user in real time, the charging device 3 does not need to determine the authorization information, that is, step S106' and the steps. S109' to step S112' may be omitted.
  • step S108' the online charging subsystem 3a in the charging device 3 determines the price policy for online charging based on the application server group identification I.
  • the online charging subsystem 3a in the charging device 3 needs to repeat steps S109' to S112', because the above steps are similar to steps S109 to S112, and are not described herein.
  • the application service triggers the changed application service detected by the network device 1 to be an application service including offline charging, and also includes an online charging application service.
  • the application service that is newly called during the phase request invocation or the session only includes the offline charging application service.
  • the charging triggers the steps performed by the network device 2 and the charging device 3 and the step S103 to the step S112'. Similar, it will not be repeated here.
  • the time-related information does not need to be included in the charging request message.
  • the charging device 3 needs to perform charging according to the duration information of the application service that the calling user or the called user requests to invoke or has already invoked. Therefore, in step S102, the application service triggers the network.
  • the device 1 needs to include the time of the request to be invoked by the application service or the time information of the request to be withdrawn in the application service related information provided to the charging trigger network device 2 when the user requests to invoke an application service or requests to exit an application service.
  • the time trigger information is also included in the online charging request message or the offline charging request message sent by the charging triggering network device 2 to the online charging subsystem 3a or the offline charging system 3b of the charging device 3.
  • step S114 when the application service triggers the network device 1 to detect the application service related to the session, that is, the application service invoked or invoked by the session request changes, in step S114, the application service triggers the network.
  • the device 1 reports the application service related information of the changed application service to the charging trigger network device 2.
  • step S114 when the application service triggers the network device 1 to discover that the application server has changed, including the video server 4b requesting to quit the session, and the instant message server 4c requests to join the session, the application The service triggering network device 1 provides the identification information of the changed application server to the charging trigger network device 2.
  • the application service triggers the network device 1 that the audio server 4a whose identification information is 0001 remains in the session and the instant message server 4c whose identification information is 001 1 requests to join the session and the identification information of the session is sent to the charging trigger network device 2. Accordingly, there is no need in the billing device 3 to maintain a sequence listing of all application services invoked by a session so far. Instead, the corresponding application service group identifier is directly found according to the changed application server's charging request message.
  • step S 107 can be performed by the charging trigger network device 2, that is, the charging trigger network device 2 determines one or more application servers that need to be charged according to Table 1 or Table 2.
  • the application server group identifier corresponding to the combination is combined, and the application service group identification information is included in the charging request message and sent to the charging device 3 in step S105.
  • the charging device 3 receives the charging request message from the charging trigger network device 2, and the charging server message includes the application server group identification information. Then, in step S106, the charging device according to the charging request message The identification information of the calling user and the called user determines whether the session is allowed to invoke the application service group. If so, in S108, the charging device 3 directly determines the application server group identification information included in the charging request message. Determine the price strategy.
  • the charging request in step S105 The message includes the application server group identifier corresponding to the combination of one or more application servers, and also includes the generation time and the dissolution time of the application server group.
  • the charging device 3 also determines the price policy based on the generation time and the dissolution time of the application server group.
  • the application service triggering network device 1 and the charging trigger network device 2 are integrated in a network device, that is, a service control interaction module (SCIM) 6.
  • SCIM service control interaction module
  • the application service triggers The network device 1 and the charging trigger network device 2 can also be located in two separate network devices.
  • a first billing device 30 in device 3 is used to perform a device service based billing operation.
  • the first charging control device 10 shown in Fig. 4 is located in the application service triggering network device 1 shown in Fig. 1.
  • the first charging control device 10 includes a first obtaining device 100, a first providing device 101, a detecting device 102, a second providing device 103, a first authorization information receiving device 104, and an application service processing device 105.
  • the first obtaining device 100 further includes a session request message acquiring device 1000, an application service determining device 1001, and a charging information acquiring device 1002.
  • the second charging control device 20 includes a second obtaining device 200, a first determining device 201, a charging request generating device 202, a charging request transmitting device 203, a second authorization information receiving device 204, and a first authorization information transmitting device. 205.
  • the first charging device 30 includes a first charging request receiving device 300, an application service group identification determining device 302, a first price policy determining device 303, a second determining device 301, an authorization information generating device 304, and a second authorization information. Transmitting device 305.
  • a terminal device used by a user supports multimedia telephony services.
  • the user requests to initiate a multimedia phone service, because the user is the originator of the session, hereinafter referred to as the user as the calling user, and the other party called by the calling user is called the called user.
  • the called user In the multimedia phone service, Both the calling user and the called user can add new media services during the call. For example, the calling user dials the short number of the called user and requests to send Start a video call.
  • the user equipment of the calling user generates a session request message, where the session request message includes the identification information of the calling user and the identification information of the called user, and the type of the service requested by the calling user, that is, the IMS communication service identifier ( IMS-Communication-Service-Identifier A VP ).
  • the user equipment of the calling user sends the session request message to the Serving Call Session Control Function Device (S-CSCF).
  • S-CSCF Serving Call Session Control Function Device
  • the serving call session control function device determines, according to its own internal logic, whether to route the session request message to the application service trigger network device 1.
  • the session request message obtaining apparatus 1000 in the first obtaining apparatus 100 acquires a session request message from the serving call session control function device 6, and the session request message includes session related identifier information, that is, identification information of the calling user and the called user.
  • the identification information further includes an IMS communication service identifier requested by the calling user, where the IMS communication service identifier is used to identify that the service type requested by the session is a video call service.
  • the session-related identification information in the session request message includes both the identification information of the calling user and the identification information of the called user. Because even in the case of charging the calling party, when the calling user establishes three different types of calls, such as local call, domestic long distance or international long distance, the charging standard is different, and therefore, the identification information of the called user is required. To distinguish between different tariffs. In a variant embodiment, for example, where only the calling party is allowed to make a local call, since the call is not affected by the called user, the session related identification information may only include the calling user. Identification information. Similarly, in the case of the called user charging, if the difference of the calling user does not affect the tariff standard of the called user, the session related identification information may only include the identification information of the called user.
  • the application service determining apparatus 1001 first determines that 6246 is a short number according to the number of the called user in the session request message, for example, the number is 6246, and determines that the session needs to call the short number server, and then The number is routed to the short number server 4d.
  • the short number server 4d searches the mapping table between the short number and the actual number stored therein to determine that the actual number corresponding to the short number 6246 is 13512345678, and the short number server 4d returns the actual number to the application service trigger network device 1 . Because the session invokes the service provided by the short number server 4d, In this case, the charging information obtaining means 1002 acquires the charging related information of the application service, that is, the identification information 0100 of the short number server 4d.
  • the application service determining apparatus 1001 further determines that the session needs to invoke the audio server 4a and the video server 4b according to the service requested by the calling user in the session request message, that is, the video call service, and the application service triggers the network device 1 to allow the audio server 4a and The video server 4b receives the session request message and responds to the call of the session, and the billing information obtaining means 1002 further acquires the identification information 0001 of the audio server 4a and the identification information 0010 of the video server 4b, respectively.
  • the first providing device 101 will request the application service related information of the application service, that is, the identification information of each application server that is requested to be invoked, including: the identification information 0100 of the short number server 4d, the identification information 0001 of the audio server 4a, and the video.
  • the identification information 0010 of the server 4b, and the identification information of the calling user and the identification information of the called user are provided to the charging trigger network device 2 through the internal interface.
  • the second obtaining device 200 in the second charging control device 20 acquires the application service related information of the application service from the application service triggering network device 1, that is, the identification information 0100 of the short number server 4d and the identification information of the audio server 4a. 0001 and the identification information 0010 of the video server 4b, and the identification information of the calling user and the identification information of the called user.
  • the billing trigger network device 2 internally stores a database to store information about whether each application server needs to be billed.
  • the first judging device 201 searches the database to determine whether a plurality of application servers called by the session request need to charge. For example, in the database, according to the policy formulated by the operator, the charging trigger network device 2 determines that calling the short number server 4d does not require charging, and calling the audio server 4a and the video server 4b requires charging, and the audio server 4a and the video server 4b are application servers for online charging.
  • the charging request generating means 202 generates an online charging request message based on the identification information 0001 and 0010 of the audio server 4a and the video server 4b requiring online charging and the identification information of the calling user and the called user.
  • the charging request sending device 203 passes the online charging request message through online charging
  • the port Ro is sent to the online charging subsystem 3a in the charging device 3.
  • the second determining device 301 After receiving the online charging request message from the charging trigger network device 2, the second determining device 301 obtains the identification information of the calling user and the called user in the online charging request message. And the online account balance system 3a prestores the online account balance information of the calling user. According to the account balance information, the second determining means 301 determines whether the calling party and the called user of the session are allowed to call the online charging audio server. 4a and application services provided by video server 4b.
  • the charging type that the calling user and the called user join is charging for the initiator of the application service, that is, when the session is initially established or during the call, the calling user requests the application service called by the main The user is called to pay; if the called user requests to invoke one or more application services during the call, if the application services need to be charged, the called user who initiated the application service pays. Therefore, in the session of this embodiment, the audio server 4a and the video server 4b of the online charging that the calling user requests to call are all charged by the calling user.
  • the second judging means 301 judges whether the balance of the online account of the calling user is sufficient. If the balance of the online account of the calling user is sufficient, for example, the balance of the online account of the calling user is higher than a predetermined threshold, the judging means 301 judges that the result is an authorized calling user. And the called user uses the application service they requested.
  • the first charging device 30 maintains a correspondence table between the application server identification information of the online charging and the application server group identifier, that is, Table 3.
  • the application service group identifier determining device 302 can determine the application server group identifier for online charging corresponding to the application server combination composed of one or more application servers according to Table 3.
  • the application service group identification determining means 302 needs to be applied according to the application.
  • the identification information of the server audio server 4a and the video server 4b, and Table 1 determine the corresponding application server group identifier.
  • the session request initiated by the calling user invokes the service provided by the audio server 4a whose application server identification information is 0001 and the video server 4b whose application server identification information is 0010. Therefore, the application service group identifier determining apparatus 302 according to the table 3: Determine that the application server group identifier for charging corresponding to the two online charging application servers is III.
  • the first price policy determining means 303 determines a price policy based on the application server group identification III. Specifically, the first price policy determining means 303 determines its corresponding fee calculation rule according to the application server group identifier III, including whether to use a promotion plan, a discount plan, a bonus plan, and the like. Different application server group IDs affect the cost calculation rule.
  • the billing unit price corresponding to the application service group I identified as I is unit price 1 (that is, the rate is unit price 1, and the billing per minute is Unit price 1)
  • the billing unit price corresponding to the application service group II identified as II is unit price 2 (that is, the rate is the sheep price 2, the billing per minute is the unit price 2)
  • the application service group III corresponding to the ID III corresponds.
  • the unit price for billing is unit price 3 (that is, the rate is unit price 3, and the billing per minute is unit price 3).
  • the authorization information generating means 304 generates authorization related information of the application service, including authorizing the calling server and the called user to use the application server audio server 4a and the video server 4b requested by the called party and the estimated time length information of the permitted call.
  • the authorization related information only includes the application server audio server 4a and video server 4b that authorize the calling and called users to use their request. If the user is a pay-per-view or monthly user, the time-length information may not be included in the authorization related information.
  • the second authorization information transmitting means 305 transmits the authorization related information to the charging trigger network device 2.
  • the first authorization information transmitting device 205 sends the first authorization information transmitting device 205 to the first charging control device 10.
  • the first authorization information receiving device 104 provides the authorization related information of the application service.
  • the first authorization information receiving device 104 in the first charging control device 10 receives the authorization related information from the application service of the charging trigger network device 2, that is, allows the calling user and the called user to use the application server audio server 4a and The application service provided by the video server 4b. After being authorized by the online charging subsystem, the application service processing device 105 allows the calling user and the called user to use the authorized application service.
  • the first charging device 30 determines the actual rate (e.g., how much is charged in one minute) when the first charging device 30 terminates the session due to insufficient balance of the charging user account for the session. Money), and based on the actual call duration, determine the actual call charge, and return the message of the end of the session to the calling user and the called user; when a session is terminated by the calling user or the called user, the first charging device 30 Determine the actual rate and determine the actual call cost based on the actual call duration.
  • the actual rate e.g., how much is charged in one minute
  • the second determining means 301 in the first charging device 30 determines that the balance of the online account of the calling user is higher than a predetermined threshold, and authorizes the calling user and the called user to use the requested application service. .
  • the second determining means 301 determines that the balance in the online account of the calling user is insufficient, and the authorization information generating means 304 generates an authorization related information, which includes not allowing the calling user and the called user to use the request.
  • Application services provided by the application server are examples of the application server.
  • the second authorization information transmitting means 305 transmits the authorization related information to the second authorization information receiving means 204.
  • the first authorization information transmitting device 205 provides the authorization related information of the application service to the first meter.
  • the processing device 105 terminates and is not routed by the service processing device 105 to the called user, and therefore, the session cannot be established.
  • the calling user only initiates a session request message.
  • the calling user or the called user may also change the application month requested by the calling user after the session is established.
  • the application user requests the change of the called application monthly service as an example.
  • the detecting means 102 detects whether the called application server has changed, that is, whether the calling user or the called user also requests to call a new application server other than the called audio server 4a and the video server 4b. Either the calling user or the called user requests termination of the called audio server 4a and/or video server 4b.
  • the calling user requests to quit the video service and simultaneously invokes a new instant messaging service
  • the calling user's user equipment sends a session request message to the S-CSCF, including the exit video service and the request to invoke the instant messaging service.
  • the S-CSCF forwards the session request message to the first charging control device 10.
  • the detecting means 102 finds that the application server has changed, including the video server 4b requesting to quit the session, and the instant message server 4c requests to join the session.
  • the second providing device 103 requests the video server 4b whose identification information is 0010 to request to exit the session, and the instant message server 4c whose identification information is 001 1 requests the joining session and the identification information of the session is sent to the charging trigger network device 2.
  • the second obtaining device 200 acquires the application service related information from the application server of the application service trigger network device 1, that is, the video server 4b that terminates the call identifier information is 0010, and the new request to call the instant message server 4c with the identifier information 001 1
  • the first judging device 201 judges whether the two application servers need to be charged.
  • the first determining device 201 determines that the video server 4b is an application server that needs to be charged, and is an application server for online charging; the charging triggering network device 2 determines that the instant messaging server is the list of application servers that are charged for internal maintenance. An application server that needs to be billed, and an application server that is offline charging.
  • the charging request generating means 202 generates an online charging request message according to the video server 4b that terminates the calling identification information is 0010, and invokes the identification information according to the new request.
  • the instant message server 4c of 0011 generates an offline charging request message.
  • the charging request sending means 203 sends the online charging request message to the online charging subsystem 3a via the online charging interface Ro, and transmits the offline charging request message to the offline charging subsystem 3b via the offline charging interface Rf. .
  • the charging request sending device 203 when an offline charging request message is generated, the charging request sending device 203 immediately sends the offline charging request message to the offline charging subsystem 3b through the Rf interface, and the offline charging message is used.
  • the timing of sending an offline charging request message is only an example. In the actual billing system, the timing of the offline charging request message transmission has relevant provisions in the DIAMETER protocol.
  • DIAMTER protocol refer to http: ⁇ www.ietf.org/rfc/rfc3588.txt.
  • the Rf interface specification refer to http://www.3gpp.org/ftp/Specs/html-info/32299.htm.
  • the Rf interface supports the offline charging request message based on the DIAMTER protocol.
  • the status of the offline charging request message includes start, interim, stop, and event.
  • the first charging request receiving device 300 receives the charging request transmitting device separately
  • the first charging device 30 knows all the application servers that the session has currently called. According to the sequence table, in the application service that requires online charging, the first charging device 30 knows that the session termination call identification information is 0010, and the current session only calls the audio server 4a whose identification information is 0001.
  • the charging device 30 looks up the table 3, and the application service group identifier determining device 302 in the first charging device 30 determines that the application server group identifier corresponding to the server whose identification information is 0001 is L is determined in the first price policy.
  • the device 303 identifies the I according to the application server group.
  • the first charging device 30 maintains a correspondence table between the application server identification information of the offline charging and the application server group identifier, that is, Table 4. According to Table 4, the off application service group identifier determining means 302 can determine the application server group identifier for billing corresponding to the application server combination composed of one or more offline billing application servers. Table 4
  • the application service group identifier determining means 302 determines, according to the identification information 0011 of the instant message server 4c, the lookup table 4, and determines that the corresponding application server group identifier for charging is i.
  • the first price policy determining means 303 determines the price policy based on the application server group identifier i. Specifically, the first price policy determining means 303 determines the corresponding fee calculation rule according to the application server group identifier i, including whether to use the promotion plan, the discount plan, the reward plan, and the like. Different application server group IDs affect the cost calculation rule. The following is only an example: The unit price of the application corresponding to i is the unit price a, and the unit price corresponding to the application service group ii identified as ii For the unit price b, the billing unit price corresponding to the application service group iii identified as iii is the unit price. . These specific cost calculation rules can be set by the network operator according to the specific network operation status, or the charging device 3 can be automatically adjusted during the operation.
  • the second determining device 301 and the authorization information generating device 304 for offline charging And the second authorization information transmitting means 305 can be omitted.
  • the first price policy determining means 303 also determines a price policy for online charging based on the application server group identifier I of the online charging.
  • the authorization information generating means 304 and the second authorization information transmitting means 305 repeatedly perform the respective steps, as explained above, and therefore will not be referred to herein. Said.
  • the application service that is detected by the detecting device 102 also includes the online charging application service; in a modified embodiment, the request is in the initial phase of the session.
  • the newly invoked application service during the call or session only includes the offline charging application service.
  • the second authorization information receiving device 204 in the second charging control device 20 the first authorization information
  • the transmitting device 205 and the second determining device 301, the authorization information generating device 304, and the second authorization information transmitting device 305 of the first charging device 30 may be omitted.
  • the time-related information does not need to be included in the charging request message.
  • the first charging device 30 needs to perform charging according to the calling party's mail, because 'therefore, the first providing device 10 ⁇ and the second providing device 103 need to call an application service or When requesting to quit an application service, the time at which the request of the application service is invoked or the time information at which the request is logged out is included in the application service related information provided to the second obtaining device 200.
  • the time information is also required to be included in the online charging request message or the offline charging request message sent by the charging request transmitting device 203 to the first charging request receiving device 300.
  • the second providing device 103 reports the occurrence to the charging trigger network device 2 Information about application services for changing application services.
  • the detecting means 102 finds that the application server has changed, including the video server 4b requesting to quit the session, and the instant messaging server 4c requests to join the session, the second providing means 103 is also used to change the The identification information of the application server is provided to the charging trigger network device 2.
  • the second providing means 103 requests the instant messaging server 4c whose identification information is 0001 to remain in the session and the identification information is 001 1 to request the joining session and the identification information of the session to be sent to the second obtaining means 200. Accordingly, the first charging device 30 does not need to maintain a sequence of all application services invoked by a session so far. Table. Instead, the corresponding application group identifier is directly found according to the changed accounting request message of the application server.
  • the application service group identification determining means 302 may be located in the second charging control means 20, that is, the application service group identification determining means 302 in the second charging control means 20 according to Table 3 or Table 4 determines the application server group identifier corresponding to the combination of one or more application servers that need to be charged, and the charging request message sent by the charging request sending device 203 includes the application service group identification information.
  • the second charging request receiving device receives the charging request message from the charging request sending device 203, where the charging server message already contains the application server group identification information, then the second price
  • the policy determining means directly determines the price policy based on the application server group identification information included in the charging request message.
  • the charging request message sent by the charging request sending device 203 includes the application server group identifier corresponding to the combination of one or more application servers, and the generation time and dissolution of the application server group. time.
  • the charging device 3 also determines the price policy based on the generation time and the dissolution time of the application server group.
  • the first charging control device 10 and the second charging control device 20 are integrated in a network device, i.e., a Service Control Interaction Module (SCIM) 6.
  • SCIM Service Control Interaction Module
  • the first charging control device 10 and the second charging control device 20 may also be located in two separate network devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Meter Arrangements (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A control charging method and equipment based on application service in communication network is provided, thereinto, an application service triggering network equipment gets the information, which is related to each application service among one or more application service invoked by a session request, and an identification information, which is related to the session. Then the obtained information is provided to a charging triggering equipment. The charging triggering equipment judges whether one or more application service need to charge based on the obtained information related to the application service. If the result of judging is that the application service needs to charge, a charging request message is created and sent to a charging equipment. The charging equipment determines an application service group identification based on the charging request message and decides the price policy.

Description

一种通信网络中基于应用服务的  Application service based communication network
控制计费的方法及装置  Method and device for controlling billing
技术领域 Technical field
本发明涉及通信网絡中的控制计费的系统, 尤其涉及基于 IP多 媒体子系统架构的对一个会话中相关的多个应用服务进行计费的控 制计费系统。 背景技术  The present invention relates to a system for controlling charging in a communication network, and more particularly to a control charging system for charging a plurality of related application services in a session based on an IP multimedia subsystem architecture. Background technique
现有的 2G/3G的传统的计费系统中, 对智能网的应用服务没有 统一的计费标准。在现有的计费系统中, 对于技术简单的智能应用服 务, 例如: 主叫显示、 主叫限制、 被叫显示、 被叫限制、 恶意呼叫 ID鉴别、 匿名呼叫拒绝、 呼叫前转、 呼叫等待、 呼叫保持、 呼叫限 制等应用服务, 往往集成在现有的网络设备中。 例如, 呼叫前转应 用服务 (Call Forwarding Service)可以在归属位置寄存器(Home Location Register, HLR) 中实现, 也可以在基于智能网的记费系统中 实现。  In the existing 2G/3G traditional billing system, there is no uniform billing standard for the application service of the intelligent network. In the existing billing system, for smart application services with simple technology, such as: calling display, calling restriction, called display, called restriction, malicious call ID authentication, anonymous call rejection, call forwarding, call waiting Application services such as call hold, call barring, etc., are often integrated into existing network devices. For example, the Call Forwarding Service can be implemented in a Home Location Register (HLR) or in an intelligent network-based billing system.
而一些复杂的应用服务往往是以单独实现节点来实现。 对这些 应用服务的收费方式往往采用统一计费 (Flat Rate ) 的简单方式 (如 包月的方式, 例如 5元 /月)。 这样记费方式有时是不合理的, 如用户 有时虽然开通应用服务, 但用户没有或很少使用该开通的应用服务, 每月却仍需交纳固定的费用。  And some complex application services are often implemented as separate implementation nodes. The charging method for these application services often adopts a simple method of flat rate (such as monthly subscription, for example, 5 yuan / month). Such a method of billing is sometimes unreasonable. For example, although a user sometimes opens an application service, the user does not use or rarely use the opened application service, but still has to pay a fixed fee each month.
此外, 现有的计费系统没有将使用的应用业务使用情况和当前 的通话关联起来。  In addition, existing billing systems do not associate the usage of the application service with the current call.
随着通信网络的进一步发展, 一个会话中所调用的应用服务的 种类越来越多, 包括但不限于语音应用服务、 即时消息应用服务、 视频传输应用服务、 文件传输应用服务等。 因此, 传统的计费系统 已不能满足对 3G越来越多样化的应用服务的管理和计费的需求。  With the further development of communication networks, there are more and more types of application services invoked in a session, including but not limited to voice application services, instant messaging application services, video transmission application services, file transfer application services, and the like. Therefore, the traditional billing system has been unable to meet the management and billing requirements for 3G's increasingly diverse application services.
1 1
确认本 为了支持 IP 多媒体业务, 第三代伙伴计划工作组 (3GPP ) 在 R5版本中提出了 IP多媒体子系统 (IMS ) 。 IMS是基于 IP技术、 SIP (会话初始协议)融合语音、数据、移动、 Internet的综合体系。 IMS 设计的核心特点是采用 SIP协议和独立于承载的特性。 Confirmation To support IP multimedia services, the 3rd Generation Partnership Project Working Group (3GPP) proposed the IP Multimedia Subsystem (IMS) in the R5 release. IMS is a comprehensive system based on IP technology, SIP (Session Initiation Protocol) converged voice, data, mobile, Internet. The core feature of IMS design is the SIP protocol and bearer-independent features.
基于 IMS子系统, 3 GPP在 TS23.218协议中(IP Multimedia (IM) session handling; IM call model , http://www.3gpp.org/ftp/specs/html-info/23218.htm )定义了 IMS网络 各种应用的模型、 基于会话初始协议 (SIP ) 的应用服务器和应用 月艮务的业务控制交互模块 ( SCIM , Service Capability Interaction Manager ) , 见 3GPP TS23.218 Figure 5.1.1。  Based on the IMS subsystem, 3 GPP defines in the TS23.218 protocol (IP Multimedia (IM) session handling; IM call model, http://www.3gpp.org/ftp/specs/html-info/23218.htm) Models for various applications of the IMS network, Session Initiation Protocol (SIP)-based application servers, and Service Capability Interaction Manager (SCIM), see 3GPP TS 23.218 Figure 5.1.1.
然而该标准没有涉及对 IMS应用服务器如何计费。 目前 3GPP TS 32.240-TS 32.299 技术标准定义了统一的在线计费和离线计费 模型, 将应用服务模块独立于统一的计费系统,然而上述标准没有制 定在通话过程中如何对涉及的应用服务器进行统一的计费。  However, this standard does not address how to bill the IMS application server. The current 3GPP TS 32.240-TS 32.299 technical standard defines a unified online charging and offline charging model, which separates the application service module from the unified charging system. However, the above standards do not specify how to apply to the involved application servers during the call. Unified billing.
多媒体电话业务(MMTel )是基于 IMS子系统的一个具体应用, The Multimedia Telephony Service (MMTel) is a specific application based on the IMS subsystem.
3GPP 意识到 MMTel 计费的重要性, 在 TS32.275 协议中 ( Telecommunication management; Charging management; MultiMedia Telephony (MMTel) charging , http://www.3gpp.org/FTP/Specs/html-info/32275.htm ) , 提到了对于 多媒体电话业务的收费, 但是, 因为 TS32.275仅仅是停留在草案的 阶段, 其并没有给出当一个 MMTel调用多个应用时怎样对多个不同 的应用进行管理和计费, 怎样根据需要计费的一个或多个应用的应 用服务相关信息生成计费请求消息发送至计费系统, 计费系统又如 何根据计费请求消息, 确定价格策略。 发明内容 3GPP recognizes the importance of MMTel billing in the TS32.275 protocol (Telecommunication management; Charging management; MultiMedia Telephony (MMTel) charging, http://www.3gpp.org/FTP/Specs/html-info/32275. Htm ), mentioned the charge for multimedia telephony services, but because TS32.275 is only at the stage of the draft, it does not give how to manage and count multiple different applications when one MMTel calls multiple applications. The fee, how to generate a charging request message according to the application service related information of one or more applications that need to be charged is sent to the charging system, and how the charging system determines the price policy according to the charging request message. Summary of the invention
鉴于现有技术存在上述问题, 本发明提出了一种新的解决方案, 具体如下: 应用服务触发网络设备获取与一个会话请求调用的一个 或多个应用服务中的每一个的应用服务相关信息, 以及所述会话相 关标识信息; 将请求调用的一个或多个应用服务的应用服务相关信 息以及会话相关标识信息提供给计费触发设备。 计费触发设备获取 来自应用服务触发网络设备的与一个会话相关的一个或多个应用服 务中的一个或多个应用服务的应用服务相关信息, 以及所述会话相 关标识信息; 根据所述多个应用服务中的一个或多个应用服务的应 用服务相关信息, 判断所述一个或多个应用服务是否需要计费; 根 据需要计费的一个或多个应用服务的应用服务相关信息以及会话相 关标识信息来生成计费请求消息; 将所述计费请求消息发送至计费 设备。 计费设备中预存有多个应用服务组标识, 接收来自接收计费 触发设备的计费请求消息, 其中包含了需要计费的应用服务的应用 服务相关信息, 根据该一个或多个需要计费的应用服务的应用服务 相关信息, 确定应用服务组标识。 此外, 若计费接收来自计费触发 设备的计费请求消息, 其中已包含了应用服务组标识信息, 计费系 统直接才艮据组标识信息, 确定价格策略。 In view of the above problems in the prior art, the present invention proposes a new solution, as follows: The application service triggers the network device to acquire application service related information of each of one or more application services invoked by a session request, And the conversation phase The identification information is provided; the application service related information of the one or more application services requested to be invoked and the session related identification information are provided to the charging triggering device. The charging triggering device acquires application service related information of one or more application services of one or more application services related to a session from the application service triggering network device, and the session related identification information; Determining whether the one or more application services require charging according to application service related information of one or more application services in the service; application service related information and session related identifiers of one or more application services that need to be charged according to requirements Information to generate a charging request message; transmitting the charging request message to the charging device. The charging device pre-stores multiple application service group identifiers, and receives an accounting request message from the receiving charging triggering device, where the application service related information of the application service that needs to be charged is included, and the charging is performed according to the one or more requirements. The application service related information of the application service determines the application service group identifier. In addition, if the charging receives the charging request message from the charging triggering device, where the application service group identification information is already included, the charging system directly determines the price policy according to the group identification information.
根据本发明的第一方面,提供了一种在通信网络的应用服务触发 网络设备中用于控制计费的方法, 其中, 包括以下步骤: 获取与一 个会话相关的一个或多个应用服务中的所述会话请求调用的一个或 多个应用服务中的每一个的应用服务相关信息, 以及所述会话相关 标识信息; 将所述请求调用的一个或多个应用服务的应用服务相关 信息以及所述会话相关标识信息提供给计费触发网络设备。  According to a first aspect of the present invention, a method for controlling charging in an application service triggering network device of a communication network is provided, comprising the steps of: acquiring one or more application services related to a session Application service related information of each of the one or more application services invoked by the session request, and the session related identification information; application service related information of one or more application services invoked by the request and the The session related identification information is provided to the charging trigger network device.
根据本发明的第二方面,提供了一种在通信网络的计费触发网络 设备中用于控制计费的方法, 其中, 包括以下步驟: 获取来自应用 服务触发网络设备的与一个会话相关的一个或多个应用服务中的一 个或多个应用服务的应用服务相关信息, 以及所述会话相关标识信 息; 根据所述一个或多个应用服务中的一个或多个应用服务的应用 服务相关信息, 判断所述一个或多个应用服务中的一个或多个应用 服务是否需要计费; 若所述一个或多个应用服务中的一个或多个应 用服务需要计费, 则根据需要计费的一个或多个应用服务的应用服 务相关信息以及所述会话相关标识信息来生成计费请求消息; 将所 述计费请求消息发送至计费设备。 According to a second aspect of the present invention, a method for controlling charging in a charging trigger network device of a communication network is provided, comprising the steps of: acquiring a session related to a session from an application service triggering network device Or application service related information of one or more application services of the plurality of application services, and the session related identification information; according to application service related information of one or more application services of the one or more application services, Determining whether one or more application services of the one or more application services require charging; if one or more application services of the one or more application services require charging, then charging one according to requirements Or application service related information of the plurality of application services and the session related identification information to generate a charging request message; The charging request message is sent to the charging device.
根据本发明的第三方面,提供了一种在通信网络的计费设备中用 于控制计费的方法, 其特征在于, 本计费设备中预存有多个应用服 务組标识, 其中, 每个应用组标识对应于该应用月艮务组标识所标识 的应用服务组所包括的一个或多个应用服务的标识, 该方法包括以 下步驟: 接收来自计费触发网络设备的计费请求消息, 所述计费请 求消息中包括与一个会话相关的需要计费的一个或多个应用服务的 应用服务相关信息以及所述会话相关标识信息; 根据所述需要计费 的一个或多个应用服务的应用服务相关信息, 确定与所述需要计费 的一个或多个应用服务相对应的应用服务组标识; 根据所述应用服 务组标识, 确定价格策略。  According to a third aspect of the present invention, a method for controlling charging in a charging device of a communication network is provided, characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, wherein each The application group identifier corresponds to an identifier of one or more application services included in the application service group identified by the application server group identifier, and the method includes the following steps: receiving an accounting request message from the charging trigger network device, where The charging request message includes application service related information of one or more application services that need to be charged related to one session, and the session related identification information; an application of one or more application services that are charged according to the requirement The service related information determines an application service group identifier corresponding to the one or more application services that need to be charged; and determines a price policy according to the application service group identifier.
根据本发明的第四方面,提供了一种在通信网络的计费设备中用 于控制计费的方法, 其特征在于, 本计费设备中预存有多个应用服 务组标识, 其中, 每个应用组标识对应于该应用 艮务组标识所标识 的应用服务组所包括的一个或多个应用服务的标识, 该方法包括以 下步驟: 接收来自计费触发网络设备的计费请求消息, 其中, 所述 计费请求消息包括与所述需要计费的一个或多个应用服务对应的应 用服务组标识信息以及调用该需要计费的一个或多个应用服务的会 话相关标识信息; 根据所述应用服务組标识, 确定价格策略。  According to a fourth aspect of the present invention, a method for controlling charging in a charging device of a communication network is provided, characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, wherein each The application group identifier corresponds to the identifier of the one or more application services included in the application service group identified by the application group identifier, and the method includes the following steps: receiving an accounting request message from the charging trigger network device, where The charging request message includes application service group identification information corresponding to the one or more application services that need to be charged, and session related identification information that invokes one or more application services that need to be charged; Service group identification, determining the price strategy.
根据本发明的第五部分,提供了一种在通信网络的应用服务触发 网络设备中用于控制计费的第一计费控制装置, 其中, 包括: 第一 获取装置, 用于获取与一个会话相关的一个或多个应用服务中的所 述会话请求调用的一个或多个应用服务中的每一个的应用服务相关 信息, 以及所述会话相关标识信息; 第一提供装置, 用于将所述请 求调用的一个或多个应用服务的应用服务相关信息以及所述会话相 关标识信息提供给计费触发网络设备。  According to a fifth aspect of the present invention, a first charging control apparatus for controlling charging in an application service triggering network device of a communication network is provided, which includes: a first obtaining means, configured to acquire a session with a session Application service related information of each of the one or more application services invoked by the session request in the one or more application services, and the session related identification information; first providing means, The application service related information of the one or more application services requested to be invoked and the session related identification information are provided to the charging trigger network device.
根据本发明的第六方面,提供了一种在通信网络的计费触发网络 设备中用于控制计费的第二计费控制装置, 其中, 包括: 第二获取 装置, 用于获取来自应用服务触发网络设备的与一个会话相关的一 个或多个应用服务中的一个或多个应用服务的应用服务相关信息, 以及所述会话相关标识信息; 第一判断装置, 用于根据所述一个或 多个应用服务中的一个或多个应用服务的应用服务相关信息, 判断 所述一个或多个应用服务中的一个或多个应用服务是否需要计费; 计费请求消息生成装置, 用于若所述一个或多个应用服务中的一个 或多个应用服务需要计费, 则根据需要计费的一个或多个应用服务 的应用服务相关信息以及所述会话相关标识信息来生成计费请求消 息; 计费请求消息发送装置, 用于将所述计费请求消息发送至计费 设备。 According to a sixth aspect of the present invention, a second charging control apparatus for controlling charging in a charging trigger network device of a communication network is provided, which includes: a second obtaining means, configured to acquire an application service Triggering a session related to a network device Application service related information of one or more application services of the one or more application services, and the session related identification information; first determining means, configured to perform one or more according to the one or more application services Determining, by the application service related information of the service, whether one or more application services of the one or more application services need to be charged; and charging request message generating means, if used in the one or more application services The one or more application services need to be charged, and the charging service request message is generated according to the application service related information of the one or more application services that need to be charged and the session related identification information; Sending the charging request message to the charging device.
根据本发明的第七方面,提供了一种在通信网络的计费设备中用 于控制计费的第一计费装置, 其特征在于, 本计费设备中预存有多 个应用服务组标识, 其中, 每个应用组标识对应于该应用服务组标 识所标识的应用服务组所包括的一个或多个应用 务的标识, 该笫 一计费装置包括: 第一计费请求接收装置, 用于接收来自计费触发 网络设备的计费请求消息, 所述计费请求消息中包括与一个会话相 关的需要计费的一个或多个应用服务的应用服务相关信息以及所述 会话相关标识信息; 应用服务组标识确定装置, 用于根据所述需要 计费的一个或多个应用服务的应用服务相关信息, 确定与所述需要 计费的一个或多个应用服务相对应的应用服务组标识; 第一价格策 略确定装置, 用于根据所述应用服务组标识, 确定价格策略。  According to a seventh aspect of the present invention, a first charging device for controlling charging in a charging device of a communication network is provided, characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, Each of the application group identifiers corresponds to one or more application services included in the application service group identified by the application service group identifier, and the first charging device includes: a first charging request receiving device, configured to: Receiving an accounting request message from the charging triggering network device, where the charging request message includes application service related information of one or more application services that need to be charged related to one session, and the session related identification information; a service group identifier determining apparatus, configured to determine, according to the application service related information of the one or more application services that need to be charged, an application service group identifier corresponding to the one or more application services that need to be charged; a price policy determining device, configured to determine a price policy according to the application service group identifier.
根据本发明的第八方面,提供了一种在通信网络的计费设备中用 于控制计费的第二计费装置, 其特征在于, 本计费设备中预存有多 个应用服务组标识, 其中, 每个应用组标识对应于该应用服务组标 识所标识的应用服务组所包括的一个或多个应用服务的标识, 该笫 二计费装置包括: 第二计费请求接收装置, 用于接收来自计费触发 网络设备的计费请求消息, 其中, 所述计费请求消息包括与所述需 要计费的一个或多个应用服务对应的应用服务组标识信息以及调用 该需要计费的一个或多个应用服务的会话相关标识信息; 第二价格 策略确定装置, 用于根据所述应用服务组标识, 确定价格策略。 采用本发明提供的技术方案,提供了当一个会话中调用的一个或 多个应用, 如何对一个或多个应用进行计费管理, 并如何确定计费 策略的解决方案。 附图说明 According to an eighth aspect of the present invention, a second charging device for controlling charging in a charging device of a communication network is provided, wherein a plurality of application service group identifiers are pre-stored in the charging device. Each of the application group identifiers corresponds to an identifier of one or more application services included in the application service group identified by the application service group identifier, and the second charging device includes: a second charging request receiving device, configured to: Receiving an accounting request message from the charging triggering network device, where the charging request message includes application service group identification information corresponding to the one or more application services that need to be charged, and calling one of the required charging Or session-related identification information of the plurality of application services; and second price policy determining means, configured to determine a price policy according to the application service group identifier. With the technical solution provided by the present invention, one or more applications invoked in one session, how to perform billing management on one or more applications, and how to determine a charging policy solution are provided. DRAWINGS
通过参照附图阅读以下所作的对非限制性实施例的详细描述, 本发 明的其它特征、 目的和优点将会变得更明显。  Other features, objects, and advantages of the present invention will become apparent from the Detailed Description of Description
图 1为根据本发明的一个具体实施例的网络结构的拓朴示意图; 图 2 为根据本发明的一个具体实施例的应用服务触发网络设备 1、 计费触发网络设备 2和计费设备 3根据获取的应用服务的应用服 务相关信息进行计费的系统方法流程图;  1 is a schematic diagram of a network structure according to an embodiment of the present invention; FIG. 2 is an application service triggering network device 1, a charging trigger network device 2, and a charging device 3 according to an embodiment of the present invention. A flowchart of a system method for charging an application service related information of an application service;
图 3 为根据本发明的一个变化实施例的应用服务触发网络设备 1、 计费触发网络设备 2和计费设备 3根据获取的应用服务的应用服 务相关信息进行计费的系统方法流程图;  3 is a flowchart of a system method for an application service trigger network device, a charging trigger network device 2, and a charging device 3 to perform charging according to the acquired application service related information of an application service according to a variant embodiment of the present invention;
图 4为根据本发明的一个具体实施例, 通信网络的应用服务触发 网络设备 1 中的中的第一计费控制装置 10、 计费触发网络设备 2中 的第二计费控制装置 20和计费设备 3 中的第一计费装置 30用于进 行基于应用服务的计费操作的装置框图。  4 is a diagram showing an application service of a communication network triggering a first charging control device 10 in the network device 1, a second charging control device 20 in the charging trigger network device 2, and a meter according to an embodiment of the present invention. The first charging device 30 in the fee device 3 is used to perform a device block diagram of the application service based charging operation.
其中, 相同或相似的附图标记表示相同或相似的步骤特征或装 置 /模块。 具体实施方式  Wherein, the same or similar reference numerals indicate the same or similar step features or devices/modules. detailed description
图 1为根据本发明的一个具体实施例的网络结构的拓朴示意图。 其中, 业务控制交互模块 (SCIM ) 6位于应用层。 用于对一个或多 个应用服务进行控制。  1 is a schematic diagram of a topology of a network structure in accordance with an embodiment of the present invention. The Service Control Interaction Module (SCIM) 6 is located at the application layer. Used to control one or more application services.
应用服务包括视频服务、 音频服务、 文件服务、 流媒体服务、 短号码服务、 主叫显示服务、 主叫限制服务、 被叫显示服务、 被叫 限制服务、 恶意呼叫 ID鉴别服务、 匿名呼叫拒绝服务、 呼叫前转服 务、 呼叫等待服务、 呼叫保持服务。 在本实施例中, 各个应用服务 分别以承载该应用服务的应用服务器来表示。 为了便于说明, 仅示 出承载音频服务的音频服务器 4a, 承载视频服务的视频服务器 4b, 承载即时消息服务的即时消息服务器 4c, 承载短号码服务的短号码 服务器 4d, 承载文件服务的文件服务器 4e。 Application services include video services, audio services, file services, streaming services, short number services, caller display services, call barring services, called display services, called barring services, malicious call ID authentication services, anonymous call denial services , call forwarding service, call waiting service, call hold service. In this embodiment, each application service Represented by the application server hosting the application service. For convenience of explanation, only the audio server 4a carrying the audio service, the video server 4b carrying the video service, the instant message server 4c carrying the instant message service, the short number server 4d carrying the short number service, and the file server 4e carrying the file service are shown. .
业务控制交互模块 6可以通过 ISC(IMS Service Controller)接口 或 Sh接口( DIAMETER协议接口,用于在 IMS网络中与 HSS( Home Subscriber Server ) 互连) 与 IP多媒体子系统( IMS ) 5互连。 其中, IP多媒体子系统中包括服务呼叫会话控制功能设备( S-CSCF ) Ί, 用 于与业务控制交互模块 6进行交互。  The service control interaction module 6 can be interconnected with the IP Multimedia Subsystem (IMS) 5 through an ISC (IMS Service Controller) interface or a Sh interface (a DIAMETER protocol interface for interconnecting with an HSS (Home Subscriber Server) in an IMS network). The IP Multimedia Subsystem includes a Serving Call Session Control Function Device (S-CSCF) 用 for interacting with the Service Control Interaction Module 6.
控制交互模块 6也可以与电路交换网络 (CS域) 9通过智能网 应用协议(INAP ) 、 增强型逻辑的客户化应用的应用部分(CAMEL Application Part, 即 CAP ) 、 ISDN用户部分( ISUP ) 、 移动应用部 分( Mobile Application Part, MAP )、 CDMA无线智能网协议( IS 826 ) 接口相连, 电路交换网络 9可以包括 PSTN网络, 也可以包括 GSM 网络的电路交换部分、或者 CDMA网络中的电路交换部分等。其中, GSM 网络的电路交换部分包括移动交换中心 8, 用于与业务控制交 互模块 6进行交互。  The control interaction module 6 can also interact with the circuit switched network (CS domain) 9 through the Intelligent Network Application Protocol (INAP), the application portion of the enhanced logic (CAMEL Application Part, CAP), the ISDN User Part (ISUP), The Mobile Application Part (MAP) and the CDMA Wireless Intelligent Network Protocol (IS 826) interface are connected, and the circuit switched network 9 may include a PSTN network, or may include a circuit switched part of the GSM network, or a circuit switched part of the CDMA network. Wait. The circuit switched portion of the GSM network includes a mobile switching center 8 for interacting with the service control interaction module 6.
此外, 业务控制交互模块 6还可以与数据交换网络 (PS域) 进 行互联。  In addition, the Service Control Interaction Module 6 can also be interconnected with a Data Switching Network (PS Domain).
业务控制交互模块 6 包括应用服务触发网络设备 1 和计费触发 网络设备 2。应用服务触发网絡设备 1 实现了对各个应用服务器的与 计费相关的信息的管理, 计费触发网络设备 2 将需要计费的应用服 务器的信息发送至计费设备 3。  The service control interaction module 6 includes an application service trigger network device 1 and a charging trigger network device 2. The application service triggers the network device. 1 The management of the accounting-related information of each application server is implemented. The charging triggering network device 2 sends the information of the application server that needs to be charged to the charging device 3.
在以下的具体的实施例中, 我们以业务交互模块 6与 IP多媒体 子系统网络中的服务呼叫会话控制功能设备 7之间交互基于 SIP协 议的消息为例进行具体说明。 本领域技术人员可以理解, 业务交互 模块 6还可以与电路交换网络 9之间交互基于 INAP 协议、 CAP协 议、 ISUP协议、 MAP协议的消息, 以用于控制用户的计费, 其实现 方式与服务呼叫会话控制功能设备 7处理基于 SIP协议的消息类似, 在此不予赘述。 In the following specific embodiments, we will specifically describe the SIP protocol-based message exchanged between the service interaction module 6 and the serving call session control function device 7 in the IP multimedia subsystem network. It can be understood by those skilled in the art that the service interaction module 6 can also exchange messages based on the INAP protocol, the CAP protocol, the ISUP protocol, and the MAP protocol with the circuit switched network 9 for controlling user billing, and its implementation and service. The call session control function device 7 processes the SIP protocol based message similarly, I will not repeat them here.
以下, 以用户请求多媒体电话业务为例, 参照图 1并结合图 2, 对本发明的系统方法进行描述。  Hereinafter, the system method of the present invention will be described with reference to FIG. 1 and FIG. 2 with the user requesting the multimedia telephone service as an example.
图 2 为根据本发明的一个具体实施例的应用服务触发网络设备 1、 计费触发网络设备 2和计费设备 3根据获取的应用服务的应用服 务相关信息进行计费的系统方法流程图。  2 is a flowchart of a system method for an application service triggering network device, a charging trigger network device 2, and a charging device 3 to perform charging according to the acquired application service related information of an application service according to an embodiment of the present invention.
一个用户使用的终端设备支持多媒体电话业务。 该用户请求发 起一个多媒体电话的业务, 因为该用户为会话的发起方, 以下称该 用户为主叫用户, 而将主叫用户所呼叫的另一方称为被叫用户, 在 多媒体电话业务中, 主叫用户和被叫用户均可以在通话的过程中新 增新的媒体业务。 例如, 主叫用户拨打被叫用户的短号码, 请求发 起一个视频电话。 则主叫用户的用户设备生成一个会话请求消息, 其中该会话请求消息包括主叫用户的标识信息和被叫用户的标识信 息, 还包括主叫用户请求的业务的类型, 即 IMS 通信业务标识 ( IMS-Communication-Service-Identifier A VP ) 。 主叫用户的用户设 备将该会话请求消息发送至服务呼叫会话控制功能设备( S-CSCF )。  A terminal device used by a user supports multimedia telephony services. The user requests to initiate a multimedia phone service, because the user is the originator of the session, hereinafter referred to as the user as the calling user, and the other party called by the calling user is called the called user. In the multimedia phone service, Both the calling user and the called user can add new media services during the call. For example, the calling party dials the short number of the called user and requests to place a video call. The user equipment of the calling user generates a session request message, where the session request message includes the identification information of the calling user and the identification information of the called user, and the type of the service requested by the calling user, that is, the IMS communication service identifier ( IMS-Communication-Service-Identifier A VP ). The user equipment of the calling user sends the session request message to the Serving Call Session Control Function Device (S-CSCF).
服务呼叫会话控制功能设备根据自己的内部逻辑, 判断是否将 该会话请求消息路由至应用服务触发网络设备 1。  The serving call session control function device determines, according to its own internal logic, whether to route the session request message to the application service trigger network device 1.
在步骤 S100中, 应用服务触发网络设备 1获取到来自服务呼叫 会话控制功能设备 6 的会话请求消息, 该会话请求消息中包括会话 相关标识信息, 即主叫用户的标识信息和被叫用户的标识信息, 还 包括主叫用户请求的 IMS通信业务标识, 其中, 该 IMS通信业务标 识用于标识该会话所请求的业务类型为视频通话业务。  In the step S100, the application service triggers the network device 1 to obtain the session request message from the service call session control function device 6, where the session request message includes the session-related identification information, that is, the identification information of the calling user and the identifier of the called user. The information further includes an IMS communication service identifier that is requested by the calling user, where the IMS communication service identifier is used to identify that the service type requested by the session is a video call service.
在本实施例中, 会话请求消息中的会话相关标识信息既包含了 主叫用户的标识信息, 也包含了被叫用户的标识信息。 因为即使是 对主叫计费的情形, 当主叫用户建立本市通话、 国内长途或国际长 途这三种不同类型的通话时, 其收费标准是不同的, 因此, 需要被 叫用户的标识信息以区分不同的资费标准。 在一个变化的实施例中, 例如, 只允许主叫用户拨打市内电话的情形下, 因为该通话不会因 为被叫用户的不同而受到影响, 因此, 会话相关标识信息可以仅包 含主叫用户的标识信息。 同理, 对于被叫用户计费的情形, 若主叫 用户的不同不会影响被叫用户的资费标准, 则同样地, 会话相关标 识信息可以仅包括被叫用户的标识信息。 In this embodiment, the session-related identification information in the session request message includes both the identification information of the calling user and the identification information of the called user. Because even in the case of charging the calling party, when the calling user establishes three different types of calls, such as local call, domestic long distance or international long distance, the charging standard is different, and therefore, the identification information of the called user is required. To distinguish between different tariffs. In a variant embodiment, for example, only the calling party is allowed to make a local call, since the call is not due to It is affected by the difference of the called user. Therefore, the session related identification information may only contain the identification information of the calling user. Similarly, in the case of the called user charging, if the difference of the calling user does not affect the tariff standard of the called user, the session related identification information may only include the identification information of the called user.
在步骤 S 101 中, 应用服务触发网络设备 1首先根据该会话请求 消息中的被叫用户的号码, 例如, 该号码为 6246, 判断出 6246为一 个短号码, 并确定该会话需要调用短号码服务器, 于是将该号码路 由至短号码服务器 4d。短号码服务器 4d查找其内部存储的短号码与 实际号码之间的映射表, 以确定该短号码 6246所对应的实际号码为 13512345678 , 短号码服务器 4d将该实际号码返回至应用服务触发 网络设备 1。 因为该会话调用了短号码服务器 4d所提供的服务, 因 此, 应用服务触发网络设备 1 保存该短号码服务器 4d 的标识信息 应用服务触发网络设备 1 还根据会话请求消息中的主叫用户请 求的业务, 即视频通话业务, 判断出该会话需要调用音频服务器 4a 和视频服务器 4b ,则应用服务触发网络设备 1允许音频服务器 4a和 视频服务器 4b接收该会话请求消息并响应该会话的调用, 应用服务 触发网络设备 1 进一步地分别获取音频服务器 4a的标识信息 0001 和视频服务器 4b的标识信息 0010。  In step S101, the application service triggers the network device 1 to first determine the 6246 as a short number according to the number of the called user in the session request message, for example, the number is 6246, and determine that the session needs to invoke the short number server. The number is then routed to the short number server 4d. The short number server 4d searches the mapping table between the short number and the actual number stored therein to determine that the actual number corresponding to the short number 6246 is 13512345678, and the short number server 4d returns the actual number to the application service trigger network device 1 . Since the session invokes the service provided by the short number server 4d, the application service triggers the network device 1 to save the identification information of the short number server 4d. The application service triggers the network device 1 to also request the service according to the calling user in the session request message. That is, the video call service determines that the session needs to call the audio server 4a and the video server 4b, and the application service triggers the network device 1 to allow the audio server 4a and the video server 4b to receive the session request message and respond to the call of the session, and the application service triggers The network device 1 further acquires the identification information 0001 of the audio server 4a and the identification information 0010 of the video server 4b, respectively.
在步骤 S102中, 应用服务触发网络设备 1将请求调用的应用服 务的应用服务相关信息, 即请求调用的各个应用服务器的标识信息, 包括: 短号码服务器 4d的标识信息 0100、 音频服务器 4a的标识信 息 0001和视频服务器 4b的标识信息 0010, 以及主叫用户的标识信 息和被叫用户的标识信息通过内部接口提供给计费触发网络设备 2。  In step S102, the application service triggers the application service related information of the application service that the network device 1 requests to invoke, that is, the identification information of each application server that is requested to be invoked, including: the identification information 0100 of the short number server 4d, and the identifier of the audio server 4a. The information 0001 and the identification information 0010 of the video server 4b, and the identification information of the calling user and the identification information of the called user are provided to the charging trigger network device 2 through the internal interface.
在步骤 S 103中, 计费触发网絡设备 2获取了来自应用服务触发 网络设备 1的应用服务的应用服务相关信息, 即短号码服务器 4d的 标识信息 0100、音频服务器 4a的标识信息 0001和视频服务器 4b的 标识信息 0010 , 以及主叫用户的标识信息和被叫用户的标识信息。  In step S103, the charging trigger network device 2 acquires application service related information from the application service triggering network device 1 application service, that is, the identification information 0100 of the short number server 4d, the identification information 0001 of the audio server 4a, and the video server. The identification information 0010 of 4b, and the identification information of the calling user and the identification information of the called user.
计费触发网络设备 2 内部预存了一个数据库, 保存各个应用服 务器是否需要计费的信息, 计费触发网络设备 2 查找该数据库, 判 断本次会话请求调用的多个应用服务器是否需要收费。 例如, 在该 数据库中, 根据运营商制定的策略, 计费触发网络设备 2确定调用 短号码服务器 4d不需要收费, 而调用音频服务器 4a和视频服务器 4b需要进行收费, 且音频服务器 4a和视频服务器 4b均为在线计费 的应用服务器。 The billing trigger network device 2 internally stores a database, and saves each application service. Whether the server needs charging information, the charging trigger network device 2 searches the database to determine whether multiple application servers called by the session request need to charge. For example, in the database, according to the policy formulated by the operator, the charging trigger network device 2 determines that calling the short number server 4d does not require charging, and calling the audio server 4a and the video server 4b requires charging, and the audio server 4a and the video server 4b are application servers for online charging.
在步骤 S014中, 计费触发网络设备 2根据需要在线计费的音频 服务器 4a和视频服务器 4b的标识信息 0001和 0010和主叫用户和 被叫用户的标识信息生成一个在线计费请求消息。  In step S014, the charging trigger network device 2 generates an online charging request message according to the identification information 0001 and 0010 of the audio server 4a and the video server 4b requiring online charging and the identification information of the calling user and the called user.
在步骤 S 105中, 计费触发网络设备 2将该在线计费请求消息通 过在线计费接口 Ro发送至计费设备 3中的在线计费子系统 3a。  In step S105, the charging trigger network device 2 transmits the online charging request message to the online charging subsystem 3a in the charging device 3 via the online charging interface Ro.
在步驟 S 106中, 在线计费子系统 3a获取了在线计费请求消息 后, 根据其中的主叫用户和被叫用户的标识信息, 且在线计费子系 统 3a中预存了主叫用户的在线账户余额信息 ,根据该帐户余额信息, 在线计费子系统 3a判断是否允许会话的主叫用户和被叫用户调用在 线计费的音频服务器 4a和视频服务器 4b所提供的应用服务。  In step S106, after the online charging subsystem 3a obtains the online charging request message, according to the identification information of the calling user and the called user, and the online charging subsystem 3a prestores the online of the calling user. Based on the account balance information, the online charging subsystem 3a determines whether the calling party and the called user of the session are allowed to invoke the application services provided by the online charging audio server 4a and the video server 4b.
具体地, 若主叫用户和被叫用户所加入的计费类型为针对应用 服务的发起方进行收费, 也即, 当会话初始建立时或通话过程中, 主叫用户请求调用的应用服务由主叫用户付费; 若通话过程中, 被 叫用户请求调用一个或多个应用服务, 则如果这些应用服务需要计 费, 则由发起该应用服务的被叫用户付费。 因此, 本实施例的会话 中,主叫用户请求调用的在线计费的音频服务器 4a和视频服务器 4b 均由主叫用户负责付费。 在线计费子系统 3a判断主叫用户的在线账 户的余额是否足够, 若足够, 例如主叫用户的在线账户的余额高于 一个预定的阈值, 则在线计费子系统 3a授权主叫用户和被叫用户使 用其请求的应用服务。  Specifically, if the charging type that the calling user and the called user join is charging for the initiator of the application service, that is, when the session is initially established or during the call, the calling user requests the application service called by the main The user is called to pay; if the called user requests to invoke one or more application services during the call, if the application services need to be charged, the called user who initiated the application service pays. Therefore, in the session of this embodiment, the audio server 4a and the video server 4b of the online charging that the calling user requests to call are all charged by the calling user. The online charging subsystem 3a determines whether the balance of the online account of the calling user is sufficient. If sufficient, for example, the balance of the online account of the calling user is above a predetermined threshold, the online charging subsystem 3a authorizes the calling user and is Ask the user to use the application service they are requesting.
此外, 在线计费子系统 3a中维护了在线计费的应用服务器标识 信息和应用服务器组标识之间的对应关系表, 即表 1。 在线计费子系 统 3a根据表 1 , 可以确定一个或多个应用服务器所纽成的应用服务 器组合所对应的用于在线计费的应用服务器组标识。 In addition, the online charging subsystem 3a maintains a correspondence table between the application server identification information of the online charging and the application server group identifier, that is, Table 1. The online charging subsystem 3a can determine the application services of one or more application servers according to Table 1. The application server group identifier for online charging corresponding to the combination of devices.
表 1  Table 1
Figure imgf000013_0001
Figure imgf000013_0001
具体地, 在步骤 S106中在线计费子系统 3a判断结果为允许会 话的主叫用户和被叫用户调用在线计费的音频服务器 4a和视频服务 器 4b所提供的应用服务后, 在步骤 S107中, 在线计费子系统 3a需 要根据应用服务器音频服务器 4a和视频服务器 4b的标识信息, 以 及表 1 确定其对应的应用服务器组标识。 本实施例中, 主叫用户发 起的会话请求调用应用服务器标识信息为 0001 的音频服务器 4a和 应用服务器标识信息为 0010的视频服务器 4b所提供的服务, 因此, 在线计费子系统 3a根据表 1确定该两个在线计费的座用服务器所对 应的用于计费的应用服务器组标识为 ΠΙ。  Specifically, in step S106, after the online charging subsystem 3a determines that the calling user and the called user of the session are allowed to invoke the application services provided by the online charging audio server 4a and the video server 4b, in step S107, The online charging subsystem 3a needs to determine the corresponding application server group identifier according to the identification information of the application server audio server 4a and the video server 4b, and Table 1. In this embodiment, the session request initiated by the calling user invokes the service provided by the audio server 4a whose application server identification information is 0001 and the video server 4b whose application server identification information is 0010. Therefore, the online charging subsystem 3a according to Table 1 It is determined that the application server group identifier for charging corresponding to the two online charging server is ΠΙ.
在步驟 S108 中, 在线计费子系统 3a根据该应用服务器组标识 III, 确定价格策略。 具体地, 在线计费子系统 3a根据该应用服务器 组标识 ΙΠ, 确定其对应的费用计算规则, 包括是否运用促销计划, 打折计划, 奖励计划等。 不同的应用服务器组标识会影响费用计算 规则, 以下仅为一个示例: 标识为 I的应用服务组 I对应的计费单价 为单价 1 (也即, 费率为单价 1 , 每分钟的计费为单价 1), 标识为 II 的应用服务组 II对应的计费单价为单价 2(也即, 费率为单价 2, 每 分钟的计费为单价 2), 标识为 III的应用服务组111对应的计费单价 为单价 3(也即, 费率为单价 3 , 每分钟的计费为单价 3)。 这些具体 的费用计算规则, 可以由网络运营商根据具体的网络运营状况进行 设定, 也可以是计费设备 3在运营的过程中自动调整。  In step S108, the online charging subsystem 3a determines the price policy based on the application server group identification III. Specifically, the online charging subsystem 3a determines the corresponding fee calculation rule according to the application server group identifier, including whether to use the promotion plan, the discount plan, the reward plan, and the like. Different application server group identifiers affect the cost calculation rule. The following is only an example: The billing unit price corresponding to the application service group I identified as I is unit price 1 (that is, the rate is unit price 1, and the billing per minute is Unit price 1), the billing unit price corresponding to the application service group II identified as II is unit price 2 (that is, the rate is unit price 2, the billing per minute is unit price 2), and the application service group 111 identified as III corresponds The unit price for billing is unit price 3 (that is, the rate is unit price 3, and the billing per minute is unit price 3). These specific cost calculation rules can be set by the network operator according to the specific network operation status, or the charging device 3 can be automatically adjusted during the operation.
因此, 在步骤 S109 中, 在线计费子系统 3a ^^据主叫用户的账 户余额和应用服务组所对应的费率信息 (例如, 一分钟收多少钱) 估算出允许通话的时间长度信息, 以生成应用服务的授权相关信息, 包括授权主叫用户和被叫用户使用其请求的应用服务器音频服务器Therefore, in step S109, the online charging subsystem 3a calculates the account balance of the calling user and the rate information corresponding to the application service group (for example, how much is charged in one minute) Estimating the length of time allowed for the call to generate authorization information about the application service, including authorizing the calling user and the called user to use the requested application server audio server
4a和视频服务器 4b以及估算的允许通话的时间长度信息。 4a and video server 4b and the estimated length of time allowed for the call.
在一个变化的实施例中, 授权相关信息仅包括授权主叫用户和 被叫用户使用其请求的应用服务器音频服务器 4a和视频服务器 4b。 如果用户为按次计费或包月用户, 则授权相关信息中可以不包含时 间长度信息。  In a variant embodiment, the authorization related information only includes the application server audio server 4a and video server 4b that authorize the calling and called users to use their request. If the user is a pay-per-view or monthly user, the time-length information may not be included in the authorization related information.
在步骤 S 1 10 中, 在线计费子系统 3a将该授权相关信息发送至 计费触发网络设备 2。  In step S110, the online charging subsystem 3a sends the authorization related information to the charging trigger network device 2.
在步骤 S1 11 中, 计费触发网络设备 2接收来自在线计费子系统 In step S1 11, the charging trigger network device 2 receives the online charging subsystem.
3a的对应用服务的授权相关信息后, 计费触发网络设备 2向应用服 务触发网络设备 1提供该应用服务的授权相关信息。 After the information about the authorization of the application service is 3a, the charging trigger network device 2 provides the application service triggering network device 1 with the authorization related information of the application service.
在步骤 S 1 12中, 应用服务触发网络设备 1接收到来自计费触发 网络设备 2 的应用服务的授权相关信息, 也即允许主叫用户和被叫 用户使用应用服务器音频服务器 4a和视频服务器 4b所提供的应用 服务。 在经过在线计费子系统的授权准许后, 应用服务触发网络设 备 1允许主叫用户和被叫用户使用授权的应用服务。  In step S1 12, the application service triggers the network device 1 to receive the authorization related information of the application service from the charging trigger network device 2, that is, allows the calling user and the called user to use the application server audio server 4a and the video server 4b. Application services provided. After being authorized by the online charging subsystem, the application service triggers the network device 1 to allow the calling user and the called user to use the authorized application service.
当一个会话持续了一段时间后, 由于该会话的计费用户账户余 额不足等原因被在线计费系统 3a终止会话时, 在线计费系统 3a确 定实际的费率 (例如一分钟计费多少钱), 并基于实际通话时长, 决 定实际通话费用, 并将会话结束的消息返回给主叫用户和被叫用户; 当一个会话由主叫用户或被叫用户终止时, 在线计费系统 3a确定实 际的费率, 并基于实际通话时长, 确定实际通话费用。  When a session continues for a period of time, the online charging system 3a determines the actual rate (for example, how much is charged in one minute) when the online charging system 3a terminates the session due to insufficient balance of the charging user account of the session. And determining the actual call charge based on the actual call duration, and returning the message of the end of the session to the calling user and the called user; when a session is terminated by the calling user or the called user, the online charging system 3a determines the actual Rate, and based on actual call duration, determine the actual call cost.
在上述实施例中, 在步骤 S106 中, 在线计费子系统 3a判断主 叫用户的在线账户的余额高于一个预定的阈值, 则授权主叫用户和 被叫用户使用其请求的应用服务。在一个变化的实施例中,步骤 S 106 中, 在线计费子系统 3a判断主叫用户的在线账户中余额不足, 则在 线计费子系统 3a在步骤 S 109中生成一个授权相关信息, 其中包括 不允许主叫用户和被叫用户使用请求的应用服务器所提供的应用服 务。 In the above embodiment, in step S106, the online charging subsystem 3a determines that the balance of the online account of the calling user is higher than a predetermined threshold, and authorizes the calling user and the called user to use the requested application service. In a variant embodiment, in step S106, the online charging subsystem 3a determines that the balance in the online account of the calling user is insufficient, and the online charging subsystem 3a generates an authorization related information in step S109, including The calling user and the called user are not allowed to use the application service provided by the requested application server. Business.
则在步骤 S 110 中, 在线计费子系统 3a将该授权相关信息发送 至计费触发网络设备 2。  Then, in step S110, the online charging subsystem 3a transmits the authorization related information to the charging trigger network device 2.
进一步地, 在步骤 S111中, 计费触发网络设备 2接收来自在线 计费子系统 3a的对应用服务的授权相关信息并将对该应用服务的授 权相关信息提供给应用服务触发网络设备 1 , 其中, 对该应用服务的 授权相关信息包括不允许用户使用其请求的应用服务器音频服务器 4a和视频服务器 4b所提供的应用服务, 因此, 该会话请求消息被应 用服务触发网絡设备 1 所终止, 不会被应用服务触发网络设备 1路 由至被叫用户处, 因此, 该会话不能建立。  Further, in step S111, the charging trigger network device 2 receives the authorization related information of the application service from the online charging subsystem 3a and provides the authorization related information of the application service to the application service triggering network device 1, wherein The authorization related information of the application service includes an application service provided by the application server audio server 4a and the video server 4b that the user is not allowed to use the request, and therefore, the session request message is terminated by the application service triggering network device 1, and will not be The application service triggers the network device 1 to be routed to the called user, so the session cannot be established.
在上述实施例中, 主叫用户仅发起一次会话请求消息, 在一个 变化的实施例中, 主叫用户或被叫用户还可以在建立会话后, 更改 其所请求调用的应用服务, 以下以主叫用户请求更改调用的应用服 务为例进行说明, 对于被叫用户在通话过程中请求更改调用的应用 服务的情形与主叫用户类似, 在此不予赘述。  In the above embodiment, the calling user only initiates a session request message. In a modified embodiment, the calling user or the called user may also change the application service requested by the calling user after establishing the session. The application service requesting the user to change the call is described as an example. The case where the called user requests to change the invoked application service during the call is similar to the calling user, and details are not described herein.
参照图 3 , 在步骤 S 1 13中, 应用服务触发网絡设备 1还需要检 测已调用的应用服务器是否发生变化, 也即, 是否主叫用户或被叫 用户还请求调用除了已调用的音频服务器 4a和视频服务器 4b以外 的新的应用服务器, 或者主叫用户或被叫用户请求终止已调用的音 频服务器 4a和 /或视频服务器 4b。  Referring to FIG. 3, in step S113, the application service triggering network device 1 further needs to detect whether the called application server has changed, that is, whether the calling user or the called user also requests to call the audio server 4a in addition to the call. And the new application server other than the video server 4b, or the calling user or the called user requests to terminate the called audio server 4a and/or the video server 4b.
如果主叫用户请求退出视频服务, 同时调用新的即时消息服务, 则主叫用户的用户设备向 S-CSCF发送一个会话请求消息,其中包括 退出视频服务以及请求调用即时消息服务的信息。 S-CSCF将该会话 请求消息转发给应用服务触发网络设备 1。 在步骤 S 114中, 应用服 务触发网络设备 1发现应用服务器发生变化, 包括视频服务器 4b请 求退出该会话, 即时消息服务器 4c请求加入该会话中。 则应用服务 触发网络设备 1将标识信息为 0010的视频服务器 4b请求退出会话 以及标识信息为 001 1 的即时消息服务器 4c请求加入会话以及该会 话的标识信息发送至计费触发网络设备 2。 计费触发网络设备 2和计费设备 3重复执行步驟 S103,至 SI 12,。 具体地, 在步骤 S103'中, 计费触发网络设备 2获取来自应用服务触 发网络设备 1 的应用服务器的应用服务相关信息, 即终止调用标识 信息为 0010的视频服务器 4b, 新请求调用标识信息为 001 1的即时 消息服务器 4c后, 计费触发网络设备 2判断该两个应用服务器是否 需要计费。 根据内部维护的需要计费的应用服务器的列表, 计费触 发网络设备 2确定视频服务器 4b为需要计费的应用服务器, 且为在 线计费的应用服务器; 计费触发网络设备 2确定即时消息服务器为 需要计费的应用服务器, 且为离线计费的应用服务器。 If the calling user requests to quit the video service and simultaneously invokes a new instant messaging service, the calling user's user equipment sends a session request message to the S-CSCF, including the exit video service and the request to invoke the instant messaging service. The S-CSCF forwards the session request message to the application service trigger network device 1. In step S114, the application service triggers the network device 1 to discover that the application server has changed, including the video server 4b requesting to quit the session, and the instant message server 4c requests to join the session. Then, the application service triggers the network device 1 to request the video server 4b with the identification information of 0010 to request to exit the session, and the instant message server 4c with the identification information of 001 1 requests to join the session and the identification information of the session is sent to the charging trigger network device 2. The charging trigger network device 2 and the charging device 3 repeatedly perform step S103 to SI 12, . Specifically, in step S103', the charging trigger network device 2 acquires application service related information from the application server of the application service triggering network device 1, that is, the video server 4b that terminates the calling identification information is 0010, and the new request calling identification information is After the instant messaging server 4c of 001 1, the charging trigger network device 2 determines whether the two application servers require charging. According to the list of application servers that need to be charged according to internal maintenance, the charging trigger network device 2 determines that the video server 4b is an application server that needs to be charged, and is an application server for online charging; the charging trigger network device 2 determines an instant message server. It is an application server that needs to be charged, and is an application server that is offline charged.
在步骤 S104'中,计费触发网络设备 2根据终止调用标识信息为 In step S104', the charging trigger network device 2 is based on the termination call identifier information.
0010的视频服务器 4b生成一个在线计费请求消息,并根据新请求调 用标识信息为 0011的即时消息服务器 4c,生成一个离线计费请求消 息。 The video server 4b of 0010 generates an online charging request message, and invokes an instant message server 4c whose identification information is 0011 according to the new request, and generates an offline charging request message.
在步骤 S105,中, 计费触发网络设备 2通过在线计费接口 Ro将 该在线计费请求消息发送至在线计费子系统 3a, 并通过离线计费接 口 Rf将该离线计费请求消息发送至离线计费子系统 3b。  In step S105, the charging trigger network device 2 sends the online charging request message to the online charging subsystem 3a through the online charging interface Ro, and sends the offline charging request message to the offline charging interface Rf to Offline charging subsystem 3b.
在本实施例中, 当生成一个离线计费请求消息时, 计费触发网 络设备 2就立即将该离线计费请求消息通过 Rf接口发送至离线计费 子系统 3b中, 上述的离线计费消息发送离线计费请求消息的时机仅 为一个示例。 在实际的计费系统中, 离线计费请求消息发送的时机 在 DIAMETER协议中有相关的规定。 对于 DIAMTER协议, 参考 htt ://www. ietf.org/rfc/rfc3588.txt , 对于 Rf 接口 的规定, 参考 http://www.3gpp.org/ftp/Specs/html-info/32299.htm 。 Rf 接口支持基 于 DIAMTER协议的离线计费请求消息, 离线计费请求消息的状态 包括开始( start ) , 过渡时间( interim )和停止( stop )和事件( event ) 等。  In this embodiment, when an offline charging request message is generated, the charging trigger network device 2 immediately sends the offline charging request message to the offline charging subsystem 3b through the Rf interface, and the offline charging message is used. The timing of sending an offline charging request message is only an example. In the actual billing system, the timing of the offline charging request message is sent in the DIAMETER protocol. For the DIAMTER protocol, refer to htt ://www. ietf.org/rfc/rfc3588.txt. For the Rf interface specification, refer to http://www.3gpp.org/ftp/Specs/html-info/32299.htm. The Rf interface supports the offline charging request message based on the DIAMTER protocol. The status of the offline charging request message includes start, interim, stop, and event.
计费设备 3 中的在线计费子系统 3a和离线计费子系统 3b分别 接收来自计费触发网络设备 2 的在线计费请求消息和离线计费请求 消息。 在计费设备 3 中, 维护了一个会话到目前为止所调用的所有 应用服务的序列表, 因此, 计费设备 3 知晓该会话当前已调用的所 有应用服务器。 根据该序列表, 在需要在线计费的应用服务中, 计 费设备 3知晓会话终止调用标识信息为 0010的视频服务器 4b。 The online charging subsystem 3a and the offline charging subsystem 3b in the charging device 3 receive an online charging request message and an offline charging request message from the charging trigger network device 2, respectively. In the billing device 3, all the calls called up to one session have been maintained so far. The sequence table of the application service, therefore, the charging device 3 knows all the application servers that the session has currently called. According to the sequence table, in the application service requiring online charging, the charging device 3 knows the video server 4b whose session termination call identification information is 0010.
然后, 在步骤 S106'中, 在线计费子系统 3a获取了主叫用户和 被叫用户的标识信息, 且在线计费子系统 3a中预存了主叫用户的在 线账户余额信息, 根据该账户余额信息, 在线计费子系统 3a判断是 否允许会话的主叫用户和被叫用户调用在线计费的音频服务器 4a所 提供的应用服务。  Then, in step S106', the online charging subsystem 3a obtains the identification information of the calling user and the called user, and the online charging subsystem 3a prestores the online account balance information of the calling user, according to the account balance. Information, the online charging subsystem 3a determines whether the calling party and the called user of the session are allowed to invoke the application service provided by the online charging audio server 4a.
此外, 离线计费子系统 3b中维护了离线计费的应用服务器标识 信息和应用服务器组标识之间的对应关系表, 即表 2。 根椐表 2, 离 线计费子系统 3b可以确定一个或多个离线计费的应用服务器所組成 的应用服务器组合所对应的用于计费的应用服务器组标识。  In addition, the offline charging subsystem 3b maintains a correspondence table between the application server identification information of the offline charging and the application server group identifier, that is, Table 2. According to Table 2, the offline charging subsystem 3b can determine the application server group identifier for charging corresponding to the application server combination composed of one or more offline charging application servers.
表 2  Table 2
Figure imgf000017_0001
在步驟 S107,中, 离线计费子系统 3b根据即时消息服务器 4c的 标识信息 001 1 , 查找表 2, 确定其所对应的用于计费的应用服务器 组标识为 i。
Figure imgf000017_0001
In step S107, the offline charging subsystem 3b searches the table 2 according to the identification information 001 1 of the instant message server 4c, and determines that the corresponding application server group identifier for charging is i.
若在步骤 S 106'中在线计费子系统 3a判断结果为允许会话的主 叫用户和被叫用户调用在线计费的音频服务器 4a所提供的应用服务 后, 则在步骤 S017'中, 在线计费子系统 3a根据在线计费的音频服 务器 4a的标识信息 0001 , 查找表 1 , 确定其所对应的用于计费的应 用服务器的组标识信息为 I。  If the online charging subsystem 3a determines in step S106' that the calling party and the called user of the session allow the application service provided by the online charging audio server 4a, then in step S017', the online meter The fee subsystem 3a searches the table 1 according to the identification information 0001 of the online charging audio server 4a, and determines that the group identification information of the application server for charging is I.
在步骤 S 108'中, 离线计费子系统 3b根据该应用服务器組标识 i, 确定价格策略。 具体地, 离线计费子系统 3b根据该应用服务器组 标识 i, 确定其对应的费用计算规则, 包括是否运用促销计划, 打折 计划, 奖励计划等。 不同的应用服务器组标识会影响费用计算规则, 以下仅为一个示例: 标识为 i的应用服务组 i对应的计费单价为单价 a, 标识为 ii 的应用服务组 ii对应的计费单价为单价 b, 标识为 iii 的应用服务组 iii对应的计费单价为单价 c。 这些具体的费用计算规 则, 可以由网络运营商 据具体的网络运营状况进行设定, 也可以 是计费设备 3在运营的过程中自动调整。 In step S108', the offline charging subsystem 3b is identified according to the application server group identifier. i, determine the price strategy. Specifically, the offline charging subsystem 3b determines the corresponding fee calculation rule according to the application server group identifier i, including whether to use a promotion plan, a discount plan, a reward plan, and the like. Different application server group IDs affect the cost calculation rule. The following is only an example: The billing unit price corresponding to the application service group i identified as i is the unit price a, and the billing unit price corresponding to the application service group ii identified as ii is the unit price. b. The unit price of the bill corresponding to the application service group iii identified as iii is the unit price c. These specific cost calculation rules may be set by the network operator according to the specific network operation status, or the charging device 3 may be automatically adjusted during the operation.
对于离线计费的应用服务器, 因为计费信息不会实时地影响为 主叫用户和 /或被叫用户所提供的应用服务, 所以计费设备 3不需要 判断授权信息, 即步骤 S106'和步骤 S109'至步骤 S112'可以省略。  For the offline charging application server, since the charging information does not affect the application service provided by the calling user and/or the called user in real time, the charging device 3 does not need to determine the authorization information, that is, step S106' and the steps. S109' to step S112' may be omitted.
在步骤 S108'中, 计费设备 3 中的在线计费子系统 3a根据该应 用服务器组标识 I, 确定在线计费的价格策略。  In step S108', the online charging subsystem 3a in the charging device 3 determines the price policy for online charging based on the application server group identification I.
此后, 计费设备 3 中的在线计费子系统 3a还需重复步骤 S109' 至 S112' , 因上述步骤与步骤 S109至 S112类似, 在此不予赘述。  Thereafter, the online charging subsystem 3a in the charging device 3 needs to repeat steps S109' to S112', because the above steps are similar to steps S109 to S112, and are not described herein.
在上述实施例中, 应用服务触发网络设备 1 所检测到的发生变 化的应用服务即包含离线计费的应用服务, 也包含在线计费的应用 服务; 在一个变化的实施例中, 在会话初始阶段请求调用或会话过 程中新调用的应用服务仅包含离线计费的应用服务, 在该情形下, 计费触发网络设备 2和计费设备 3所执行的步骤与步骤 S 103,至步骤 S112'类似, 在此不予赘述。  In the above embodiment, the application service triggers the changed application service detected by the network device 1 to be an application service including offline charging, and also includes an online charging application service. In a modified embodiment, in the initial session The application service that is newly called during the phase request invocation or the session only includes the offline charging application service. In this case, the charging triggers the steps performed by the network device 2 and the charging device 3 and the step S103 to the step S112'. Similar, it will not be repeated here.
在上述的各个实施例中, 当该用户是包月用户或者其申请的业 务计费模式为按次数计费时, 则计费请求消息中不需要包含时间相 关信息。 在一个变化的实施例中, 计费设备 3 需要根据主叫用户或 被叫用户请求调用或者已经调用的应用服务所持续的时间长度信息 进行计费, 因此, 在步驟 S102中, 应用服务触发网络设备 1需要在 用户请求调用一个应用服务或者请求退出一个应用服务时, 将该应 用服务的请求调用的时间或者请求退出的时间信息包含在提供给计 费触发网络设备 2的应用服务相关信息中。 在步骤 S105中, 计费触发网络设备 2发送至计费设备 3的在线 计费子系统 3a或离线计费系统 3b的在线计费请求消息或离线计费 请求消息中也需要包含该时间信息。 In the foregoing embodiments, when the user is a monthly user or the service charging mode of the application is the number-by-digit charging, the time-related information does not need to be included in the charging request message. In a variant embodiment, the charging device 3 needs to perform charging according to the duration information of the application service that the calling user or the called user requests to invoke or has already invoked. Therefore, in step S102, the application service triggers the network. The device 1 needs to include the time of the request to be invoked by the application service or the time information of the request to be withdrawn in the application service related information provided to the charging trigger network device 2 when the user requests to invoke an application service or requests to exit an application service. In step S105, the time trigger information is also included in the online charging request message or the offline charging request message sent by the charging triggering network device 2 to the online charging subsystem 3a or the offline charging system 3b of the charging device 3.
在上述实施例中, 当应用服务触发网络设备 1 检测到与会话相 关的应用服务, 也即该会话请求调用的或者已经调用的应用服务发 生变化时, 在步骤 S 1 14中, 应用服务触发网络设备 1向计费触发网 络设备 2报告发生变化的应用服务的应用服务相关信息。 在一个变 化的实施例中, 在步骤 S 1 14中, 当应用服务触发网络设备 1发现应 用服务器发生变化, 包括视频服务器 4b请求退出该会话, 而即时消 息服务器 4c请求加入该会话中后, 应用服务触发网络设备 1将变化 后的应用服务器的标识信息提供给计费触发网络设备 2。即应用服务 触发网络设备 1将标识信息为 0001 的音频服务器 4a仍保持在会话 中以及标识信息为 001 1 的即时消息服务器 4c请求加入会话以及该 会话的标识信息发送至计费触发网络设备 2。 则相应地, 计费设备 3 中不需要维护一个会话到目前为止所调用的所有应用服务的序列 表。 而是直接按照变化后的应用服务器的计费请求消息来查找到对 应的应用服务组标识。  In the above embodiment, when the application service triggers the network device 1 to detect the application service related to the session, that is, the application service invoked or invoked by the session request changes, in step S114, the application service triggers the network. The device 1 reports the application service related information of the changed application service to the charging trigger network device 2. In a variant embodiment, in step S114, when the application service triggers the network device 1 to discover that the application server has changed, including the video server 4b requesting to quit the session, and the instant message server 4c requests to join the session, the application The service triggering network device 1 provides the identification information of the changed application server to the charging trigger network device 2. That is, the application service triggers the network device 1 that the audio server 4a whose identification information is 0001 remains in the session and the instant message server 4c whose identification information is 001 1 requests to join the session and the identification information of the session is sent to the charging trigger network device 2. Accordingly, there is no need in the billing device 3 to maintain a sequence listing of all application services invoked by a session so far. Instead, the corresponding application service group identifier is directly found according to the changed application server's charging request message.
在另一个变化的实施例中, 步骤 S 107可以由计费触发网络设备 2来完成, 也即, 计费触发网络设备 2根据表 1或表 2确定需要计费 的一个或多个应用服务器的组合所对应的应用服务器组标识, 并在 步骤 S 105中将该应用服务組标识信息包含在计费请求消息中发送至 计费设备 3。  In another variant embodiment, step S 107 can be performed by the charging trigger network device 2, that is, the charging trigger network device 2 determines one or more application servers that need to be charged according to Table 1 or Table 2. The application server group identifier corresponding to the combination is combined, and the application service group identification information is included in the charging request message and sent to the charging device 3 in step S105.
计费设备 3接收到来自计费触发网络设备 2的计费请求消息, 该计费请求消息中已经包含了应用服务器组标识信息, 则在步骤 S 106中, 计费设备根据计费请求消息中的主叫用户和被叫用户的标 识信息, 判断是否允许该会话调用应用服务组, 若允许, 则在 S 108 中, 计费设备 3 直接根据计费请求消息所包含的应用服务器组标识 信息, 确定价格策略。  The charging device 3 receives the charging request message from the charging trigger network device 2, and the charging server message includes the application server group identification information. Then, in step S106, the charging device according to the charging request message The identification information of the calling user and the called user determines whether the session is allowed to invoke the application service group. If so, in S108, the charging device 3 directly determines the application server group identification information included in the charging request message. Determine the price strategy.
在上述实施例的一个变化的实施例中, 步骤 S105中的计费请求 消息除了包含一个或多个应用服务器的组合所对应的应用服务器组 标识, 还包含该应用 ϋ艮务器组的生成时间和解散时间。 In a variant embodiment of the above embodiment, the charging request in step S105 The message includes the application server group identifier corresponding to the combination of one or more application servers, and also includes the generation time and the dissolution time of the application server group.
则计费设备 3 还根据应用服务器组的生成时间和解散时间, 确 定价格策略。  The charging device 3 also determines the price policy based on the generation time and the dissolution time of the application server group.
在上述各个实施例中, 应用服务触发网络设备 1 和计费触发网 络设备 2是集成在一个网络设备中, 即业务控制交互模块 (SCIM ) 6中, 在一个变化的实施例中, 应用服务触发网络设备 1和计费触发 网络设备 2还可以位于两个分立的网络设备中。  In each of the above embodiments, the application service triggering network device 1 and the charging trigger network device 2 are integrated in a network device, that is, a service control interaction module (SCIM) 6. In a modified embodiment, the application service triggers The network device 1 and the charging trigger network device 2 can also be located in two separate network devices.
图 4是根据本发明一个具体实施例, 通信网络的应用服务触发网 络设备 1 中的中的第一计费控制装置 10、 计费触发网絡设备 2中的 第二计费控制装置 20和计费设备 3 中的第一计费装置 30用于进行 基于应用服务的计费操作的装置框图。  4 is an application service of a communication network triggering a first charging control device 10 in the network device 1, a second charging control device 20 in the charging trigger network device 2, and charging according to an embodiment of the present invention. A first billing device 30 in device 3 is used to perform a device service based billing operation.
图 4所示的第一计费控制装置 10位于以图 1所示的应用服务触发 网络设备 1 中。 第一计费控制装置 10包括笫一获取装置 100、 第一提 供装置 101、检测装置 102、 第二提供装置 103、 第一授权信息接收装置 104和应用服务处理装置 105。 其中, 第一获取装置 100还包括会话请 求消息获取装置 1000、 应用服务确定装置 1001 和计费信息获取装置 1002。  The first charging control device 10 shown in Fig. 4 is located in the application service triggering network device 1 shown in Fig. 1. The first charging control device 10 includes a first obtaining device 100, a first providing device 101, a detecting device 102, a second providing device 103, a first authorization information receiving device 104, and an application service processing device 105. The first obtaining device 100 further includes a session request message acquiring device 1000, an application service determining device 1001, and a charging information acquiring device 1002.
其中,第二计费控制装置 20包括第二获取装置 200、第一判断装置 201、 计费请求生成装置 202、 计费请求发送装置 203、 第二授权信息接 收装置 204和第一授权信息发送装置 205。  The second charging control device 20 includes a second obtaining device 200, a first determining device 201, a charging request generating device 202, a charging request transmitting device 203, a second authorization information receiving device 204, and a first authorization information transmitting device. 205.
其中, 第一计费装置 30包括第一计费请求接收装置 300、应用服务 组标识确定装置 302、 第一价格策略确定装置 303、 第二判断装置 301、 授权信息生成装置 304和笫二授权信息发送装置 305。  The first charging device 30 includes a first charging request receiving device 300, an application service group identification determining device 302, a first price policy determining device 303, a second determining device 301, an authorization information generating device 304, and a second authorization information. Transmitting device 305.
一个用户使用的终端设备支持多媒体电话业务。 该用户请求发 起一个多媒体电话的业务, 因为该用户为会话的发起方, 以下称该 用户为主叫用户, 而将主叫用户所呼叫的另一方称为被叫用户, 在 多媒体电话业务中, 主叫用户和被叫用户均可以在通话的过程中新 增新的媒体业务。 例如, 主叫用户拨打被叫用户的短号码, 请求发 起一个视频电话。 则主叫用户的用户设备生成一个会话请求消息, 其中该会话请求消息包括主叫用户的标识信息和被叫用户的标识信 息, 还包括主叫用户请求的业务的类型, 即 IMS 通信业务标识 ( IMS-Communication-Service-Identifier A VP ) 。 主叫用户的用户设 备将该会话请求消息发送至服务呼叫会话控制功能设备( S-CSCF ) 。 A terminal device used by a user supports multimedia telephony services. The user requests to initiate a multimedia phone service, because the user is the originator of the session, hereinafter referred to as the user as the calling user, and the other party called by the calling user is called the called user. In the multimedia phone service, Both the calling user and the called user can add new media services during the call. For example, the calling user dials the short number of the called user and requests to send Start a video call. The user equipment of the calling user generates a session request message, where the session request message includes the identification information of the calling user and the identification information of the called user, and the type of the service requested by the calling user, that is, the IMS communication service identifier ( IMS-Communication-Service-Identifier A VP ). The user equipment of the calling user sends the session request message to the Serving Call Session Control Function Device (S-CSCF).
服务呼叫会话控制功能设备根据自己的内部逻辑, 判断是否将 该会话请求消息路由至应用服务触发网络设备 1。  The serving call session control function device determines, according to its own internal logic, whether to route the session request message to the application service trigger network device 1.
第一获取装置 100中的会话请求消息获取装置 1000获取到来自 服务呼叫会话控制功能设备 6 的会话请求消息, 该会话请求消息中 包括会话相关标识信息, 即主叫用户的标识信息和被叫用户的标识 信息, 还包括主叫用户请求的 IMS通信业务标识, 其中, 该 IMS通 信业务标识用于标识该会话所请求的业务类型为视频通话业务。  The session request message obtaining apparatus 1000 in the first obtaining apparatus 100 acquires a session request message from the serving call session control function device 6, and the session request message includes session related identifier information, that is, identification information of the calling user and the called user. The identification information further includes an IMS communication service identifier requested by the calling user, where the IMS communication service identifier is used to identify that the service type requested by the session is a video call service.
在本实施例中, 会话请求消息中的会话相关标识信息既包含了 主叫用户的标识信息, 也包含了被叫用户的标识信息。 因为即使是 对主叫计费的情形, 当主叫用户建立本市通话、 国内长途或国际长 途这三种不同类型的通话时, 其收费标准是不同的, 因此, 需要被 叫用户的标识信息以区分不同的资费标准。 在一个变化的实施例中, 例如, 只允许主叫用户拨打市内电话的情形下, 因为该通话不会因 为被叫用户的不同而受到影响, 因此, 会话相关标识信息可以仅包 含主叫用户的标识信息。 同理, 对于被叫用户计费的情形, 若主叫 用户的不同不会影响被叫用户的资费标准, 则同样地, 会话相关标 识信息可以仅包括被叫用户的标识信息。  In this embodiment, the session-related identification information in the session request message includes both the identification information of the calling user and the identification information of the called user. Because even in the case of charging the calling party, when the calling user establishes three different types of calls, such as local call, domestic long distance or international long distance, the charging standard is different, and therefore, the identification information of the called user is required. To distinguish between different tariffs. In a variant embodiment, for example, where only the calling party is allowed to make a local call, since the call is not affected by the called user, the session related identification information may only include the calling user. Identification information. Similarly, in the case of the called user charging, if the difference of the calling user does not affect the tariff standard of the called user, the session related identification information may only include the identification information of the called user.
然后, 应用服务确定装置 1001首先根据该会话倩求消息中的被 叫用户的号码, 例如, 该号码为 6246, 判断出 6246为一个短号码, 并确定该会话需要调用短号码服务器, 于是将该号码路由至短号码 服务器 4d。短号码服务器 4d查找其内部存储的短号码与实际号码之 间的映射表, 以确定该短号码 6246 所对应的实际号码为 13512345678 , 短号码服务器 4d将该实际号码返回至应用服务触发 网络设备 1。 因为该会话调用了短号码服务器 4d所提供的服务, 因 此, 计费信息获取装置 1002获取该应用服务的计费相关信息, 也即 保存该短号码服务器 4d的标识信息 0100。 Then, the application service determining apparatus 1001 first determines that 6246 is a short number according to the number of the called user in the session request message, for example, the number is 6246, and determines that the session needs to call the short number server, and then The number is routed to the short number server 4d. The short number server 4d searches the mapping table between the short number and the actual number stored therein to determine that the actual number corresponding to the short number 6246 is 13512345678, and the short number server 4d returns the actual number to the application service trigger network device 1 . Because the session invokes the service provided by the short number server 4d, In this case, the charging information obtaining means 1002 acquires the charging related information of the application service, that is, the identification information 0100 of the short number server 4d.
应用服务确定装置 1001还根据会话请求消息中的主叫用户请求 的业务, 即视频通话业务, 判断出该会话需要调用音频服务器 4a和 视频服务器 4b ,则应用服务触发网络设备 1允许音频服务器 4a和视 频服务器 4b接收该会话请求消息并响应该会话的调用 , 计费信息获 取装置 1002进一步地分别获取音频服务器 4a的标识信息 0001和视 频服务器 4b的标识信息 0010。  The application service determining apparatus 1001 further determines that the session needs to invoke the audio server 4a and the video server 4b according to the service requested by the calling user in the session request message, that is, the video call service, and the application service triggers the network device 1 to allow the audio server 4a and The video server 4b receives the session request message and responds to the call of the session, and the billing information obtaining means 1002 further acquires the identification information 0001 of the audio server 4a and the identification information 0010 of the video server 4b, respectively.
然后, 第一提供装置 101 将请求调用的应用服务的应用服务相 关信息, 即请求调用的各个应用服务器的标识信息, 包括: 短号码 服务器 4d的标识信息 0100、音频服务器 4a的标识信息 0001和视频 服务器 4b的标识信息 0010,以及主叫用户的标识信息和被叫用户的 标识信息通过内部接口提供给计费触发网络设备 2。  Then, the first providing device 101 will request the application service related information of the application service, that is, the identification information of each application server that is requested to be invoked, including: the identification information 0100 of the short number server 4d, the identification information 0001 of the audio server 4a, and the video. The identification information 0010 of the server 4b, and the identification information of the calling user and the identification information of the called user are provided to the charging trigger network device 2 through the internal interface.
然后, 第二计费控制装置 20中的第二获取装置 200获取了来自 应用服务触发网络设备 1 的应用服务的应用服务相关信息, 即短号 码服务器 4d的标识信息 0100、音频服务器 4a的标识信息 0001和视 频服务器 4b的标识信息 0010 ,以及主叫用户的标识信息和被叫用户 的标识信息。  Then, the second obtaining device 200 in the second charging control device 20 acquires the application service related information of the application service from the application service triggering network device 1, that is, the identification information 0100 of the short number server 4d and the identification information of the audio server 4a. 0001 and the identification information 0010 of the video server 4b, and the identification information of the calling user and the identification information of the called user.
计费触发网络设备 2 内部预存了一个数据库, 保存各个应用服 务器是否需要计费的信息, 第一判断装置 201 查找该数据库, 判断 本次会话请求调用的多个应用服务器是否需要收费。 例如, 在该数 据库中, 根据运营商制定的策略, 计费触发网络设备 2确定调用短 号码服务器 4d不需要收费, 而调用音频服务器 4a和视频服务器 4b 需要进行收费, 且音频服务器 4a和视频服务器 4b均为在线计费的 应用服务器。  The billing trigger network device 2 internally stores a database to store information about whether each application server needs to be billed. The first judging device 201 searches the database to determine whether a plurality of application servers called by the session request need to charge. For example, in the database, according to the policy formulated by the operator, the charging trigger network device 2 determines that calling the short number server 4d does not require charging, and calling the audio server 4a and the video server 4b requires charging, and the audio server 4a and the video server 4b are application servers for online charging.
然后, 计费请求生成装置 202根据需要在线计费的音频服务器 4a和视频服务器 4b的标识信息 0001和 0010和主叫用户和被叫用户 的标识信息生成一个在线计费请求消息。  Then, the charging request generating means 202 generates an online charging request message based on the identification information 0001 and 0010 of the audio server 4a and the video server 4b requiring online charging and the identification information of the calling user and the called user.
计费请求发送装置 203 将该在线计费请求消息通过在线计费接 口 Ro发送至计费设备 3中的在线计费子系统 3a。 The charging request sending device 203 passes the online charging request message through online charging The port Ro is sent to the online charging subsystem 3a in the charging device 3.
第一计费请求接收装置 300 在接收到来自计费触发网络设备 2 的在线计费请求消息后, 第二判断装置 301 获取了在线计费请求消 息中的主叫用户和被叫用户的标识信息, 且在线计费子系统 3a中预 存了主叫用户的在线账户余额信息, 根据该帐户余额信息, 第二判 断装置 301 判断是否允许会话的主叫用户和被叫用户调用在线计费 的音频服务器 4a和视频服务器 4b所提供的应用服务。  After receiving the online charging request message from the charging trigger network device 2, the second determining device 301 obtains the identification information of the calling user and the called user in the online charging request message. And the online account balance system 3a prestores the online account balance information of the calling user. According to the account balance information, the second determining means 301 determines whether the calling party and the called user of the session are allowed to call the online charging audio server. 4a and application services provided by video server 4b.
具体地, 若主叫用户和被叫用户所加入的计费类型为针对应用 服务的发起方进行收费, 也即, 当会话初始建立时或通话过程中, 主叫用户请求调用的应用服务由主叫用户付费; 若通话过程中, 被 叫用户请求调用一个或多个应用服务, 则如果这些应用服务需要计 费, 则由发起该应用服务的被叫用户付费。 因此, 本实施例的会话 中,主叫用户请求调用的在线计费的音频服务器 4a和视频服务器 4b 均由主叫用户负责付费。 第二判断装置 301 判断主叫用户的在线账 户的余额是否足够, 若足够, 例如主叫用户的在线账户的余额高于 —个预定的阈值, 则笫二判断装置 301 判断结果为授权主叫用户和 被叫用户使用其请求的应用服务。  Specifically, if the charging type that the calling user and the called user join is charging for the initiator of the application service, that is, when the session is initially established or during the call, the calling user requests the application service called by the main The user is called to pay; if the called user requests to invoke one or more application services during the call, if the application services need to be charged, the called user who initiated the application service pays. Therefore, in the session of this embodiment, the audio server 4a and the video server 4b of the online charging that the calling user requests to call are all charged by the calling user. The second judging means 301 judges whether the balance of the online account of the calling user is sufficient. If the balance of the online account of the calling user is sufficient, for example, the balance of the online account of the calling user is higher than a predetermined threshold, the judging means 301 judges that the result is an authorized calling user. And the called user uses the application service they requested.
第一计费装置 30中维护了在线计费的应用服务器标识信息和应 用服务器組标识之间的对应关系表, 即表 3。应用服务组标识确定装 置 302根据表 3,可以确定一个或多个应用服务器所組成的应用服务 器组合所对应的用于在线计费的应用服务器组标识。  The first charging device 30 maintains a correspondence table between the application server identification information of the online charging and the application server group identifier, that is, Table 3. The application service group identifier determining device 302 can determine the application server group identifier for online charging corresponding to the application server combination composed of one or more application servers according to Table 3.
表 3  table 3
Figure imgf000023_0001
具体地, 第二判断装置 301 判断结果为允许会话的主叫用户和 被叫用户调用在线计费的音频服务器 4a和视频服务器 4b所提供的 应用服务后, 应用服务组标识确定装置 302 需要根据应用服务器音 频服务器 4a和视频服务器 4b的标识信息, 以及表 1确定其对应的 应用服务器组标识。 本实施例中, 主叫用户发起的会话请求调用应 用服务器标识信息为 0001 的音频服务器 4a和应用服务器标识信息 为 0010的视频服务器 4b所提供的服务, 因此, 应用服务组标识确 定装置 302根据表 3确定该两个在线计费的应用服务器所对应的用 于计费的应用服务器组标识为 III。
Figure imgf000023_0001
Specifically, after the second determining means 301 determines that the calling user of the session and the called user invoke the application service provided by the online charging audio server 4a and the video server 4b, the application service group identification determining means 302 needs to be applied according to the application. The identification information of the server audio server 4a and the video server 4b, and Table 1 determine the corresponding application server group identifier. In this embodiment, the session request initiated by the calling user invokes the service provided by the audio server 4a whose application server identification information is 0001 and the video server 4b whose application server identification information is 0010. Therefore, the application service group identifier determining apparatus 302 according to the table 3: Determine that the application server group identifier for charging corresponding to the two online charging application servers is III.
然后第一价格策略确定装置 303根据该应用服务器组标识 III, 确定价格策略。 具体地, 第一价格策略确定装置 303根据该应用服 务器组标识 III, 确定其对应的费用计算规则, 包括是否运用促销计 划, 打折计划, 奖励计划等。 不同的应用服务器组标识会影响费用 计算规则, 以下仅为一个示例: 标识为 I的应用服务组 I对应的计费 单价为单价 1(也即, 费率为单价 1 , 每分钟的计费为单价 1), 标识 为 II的应用服务组 II对应的计费单价为单价 2(也即,费率为羊价 2, 每分钟的计费为单价 2), 标识为 III的应用服务组 III对应的计费单 价为单价 3(也即, 费率为单价 3, 每分钟的计费为单价 3)。 这些具 体的费用计算规则, 可以由网絡运营商根据具体的网络运营状况进 行设定, 也可以是第一计费装置 30在运营的过程中自动调整。  The first price policy determining means 303 then determines a price policy based on the application server group identification III. Specifically, the first price policy determining means 303 determines its corresponding fee calculation rule according to the application server group identifier III, including whether to use a promotion plan, a discount plan, a bonus plan, and the like. Different application server group IDs affect the cost calculation rule. The following is only an example: The billing unit price corresponding to the application service group I identified as I is unit price 1 (that is, the rate is unit price 1, and the billing per minute is Unit price 1), the billing unit price corresponding to the application service group II identified as II is unit price 2 (that is, the rate is the sheep price 2, the billing per minute is the unit price 2), and the application service group III corresponding to the ID III corresponds. The unit price for billing is unit price 3 (that is, the rate is unit price 3, and the billing per minute is unit price 3). These specific cost calculation rules can be set by the network operator according to the specific network operation status, or the first charging device 30 can be automatically adjusted during the operation.
因此, 授权信息生成装置 304 生成应用服务的授权相关信息, 包括授权主叫用户和被叫用户使用其请求的应用服务器音频服务器 4a和视频服务器 4b以及估算的允许通话的时间长度信息。  Therefore, the authorization information generating means 304 generates authorization related information of the application service, including authorizing the calling server and the called user to use the application server audio server 4a and the video server 4b requested by the called party and the estimated time length information of the permitted call.
在一个变化的实施例中, 授权相关信息仅包括授权主叫用户和 被叫用户使用其请求的应用服务器音频服务器 4a和视频服务器 4b。 如果用户为按次计费或包月用户, 则授权相关信息中可以不包含时 间长度信息。  In a variant embodiment, the authorization related information only includes the application server audio server 4a and video server 4b that authorize the calling and called users to use their request. If the user is a pay-per-view or monthly user, the time-length information may not be included in the authorization related information.
然后, 第二授权信息发送装置 305 将该授权相关信息发送至计 费触发网络设备 2。 第二计费控制装置 20中的第二授权信息接收装置 204接收来自 笫二授权信息发送装置 305 的对应用服务的授权相关信息后, 第一 授权信息发送装置 205向第一计费控制装置 10中的笫一授权信息接 收装置 104提供该应用服务的授权相关信息。 Then, the second authorization information transmitting means 305 transmits the authorization related information to the charging trigger network device 2. After the second authorization information receiving device 204 in the second charging control device 20 receives the authorization related information for the application service from the second authorization information transmitting device 305, the first authorization information transmitting device 205 sends the first authorization information transmitting device 205 to the first charging control device 10. The first authorization information receiving device 104 provides the authorization related information of the application service.
第一计费控制装置 10中的第一授权信息接收装置 104接收到来 自计费触发网络设备 2 的应用服务的授权相关信息, 也即允许主叫 用户和被叫用户使用应用服务器音频服务器 4a和视频服务器 4b所 提供的应用服务。 在经过在线计费子系统的授权准许后, 应用服务 处理装置 105允许主叫用户和被叫用户使用授权的应用服务。  The first authorization information receiving device 104 in the first charging control device 10 receives the authorization related information from the application service of the charging trigger network device 2, that is, allows the calling user and the called user to use the application server audio server 4a and The application service provided by the video server 4b. After being authorized by the online charging subsystem, the application service processing device 105 allows the calling user and the called user to use the authorized application service.
当一个会话持续了一段时间后, 由于该会话的计费用户账户余 额不足等原因被第一计费装置 30终止会话时, 第一计费装置 30确 定实际的费率 (例如一分钟计费多少钱), 并基于实际通话时长, 决 定实际通话费用, 并将会话结束的消息返回给主叫用户和被叫用户; 当一个会话由主叫用户或被叫用户终止时, 第一计费装置 30确定实 际的费率, 并基于实际通话时长, 确定实际通话费用。  When a session continues for a period of time, the first charging device 30 determines the actual rate (e.g., how much is charged in one minute) when the first charging device 30 terminates the session due to insufficient balance of the charging user account for the session. Money), and based on the actual call duration, determine the actual call charge, and return the message of the end of the session to the calling user and the called user; when a session is terminated by the calling user or the called user, the first charging device 30 Determine the actual rate and determine the actual call cost based on the actual call duration.
在上述实施例中, 第一计费装置 30中的第二判断装置 301判断 主叫用户的在线账户的余额高于一个预定的阈值, 则授权主叫用户 和被叫用户使用其请求的应用服务。 在一个变化的实施例中, 第二 判断装置 301 判断主叫用户的在线账户中余额不足, 则授权信息生 成装置 304生成一个授权相关信息, 其中包括不允许主叫用户和被 叫用户使用请求的应用服务器所提供的应用服务。  In the above embodiment, the second determining means 301 in the first charging device 30 determines that the balance of the online account of the calling user is higher than a predetermined threshold, and authorizes the calling user and the called user to use the requested application service. . In a variant embodiment, the second determining means 301 determines that the balance in the online account of the calling user is insufficient, and the authorization information generating means 304 generates an authorization related information, which includes not allowing the calling user and the called user to use the request. Application services provided by the application server.
则第二授权信息发送装置 305 将该授权相关信息发送至第二授 权信息接收装置 204。  Then, the second authorization information transmitting means 305 transmits the authorization related information to the second authorization information receiving means 204.
进一步地, 第二授权信息接收装置 204接收来自第二授权信息 发送装置 305 的对应用服务的授权相关信息后, 第一授权信息发送 装置 205 将对该应用服务的授权相关信息提供给第一计费控制装置 10 中的第一授权信息接收装置 104, 其中, 对该应用服务的授权相 关信息包括不允许用户使用其请求的应用服务器音频服务器 4a和视 频服务器 4b所提供的应用服务, 因此, 该会话请求消息被应用服务 处理装置 105所终止, 不会被庶用服务处理装置 105路由至被叫用 户处, 因此, 该会话不能建立。 Further, after the second authorization information receiving device 204 receives the authorization related information about the application service from the second authorization information transmitting device 305, the first authorization information transmitting device 205 provides the authorization related information of the application service to the first meter. The first authorization information receiving device 104 in the fee control device 10, wherein the authorization related information for the application service includes an application service provided by the application server audio server 4a and the video server 4b that the user is not allowed to use the request, and therefore, Session request message is applied to the service The processing device 105 terminates and is not routed by the service processing device 105 to the called user, and therefore, the session cannot be established.
在上述实施例中, 主叫用户仅发起一次会话请求消息, 在一个 变化的实施例中, 主叫用户或被叫用户还可以在建立会话后, 更改 其所请求调用的应用月1务, 以下以主叫用户请求更改调用的应用月 务为例进行说明, 对于被叫用户在通话过程中请求更改调用的应用 服务的情形与主叫用户类似, 在此不予赘述。 仍参照图 4, 检测装置 102检测已调用的应用服务器是否发生变化, 也即, 是否主叫用户或 被叫用户还请求调用除了已调用的音频服务器 4a 和视频服务器 4b 以外的新的应用服务器, 或者主叫用户或被叫用户请求终止已调用 的音频服务器 4a和 /或视频服务器 4b。  In the above embodiment, the calling user only initiates a session request message. In a modified embodiment, the calling user or the called user may also change the application month requested by the calling user after the session is established. The application user requests the change of the called application monthly service as an example. The case where the called user requests to change the invoked application service during the call is similar to the calling user, and details are not described herein. Still referring to FIG. 4, the detecting means 102 detects whether the called application server has changed, that is, whether the calling user or the called user also requests to call a new application server other than the called audio server 4a and the video server 4b. Either the calling user or the called user requests termination of the called audio server 4a and/or video server 4b.
如果主叫用户请求退出视频服务, 同时调用新的即时消息服务, 则主叫用户的用户设备向 S-CSCF发送一个会话请求消息,其中包括 退出视频服务以及请求调用即时消息服务的信息。 S-CSCF将该会话 请求消息转发给第一计费控制装置 10。 检测装置 102发现应用服务 器发生变化, 包括视频服务器 4b请求退出该会话, 即时消息服务器 4c请求加入该会话中。则第二提供装置 103将标识信息为 0010的视 频服务器 4b请求退出会话以及标识信息为 001 1 的即时消息服务器 4c请求加入会话以及该会话的标识信息发送至计费触发网络设备 2。  If the calling user requests to quit the video service and simultaneously invokes a new instant messaging service, the calling user's user equipment sends a session request message to the S-CSCF, including the exit video service and the request to invoke the instant messaging service. The S-CSCF forwards the session request message to the first charging control device 10. The detecting means 102 finds that the application server has changed, including the video server 4b requesting to quit the session, and the instant message server 4c requests to join the session. Then, the second providing device 103 requests the video server 4b whose identification information is 0010 to request to exit the session, and the instant message server 4c whose identification information is 001 1 requests the joining session and the identification information of the session is sent to the charging trigger network device 2.
然后, 第二获取装置 200获取来自应用服务触发网络设备 1 的 应用服务器的应用服务相关信息, 即终止调用标识信息为 0010的视 频服务器 4b ,新请求调用标识信息为 001 1的即时消息服务器 4c后, 笫一判断装置 201 判断该两个应用服务器是否需要计费。 根据内部 维护的需要计费的应用服务器的列表, 第一判断装置 201 确定视频 服务器 4b为需要计费的应用服务器, 且为在线计费的应用服务器; 计费触发网络设备 2确定即时消息服务器为需要计费的应用服务器, 且为离线计费的应用服务器。  Then, the second obtaining device 200 acquires the application service related information from the application server of the application service trigger network device 1, that is, the video server 4b that terminates the call identifier information is 0010, and the new request to call the instant message server 4c with the identifier information 001 1 The first judging device 201 judges whether the two application servers need to be charged. The first determining device 201 determines that the video server 4b is an application server that needs to be charged, and is an application server for online charging; the charging triggering network device 2 determines that the instant messaging server is the list of application servers that are charged for internal maintenance. An application server that needs to be billed, and an application server that is offline charging.
计费请求生成装置 202根据终止调用标识信息为 0010的视频服 务器 4b生成一个在线计费请求消息, 并根据新请求调用标识信息为 W The charging request generating means 202 generates an online charging request message according to the video server 4b that terminates the calling identification information is 0010, and invokes the identification information according to the new request. W
0011的即时消息服务器 4c, 生成一个离线计费请求消息。 The instant message server 4c of 0011 generates an offline charging request message.
计费请求发送装置 203通过在线计费接口 Ro将该在线计费请求 消息发送至在线计费子系统 3a,并通过离线计费接口 Rf将该离线计 费请求消息发送至离线计费子系统 3b。  The charging request sending means 203 sends the online charging request message to the online charging subsystem 3a via the online charging interface Ro, and transmits the offline charging request message to the offline charging subsystem 3b via the offline charging interface Rf. .
在本实施例中, 当生成一个离线计费请求消息时, 计费请求发 送装置 203就立即将该离线计费请求消息通过 Rf接口发送至离线计 费子系统 3b中, 上述的离线计费消息发送离线计费请求消息的时机 仅为一个示例。 在实际的计费系统中, 离线计费请求消息发送的时 机在 DIAMETER协议中有相关的规定。 对于 DIAMTER协议, 参考 http:〃 www.ietf.org/rfc/rfc3588.txt , 对于 Rf 接口 的规定, 参考 http://www.3gpp.org/ftp/Specs/html-info/32299.htm 。 Rf 接口支持基 于 DIAMTER协议的离线计费请求消息, 离线计费请求消息的状态 包括开始( start ) , 过渡时间( interim )和停止( stop )和事件( event ) 等。  In this embodiment, when an offline charging request message is generated, the charging request sending device 203 immediately sends the offline charging request message to the offline charging subsystem 3b through the Rf interface, and the offline charging message is used. The timing of sending an offline charging request message is only an example. In the actual billing system, the timing of the offline charging request message transmission has relevant provisions in the DIAMETER protocol. For the DIAMTER protocol, refer to http:〃 www.ietf.org/rfc/rfc3588.txt. For the Rf interface specification, refer to http://www.3gpp.org/ftp/Specs/html-info/32299.htm. The Rf interface supports the offline charging request message based on the DIAMTER protocol. The status of the offline charging request message includes start, interim, stop, and event.
第一计费请求接收装置 300 分别接收来自计费请求发送装置 The first charging request receiving device 300 receives the charging request transmitting device separately
203 的在线计费请求消息和离线计费请求消息。 在第一计费装置 30 中, 维护了一个会话到目前为止所调用的所有应用服务的序列表, 因此, 第一计费装置 30知晓该会话当前已调用的所有应用服务器。 根据该序列表, 在需要在线计费的应用服务中, 第一计费装置 30知 晓会话终止调用标识信息为 0010的视频服务器 4b,则当前会话只调 用标识信息为 0001 的音频服务器 4a, 第一计费装置 30查找表 3 , 第一计费装置 30中的应用服务组标识确定装置 302确定会话所调用 的标识信息为 0001 的服务器所对应的应用服务器组标识为 L 则在 第一价格策略确定装置 303根据该应用服务器组标识 I。 203 online charging request message and offline charging request message. In the first charging device 30, a sequence table of all application services called up to one session is maintained, and therefore, the first charging device 30 knows all the application servers that the session has currently called. According to the sequence table, in the application service that requires online charging, the first charging device 30 knows that the session termination call identification information is 0010, and the current session only calls the audio server 4a whose identification information is 0001. The charging device 30 looks up the table 3, and the application service group identifier determining device 302 in the first charging device 30 determines that the application server group identifier corresponding to the server whose identification information is 0001 is L is determined in the first price policy. The device 303 identifies the I according to the application server group.
第一计费装置 30中维护了离线计费的应用服务器标识信息和应 用服务器组标识之间的对应关系表, 即表 4。 根据表 4, 离应用服务 組标识确定装置 302 可以确定一个或多个离线计费的应用服务器所 組成的应用服务器组合所对应的用于计费的应用服务器组标识。 表 4 The first charging device 30 maintains a correspondence table between the application server identification information of the offline charging and the application server group identifier, that is, Table 4. According to Table 4, the off application service group identifier determining means 302 can determine the application server group identifier for billing corresponding to the application server combination composed of one or more offline billing application servers. Table 4
Figure imgf000028_0001
应用服务组标识确定装置 302根据即时消息服务器 4c的标识信 息 0011 , 查找表 4, 确定其所对应的用于计费的应用服务器组标识 为 i。
Figure imgf000028_0001
The application service group identifier determining means 302 determines, according to the identification information 0011 of the instant message server 4c, the lookup table 4, and determines that the corresponding application server group identifier for charging is i.
然后, 第一价格策略确定装置 303根据该应用服务器組标识 i, 确定价格策略。 具体地, 第一价格策略确定装置 303根据该应用服 务器组标识 i, 确定其对应的费用计算规则,包括是否运用促销计划, 打折计划, 奖励计划等。 不同的应用服务器组标识会影响费用计算 规则, 以下仅为一个示例: 标识为 i的应用^ ^务组 i对应的计费单价 为单价 a, 标识为 ii的应用服务组 ii对应的计费单价为单价 b, 标识 为 iii的应用服务组 iii对应的计费单价为单价。。 这些具体的费用计 算规则, 可以由网络运营商根据具体的网络运营状况进行设定, 也 可以是计费设备 3在运营的过程中自动调整。  Then, the first price policy determining means 303 determines the price policy based on the application server group identifier i. Specifically, the first price policy determining means 303 determines the corresponding fee calculation rule according to the application server group identifier i, including whether to use the promotion plan, the discount plan, the reward plan, and the like. Different application server group IDs affect the cost calculation rule. The following is only an example: The unit price of the application corresponding to i is the unit price a, and the unit price corresponding to the application service group ii identified as ii For the unit price b, the billing unit price corresponding to the application service group iii identified as iii is the unit price. . These specific cost calculation rules can be set by the network operator according to the specific network operation status, or the charging device 3 can be automatically adjusted during the operation.
对于离线计费的应用服务器, 因为计费信息不会实时地影响为 主叫用户和 /或被叫用户所提供的应用服务, 因此对于离线计费, 第 二判断装置 301、 授权信息生成装置 304 和第二授权信息发送装置 305可以省略。  For the offline charging application server, since the charging information does not affect the application service provided by the calling user and/or the called user in real time, the second determining device 301 and the authorization information generating device 304 for offline charging And the second authorization information transmitting means 305 can be omitted.
第一价格策略确定装置 303 还根据该在线计费的应用服务器组 标识 I, 确定在线计费的价格策略。  The first price policy determining means 303 also determines a price policy for online charging based on the application server group identifier I of the online charging.
此后, 授权信息生成装置 304和第二授权信息发送装置 305重 复执行各自的步骤, 因在上文中已经进行了说明, 因此在此不予赘 述。 Thereafter, the authorization information generating means 304 and the second authorization information transmitting means 305 repeatedly perform the respective steps, as explained above, and therefore will not be referred to herein. Said.
在上述实施例中, 检测装置 102 所检测到的发生变化的应用服 务即包舍离线计费的应用服务, 也包含在线计费的应用服务; 在一 个变化的实施例中, 在会话初始阶段请求调用或会话过程中新调用 的应用服务仅包含离线计费的应用服务, 在该情形下, 上述实施例 中, 第二计费控制装置 20中的第二授权信息接收装置 204、 第一授 权信息发送装置 205以及第一计费装置 30中的第二判断装置 301、 授权信息生成装置 304和笫二授权信息发送装置 305可以省略。  In the above embodiment, the application service that is detected by the detecting device 102, that is, the application service that is offline charging, also includes the online charging application service; in a modified embodiment, the request is in the initial phase of the session. The newly invoked application service during the call or session only includes the offline charging application service. In this case, in the above embodiment, the second authorization information receiving device 204 in the second charging control device 20, the first authorization information The transmitting device 205 and the second determining device 301, the authorization information generating device 304, and the second authorization information transmitting device 305 of the first charging device 30 may be omitted.
在上述的各个实施例中, 当该用户是包月用户或者其申请的业 务计费模式为按次数计费时, 则计费请求消息中不需要包含时间相 关信息。 在一个变化的实施例中, 第一计费装置 30需要根据主叫用 信 进行计费, 因'此, ^一提供装置 10^和第二提供装置 103需 ^ 在用户请求调用一个应用服务或者请求退出一个应用服务时, 将该 应用服务的请求调用的时间或者请求退出的时间信息包含在提供给 第二获取装置 200的应用服务相关信息中。  In the foregoing embodiments, when the user is a monthly user or the service charging mode of the application is the number-by-digit charging, the time-related information does not need to be included in the charging request message. In a variant embodiment, the first charging device 30 needs to perform charging according to the calling party's mail, because 'therefore, the first providing device 10^ and the second providing device 103 need to call an application service or When requesting to quit an application service, the time at which the request of the application service is invoked or the time information at which the request is logged out is included in the application service related information provided to the second obtaining device 200.
且计费请求发送装置 203发送至第一计费请求接收装置 300的 在线计费请求消息或离线计费请求消息中也需要包含该时间信息。  The time information is also required to be included in the online charging request message or the offline charging request message sent by the charging request transmitting device 203 to the first charging request receiving device 300.
在上述实施例中, 当检测装置 102检测到与会话相关的应用服 务, 也即该会话请求调用的或者已经调用的应用服务发生变化时, 第二提供装置 103向计费触发网络设备 2报告发生变化的应用服务 的应用服务相关信息。 在一个变化的实施例中, 当当检测装置 102 发现应用服务器发生变化, 包括视频服务器 4b请求退出该会话, 而 即时消息服务器 4c请求加入该会话中后, 第二提供装置 103还用于 将变化后的应用服务器的标识信息提供给计费触发网络设备 2。即第 二提供装置 103将标识信息为 0001 的音频服务器 4a仍保持在会话 中以及标识信息为 001 1 的即时消息服务器 4c请求加入会话以及该 会话的标识信息发送至笫二获取装置 200。 则相应地, 第一计费装置 30 中不需要维护一个会话到目前为止所调用的所有应用服务的序列 表。 而是直接按照变化后的应用服务器的计费请求消息来查找到对 应的应用 务组标识。 In the above embodiment, when the detecting device 102 detects the application service related to the session, that is, the application service invoked or invoked by the session request changes, the second providing device 103 reports the occurrence to the charging trigger network device 2 Information about application services for changing application services. In a variant embodiment, when the detecting means 102 finds that the application server has changed, including the video server 4b requesting to quit the session, and the instant messaging server 4c requests to join the session, the second providing means 103 is also used to change the The identification information of the application server is provided to the charging trigger network device 2. That is, the second providing means 103 requests the instant messaging server 4c whose identification information is 0001 to remain in the session and the identification information is 001 1 to request the joining session and the identification information of the session to be sent to the second obtaining means 200. Accordingly, the first charging device 30 does not need to maintain a sequence of all application services invoked by a session so far. Table. Instead, the corresponding application group identifier is directly found according to the changed accounting request message of the application server.
在另一个变化的实施例中, 应用服务组标识确定装置 302 可以 位于第二计费控制装置 20中, 也即, 第二计费控制装置 20 中的应 用服务组标识确定装置 302根据表 3或表 4确定需要计费的一个或 多个应用服务器的组合所对应的应用服务器组标识, 则计费请求发 送装置 203发送的计费请求消息中包含该应用服务组标识信息。  In another variant embodiment, the application service group identification determining means 302 may be located in the second charging control means 20, that is, the application service group identification determining means 302 in the second charging control means 20 according to Table 3 or Table 4 determines the application server group identifier corresponding to the combination of one or more application servers that need to be charged, and the charging request message sent by the charging request sending device 203 includes the application service group identification information.
然后, 第二计费请求接收装置 (图中未示出) 接收到来自计费 请求发送装置 203 的计费请求消息, 该计费请求消息中已经包含了 应用服务器组标识信息, 则第二价格策略确定装置 (图中未示出) 直接根据计费请求消息所包含的应用服务器组标识信息, 确定价格 策略。  Then, the second charging request receiving device (not shown) receives the charging request message from the charging request sending device 203, where the charging server message already contains the application server group identification information, then the second price The policy determining means (not shown) directly determines the price policy based on the application server group identification information included in the charging request message.
在一个变化的实施例中, 计费请求发送装置 203 所发送的计费 请求消息除了包含个或多个应用服务器的组合所对应的应用服务器 组标识, 还包含该应用服务器组的生成时间和解散时间。  In a variant embodiment, the charging request message sent by the charging request sending device 203 includes the application server group identifier corresponding to the combination of one or more application servers, and the generation time and dissolution of the application server group. time.
则计费设备 3 还根据应用服务器组的生成时间和解散时间, 确 定价格策略。  The charging device 3 also determines the price policy based on the generation time and the dissolution time of the application server group.
在上述各个实施例中, 第一计费控制装置 10和第二计费控制装 置 20是集成在一个网络设备中, 即业务控制交互模块( SCIM ) 6中。 在一个变化的实施例中, 第一计费控制装置 10和第二计费控制装置 20还可以位于两个分立的网络设备中。  In each of the above embodiments, the first charging control device 10 and the second charging control device 20 are integrated in a network device, i.e., a Service Control Interaction Module (SCIM) 6. In a variant embodiment, the first charging control device 10 and the second charging control device 20 may also be located in two separate network devices.
以上对本发明的实施例进行了描述, 但是本发明并不局限于特 定的系统、 设备和具体协议, 本领域内技术人员可以在所附权利要 求的范围内做出各种变形或修改。  The embodiments of the present invention have been described above, but the present invention is not limited to the specific systems, equipment, and specific protocols, and various modifications and changes can be made by those skilled in the art within the scope of the appended claims.

Claims

权 利 要 求 书 Claim
1. 一种在通信网络的应用服务触发网络设备中用于控制计费的 方法, 其中, 包括以下步骤: A method for controlling charging in an application service triggering network device of a communication network, comprising the following steps:
a. 获取与一个会话相关的一个或多个应用服务中的所述会话请 求调用的一个或多个应用服务中的每一个的应用服务相关信息, 以 及所述会话相关标识信息;  a. acquiring application service related information of each of the one or more application services invoked by the session request in one or more application services related to a session, and the session related identification information;
b. 将所述请求调用的一个或多个应用服务的应用服务相关信息 以及所述会话相关标识信息提供给计费触发网络设备。  b. providing application service related information of the one or more application services invoked by the request and the session related identification information to the charging trigger network device.
2. 根据权利要求 1所述的方法, 其特征在于, 所述步骤 b之后 还包括以下步骤:  2. The method according to claim 1, wherein the step b further comprises the following steps:
c. 检测与所述会话相关的一个或多个应用服务是否发生变化; d. 若与所述会话相关的一个或多个应用服务中的一个或多个应 用服务发生变化, 则将发生变化的一个或多个应用服务的应用服务 相关信息以及所述会话的相关标识信息提供给所述计费触发网络设 备。  c. detecting whether one or more application services associated with the session have changed; d. changing if one or more of the one or more application services associated with the session change Application service related information of one or more application services and related identification information of the session are provided to the charging trigger network device.
3. 根据权利要求 1所述的方法, 其特征在于, 所述步驟 b之后 还包括以下步骤:  The method according to claim 1, wherein the step b further comprises the following steps:
c,. 检测与所述会话相关的一个或多个应用服务是否发生变化; d,. 若与所述会话相关的一个或多个应用服务中的一个或多个 应用服务发生变化, 则将变化后的一个或多个应用服务的应用服务 相关信息以及所述会话的相关标识信息提供给所述计费触发网络设 备。  c, detecting whether the one or more application services related to the session change; d, changing if one or more application services of the one or more application services related to the session change The application service related information of the one or more application services and the related identification information of the session are provided to the charging trigger network device.
4. 根据权利要求 2或 3所述的方法, 其特征在于, 与所述会话 项:  4. Method according to claim 2 or 3, characterized in that, with the session item:
- 所述会话请求调用新的一个或多个应用服务;  - the session request invokes a new one or more application services;
- 所述会话终止一个或多个已调用的应用服务。  - The session terminates one or more invoked application services.
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所 述步驟 a还包括以下步骤: The method according to any one of claims 1 to 4, characterized in that Step a also includes the following steps:
al . 获取所述会话的会话请求消息, 其中该会话请求消息包括所 请求的业务相关信息以及所述会话相关标识信息;  Obtaining a session request message of the session, where the session request message includes the requested service related information and the session related identification information;
a2. 根据所述业务相关信息, 确定所述请求调用的多个应用服 务;  A2. determining, according to the service related information, multiple application services invoked by the request;
a3. 获取所述请求调用的多个应用服务中每个应用服务的应用 服务相关信息。  A3. Obtain application service related information of each application service among the multiple application services invoked by the request.
6. 根据权利要求 5所述的方法, 其特征在于, 所述会话请求消 息包括基于以下各项中任一项协议的会话请求消息:  The method according to claim 5, wherein the session request message comprises a session request message based on any one of the following:
- 会话 刀始协议;  - Session knife start agreement;
- 增强型逻辑的客户化应用的应用部分;  - Application part of the customized application of enhanced logic;
- ISDN用户部分;  - ISDN user part;
- CDMA无线智能网协议。  - CDMA Wireless Intelligent Network Protocol.
7. 根据权利要求 1所述的方法, 其特征在于, 所述应用服务包 括一个或多个在线计费的应用服务, 所述步骤 b之后还包括以下步 骤:  The method according to claim 1, wherein the application service comprises one or more online charging application services, and the step b further comprises the following steps:
- 接收来自计费触发网络设备的对所述一个或多个在线计费的 应用服务的授权相关信息;  Receiving authorization related information for the one or more online charging application services from the charging trigger network device;
- 根据所述一个或多个在线计费的应用服务的授权相关信息,相 应地授权或终止调用所述一个或多个在线计费的应用服务。  - correspondingly authorizing or terminating the one or more online charging application services based on the authorization related information of the one or more online charging application services.
8. 根据权利要求 1至 7中任一项所述的方法, 其特征在于, 所 述每个应用服务的应用服务相关信息包括以下各项中的任一项: The method according to any one of claims 1 to 7, wherein the application service related information of each application service comprises any one of the following:
- 该应用 ^^务的标识信息; - the identification information of the application ^^ service;
- 该应用服务的标识信息与该应用服务调用开始时间或调用终 止时间;  - the identification information of the application service and the application service start time or the call termination time;
所述与一个会话相关的应用服务包括所述会话请求调用的应用 服务和 /或所述会话已经调用的应用服务。  The application service related to one session includes an application service invoked by the session request and/or an application service that the session has invoked.
9.一种在通信网络的计费触发网络设备中用于控制计费的方法, 其中, 包括以下步骤: A. 获取来自应用服务触发网络设备的与一个会话相关的一个或 多个应用服务中的一个或多个应用服务的应用服务相关信息, 以及 所述会话相关标识信息; A method for controlling charging in a charging trigger network device of a communication network, comprising the steps of: Obtaining, from the application service triggering network device, application service related information of one or more application services of one or more application services related to one session, and the session related identification information;
B. 根据所述一个或多个应用服务中的一个或多个应用服务的应 用服务相关信息, 判断所述一个或多个应用服务中的一个或多个应 用服务是否需要计费;  Determining, according to application service related information of one or more application services of the one or more application services, whether one or more application services of the one or more application services need to be charged;
C. 若所述一个或多个应用服务中的一个或多个应用服务需要计 费, 则根据需要计费的一个或多个应用服务的应用服务相关信息以 及所述会话相关标识信息来生成计费请求消息;  C. If one or more application services of the one or more application services require charging, generating, according to application service related information of one or more application services that need to be charged, and the session related identification information Fee request message;
D. 将所述计费请求消息发送至计费设备。  D. Send the charging request message to the charging device.
10. 根据权利要求 9所述的方法, 其特征在于, 所述计费请求消 息中包括以下各项中的任一项:  The method according to claim 9, wherein the charging request message includes any one of the following items:
- 所述需要计费的一个或多个应用服务的应用服务相关信息以 及所述会话相关标识信息;  - application service related information of one or more application services that need to be charged, and the session related identification information;
- 本计费触发网络设备中还预存有多个应用服务组标识, 其中, 每个应用组标识对应于该应用服务組标识所标识的应用服务组所包 括的一个或多个应用服务的标识, 所述计费请求消息中包括与所述 需要计费的一个或多个应用服务对应的应用服务组标识信息。  - the plurality of application service group identifiers are pre-stored in the network device, wherein each application group identifier corresponds to an identifier of one or more application services included in the application service group identified by the application service group identifier. The charging request message includes application service group identification information corresponding to the one or more application services that need to be charged.
1 1. 根据权利要求 9或 10所述的方法, 其特征在于, 所述需要 计费的一个或多个应用服务包括一个或多个在线计费应用服务, 所 述步骤 C还包括:  1 . The method according to claim 9 or 10, wherein the one or more application services that need to be charged include one or more online charging application services, and the step C further includes:
- 根据所述一个或多个在线计费的应用服务的应用服务相关信 息以及所述会话相关标识信息, 生成在线计费请求消息;  Generating an online charging request message according to the application service related information of the one or more online charging application services and the session related identification information;
所述步骤 D还包括:  The step D further includes:
- 将所述在线计费请求消息通过在线计费接口发送至所述计费 设备;  Transmitting the online charging request message to the charging device via an online charging interface;
所述步骤 D之后还包括以下步骤:  The step D further includes the following steps:
I. 接收来自所述计费设备的对所述一个或多个在线计费的应用 服务的授权相关信息, 其中, 所述授权相关信息用于确定是否允许 用户使用所述一个或多个在线计费的应用服务以及授权使用所述一 个或多个在线计费的应用服务的时间长度信息; I. receiving authorization related information from the charging device for the one or more online charging application services, wherein the authorization related information is used to determine whether to allow The user uses the one or more online charging application services and time length information of an application service authorized to use the one or more online charging;
II. 向所述应用服务触发网絡设备返回来自所述计费系统的所述 一个或多个在线计费的应用服务的授权相关信息。  II. Initiating, to the application service, the network device to return authorization related information of the one or more online charging application services from the charging system.
12. 根据权利要求 9或 10所述的方法, 其特征在于, 所述需要 计费的一个或多个应用服务包括一个或多个离线计费应用服务, 所 述步骤 C还包括:  The method according to claim 9 or 10, wherein the one or more application services that need to be charged include one or more offline charging application services, and the step C further includes:
- 根据所述一个或多个离线计费的应用服务的应用服务相关信 息以及会话相关标识信息, 生成离线计费请求消息;  Generating an offline charging request message according to the application service related information of the one or more offline charging application services and the session related identification information;
所述步骤 D还包括:  The step D further includes:
- 根据预定规则,将所述离线计费请求消息通过离线计费接口发 送至所述计费设备。  - transmitting the offline charging request message to the charging device via an offline charging interface in accordance with a predetermined rule.
13. 根据权利要求 12所述的方法, 其特征在于, 所述预定规则 包括 DIAMETER协议。  13. The method of claim 12, wherein the predetermined rule comprises a DIAMETER protocol.
14. 根据权利要求 9至 13 中任一项所述的方法, 其特征在于, 所述每个应用服务的应用服务相关信息包括以下各项中的任一项: The method according to any one of claims 9 to 13, wherein the application service related information of each application service comprises any one of the following:
- 该应用月良务的标识信息; - the identification information of the application month;
- 该应用服务的标识信息与该应用服务调用开始时间或调用终 止时间;  - the identification information of the application service and the application service start time or the call termination time;
所述与一个会话相关的应用服务包括所述会话请求调用的应用 服务和 /或所述会话已经调用的应用服务。  The application service related to one session includes an application service invoked by the session request and/or an application service that the session has invoked.
15. 一种在通信网络的计费设备中用于控制计费的方法, 其特征 在于, 本计费设备中预存有多个应用服务组标识, 其中, 每个应用 組标识对应于该应用服务组标识所标识的应用 艮务组所包括的一个 或多个应用服务的标识, 该方法包括以下步骤:  A method for controlling charging in a charging device of a communication network, wherein: the charging device pre-stores a plurality of application service group identifiers, wherein each application group identifier corresponds to the application service The identifier of one or more application services included in the application service group identified by the group identifier, the method includes the following steps:
0. 接收来自计费触发网络设备的计费请求消息, 所述计费请求 消息中包括与一个会话相关的需要计费的一个或多个应用服务的应 用服务相关信息以及所述会话相关标识信息;  Receiving an accounting request message from the charging trigger network device, where the charging request message includes application service related information of one or more application services that need to be charged related to one session, and the session related identification information. ;
P. 根据所述需要计费的一个或多个应用服务的应用服务相关信 息, 确定与所述需要计费的一个或多个应用服务相对应的应用服务 组标识; P. Application service related information of one or more application services that are charged according to the need Determining an application service group identifier corresponding to the one or more application services that need to be billed;
Q. 根据所述应用服务组标识, 确定价格策略。  Q. Determine the price policy based on the application service group identity.
16. 根据权利要求 15所述的方法, 其特征在于, 所述计费请求 消息包括在线计费请求消息, 所述在线计费请求消息中包括一个会 话所调用的一个或多个在线计费的应用服务的应用服务相关信息以 及所述会话相关标识信息; 所述步骤 0之后还包括:  The method according to claim 15, wherein the charging request message includes an online charging request message, where the online charging request message includes one or more online chargings invoked by a session. The application service related information of the application service and the session related identification information; after the step 0, the method further includes:
R, 根据所述在线计费请求消息, 判断是否允许该会话的主叫或 被叫用户使用所述一个或多个在线计费的应用服务;  R, determining, according to the online charging request message, whether the calling or called user of the session is allowed to use the one or more online charging application services;
S. 生成所述一个或多个在线计费的应用服务的授权相关信息, 其中, 所述授权相关信息用于指示是否允许用户使用所述一个或多 个在线计费的应用服务以及授权使用所述一个或多个在线计费的应 用服务的时间长度信息;  S. generating authorization related information of the one or more online charging application services, where the authorization related information is used to indicate whether the user is allowed to use the one or more online charging application services and an authorized use office Describe time length information of one or more online charging application services;
T. 将所述一个或多个在线计费的应用服务的授权相关信息发送 至所述计费触发网络设备。  T. Sending authorization related information of the one or more online charging application services to the charging trigger network device.
17. 根据权利要求 15或 16所述的方法, 其特征在于, 所述每个 应用服务的应用服务相关信息包括以下各项中的任一项:  The method according to claim 15 or 16, wherein the application service related information of each application service comprises any one of the following items:
- 该应用服务的标识信息;  - identification information of the application service;
- 该应用服务的标识信息与该应用服务调用开始时间或调用终 止时间;  - the identification information of the application service and the application service start time or the call termination time;
所述与一个会话相关的应用服务包括所述会话请求调用的应用 服务和 /或所述会话已经调用的应用服务。  The application service related to one session includes an application service invoked by the session request and/or an application service that the session has invoked.
18. 一种在通信网络的计费设备中用于控制计费的方法, 其特征 在于, 本计费设备中预存有多个应用服务组标识, 其中, 每个应用 组标识对应于该应用服务组标识所标识的应用服务组所包括的一个 或多个应用服务的标识, 该方法包括以下步骤:  A method for controlling charging in a charging device of a communication network, characterized in that: a plurality of application service group identifiers are pre-stored in the charging device, wherein each application group identifier corresponds to the application service The group identifies the identifier of one or more application services included in the identified application service group, and the method includes the following steps:
0,. 接收来自计费触发网络设备的计费请求消息, 其中, 所述计 费请求消息包括与所述需要计费的一个或多个应用服务对应的应用 服务组标识信息以及调用该需要计费的一个或多个应用服务的会话 相关标识信息; Receiving, by the charging triggering network device, an accounting request message, where the charging request message includes application service group identification information corresponding to the one or more application services that need to be charged, and calling the requirement Session of one or more application services Related identification information;
Ρ'. 根据所述应用服务组标识, 确定价格策略。  Ρ'. Determine the price strategy based on the application service group identity.
19.一种在通信网络的应用服务触发网络设备中用于控制计费的 第一计费控制装置, 其中, 包括:  A first charging control apparatus for controlling charging in an application service triggering network device of a communication network, wherein:
第一获取装置,用于获取与一个会话相关的一个或多个应用服务 中的所述会话请求调用的一个或多个应用服务中的每一个的应用服 务相关信息, 以及所述会话相关标识信息;  a first obtaining means, configured to acquire application service related information of each of the one or more application services invoked by the session request in one or more application services related to a session, and the session related identification information ;
第一提供装置,用于将所述请求调用的一个或多个应用服务的应 用服务相关信息以及所述会话相关标识信息提供给计费触发网络设 备。  The first providing means is configured to provide the application service related information of the one or more application services requested by the request and the session related identification information to the charging trigger network device.
20. 根据权利要求 19所述的第一计费控制装置, 其特征在于, 所述第一计费控制装置还包括:  The first charging control device according to claim 19, wherein the first charging control device further comprises:
检测装置,用于检测与所述会话相关的一个或多个应用服务是否 发生变化;  Detecting means, configured to detect whether one or more application services related to the session change;
第二提供装置,用于若与所述会话相关的一个或多个应用服务中 的一个或多个应用服务发生变化, 则将发生变化的一个或多个应用 服务的应用服务相关信息以及所述会话的相关标识信息提供给所述 计费触发网络设备。  a second providing means, if the one or more application services of the one or more application services related to the session change, the application service related information of the one or more application services that are to be changed, and the The related identification information of the session is provided to the charging trigger network device.
21. 根据权利要求 19所述的第一计费控制装置, 其特征在于, 所述检测装置还用于检测与所述会话相关的一个或多个应用服务是 否发生变化;  The first charging control apparatus according to claim 19, wherein the detecting means is further configured to detect whether a change of one or more application services related to the session is changed;
所述第二提供装置还用于若与所述会话相关的一个或多个应用 服务中的一个或多个应用服务发生变化, 则将变化后的一个或多个 应用服务的应用服务相关信息以及所述会话的相关标识信息提供给 所述计费触发网络设备。  The second providing apparatus is further configured to: if the one or more application services of the one or more application services related to the session change, apply information about the application service of the changed one or more application services, and The related identification information of the session is provided to the charging trigger network device.
22. 根据权利要求 20或 21所述的第一计费控制装置, 其特征在 于, 所述应用服务状态发生变化的情形包括以下各项中的任一项: The first charging control device according to claim 20 or 21, wherein the situation in which the application service state changes includes any one of the following:
- 所述会话请求调用新的一个或多个应用服务; - the session request invokes a new one or more application services;
- 所述会话终止一个或多个已调用的应用服务。 - The session terminates one or more invoked application services.
23. 根据权利要求 19至 22中任一项所述的第一计费控制装置, 其特征在于, 所述第一获取装置还包括: The first charging control device according to any one of claims 19 to 22, wherein the first acquiring device further comprises:
会话请求消息获取装置, 用于获取所述会话的会话请求消息, 其 中该会话请求消息包括所请求的业务相关信息以及所述会话相关标 识信息;  a session request message obtaining means, configured to acquire a session request message of the session, where the session request message includes the requested service related information and the session related identification information;
应用服务确定装置, 用于根据所述业务相关信息, 确定所述请求 调用的多个应用服务;  An application service determining apparatus, configured to determine, according to the service related information, multiple application services that are requested by the request;
计费信息获取装置,用于获取所述请求调用的多个应用服务中每 个应用服务的应用服务相关信息。  The charging information obtaining means is configured to acquire application service related information of each application service of the plurality of application services invoked by the request.
24. 根据权利要求 23所述的第一计费控制装置, 其特征在于, 所述会话请求消息包括基于以下各项中任一项协议的会话请求消 息:  24. The first charging control apparatus according to claim 23, wherein the session request message comprises a session request message based on any one of:
- 会话初始协议;  - Session initiation protocol;
- 增强型逻辑的客户化应用的应用部分;  - Application part of the customized application of enhanced logic;
- ISDN用户部分;  - ISDN user part;
- CDMA无线智能网协议。  - CDMA Wireless Intelligent Network Protocol.
25. 根据权利要求 19所述的第一计费控制装置, 其特征在于, 所述应用服务包括一个或多个在线计费的应用服务, 所述第一计费 控制装置还包括:  The first charging control device according to claim 19, wherein the application service comprises one or more online charging application services, and the first charging control device further comprises:
第一授权信息接收装置,用于接收来自计费触发网络设备的对所 述一个或多个在线计费的应用服务的授权相关信息;  a first authorization information receiving apparatus, configured to receive authorization related information from the charging trigger network device for the one or more online charging application services;
应用服务处理装置,用于根据所述一个或多个在线计费的应用服 务的授权相关信息, 相应地授权或终止调用所述一个或多个在线计 费的应用服务。  The application service processing device is configured to authorize or terminate the application service of the one or more online subscriptions according to the authorization related information of the one or more online charging application services.
26. 根据权利要求 19至 25中任一项所述的第一计费控制装置, 其特征在于, 所述每个应用服务的应用服务相关信息包括以下各项 中的任一项:  The first charging control device according to any one of claims 19 to 25, wherein the application service related information of each application service comprises any one of the following:
- 该应用服务的标识信息;  - identification information of the application service;
- 该应用服务的标识信息与该应用服务调用开始时间或调用终 止时间; - the identification information of the application service and the start time or end of the call of the application service Stop time
所述与一个会话相关的应用服务包括所述会话请求调用的应用 服务和 /或所述会话已经调用的应用服务。  The application service related to one session includes an application service invoked by the session request and/or an application service that the session has invoked.
27.一种在通信网络的计费触发网络设备中用于控制计费的第二 计费控制装置, 其中, 包括:  27. A second charging control apparatus for controlling charging in a charging trigger network device of a communication network, wherein:
第二获取装置,用于获取来自应用服务触发网络设备的与一个会 话相关的一个或多个应用服务中的一个或多个应用服务的应用服务 相关信息, 以及所述会话相关标识信息;  a second obtaining device, configured to acquire application service related information, and the session related identification information, from one or more application services of one or more application services related to a session of the application service triggering network device;
第一判断装置,用于根据所述一个或多个应用服务中的一个或多 个应用服务的应用服务相关信息, 判断所述一个或多个应用服务中 的一个或多个应用服务是否需要计费;  a first determining device, configured to determine, according to application service related information of one or more application services of the one or more application services, whether one or more application services in the one or more application services need to be counted Fee
计费请求生成装置,用于若所述一个或多个应用服务中的一个或 多个应用服务需要计费, 则根据需要计费的一个或多个应用服务的 应用服务相关信息以及所述会话相关标识信息来生成计费请求消 翕 ·  a charging request generating device, configured to: if the one or more application services of the one or more application services require charging, apply service related information of one or more application services that are required to be charged, and the session Related identification information to generate billing request cancellation
计费请求发送装置, 用于将所述计费请求消息发送至计费设备。 The charging request sending device is configured to send the charging request message to the charging device.
28. 根据权利要求 27所述的第二计费控制装置, 其特征在于, 所述计费请求消息中包括以下各项中的任一项: The second charging control apparatus according to claim 27, wherein the charging request message includes any one of the following items:
- 所述需要计费的一个或多个应用服务的应用服务相关信息以 及所述会话相关标识信息;  - application service related information of one or more application services that need to be charged, and the session related identification information;
- 本计费触发网络设备中还预存有多个应用服务组标识, 其中, 每个应用组标识对应于该应用服务组标识所标识的应用 务组所包 括的一个或多个应用服务的标识, 所述计费请求消息中包括与所述 需要计费的一个或多个应用服务对应的应用服务组标识信息。  - the plurality of application service group identifiers are pre-stored in the network device, where each application group identifier corresponds to an identifier of one or more application services included in the application group identified by the application service group identifier. The charging request message includes application service group identification information corresponding to the one or more application services that need to be charged.
29. 根据权利要求 27或 28所述的第二计费控制装置, 其特征在 于, 所述需要计费的一个或多个应用服务包括一个或多个在线计费 应用服务, 所述计费请求生成装置还用于:  The second charging control apparatus according to claim 27 or 28, wherein the one or more application services that need to be charged include one or more online charging application services, and the charging request The generating device is also used to:
根据所述一个或多个在线计费的应用服务的应用服务相关信息 以及所述会话相关标识信息, 生成在线计费请求消息; 所述计费请求发送装置还用于: Generating an online charging request message according to the application service related information of the one or more online charging application services and the session related identification information; The charging request sending device is further configured to:
将所述在线计费请求消息通过在线计费接口发送至所述计费设 备;  Sending the online charging request message to the charging device through an online charging interface;
所述第二计费控制装置还包括:  The second charging control device further includes:
第二授权信息接收装置,用于接收来自所述计费设备的对所述一 个或多个在线计费的应用服务的授权相关信息, 其中, 所述授权相 关信息用于确定是否允许用户使用所述一个或多个在线计费的应用 服务以及授权使用所述一个或多个在线计费的应用服务的时间长度 信息;  a second authorization information receiving device, configured to receive authorization related information from the charging device for the one or more online charging application services, where the authorization related information is used to determine whether to allow the user to use the Determining one or more online charging application services and time length information authorizing the use of the one or more online charging application services;
第一授权信息发送装置,用于向所述应用服务触发网络设备发送 所述一个或多个在线计费的应用服务的授权相关信息。  And a first authorization information sending device, configured to send, to the application service triggering network device, the authorization related information of the one or more online charging application services.
30. 根据权利要求 27或 28所述的第二计费控制装置, 其特征在 于, 所述需要计费的一个或多个应用服务包括一个或多个离线计费 应用服务, 所述计费请求生成装置还用于:  The second charging control apparatus according to claim 27 or 28, wherein the one or more application services that need to be charged include one or more offline charging application services, and the charging request The generating device is also used to:
根据所述一个或多个离线计费的应用服务的应用服务相关信息 以及会话相关标识信息, 生成离线计费请求消息;  Generating an offline charging request message according to the application service related information of the one or more offline charging application services and the session related identification information;
所述计费请求发送装置还用于:  The charging request sending device is further configured to:
根据预定规则,将所述离线计费请求消息通过离线计费接口发送 至所述计费设备。  And sending the offline charging request message to the charging device through an offline charging interface according to a predetermined rule.
31. 根据权利要求 30所述的第二计费控制装置, 其特征在于, 所述预定规则包括 DIAMETER协议。  The second charging control apparatus according to claim 30, wherein the predetermined rule includes a DIAMETER protocol.
32.根据权利要求 27至 31 中任一项所述的第二计费控制装置, 其特征在于, 所述每个应用服务的应用服务相关信息包括以下各项 中的任一项:  The second charging control apparatus according to any one of claims 27 to 31, wherein the application service related information of each application service comprises any one of the following:
- 该应用服务的标识信息;  - identification information of the application service;
- 该应用服务的标识信息与该应用服务调用开始时间或调用终 止时间;  - the identification information of the application service and the application service start time or the call termination time;
所述与一个会话相关的应用服务包括所述会话请求调用的应用 服务和 /或所述会话已经调用的应用服务。 The application service related to one session includes an application service invoked by the session request and/or an application service that has been invoked by the session.
33. 一种在通信网络的计费设备中用于控制计费的第一计费装 置, 其特征在于, 本计费设备中预存有多个应用服务组标识, 其中, 每个应用组标识对应于该应用服务组标识所标识的应用服务组所包 括的一个或多个应用服务的标识, 该第一计费装置包括: A first charging device for controlling charging in a charging device of a communication network, wherein the charging device pre-stores a plurality of application service group identifiers, wherein each application group identifier corresponds to And identifying, by the application service group, an identifier of one or more application services included in the identified application service group, where the first charging device includes:
第一计费请求接收装置,用于接收来自计费触发网络设备的计费 请求消息, 所述计费请求消息中包括与一个会话相关的需要计费的 一个或多个应用服务的应用服务相关信息以及所述会话相关标识信 息;  The first charging request receiving device is configured to receive an accounting request message from the charging triggering network device, where the charging request message includes an application service related to one or more application services that need to be charged related to one session. Information and the session related identification information;
应用服务组标识确定装置, 用于根据所述需要计费的一个或多 个应用服务的应用服务相关信息, 确定与所述需要计费的一个或多 个应用服务相对应的应用服务组标识;  An application service group identifier determining apparatus, configured to determine, according to the application service related information of the one or more application services that need to be charged, an application service group identifier corresponding to the one or more application services that need to be charged;
第一价格策略确定装置, 用于根据所述应用服务组标识, 确定 价格策略。  The first price policy determining means is configured to determine a price policy according to the application service group identifier.
34. 根据权利要求 33所述的第一计费装置, 其特征在于, 所述 计费请求消息包括在线计费请求消息, 所述在线计费请求消息中包 括一个会话所调用的一个或多个在线计費的应用服务的应用服务相 关信息以及所述会话相关标识信息; 所述第一计费装置还包括: 第二判断装置, 用于根据所述在线计费请求消息, 判断是否允 许该会话的主叫或被叫用户使用所述一个或多个在线计费的应用服 务;  The first charging device according to claim 33, wherein the charging request message includes an online charging request message, and the online charging request message includes one or more of a session call The application service related information of the online charging application service and the session related identification information; the first charging device further includes: a second determining device, configured to determine, according to the online charging request message, whether the session is allowed The calling or called user uses the one or more online charging application services;
授权信息生成装置, 用于生成所述一个或多个在线计费的应用 服务的授权相关信息, 其中, 所述授权相关信息用于指示是否允许 用户使用所述一个或多个在线计费的应用服务以及授权使用所述一 个或多个在线计费的应用服务的时间长度信息;  And an authorization information generating apparatus, configured to generate authorization related information of the one or more online charging application services, where the authorization related information is used to indicate whether the user is allowed to use the one or more online charging applications Service and time length information authorized to use the one or more online charging application services;
第二授权信息发送装置, 用于将所述一个或多个在线计费的应 用服务的授权相关信息发送至所述计费触发网络设备。  And a second authorization information sending apparatus, configured to send authorization related information of the one or more online charging application services to the charging trigger network device.
35. 根据权利要求 33或 34所述的第一计费装置, 其特征在于, 所述每个应用服务的应用服务相关信息包括以下各项中的任一项: The first charging device according to claim 33 or 34, wherein the application service related information of each application service comprises any one of the following items:
- 该应用服务的标识信息; - 该应用服务的标识信息与该应用服务调用开始时间或调用终 止时间; - identification information of the application service; - the identification information of the application service and the application service start time or call termination time;
所述与一个会话相关的应用服务包括所述会话请求调用的应用 服务和 /或所述会话已经调用的应用服务。  The application service related to one session includes an application service invoked by the session request and/or an application service that the session has invoked.
36. 一种在通信网络的计费设备中用于控制计费的第二计费装 置, 其特征在于, 本计费设备中预存有多个应用服务组标识, 其中, 每个应用组标识对应于该应用 良务组标识所标识的应用服务组所包 括的一个或多个应用服务的标识, 该第二计费装置包括:  A second charging device for controlling charging in a charging device of a communication network, wherein a plurality of application service group identifiers are pre-stored in the charging device, wherein each application group identifier corresponds to And the identifier of the one or more application services included in the application service group identified by the application service group identifier, where the second charging device includes:
第二计费请求接收装置,用于接收来自计费触发网络设备的计费 请求消息, 其中, 所述计费请求消息包括与所述需要计费的一个或 多个应用服务对应的应用服务组标识信息以及调用该需要计费的一 个或多个应用服务的会话相关标识信息;  a second charging request receiving device, configured to receive an accounting request message from the charging triggering network device, where the charging request message includes an application service group corresponding to the one or more application services that need to be charged Identifying information and session-related identification information of the one or more application services that need to be billed;
第二价格策略确定装置, 用于根据所述应用服务组标识, 确定 价格策略。  And a second price policy determining means for determining a price policy according to the application service group identifier.
37. 一种通信网络的辅助计费网络设备, 其特征在于, 包括根 据权利要求 19至 26 中任一项所述的用于控制计费的第一计费控制 装置和 /或 27至 32中任一项所述的用于控制计费的第二计费控制装 置。  37. A secondary charging network device for a communication network, characterized by comprising a first charging control device for controlling charging according to any one of claims 19 to 26 and/or 27 to 32 A second charging control device for controlling charging according to any one of the preceding claims.
38. 一种在通信网络的计费设备, 其特征在于, 包括根据权利 要求 33至 35 中任一项所述的用于控制计费的第一计费装置或权利 要求 36所述的用于控制计费的第二计费装置。  38. A charging device in a communication network, comprising: a first charging device for controlling charging according to any one of claims 33 to 35 or a method according to claim 36 A second charging device that controls charging.
39. 一种在通信网络中用于应用服务触发网络设备、计费触发网 络设备和计费设备之间的控制计费的方法, 其中, 包括以下步骤: i. 所述应用服务触发网络设备获取与一个会话相关的一个或多 个应用服务中的所述会话请求调用的一个或多个应用服务中的每一 个的应用服务相关信息, 以及所述会话相关标识信息;  39. A method for controlling charging between an application service trigger network device, a charging trigger network device, and a charging device in a communication network, where the method includes the following steps: i. the application service triggers network device acquisition Application service related information of each of one or more application services invoked by the session request in one or more application services related to a session, and the session related identification information;
ii. 所述应用服务触发网络设备将所述请求调用的一个或多个应 用服务的应用服务相关信息以及所迷会话相关标识信息提供给所述 计费触发网络设备; iii. 所述计费触发网络设备根据获取的所述一个或多个应用服务 中的一个或多个应用服务的应用服务相关信息, 判断所述一个或多 个应用服务中的一个或多个应用服务是否需要计费; Ii. The application service triggering network device to provide application service related information of the one or more application services invoked by the request and the session related identification information to the charging trigger network device; Iii. The charging triggering network device determines one or more applications of the one or more application services according to the acquired application service related information of one or more application services of the one or more application services. Whether the service needs to be billed;
iv. 若所述一个或多个应用服务中的一个或多个应用服务需要计 费, 则所述计费触发网络设备根据需要计费的一个或多个应用服务 的应用服务相关信息以及所述会话相关标识信息来生成计费请求消 息;  Iv. if one or more application services of the one or more application services require charging, the charging triggers network device according to application service related information of one or more application services that need to be charged, and the Session related identification information to generate a charging request message;
V. 所述计费触发网絡设备将所述计费请求消息发送至所述计费 设备, 所述计费请求消息中包括与一个会话相关的需要计费的一个 或多个应用服务的应用服务相关信息以及所述会话相关标识信息; vi. 所述计费设备根据获取的所述需要计费的一个或多个应用 服务的应用服务相关信息, 确定与所述需要计费的一个或多个应用 服务相对应的应用服务组标识;  V. The charging triggering network device sends the charging request message to the charging device, where the charging request message includes an application service related to one session and one or more application services that need to be charged. Relevant information and the session-related identification information; vi. The charging device determines one or more of the required charging according to the acquired application service related information of the one or more application services that need to be charged The application service group identifier corresponding to the application service;
vii. 所述计费设备 居所述应用服务组标识, 确定价格策略。  Vii. The charging device resides in the application service group identifier to determine a price policy.
40. 根据权利要求 39所述的方法, 其特征在于, 所述需要计费 的一个或多个应用服务包括一个或多个在线计费应用服务, 所述步 骤 iv还包括: The method according to claim 39, wherein the one or more application services that need to be charged include one or more online charging application services, and the step iv further includes:
- 所述计费触发网络设备根据所述一个或多个在线计费的应用 服务的应用服务相关信息以及所述会话相关标识信息, 生成在线计 费请求消息;  - the charging triggering network device generates an online charging request message according to the application service related information of the one or more online charging application services and the session related identification information;
所述步骤 V还包括:  The step V further includes:
- 所述计费触发网络设备将所述在线计费请求消息通过在线计 费接口发送至所述计费设备;  - the charging triggering network device sends the online charging request message to the charging device through an online charging interface;
所述步骤 V之后还包括以下步骤:  The step V further includes the following steps:
m. 所述计费设备根据获取的所述在线计费请求消息, 判断是否 允许该会话的主叫或被叫用户使用所述一个或多个在线计费的应用 服务;  The charging device determines, according to the obtained online charging request message, whether the calling or called user of the session is allowed to use the one or more online charging application services;
n. 所述计费设备生成所述一个或多个在线计费的应用服务的授 权相关信息, 其中, 所述授权相关信息用于指示是否允许用户使用 所述一个或多个在线计费的应用服务以及授权使用所述一个或多个 在线计费的应用服务的时间长度信息; The charging device generates authorization related information of the one or more online charging application services, where the authorization related information is used to indicate whether the user is allowed to use The one or more online charging application services and time length information of an application service authorized to use the one or more online charging;
0. 所述计费设备将所述一个或多个在线计费的应用服务的授权 相关信息发送至所述计费触发网絡设备;  0. The charging device sends the authorization related information of the one or more online charging application services to the charging trigger network device;
p. 所述计费触发网络设备向所述应用服务触发网络设备转发所 述一个或多个在线计费的应用服务的授权相关信息;  The billing triggering network device forwards, to the application service, the network device, the authorization related information of the one or more online charging application services;
q . 所述应用服务触发网络设备根据获取的所述一个或多个在线 计费的应用服务的授权相关信息, 相应地授权或终止调用所述一个 或多个在线计费的应用服务。  The application service triggers the network device to authorize or terminate the application service of the one or more online chargings according to the acquired authorization related information of the one or more online charging application services.
PCT/CN2008/001503 2008-08-21 2008-08-21 A control charging method and equipment based on application service in a communication network WO2010020076A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008801304454A CN102100033A (en) 2008-08-21 2008-08-21 A control charging method and equipment based on application service in a communication network
PCT/CN2008/001503 WO2010020076A1 (en) 2008-08-21 2008-08-21 A control charging method and equipment based on application service in a communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2008/001503 WO2010020076A1 (en) 2008-08-21 2008-08-21 A control charging method and equipment based on application service in a communication network

Publications (1)

Publication Number Publication Date
WO2010020076A1 true WO2010020076A1 (en) 2010-02-25

Family

ID=41706812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/001503 WO2010020076A1 (en) 2008-08-21 2008-08-21 A control charging method and equipment based on application service in a communication network

Country Status (2)

Country Link
CN (1) CN102100033A (en)
WO (1) WO2010020076A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811432A (en) * 2011-05-31 2012-12-05 阿尔卡特朗讯 Charging method and charging device in communication network
WO2016201999A1 (en) * 2015-06-18 2016-12-22 中兴通讯股份有限公司 Third-party application charging method and apparatus, and application function device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643888A (en) * 2002-03-14 2005-07-20 艾利森电话股份有限公司 Method and system for access and accounting of point-to-multipoint services
CN1983936A (en) * 2006-05-25 2007-06-20 华为技术有限公司 Off-line charging method
WO2008054647A1 (en) * 2006-10-27 2008-05-08 Lucent Technologies Inc. Third party charging for sip sessions
CN101212316A (en) * 2006-12-25 2008-07-02 华为技术有限公司 Media stream based billing method and system in multi-party session
US20080166994A1 (en) * 2007-01-04 2008-07-10 Bernard Ku Methods and apparatus to implement an internet multimedia sub-system (IMS) terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643888A (en) * 2002-03-14 2005-07-20 艾利森电话股份有限公司 Method and system for access and accounting of point-to-multipoint services
CN1983936A (en) * 2006-05-25 2007-06-20 华为技术有限公司 Off-line charging method
WO2008054647A1 (en) * 2006-10-27 2008-05-08 Lucent Technologies Inc. Third party charging for sip sessions
CN101212316A (en) * 2006-12-25 2008-07-02 华为技术有限公司 Media stream based billing method and system in multi-party session
US20080166994A1 (en) * 2007-01-04 2008-07-10 Bernard Ku Methods and apparatus to implement an internet multimedia sub-system (IMS) terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811432A (en) * 2011-05-31 2012-12-05 阿尔卡特朗讯 Charging method and charging device in communication network
WO2012164384A1 (en) * 2011-05-31 2012-12-06 Alcatel Lucent Method and apparatus for charging in a communication network
CN102811432B (en) * 2011-05-31 2016-05-11 阿尔卡特朗讯 A kind of charging method and device in communication network
WO2016201999A1 (en) * 2015-06-18 2016-12-22 中兴通讯股份有限公司 Third-party application charging method and apparatus, and application function device
CN106332034A (en) * 2015-06-18 2017-01-11 中兴通讯股份有限公司 Third-party application charging method and apparatus, and application function equipment

Also Published As

Publication number Publication date
CN102100033A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
KR101101015B1 (en) Third party charging for sip sessions
JP4885525B2 (en) Call control by integrating application server logic and gateway logic in IMS network (CALLCONTROL)
TWI469571B (en) Charging for roaming users in ims networks
JP4205672B2 (en) Communication session cost arrangements
US20070173226A1 (en) Converged service control for IMS networks and legacy networks
WO2008025211A1 (en) A communication network system and method for providing a service broker function and a service broker device
JP5066608B2 (en) Method for discovering operator-provided network service using IMS
US20100040047A1 (en) Loss of Signalling Bearer Transport
US20090076952A1 (en) Variable charging assignment for multi-service environments
JP2011517154A (en) Online billing for ancillary services in IMS networks
JP2008502035A (en) IP multimedia service charging mechanism
WO2008130510A1 (en) Camel service charging in ims networks
WO2007143926A1 (en) An ims network charging system and method
US10158764B2 (en) Methods and apparatus for allocating service costs in a telecommunications network
KR101072965B1 (en) Method and system for charging of push to talk over cellular service and communication sysem
WO2010020076A1 (en) A control charging method and equipment based on application service in a communication network
EP2088710A1 (en) Method for call charging and charging system and device
WO2008106872A1 (en) Method, system and device for realizing the intelligent service
WO2007112623A1 (en) A system, method and apparatus for implementing the reverse charging in the packet network
KR100657633B1 (en) Method and system for transmitting and receiving electrical file using wireless network
WO2011131239A1 (en) Method and apparatus relating to charging in an ip multimedia subsystem
WO2009155990A1 (en) Advice of charge service
WO2009065252A1 (en) A method and a device for controlling the overload on the network service device
CN102448040A (en) Charging method and system for executing call transfer in WiMAX network

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880130445.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08783668

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

Country of ref document: EP

Kind code of ref document: A1