[go: up one dir, main page]

CN1859534B - Charging method and system for traffic service - Google Patents

Charging method and system for traffic service Download PDF

Info

Publication number
CN1859534B
CN1859534B CN2006100346058A CN200610034605A CN1859534B CN 1859534 B CN1859534 B CN 1859534B CN 2006100346058 A CN2006100346058 A CN 2006100346058A CN 200610034605 A CN200610034605 A CN 200610034605A CN 1859534 B CN1859534 B CN 1859534B
Authority
CN
China
Prior art keywords
service
account
business service
unit
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2006100346058A
Other languages
Chinese (zh)
Other versions
CN1859534A (en
Inventor
李纯
谢秋华
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Global Innovation Polymerization LLC
Gw Partnership Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100346058A priority Critical patent/CN1859534B/en
Publication of CN1859534A publication Critical patent/CN1859534A/en
Application granted granted Critical
Publication of CN1859534B publication Critical patent/CN1859534B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明适用于通信领域,提供了一种业务服务计费的方法及系统,用于多个用户终端业务同时使用一个账户申请业务服务,所述方法包括下述步骤:1.1用户终端向服务提供系统发送业务服务请求;1.2服务提供系统接收用户终端的业务服务请求,并向在线计费系统发送包含属性参数的计费请求消息;所述属性参数标识所述业务服务的账户预留方式;1.3在线计费系统根据当前账户余额、当前正在使用的业务服务的账户预留方式以及所述属性参数为用户终端申请的业务服务分配预留单元;1.4服务提供系统根据所述预留单元为用户终端提供服务。通过本发明能够在多用户业务使用同一个用户账户同时申请业务服务时,充分的利用用户账户余额为每个用户业务提供业务服务。

Figure 200610034605

The present invention is applicable to the communication field, and provides a method and system for business service billing, which is used for multiple user terminal businesses to use one account to apply for business services at the same time. The method includes the following steps: 1.1 User terminal to the service providing system Sending a business service request; 1.2 The service providing system receives the business service request of the user terminal, and sends a charging request message containing attribute parameters to the online charging system; the attribute parameter identifies the account reservation method of the business service; 1.3 Online The billing system allocates reserved units for the business services applied by the user terminal according to the current account balance, the account reservation method of the currently used business service, and the attribute parameters; 1.4 The service providing system provides the user terminal with the reserved units according to the reserved units Serve. Through the present invention, when multi-user services use the same user account to apply for business services at the same time, the user account balance can be fully utilized to provide business services for each user business.

Figure 200610034605

Description

一种业务服务的计费方法及系统A charging method and system for business services

技术领域 technical field

本发明属于通信领域,尤其涉及一种按使用时长对业务服务进行计费的方法、服务提供系统以及在线计费系统。The invention belongs to the communication field, and in particular relates to a method for charging business services according to the usage time, a service providing system and an online charging system.

背景技术 Background technique

随着电信业务的发展,用户对多项业务同时提出使用申请,并使用同一个账户进行实时计费成为一个很普遍的计费场景。某些情况下,一个小组或一个家庭的成员也希望在使用实时计费业务时,共用同一个账户付费。目前基于智能网的预付费用户业务(Prepay Customer,PPC)采用的预留再扣费的方法可以保证不欠费。预留单元是在用户申请业务时,在线计费系统从用户账户中划出一部分的单元,专门给此次申请的服务使用,其他的服务申请时不能使用这部分单元。通常,当服务提供系统(Service Provide Platform,SPP)向在线计费系统(Online Charging System,OCS)申请业务预留配额的时候,OCS会为申请的业务预留相对较多的配额,以便减少SPP与OCS的交互次数。但是,SPP只会在用户结束业务的时候或此次预留单元已经用完的情况下才会向OCS发送业务使用状况消息,所以在一次呼叫已经使用和从账户中扣除的金额数量传递到OCS之前,OCS不知道前次预留单元中已经使用了多少单元。因此,在呼叫期间,账户的余额值反映了比实际的剩余值小的一个值,这就会导致如:多用户业务都共用同一个预付费账户,但由于业务独占预留单元,即使该业务并未使用完申请的预留单元,剩余的预留单元部分也不能用于其他业务的申请与使用,从而导致出现账户有余额而无法使用业务的情况。With the development of telecommunication services, it has become a common billing scenario for users to apply for multiple services at the same time and use the same account for real-time billing. In some cases, members of a group or a family also wish to share the same account for payment when using the real-time billing service. At present, the prepayment customer service (Prepay Customer, PPC) based on the intelligent network adopts the method of reserving and deducting fees, which can ensure that there is no arrears. The reserved unit is a part of the unit allocated by the online billing system from the user account when the user applies for a service, and is specially used for the service applied for this time, and this part of the unit cannot be used when applying for other services. Usually, when the service provider system (Service Provide Platform, SPP) applies to the online charging system (Online Charging System, OCS) for business reservation quotas, OCS will reserve relatively more quotas for the applied business in order to reduce SPP The number of interactions with the OCS. However, SPP will only send a service usage status message to OCS when the user ends the service or the reserved unit has been used up this time, so the amount of money that has been used and deducted from the account is passed to OCS Previously, the OCS did not know how many cells were already used in the previous reserved cells. Therefore, during the call, the balance value of the account reflects a value smaller than the actual remaining value, which will lead to, for example: multi-user services all share the same prepaid account, but because the service exclusively occupies the reserved unit, even if the service The reserved units applied for have not been used up, and the remaining reserved units cannot be used for the application and use of other services, resulting in the situation that there is a balance in the account and the business cannot be used.

如有这样一个业务场景:用户A预付费账户余额为10元,用户A首先申请使用语音通话,在线计费系统采用实时计费方式为语音通话预留金额6元。在语音通话过程中,用户B申请进行IP长途通话,并使用用户A的预付费账户进行付费。在线计费系统需要为用户B的IP长途通话预留5元,而此时用户账户可用余额为4元<5元,导致用户B的IP长途通话业务无法使用。然而,用户A语音通话仅仅需要使用3元,实际用户账户可用余额为7元,是能够满足用户B进行IP长途通话的需求的。正是由于语音通话独占了申请时预留的6元余额,导致实际存在可用账户5元的余额不能用于用户B的IP长途通话业务的申请与使用。If there is such a business scenario: the balance of user A's prepaid account is 10 yuan, user A first applies for voice calls, and the online billing system uses real-time billing to reserve an amount of 6 yuan for voice calls. During the voice call, user B applies for an IP long-distance call, and uses user A's prepaid account to pay. The online billing system needs to reserve 5 yuan for the IP long-distance call of user B, but at this time the available balance of the user account is 4 yuan < 5 yuan, which makes the IP toll call service of user B unavailable. However, user A only needs to spend 3 yuan for a voice call, and the actual user account available balance is 7 yuan, which can meet the needs of user B for IP long-distance calls. It is precisely because the voice call monopolizes the balance of 6 yuan reserved at the time of application, so the balance of 5 yuan in the actual available account cannot be used for the application and use of user B's IP long-distance call service.

目前,为了防止用户账户透支问题,现有技术采用如图1所示的预留再扣费的共享预付费账户方法实现流程,具体内容详述如下:At present, in order to prevent the overdraft problem of the user account, the existing technology adopts the shared prepaid account method as shown in Figure 1 to realize the process, and the specific content is described in detail as follows:

1.SPP向OCS发出计费请求消息,计费请求消息中包含了与此次请求相关的参数;1. The SPP sends a charging request message to the OCS, and the charging request message contains parameters related to this request;

2.OCS收到计费请求消息,确认账户余额是否满足计费所需的金额,如果满足则在回复消息中下发预留单元;2. OCS receives the billing request message, confirms whether the account balance meets the amount required for billing, and if so, sends the reserved unit in the reply message;

3.SPP监控服务使用情况,当预留单元中的金额使用完后,SPP向OCS上报计费事件消息,如果还需使用服务,SPP再次向OCS请求新的预留单元;3. The SPP monitors the service usage. When the amount in the reserved unit is used up, the SPP reports a billing event message to the OCS. If the service is still needed, the SPP requests a new reserved unit from the OCS again;

4.OCS收到计费请求消息,确认账户余额是否满足计费所需的金额,如果满足则在回复消息中下发预留单元,OCS响应SPP请求新的预留单元;4. OCS receives the billing request message, confirms whether the account balance meets the amount required for billing, and if so, sends the reserved unit in the reply message, and OCS requests a new reserved unit in response to the SPP;

5.服务使用完毕,SPP向OCS发送计费结束请求。5. After the service is used, the SPP sends a charging end request to the OCS.

在各服务使用结束后,SPP申请到的费用如果在一次服务使用中没有用完,SPP向OCS发送费用返回申请操作,申请中带有本次服务使用的剩余的费用,OCS将剩余费用加到用户的账户上,保证用户的账户余额不会丢失。After each service is used, if the fee applied by SPP is not used up in one service use, SPP sends the fee to OCS and returns to the application operation. The application contains the remaining fee for this service, and OCS will add the remaining fee to On the user's account, it is guaranteed that the user's account balance will not be lost.

为了实现多业务同时使用同一个账户进行计费,并最大限度的利用用户账户余额,避免出现实际存在可用的账户余额,但该账户余额却不能用于其他业务服务的申请与使用问题。可以采用最小预留单元预留的方式。最小预留单元是指用户能够使用某项电信业务服务的最小计费单位。对于按时长计费的电信业务如:语音业务中的固话国内长途,按6秒计费,则6秒就是固话国内长途的最小预留单元。最小预留单元的具体预留方式是:由OCS向SPP分配本次呼叫所需的最小预留单元,当有多个呼叫不断触发上来,OCS向SPP分配各次最小预留单元,当各次呼叫的分配的预留单元用完后或即将用完时,SPP立即再次向OCS提出费用申请,如此反复申请直到呼叫结束或账户的余额用完。In order to realize multiple services use the same account for billing at the same time, and maximize the use of user account balances, to avoid the problem that there is actually an available account balance, but the account balance cannot be used for the application and use of other business services. A method of minimum reserved unit reservation may be used. The smallest reserved unit refers to the smallest billing unit that a user can use for a certain telecommunication service. For telecommunication services billed by duration, such as fixed-line domestic long-distance calls in voice services, the billing is based on 6 seconds, and 6 seconds is the minimum reserved unit for fixed-line domestic long-distance calls. The specific reservation method of the minimum reserved unit is: the OCS allocates the minimum reserved unit required for this call to the SPP. When multiple calls are continuously triggered, the OCS allocates the minimum reserved unit to the SPP each time. When the allocated reserved unit for the call is used up or is about to be used up, the SPP immediately applies to the OCS for the fee again, and the application is repeated until the call ends or the balance of the account is used up.

采用最小预留单元的预留方式可以使用户账户金额得到最大程度的利用,避免出现某个业务独占较大预留金额的情况。然而采用最小预留单元预留会导致OCS和SPP之间交互频率过大,在带宽一定的情况下会造成服务提供设备的交互负荷及服务提供设备网与OCS的消息负荷。在大量呼叫情况下,容易造成阻塞及用户使用受限。Using the reservation method of the smallest reserved unit can make the user account amount be utilized to the greatest extent, and avoid the situation that a certain business monopolizes a large reserved amount. However, using the minimum reserved unit reservation will lead to excessive interaction frequency between OCS and SPP, and will cause interaction load of service provider equipment and message load between service provider network and OCS under a certain bandwidth. In the case of a large number of calls, it is easy to cause congestion and limit user use.

发明内容 Contents of the invention

本发明的目的在于提供一种业务服务计费的方法,旨在解决现有技术中存在的多个用户业务同时共享一个预付费账户时,预付费账户的实际余额不能充分利用的问题。The purpose of the present invention is to provide a business service charging method, which aims to solve the problem in the prior art that the actual balance of the prepaid account cannot be fully utilized when multiple user services share a prepaid account at the same time.

本发明的另一目的在于提供一种业务服务提供系统;Another object of the present invention is to provide a business service providing system;

本发明的另一目的在于提供一种业务服务的在线计费系统;Another object of the present invention is to provide an online billing system for business services;

本发明是这样实现的,所述一种业务服务计费的方法,用于多个用户终端同时使用一个账户申请业务服务,所述方法包括下述步骤:The present invention is implemented in this way. The method for charging business services is used for multiple user terminals to apply for business services using one account at the same time. The method includes the following steps:

1.1用户终端向服务提供系统发送业务服务请求;1.1 The user terminal sends a business service request to the service providing system;

1.2服务提供系统接收用户终端的业务服务请求,并向在线计费系统发送包含属性参数的计费请求消息;所述属性参数标识所述业务服务的账户预留方式;1.2 The service providing system receives the business service request of the user terminal, and sends a charging request message including attribute parameters to the online charging system; the attribute parameters identify the account reservation method of the business service;

1.3在线计费系统根据当前账户余额、当前正在使用的业务服务的账户预留方式以及所述属性参数为用户终端申请的业务服务分配预留单元;1.3 The online billing system allocates reserved units for the business services applied by the user terminal according to the current account balance, the account reservation method of the business service currently in use, and the attribute parameters;

1.4服务提供系统根据所述预留单元为用户终端提供服务。1.4 The service providing system provides services for user terminals according to the reserved units.

所述步骤1.3进一步包括:Said step 1.3 further comprises:

2.1当所述账户余额大于或等于所述业务服务申请的预留单元对应的金额,在线计费系统为所述业务服务申请分配预留单元,并下发给服务提供系统。2.1 When the account balance is greater than or equal to the amount corresponding to the reserved unit of the business service application, the online billing system allocates a reserved unit for the business service application and sends it to the service providing system.

所述步骤1.3进一步包括:Said step 1.3 further comprises:

3.1当所述账户余额小于所述业务服务申请的预留单元对应的金额时,在线计费系统根据所述属性参数,判断当前正在使用的所有业务服务的预留方式;若所述当前正在使用的所有业务服务的预留方式为独享账户预留方式时执行步骤3.2;3.1 When the account balance is less than the amount corresponding to the reserved unit of the business service application, the online charging system judges the reservation mode of all business services currently in use according to the attribute parameters; If the reservation method of all business services is exclusive account reservation method, go to step 3.2;

3.2在线计费系统不为所述当前业务服务申请分配预留单元,向服务提供系统下发预留单元失败消息。3.2 The online charging system does not allocate reserved units for the current business service application, and sends a reserved unit failure message to the service providing system.

所述步骤1.3进一步包括:Said step 1.3 further comprises:

4.1当所述账户余额小于所述业务服务申请的预留单元对应的金额时,在线计费系统根据所述属性参数,判断所述当前正在使用的所有业务服务的账户预留方式;若所述当前正在使用的所有业务服务的账户预留方式包含共享账户预留方式,且所述当前正在申请的业务服务为独享账户预留方式,则执行步骤4.2;4.1 When the account balance is less than the amount corresponding to the reserved unit of the business service application, the online charging system judges the account reservation mode of all business services currently in use according to the attribute parameters; if the If the account reservation method of all business services currently in use includes the shared account reservation method, and the business service currently being applied for is an exclusive account reservation method, then perform step 4.2;

4.2在线计费系统向服务提供系统查询所述正在使用的共享账户预留方式的业务服务已使用预留单元的状况;4.2 The online billing system inquires the service provider system about the status of the reserved unit used by the business service in the shared account reservation mode;

4.3服务提供系统向所述在线计费系统发送所述正在使用的共享账户预留方式的业务服务已使用的预留单元;4.3 The service providing system sends to the online billing system the reserved units that have been used by the business service in the shared account reservation mode being used;

4.4在线计费系统根据所述业务服务已使用的预留单元计算所述业务服务未使用的预留单元对应的金额,将所述金额并入到账户余额中,若并入后的账户余额大于或等于当前申请的独享账户预留方式的业务服务最小预留单元对应的金额,则执行步骤4.5;否则执行步骤4.6;4.4 The online billing system calculates the amount corresponding to the unused reserved units of the business service based on the reserved units used by the business service, and incorporates the amount into the account balance. If the account balance after integration is greater than or equal to the amount corresponding to the smallest reserved unit of business services in the exclusive account reservation method currently applied for, then go to step 4.5; otherwise go to step 4.6;

4.5在线计费系统向服务提供系统下发所述业务服务的预留单元,所述预留单元对应所述余额;4.5 The online billing system issues the reserved unit of the business service to the service providing system, and the reserved unit corresponds to the balance;

4.6在线计费系统向服务提供系统下发所述业务服务的预留单元失败消息。4.6 The online charging system sends a message of failure to reserve units of the business service to the service providing system.

所述步骤1.3进一步包括:Said step 1.3 further comprises:

5.1当所述账户余额小于所述业务服务申请预留单元对应的金额,在线计费系统根据所述属性参数,判断当前正在使用的所有业务服务的账户预留方式;若所述当前正在使用的所有业务服务的账户预留方式包含共享账户预留方式,且所述当前正在申请的业务服务为共享账户预留方式,则执行步骤5.2;5.1 When the account balance is less than the amount corresponding to the business service application reservation unit, the online charging system judges the account reservation mode of all business services currently in use according to the attribute parameters; The account reservation method of all business services includes the shared account reservation method, and the business service currently being applied for is the shared account reservation method, then perform step 5.2;

5.2在线计费系统向服务提供系统查询所述正在使用的共享账户预留方式的业务服务已使用预留单元的状况;5.2 The online billing system inquires the service provider system about the status of the reserved units used by the business service in the shared account reservation mode;

5.3服务提供系统向所述在线计费系统发送所述正在使用的共享账户预留方式的业务服务已使用的预留单元;5.3 The service providing system sends to the online billing system the reserved units that have been used by the business service of the shared account reservation mode being used;

5.4在线计费系统根据所述预留单元计算所述业务服务未使用的预留单元对应的金额,将所述金额并入到账户余额中,若并入后的账户余额大于或等于所述当前申请的共享账户预留方式的业务服务的最小预留单元对应的金额,是则执行步骤5.5;否则执行步骤5.8;5.4 The online billing system calculates the amount corresponding to the unused reserved unit of the business service according to the reserved unit, and incorporates the amount into the account balance. If the account balance after integration is greater than or equal to the current The amount corresponding to the minimum reserved unit of the business service of the shared account reservation method applied for, if yes, go to step 5.5; otherwise go to step 5.8;

5.5在线计费系统为所述共享账户预留方式的业务服务和当前申请的共享账户预留方式的业务服务分别启动定时器控制,并下发与定时器时间间隔对应的预留单元;5.5 The online billing system starts timer control respectively for the business service of the shared account reservation method and the business service of the currently applied for shared account reservation method, and issues the reservation unit corresponding to the timer interval;

5.6当所述正在使用的共享账户预留方式的业务服务,或当前申请的共享账户预留方式的业务服务的定时器时间间隔到,在线计费系统为所述正在使用的共享账户预留方式的业务服务,或当前申请的共享账户预留方式的业务服务下发新的定时器时间间隔对应的预留单元;5.6 When the business service of the reserved mode of the shared account being used, or the timer time interval of the business service of the currently applied for business service of the reserved mode of the shared account expires, the online billing system will reserve the mode of the shared account being used business service, or the business service of the currently applied shared account reservation method issues the reservation unit corresponding to the new timer interval;

5.7当所述账户余额小于所述共享账户预留方式的业务服务或当前申请的共享账户预留方式的业务服务的最小预留单元对应的金额,则在线计费系统预留单元失败;5.7 When the account balance is less than the amount corresponding to the minimum reserved unit of the business service of the shared account reservation method or the business service of the currently applied for shared account reservation method, the online billing system fails to reserve the unit;

5.8在线计费系统向服务提供系统下发预留单元失败消息。5.8 The online charging system sends a message of failure to reserve units to the service providing system.

在所述步骤5.7之前,若所述正在使用的业务服务的用户终端,或当前正在申请的业务服务的用户终端停止使用业务服务,则执行下述步骤:Before the step 5.7, if the user terminal of the business service being used, or the user terminal of the business service currently being applied for, stops using the business service, the following steps are performed:

6.1服务提供系统向在线计费系统返回所述正在使用的共享账户预留方式的业务服务,或当前申请的共享账户预留方式的业务服务已停止使用消息;6.1 The service provider system returns to the online billing system the message that the business service in the shared account reservation mode is being used, or the currently applied business service in the shared account reservation mode has ceased to be used;

6.2在线计费系统根据所述停止使用消息,计算所述正在使用的共享账户预留方式的业务服务,或当前申请的共享账户预留方式的业务服务使用预留单元的情况,为所述正在使用的共享账户预留方式的业务服务,或当前申请的共享账户预留方式的业务服务下发新的预留单元。6.2 According to the stop-use message, the online billing system calculates that the business service in the reserved mode of the shared account being used, or the business service currently applying for the business service in the reserved mode of the shared account uses reserved units, is the The business service of the shared account reservation method used, or the business service of the shared account reservation method currently applied for issues a new reservation unit.

所述步骤1.4进一步包括:Said step 1.4 further comprises:

7.1当所述在线计费系统下发预留单元失败,则服务提供系统不为所述用户终端提供业务服务。7.1 When the online charging system fails to issue the reserved unit, the service providing system does not provide business services for the user terminal.

所述步骤1.4进一步包括:Said step 1.4 further comprises:

8.1当所述在线计费系统下发预留单元成功,则服务提供系统为所述用户终端提供业务服务。8.1 When the online charging system delivers the reserved unit successfully, the service providing system provides business services for the user terminal.

本发明还提供了一种业务服务提供系统,用于接收用户终端的业务服务请求,向在线计费系统发送计费请求消息,根据在线计费系统下发的预留单元为用户终端提供业务服务,所述服务提供系统包括:The present invention also provides a business service providing system, which is used to receive a business service request from a user terminal, send a charging request message to the online charging system, and provide the user terminal with a business service according to the reserved unit issued by the online charging system , the service providing system includes:

计费消息管理单元,用于发送或接收与在线计费系统间的计费消息的转换和发送;The charging message management unit is used for converting and sending the charging message between sending or receiving and the online charging system;

服务提供单元,用于为所述用户终端提供业务服务,在业务服务申请使用时,通过计费消息管理单元向在线计费系统发送包含属性参数的计费申请消息;A service providing unit, configured to provide business services for the user terminal, and send a charging application message including attribute parameters to the online charging system through the charging message management unit when the business service is applied for use;

配额管理单元,用于管理在线计费系统下发的预留单元,并检测服务提供单元在提供服务时,预留单元的使用情况,当预留单元用尽前通过计费消息管理单元向在线计费系统申请新的预留单元。The quota management unit is used to manage the reserved units issued by the online charging system, and detect the use of the reserved units when the service provider unit provides services. When the reserved units are used up, the charging message management unit sends the online The billing system applies for a new reserved unit.

所述计费消息管理单元进一步包括:The charging message management unit further includes:

属性参数存储单元,用于存放所述属性参数;An attribute parameter storage unit, configured to store the attribute parameter;

所述属性参数标识用户终端申请的业务服务的账户预留方式,所述账户预留方式包括独享账户预留或共享账户预留。The attribute parameter identifies the account reservation mode of the business service applied for by the user terminal, and the account reservation mode includes exclusive account reservation or shared account reservation.

本发明还提供了一种业务服务的在线计费系统,用于根据服务提供系统的计费请求消息,向服务提供系统下发预留单元,所述在线计费系统包括:The present invention also provides an online charging system for business services, which is used to issue reserved units to the service providing system according to the charging request message of the service providing system. The online charging system includes:

计费控制模块,用于接收所述服务提供系统发送的包含属性参数的计费申请消息,并为所述业务服务申请分配预留单元;A charging control module, configured to receive a charging application message including attribute parameters sent by the service providing system, and allocate a reserved unit for the business service application;

账户余额管理模块,用于对用户账户进行管理;The account balance management module is used to manage user accounts;

计费网关模块,用于对业务服务的话单进行处理;Billing gateway module, used to process bills of business services;

批价处理模块,用于计算在线计费系统的发生的计费事件对应的费用;The batch price processing module is used to calculate the fees corresponding to the charging events that occur in the online charging system;

通用接入模块,用于翻译和发送服务提供系统和在线计费系统之间的交互消息。The general access module is used for translating and sending the interactive messages between the service providing system and the online charging system.

所计费控制模块进一步包括:The billing control module further includes:

功能控制/调度模块,用于控制和调度在线计费系统中的各个模块,以完成在线计费系统的业务服务申请的计费控制;The function control/scheduling module is used to control and schedule each module in the online charging system, so as to complete the charging control of the business service application of the online charging system;

消息管理模块,用于接收由服务提供系统上报的各种消息,并将功能控制/调度模块的功能命令生成消息下发给服务提供系统。The message management module is used to receive various messages reported by the service providing system, and send the function command generation message of the function control/scheduling module to the service providing system.

所计费控制模块进一步包括:The billing control module further includes:

定时器管理模块,用于在使用共享账户预留控制时,为每个使用共享账户预留方式业务服务申请生成一个定时器,检测业务服务的使用状况;当一个定时器事件发生时,向功能控制/调度模块发送定时消息。The timer management module is used to generate a timer for each business service application using the shared account reservation mode when using the shared account reservation control, and detect the usage status of the business service; when a timer event occurs, report to the function The control/scheduling module sends timing messages.

通过本发明提供的方法,能够在多用户业务使用同一个用户账户同时申请业务服务时,充分的利用用户账户余额为每个用户业务提供业务服务。Through the method provided by the invention, when multi-user services use the same user account to apply for business services at the same time, the user account balance can be fully utilized to provide business services for each user business.

附图说明 Description of drawings

图1是现有技术中预留再扣费的共享预付费账户方法实现流程图;Fig. 1 is the realization flowchart of the shared prepaid account method of reserving and deducting fees in the prior art;

图2是本发明中按使用时长计费的业务共享账户的方法实现流程图;Fig. 2 is the flow chart of the implementation of the method of the service sharing account charged according to the duration of use in the present invention;

图3是本发明中用户终端采用独享预留账户方式先后申请业务服务计费的方法实现流程图;Fig. 3 is a flow chart of the implementation of the method for the user terminal to successively apply for business service charging in the form of an exclusive reserved account in the present invention;

图4是本发明中用户终端采用独享和共享预留账户方式先后申请业务服务计费的方法实现流程图;Fig. 4 is a flow chart of the implementation of the method for the user terminal to successively apply for business service charging in the way of exclusive and shared reserved accounts in the present invention;

图5是本发明中用户终端采用共享和独享预留账户方式先后申请业务服务计费的方法实现流程图;Fig. 5 is a flow chart of the implementation of the method for the user terminal to successively apply for business service charging in the way of sharing and exclusive reserved accounts in the present invention;

图6是本发明中用户终端采用共享预留账户方式先后申请业务服务计费的方法实现流程图;Fig. 6 is a flow chart of the method for successively applying for business service charging by the user terminal in the way of sharing reserved accounts in the present invention;

图7是本发明的一个实施例中OCS跟踪计费控制的实现流程图;Fig. 7 is the realization flowchart of OCS tracking billing control in one embodiment of the present invention;

图8是本发明的一个实施例中OCS跟踪计费控制的实现流程的示例图;Fig. 8 is an example diagram of the implementation process of OCS tracking and charging control in one embodiment of the present invention;

图9是实现业务服务计费的系统组网结构图;Fig. 9 is a system networking structure diagram for realizing business service charging;

图10是实现本发明中的业务服务提供系统结构图;Fig. 10 is a structural diagram of a system for providing business services in the present invention;

图11是实现本发明中的业务服务的在线计费系统结构图。Fig. 11 is a structural diagram of an online charging system for realizing business services in the present invention.

具体实施方式 Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

在本发明中,当用户向SPP申请业务服务时,SPP向OCS发送携带有业务服务申请的账户预留方式参数的计费请求消息;OCS接收计费请求消息后,当OCS判断用户账户余额不充足时,向SPP查询正在使用的业务服务的预留单元的使用情况,将预留单元中还未使用完的金额与用户账户中剩余的金额作为用户账户的实际余额,预留给同时使用该账户的多个用户业务。In the present invention, when a user applies for a business service from the SPP, the SPP sends to the OCS a billing request message carrying the account reservation mode parameter of the business service application; after the OCS receives the billing request message, when the OCS determines that the user account balance is not When it is sufficient, query the usage status of the reserved unit of the business service being used from the SPP, and use the unused amount in the reserved unit and the remaining amount in the user account as the actual balance of the user account, and reserve it for the concurrent use of the service. Multiple user services for an account.

现有技术中的OCS对所有业务服务申请的账户预留方式,都是采用独享账户预留方式来处理。一般业务服务申请的预留单元足够支付典型的业务使用量。本发明中将业务服务申请的账户预留方式分为两类:独享账户预留和共享账户预留。独享账户预留是指:SPP向OCS申请为该业务的预留单元由该业务独享,在服务使用期间,不允许其他业务抢占该预留单元。如果申请的预留单元使用完前用户主动结束服务,或服务提供不成功,SPP将剩余的预留单元返还给OCS。共享账户预留是指:SPP向OCS申请为该业务的预留单元不由该业务独享,当其他业务向OCS申请账户预留单元,而OCS上该账户余额不足时,OCS允许其他业务抢占该部分预留单元。The OCS in the prior art uses an exclusive account reservation method for all business service application account reservation methods. The reserved units requested by the general business service are sufficient to cover typical business usage. In the present invention, account reservation methods for business service applications are divided into two categories: exclusive account reservation and shared account reservation. Exclusive account reservation means: SPP applies to OCS for the reserved unit of the business to be exclusively used by the business, and other businesses are not allowed to preempt the reserved unit during the service use period. If the user actively terminates the service before the applied reserved units are used up, or the service provision is unsuccessful, the SPP will return the remaining reserved units to the OCS. Shared account reservation means: SPP applies to OCS for the reserved unit of this business, which is not exclusive to the business. When other businesses apply for account reserved unit from OCS, and the account balance on OCS is insufficient, OCS allows other businesses to preempt the reserved unit. Some reserved units.

在本发明中,为每个业务服务申请的计费请求消息中增加一个标识业务是独享账户预留方式,还是共享账户预留方式的属性参数(Attribution ValueParameter,AVP),AVP参数的内容如下表:In the present invention, an attribute parameter (Attribution ValueParameter, AVP) that identifies whether the service is an exclusive account reservation mode or a shared account reservation mode (Attribution ValueParameter, AVP) is added in the charging request message of each business service application, and the content of the AVP parameter is as follows surface:

  AVP(属性参数) AVP (attribute parameter)   Description(描述) Description (description)   Is_Share(是否是共享账户预留) Is_Share (whether it is a shared account reservation)   “Y”共享账户预留;“N”独享账户预留 "Y" reserved for shared accounts; "N" reserved for exclusive accounts

图2示出了本发明中按使用时长计费的业务共享账户的方法实现流程,详述如下:Fig. 2 shows the implementation process of the method of the service sharing account charged according to the duration of use in the present invention, which is described in detail as follows:

1.终端设备(User Equipment,UE)向SPP发送服务请求消息,向SPP申请业务服务;1. The terminal equipment (User Equipment, UE) sends a service request message to the SPP, and applies for business services to the SPP;

2.SPP向OCS发送包含有预留账户属性参数的计费请求消息,预留账户属性参数表示该业务服务申请的账户预留方式;2. SPP sends to OCS a billing request message containing reserved account attribute parameters, and the reserved account attribute parameters indicate the account reservation method of the business service application;

3.OCS根据当前正在使用的业务服务的账户预留方式、预留单元的使用情况和用户账户中的剩余金额,判断预付费账户实际余额是否充足,以能够满足终端设备的业务服务申请预留单元的需要;3. OCS judges whether the actual balance of the prepaid account is sufficient according to the account reservation method of the business service currently in use, the usage of the reserved unit, and the remaining amount in the user account, so as to meet the requirements for the reservation of the business service application of the terminal device. the needs of the unit;

如果预付费账户实际余额充足:If the actual balance of the prepaid account is sufficient:

4.OCS向SPP发送业务服务预留单元成功消息,下发预留单元;4. The OCS sends the business service reserved unit success message to the SPP, and issues the reserved unit;

5.SPP向终端设备提供业务服务。5. The SPP provides business services to the terminal equipment.

如果预付费账实际余额户不充足:If the actual balance of the prepaid account is insufficient:

6.OCS向SPP下发业务服务预留单元失败消息;6. The OCS sends a business service reservation unit failure message to the SPP;

7.SPP向终端设备发送提供业务服务失败消息。7. The SPP sends a message of failure to provide business services to the terminal device.

当用户申请业务服务时,若OCS无须查询当前正在使用的业务服务的预留单元的使用情况,就能够判断账户实际余额充足时,无论业务服务申请请求采用何种账户预留方式,OCS都将为用户申请的业务服务下发所需的预留单元。若账户实际余额不足,如在先业务服务申请采用独享预留方式时,无论在后业务服务申请采用独享或共享预留方式,都不能占用在先申请业务服务的预留单元,OCS预留单元失败。When a user applies for a business service, if OCS can determine that the actual balance of the account is sufficient without inquiring about the usage of the reserved unit of the business service currently in use, no matter what account reservation method is used for the business service application request, OCS will Issue the required reservation unit for the business service requested by the user. If the actual balance of the account is insufficient, if the exclusive reservation method is adopted for the prior business service application, no matter whether the exclusive or shared reservation method is adopted for the subsequent business service application, the reserved unit of the business service application for the earlier application cannot be occupied, and OCS reserves Unit failed.

图3示出了本发明中用户终端采用独享预留账户方式先后申请业务服务计费的方法实现流程,在本实施例中两个按时长计费的业务A和业务B都采用独享预留方式的计费请求,假设UE先申请业务A的服务后申请业务B的服务,OCS先处理UE业务A的申请,具体内容详述如下:Figure 3 shows the implementation flow of the method in which the user terminal successively applies for business service charging in the way of exclusive reserved accounts in the present invention. Assuming that the UE first applies for the service of service A and then applies for the service of service B, the OCS first processes the application of UE service A. The details are as follows:

1.UE向服务提供系统A(SPP A)请求业务A的服务;1. The UE requests the service of business A from the service providing system A (SPP A);

2.SPP A向OCS发送计费请求消息,消息中携带有属性参数,标识业务A以独享预留账户方式申请计费;2. SPP A sends a billing request message to OCS, which contains attribute parameters, identifying that service A applies for billing in the form of an exclusive reserved account;

3.OCS计算A服务申请的预留单元α对应金额为a,账户余额c,且c>=a;3. OCS calculates that the corresponding amount of the reserved unit α of the service application of A is a, the account balance is c, and c>=a;

4.OCS为A服务预留成功,为SPP A下发预留单元α;4. OCS successfully reserves service for A, and issues the reserved unit α for SPP A;

5.A服务交付使用;5. A service delivery;

6.UE向服务提供系统B(SPP B)请求业务B的服务;6. The UE requests the service of business B from the service providing system B (SPP B);

7.SPP B向OCS发送计费请求消息,消息中携带有属性参数,标识业务B向OCS以独享预留账户方式申请计费;7. SPP B sends a billing request message to OCS, and the message carries attribute parameters, identifying that service B applies to OCS for billing in the form of an exclusive reserved account;

8.OCS计算B服务申请预留单元β对应金额为b,账户余额c-a<b,余额不足;8. OCS calculates that the amount corresponding to the reserved unit β for service application B is b, the account balance c-a<b, and the balance is insufficient;

当c-a<B服务最小预留单元对应金额时:When c-a < the amount corresponding to the minimum reserved unit of B service:

9.1.业务B的预留单元申请失败,OCS不为业务B分配预留单元;9.1. The application for reserved units of business B fails, and OCS does not allocate reserved units for business B;

9.2.B服务无法使用;9.2.B Service is unavailable;

当c-a>=B服务最小预留单元对应金额时:When c-a>=the amount corresponding to the minimum reserved unit of B service:

10.1.下发新的B服务预留单元,根据c-a的金额大小,预留单元可以包含多个B服务最小预留单元;10.1. Issue a new B service reserved unit. According to the amount of c-a, the reserved unit can contain multiple B service minimum reserved units;

10.2.B服务交付使用。10.2.B Delivery of Services.

图4示出了本发明中用户终端采用独享和共享预留账户方式先后申请业务服务计费的方法实现流程,在本实施例中两个按时长计费的业务A采用独享预留方式,业务B采用共享预留方式申请计费,假设UE先申请业务A的服务,后申请业务B的服务,OCS先处理UE业务A的申请,具体内容详述如下:Figure 4 shows the implementation process of the method for user terminals to apply for business service charging successively in the way of exclusive and shared reserved accounts in the present invention. In this embodiment, two services A that are charged according to the length of time adopt the method of exclusive reservation , service B adopts the shared reservation method to apply for billing, assuming that the UE first applies for the service of service A, and then applies for the service of service B, and OCS first processes the application of UE service A. The specific content is detailed as follows:

1.UE向SPP A请求业务A的服务;1. The UE requests the service of business A from SPP A;

2.SPP A向OCS发送计费请求消息,消息中携带有属性参数,标识业务A向OCS以独享预留账户方式申请计费;2. SPP A sends a billing request message to OCS, and the message carries attribute parameters, identifying that service A applies to OCS for billing in the form of an exclusive reserved account;

3.OCS计算A服务申请预留单元α对应金额为a,账户余额c,且c>=a;3. OCS calculates that the amount corresponding to the reserved unit α for service application A is a, and the account balance is c, and c>=a;

4.OCS为A服务预留单元成功,为SPP A下发预留单元α;4. OCS successfully reserves the unit for A service, and issues the reserved unit α for SPP A;

5.A服务交付使用;5. A service delivery;

6.UE向SPP B请求B服务;6. UE requests B service from SPP B;

7.SPP B向OCS发送计费请求消息,消息中携带有属性参数,标识业务B向OCS以共享预留账户方式申请计费;7. SPP B sends a billing request message to OCS, and the message carries attribute parameters, identifying that service B applies to OCS for billing in the form of a shared reserved account;

8.OCS计算B服务申请预留单元β对应金额为b,账户余额c-a<b,余额不足;8. OCS calculates that the amount corresponding to the reserved unit β for service application B is b, the account balance c-a<b, and the balance is insufficient;

当c-a<B服务最小预留单元对应金额时:When c-a < the amount corresponding to the minimum reserved unit of B service:

9.1.业务B的预留单元申请失败,OCS不为业务B分配预留单元;9.1. The application for reserved units of business B fails, and OCS does not allocate reserved units for business B;

9.2.B服务无法使用;9.2.B Service is unavailable;

当c-a>=B服务最小预留单元对应金额时:When c-a>=the amount corresponding to the minimum reserved unit of B service:

10.1.下发新的B服务预留单元,根据c-a的金额多少,预留单元可以包含多个B服务最小预留单元;10.1. Issue a new B service reserved unit. According to the amount of c-a, the reserved unit can contain multiple B service minimum reserved units;

10.2.B服务交付使用。10.2.B Delivery of Services.

当账户余额不足时,共享账户预留方式允许其他业务占用其预留单元。所以当账户余额不足时,为了满足多业务同时申请业务的需要,OCS将申请了共享账户预留方式的业务所占用的预留单元对应的金额,划分给在后申请的独享账户预留方式业务服务申请使用;或者与在后申请的共享账户预留方式的业务服务申请共享该部分的金额。When the account balance is insufficient, the shared account reservation method allows other businesses to occupy its reserved unit. Therefore, when the account balance is insufficient, in order to meet the needs of multiple businesses applying for services at the same time, OCS will allocate the amount corresponding to the reserved unit occupied by the business that has applied for the shared account reservation method to the exclusive account reservation method that will be applied later Business service application; or share this part of the amount with the business service application that shares the account reservation method applied later.

图5示出了本发明中用户终端采用共享和独享预留账户方式先后申请业务服务计费的方法实现流程,在本实施例中两个按时长计费的业务A采用共享预留方式,业务B采用独享预留方式申请计费,假设UE先申请业务A的服务,后申请业务B的服务,OCS先处理UE业务A的申请,具体内容详述如下:Fig. 5 shows the implementation process of the method in which the user terminal adopts the method of sharing and exclusive reserved accounts to successively apply for business service charging in the present invention. In this embodiment, two services A charged by duration adopt the shared reservation method, Service B adopts the exclusive reservation method to apply for billing. Assuming that the UE first applies for the service of service A, and then applies for the service of service B. OCS first processes the application of UE service A. The details are as follows:

1.UE向SPP A请求业务A的服务;1. The UE requests the service of business A from SPP A;

2.SPP A向OCS发送计费请求消息,消息中携带有属性参数,标识业务A向OCS以共享预留账户方式申请计费;2. SPP A sends a billing request message to OCS, and the message carries an attribute parameter, which identifies that service A applies to OCS for billing in the form of a shared reserved account;

3.OCS计算A服务申请预留单元α对应金额为a,账户余额c,且c>=a;3. OCS calculates that the amount corresponding to the reserved unit α for service application A is a, and the account balance is c, and c>=a;

4.OCS为A服务分配预留单元成功,为SPP A下发预留单元α;4. OCS successfully allocates reserved units for service A, and issues reserved units α for SPP A;

5.A服务交付使用;5. A service delivery;

6.UE向SPP B请求业务B的服务;6. The UE requests the service of business B from SPP B;

7.SPP B向OCS发送计费请求消息,消息中携带有属性参数,标识业务B向OCS以独享预留账户方式申请计费;7. SPP B sends a billing request message to OCS, and the message carries attribute parameters, identifying that service B applies to OCS for billing in the form of an exclusive reserved account;

8.OCS计算B服务申请预留单元β对应金额为b,账户余额c-a<b,余额不足;OCS根据A服务申请携带的属性参数判断得知A服务允许共享预留账户;8. The OCS calculates that the amount corresponding to the reserved unit β of the B service application is b, the account balance c-a<b, and the balance is insufficient; OCS judges according to the attribute parameters carried in the A service application that the A service allows sharing of the reserved account;

9.OCS发送查询消息给SPP A查询A服务配额使用状况;9. OCS sends a query message to SPP A to query the usage status of A's service quota;

10.SPP A上报已使用预留单元αused10. SPP A reports the used reserved unit α used ;

11.OCS计算αused对应金额为aused,账户余额c-aused>=b,共享账户余额满足B服务要求;11. OCS calculates that the corresponding amount of α used is a used , the account balance ca used >= b, and the balance of the shared account meets the service requirements of B;

12.OCS为业务B分配预留单元成功,向SPP B下发预留单元β;12. The OCS allocates the reserved unit for service B successfully, and sends the reserved unit β to SPP B;

13.B服务交付使用;13.B service delivery;

如果c-aused-b>=A服务最小预留单元对应金额:If ca used -b>=A service minimum reserved unit corresponding amount:

14.1.OCS为业务A分配预留单元成功,向SPP A下发新的A服务的预留单元,根据c-aused-b的金额大小,预留单元可以包含多个A服务的最小预留单元;14.1. OCS allocates reserved units for service A successfully, and issues a new reserved unit for service A to SPP A. According to the amount of ca used -b, the reserved unit can contain multiple minimum reserved units for service A;

14.2.UE的A服务交付使用;14.2. UE's A service delivery;

如果c-aused-b<A服务最小预留单元对应金额:If ca used -b<A service minimum reserved unit corresponding amount:

15.1.OCS发送消息给SPP A,通知SPP A停止A服务使用;15.1.OCS sends a message to SPP A, informing SPP A to stop using A service;

15.2.SPP A中止UE的A服务的使用。15.2. SPP A suspends the use of the UE's A service.

当账户余额不足时,在前申请的共享账户预留方式的业务服务允许其他在后申请的业务共享其预留单元,若在后申请的业务预留方式是共享账户预留方式,则OCS允许这些业务共享账户余额,并采用跟踪计费的方法对这些业务进行计费控制。When the account balance is insufficient, the business service of the shared account reservation method applied earlier allows other business services applied later to share its reserved units. If the business reservation method applied for later is the shared account reservation method, OCS allows These services share the account balance, and the method of tracking and charging is used to control the charging of these services.

OCS跟踪计费是指当OCS为一个使用量随时间线性增长的服务预留了一部分的金额后,OCS为该服务设置一个定时器,并监控该服务的使用时间。由于该服务使用量具有随时间线性增长的特点,使得OCS可以不需要SPP上报当前正在使用的业务服务申请预留单元的使用情况,就可以获得服务使用时长信息,为业务服务下发新的预留单元。启用跟踪计费时,若用户终端结束业务服务的使用,SPP上报停止计费消息给OCS,OCS可以根据定时器时长计算该服务使用情况。当OCS检测到该服务预留单元已经用完,OCS通知SPP中断该服务提供。OCS tracking billing means that when OCS reserves a part of the amount for a service whose usage increases linearly with time, OCS sets a timer for the service and monitors the usage time of the service. Since the usage of this service has the characteristic of increasing linearly with time, the OCS can obtain the service usage time information without the need for SPP to report the usage of the business service application reservation unit currently in use, and issue a new reservation for the business service. stay unit. When tracking charging is enabled, if the user terminal ends the use of the business service, the SPP reports a stop charging message to the OCS, and the OCS can calculate the service usage according to the timer duration. When the OCS detects that the reserved units of the service have been exhausted, the OCS notifies the SPP to suspend the provision of the service.

图6示出了本发明中用户终端采用共享预留账户方式先后申请业务服务计费的方法实现流程,在本实施例中两个按时长计费的业务A采用共享预留方式,业务B采用共享预留方式申请计费;假设UE先申请业务A的服务,后申请业务B的服务,OCS先处理UE业务A的申请,具体内容详述如下:Fig. 6 shows the implementation flow of the method for the user terminal to apply for business service charging successively in the way of sharing reserved accounts in the present invention. Shared reservation method applies for billing; assuming that the UE first applies for the service of business A, and then applies for the service of business B, OCS first processes the application of UE business A, and the details are as follows:

1.UE向SPP A请求业务A的服务;1. The UE requests the service of business A from SPP A;

2.SPP A向OCS发送计费请求消息,消息中携带有属性参数,标识业务A向OCS以共享预留账户方式申请计费;2. SPP A sends a billing request message to OCS, and the message carries an attribute parameter, which identifies that service A applies to OCS for billing in the form of a shared reserved account;

3.OCS计算A服务申请预留单元α对应金额为a,账户余额c,且c>=a;3. OCS calculates that the amount corresponding to the reserved unit α for service application A is a, and the account balance is c, and c>=a;

4.OCS为A服务预留成功,为SPP A下发预留单元α;4. OCS successfully reserves service for A, and issues the reserved unit α for SPP A;

5.A服务交付使用;5. A service delivery;

6.UE向SPP B请求业务B的服务;6. The UE requests the service of business B from SPP B;

7.SPP B向OCS发送计费请求消息,消息中携带有属性参数,标识业务B向OCS以共享预留账户方式申请计费;7. SPP B sends a billing request message to OCS, and the message carries attribute parameters, identifying that service B applies to OCS for billing in the form of a shared reserved account;

8.计算B服务申请预留单元β对应金额为b,账户余额c-a<b,余额不足,根据A服务与B服务的属性参数,判断A服务与B服务都为共享预留账户;8. Calculate the amount corresponding to the reserved unit β for the B service application as b, the account balance c-a<b, and the balance is insufficient. According to the attribute parameters of the A service and the B service, it is judged that the A service and the B service are shared reserved accounts;

9.OCS发送查询消息给SPP A查询A服务配额使用状况;9. OCS sends a query message to SPP A to query the usage status of A's service quota;

10.SPP A上报已使用预留单元αused10. SPP A reports the used reserved unit α used ;

11.OCS计算αused对应金额为aused11. OCS calculates the corresponding amount of α used as a used ;

如果c-aused<B服务最小预留单元对应金额;If ca used < the amount corresponding to the smallest reserved unit of service B;

12.1.OCS向SPP B返回B服务预留失败消息;12.1. OCS returns a message of B service reservation failure to SPP B;

12.2.SPP B向UE发送申请的B服务无法使用消息。12.2.SPP B sends a message that the requested B service cannot be used to the UE.

如果c-aused>=B服务最小预留单元对应金额:If ca used >= The amount corresponding to the minimum reserved unit of B service:

13.1.OCS为B服务预留c-aused对应的预留单元;13.1. OCS reserves the reserved unit corresponding to ca used for service B;

13.2.SPP B向UE发送B服务交付使用消息;13.2. SPP B sends B service delivery and use message to UE;

13.3.OCS为A服务预留c-aused对应的预留单元;13.3. OCS reserves the reserved unit corresponding to ca used for service A;

13.4.SPP A向UE发送A服务交付使用消息;13.4. SPP A sends A service delivery use message to UE;

OCS为A服务与B服务分别设置定时器,启用跟踪计费控制处理流程,检测服务提供情况。The OCS sets timers for service A and service B respectively, enables tracking and charging control processing flow, and detects service provision.

图7示出了上一实施例中的OCS跟踪计费控制处理流程,具体内容详述如下:Figure 7 shows the OCS tracking and charging control processing flow in the previous embodiment, and the specific content is described in detail as follows:

在步骤S701中,OCS为A服务和B服务都预留了c-aused金额对应的预留单元。In step S701, the OCS reserves reserved units corresponding to the amount of ca used for both service A and service B.

在步骤S702中,OCS通知SPP A为UE提供A服务;通知SPP B为UE提供B服务。In step S702, the OCS notifies SPP A to provide service A for the UE; notifies SPP B to provide service B for the UE.

在步骤S703中,OCS分别为A服务和B服务启动定时器A和定时器B,定时器A的时间间隔amin对应A服务的最小预留单元;定时器B的时间间隔bmin对应B服务的最小预留单元。In step S703, OCS starts timer A and timer B for service A and service B respectively, the time interval a min of timer A corresponds to the minimum reserved unit of service A; the time interval b min of timer B corresponds to service B The smallest reserved unit of .

在步骤S704中,判断定时器A的时间间隔amin已到或定时器B的时间间隔bmin已到两者间是否有一者发生,是则执行步骤S705;否则返回步骤S704。In step S704, it is judged whether the time interval a min of timer A has expired or the time interval b min of timer B has expired, whether one of them occurs, if yes, execute step S705; otherwise, return to step S704.

在步骤S705中,判断定时器A的时间间隔amin是否到了,是则执行步骤S706,否则执行步骤S707。In step S705, it is judged whether the time interval a min of timer A is up, if yes, execute step S706, otherwise execute step S707.

在步骤S706中,OCS在预付费账户中扣除A服务的一个最小预留单元对应的金额。In step S706, the OCS deducts an amount corresponding to a minimum reserved unit of service A from the prepaid account.

在步骤S707中,判断定时器B的时间间隔bmin是否到了,是则执行步骤S708,否则返回步骤S704。In step S707, it is judged whether the time interval b min of the timer B is up, if yes, execute step S708, otherwise return to step S704.

在步骤S708中,OCS在预付费账户中扣除B服务的一个最小预留单元对应的金额。In step S708, the OCS deducts an amount corresponding to a minimum reserved unit of service B from the prepaid account.

在步骤S709中,OCS判断预付费账户是否小于A服务的一个最小预留单元对应的金额,是则执行步骤S712,否则返回步骤S704。In step S709, the OCS judges whether the prepaid account is less than the amount corresponding to a minimum reserved unit of service A, if yes, execute step S712, otherwise return to step S704.

在步骤S710中,OCS判断预付费账户是否小于B服务的一个最小预留单元对应的金额,是则执行步骤S711,否则返回步骤S704。In step S710, the OCS judges whether the prepaid account is less than the amount corresponding to a minimum reserved unit of service B, if yes, execute step S711, otherwise return to step S704.

在步骤S711中,OCS通知SPP B停止为UE提供B服务。In step S711, the OCS notifies SPP B to stop providing B services for the UE.

在步骤S712中,OCS通知SPP A停止为UE提供A服务。In step S712, the OCS notifies SPP A to stop providing A service for the UE.

为了使本发明的OCS跟踪计费控制处理流程更便于理解,现结合具体的业务计费场景对OCS跟踪计费控制实现流程进行说明,图8示出了对于本发明的用户终端采用共享预留账户方式先后申请业务服务计费的实施例中的OCS跟踪计费控制实现流程的一个计费场景示例。In order to make the OCS tracking and charging control processing flow of the present invention easier to understand, the implementation process of OCS tracking and charging control is described in conjunction with specific service charging scenarios. An example of a charging scenario of the OCS tracking and charging control implementation process in the embodiment of successively applying for business service charging in the account mode.

假设在该计费场景示例中,服务A和服务B都为共享预留账户方式,SPPA提供的A服务为普通通话业务服务;SPP B提供的B服务为IP长话业务服务;用户C的预付费账户余额为10元。用户C首先申请业务A的普通语音通话服务(其计费单位为1分钟,每分钟通话费0.2元,标识为共享预留账户),在线计费系统采用实时计费方式为语音通话预留金额6元。在语音通话过程中,用户D申请了业务B的IP长途通话服务(IP长途计费单位为6秒,每6秒0.1元,标识为共享预留账户),并使用用户C的预付费账户进行付费。OCS跟踪计费控制处理流程如下:Assume that in this billing scenario example, both service A and service B are in the form of shared reserved accounts, and service A provided by SPPA is an ordinary call service; service B provided by SPP B is an IP toll service; user C’s prepaid The fee account balance is $10. User C first applies for the ordinary voice call service of business A (the billing unit is 1 minute, the call fee is 0.2 yuan per minute, and it is marked as a shared reserved account), and the online billing system adopts the real-time billing method to reserve the amount for the voice call 6 yuan. During the voice call, user D applies for the IP long-distance call service of service B (the IP long-distance billing unit is 6 seconds, 0.1 yuan per 6 seconds, marked as a shared reserved account), and uses the prepaid account of user C to make a call. pay. OCS tracking and charging control processing flow is as follows:

1.在线计费系统需要为用户D的IP长途通话预留5元,此时用户账户可用余额为4元<5元。OCS发送查询预留余额使用状况消息给SPP A普通语音通话业务提供系统,普通语音通话业务提供系统回复已经使用了15分钟。OCS计算得到预留余额还剩6-0.2*15=3元,加上原来的余额总共是3+4=7元。OCS计算7元对于普通通话可通话时间为7/0.2=35分钟,对于IP长途可通话时间为6*7/0.1=6*70=420秒钟。将35分钟预留单元下发给SPP A普通通话业务提供系统;同时将420秒预留单元下发给SPP B IP长话业务提供系统。1. The online billing system needs to reserve 5 yuan for the IP long-distance call of user D, and the available balance of the user account at this time is 4 yuan < 5 yuan. The OCS sends a message of querying the usage status of the reserved balance to the ordinary voice call service provision system of SPP A, and the ordinary voice call service provision system replies that it has been used for 15 minutes. OCS calculates that the reserved balance is 6-0.2*15=3 yuan, plus the original balance, the total is 3+4=7 yuan. The OCS calculates that the available time for 7 yuan for ordinary calls is 7/0.2=35 minutes, and the available time for IP long-distance calls is 6*7/0.1=6*70=420 seconds. The 35-minute reserved unit is issued to the SPP A ordinary call service provision system; at the same time, the 420-second reserved unit is issued to the SPP B IP toll service provision system.

2.OCS为普通通话设置定时器1,间隔时间为1分钟;为IP长途通话设置定时器2,间隔时间为6秒钟;当IP长途开始使用,OCS首先为IP长话预留6秒对应的0.1元,每当使用时间经过6秒,定时器2向OCS触发定时消息,OCS在共享账户余额中扣除0.1元,并预留下一个0.1元。当普通通话开始使用,OCS首先为普通通话预留1分钟对应的0.2元,每当1分钟到达时,定时器1向OCS触发定时消息,OCS在共享账户余额中扣除0.2元,并预留下一个0.2元。如此反复。2. OCS sets timer 1 for ordinary calls, with an interval of 1 minute; sets timer 2 for IP toll calls, with an interval of 6 seconds; when IP toll starts to be used, OCS first reserves 6 seconds for IP toll Every time 6 seconds have elapsed, timer 2 triggers a timing message to OCS, and OCS deducts 0.1 yuan from the shared account balance and reserves the next 0.1 yuan. When ordinary calls start to be used, OCS first reserves 0.2 yuan corresponding to 1 minute for ordinary calls. Whenever 1 minute arrives, timer 1 triggers a timing message to OCS, and OCS deducts 0.2 yuan from the shared account balance and reserves it. A 0.2 yuan. so repeatedly.

3.当账户余额中已无足够余额用于IP长话预留,OCS通知IP长话业务提供系统中止B服务。3. When there is no enough balance in the account balance for IP long-distance call reservation, the OCS notifies the IP long-distance service provisioning system to suspend the B service.

4.当账户余额中已无足够余额用于普通通话业务预留,OCS通知普通通话业务提供系统中止A服务。4. When there is no enough balance in the account balance for ordinary call service reservation, OCS notifies the ordinary call service provision system to suspend service A.

为了描述简便,在本说明书的实施例中均以不多于两个业务服务申请服务为例对本发明进行说明和解释,不难理解在实际使用中可以将本发明用于多个业务的同时申请使用。For ease of description, in the embodiments of this specification, no more than two business service application services are used as examples to illustrate and explain the present invention. It is not difficult to understand that the present invention can be used for simultaneous application of multiple services in actual use. use.

图9示出了实现业务服务计费的系统组网结构,系统中包括终端设备100通过通信网络向服务提供系统200请求提供业务服务,服务提供系统200通过在线计费接口与在线计费系统300相连,并向在线计费系统300申请鉴权、预留等计费请求。服务提供系统200为终端设备100提供业务服务。当终端设备100向服务提供系统200申请业务服务的时候,服务提供系统200向在线计费系统300发送携带有业务服务申请的账户预留方式标识属性参数的计费请求消息;在线计费系统300接收计费请求消息后,当在线计费系统300确定用户账户不充足时,向服务提供系统200查询正在使用的业务服务的预留单元的使用情况,将预留单元中还未使用完的预留单元的金额与用户账户中剩余的金额作为用户账户的实际余额预留给同时使用的多个业务。在线计费系统300为多个共享预留方式业务进行跟踪计费控制处理流程。服务提供系统200可以为第二代通信系统移动交换中心/业务交换点(Second Generation Mobile Servicesswitching Center/Service Switching Point,2G MSC/SSP);第三代伙伴组织移动交换中心/业务交换点(Third Generation Partnership Projects Services switchingCenter/Service Switching Point,3G MSC Server/SSP)等。Fig. 9 shows the system networking structure for realizing business service charging. The system includes terminal equipment 100 requesting service provision system 200 to provide business services through a communication network, and service providing system 200 communicates with online charging system 300 through an online charging interface. connected, and apply to the online charging system 300 for charging requests such as authentication and reservation. The service providing system 200 provides business services for the terminal device 100 . When the terminal device 100 applies for a business service to the service providing system 200, the service providing system 200 sends to the online charging system 300 a charging request message carrying the attribute parameter of the account reservation mode identification of the business service application; the online charging system 300 After receiving the charging request message, when the online charging system 300 determines that the user account is not sufficient, it will query the service providing system 200 about the usage of the reserved units of the business service being used, and transfer the unused reserved units in the reserved units to the service provider system 200. The amount of the reserved unit and the remaining amount in the user account are reserved as the actual balance of the user account for multiple services used at the same time. The online charging system 300 performs tracking and charging control processing flow for multiple shared reserved mode services. The service providing system 200 may be a second generation communication system mobile switching center/service switching point (Second Generation Mobile Servicesswitching Center/Service Switching Point, 2G MSC/SSP); a third generation partner organization mobile switching center/service switching point (Third Generation Partnership Projects Services SwitchingCenter/Service Switching Point, 3G MSC Server/SSP), etc.

图10示出了实现本发明中的业务服务提供系统结构,其中服务提供系统200包括:服务提供单元201是为用户终端100提供服务的业务单元。消息管理单元202当业务服务申请使用时,通过该单元向在线计费系统300发送计费申请消息。计费消息管理单元202负责发送/接收服务提供系统200与在线计费系统300间的计费消息转换和发送。计费消息管理单元203负责管理申请的预留单元,并检测服务提供单元201在提供服务时预留单元使用情况,当预留单元用尽前通过计费消息管理单元202向在线计费系统300申请新的预留单元。属性参数存储单元2021保存着服务提供系统200的账户预留方式,属性参数为“Y”表示为共享账户预留方式,“N”表示为独享账户预留方式。配额管理单元203保存在线计费系统300下发的业务服务预留单元,并检测服务提供单元201在提供服务时,预留单元的使用情况,当预留单元用尽前通过计费消息管理单元202向在线计费系统300申请新的预留单元。FIG. 10 shows the structure of the service providing system implementing the present invention, wherein the service providing system 200 includes: the service providing unit 201 is a service unit providing services for the user terminal 100 . The message management unit 202 sends a charging application message to the online charging system 300 through this unit when the business service is applied for use. The charging message management unit 202 is responsible for converting and sending charging messages between the sending/receiving service providing system 200 and the online charging system 300 . The charging message management unit 203 is responsible for managing the reserved units applied for, and detects the usage of the reserved units when the service providing unit 201 provides services, and reports to the online charging system 300 through the charging message management unit 202 before the reserved units are exhausted. Apply for a new reserved unit. The attribute parameter storage unit 2021 stores the account reservation mode of the service providing system 200, the attribute parameter being "Y" indicates the shared account reservation mode, and "N" indicates the exclusive account reservation mode. The quota management unit 203 saves the business service reservation unit issued by the online charging system 300, and detects the use of the reserved unit when the service provider 201 provides services, and passes the charging message management unit before the reserved unit is exhausted. 202 Apply to the online charging system 300 for a new reserved unit.

图11示出了实现本发明中的业务服务的在线计费系统结构,在线计费系统300包括:通用接入模块301,它将服务提供系统200向在线计费系统300发送的消息翻译为符合接口规范的消息发送到在线计费系统300,以及在线计费系统300返回的各种消息翻译为符合接口规范的消息发送给服务提供系统。计费控制模块302处理在线计费系统300中的计费事件。计费控制模块302中包括:消息管理模块3021,负责接收由服务提供系统200上报的各种消息,并将功能控制/调度模块3022的功能命令生成消息下发给服务提供系统200。定时器管理模块3023在使用共享账户预留控制时,定时器管理模块3023为每个使用共享账户计费的业务生成一个定时器,检测业务使用状况。当一个定时器事件发生时,向功能控制/调度模块3022发送定时消息。功能控制/调度模块3022是计费控制模块302的核心功能调度模块,负责调用各个功能模块来完成共享账户余额计费控制功能。账户余额管理(Account Balance Management Function,ABMF)模块303对用户的账户进行管理,包括账户的预扣、回补扣费、充值、实时余额查询等功能。计费网关(Charging Gateway Function,CGF)模块304为在线计费系统300的话单处理模块,通过话单配置规则,按照不同的业务生成不同格式的话单文件,供账务系统400做账务级的优惠处理、查询、统计使用。批价处理(Rating Function,RF)模块305是在线计费系统300的费用计算模块,可以通过计费规则、参数的配置,支持灵活资费策略,支持实时计算、实时优惠,支持正算和反算两种计算方式。Fig. 11 shows the structure of the online charging system that realizes the business service in the present invention. The online charging system 300 includes: a general access module 301, which translates the message sent by the service providing system 200 to the online charging system 300 into conforming The message of the interface specification is sent to the online charging system 300, and various messages returned by the online charging system 300 are translated into messages conforming to the interface specification and sent to the service providing system. The charging control module 302 handles charging events in the online charging system 300 . The billing control module 302 includes: a message management module 3021 , responsible for receiving various messages reported by the service providing system 200 , and sending the function command generation message of the function control/scheduling module 3022 to the service providing system 200 . When the timer management module 3023 uses shared account reservation control, the timer management module 3023 generates a timer for each service charged by the shared account, and detects the service usage status. When a timer event occurs, a timing message is sent to the function control/scheduling module 3022 . The function control/scheduling module 3022 is the core function scheduling module of the charging control module 302, responsible for invoking each function module to complete the charging control function of the shared account balance. The account balance management function (Account Balance Management Function, ABMF) module 303 manages the user's account, including functions such as account withholding, rebate deduction, recharging, and real-time balance inquiry. The charging gateway (Charging Gateway Function, CGF) module 304 is the bill processing module of the online billing system 300, through the bill configuration rules, according to different services, generate bill files in different formats, for the accounting system 400 to do accounting-level Preferential processing, inquiry, statistical use. The Rating Function (RF) module 305 is the fee calculation module of the online billing system 300, which can support flexible tariff policies, real-time calculations, real-time discounts, forward calculation and reverse calculation through the configuration of charging rules and parameters There are two calculation methods.

作为本发明的一个实施例,用户终端100申请的业务服务时,用户账户余额足,即账户余额大于在线计费系统300计算用户终端100申请的业务服务需要预留的单元对应的金额,在线计费系统300采用普通预留计费控制功能。用户终端100通过电信网络向服务提供系统200发送业务服务申请。服务提供单元201通过计费消息管理单元202向在线计费系统300发送包含属性参数存储单元2021保存的属性参数的计费请求消息。通用接入模块301将服务提供系统200发送的消息翻译为符合接口规范的消息发送到计费控制模块302。消息管理模块3021接收由服务提供系统200上报的计费请求消息,并将该计费请求消息发送给功能控制/调度模块3022;功能控制/调度模块3022进行业务识别和计费策略选择,调度批价处理模块305计算用户终端100申请的业务服务所需要的金额,功能控制/调度模块3022调用账户余额管理模块303的功能对账户余额扣费,再调用计费网关模块304生成话单,最后将计费结果,即用户终端100申请的业务服务所需要预留的预留单元通过消息管理模块3021以及通用接入模块301处理后,发送给服务提供系统200。配额管理单元203保存在线计费系统300下发的业务服务预留单元;服务提供单元201为用户终端100提供业务服务。当配额管理单元203检测到服务提供单元201提供服务的预留单元将用尽时,通过计费消息管理单元2021向在线计费系统300申请新的预留单元。As an embodiment of the present invention, when the user terminal 100 applies for a business service, the user account balance is sufficient, that is, the account balance is greater than the amount corresponding to the unit that the online billing system 300 calculates for the business service that the user terminal 100 applies for. Billing system 300 adopts common reserved charging control functions. The user terminal 100 sends a business service application to the service providing system 200 through the telecommunication network. The service providing unit 201 sends a charging request message including the attribute parameters stored in the attribute parameter storage unit 2021 to the online charging system 300 through the charging message management unit 202 . The universal access module 301 translates the message sent by the service providing system 200 into a message conforming to the interface specification and sends it to the billing control module 302 . The message management module 3021 receives the charging request message reported by the service providing system 200, and sends the charging request message to the function control/scheduling module 3022; the function control/scheduling module 3022 performs service identification and charging policy selection, and schedules batches The price processing module 305 calculates the amount required for the business service requested by the user terminal 100. The function control/scheduling module 3022 calls the function of the account balance management module 303 to deduct fees from the account balance, and then calls the billing gateway module 304 to generate a bill. The billing result, that is, the reserved unit required for the business service requested by the user terminal 100 is processed by the message management module 3021 and the general access module 301 , and then sent to the service providing system 200 . The quota management unit 203 saves the business service reservation unit issued by the online charging system 300 ; the service providing unit 201 provides business services for the user terminal 100 . When the quota management unit 203 detects that the reserved units provided by the service providing unit 201 will be exhausted, the charging message management unit 2021 applies for a new reserved unit to the online charging system 300 .

作为本发明的另外一个实施例,用户终端100申请的业务服务时,用户账户余额不足,即账户余额小于在线计费系统300计算用户终端100申请的业务服务需要预留的单元对应的金额。与上一实施例不同的是,服务提供系统200当前正在为另一用户终端A提供服务,用户终端A与用户终端100使用同一账户,两者均为共享账户预留方式。当功能控制/调度模块3022进行业务识别和计费策略选择后,调度批价处理模块305计算用户终端100申请的业务服务所需要金额;功能控制/调度模块3022调用账户余额管理模块303查询账户余额不足,则通过消息管理模块3021向服务提供系统200发送当前正在使用的用户终端的业务服务配额的使用情况。配额管理单元203检测服务提供单元201的服务提供预留单元的使用状况,向在线计费系统300发送当前用户终端的业务服务已使用的预留单元。功能控制/调度模块3022调度批价处理模块305计算当前业务服务已使用预留单元对应的金额,并根据该金额与账户余额管理模块303中的账户余额判断,能否为用户终端100提供其申请的业务服务的最小预留单元,如果可以,功能控制/调度模块3022启动在线计费系统跟踪计费控制处理流程,调度定时器模块3023为当前正在使用的用户终端A的业务服务和用户终端100申请的业务服务设定定时器。调用账户余额管理模块303的功能对账户余额扣费。调用计费网关模块304为上述两个业务分配新的业务服务的最小预留单元,生成话单。最后将两个业务服务新的最小预留单元通过消息管理模块3021经通用接入模块301处理后,发送给服务提供系统200;配额管理单元203保存在线计费系统300下发的预留单元;服务提供单元201为用户终端100提供业务服务。当服务提供系统200开始使用新的最小预留单元为两个业务提供服务时,定时器模块3023开始计时。当功能控制/调度模块3022检测到其中有一个业务服务的定时时间到,则再为该服务下发一个新的最小预留单元,并在账户余额管理模块303中减掉对应的金额。如此反复,直到账户余额管理模块303中的余额不足以为这两个业务分配最小预留单元,则功能控制/调度模块3022向服务提供系统200下发预留单元失败消息,服务提供系统200停止为用户终端或用户终端100提供业务服务。As another embodiment of the present invention, when the user terminal 100 applies for a business service, the user account balance is insufficient, that is, the account balance is less than the amount corresponding to the unit that the online billing system 300 calculates for the business service that the user terminal 100 applies for. The difference from the previous embodiment is that the service providing system 200 is currently providing services for another user terminal A, and the user terminal A and the user terminal 100 use the same account, both of which are shared account reservation methods. After the function control/scheduling module 3022 performs business identification and billing strategy selection, the dispatch batch price processing module 305 calculates the amount required for the business service applied by the user terminal 100; the function control/scheduling module 3022 calls the account balance management module 303 to query the account balance Insufficient, then the usage status of the business service quota of the user terminal currently in use is sent to the service providing system 200 through the message management module 3021 . The quota management unit 203 detects the usage status of the service provision reserved units of the service provision unit 201 , and sends the reserved units used by the service of the current user terminal to the online charging system 300 . The function control/scheduling module 3022 schedules the batch price processing module 305 to calculate the amount corresponding to the reserved unit used by the current business service, and judges whether the application can be provided for the user terminal 100 according to the amount and the account balance in the account balance management module 303 If possible, the function control/scheduling module 3022 starts the online charging system to track and charge the control process flow, and the scheduling timer module 3023 provides the service of the user terminal A currently in use and the user terminal 100 The application's business service sets the timer. Call the function of the account balance management module 303 to deduct fees from the account balance. The billing gateway module 304 is invoked to allocate the minimum reserved unit of a new service for the above two services, and generate a bill. Finally, the new minimum reserved units of the two business services are sent to the service providing system 200 after being processed by the general access module 301 through the message management module 3021; the quota management unit 203 saves the reserved units issued by the online charging system 300; The service providing unit 201 provides business services for the user terminal 100 . When the service providing system 200 starts to use the new minimum reserved unit to provide services for two services, the timer module 3023 starts timing. When the function control/scheduling module 3022 detects that the timing time of one of the business services is up, it issues a new minimum reserved unit for the service, and subtracts the corresponding amount in the account balance management module 303 . Repeat this until the balance in the account balance management module 303 is not enough to allocate the minimum reserved unit for the two services, then the function control/scheduling module 3022 sends a reserved unit failure message to the service providing system 200, and the service providing system 200 stops for A user terminal or user terminal 100 provides business services.

作为本发明的另一施例,与上一实施例不同的是当用户终端100主动结束业务服务时,服务提供系统200上报停止计费消息给在线计费系统300。在线计费系统300根据定时器模块3023计时时长计算该服务使用情况。As another embodiment of the present invention, the difference from the previous embodiment is that when the user terminal 100 actively terminates the business service, the service providing system 200 reports a charging stop message to the online charging system 300 . The online charging system 300 calculates the service usage according to the time counted by the timer module 3023 .

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1. the method that business service is chargeed is used for a plurality of teleservices and uses an account application business service simultaneously, it is characterized in that said method comprises the steps:
1.2 Online Charging System receives the charging request message that comprises property parameters that service provider system sends after receiving the business service request of user terminal; Said property parameters identifies the account reservation mode of said business service for sharing the account reservation mode;
1.3 the amount of money that does not also use in the reservation unit of said Online Charging System with current account balance and the current business service of using is as the real balance of user account, and is that the business service request of user terminal is distributed and reserved the unit;
So that said service provider system is that said user terminal provides said business service according to said reservation unit.
2. the method that business service as claimed in claim 1 is chargeed is characterized in that said step 1.3 further comprises:
2.1 when the amount of money of said account balance more than or equal to the reservation unit correspondence of the business service request application of said user terminal, Online Charging System is that the business service request of said user terminal is distributed the reservation unit, and is handed down to service provider system.
3. the method that business service as claimed in claim 1 is chargeed is characterized in that said step 1.3 further comprises:
5.1 reserve the corresponding amount of money in unit when said account balance less than said business service application, Online Charging System is judged the account reservation mode of current all business service of using according to said property parameters; Share the account reservation mode if the account reservation mode of said current all business service of using comprises, then execution in step 5.2;
5.2 Online Charging System has used the situation of reserving the unit to the business service of the said shared account reservation mode of using of service provider system inquiry;
5.3 service provider system sends the reservation unit that the business service of the said shared account reservation mode of using has been used to said Online Charging System;
5.4 Online Charging System calculates the corresponding amount of money in the untapped reservation of said business service unit according to said reservation unit; The said amount of money is incorporated in the account balance; If the account balance after incorporating into more than or equal to the corresponding amount of money in the minimum reservation unit of the business service of the shared account reservation mode of said current application, is an execution in step 5.5 then; Otherwise execution in step 5.8;
Start timer control respectively 5.5 Online Charging System is the business service of shared account reservation mode of business service and the current application of said shared account reservation mode, and issue and reservation unit that timer time is corresponding at interval;
5.6 business service when the said shared account reservation mode of using; Or the timer time of the business service of the shared account reservation mode of current application arrives at interval; Online Charging System is the business service of the said shared account reservation mode of using, or the business service of the shared account reservation mode of current application issues the corresponding at interval reservation unit of new timer time;
5.7 when said account balance less than the corresponding amount of money in the minimum reservation unit of the business service of the shared account reservation mode of the business service of said shared account reservation mode or current application, then Online Charging System is reserved the unit failure;
5.8 Online Charging System issues to service provider system and reserves the unit failed message.
4. the method that business service as claimed in claim 1 is chargeed is characterized in that said service provider system is that said user terminal provides said business service further to comprise according to said reservation unit:
7.1 reserve the unit failure when said Online Charging System issues, then service provider system does not provide business service for said user terminal.
5. the method that business service as claimed in claim 1 is chargeed is characterized in that said service provider system is that said user terminal provides said business service further to comprise according to said reservation unit:
8.1 reserve the unit success when said Online Charging System issues, then service provider system is that said user terminal provides business service.
6. a business service provides system; Be used to receive the business service request of user terminal, send charging request message to Online Charging System, the reservation unit that issues according to Online Charging System is that user terminal provides business service; It is characterized in that said service provider system comprises:
The charging message administrative unit, be used to send or reception and Online Charging System between the conversion and the transmission of charging message;
Service provides the unit; Be used to said user terminal business service is provided; When the business service application is used; Send the charging solicitation message that comprises property parameters through the charging message administrative unit to Online Charging System, said property parameters identifies the account reservation mode of said business service for sharing the account reservation mode;
The quotas administered unit; Be used to manage the reservation unit that the business service request for said user terminal that Online Charging System issues is distributed; And the service that detects provides the unit when service is provided; Reserve the operating position of unit, pass through the charging message administrative unit to the new reservation unit of Online Charging System application before the unit is used up when reserving.
7. service provider system as claimed in claim 6 is characterized in that, said charging message administrative unit further comprises:
The property parameters memory cell is used to deposit said property parameters;
The account reservation mode of the business service of said property parameters identifying subscriber terminal application, said account reservation mode comprise that exclusively enjoying account reserves or share account and reserve.
8. the Online Charging System of a business service is used for the charging request message according to service provider system, issues the reservation unit to service provider system, it is characterized in that, said Online Charging System comprises:
The charging control module is used to receive the charging request message that comprises property parameters that service provider system sends after receiving the business service request of user terminal; Said property parameters identifies the account reservation mode of said business service for sharing the account reservation mode;
And the amount of money that does not also use in the reservation unit with current account balance and the current business service of using is as the real balance of user account, and is that the business service request of user terminal is distributed and reserved the unit; So that said service provider system is that said user terminal provides said business service according to said reservation unit;
The account balance administration module is used for user account is managed;
The charging gateway module is used for the ticket of business service is handled;
Criticize the valency processing module, be used for calculating the corresponding expense of charging event that Online Charging System takes place;
General AM access module is used to translate and send the interaction message between service provider system and the Online Charging System.
9. Online Charging System as claimed in claim 8 is characterized in that, said charging control module further comprises:
Function control/scheduler module, each module that is used for controlling and dispatching Online Charging System is with the charging control of the business service application of accomplishing Online Charging System;
The message management module is used to receive the various message that reported by service provider system, and the command function generation message of function control/scheduler module is handed down to service provider system.
10. Online Charging System as claimed in claim 9 is characterized in that, said charging control module further comprises:
The timer management module is used for when using shared account to reserve control, uses for each and shares timer of account reservation mode business service application generation, detects the behaviour in service of business service; When a timer event takes place, send timed message to function control/scheduler module, a said timer event points to the timing that reaches a business service.
CN2006100346058A 2006-03-21 2006-03-21 Charging method and system for traffic service Expired - Fee Related CN1859534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100346058A CN1859534B (en) 2006-03-21 2006-03-21 Charging method and system for traffic service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100346058A CN1859534B (en) 2006-03-21 2006-03-21 Charging method and system for traffic service

Publications (2)

Publication Number Publication Date
CN1859534A CN1859534A (en) 2006-11-08
CN1859534B true CN1859534B (en) 2012-06-27

Family

ID=37298395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100346058A Expired - Fee Related CN1859534B (en) 2006-03-21 2006-03-21 Charging method and system for traffic service

Country Status (1)

Country Link
CN (1) CN1859534B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020060454A1 (en) * 2018-09-18 2020-03-26 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for providing a communication service in a communication network using preallocated usage units

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968106B (en) * 2006-11-13 2013-04-24 华为技术有限公司 Charging system and method for balance sharing
CN1996858A (en) * 2006-12-26 2007-07-11 华为技术有限公司 A method, system and server for charging the pre-paid account
CN101282524B (en) * 2007-04-03 2013-04-24 华为技术有限公司 Method, system and related apparatus for managing smart card
CN101908966A (en) * 2009-06-04 2010-12-08 华为技术有限公司 Method, device and system for broadband billing
CN102137371B (en) * 2010-06-11 2013-08-28 华为技术有限公司 Method, system and equipment for charging account balance management
CN103607707A (en) * 2013-11-20 2014-02-26 中国联合网络通信集团有限公司 Resource distribution method and apparatus based on inverse computation charging
CN105792160B (en) * 2014-12-22 2019-05-03 华为软件技术有限公司 A kind of device and method handling accounting request
CN106332040B (en) * 2015-06-30 2019-11-19 华为技术有限公司 Method and device for account resource sharing
CN106572453B (en) * 2015-10-09 2020-04-28 中国电信股份有限公司 Content charging method, charging network element, SP server and charging system
CN107464107A (en) * 2016-06-06 2017-12-12 阿尔卡特朗讯 Method, system and equipment for the online charging of cloud system
CN108833501B (en) * 2018-05-29 2021-09-10 张迅 Resource management system and method
CN111092740B (en) * 2019-12-30 2022-05-31 北京天威诚信电子商务服务有限公司 Online charging method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010069701A (en) * 2001-04-28 2001-07-25 인수환 levy system of deferred payment for communication using card of communication for prepayment
CN1608387A (en) * 2001-10-08 2005-04-20 艾利森电话股份有限公司 System and method for charging in a communications network and a communications network charging server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010069701A (en) * 2001-04-28 2001-07-25 인수환 levy system of deferred payment for communication using card of communication for prepayment
CN1608387A (en) * 2001-10-08 2005-04-20 艾利森电话股份有限公司 System and method for charging in a communications network and a communications network charging server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020060454A1 (en) * 2018-09-18 2020-03-26 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for providing a communication service in a communication network using preallocated usage units
US11363149B2 (en) 2018-09-18 2022-06-14 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for providing a communication service in a communication network using preallocated usage units

Also Published As

Publication number Publication date
CN1859534A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
CN1859534B (en) Charging method and system for traffic service
EP1435182B1 (en) System and method for charging in a communications network and a communications network charging server
CN101212532B (en) Combined billing system and method
RU2407182C2 (en) Wap-gateway and method of billing control for prepaid subscribers
CN101227302B (en) Charging method, control apparatus, charging device and charging system
CN101208943A (en) Controlling the provision of services in a communication network
US20100145838A1 (en) Method, system, and apparatus for opening accounting data capabilities
CN102144372A (en) Online charging correlation in IMS networks
US20090298466A1 (en) Charging method, device and system
CN100389561C (en) Charge network and charge agency device and charge method
EP1281270B1 (en) Distributed pre-paid communications infrastructure
US20120123919A1 (en) Method And System For Billing In A Communication Network
CN112738744A (en) A charging method, device and system
CN101022488A (en) Charge metering method, system and account period switching module
CN1968106B (en) Charging system and method for balance sharing
EP1627522B1 (en) Method and system for controlling prepaid data services
CN100545862C (en) Method and apparatus for billing multiple services
EP1657848A1 (en) System and method for implementing data service prepayment
CN100365983C (en) A method for realizing packet data prepaid service
EP1667417B1 (en) A method and system for rewarding users of services in a communications system
CN102238513A (en) Service billing system, device and system
CN100512125C (en) Resource billing method based on PARLAY gateway
EP2590359B1 (en) Method, system, charging equipment, and account balance management center for free resources processing
CN102547642B (en) Methods for determining and controlling online charging user, and system and device for controlling online charging user
WO2008058484A1 (en) Charging method, charging system and its apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180426

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: London, England

Patentee before: GW partnership Co.,Ltd.

Effective date of registration: 20180426

Address after: London, England

Patentee after: GW partnership Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120627