CN1992763B - A Method of Realizing Prepayment in Digital Trunking System - Google Patents
A Method of Realizing Prepayment in Digital Trunking System Download PDFInfo
- Publication number
- CN1992763B CN1992763B CN2005101356692A CN200510135669A CN1992763B CN 1992763 B CN1992763 B CN 1992763B CN 2005101356692 A CN2005101356692 A CN 2005101356692A CN 200510135669 A CN200510135669 A CN 200510135669A CN 1992763 B CN1992763 B CN 1992763B
- Authority
- CN
- China
- Prior art keywords
- prepaid
- quota
- account
- server
- client
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Meter Arrangements (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种数字集群系统实现预付费的方法,起呼终端发起集群呼叫,PDS向鉴权服务器请求鉴权;鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户的预付费信息,确定预付费帐户、使用帐户的终端及计费方式,并为未激活的帐户分配配额,然后通知预付费客户端;预付费客户端通知调度服务器只寻呼使用有可用配额的预付费帐户的终端;预付费客户端监控已寻呼终端的状态和配额使用情况,在所述预付费帐户没有余额可使用时或使用该帐户的终端退出了呼叫,则通知所述预付费服务器该帐户此次计费结束;所述预付费服务器记录该配额总额并回收未使用的配额,结束。本发明方法可以根据时长、流量和呼叫次数计费,按集团和按用户实现预付费功能。
A method for realizing prepayment in a digital trunking system. A calling terminal initiates a trunking call, and the PDS requests authentication from an authentication server; account, the terminal using the account and the billing method, and allocate quota for the inactive account, and then notify the prepaid client; the prepaid client notifies the scheduling server to only page the terminal using the prepaid account with available quota; the prepaid The fee client monitors the status and quota usage of the paging terminal, and when the prepaid account has no balance to use or the terminal using the account quits the call, it notifies the prepaid server that the billing of the account is over ; The prepaid server records the total quota and reclaims the unused quota, end. The method of the invention can charge according to duration, flow rate and call times, and realize the prepayment function according to groups and users.
Description
技术领域technical field
本发明涉及数字集群系统,尤其是指一种数字集群系统实现预付费的方法。 The invention relates to a digital trunking system, in particular to a method for realizing prepayment in a digital trunking system. the
背景技术Background technique
传统的数字集群系统多应用于专网,所提供的集群业务存在着服务范围和服务人群的限制,同时由于单独建设网络,与公共网建设重叠,而使得资源浪费严重。对于上述缺点较为现实的解决方案是把集群业务集成到公共网系统中,由原来的专用网络逐步演变为虚拟专用网,从而达到降低网络建设成本、扩大使用范围的目的。 Traditional digital trunking systems are mostly used in private networks, and the trunking services provided are limited in service scope and service population. At the same time, because the network is constructed separately and overlaps with the construction of the public network, resources are seriously wasted. A more realistic solution to the above shortcomings is to integrate the cluster business into the public network system, and gradually evolve from the original private network to a virtual private network, so as to reduce the cost of network construction and expand the scope of use. the
目前的集群通信系统已经逐步实现采用虚拟专用网的数字集群系统,但在计费领域并没有得到同步的发展。传统的集群通信系统预付费方式基本上针对集团计费,预付费方式较为简单,大多采用按集团包月的方式。而基于公共网系统的数字集群系统不仅仅为集团提供集群业务,对于不同集团用户、无集团个人用户等都可以要求使用集群业务,从而使得基于公共网系统的数字集群系统服务人群更加广泛,这就要求数字集群系统能够提供合理的预付费方式来满足不同层次的用户需要,包括按集团、群组和用户进行预付费,计费时考虑时长、流量或呼叫次数等。较为遗憾的是,目前对于集群系统预付费的实现方式,国际上没有相应的规范和标准,也没有提出上述问题解决方案的文献。 The current trunking communication system has gradually realized the digital trunking system using virtual private network, but it has not developed synchronously in the field of billing. The traditional trunking communication system prepayment method is basically for the group billing, the prepayment method is relatively simple, and most of them adopt the monthly subscription method by the group. The digital trunking system based on the public network system not only provides trunking services for the group, but also requires the use of trunking services for different group users and individual users without a group, so that the digital trunking system based on the public network system serves a wider range of people. It is required that the digital trunking system can provide a reasonable prepayment method to meet the needs of different levels of users, including prepayment by group, group and user, and consider the duration, traffic or number of calls when billing. It is a pity that currently there are no corresponding norms and standards in the world for the implementation of prepaid trunking systems, and there are no documents proposing solutions to the above problems. the
发明内容Contents of the invention
本发明要解决的技术问题是提供一种数字集群系统实现预付费的方法,可以根据时长、流量和呼叫次数计费,按集团和按用户实现预付费功能。 The technical problem to be solved by the present invention is to provide a method for realizing prepayment in a digital trunking system, which can charge according to duration, flow rate and call times, and realize prepayment function by group and by user. the
为了解决上述技术问题,本发明提供了一种数字集群系统实现预付费的方法,该系统的调度服务器中驻留有预付费客户端,鉴权服务器中驻留有预付费服务器,该方法包括以下步骤: In order to solve the above-mentioned technical problems, the present invention provides a method for realizing prepayment in a digital trunking system, in which a prepayment client resides in a scheduling server, and a prepayment server resides in an authentication server, the method includes the following steps:
(a)起呼终端发起集群呼叫,调度服务器向鉴权服务器发送鉴权请求消息,由鉴权服务器对起呼终端和被叫群组进行鉴权; (a) The calling terminal initiates a group call, the scheduling server sends an authentication request message to the authentication server, and the authentication server authenticates the calling terminal and the called group;
(b)所述鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户的预付费信息,确定计费涉及的预付费帐户、使用帐户的终端及计费方式的信息,通过与所述调度服务器上驻留的预付费客户端交互,将确定的所述信息通知到所述预付费客户端,并为未激活的帐户分配配额; (b) The prepaid server residing on the authentication server determines the prepaid account involved in the charging, the terminal using the account and the information of the charging method according to the prepaid information of the relevant user of the call, and communicates with the described Scheduling the interaction of prepaid clients residing on the server, notifying the prepaid clients of the determined information, and allocating quotas for inactive accounts;
(c)所述预付费客户端根据得到的预付费帐户及其配额情况、通知调度服务器只寻呼使用有可用配额的预付费帐户的终端; (c) According to the obtained prepaid account and its quota situation, the prepaid client notifies the scheduling server to only page the terminal using the prepaid account with available quota;
(d)所述预付费客户端监控已寻呼终端的状态和配额使用情况,对预付费帐户进行计费,如果在所述预付费帐户没有余额可使用之前,使用该帐户的终端退出了呼叫,执行下一步,否则在该预付费帐户没有余额可使用时,再执行下一步; (d) The prepaid client monitors the status and quota usage of the paging terminal, charges the prepaid account, and if the terminal using the account quits the call before the prepaid account has no balance available , go to the next step, otherwise, go to the next step when there is no balance available in the prepaid account;
(e)所述预付费客户端通知所述预付费服务器所述预付费帐户此次计费结束,携带该帐户已使用的配额总额;所述预付费服务器记录该配额总额并回收未使用的配额,预付费客户端清除该帐户的信息,结束。 (e) The prepayment client notifies the prepayment server that the billing of the prepayment account is over, carrying the total quota used by the account; the prepayment server records the total quota and reclaims the unused quota , the prepaid client clears the account information, and ends. the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,当涉及的预付费帐户为集团预付费帐户时,通过以下步骤完成与所述预付费服务器的交互: Further, the above method can also have the following features: in the step (b), when the prepaid account involved is a group prepaid account, the interaction with the prepaid server is completed through the following steps:
(b1)所述预付费服务器确定计费涉及的各集团预付费帐户、使用帐户的终端及计费方式的信息,将该信息随授权消息发送到所述预付费客户端; (b1) The prepaid server determines the information about the prepaid accounts of each group involved in the billing, the terminal using the account, and the billing method, and sends the information to the prepaid client along with the authorization message;
(b2)所述预付费客户端判断授权消息中的集团预付费帐户是否已激活,如果已激活,通知调度服务器寻呼使用这些帐户的终端,然后执行步骤(d),对未激活的集团预付费帐户,执行步骤(b3); (b2) The prepaid client terminal judges whether the group prepaid account in the authorization message has been activated, and if activated, notifies the dispatching server to paging the terminals using these accounts, and then performs step (d) to prepay the unactivated group Fee account, execute step (b3);
(b3)所述预付费客户端向所述预付费服务器发送申请配额消息,为未激活的集团预付费帐户申请配额; (b3) The prepayment client sends an application quota message to the prepayment server to apply for a quota for an inactive group prepayment account;
(b4)所述预付费服务器收到配额请求后,为有余额的集团预付费帐户分段分配配额,通过分配配额消息返回给预付费客户端,对没有余额分配的帐户则返回无余额分配的信息,执行步骤(c)。 (b4) After the prepaid server receives the quota request, it allocates quotas for the group prepaid accounts with balances, and returns the quota allocation message to the prepaid client, and returns no balance allocation for accounts without balance allocation. information, go to step (c). the
进一步地,上述方法还可具有以下特点:所述步骤(d)中,对集团预付费帐户计费时,进一步分为以下步骤: Further, the above method can also have the following characteristics: in the step (d), when charging the group prepaid account, it is further divided into the following steps:
(d1)预付费客户端监控所有已寻呼终端的状态和配额使用情况,对一个集团预付费帐户计费时,按使用该帐户的所有终端已使用的配额累加计算该帐户已使用配额; (d1) The prepaid client monitors the status and quota usage of all paging terminals, and when charging a group prepaid account, calculates the used quota of the account based on the accumulated quotas used by all terminals using the account;
(d2)如果在该集团预付费帐户已使用的配额达到当前分配配额的门限之前,使用该帐户的所有终端退出了呼叫,执行步骤(e),否则在已使用的配额达到当前分配配额的门限时,所述预付费客户端再次向所述预付费服务器发送申请配额请求消息; (d2) If before the used quota of the group prepaid account reaches the threshold of the current distribution quota, all terminals using the account have withdrawn from the call, perform step (e), otherwise the used quota reaches the threshold of the current distribution quota Within a time limit, the prepaid client sends an application quota request message to the prepaid server again;
(d3)所述预付费服务器收到申请配额请求消息后,在该帐户还有余额分配时,为其分配新的配额并通过分配配额消息返回给所述预付费客户端,在该帐户没有余额分配时,在返回的分配配额消息中携带无余额分配的信息; (d3) After the prepaid server receives the application quota request message, when the account still has a balance allocation, it allocates a new quota and returns it to the prepaid client through the allocation quota message, if the account has no balance When allocating, carry the information of no balance allocation in the returned allocation quota message;
(d4)所述预付费客户端收到分配配额的消息后,判断是否为该集团预付费帐户分配了新的配额,如果是,修改该帐户的当前分配配额,返回步骤(d1),如果没有为该帐户分配新的配额,执行下一步; (d4) After the prepaid client receives the message of quota allocation, it judges whether a new quota has been allocated for the group's prepaid account, if yes, modify the current allocated quota of the account, and return to step (d1), if not Assign a new quota to the account and proceed to the next step;
(d5)预付费客户端监控使用该集团预付费帐户的终端使用完剩余配额,然后停止这些终端的集群业务,执行步骤(e)。 (d5) The prepaid client terminal monitors that the terminals using the group's prepaid account have used up the remaining quota, and then stops the cluster services of these terminals, and performs step (e). the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,当涉及的预付费帐户为用户预付费帐户时,通过以下步骤完成与所述预付费服务器的交互:所述预付费服务器确定计费涉及的用户预付费帐户及其对应终端、计费方式,为每一个用户预付费帐户分配配额,没有余额分配的帐户则做没有余额分配的标识,然后将这些预付费信息返回给所述预付费客户端。 Further, the above method can also have the following features: in the step (b), when the prepaid account involved is a user prepaid account, the interaction with the prepaid server is completed through the following steps: the prepaid server Determine the user prepaid accounts involved in billing, their corresponding terminals, and billing methods, allocate quotas for each user prepaid account, and identify accounts without balance allocation, and then return these prepaid information to all The above prepaid client. the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,当涉及的 预付费帐户为用户预付费帐户时,通过以下步骤完成与所述预付费服务器的交互: Further, the above method can also have the following characteristics: in the step (b), when the prepaid account involved is a user prepaid account, the interaction with the prepaid server is completed through the following steps:
(b1)所述预付费服务器确定计费涉及的各用户预付费帐户、使用帐户的终端及计费方式的信息,将该信息随授权消息发送到所述预付费客户端; (b1) The prepaid server determines the information of each user's prepaid account involved in charging, the terminal using the account, and the charging method, and sends the information to the prepaid client along with the authorization message;
(b2)所述预付费客户端收到授权消息后,向所述预付费服务器发送申请配额消息,消息中包含所述各用户预付费帐户; (b2) After the prepaid client receives the authorization message, it sends an application quota message to the prepaid server, and the message includes the prepaid account of each user;
(b3)所述预付费服务器收到申请配额消息后,为有可分配余额的用户预付费帐户分配配额,通过分配配额消息返回给所述预付费客户端,对没有可分配余额的帐户则返回无余额分配的信息,然后转入步骤(c)。 (b3) After receiving the quota application message, the prepaid server allocates quotas for user prepaid accounts with an allocable balance, returns the quota allocation message to the prepaid client, and returns an account with no allocable balance No information on balance distribution, then go to step (c). the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,预付费服务器为用户预付费帐户分配配额时采用分段分配的方式,且所述步骤(d)中,对用户预付费帐户计费时,进一步分为以下步骤: Further, the above-mentioned method may also have the following features: in the step (b), the prepaid server allocates quotas for the user's prepaid account in a segmented manner, and in the described step (d), the user prepaid Account billing is further divided into the following steps:
(d1)预付费客户端监控所有已寻呼终端的状态和配额使用情况,如果在用户预付费帐户的当前分配配额使用完之前,使用该帐户的终端退出了呼叫,执行步骤(e),否则在已使用的配额达到所述当前分配配额的门限时,向所述预付费服务器发送申请配额请求消息; (d1) The prepaid client terminal monitors the status and quota usage of all paging terminals, if the terminal using the account quits the call before the current allocated quota of the user's prepaid account is used up, perform step (e), otherwise When the used quota reaches the threshold of the current allocated quota, send an application quota request message to the prepaid server;
(d2)所述预付费服务器收到申请配额请求消息后,判断该用户预付费帐户是否有可分配余额,如果有,为其分配新的配额并通过分配配额消息返回给所述预付费客户端,如果没有,则在分配配额消息中携带无余额分配的信息; (d2) After receiving the application quota request message, the prepaid server determines whether the user's prepaid account has an allocable balance, and if so, allocates a new quota for it and returns it to the prepaid client through an allocated quota message , if not, carry the information of no balance allocation in the allocation quota message;
(d3)所述预付费客户端收到分配配额消息后,判断是否为该用户预付费帐户分配了新的配额,如果是,修改该帐户的当前分配配额,返回步骤(d1),如果没有为该帐户分配新的配额,执行下一步; (d3) After the prepaid client receives the allocation quota message, it judges whether a new quota has been allocated for the user's prepaid account, if yes, modify the current allocation quota of the account, and return to step (d1), if not The account is assigned a new quota, go to the next step;
(d4)预付费客户端监控使用该用户预付费帐户的终端使用完剩余配额,然后停止该终端的集群业务,执行步骤(e)。 (d4) The prepaid client terminal monitors that the terminal using the user's prepaid account has used up the remaining quota, then stops the cluster service of the terminal, and performs step (e). the
进一步地,上述方法还可具有以下特点:所述配额以通话时长、通话流量或呼叫次数为单位。 Further, the above method may also have the following characteristics: the quota is in units of call duration, call traffic or number of calls. the
进一步地,上述方法还可具有以下特点:所述预付费服务器在预付费帐户无余额供分配时,在分配配额消息中将为该帐户分配的配额置为上一次分配时的配额,在第一次分配时则将其置为零。 Further, the above method may also have the following features: when the prepaid account has no balance for allocation, the prepaid server will set the quota allocated to the account in the allocation quota message as the quota of the last allocation, and in the first It is set to zero on the first allocation. the
进一步地,上述方法还可具有以下特点:所述预付费客户端向所述预付费服务器再次申请配额时,在申请配额请求消息中携带该集团或用户预付费帐户当前已经使用的配额,所述预付费服务器收到该消息后记录该预付费帐户已使用的配额。 Further, the above method may also have the following features: when the prepayment client applies for a quota again from the prepayment server, the quota application request message carries the quota currently used by the group or user prepayment account, the After receiving the message, the prepaid server records the used quota of the prepaid account. the
进一步地,上述方法还可具有以下特点:所述预付费服务器再次为集团或用户预付费帐户分配配额且有余额供分配时,分配的配额为上一次分配的配额加上此次新分配的配额的总额。 Further, the above method may also have the following characteristics: when the prepaid server allocates quotas for group or user prepaid accounts again and there is a balance for allocation, the allocated quotas are the last allocated quotas plus the new allocated quotas this time total amount. the
进一步地,上述方法还可具有以下特点:所述当前分配配额的门限是所述预付费服务器在每次分配配额时,根据该次分配配额指定的,并随该分配配额一起返回到所述预付费客户端的;或者,该当前分配配额的门限是预付费客户端根据当前分配配额计算得到的。 Further, the above-mentioned method may also have the following features: the threshold of the current allocated quota is specified by the prepaid server according to the allocated quota each time, and returns to the prepaid server together with the allocated quota. or, the threshold of the current allocated quota is calculated by the prepaid client according to the current allocated quota. the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,所述预付费服务器还判断所述调度服务器上驻留的预付费客户端是否支持此次呼叫要使用的预付费帐户的计费方式,对不支持其计费方式的预付费帐户,不通知到所述预付费客户端或不为其分配配额。 Further, the above method can also have the following features: in the step (b), the prepaid server also judges whether the prepaid client resident on the dispatching server supports the prepaid account to be used for this call Charging method, for prepaid accounts that do not support the charging method, the prepaid client is not notified or quota is not allocated to it. the
进一步地,上述方法还可具有以下特点:所述预付费服务器是通过以下方式得知所述预付费客户端支持的计费方式信息的:由系统中的预付费客户端定时上报其支持的计费方式或在其计费方式变化时上报至所述预付费服务器,实现同步更新;或者,在所述步骤(a)中,由所述调度服务器将驻留其上的预付费客户端支持的计费方式随鉴权消息一起上报到鉴权服务器上驻留的预付费服务器。 Further, the above method may also have the following features: the prepayment server learns the charging mode information supported by the prepayment client through the following method: the prepayment client in the system regularly reports the charging method supported by it; charging method or when the charging method changes, report to the prepaid server to realize synchronous update; or, in the step (a), the scheduling server will reside the prepaid client supported The billing method is reported to the prepaid server residing on the authentication server together with the authentication message. the
进一步地,上述方法还可具有以下特点:所述数字集群系统具有漫游功能,所述步骤(b)中,预付费服务器是将计费涉及的预付费帐户发送使用该帐户的终端当前所在的所有调度服务器,各调度服务器上驻留的预付费客户端独立地完成对收到的预付费帐户的计费。 Further, the above-mentioned method may also have the following characteristics: the digital trunking system has a roaming function, and in the step (b), the prepaid server sends the prepaid account involved in the charging to all the terminals where the terminal using the account is currently located. The scheduling server, and the prepaid clients residing on each scheduling server independently complete the billing of the received prepaid account. the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,当一个预付费帐户可采用多种计费方式时,则结合使用该帐户的终端所在调度服务器上驻留的预付费客户端支持的计费方式,从中选择一种两者都支持的计费方式。 Further, the above-mentioned method can also have the following characteristics: in the step (b), when a prepaid account can adopt multiple charging methods, the prepaid customer who resides on the dispatching server where the terminal using the account is used is combined Choose one of the accounting methods supported by both terminals. the
进一步地,上述方法还可具有以下特点:所述步骤(b)中,当用户同时具有多个预付费帐户时,所述预付费服务器根据预设的策略选择其中一个预付费帐户,再按该预付费帐户的计费流程进行处理。 Further, the above method may also have the following features: in the step (b), when the user has multiple prepaid accounts at the same time, the prepaid server selects one of the prepaid accounts according to a preset strategy, and then presses the The billing process for prepaid accounts is processed. the
由上可知,本发明方法可以满足集群业务能按时长,流量,呼叫次数预付费计费的需求,同时支持按集团和按用户实现预付费功能,且分段分配累计配额的预付费实现方法以及预付费系统,同时本发明的方案使得本系统在使用中允许多个预付费客户端同时使用一个预付费帐户,能够最大限度减小计费误差。 It can be seen from the above that the method of the present invention can meet the requirements of prepaid charging for trunking services according to duration, traffic, and number of calls, and at the same time support the realization of prepaid functions by group and by user, and the prepaid realization method of allocating cumulative quotas in segments and A prepayment system, and at the same time, the scheme of the present invention allows multiple prepayment clients to use one prepayment account at the same time during use of the system, which can minimize billing errors. the
附图说明Description of drawings
图1是本发明中数字集群系统预付费业务计费实体关系示意图。 Fig. 1 is a schematic diagram of the relationship between charging entities of the digital trunking system prepaid service in the present invention. the
图2是本发明按集团预付费流程中的消息交互示意图。 Fig. 2 is a schematic diagram of message interaction in the process of group prepayment according to the present invention. the
图3是本发明按群组预付费流程中的消息交互流程图。 Fig. 3 is a flow chart of message interaction in the process of group prepayment according to the present invention. the
具体实施方式Detailed ways
下面结合附图和实施例对本发明做详细的说明。 The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments. the
图1是本发明数字集群系统中与预付费直接相关的实体示意图,预付费服务器12通过IP网10与一个或多个预付费客户端11相连。预付费客户端通常驻留在数字集群系统的调度服务器上,预付费服务器通常驻留在集群调度系统的鉴权服务器上,负责管理用户的预付费信息,如用户的预付费帐户及计费方式等。调度服务器(PDS)通过基站子系统(BSS)和终端通信。需要说明的是,以上所称驻留是逻辑上的驻留,在物理实体上,预付费服务器和鉴权服务器、预付费客户端和调度服务器通常是合一的,但也不排除分离的可能,如利用目前的SCP管理预付费信息时,其处理部分和SCP需要 利用接口相互通信。 FIG. 1 is a schematic diagram of entities directly related to prepayment in the digital trunking system of the present invention. A
预付费客户端在计费时,可以按通话时长、通话流量或按呼叫次数等方式计费。而本发明的预付费方式包括按集团预付费,按群组预付费和按用户预付费三种。群组呼叫可以选择按集团预付费,按群组预付费和按用户预付费。私密呼叫业务可以选择按集团预付费和按用户预付费。按集团和按用户预付费的计费对象是终端,对集团计费只是对其包括终端的计费的累加;按群组预付费则不同,其计费对象是群组呼叫,按群组呼叫的时长、流量或次数计算,计费时可以考虑终端的数量,但不对每个终端单独进行计费。 The prepaid client can charge by call duration, call traffic or number of calls. And the prepayment mode of the present invention includes prepayment by group, prepayment by group and prepayment by user. Group calls can choose prepaid by group, prepaid by group and prepaid by user. The private call service can choose prepaid by group or prepaid by user. The billing object of prepayment by group and by user is the terminal, and the billing of the group is only the accumulation of the billing including the terminal; the prepayment by group is different, and the billing object of the group call is group call. The duration, flow or number of calculations, the number of terminals can be considered when charging, but each terminal is not charged separately. the
下面分别以三个实施例对这三种预付费方式加以说明。 The three prepayment modes are described below with three embodiments. the
第一实施例:按集团预付费 The first embodiment: prepayment by group
本实施例为在数字集群系统上实现按集团预付费的方法。按集团预付费是指该集团的成员进行的呼叫将从集团预付费帐户上扣费,其特点是每次呼叫涉及的用户可能属于不同集团,而同一集团的用户可以分别发起或加入呼叫。因此,一个集团成员发起呼叫或被寻呼时,相应的集团预付费帐户可能已经在调度服务器上激活。 This embodiment is a method for realizing group prepayment on a digital trunking system. Prepaid by group means that the calls made by the members of the group will be charged from the group prepaid account, which is characterized in that the users involved in each call may belong to different groups, and users of the same group can initiate or join calls separately. Therefore, when a group member initiates a call or is paged, the corresponding group prepaid account may already be activated on the dispatch server. the
下面将介绍本实施例方法的流程,请参见图2中的消息交互,包括以下步骤: The flow of the method in this embodiment will be described below, please refer to the message interaction in Figure 2, including the following steps:
步骤110,起呼终端发起集群呼叫,可以是组呼或私密呼叫,起呼消息通过基站子系统发送到调度服务器; Step 110, the calling terminal initiates a group call, which can be a group call or a private call, and the calling message is sent to the dispatching server through the base station subsystem;
步骤120,调度服务器向鉴权服务器发送鉴权请求消息,由鉴权服务器对起呼终端和被叫群组进行鉴权,鉴权不通过则后续步骤都不执行; Step 120, the scheduling server sends an authentication request message to the authentication server, and the authentication server authenticates the calling terminal and the called group, and if the authentication fails, the subsequent steps are not executed;
步骤130,鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户(指主叫和所有被叫)的预付费信息,确定计费涉及的各集团预付费帐户、使用帐户的终端及计费方式等信息,将该信息随鉴权通过后回复的授权消息发送到调度服务器,再转发到驻留的预付费客户端; Step 130, the prepaid server residing on the authentication server determines the prepaid accounts of each group involved in the billing, the terminals using the accounts, and the accounts according to the prepaid information of the relevant users of this call (referring to the calling party and all called parties). Payment method and other information, the information is sent to the scheduling server along with the authorization message replied after the authentication is passed, and then forwarded to the resident prepaid client;
步骤140,预付费客户端收到授权消息后,判断其中的集团预付费帐户是否已激活,如果已激活,则通知调度服务器寻呼使用这些帐户的终端,执 行步骤180,对未激活的集团预付费帐户,执行步骤150; Step 140, after the prepayment client receives the authorization message, judge whether the group prepayment account therein has been activated, if activated, then notify the dispatching server to paging the terminals using these accounts, and perform step 180, for unactivated group prepaid accounts Prepaid account, go to step 150;
步骤150,预付费客户端向预付费服务器发送申请配额消息,为未激活的集团预付费帐户申请配额; Step 150, the prepayment client sends an application quota message to the prepayment server to apply for a quota for an inactive group prepayment account;
步骤160,预付费服务器收到配额请求后,为其中的集团预付费帐户分配配额(以时长、流量或呼叫次数为单位)和配额门限,没有余额分配的帐户则分配零配额,然后通过分配配额消息返回给预付费客户端; Step 160, after the prepaid server receives the quota request, it allocates quotas (in units of duration, traffic or call times) and quota thresholds for the group prepaid accounts therein, and allocates zero quotas for accounts without balance distribution, and then allocates quotas by allocating quotas. The message is returned to the prepaid client;
步骤170,预付费客户端收到为各集团预付费帐户分配的配额后,如果有可用配额,通知调度服务器对使用这些帐户的终端发起寻呼,如果没有可用配额,则不对使用这些帐户的终端发起寻呼; Step 170, after the prepaid client receives the quotas allocated for each group's prepaid accounts, if there are available quotas, notify the scheduling server to initiate paging to the terminals using these accounts; initiate a paging;
在呼叫建立后,对发起寻呼的终端所属的每个集团预付费帐户执行以下计费流程: After the call is established, perform the following billing process for each group prepaid account to which the terminal that initiated the paging belongs:
步骤180,预付费客户端监控所有已寻呼终端的状态和配额使用情况,对一个集团预付费帐户计费时,按使用该帐户的所有终端已使用的配额累加计算该帐户已使用配额; Step 180, the prepaid client monitors the status and quota usage of all paging terminals, and when charging a group prepaid account, calculates the account's used quota according to the accumulated quota used by all terminals using the account;
寻呼终端后,终端可能马上接入、迟后接入或始终没有接入呼叫,客户端监控终端的状态时,对没有接入呼叫的终端还包括对寻呼该终端的呼叫的状态的监控,在寻呼该终端的呼叫结束时,视为该终端退出了呼叫。 After paging a terminal, the terminal may access immediately, later, or never receive a call. When the client monitors the status of the terminal, the terminal that does not receive a call also includes the monitoring of the status of the call paging the terminal. , when the call for paging the terminal ends, it is considered that the terminal has withdrawn from the call. the
步骤190,如果在该集团预付费帐户已使用的配额达到当前的配额门限之前,使用该帐户的所有终端退出了呼叫,执行步骤240,否则在已使用的配额达到当前配额门限时,执行下一步; Step 190, if before the used quota of the group prepaid account reaches the current quota threshold, all terminals using the account quit the call, perform step 240, otherwise, when the used quota reaches the current quota threshold, perform the next step ;
步骤200,预付费客户端再次向预付费服务器发送申请配额请求消息,消息中携带该集团预付费帐户当前已经使用的配额; Step 200, the prepaid client sends a request for quota application to the prepaid server again, and the message carries the quota currently used by the group's prepaid account;
步骤210,预付费服务器收到配额请求后,记录该集团预付费帐户已使用的配额,并再次为该帐户分配配额和配额门限,通过分配配额消息返回给预付费客户端。如果该帐户还有余额分配,则分配的配额是上一次分配配额和新分配配额的总额,配额门限也根据该总配额重新计算,如果没有余额了,则返回上次分配的配额和配额门限; Step 210, after receiving the quota request, the prepayment server records the quota used by the group prepayment account, allocates a quota and quota threshold for the account again, and returns the quota allocation message to the prepayment client. If the account still has a balance allocation, the allocated quota is the total of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated based on the total quota. If there is no balance, the last allocated quota and quota threshold are returned;
步骤220,预付费客户端收到分配配额消息后,判断是否为该集团预付费帐户分配了新的配额,如果是,修改该帐户的当前分配配额和配额门限,返回步骤180,如果分配新的配额,执行下一步; Step 220, after the prepaid client terminal receives the allocation quota message, it is judged whether a new quota has been allocated for the group prepaid account, if yes, the current allocation quota and the quota threshold of the account are modified, and step 180 is returned, if a new quota is allocated Quota, go to the next step;
步骤230,预付费客户端监控使用该集团预付费帐户的终端使用完剩余配额,然后停止这些终端的集群业务; Step 230, the prepaid client terminal monitors that the terminals using the group's prepaid account have used up the remaining quota, and then stops the cluster services of these terminals;
步骤240,预付费客户端向预付费服务器发送预付费结束请求消息,携带该集团预付费帐户当前已使用的配额总额; Step 240, the prepayment client sends a prepayment end request message to the prepayment server, carrying the total quota currently used by the group's prepayment account;
步骤250,预付费服务器记录该集团预付费帐户此次计费使用的配额总额,回收已分配但未使用的配额,向预付费客户端回结束预付费应答消息,预付费客户端清除该预付费账户的信息,结束。 Step 250, the prepayment server records the total amount of quota used by the group's prepayment account for this charging, reclaims the allocated but unused quota, and returns the end prepayment response message to the prepayment client, and the prepayment client clears the prepayment Account information, end. the
在上述流程中,配额采用帐户计费方式中的时长、流量或呼叫次数为单位,可以方便预付费客户端计算配额。并且,本实施例的配额是分段分配的,因为对于集团预付费帐户来说,为某次呼叫的终端分配全额是不合适的。而且,由于预付费服务器和预付费客户端之间的分组报文可能丢失,分段分配的方式可以减少报文丢失带来的损失。至于每一次分配的配额,可以是一个固定的数值,也可以根据终端的数量进行调整,本发明对此不做限定。 In the above process, the quota uses the duration, traffic or call times in the account billing method as the unit, which can facilitate the calculation of the quota by the prepaid client. In addition, the quota in this embodiment is allocated in sections, because for a group prepaid account, it is inappropriate to allocate the full amount to the terminal of a certain call. Moreover, since the packet message between the prepayment server and the prepayment client may be lost, the method of segment allocation can reduce the loss caused by message loss. As for the quota allocated each time, it may be a fixed value, or may be adjusted according to the number of terminals, which is not limited in the present invention. the
预付费客户端在每次申请配额时携带已使用的配额,而预付费服务器记录该群组预付费帐户已使用的配额,也可以减少报文丢失带来的损失。 The prepaid client carries the used quota each time it applies for a quota, and the prepaid server records the used quota of the group prepaid account, which can also reduce the loss caused by packet loss. the
当采用时长、流量的计费方式时,流程中提到的配额门限可以设为配额的一个比例值,如70%~90%,预付费客户端在已使用配额达到该门限时及时地再次申请配额,从而避免了配额不足造成通话中断。不过在其它的实施方式中,该门限不一样要由预付费服务器来指定和传送到调度服务器,调度服务器可以按当前分配配额的一个比例,或者,将当前分配配额减去一个固定的数值,得到当前配额门限,也是可以的。不过不如在预付费服务器中来设定更为灵活。 When using the billing method of duration and traffic, the quota threshold mentioned in the process can be set as a proportional value of the quota, such as 70% to 90%, and the prepaid client will apply again in time when the used quota reaches the threshold Quota, thus avoiding the interruption of calls caused by insufficient quota. However, in other implementations, the threshold is not the same as specified by the prepaid server and sent to the scheduling server, and the scheduling server can use a ratio of the current allocated quota, or subtract a fixed value from the current allocated quota to obtain The current quota threshold is also possible. However, it is not as flexible as setting it in a prepaid server. the
而采用呼叫次数的计费方式时,可以将每次分配的配额设为1,可不设配额上限或也设为1,且在计算终端已使用配额时,不必监控终端的时长和 流量,只在退出呼叫时将已使用配额置为1就可以了。至于其它的计费方式,还可以是计算在呼叫过程中的说话的次数,如用户在一次呼叫过程中说了3说,就计为3,这个在计费时统计该终端获取话权的次数就可以了。 When using the billing method of the number of calls, the quota allocated each time can be set to 1, and the upper limit of the quota can not be set or set to 1, and when calculating the used quota of the terminal, it is not necessary to monitor the duration and flow of the terminal. Setting the used quota to 1 when exiting a call does the trick. As for other billing methods, it is also possible to calculate the number of times of speaking during a call. If the user says 3 words during a call, it will be counted as 3. This counts the number of times the terminal obtains the right to speak when billing. That's it. the
如果系统中统一采用一种计费方式,在实际的授权消息中可以不带计费方式信息,这种情况应视为携带默认的计费方式信息。 If one charging method is uniformly adopted in the system, the actual authorization message may not carry the charging method information, which should be regarded as carrying the default charging method information. the
上述流程中,当预付费服务器发现集团预付费帐户没有余额可分配时,是分配零配额或上次分配的配额和配额门限,但在另一实施例中,也可以采用其它表示没有余额分配的信息,如设一标志位。 In the above process, when the prepayment server finds that the group prepaid account has no balance to allocate, it allocates zero quota or the quota and quota threshold allocated last time, but in another embodiment, other means that there is no balance allocation can also be used. Information, such as setting a flag. the
第二实施例:按用户预付费 The second embodiment: prepayment by user
本实施例为在数字集群系统上实现按用户预付费的方法。按用户预付费的特点是用户预付费帐户由该用户单独使用,不会出现用户加入呼叫时,该用户预付费帐户就已经激活的情况。计费时,根据单个终端的通话时长、通话流量或呼叫次数进行计费。 This embodiment is a method for realizing prepayment per user on a digital trunking system. The feature of prepayment by user is that the user's prepaid account is used by the user alone, and there is no situation that the user's prepaid account is activated when the user joins the call. When billing, billing is carried out according to the call duration, call traffic or number of calls of a single terminal. the
下面将介绍本实施例方法的流程,包括以下步骤: The flow process of the method of this embodiment will be introduced below, including the following steps:
步骤310,起呼终端发起集群呼叫,可以是组呼或私密呼叫,起呼消息通过基站子系统发送到调度服务器; Step 310, the calling terminal initiates a group call, which can be a group call or a private call, and the calling message is sent to the dispatching server through the base station subsystem;
步骤320,调度服务器向鉴权服务器发送鉴权请求消息,由鉴权服务器对起呼终端和被叫群组进行鉴权; Step 320, the scheduling server sends an authentication request message to the authentication server, and the authentication server authenticates the calling terminal and the called group;
步骤330,鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户的预付费信息,确定计费涉及的用户预付费帐户和对应的终端、计费方式等信息,并为每一个用户预付费帐户分配配额(时长、流量或呼叫次数)和配额门限,没有余额分配的帐户则分配零配额,将这些预付费信息通过授权消息或分配配额消息返回给调度服务器上驻留的预付费客户端; Step 330, the prepaid server residing on the authentication server determines the user's prepaid account, corresponding terminal, charging method and other information involved in the billing according to the prepaid information of the relevant user of the call, and prepays for each user Quota (duration, traffic or call times) and quota thresholds are assigned to premium accounts, and zero quota is assigned to accounts without balance distribution, and these prepaid information is returned to the prepaid client resident on the scheduling server through authorization messages or quota allocation messages ;
步骤340,预付费客户端收到分配配额消息后,对有可用配额的用户预付费帐户,通知调度服务器对使用该帐户的终端发起寻呼,对没有可用配额的帐户,则通知调度服务器不寻呼使用这些帐户的终端; Step 340: After receiving the quota distribution message, the prepaid client notifies the dispatching server to initiate paging to the terminal using the account for the user prepaid account with available quota, and notifies the dispatching server not to page the account without available quota. call terminals using these accounts;
呼叫建立后,对已寻呼终端对应的每个用户预付费帐户执行以下计费流 程: After the call is established, perform the following billing process for each user prepaid account corresponding to the paging terminal:
步骤350,预付费客户端监控已寻呼终端的状态、配额使用情况,如果在该帐户已使用配额达到其当前的配额门限之前,使用该帐户的终端退出了呼叫,执行步骤400,否则在已使用配额达到当前的配额门限时,执行下一步; Step 350, the prepaid client terminal monitors the state of the paging terminal, the quota usage, if the terminal using the account has withdrawn from the call before the account has used the quota to reach its current quota threshold, step 400 is performed, otherwise the When the usage quota reaches the current quota threshold, go to the next step;
步骤360,预付费客户端再次向预付费服务器发送申请配额请求消息,消息中携带该用户预付费帐户当前已经使用的配额; Step 360, the prepaid client sends a request for quota application to the prepaid server again, and the message carries the currently used quota of the user's prepaid account;
步骤370,预付费服务器收到配额请求后,记录该用户预付费帐户已使用的配额,并再次为该帐户分配配额和配额门限,通过分配配额消息返回给预付费客户端,如果该帐户还有余额分配,则分配的配额是上一次分配配额和新分配配额的总额,配额门限也根据该总配额重新计算,如果没有余额,则返回上次分配的配额和配额门限; Step 370, after the prepaid server receives the quota request, it records the used quota of the user's prepaid account, and allocates the quota and the quota threshold for the account again, and returns to the prepaid client through the allocated quota message. For balance allocation, the allocated quota is the total of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated based on the total quota. If there is no balance, the last allocated quota and quota threshold are returned;
步骤380,预付费客户端收到分配配额消息后,判断是否为该用户预付费帐户分配了新的配额,如果是,修改该帐户的当前分配配额和配额门限,返回步骤350,否则,执行步骤390; Step 380, after the prepaid client receives the allocation quota message, it is judged whether a new quota has been allocated for the user's prepaid account, if yes, modify the current allocation quota and quota threshold of the account, and return to step 350, otherwise, execute step 390;
步骤390,预付费客户端监控使用该用户预付费帐户的终端使用完剩余配额,然后停止该终端的集群业务; Step 390, the prepaid client terminal monitors that the terminal using the user's prepaid account has used up the remaining quota, and then stops the cluster service of the terminal;
步骤400,预付费客户端向预付费服务器发送预付费结束请求消息,携带该用户预付费帐户当前已使用的配额总额; Step 400, the prepayment client sends a prepayment end request message to the prepayment server, carrying the total quota currently used by the user's prepayment account;
步骤410,预付费服务器记录该用户预付费帐户此次使用的配额总额,回收已分配但未使用的配额,向预付费客户端回结束预付费应答消息,预付费客户端清除该用户预付费账户的信息,结束。 Step 410, the prepayment server records the total amount of quotas used by the user's prepaid account this time, reclaims the allocated but unused quotas, and returns an end prepaid response message to the prepaid client, and the prepaid client clears the user's prepaid account information, end. the
在上述流程可以看出,由于对于用户预付费帐户来说在呼叫发起时不会存在帐户已激活的情况,所以预付费服务器在鉴权返回预付费帐户的同时,可以进行第一次的配额分配。当然,采用第一实施例的方式,即由调度服务器收到预付费帐户后再就用户预付费帐户向预付费服务器申请第一次配额也是可以的。 It can be seen from the above process that since the user’s prepaid account does not have the account activated when the call is initiated, the prepaid server can perform the first quota allocation while returning the prepaid account after authentication . Of course, it is also possible to adopt the method of the first embodiment, that is, to apply for the first quota to the prepaid server for the user's prepaid account after receiving the prepaid account by the scheduling server. the
在为用户预付费帐户和群组预付费帐户分配配额时,不排除在另一实施例中进行全额分配的可能性,如果在步骤330中分配配额时分配了该帐户所有的可用余额(有的话),就无需计算配额门限,则在步骤340后,对每个用户预付费帐户执行以下计费流程: When distributing quotas for user prepaid accounts and group prepaid accounts, do not rule out the possibility of carrying out full distribution in another embodiment, if all available balances of this account are distributed when distributing quotas in step 330 (with If), there is no need to calculate the quota threshold, then after step 340, the following billing process is performed for each user prepaid account:
步骤350’,预付费客户端监控已寻呼终端的状态和配额使用情况,如果在该终端使用的帐户的配额用完之前,该终端退出了呼叫,执行下一步,否则在用完分配配额时,再执行下一步; Step 350', the prepaid client terminal monitors the status and quota usage of the paging terminal, if the terminal quits the call before the quota of the account used by the terminal is used up, go to the next step, otherwise, when the allocated quota is used up , and then execute the next step;
步骤360’,预付费客户端向预付费服务器发送预付费结束请求消息,携带该用户预付费帐户当前已使用的配额总额; Step 360', the prepayment client sends a prepayment end request message to the prepayment server, carrying the total amount of quota currently used by the user's prepayment account;
步骤370’,预付费服务器记录该用户预付费帐户此次使用的配额总额,回收已分配但未使用的配额(有的话),向预付费客户端回结束预付费应答消息,预付费客户端清除该用户预付费账户的信息,结束。 Step 370', the prepayment server records the total quota used by the user's prepayment account this time, reclaims the allocated but unused quota (if any), and returns the end prepayment response message to the prepayment client, and the prepayment client Clear the information of the user's prepaid account, and end. the
从总体上,如果在帐户没有余额可使用(包括余额已用完或不够分配两种情况)之前终端退出呼叫,则结束预付费并返还配额,否则就在帐户没有余额可使用时结束预付费。这对于分段分配和一次分配都是一样的。 Generally speaking, if the terminal withdraws from the call before the account has no balance to use (including the two situations that the balance has been exhausted or not enough to allocate), the prepayment is ended and the quota is returned, otherwise the prepayment is ended when the account has no balance to use. This is the same for segmented allocations as for one-shot allocations. the
第三实施例:按群组预付费 The third embodiment: prepayment by group
本实施例为在数字集群系统上实现按群组预付费的一种实施方法。在该方法中,对群组预付费帐户计费时只计算组呼的时长或流量,不再按每个终端进行累计。这特别适用于目前的传统式数字集群系统,因为该系统具有容量大,接入迅速的优点,但调度服务器在寻呼时只控制到基站子系统,对终端的实时监控比较困难。按这种方式计费时,也不会出现组呼起呼时,该用户预付费帐户就已经在调度服务器上被激活的情况。 This embodiment is an implementation method for realizing group prepayment on a digital trunking system. In this method, when billing the group prepaid account, only the duration or flow of the group call is calculated, and no accumulation is performed for each terminal. This is especially applicable to the current traditional digital trunking system, because the system has the advantages of large capacity and fast access, but the dispatching server only controls the base station subsystem during paging, and it is difficult to monitor the terminal in real time. When billing in this way, the situation that the user's prepaid account has just been activated on the dispatching server will not occur when the group calls out. the
另外,需要注意的是,本发明所提出的群组预付费,是对发生该群组呼叫时才对该群组预付费帐户计费,并不是指群组中的终端发生呼叫时就要从群组预付费帐户上扣费,后一种其实就是按集团预付费的方式。 In addition, it should be noted that the group prepayment proposed by the present invention is to charge the group prepaid account only when the group call occurs, and does not mean that the terminals in the group will be charged from the group when a call occurs. The group prepaid account is debited, and the latter is actually a group prepaid method. the
下面将介绍本实施例方法的流程,请参照图3,包括以下步骤: The flow process of the method of this embodiment will be described below, please refer to Figure 3, including the following steps:
步骤510,起呼终端发起组呼,起呼消息通过基站子系统发送到调度服 务器; Step 510, the calling terminal initiates a group call, and the calling message is sent to the dispatching server through the base station subsystem;
步骤520,调度服务器向鉴权服务器发送鉴权请求消息,由鉴权服务器对起呼终端和被叫群组进行鉴权; Step 520, the scheduling server sends an authentication request message to the authentication server, and the authentication server authenticates the calling terminal and the called group;
步骤530,鉴权服务器上驻留的预付费服务器确定此次组呼要使用的群组预付费帐户和该帐户的计费方式,为该帐户分配配额和配额门限,如没有余额分配则分配零配额,将这些预付费信息通过授权消息或分配配额消息返回给调度服务器上驻留的预付费客户端; Step 530, the prepaid server residing on the authentication server determines the group prepaid account to be used for this group call and the billing method of the account, allocates a quota and a quota threshold for the account, and allocates zero if there is no balance allocation. Quota, and return these prepaid information to the prepaid client residing on the scheduling server through an authorization message or a quota allocation message;
步骤540,预付费客户端收到分配配额消息后,判断群组预付费帐户是否有可用配额,如果有,通知调度服务器对该群组的终端发起寻呼,执行步骤550;如果没有可用配额,则拒绝此次组呼,结束; Step 540, after the prepaid client terminal receives the allocation quota message, judge whether the group prepaid account has an available quota, if so, notify the dispatching server to initiate paging to the terminals of the group, and perform step 550; if there is no available quota, Then reject the group call and end;
步骤550,组呼建立后,预付费客户端监控此次组呼的状态和配额使用情况(调度服务器具有此能力),如果在该群组预付费帐户已使用配额达到其当前的配额门限之前组呼已结束,执行步骤600,否则在已使用的配额达到当前的配额门限时,执行下一步; Step 550, after the group call is set up, the prepaid client monitors the status and quota usage of this group call (the scheduling server has this ability), if the group prepaid account has used quota before reaching its current quota threshold The call has ended, go to step 600, otherwise, go to the next step when the used quota reaches the current quota threshold;
步骤560,预付费客户端再次向预付费服务器发送申请配额请求消息,消息中携带该群组预付费帐户当前已经使用的配额; Step 560, the prepaid client sends a request for quota application to the prepaid server again, and the message carries the quota currently used by the prepaid account of the group;
步骤570,预付费服务器收到配额请求后,记录该群组预付费帐户已使用的配额,并再次为该帐户分配配额和配额门限,通过分配配额消息返回给预付费客户端,如果该帐户还有余额分配,则分配的配额是上一次分配配额和新分配配额的总额,配额门限也根据该总配额重新计算,如果没有余额,则返回上次分配的配额和配额门限; Step 570, after the prepaid server receives the quota request, it records the used quota of the group prepaid account, and allocates the quota and the quota threshold for the account again, and returns the quota allocation message to the prepaid client. If there is a balance allocation, the allocated quota is the total of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated based on the total quota. If there is no balance, the last allocated quota and the quota threshold are returned;
步骤580,预付费客户端收到分配配额消息后,判断是否为该群组预付费帐户分配了新的配额,如果是,修改该帐户的当前分配配额和配额门限,返回步骤550,否则,执行下一步; Step 580, after receiving the allocation quota message, the prepaid client terminal determines whether a new quota has been allocated for the group prepaid account, if yes, revises the current allocation quota and quota threshold of the account, and returns to step 550, otherwise, executes Next step;
步骤590,预付费客户端监控该组呼使用完剩余配额后,停止该组呼; Step 590, after the prepaid client monitors that the group call has used up the remaining quota, stop the group call;
步骤600,预付费客户端向预付费服务器发送预付费结束请求消息,携带该群组预付费帐户当前已使用的配额总额; Step 600, the prepayment client sends a prepayment end request message to the prepayment server, carrying the total quota currently used by the group's prepayment account;
步骤610,预付费服务器记录该群组预付费帐户此次使用的配额总额, 回收已分配但未使用的配额,向预付费客户端回结束预付费应答消息,预付费客户端清除该群组预付费账户的信息,结束。 Step 610, the prepayment server records the total amount of quota used by the group prepayment account this time, reclaims the allocated but unused quota, and returns the end prepayment response message to the prepayment client, and the prepayment client clears the group prepayment Fee account information, end. the
按群组预付费也可以采用另一种实施方式,即在计费时可以考虑每个终端的情况,如考虑加入的终端数量,这种情况下对上述流程并不需要修改,只是在步骤550中计算组呼的配额使用情况的方法不同。 Another implementation method can also be adopted for group prepayment, that is, the situation of each terminal can be considered when charging, such as the number of terminals added. In this case, the above process does not need to be modified. The method of calculating the quota usage for group calls is different. the
按群组预付费时,也不排除进行全额分配的可能,其流程与第二实施例后面给出的按用户预付费全额分配的流程是相似的,即第一次就分配所有的余额,不进行配额门限的计算,而预付费客户端在计费时,监控组呼的状态和配额使用情况,如果在使用完其配额前退出呼叫,向预付费服务器发送预付费结束请求并返回已使用配额,否则在使用完其配额时再向预付费服务器发送预付费结束请求。再后续的处理是相同的。 When prepaying by group, the possibility of full allocation is not excluded, and its flow is similar to the flow of full allocation of prepaid by user given later in the second embodiment, that is, all the balance is allocated for the first time. The calculation of the quota threshold is not performed, and the prepaid client monitors the status of the group call and the quota usage during billing. If it exits the call before using up its quota, it sends a prepaid end request to the prepaid server and returns the used Quota, otherwise, send a prepayment end request to the prepaid server when the quota is used up. Subsequent processing is the same. the
以上3个实施例的流程在不同的网络情况下,或在不同的预付费策略下还可以做一些变换和修正。例如: The processes of the above three embodiments can be changed and modified under different network conditions or under different prepayment policies. For example:
1)在一个数字集群系统中,不同调度服务器上驻留的预付费客户端可能支持所有的计费方式,以上3个流程都是基于这个条件。而在有的预付费客户端不支持预付费帐户采用的计费方式时,就不能允许使用该帐户的终端进行业务。考虑这个因素时,需要在上述3个流程的步骤130、330和530中,增加判断调度服务器上驻留的预付费客户端是否支持此次呼叫要使用的帐户,即集团预付费帐户、用户预付费帐户和群组预付费帐户,对于不支持其计费方式的帐户,不再发送到调度服务器或不为其分配配额。这样,调度服务器也不会寻呼使用这些帐户的终端了。 1) In a digital trunking system, prepaid clients residing on different scheduling servers may support all billing methods, and the above three processes are all based on this condition. However, when some prepaid clients do not support the billing method adopted by the prepaid account, the terminal using the account cannot be allowed to perform services. When considering this factor, in steps 130, 330 and 530 of the above three processes, it is necessary to increase the judgment whether the prepaid client resident on the dispatch server supports the account to be used for this call, that is, the group prepaid account, user prepaid account Fee account and group prepaid account. For accounts that do not support their billing methods, they will no longer be sent to the scheduling server or assigned quotas. In this way, the dispatch server will not page terminals using these accounts. the
至于预付费服务器如何得到预付费客户端支持的计费方式信息,可以由各客户端定时或该信息变化时上报至归属的预付费服务器,实现同步更新。或者,也可以在步骤202、404和602中,由调度服务器将驻留其上的预付费客户端支持的计费方式随鉴权消息一起上报到鉴权服务器驻留的预付费 服务器。 As for how the prepayment server obtains the billing mode information supported by the prepayment client, each client may report to the associated prepayment server at regular intervals or when the information changes, so as to realize synchronous updating. Or, also in steps 202, 404 and 602, the charging mode supported by the prepaid client resident on it is reported to the prepaid server where the authentication server resides together with the authentication message by the scheduling server. the
2)在具有漫游功能的数字集群系统中,起呼终端所在的调度服务器并不一定是群组归属的调度服务器,在这种情况下,鉴权流程和上述3个实施例可能有所不同,其中一种方式是由起呼服务器和该群组归属的调度服务器分别发起对起呼终端和被叫终端的鉴权,鉴权服务器中驻留有调度归属寄存器,可以知道群组或终端当前所在的调度服务器。 2) In a digital trunking system with a roaming function, the scheduling server where the calling terminal is located is not necessarily the scheduling server to which the group belongs. In this case, the authentication process may be different from the above three embodiments. One of the methods is that the calling server and the dispatching server to which the group belongs initiate the authentication of the calling terminal and the called terminal respectively. The dispatching attribution register resides in the authentication server, which can know the current location of the group or terminal. the scheduling server. the
这样,对于按用户预付费或按集团预付费的流程来讲,可以在起呼服务器鉴权时返回起呼终端对应的用户或集团预付费帐户及其对应终端、计费方式,在归属服务器鉴权的时候再返回被叫终端相关的用户或集团预付费帐户及其对应终端、计费方式。而在有被叫终端漫游到其它协作调度服务器时,再由归属调度服务器将该终端的相关帐户信息发送到其所在的调度服务器。鉴权流程不同时具体帐户分发的工作也可能不同。总之,是要将计费涉及的预付费帐户发送使用该帐户的终端当前所在的所有调度服务器,在按集团预付费的情况下,同一预付费帐户可能发送到不同的预付费客户端,然后由各调度服务器上驻留的预付费客户端独立的对终端的状态和配额使用情况进行监控,独立地和预付费服务器交互,完成配额申请和分配,结束预付费等计费流程,方法与上述实施例是相同的。 In this way, for the process of prepayment by user or prepayment by group, the user or group prepaid account corresponding to the calling terminal and its corresponding terminal and charging method can be returned when the calling server authenticates, and the home server authenticates When the user or group prepaid account related to the called terminal and its corresponding terminal and billing method are returned. And when a called terminal roams to other cooperative dispatching servers, the home dispatching server sends the relevant account information of the terminal to the dispatching server where it is located. When the authentication process is different, the work of specific account distribution may also be different. In short, it is to send the prepaid account involved in the billing to all dispatch servers where the terminal using the account is currently located. In the case of group prepaid, the same prepaid account may be sent to different prepaid clients, and then the The prepayment clients residing on each dispatching server independently monitor the terminal status and quota usage, interact with the prepayment server independently, complete the quota application and allocation, and end the prepayment and other charging processes. The method is the same as the above implementation The example is the same. the
对于按群组预付费的流程来讲,群组预付费帐户可以发送到起呼调度服务器或者群组归属的调度服务器或者参与此次组呼的其它服务器,这些调度服务器都可以对组呼状态和配额使用情况进行监控,完成对群组预付费帐户的计费。 For the process of group prepayment, the group prepaid account can be sent to the dispatching server of the originating call or the dispatching server belonging to the group or other servers participating in the group call. These dispatching servers can check the group call status and Quota usage is monitored to complete billing for group prepaid accounts. the
3)如果数字集群系统中需要同时支持三种计费方式,对于某个终端来说有可能对应于多个预付费帐户的话,则需要在鉴权时,由鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户的预付费信息,先确定该用户要使用的哪一个帐户,这可以根据系统配置的优先顺序来选择。在确定了不同的预付费帐户后,每一种帐户的后续处理都可以分别采用上述3个实施例的方式及其变换方式,不过,为了使流程尽量一致,对用户预付费帐户和群组预付费帐户的计费流程中较佳也统一为和集团预付费帐户一样的,在授权消息 中先分配帐户,再由预付费客户端申请第一次配额,且配额采用分段分配的方式。 3) If the digital trunking system needs to support three billing methods at the same time, and it is possible for a certain terminal to correspond to multiple prepaid accounts, it is necessary to use the prepaid server residing on the authentication server during authentication. According to the prepaid information of the relevant user of this call, first determine which account the user will use, which can be selected according to the priority order of the system configuration. After different prepaid accounts are determined, the subsequent processing of each account can adopt the methods of the above-mentioned three embodiments and their conversion methods respectively. However, in order to make the process as consistent as possible, the user prepaid account and group prepaid The billing process of the premium account is also preferably unified as the same as the group prepaid account. In the authorization message, the account is allocated first, and then the prepaid client applies for the first quota, and the quota is allocated in sections. the
4)上述实施例中,是对每个预付费帐户约定一种计费方式。但本发明预付费服务器选择计费方式的策略不局限于此,如果预付费帐户可以采用多种计费方式,则可以结合预付费客户端支持的计费方式从中选择一种两者都支持的计费方式。避免在预付费客户端不支持时不能通话。 4) In the above embodiment, a billing method is stipulated for each prepaid account. But the strategy that the prepaid server of the present invention selects the billing method is not limited to this, if the prepaid account can adopt multiple billing methods, then you can choose a kind of charging method that both of them support in combination with the billing methods supported by the prepaid client. billing method. Avoid not being able to call when the prepaid client does not support it. the
Claims (16)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101356692A CN1992763B (en) | 2005-12-31 | 2005-12-31 | A Method of Realizing Prepayment in Digital Trunking System |
| PCT/CN2006/000919 WO2007076646A1 (en) | 2005-12-31 | 2006-05-09 | A method for realizing prepayment of digital cluster system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101356692A CN1992763B (en) | 2005-12-31 | 2005-12-31 | A Method of Realizing Prepayment in Digital Trunking System |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1992763A CN1992763A (en) | 2007-07-04 |
| CN1992763B true CN1992763B (en) | 2010-12-01 |
Family
ID=38214693
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2005101356692A Expired - Fee Related CN1992763B (en) | 2005-12-31 | 2005-12-31 | A Method of Realizing Prepayment in Digital Trunking System |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN1992763B (en) |
| WO (1) | WO2007076646A1 (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100568991C (en) * | 2007-09-12 | 2009-12-09 | 中兴通讯股份有限公司 | A method of paging control for prepaid subscribers in digital trunking system |
| CN101141712B (en) * | 2007-10-10 | 2011-01-05 | 中兴通讯股份有限公司 | A method and device for releasing prepaid subscribers in digital trunking calls |
| CN101159927B (en) * | 2007-11-08 | 2010-06-16 | 中兴通讯股份有限公司 | A Billing Method in Cluster Communication |
| CN101540986B (en) * | 2009-04-16 | 2011-10-26 | 中兴通讯股份有限公司 | Charging method and system of prepaid service |
| CN101616392B (en) * | 2009-06-26 | 2012-04-18 | 中兴通讯股份有限公司 | A system and method for providing value-added services |
| CN101635906B (en) * | 2009-08-27 | 2012-05-23 | 中兴通讯股份有限公司 | Method and device for triggering intelligent service of flexible alerting group |
| CN102868982B (en) * | 2012-10-08 | 2015-05-13 | 上海帜讯信息技术有限公司 | Mobile terminal oriented method for forwarding information and enabling enterprise to acquire mutual information |
| CN103929316B (en) * | 2013-01-11 | 2017-10-31 | 阿尔卡特朗讯 | A kind of method and corresponding Online Charging System for distributing communication quota |
| CN111194066B (en) * | 2020-01-10 | 2022-02-11 | 中国联合网络通信集团有限公司 | Base station alliance method and device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1561027A (en) * | 2004-03-05 | 2005-01-05 | 中兴通讯股份有限公司 | A cluster service authentication interface and a cluster service authentication implementation method |
| CN1581827A (en) * | 2003-08-15 | 2005-02-16 | 华为技术有限公司 | Method for realizing speical virtual network business of prepaid user |
| CN1585519A (en) * | 2004-06-04 | 2005-02-23 | 中兴通讯股份有限公司 | Billing Information Collection and Billing Method of Digital Trunking System |
| CN1625293A (en) * | 2003-12-04 | 2005-06-08 | 华为技术有限公司 | Method for realizing group calling roaming of group service |
| CN1635726A (en) * | 2003-12-29 | 2005-07-06 | 华为技术有限公司 | Method for implementing CDMA20001X packet prepay service |
| CN1700788A (en) * | 2004-05-21 | 2005-11-23 | 华为技术有限公司 | Method for implementing service charging of closed user group |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1235418C (en) * | 2001-10-30 | 2006-01-04 | 中兴通讯股份有限公司 | Modile communicatoin system and its group service realizing method |
| US20040156340A1 (en) * | 2003-02-10 | 2004-08-12 | Telefonaktiebolaget L M Ericsson (Pub1) | Method, system and packet data access node for prepaid quota provision |
-
2005
- 2005-12-31 CN CN2005101356692A patent/CN1992763B/en not_active Expired - Fee Related
-
2006
- 2006-05-09 WO PCT/CN2006/000919 patent/WO2007076646A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1581827A (en) * | 2003-08-15 | 2005-02-16 | 华为技术有限公司 | Method for realizing speical virtual network business of prepaid user |
| CN1625293A (en) * | 2003-12-04 | 2005-06-08 | 华为技术有限公司 | Method for realizing group calling roaming of group service |
| CN1635726A (en) * | 2003-12-29 | 2005-07-06 | 华为技术有限公司 | Method for implementing CDMA20001X packet prepay service |
| CN1561027A (en) * | 2004-03-05 | 2005-01-05 | 中兴通讯股份有限公司 | A cluster service authentication interface and a cluster service authentication implementation method |
| CN1700788A (en) * | 2004-05-21 | 2005-11-23 | 华为技术有限公司 | Method for implementing service charging of closed user group |
| CN1585519A (en) * | 2004-06-04 | 2005-02-23 | 中兴通讯股份有限公司 | Billing Information Collection and Billing Method of Digital Trunking System |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2007076646A1 (en) | 2007-07-12 |
| CN1992763A (en) | 2007-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102075897B (en) | Billing method and system for mobile data service | |
| EP1871084A1 (en) | Method and system for third party charging | |
| CN101227302B (en) | Charging method, control apparatus, charging device and charging system | |
| CN102144372A (en) | Online charging correlation in IMS networks | |
| CN100389561C (en) | Billing network, billing agent device and billing method | |
| US20160117658A1 (en) | Credit Control Method, Policy and Charging Enforcement Function Entity, and Online Charging System | |
| CN108401231B (en) | Charging method, device and system | |
| CN1992763B (en) | A Method of Realizing Prepayment in Digital Trunking System | |
| CN107547762A (en) | A kind of charging method and charge system | |
| WO2010063176A1 (en) | Calling charging method based on online charging system and communication system | |
| CN100346655C (en) | Charge information processing method | |
| CN1859534B (en) | Charging method and system for traffic service | |
| CN101340635A (en) | A Method for Handling Abnormalities in Online Charging System | |
| CN101330392B (en) | Method for interaction of tactics execution function entity and charging triggering function entity | |
| CN100481768C (en) | Method for controlling defaulting risk of mobile user | |
| WO2012062076A1 (en) | Prepayment service charging method and system for integrated virtual private network (ivpn) | |
| CN101001298B (en) | A method of digital trunking system realizing group prepayment | |
| CN101247237A (en) | A charging method, system and device for cross-charging area networking | |
| CN100568901C (en) | Method and device for credit management of an access telecommunications network | |
| CN101494844A (en) | Method and apparatus for processing fees limit | |
| WO2009155837A1 (en) | Multi-flow service processing method, access service network gateway and accounting server | |
| CN1223141C (en) | Fee-counting and deducting method for mobile telephone set in network | |
| WO2006102836A1 (en) | A method for implementing a prepaid sharing account | |
| CN109547956B (en) | A multi-service concurrent processing method | |
| KR101006275B1 (en) | Method and system for providing prepaid service using prepaid account segmentation |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101201 Termination date: 20141231 |
|
| EXPY | Termination of patent right or utility model |