WO2007076646A1 - A method for realizing prepayment of digital cluster system - Google Patents

A method for realizing prepayment of digital cluster system Download PDF

Info

Publication number
WO2007076646A1
WO2007076646A1 PCT/CN2006/000919 CN2006000919W WO2007076646A1 WO 2007076646 A1 WO2007076646 A1 WO 2007076646A1 CN 2006000919 W CN2006000919 W CN 2006000919W WO 2007076646 A1 WO2007076646 A1 WO 2007076646A1
Authority
WO
WIPO (PCT)
Prior art keywords
prepaid
quota
account
server
client
Prior art date
Application number
PCT/CN2006/000919
Other languages
French (fr)
Chinese (zh)
Inventor
Yunbin Chen
Zhaosen Geng
Yunfei Ma
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Publication of WO2007076646A1 publication Critical patent/WO2007076646A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP

Definitions

  • the present invention relates to a digital trunking system, and more particularly to a method of implementing a prepaid payment by a digital trunking system.
  • the traditional digital trunking system is mostly applied to the private network.
  • the cluster service provided has the limitation of service scope and service population. At the same time, due to the separate network construction and overlapping with the public network construction, the resource waste is serious.
  • a more realistic solution to the above shortcomings is to integrate the cluster service into the public network system, and gradually evolve from the original private network to the virtual private network, thereby reducing the network construction cost and expanding the scope of use.
  • the current trunking communication system has gradually realized a digital trunking system using a virtual private network, but it has not been synchronized in the charging field.
  • the pre-payment method of the communication system is basically for the group billing, and the pre-payment method is relatively simple, and most of them adopt the method of monthly subscription according to the group.
  • the digital trunking system based on the public network system not only provides cluster services for the group, but also allows cluster services to be used for different group users and non-group individual users, so that the digital trunking system based on the public network system serves a wider population. It is required that the digital trunking system can provide reasonable prepaid methods to meet different levels of user needs, including pre-payment by group, group and user, and consider the length of time, traffic or number of calls when charging.
  • Unfortunately at present, there is no corresponding norm and standard for the implementation of pre-paid for cluster systems, and there is no literature on the solution to the above problems.
  • the technical problem to be solved by the present invention is to provide a digital trunking system for implementing prepaid payment, which can be charged according to duration, traffic, and number of calls, and implement prepaid functions by group and by user.
  • the present invention provides a method for implementing prepaid payment in a digital trunking system, in which a prepaid client resides in a scheduling server, and a pre-reservation server resides in the authentication server.
  • the method includes the following steps:
  • the originating terminal initiates a trunking call, and the dispatching server sends an authentication request message to the authentication server, and the authentication server authenticates the calling terminal and the called group;
  • the prepaid server residing on the authentication server determines, according to the prepaid information of the related user of the call, information about the prepaid account, the terminal using the account, and the charging method involved in the charging, Pre-paid client interactions residing on the scheduling server, notifying the determined information to the pre-paid client, and allocating quotas for the inactivated accounts;
  • the prepaid client monitors the status of the paged terminal and the usage of the quota, and charges the prepaid account, and if the prepaid account has no balance available before use, the terminal using the account exits the call. , perform the next step, otherwise execute the next step when there is no balance available for the prepaid account;
  • the prepaid client notifies the prepaid server that the prepaid account ends the billing, and carries the total quota used by the account; the prepaid server records the quota total and reclaims the unused quota.
  • the prepaid client clears the information of the account and ends.
  • the above method may further have the following features:
  • the interaction with the prepaid server is completed by the following steps:
  • the prepaid server determines each group prepaid account involved in charging, a terminal that uses the account, and a charging method, and sends the information to the prepaid client along with the authorization message;
  • step (b2) the prepaid client determines whether the group prepaid account in the authorization message is activated, and if activated, notifies the scheduling server to page the terminal using the accounts, and then performs step (d) to prepay the unactivated group Fee account, perform step (b3);
  • the prepaid client sends an application quota message to the prepaid server to apply for a quota for the unactivated group prepaid account;
  • step (b4) after receiving the quota request, the prepaid server allocates a quota for the group prepaid account segment with the balance, and returns the quota message to the prepaid client, and the balance is not allocated.
  • the account returns information without balance allocation, and step (c) is performed.
  • the above method may further have the following features:
  • the method is further divided into the following steps:
  • the prepaid client monitors the status and quota usage of all paged terminals.
  • the account has been used according to the quotas used by all terminals using the account;
  • step (d2) If all the terminals using the account exit the call before the current allocation quota of the group prepaid account is used, perform step (e), otherwise, when the used quota reaches the threshold of the current allocation quota, The prepaid client sends an application quota request to the prepaid server again;
  • the prepaid server allocates a new quota to the prepaid client when the account has a balance allocation, and returns to the prepaid client through the allocation quota message, when the account has no balance allocation , carrying the information of no balance allocation in the returned allocation quota message;
  • the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, modifying the current allocation quota of the account, returning to step (dl), if not Assign a new quota to the account and proceed to the next step;
  • the prepaid client monitors the terminal using the group's prepaid account to use the remaining quota, and then stops the cluster services of these terminals, and performs step (e).
  • the foregoing method may further have the following features:
  • the interaction with the prepaid server is completed by the following steps: the prepaid The server determines the user prepaid account involved in the charging and its corresponding terminal, the charging method, allocates a quota for each user prepaid account, and the account without the balance allocation does not have the identifier of the balance allocation, and then returns the prepaid information to the The prepaid client.
  • the above method may further have the following features:
  • the interaction with the prepaid server is completed by the following steps -
  • the prepaid server determines each user's prepaid account involved in charging, using the account Terminal and charging method, the information is sent to the prepaid client along with an authorization message;
  • the prepaid client after receiving the authorization message, the prepaid client sends an application quota message to the prepaid server, and the user prepaid account included in the message;
  • step (b3) after receiving the application quota message, the prepaid server allocates a quota for the user prepaid account with the balance that can be allocated, returns the quota message to the prepaid client, and returns the account without the balance that can be allocated. There is no balance assigned information, then go to step (c).
  • the foregoing method may further have the following features: in the step (b)′, the prepaid server adopts a segment allocation method when allocating quotas for the user prepaid account, and in the step (d), prepaying the user When the fee account is charged, it is further divided into the following steps:
  • the prepaid client monitors the status and quota usage of all the paging terminals. If the terminal using the account exits the call port L
  • the prepaid server determines whether the user prepaid account has an assignable balance, and if so, assigns a new quota to the prepaid client, if If not, the information about the balance allocation is carried in the allocation quota message;
  • the prepaid client determines whether a new quota is allocated for the user prepaid account, and if yes, modifying the current allocation quota of the account, returning to step (dl), if not The account is assigned a new quota and the next step is performed;
  • the prepaid client monitors the terminal using the user's prepaid account to use the remaining quota, and then stops the cluster service of the terminal, and performs step (e).
  • the above method may also have the following features:
  • the quota is in units of call duration, call traffic, or number of calls.
  • the foregoing method may further have the following feature: when the prepaid account has no balance for distribution, the prepaid server allocates the quota allocated for the account to the quota allocated in the previous allocation in the allocation quota message, Set it to zero when it is allocated.
  • the foregoing method may further have the following feature: the prepaid client to the prepaid
  • the message carries the quota currently used by the group or the user prepaid account
  • the prepaid server records the message and records the used usage of the prepaid account
  • the foregoing method may further
  • the utility model has the following features: when the prepaid server allocates quotas for the group or user prepaid accounts again and has a balance for distribution, the allocated quota is the last allocated quota plus the total amount of the newly allocated quota.
  • the foregoing method may further have the following feature: the threshold for the current allocation quota is specified by the prepaid server according to the allocation quota each time the quota is allocated, and returns to the prepaid together with the allocation quota. Or the quota threshold is calculated by the prepaid client according to the current allocation quota.
  • the foregoing method may further have the following features:
  • the prepaid server further determines whether the prepaid client residing on the scheduling server supports the prepaid account to be used for the call.
  • the charging mode the prepaid account that does not support its charging mode is not notified to the prepaid client or is not assigned a quota.
  • the foregoing method may further have the following features: the prepaid server is configured to learn the charging mode information supported by the prepaid client by: reporting, by the prepaid client in the system, the supported accounting The fee mode or report to the prepaid server when the charging mode changes, to achieve synchronous update; or, in the step (a), the scheduling server will support the prepaid client hosted thereon The charging method is reported to the prepaid server residing on the authentication server along with the authentication message.
  • the foregoing method may further have the following features:
  • the prepaid customer residing on the scheduling server where the terminal of the account is used in combination
  • the charging mode supported by the terminal selects a charging mode supported by both.
  • the above method may further have the following features: 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 the current location of the terminal using the account. All dispatch servers, prepaid passengers residing on each dispatch server The client independently completes the charging of the received prepaid account.
  • the foregoing method may further have the following features:
  • the prepaid server selects one of the prepaid accounts according to the preset policy, and then presses the The billing process of the prepaid account is processed.
  • the method of the present invention can meet the requirement that the trunking service can be prepaid and charged according to the duration, the traffic, and the number of calls.
  • the prepaid charging function is implemented according to the group and the user, and the prepaid charging method is implemented in the segmental allocation of the accumulated quota.
  • the prepaid system at the same time, enables the system to allow multiple prepaid clients to simultaneously use one prepaid account in use, which can minimize the charging error.
  • FIG. 1 is a schematic diagram of a relationship between a billing entity of a prepaid service of a digital trunking system according to the present invention
  • FIG. 2 is a schematic diagram of message interaction according to a prepaid bill of the present invention
  • FIG. 3 is a flow chart of message interaction in the group prepayment process of the present invention.
  • FIG. 1 is a schematic diagram of an entity directly related to prepaid in a digital trunking system of the present invention, with a prepaid server 12 connected to one or more prepaid clients 11 via an IP network 10.
  • the prepaid client usually resides on the dispatch server of the digital trunking system.
  • the prepaid server usually resides on the authentication server of the cluster scheduling system and is responsible for managing the user's prepaid information, such as the user's prepaid account and billing method. Wait.
  • the Dispatch Server (PDS) communicates with the terminal through the Base Station Subsystem (BSS).
  • BSS Base Station Subsystem
  • the above-mentioned residency is a logical residency.
  • the prepaid server and the authentication server, the prepaid client, and the dispatch server are usually unified, but the possibility of separation is not excluded.
  • the prepaid client When the prepaid client is billing, it can be based on the duration of the call, the traffic flow, or the number of calls. Billing.
  • the prepaid method of the present invention includes prepaid by group, prepaid by group and prepaid by user.
  • Group calls can be prepaid by group, prepaid by group and prepaid by user.
  • the private call service can choose to pre-pay by group and pre-pay by user.
  • the charging object according to the group and pre-paid by the user is the terminal, and the charging for the group is only the accumulation of the charging including the terminal; the pre-payment by the group is different, the charging object is the group call, the group call
  • the calculation of the duration, flow or number of times, the number of terminals can be considered in the billing, but the billing is not performed separately for each terminal.
  • This embodiment is a method for implementing pre-payment by group on a digital trunking system.
  • Prepaid by group means that calls made by members of the group will be deducted from the group's prepaid account.
  • the feature is that the users involved in each call may belong to different groups, and users in the same group may initiate or join the call separately. Therefore, when a group member initiates a call or is paged, the corresponding group prepaid account may have been activated on the dispatch server.
  • Step 110 The calling terminal initiates a trunking call, which may be a group call or a private call, and the originating message is sent to the scheduling server by using the base station subsystem;
  • a trunking call which may be a group call or a private call
  • Step 120 The scheduling server sends an authentication request message to the authentication server, where the authentication server authenticates the calling terminal and the called group, and if the authentication fails, the subsequent steps are not performed;
  • Step 130 The prepaid server residing on the authentication server determines, according to the prepaid information of the related users (referring to the calling party and all the called parties) of the call, the prepaid accounts of the groups involved in the charging, and the terminals and accounts of the used accounts.
  • the information such as the fee method is sent to the dispatching server by the authorization message replied with the authentication, and then forwarded to the resident prepaid client;
  • Step 140 After receiving the authorization message, the prepaid client determines whether the group prepaid account is activated. If activated, notifies the scheduling server to page the terminal that uses the accounts, and performs step 180 to prepay the inactive group. Fee account, go to step 150;
  • Step 150 The prepaid client sends an application quota message to the prepaid server, which is inactive.
  • Step 160 After receiving the quota request, the prepaid server allocates a quota (in terms of duration, traffic, or number of calls) and a quota threshold for the group prepaid account, and allocates zero quota to the account without the balance allocation, and then allocates the quota.
  • the message is returned to the prepaid client;
  • Step 170 After the prepaid client receives the quota allocated for each group prepaid account, if there is an available quota, the scheduling server is notified to the terminal that uses the account to initiate paging. If no quota is available, the terminal that uses the account is not used. Initiate paging;
  • the following charging process is performed for each group prepaid account to which the terminal that initiated the paging belongs - step 180, the prepaid client monitors the status and quota usage of all the paged terminals, and prepays for a group.
  • the account used quota is calculated by accumulating the quotas used by all the terminals using the account;
  • the terminal may access immediately, late access or never access the call.
  • the terminal that does not have the access call also includes monitoring the status of the call paging the terminal.
  • the terminal is deemed to have quit the call.
  • Step 190 If all the terminals using the account exit the call before the quota used by the group prepaid account reaches the current quota threshold, go to step 240. Otherwise, when the used quota reaches the current quota threshold, perform the next step. ;
  • Step 200 The prepaid client sends an application quota request message to the prepaid server, where the message carries the quota currently used by the group prepaid account;
  • Step 210 After receiving the quota request, the prepaid server records the quota used by the group prepaid account, and allocates the quota and the quota threshold to the account again, and returns the information to the prepaid client by assigning the quota message. If the account has a balance allocation, the allocated quota is the total amount of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated according to the total quota. If there is no balance, the last allocated quota and quota threshold are returned;
  • Step 220 After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, changes the current allocation quota and the quota threshold of the account, Returning to step 180, if no new quota is allocated, perform the next step;
  • Step 230 the prepaid client monitors the terminal using the group prepaid account to use the remaining quota, and then stops the cluster service of the terminals;
  • Step 240 The prepaid client sends a prepaid end request message to the prepaid server, and carries the total amount of quota currently used by the group prepaid account;
  • Step 250 The prepaid server records the total quota used by the group prepaid account for the billing, recovers the allocated but unused quota, returns the ending prepaid response message to the prepaid client, and the prepaid client clears the prepaid The information of the account ends.
  • the quota uses the duration, traffic, or number of calls in the account charging mode as the unit, which can facilitate the prepaid client to calculate the quota.
  • the quota of this embodiment is allocated in segments, because for a group prepaid account, it is not appropriate to allocate the full amount for the terminal of a certain call.
  • the segmentation allocation method can reduce the loss caused by the packet loss.
  • the quota allocated for each time it may be a fixed value, or may be adjusted according to the number of terminals, which is not limited by the present invention.
  • the prepaid client carries the used quota each time the quota is applied, and the prepaid server records the quota used by the group prepaid account, which can also reduce the loss caused by the packet loss.
  • the quota threshold mentioned in the process can be set to a proportional value of the quota, such as 70% ⁇ 90%, and the prepaid client applies again in time when the used quota reaches the threshold. Quotas, thus avoiding the interruption of calls caused by insufficient quotas.
  • the threshold does not have to be specified and transmitted by the prepaid server to the scheduling server.
  • the scheduling server may use a ratio of the current allocation quota, or subtract the current allocation quota by a fixed value to obtain the current
  • the quota threshold is also ok. However, it is better to set it up in the prepaid server.
  • the quota for each allocation can be set to 1, and the quota limit is not set or set to 1, and when the terminal has used the quota, it is not necessary to monitor the duration and traffic of the terminal.
  • Set the used quota to 1 when you exit the call.
  • the accounting information may not be included in the authorization message. This situation should be considered as carrying the default charging mode information.
  • the prepaid server finds that the group prepaid account has no balance to be allocated, it is assigned a zero quota or a previously allocated quota and quota threshold, but in another embodiment, other indications that there is no balance allocation may also be used. Information, such as setting a flag.
  • Second embodiment prepaid by user
  • This embodiment is a method for implementing prepaid by user on a digital trunking system.
  • the pre-paid by user feature is that the user's prepaid account is used by the user alone, and the user's prepaid account is activated when the user joins the call.
  • billing is based on the duration of a single terminal, the amount of traffic, or the number of calls.
  • Step 310 The calling terminal initiates a trunking call, which may be a group call or a private call, and the start message is sent to the scheduling server by using the base station subsystem.
  • a trunking call which may be a group call or a private call
  • Step 320 The scheduling server sends an authentication request message to the authentication server, where the authentication server authenticates the calling terminal and the called group.
  • Step 330 The prepaid server residing on the authentication server determines, according to the prepaid information of the related user of the call, the prepaid account, the corresponding terminal, the charging mode, and the like involved in the charging, and prepays for each user.
  • Fee account allocation quota time, traffic or number of calls
  • quota threshold accounts without balance allocation are assigned zero quota, and these prepaid information is returned to the prepaid client residing on the dispatch server through the authorization message or the allocation quota message.
  • Step 340 After receiving the allocation quota message, the prepaid client informs the scheduling server to initiate paging for the terminal that uses the account, and notifies the scheduling server not to find the account that has the available quota. Call the terminal that uses these accounts;
  • Step 350 The prepaid client monitors the status of the paged terminal and the quota usage. If the terminal using the account exits the call before the account has reached the current quota threshold, step 400 is performed, otherwise When the quota is used to reach the current quota threshold, the next step is performed;
  • Step 360 The prepaid client sends an application quota request message to the prepaid server, where the message carries the quota currently used by the prepaid account of the user;
  • Step 370 After receiving the quota request, the prepaid server records the quota used by the user prepaid account, and allocates the quota and quota threshold for the account again, and returns the quota message to the prepaid client, if the account still has For the balance allocation, the allocated quota is the total amount of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated according to the total quota. If there is no balance, the quota and quota thresholds that were last allocated are returned;
  • Step 380 After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the user prepaid account. If yes, the current allocation quota and the quota threshold of the account are modified, and the process returns to step 350. Otherwise, the step is performed. 390;
  • Step 390 The prepaid client monitors the terminal using the user prepaid account to use the remaining quota, and then stops the cluster service of the terminal;
  • Step 400 The prepaid client sends a prepaid end request message to the prepaid server, and carries the total amount of quota currently used by the user prepaid account;
  • Step 410 The prepaid server records the total quota used by the user for the prepaid account, reclaims the allocated but unused quota, returns the ending prepaid response message to the prepaid client, and the prepaid client clears the user prepaid account. The information ends.
  • the prepaid server can perform the first quota allocation while the authentication returns to the prepaid account.
  • Step 350' the prepaid client monitors the status of the paged terminal and the quota usage. If the terminal exits the call before the quota of the account used by the terminal is used, the next step is performed, otherwise, when the quota is used up, , then perform the next step;
  • Step 360 ′ the prepaid client sends a prepaid end request message to the prepaid server, and carries the total amount of quota currently used by the user prepaid account;
  • Step 370' the prepaid server records the total quota used by the user for the prepaid account, and recycles the allocated but unused quota (if any), and returns the ending prepaid response message to the prepaid client, the prepaid client. Clear the information of the user's prepaid account and end.
  • the prepayment is terminated and the quota is returned, otherwise the prepayment is terminated when the account has no balance available. This is the same for both segment allocation and primary allocation.
  • This embodiment is an implementation method for implementing pre-payment by group on a digital trunking system.
  • this method only the duration or traffic of the group call is calculated when charging the group prepaid account, and is no longer accumulated for each terminal. This is especially applicable to the current conventional digital trunking system, because the system has the advantages of large capacity and rapid access, but the scheduling server only controls to the base station subsystem during paging, and real-time monitoring of the terminal is difficult.
  • the scheduling server only controls to the base station subsystem during paging, and real-time monitoring of the terminal is difficult.
  • the group pre-payment proposed by the present invention charges the group pre-paid account when the group call occurs, and does not mean that the terminal in the group must be called when the call occurs.
  • the deduction of the group prepaid account, the latter is actually the prepayment according to the group.
  • the method includes the following steps: Step 510: The calling terminal initiates a group call, and the start message is sent to the scheduling server by using the base station subsystem. Step 520: The scheduling server sends an authentication request message to the authentication server, where the authentication server authenticates the calling terminal and the called group.
  • Step 530 The prepaid server residing on the authentication server determines the group prepaid account to be used by the group call and the charging mode of the account, allocates a quota and a quota threshold for the account, and assigns zero if there is no balance allocation. Quota, returning the prepaid information to the prepaid client residing on the dispatch server through the authorization message or the allocation quota message;
  • Step 540 After receiving the allocation quota message, the prepaid client determines whether the group prepaid account has an available quota. If yes, the notification scheduling server initiates paging for the group terminal, and step 550 is performed; if no quota is available, Reject the group call and end;
  • Step 550 After the group call is established, the prepaid client monitors the status of the group call and the quota usage (the scheduling server has the capability), if the group pre-paid account has used the quota before reaching its current quota threshold. If the call has expired, go to step 600. Otherwise, if the used quota reaches the current quota threshold, go to the next step.
  • the quota usage the scheduling server has the capability
  • Step 560 The prepaid client sends an application quota request message to the prepaid server, where the message carries the quota currently used by the group prepaid account;
  • Step 570 After receiving the quota request, the prepaid server records the quota used by the group prepaid account, and allocates the quota and quota threshold to the account again, and returns the quota message to the prepaid client, if the account is still If there is a balance allocation, the allocated quota is the total amount of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated according to the total quota. If there is no balance, the last allocated quota and quota threshold are returned;
  • Step 580 After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, changes the current allocation quota and the quota threshold of the account, and returns to step 550. Otherwise, the execution is performed.
  • Step 580 After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, changes the current allocation quota and the quota threshold of the account, and returns to step 550. Otherwise, the execution is performed.
  • Step 590 the prepaid client monitors the group call to stop the group call after using the remaining quota;
  • Step 600 the prepaid client sends a prepaid end request message to the prepaid server, and the prepaid account carrying the group is currently used. Total quota;
  • Step 610 The prepaid server records the total quota used by the group prepaid account, and recycles the allocated but unused quota, and returns the ending prepaid response message to the prepaid client.
  • the payment client clears the information of the group prepaid account and ends.
  • Pre-payment by group can also adopt another implementation manner, that is, the situation of each terminal can be considered in charging, for example, considering the number of terminals to join, in this case, the above process does not need to be modified, but only in step 550.
  • the possibility of full allocation is not excluded, and the flow is similar to the process of full-user pre-payment according to the second embodiment, that is, all the balances are allocated for the first time.
  • the quota threshold is not calculated.
  • the prepaid client When the prepaid client is charging, it monitors the status of the group call and the quota usage. If the call is exited before the quota is used, the prepaid end request is sent to the prepaid server and returned to the used one. Quota, otherwise send a prepaid end request to the prepaid server when the quota is used. Subsequent processing is the same.
  • prepaid clients residing on different dispatch servers may support all billing methods.
  • the above three processes are based on this condition.
  • the terminal using the account cannot be allowed to conduct services.
  • Fee accounts and group prepaid accounts For accounts that do not support their billing methods, they are no longer sent to the dispatch server or are not assigned quotas. In this way, the dispatch server will not page the terminals that use these accounts.
  • the prepaid server obtains the charging mode information supported by the prepaid client, it can be updated by each client timing or when the information changes to the home prepaid server.
  • the scheduling server supports the charging mode supported by the prepaid client on the server along with the authentication message to the prepaid server where the authentication server resides.
  • the authentication process may be different from the above three embodiments, one of which is initiated by the calling server and the scheduling server to which the group belongs.
  • the authentication of the calling terminal and the called terminal, the scheduling home register resides in the authentication server, and the scheduling server where the group or the terminal is currently located can be known.
  • the charging method can be returned when the calling server is authenticated, and the home server is authenticated. Then return the user or group prepaid account related to the called terminal and its corresponding terminal, charging method.
  • the home scheduling server sends the related account information of the terminal to the scheduling server where the terminal is located.
  • the work of specific account distribution may also be different when the authentication process is different. In short, it is necessary to send the prepaid account involved in the billing to all the dispatch servers where the terminal using the account is currently located.
  • the same prepaid account may be sent to different prepaid clients, and then The prepaid client residing on each scheduling server independently monitors the status and quota usage of the terminal, independently interacts with the prepaid server, completes the quota application and allocation, and ends the prepaid charging process, the method and the above implementation.
  • the examples are the same.
  • the group prepaid account can be sent to the originating dispatch server or the group-owned dispatch server or other servers participating in the group call, and these scheduling servers can all have group call status and The quota usage is monitored to complete the billing of the group prepaid account.
  • the prepaid server that resides on the authentication server needs to be authenticated.
  • the prepaid information of the call related user first determine which account the user wants to 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 type of account can adopt the manners of the above three embodiments and the manner of changing the same, however, in order to make the process as consistent as possible, prepaid accounts and group prepayments for users
  • the billing process of the fee account is preferably unified to be the same as the group prepaid account.
  • the account is first allocated in the authorization message, and then the first quota is applied by the prepaid client, and the quota is allocated by segmentation.
  • a charging method is agreed for each prepaid account.
  • the policy for the prepaid server to select the charging mode is not limited to this. If the prepaid account can adopt multiple charging methods, it can be combined with the charging mode supported by the prepaid client to select a charging method supported by both. . Avoid talking when the prepaid client does not support it.
  • the method of the invention can be applied to a digital trunking system, and can provide a reasonable prepaid method for a wide range of service groups of the cluster system to meet different levels of user needs, and can minimize the charging error.

Abstract

A method for realizing prepayment of digital cluster system, it includes: an originating terminal make a cluster call, PDS request for authority server autority; the preapyment server residend in the authority server determines prepayment account, the terminal used the account and the charging mode according to the prepayment information associated with this call, and assigns the quota to these inactive accounts, then informs the prepayment client terminal; the prepayment client terminal informs the dispatch server to paging the terminal that use prepayment account with usable quota only; the prepayment client terminal monitors the state of terminal paged and the usage condition of the quota, while there are no balance to use in the account or the terminal using the account quits this call, then informs the finish of the charging of the account to said preapyment server; said preapyment server records the amount of the quota and recoveries the quota unused, ends. The present invention can mak a charge according to time, flow and number of calls, and implement preapyment function based on group and subscriber.

Description

一种数字集群系统实现预付费的方法  Method for realizing prepayment of digital trunking system
技术领域 Technical field
本发明涉及数字集群系统, 尤其是指一种数字集群系统实现预付费的方 法。  The present invention relates to a digital trunking system, and more particularly to a method of implementing a prepaid payment by a digital trunking system.
背景技术 Background technique
传统的数字集群系统多应用于专网, 所提供的集群业务存在着服务范围 和服务人群的限制, 同时由于单独建设网络, 与公共网建设重叠, 而使得资 源浪费严重。对于上述缺点较为现实的解决方案是把集群业务集成到公共网 系统中, 由原来的专用网络逐步演变为虚拟专用网, 从而达到降低网络建设 成本、 扩大使用范围的目的。  The traditional digital trunking system is mostly applied to the private network. The cluster service provided has the limitation of service scope and service population. At the same time, due to the separate network construction and overlapping with the public network construction, the resource waste is serious. A more realistic solution to the above shortcomings is to integrate the cluster service into the public network system, and gradually evolve from the original private network to the virtual private network, thereby reducing the network construction cost and expanding the scope of use.
目前的集群通信系统已经逐步实现采用虚拟专用网的数字集群系统, 但 在计费领域并没有得到同步的发展。 统的集 通信系统预付费方式基本上 针对集团计费, 预付费方式较为简单, 大多采用按集团包月的方式。 而基于 公共网系统的数字集群系统不仅仅为集团提供集群业务, 对于不同集团用 户、 无集团个人用户等都可以要求使用集群业务, 从而使得基于公共网系统 的数字集群系统服务人群更加广泛, 这就要求数字集群系统能够提供合理的 预付费方式来满足不同层次的用户需要, 包括按集团、 群组和用户进行预付 费, 计费时考虑时长、 流量或呼叫次数等。 较为遗憾的是, 目前对于集群系 统预付费的实现方式, 国际上没有相应的规范和标准, 也没有提出上述问题 解决方案的文献。  The current trunking communication system has gradually realized a digital trunking system using a virtual private network, but it has not been synchronized in the charging field. The pre-payment method of the communication system is basically for the group billing, and the pre-payment method is relatively simple, and most of them adopt the method of monthly subscription according to the group. The digital trunking system based on the public network system not only provides cluster services for the group, but also allows cluster services to be used for different group users and non-group individual users, so that the digital trunking system based on the public network system serves a wider population. It is required that the digital trunking system can provide reasonable prepaid methods to meet different levels of user needs, including pre-payment by group, group and user, and consider the length of time, traffic or number of calls when charging. Unfortunately, at present, there is no corresponding norm and standard for the implementation of pre-paid for cluster systems, and there is no literature on the solution to the above problems.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种数字集群系统实现预付费的方法, 可以根据时长、 流量和呼叫次数计费, 按集团和按用户实现预付费功能。  The technical problem to be solved by the present invention is to provide a digital trunking system for implementing prepaid payment, which can be charged according to duration, traffic, and number of calls, and implement prepaid functions by group and by user.
为了解决上述技术问题, 本发明提供了一种数字集群系统实现预付费的 方法, 该系统的调度服务器中驻留有预付费客户端, 鉴权服务器中驻留有预 付费服务器, 该方法包括以下步骤: In order to solve the above technical problem, the present invention provides a method for implementing prepaid payment in a digital trunking system, in which a prepaid client resides in a scheduling server, and a pre-reservation server resides in the authentication server. For a paid server, the method includes the following steps:
(a)起呼终端发起集群呼叫, 调度服务器向鉴权服务器发送鉴权请求 消息, 由鉴权服务器对起呼终端和被叫群组进行鉴权;  (a) the originating terminal initiates a trunking call, and the dispatching 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, according to the prepaid information of the related user of the call, information about the prepaid account, the terminal using the account, and the charging method involved in the charging, Pre-paid client interactions residing on the scheduling server, notifying the determined information to the pre-paid client, and allocating quotas for the inactivated accounts;
(c) 所述预付费客户端根据得到的预付费账户及其配额情况、 通知调 度服务器只寻呼使用有可用配额的预付费账户的终端;  (c) the prepaid client only pages the terminal using the prepaid account with the available quota according to the obtained prepaid account and its quota condition;
(d) 所述预付费客户端监控已寻呼终端的状态和配额使用情况, 对预 付费账户进行计费, 如果在所述预付费账户没有余额可使用之前, 使用该账 户的终端退出了呼叫,执行下一步,否则在该预付费账户没有余额可使用时, 再执行下一步;  (d) the prepaid client monitors the status of the paged terminal and the usage of the quota, and charges the prepaid account, and if the prepaid account has no balance available before use, the terminal using the account exits the call. , perform the next step, otherwise execute the next step when there is no balance available for the prepaid account;
(e) 所述预付费客户端通知所述预付费服务器所述预付费账户此次计 费结束, 携带该账户已使用的配额总额; 所述预付费服务器记录该配额总额 并回收未使用的配额, 预付费客户端清除该账户的信息, 结束。  (e) the prepaid client notifies the prepaid server that the prepaid account ends the billing, and carries the total quota used by the account; the prepaid server records the quota total and reclaims the unused quota. The prepaid client clears the information of the account and ends.
进一步地, 上述方法还可具有以下特点: 所述步骤 (b) 中, 当涉及的 预付费账户为集团预付费账户时, 通过以下步骤完成与所述预付费服务器的 交互:  Further, the above method may further 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 by the following steps:
(bl )所述预付费服务器确定计费涉及的各集团预付费账户、 使用账户 的终端及计费方式, 将该信息随授权消息发送到所述预付费客户端;  (bl) the prepaid server determines each group prepaid account involved in charging, a terminal that uses the account, and a charging method, and sends the information to the prepaid client along with the authorization message;
(b2 ) 所述预付费客户端判断授权消息中的集团预付费账户是否已激 活, 如果已激活, 通知调度服务器寻呼使用这些账户的终端, 然后执行步骤 (d) , 对未激活的集团预付费账户, 执行步骤 (b3) ;  (b2) the prepaid client determines whether the group prepaid account in the authorization message is activated, and if activated, notifies the scheduling server to page the terminal using the accounts, and then performs step (d) to prepay the unactivated group Fee account, perform step (b3);
(b3)所述预付费客户端向所述预付费服务器发送申请配额消息, 为未 激活的集团预付费账户申请配额;  (b3) the prepaid client sends an application quota message to the prepaid server to apply for a quota for the unactivated group prepaid account;
(b4)所述预付费服务器收到配额请求后, 为有余额的集团预付费账户 分段分配配额, 通过分配配额消息返回给预付费客户端, 对没有余额分配的 账户则返回无余额分配的信息, 执行步骤(c) 。 (b4) after receiving the quota request, the prepaid server allocates a quota for the group prepaid account segment with the balance, and returns the quota message to the prepaid client, and the balance is not allocated. The account returns information without balance allocation, and step (c) is performed.
进一步地, 上述方法还可具有以下特点: 所述步骤(d) 中, 对集团预 付费账户计费时, 进一步分为以下步骤: Further, the above method may further have the following features: In the step (d), when charging the group prepaid account, the method is further divided into the following steps:
(dl )预付费客户端监控所有已寻呼终端的状态和配额使用情况, 对一 个集团预付费账户计费时, 按使用该账户的所有终端已使用的配额累加计算 该账户已使用配额;  (dl) The prepaid client monitors the status and quota usage of all paged terminals. When charging a group prepaid account, the account has been used according to the quotas used by all terminals using the account;
(d2)如果在该集团预付费账户的当前分配配额使用完之前, 使用该账 户的所有终端退出了呼叫, 执行步骤(e) , 否则在已使用的配额达到当前 分配配额的门限时, 所述预付费客户端再次向所述预付费服务器发送申请配 额请求;  (d2) If all the terminals using the account exit the call before the current allocation quota of the group prepaid account is used, perform step (e), otherwise, when the used quota reaches the threshold of the current allocation quota, The prepaid client sends an application quota request to the prepaid server again;
(d3 ) 所述预付费服务器收到配额请求后, 在该账户还有余额分配时, 为其分配新的配额并通过分配配额消息返回给所述预付费客户端, 在该账户 没有余额分配时, 在返回的分配配额消息中携带无余额分配的信息;  (d3) after receiving the quota request, the prepaid server allocates a new quota to the prepaid client when the account has a balance allocation, and returns to the prepaid client through the allocation quota message, when the account has no balance allocation , carrying the information of no balance allocation in the returned allocation quota message;
(d4)所述预付费客户端收到分配配额的消息后, 判断是否为该集团预 付费账户分配了新的配额, 如果是, 修改该账户的当前分配配额, 返回步骤 (dl ) , 如果没有为该账户分配新的配额, 执行下一步;  (d4) after receiving the message of allocating quota, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, modifying the current allocation quota of the account, returning to step (dl), if not Assign a new quota to the account and proceed to the next step;
(d5 ) 预付费客户端监控使用该集团预付费账户的终端使用完剩余配 额, 然后停止这些终端的集群业务, 执行步骤 (e) 。  (d5) The prepaid client monitors the terminal using the group's prepaid account to use the remaining quota, and then stops the cluster services of these terminals, and performs step (e).
进一步地, 上述方法还可具有以下特点: 所述步骤 (b) 中, 当涉及的 预付费账户为用户预付费账户时, 通过以下步骤完成与所述预付费服务器的 交互:,所述预付费服务器确定计费涉及的用户预付费账户及其对应终端、 计 费方式, 为每一个用户预付费账户分配配额, 没有余额分配的账户则做没有 余额分配的标识, 然后将这些预付费信息返回给所述预付费客户端。  Further, the foregoing method may further 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 by the following steps: the prepaid The server determines the user prepaid account involved in the charging and its corresponding terminal, the charging method, allocates a quota for each user prepaid account, and the account without the balance allocation does not have the identifier of the balance allocation, and then returns the prepaid information to the The prepaid client.
进一步地, 上述方法还可具有以下特点: 所述步骤(b) 中, 当涉及的 预付费账户为用户预付费账户时, 通过以下步骤完成与所述预付费服务器的 交互- Further, the above method may further 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 by the following steps -
( )所述预付费服务器确定计费涉及的各用户预付费账户、 使用账户 的终端及计费方式, 将该信息随授权消息发送到所述预付费客户端; () the prepaid server determines each user's prepaid account involved in charging, using the account Terminal and charging method, the information is sent to the prepaid client along with an authorization message;
(b2)所述预付费客户端收到授权消息后, 向所述预付费服务器发送申 请配额消息, 消息中包含的所述各用户预付费账户;  (b2) after receiving the authorization message, the prepaid client sends an application quota message to the prepaid server, and the user prepaid account included in the message;
(b3 )所述预付费服务器收到申请配额消息后, 为有可分配余额的用户 预付费账户分配配额, 通过分配配额消息返回给所述预付费客户端, 对没有 可分配余额的账户则返回无余额分配的信息, 然后转入步骤(c) 。  (b3) after receiving the application quota message, the prepaid server allocates a quota for the user prepaid account with the balance that can be allocated, returns the quota message to the prepaid client, and returns the account without the balance that can be allocated. There is no balance assigned information, then go to step (c).
进一步地, 上述方法还可具有以下特点: 所述步骤 (b) '中, 预付费服 务器为用户预付费账户分配配额时采用分段分配的方式, 且所述步骤 (d) 中, 对用户预付费账户计费时, 进一步分为以下步骤: Further, the foregoing method may further have the following features: in the step (b)′, the prepaid server adopts a segment allocation method when allocating quotas for the user prepaid account, and in the step (d), prepaying the user When the fee account is charged, it is further divided into the following steps:
(dl )预付费客户端监控所有已寻呼终端的状态和配额使用情况, 如果 在用户预付费账户的当前分配配额使用完之前, 使用该账户的终端退出了呼 口 L|, 执行步骤(e) , 否则在已使用的配额达到所述当前分配配额的门限时, 向所述预付费服务器发送申请配额请求;  (dl) The prepaid client monitors the status and quota usage of all the paging terminals. If the terminal using the account exits the call port L| before the current allocation quota of the user prepaid account is used, the execution step (e) And sending an application quota request to the prepaid server when the used quota reaches the threshold of the current allocated quota;
(d2)所述预付费服务器收到配额请求后, 判断该用户预付费账户是否 有可分配余额, 如果有, 为其分配新的配额并通过分配配额消息返回给所述 预付费客户端, 如果没有, 则在分配配额消息中携带无余额分配的信息; (d2) after receiving the quota request, the prepaid server determines whether the user prepaid account has an assignable balance, and if so, assigns a new quota to the prepaid client, if If not, the information about the balance allocation is carried in the allocation quota message;
(d3 )所述预付费客户端收到分配配额消息后, 判断是否为该用户预付 费账户分配了新的配额, 如果是, 修改该账户的当前分配配额, 返回步骤 (dl ) , 如果没有为该账户分配新的配额, 执行下一步; (d3) after receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the user prepaid account, and if yes, modifying the current allocation quota of the account, returning to step (dl), if not The account is assigned a new quota and the next step is performed;
(d4 ) 预付费客户端监控使用该用户预付费账户的终端使用完剩余配 额, 然后停止该终端的集群业务, 执行步骤 (e) 。  (d4) The prepaid client monitors the terminal using the user's prepaid account to use the remaining quota, and then stops the cluster service of the terminal, and performs step (e).
进一步地, 上述方法还可具有以下特点: 所述配额以通话时长、 通话流 量或呼叫次数为单位。  Further, the above method may also have the following features: The quota is in units of call duration, call traffic, or number of calls.
进一步地, 上述方法还可具有以下特点: 所述预付费服务器在预付费账 户无余额供分配时, 是在分配配额消息中将为该账户分配的配额置为上一次 分配时的配额, 在第一次分配时则将其置为零。  Further, the foregoing method may further have the following feature: when the prepaid account has no balance for distribution, the prepaid server allocates the quota allocated for the account to the quota allocated in the previous allocation in the allocation quota message, Set it to zero when it is allocated.
进一步地, 上述方法还可具有以下特点: 所述预付费客户端向所述预付 费服务器再次申请配额时, 在消息中携带该集团或用户预付费账户当前已经 使用的配额, 所述预付费服务器收到该消息后记录该预付费账户已使用的配 进一步地, 上述方法还可具有以下特点: 所述预付费服务器再次为集团 或用户预付费账户分配配额且有余额供分配时, 分配的配额为上一次分配的 配额加上此次新分配的配额的总额。 Further, the foregoing method may further have the following feature: the prepaid client to the prepaid When the fee server applies for the quota again, the message carries the quota currently used by the group or the user prepaid account, and the prepaid server records the message and records the used usage of the prepaid account, and the foregoing method may further The utility model has the following features: when the prepaid server allocates quotas for the group or user prepaid accounts again and has a balance for distribution, the allocated quota is the last allocated quota plus the total amount of the newly allocated quota.
进一步地, 上述方法还可具有以下特点: 所述当前分配配额的门限是所 述预付费服务器在每次分配配额时, 根据该次分配配额指定的, 并随该分配 配额一起返回到所述预付费客户端的; 或者, 该配额门限是预付费客户端根 据当前分配配额计算得到的。 Further, the foregoing method may further have the following feature: the threshold for the current allocation quota is specified by the prepaid server according to the allocation quota each time the quota is allocated, and returns to the prepaid together with the allocation quota. Or the quota threshold is calculated by the prepaid client according to the current allocation quota.
进一步地, 上述方法还可具有以下特点: 所述步骤 (b) 中, 所述预付 费服务器还判断所述调度服务器上驻留的预付费客户端是否支持此次呼叫 要使用的预付费账户的计费方式, 对不支持其计费方式的预付费账户, 不通 知到所述预付费客户端或不为其分配配额。  Further, the foregoing method may further have the following features: In the step (b), the prepaid server further determines whether the prepaid client residing on the scheduling server supports the prepaid account to be used for the call. In the charging mode, the prepaid account that does not support its charging mode is not notified to the prepaid client or is not assigned a quota.
进一步地, 上述方法还可具有以下特点: 所述预付费服务器是通过以下 方式得知所述预付费客户端支持的计费方式信息的: 由系统中的预付费客户 端定时上报其支持的计费方式或在其计费方式变化时上报至所述预付费服 务器, 实现同步更新; 或者, 在所述步骤 (a) 中, 由所述调度服务器将驻 留其上的预付费客户端支持的计费方式随鉴权消息一起上报到鉴权服务器 上驻留的预付费服务器。  Further, the foregoing method may further have the following features: the prepaid server is configured to learn the charging mode information supported by the prepaid client by: reporting, by the prepaid client in the system, the supported accounting The fee mode or report to the prepaid server when the charging mode changes, to achieve synchronous update; or, in the step (a), the scheduling server will support the prepaid client hosted thereon The charging method is reported to the prepaid server residing on the authentication server along with the authentication message.
进一步地, 上述方法还可具有以下特点: 所述步骤 (b) 中, 当一个预 付费账户可采用多种计费方式时, 则结合使用该账户的终端所在调度服务器 上驻留的预付费客户端支持的计费方式, 从中选择一种两者都支持的计费方 式。  Further, the foregoing method may further have the following features: In the step (b), when a prepaid account can adopt multiple charging methods, the prepaid customer residing on the scheduling server where the terminal of the account is used in combination The charging mode supported by the terminal selects a charging mode supported by both.
迸一步地, 上述方法还可具有以下特点: 所述数字集群系统具有漫游功 能, 所述步骤 (b) 中, 预付费服务器是将计费涉及的预付费账户发送使用 该账户的终端当前所在的所有调度服务器, 各调度服务器上驻留的预付费客 户端独立地完成对收到的预付费账户的计费。 Further, the above method may further have the following features: 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 the current location of the terminal using the account. All dispatch servers, prepaid passengers residing on each dispatch server The client independently completes the charging of the received prepaid account.
进一步地, 上述方法还可具有以下特点: 所述步骤 (b) 中, 当用户同 时具有多个预付费账户时, 所述预付费服务器根据预设的策略选择其中一个 预付费账户, 再按该预付费账户的计费流程进行处理。  Further, the foregoing method may further 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 the preset policy, and then presses the The billing process of the prepaid account is processed.
由上可知, 本发明方法可以满足集群业务能按时长、 流量、 呼叫次数预 付费计费的需求, 同时支持按集团和按用户实现预付费功能, 且分段分配累 计配额的预付费实现方法以及预付费系统, 同时本发明的方案使得本系统在 使用中允许多个预付费客户端同时使用一个预付费账户, 能够最大限度减小 计费误差。 It can be seen from the above that the method of the present invention can meet the requirement that the trunking service can be prepaid and charged according to the duration, the traffic, and the number of calls. At the same time, the prepaid charging function is implemented according to the group and the user, and the prepaid charging method is implemented in the segmental allocation of the accumulated quota. The prepaid system, at the same time, enables the system to allow multiple prepaid clients to simultaneously use one prepaid account in use, which can minimize the charging error.
附图概述 BRIEF abstract
图 1是本发明中数字集群系统预付费业务计费实体关系示意图; 图 2是本发明按集团预付费流程中的消息交互示意图;  1 is a schematic diagram of a relationship between a billing entity of a prepaid service of a digital trunking system according to the present invention; FIG. 2 is a schematic diagram of message interaction according to a prepaid bill of the present invention;
图 3是本发明按群组预付费流程中的消息交互流程图。 本发明的最佳实施方式  FIG. 3 is a flow chart of message interaction in the group prepayment process of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
下面结合附图和实施例对本发明做详细的说明。  The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
图 1 是本发明数字集群系统中与预付费直接相关的实体示意图,预付费 服务器 12通过 IP网 10与一个或多个预付费客户端 11相连。 预付费客户端 通常驻留在数字集群系统的调度服务器上, 预付费服务器通常驻留在集群调 度系统的鉴权服务器上, 负责管理用户的预付费信息, 如用户的预付费账户 及计费方式等。 调度服务器(PDS)通过基站子系统 (BSS)和终端通信。 需要说明的是, 以上所称驻留是逻辑上的驻留, 在物理实体上, 预付费服务 器和鉴权服务器、 预付费客户端和调度服务器通常是合一的, 但也不排除分 离的可能, 如利用目前的 SCP管理预付费信息时, 其处理部分和 SCP需要 利用接口相互通信。  1 is a schematic diagram of an entity directly related to prepaid in a digital trunking system of the present invention, with a prepaid server 12 connected to one or more prepaid clients 11 via an IP network 10. The prepaid client usually resides on the dispatch server of the digital trunking system. The prepaid server usually resides on the authentication server of the cluster scheduling system and is responsible for managing the user's prepaid information, such as the user's prepaid account and billing method. Wait. The Dispatch Server (PDS) communicates with the terminal through the Base Station Subsystem (BSS). It should be noted that the above-mentioned residency is a logical residency. On a physical entity, the prepaid server and the authentication server, the prepaid client, and the dispatch server are usually unified, but the possibility of separation is not excluded. When using the current SCP to manage prepaid information, its processing part and the SCP need to communicate with each other using the interface.
预付费客户端在计费时, 可以按通话时长、 通话流量或按呼叫次数等方 式计费。 而本发明的预付费方式包括按集团预付费, 按群组预付费和按用户 预付费三种。群组呼叫可以选择按集团预付费, 按群组预付费和按用户预付 费。 私密呼叫业务可以选择按集团预付费和按用户预付费。 按集团和按用户 预付费的计费对象是终端, 对集团计费只是对其包括终端的计费的累加; 按 群组预付费则不同, 其计费对象是群组呼叫, 按群组呼叫的时长、 流量或次 数计算, 计费时可以考虑终端的数量, 但不对每个终端单独进行计费。 When the prepaid client is billing, it can be based on the duration of the call, the traffic flow, or the number of calls. Billing. The prepaid method of the present invention includes prepaid by group, prepaid by group and prepaid by user. Group calls can be prepaid by group, prepaid by group and prepaid by user. The private call service can choose to pre-pay by group and pre-pay by user. The charging object according to the group and pre-paid by the user is the terminal, and the charging for the group is only the accumulation of the charging including the terminal; the pre-payment by the group is different, the charging object is the group call, the group call The calculation of the duration, flow or number of times, the number of terminals can be considered in the billing, but the billing is not performed separately for each terminal.
下面分别以三个实施例对这三种预付费方式加以说明。 The three prepaid modes are described below in three embodiments.
第一实施例: 按集团预付费  First embodiment: Prepaid by group
本实施例为在数字集群系统上实现按集团预付费的方法。按集团预付费 是指该集团的成员进行的呼叫将从集团预付费账户上扣费, 其特点是每次呼 叫涉及的用户可能属于不同集团, 而同一集团的用户可以分别发起或加入呼 叫。 因此, 一个集团成员发起呼叫或被寻呼时, 相应的集团预付费账户可能 已经在调度服务器上激活。  This embodiment is a method for implementing pre-payment by group on a digital trunking system. Prepaid by group means that calls made by members of the group will be deducted from the group's prepaid account. The feature is that the users involved in each call may belong to different groups, and users in the same group may initiate or join the call separately. Therefore, when a group member initiates a call or is paged, the corresponding group prepaid account may have been activated on the dispatch server.
下面将介绍本实施例方法的流程, 请参见图 2中的消息交互, 包括以下 步骤:  The flow of the method in this embodiment will be described below. Referring to the message interaction in FIG. 2, the following steps are included:
步骤 110, 起呼终端发起集群呼叫, 可以是组呼或私密呼叫, 起呼消息 通过基站子系统发送到调度服务器;  Step 110: The calling terminal initiates a trunking call, which may be a group call or a private call, and the originating message is sent to the scheduling server by using the base station subsystem;
步骤 120, 调度服务器向鉴权服务器发送鉴权请求消息, 由鉴权服务器 对起呼终端和被叫群组进行鉴权, 鉴权不通过则后续步骤都不执行;  Step 120: The scheduling server sends an authentication request message to the authentication server, where the authentication server authenticates the calling terminal and the called group, and if the authentication fails, the subsequent steps are not performed;
步骤 130,鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户(指 主叫和所有被叫) 的预付费信息, 确定计费涉及的各集团预付费账户、 使用 账户的终端及计费方式等信息, 将该信息随鉴权通过后回复的授权消息发送 到调度服务器, 再转发到驻留的预付费客户端;  Step 130: The prepaid server residing on the authentication server determines, according to the prepaid information of the related users (referring to the calling party and all the called parties) of the call, the prepaid accounts of the groups involved in the charging, and the terminals and accounts of the used accounts. The information such as the fee method is sent to the dispatching server by the authorization message replied with the authentication, and then forwarded to the resident prepaid client;
步骤 140, 预付费客户端收到授权消息后, 判断其中的集团预付费账户 是否已激活, 如果已激活, 则通知调度服务器寻呼使用这些账户的终端, 执 行步骤 180, 对未激活的集团预付费账户, 执行步骤 150;  Step 140: After receiving the authorization message, the prepaid client determines whether the group prepaid account is activated. If activated, notifies the scheduling server to page the terminal that uses the accounts, and performs step 180 to prepay the inactive group. Fee account, go to step 150;
步骤 150, 预付费客户端向预付费服务器发送申请配额消息, 为未激活 的集团预付费账户申请配额; Step 150: The prepaid client sends an application quota message to the prepaid server, which is inactive. Group prepaid account application quota;
步骤 160, 预付费服务器收到配额请求后, 为其中的集团预付费账户分 配配额(以时长、 流量或呼叫次数为单位)和配额门限, 没有余额分配的账 户则分配零配额, 然后通过分配配额消息返回给预付费客户端;  Step 160: After receiving the quota request, the prepaid server allocates a quota (in terms of duration, traffic, or number of calls) and a quota threshold for the group prepaid account, and allocates zero quota to the account without the balance allocation, and then allocates the quota. The message is returned to the prepaid client;
步骤 170, 预付费客户端收到为各集团预付费账户分配的配额后, 如果 有可用配额, 通知调度服务器对使用这些账户的终端发起寻呼, 如果没有可 用配额, 则不对使用这些账户的终端发起寻呼;  Step 170: After the prepaid client receives the quota allocated for each group prepaid account, if there is an available quota, the scheduling server is notified to the terminal that uses the account to initiate paging. If no quota is available, the terminal that uses the account is not used. Initiate paging;
在呼叫建立后, 对发起寻呼的终端所属的每个集团预付费账户执行以下 计费流程- 步骤 180, 预付费客户端监控所有已寻呼终端的状态和配额使用情况, 对一个集团预付费账户计费时, 按使用该账户的所有终端已使用的配额累加 计算该账户已使用配额; After the call is established, the following charging process is performed for each group prepaid account to which the terminal that initiated the paging belongs - step 180, the prepaid client monitors the status and quota usage of all the paged terminals, and prepays for a group. When the account is billed, the account used quota is calculated by accumulating the quotas used by all the terminals using the account;
寻呼终端后, 终端可能马上接入、 迟后接入或始终没有接入呼叫, 客户 端监控终端的状态时, 对没有接入呼叫的终端还包括对寻呼该终端的呼叫的 状态的监控, 在寻呼该终端的呼叫结束时, 视为该终端退出了呼叫。  After paging the terminal, the terminal may access immediately, late access or never access the call. When the client monitors the status of the terminal, the terminal that does not have the access call also includes monitoring the status of the call paging the terminal. When the call to page the terminal ends, the terminal is deemed to have quit the call.
步骤 190, 如果在该集团预付费账户已使用的配额达到当前的配额门限 之前, 使用该账户的所有终端退出了呼叫, 执行步骤 240, 否则在已使用的 配额达到当前配额门限时, 执行下一步;  Step 190: If all the terminals using the account exit the call before the quota used by the group prepaid account reaches the current quota threshold, go to step 240. Otherwise, when the used quota reaches the current quota threshold, perform the next step. ;
步骤 200, 预付费客户端再次向预付费服务器发送申请配额请求消息, 消息中携带该集团预付费账户当前已经使用的配额;  Step 200: The prepaid client sends an application quota request message to the prepaid server, where the message carries the quota currently used by the group prepaid account;
步骤 210, 预付费服务器收到配额请求后, 记录该集团预付费账户已使 用的配额, 并再次为该账户分配配额和配额门限, 通过分配配额消息返回给 预付费客户端。 如果该账户还有余额分配, 则分配的配额是上一次分配配额 和新分配配额的总额,配额门限也根据该总配额重新计算,如果没有余额了, 则返回上次分配的配额和配额门限;  Step 210: After receiving the quota request, the prepaid server records the quota used by the group prepaid account, and allocates the quota and the quota threshold to the account again, and returns the information to the prepaid client by assigning the quota message. If the account has a balance allocation, the allocated quota is the total amount of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated according to the total quota. If there is no balance, the last allocated quota and quota threshold are returned;
步骤 220, 预付费客户端收到分配配额消息后, 判断是否为该集团预付 费账户分配了新的配额, 如果是, 修改该账户的当前分配配额和配额门限, 返回步骤 180, 如果没有分配新的配额, 执行下一步; Step 220: After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, changes the current allocation quota and the quota threshold of the account, Returning to step 180, if no new quota is allocated, perform the next step;
步骤 230, 预付费客户端监控使用该集团预付费账户的终端使用完剩余 配额, 然后停止这些终端的集群业务;  Step 230, the prepaid client monitors the terminal using the group prepaid account to use the remaining quota, and then stops the cluster service of the terminals;
步骤 240, 预付费客户端向预付费服务器发送预付费结束请求消息, 携 带该集团预付费账户当前已使用的配额总额;  Step 240: The prepaid client sends a prepaid end request message to the prepaid server, and carries the total amount of quota currently used by the group prepaid account;
步骤 250, 预付费服务器记录该集团预付费账户此次计费使用的配额总 额,回收已分配但未使用的配额,向预付费客户端返回结束预付费应答消息, 预付费客户端清除该预付费账户的信息, 结束。  Step 250: The prepaid server records the total quota used by the group prepaid account for the billing, recovers the allocated but unused quota, returns the ending prepaid response message to the prepaid client, and the prepaid client clears the prepaid The information of the account ends.
在上述流程中, 配额采用账户计费方式中的时长、 流量或呼叫次数为单 位,可以方便预付费客户端计算配额。并且,本实施例的配额是分段分配的, 因为对于集团预付费账户来说, 为某次呼叫的终端分配全额是不合适的。 而 且, 由于预付费服务器和预付费客户端之间的分组报文可能丢失, 分段分配 的方式可以减少报文丢失带来的损失。 至于每一次分配的配额, 可以是一个 固定的数值, 也可以根据终端的数量进行调整, 本发明对此不做限定。 In the above process, the quota uses the duration, traffic, or number of calls in the account charging mode as the unit, which can facilitate the prepaid client to calculate the quota. Moreover, the quota of this embodiment is allocated in segments, because for a group prepaid account, it is not appropriate to allocate the full amount for the terminal of a certain call. Moreover, since the packet message between the prepaid server and the prepaid client may be lost, the segmentation allocation method can reduce the loss caused by the packet loss. As for the quota allocated for each time, it may be a fixed value, or may be adjusted according to the number of terminals, which is not limited by the present invention.
预付费客户端在每次申请配额时携带已使用的配额, 而预付费服务器记 录该群组预付费账户已使用的配额, 也可以减少报文丢失带来的损失。  The prepaid client carries the used quota each time the quota is applied, and the prepaid server records the quota used by the group prepaid account, which can also reduce the loss caused by the packet loss.
当采用时长、 流量的计费方式时, 流程中提到的配额门限可以设为配额 的一个比例值, 如 70%~90%, 预付费客户端在已使用配额达到该门限时及 时地再次申请配额, 从而避免了配额不足造成通话中断。 不过在其它的实施 方式中, 该门限不一定要由预付费服务器来指定和传送到调度服务器, 调度 服务器可以按当前分配配额的一个比例, 或者, 将当前分配配额减去一个固 定的数值得到当前配额门限也是可以的。不过不如在预付费服务器中来设定 更为灵活。  When the charging method of duration and traffic is adopted, the quota threshold mentioned in the process can be set to a proportional value of the quota, such as 70%~90%, and the prepaid client applies again in time when the used quota reaches the threshold. Quotas, thus avoiding the interruption of calls caused by insufficient quotas. However, in other embodiments, the threshold does not have to be specified and transmitted by the prepaid server to the scheduling server. The scheduling server may use a ratio of the current allocation quota, or subtract the current allocation quota by a fixed value to obtain the current The quota threshold is also ok. However, it is better to set it up in the prepaid server.
而采用呼叫次数的计费方式时, 可以将每次分配的配额设为 1, 可不设 配额上限或也设为 1, 且在计算终端已使用配额时, 不必监控终端的时长和 流量,只在退出呼叫时将已使用配额置为 1就可以了。至于其它的计费方式, 还可以是计算在呼叫过程中的说话的次数, 如用户在一次呼叫过程中说了 3 次, 就计为 3, 这个在计费时统计该终端获取话权的次数就可以了。 When the number of calls is used, the quota for each allocation can be set to 1, and the quota limit is not set or set to 1, and when the terminal has used the quota, it is not necessary to monitor the duration and traffic of the terminal. Set the used quota to 1 when you exit the call. As for other charging methods, it is also possible to calculate the number of times of speaking during the call, such as the user said during a call. The count is 3, which counts the number of times the terminal acquires the right to call when billing.
如果系统中统一采用一种计费方式, 在^^际的授权消息中可以不带计费 方式信息, 这种情况应视为携带默认的计费方式信息。  If a charging mode is adopted in the system, the accounting information may not be included in the authorization message. This situation should be considered as carrying the default charging mode information.
上述流程中, 当预付费服务器发现集团预付费账户没有余额可分配时, 是分配零配额或上次分配的配额和配额门限, 但在另一实施例中, 也可以采 用其它表示没有余额分配的信息, 如设一标志位。  In the above process, when the prepaid server finds that the group prepaid account has no balance to be allocated, it is assigned a zero quota or a previously allocated quota and quota threshold, but in another embodiment, other indications that there is no balance allocation may also be used. Information, such as setting a flag.
第二实施例: 按用户预付费 Second embodiment: prepaid by user
本实施例为在数字集群系统上实现按用户预付费的方法。按用户预付费 的特点是用户预付费账户由该用户单独使用, 不会出现用户加入呼叫时, 该 用户预付费账户就已经激活的情况。 计费时, 根据单个终端的通话时长、 通 话流量或呼叫次数进行计费。  This embodiment is a method for implementing prepaid by user on a digital trunking system. The pre-paid by user feature is that the user's prepaid account is used by the user alone, and the user's prepaid account is activated when the user joins the call. During billing, billing is based on the duration of a single terminal, the amount of traffic, or the number of calls.
下面将介绍本实施例方法的流程, 包括以下步骤:  The flow of the method of this embodiment will be described below, including the following steps:
步骤 310, 起呼终端发起集群呼叫, 可以是组呼或私密呼叫, 起呼消息 通过基站子系统发送到调度服务器;  Step 310: The calling terminal initiates a trunking call, which may be a group call or a private call, and the start message is sent to the scheduling server by using the base station subsystem.
步骤 320, 调度服务器向鉴权服务器发送鉴权请求消息, 由鉴权服务器 对起呼终端和被叫群组进行鉴权;  Step 320: The scheduling server sends an authentication request message to the authentication server, where the authentication server authenticates the calling terminal and the called group.
步骤 330, 鉴权服务器上驻留的预付费服务器根据此次呼叫相关用户的 预付费信息, 确定计费涉及的用户预付费账户和对应的终端、 计费方式等信 息, 并为每一个用户预付费账户分配配额(时长、 流量或呼叫次数)和配额 门限, 没有余额分配的账户则分配零配额, 将这些预付费信息通过授权消息 或分配配额消息返回给调度服务器上驻留的预付费客户端;  Step 330: The prepaid server residing on the authentication server determines, according to the prepaid information of the related user of the call, the prepaid account, the corresponding terminal, the charging mode, and the like involved in the charging, and prepays for each user. Fee account allocation quota (time, traffic or number of calls) and quota threshold, accounts without balance allocation are assigned zero quota, and these prepaid information is returned to the prepaid client residing on the dispatch server through the authorization message or the allocation quota message. ;
步骤 340, 预付费客户端收到分配配额消息后, 对有可用配额的用户预 付费账户, 通知调度服务器对使用该账户的终端发起寻呼, 对没有可用配额 的账户, 则通知调度服务器不寻呼使用这些账户的终端;  Step 340: After receiving the allocation quota message, the prepaid client informs the scheduling server to initiate paging for the terminal that uses the account, and notifies the scheduling server not to find the account that has the available quota. Call the terminal that uses these accounts;
呼叫建立后, 对已寻呼终端对应的每个用户预付费账户执行以下计费流 程- 步骤 350, 预付费客户端监控已寻呼终端的状态、 配额使用情况, 如果 在该账户已使用配额达到其当前的配额门限之前, 使用该账户的终端退出了 呼叫, 执行步骤 400, 否则在已使用配额达到当前的配额门限时, 执行下一 步; After the call is established, the following charging process is performed for each user prepaid account corresponding to the paged terminal - Step 350: The prepaid client monitors the status of the paged terminal and the quota usage. If the terminal using the account exits the call before the account has reached the current quota threshold, step 400 is performed, otherwise When the quota is used to reach the current quota threshold, the next step is performed;
步骤 360, 预付费客户端再次向预付费服务器发送申请配额请求消息, 消息中携带该用户预付费账户当前已经使用的配额;  Step 360: The prepaid client sends an application quota request message to the prepaid server, where the message carries the quota currently used by the prepaid account of the user;
步骤 370, 预付费服务器收到配额请求后, 记录该用户预付费账户已使 用的配额, 并再次为该账户分配配额和配额门限, 通过分配配额消息返回给 预付费客户端, 如果该账户还有余额分配, 则分配的配额是上一次分配配额 和新分配配额的总额, 配额门限也根据该总配额重新计算, 如果没有余额, 则返回上次分配的配额和配额门限;  Step 370: After receiving the quota request, the prepaid server records the quota used by the user prepaid account, and allocates the quota and quota threshold for the account again, and returns the quota message to the prepaid client, if the account still has For the balance allocation, the allocated quota is the total amount of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated according to the total quota. If there is no balance, the quota and quota thresholds that were last allocated are returned;
步骤 380, 预付费客户端收到分配配额消息后, 判断是否为该用户预付 费账户分配了新的配额, 如果是, 修改该账户的当前分配配额和配额门限, 返回步骤 350, 否则, 执行步骤 390;  Step 380: After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the user prepaid account. If yes, the current allocation quota and the quota threshold of the account are modified, and the process returns to step 350. Otherwise, the step is performed. 390;
步骤 390, 预付费客户端监控使用该用户预付费账户的终端使用完剩余 配额, 然后停止该终端的集群业务;  Step 390: The prepaid client monitors the terminal using the user prepaid account to use the remaining quota, and then stops the cluster service of the terminal;
步骤 400, 预付费客户端向预付费服务器发送预付费结束请求消息, 携 带该用户预付费账户当前已使用的配额总额;  Step 400: The prepaid client sends a prepaid end request message to the prepaid server, and carries the total amount of quota currently used by the user prepaid account;
步骤 410, 预付费服务器记录该用户预付费账户此次使用的配额总额, 回收已分配但未使用的配额, 向预付费客户端返回结束预付费应答消息, 预 付费客户端清除该用户预付费账户的信息, 结束。  Step 410: The prepaid server records the total quota used by the user for the prepaid account, reclaims the allocated but unused quota, returns the ending prepaid response message to the prepaid client, and the prepaid client clears the user prepaid account. The information ends.
在上述流程可以看出, 由于对于用户预付费账户来说在呼叫发起时不会 存在账户已激活的情况, 所以预付费服务器在鉴权返回预付费账户的同时, 可以进行第一次的配额分配。 当然, 采用第一实施例的方式, 即由调度服务 器收到预付费账户后再就用户预付费账户向预付费服务器申请第一次配额 也是可以的。 As can be seen from the above process, since the account is activated when the call is initiated for the user prepaid account, the prepaid server can perform the first quota allocation while the authentication returns to the prepaid account. . Of course, it is also possible to apply the first quota to the prepaid server for the user prepaid account after receiving the prepaid account by the dispatching server in the manner of the first embodiment.
在为用户预付费账户和群组预付费账户分配配额时, 不排除在另一实施 例中进行全额分配的可能性, 如果在步骤 330中分配配额时分配了该账户所 有的可用余额(有的话) , 就无需计算配额门限, 则在步骤 340后, 对每个 用户预付费账户执行以下计费流程: When assigning quotas for user prepaid accounts and group prepaid accounts, it is not excluded in another implementation. In the example, the possibility of full allocation is made. If all the available balances (if any) of the account are allocated when the quota is allocated in step 330, there is no need to calculate the quota threshold, and after step 340, prepay for each user. The account performs the following billing process:
步骤 350' , 预付费客户端监控已寻呼终端的状态和配额使用情况, 如 果在该终端使用的账户的配额用完之前, 该终端退出了呼叫, 执行下一步, 否则在用完分配配额时, 再执行下一步;  Step 350', the prepaid client monitors the status of the paged terminal and the quota usage. If the terminal exits the call before the quota of the account used by the terminal is used, the next step is performed, otherwise, when the quota is used up, , then perform the next step;
步骤 360' , 预付费客户端向预付费服务器发送预付费结束请求消息, 携带该用户预付费账户当前已使用的配额总额;  Step 360 ′, the prepaid client sends a prepaid end request message to the prepaid server, and carries the total amount of quota currently used by the user prepaid account;
步骤 370' ,预付费服务器记录该用户预付费账户此次使用的配额总额, 回收已分配但未使用的配额(有的话) , 向预付费客户端返回结束预付费应 答消息, 预付费客户端清除该用户预付费账户的信息, 结束。  Step 370', the prepaid server records the total quota used by the user for the prepaid account, and recycles the allocated but unused quota (if any), and returns the ending prepaid response message to the prepaid client, the prepaid client. Clear the information of the user's prepaid account and end.
从总体上, 如果在账户没有余额可使用 (包括余额已用完或不够分配两 种情况)之前终端退出呼叫, 则结束预付费并返还配额, 否则就在账户没有 余额可使用时结束预付费。 这对于分段分配和一次分配都是一样的。  In general, if the terminal exits the call before the account has no balance available (including the balance has been used up or not enough), the prepayment is terminated and the quota is returned, otherwise the prepayment is terminated when the account has no balance available. This is the same for both segment allocation and primary allocation.
第三实施例: 按群组预付费 Third Embodiment: Prepaid by group
本实施例为在数字集群系统上实现按群组预付费的一种实施方法。在该 方法中, 对群组预付费账户计费时只计算组呼的时长或流量, 不再按每个终 端进行累计。 这特别适用于目前的传统式数字集群系统, 因为该系统具有容 量大, 接入迅速的优点, 但调度服务器在寻呼时只控制到基站子系统, 对终 端的实时监控比较困难。 按这种方式计费时, 也不会出现组呼起呼时, 该用 户预付费账户就已经在调度服务器上被激活的情况。  This embodiment is an implementation method for implementing pre-payment by group on a digital trunking system. In this method, only the duration or traffic of the group call is calculated when charging the group prepaid account, and is no longer accumulated for each terminal. This is especially applicable to the current conventional digital trunking system, because the system has the advantages of large capacity and rapid access, but the scheduling server only controls to the base station subsystem during paging, and real-time monitoring of the terminal is difficult. When billing in this manner, there is no case where the user's prepaid account is already activated on the dispatch server when the group call is initiated.
另外, 需要注意的是, 本发明所提出的群组预付费, 是在发生该群组呼 叫时才对该群组预付费账户计费, 并不是指群组中的终端发生呼叫时就要从 群组预付费账户上扣费, 后一种其实就是按集团预付费的方式。  In addition, it should be noted that the group pre-payment proposed by the present invention charges the group pre-paid account when the group call occurs, and does not mean that the terminal in the group must be called when the call occurs. The deduction of the group prepaid account, the latter is actually the prepayment according to the group.
下面将介绍本实施例方法的流程, 请参照图 3, 包括以下步骤- 步骤 510, 起呼终端发起组呼, 起呼消息通过基站子系统发送到调度服 务器; 步骤 520, 调度服务器向鉴权服务器发送鉴权请求消息, 由鉴权服务器 对起呼终端和被叫群组进行鉴权; The following describes the process of the method in this embodiment. Referring to FIG. 3, the method includes the following steps: Step 510: The calling terminal initiates a group call, and the start message is sent to the scheduling server by using the base station subsystem. Step 520: The scheduling server sends an authentication request message to the authentication server, where 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 by the group call and the charging mode of the account, allocates a quota and a quota threshold for the account, and assigns zero if there is no balance allocation. Quota, returning the prepaid information to the prepaid client residing on the dispatch server through the authorization message or the allocation quota message;
步骤 540, 预付费客户端收到分配配额消息后, 判断群组预付费账户是 否有可用配额, 如果有, 通知调度服务器对该群组的终端发起寻呼, 执行步 骤 550; 如果没有可用配额, 则拒绝此次组呼, 结束;  Step 540: After receiving the allocation quota message, the prepaid client determines whether the group prepaid account has an available quota. If yes, the notification scheduling server initiates paging for the group terminal, and step 550 is performed; if no quota is available, Reject the group call and end;
步骤 550, 组呼建立后, 预付费客户端监控此次组呼的状态和配额使用 情况(调度服务器具有此能力) , 如果在该群组预付费账户已使用配额达到 其当前的配额门限之前组呼已结束, 执行步骤 600, 否则在已使用的配额达 到当前的配额门限时, 执行下一步;  Step 550: After the group call is established, the prepaid client monitors the status of the group call and the quota usage (the scheduling server has the capability), if the group pre-paid account has used the quota before reaching its current quota threshold. If the call has expired, go to step 600. Otherwise, if the used quota reaches the current quota threshold, go to the next step.
步骤 560, 预付费客户端再次向预付费服务器发送申请配额请求消息, 消息中携带该群组预付费账户当前已经使用的配额;  Step 560: The prepaid client sends an application quota request message to the prepaid server, where the message carries the quota currently used by the group prepaid account;
步骤 570, 预付费服务器收到配额请求后, 记录该群组预付费账户已使 用的配额, 并再次为该账户分配配额和配额门限, 通过分配配额消息返回给 预付费客户端, 如果该账户还有余额分配, 则分配的配额是上一次分配配额 和新分配配额的总额, 配额门限也根据该总配额重新计算, 如果没有余额, 则返回上次分配的配额和配额门限;  Step 570: After receiving the quota request, the prepaid server records the quota used by the group prepaid account, and allocates the quota and quota threshold to the account again, and returns the quota message to the prepaid client, if the account is still If there is a balance allocation, the allocated quota is the total amount of the last allocated quota and the newly allocated quota, and the quota threshold is also recalculated according to the total quota. If there is no balance, the last allocated quota and quota threshold are returned;
步骤 580, 预付费客户端收到分配配额消息后, 判断是否为该群组预付 费账户分配了新的配额, 如果是, 修改该账户的当前分配配额和配额门限, 返回步骤 550, 否则, 执行下一步;  Step 580: After receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, changes the current allocation quota and the quota threshold of the account, and returns to step 550. Otherwise, the execution is performed. Next step;
步骤 590, 预付费客户端监控该组呼使用完剩余配额后, 停止该组呼; 步骤 600, 预付费客户端向预付费服务器发送预付费结束请求消息, 携 带该群组预付费账户当前已使用的配额总额;  Step 590, the prepaid client monitors the group call to stop the group call after using the remaining quota; Step 600, the prepaid client sends a prepaid end request message to the prepaid server, and the prepaid account carrying the group is currently used. Total quota;
步骤 610, 预付费服务器记录该群组预付费账户此次使用的配额总额, 回收已分配但未使用的配额, 向预付费客户端返回结束预付费应答消息, 预 付费客户端清除该群组预付费账户的信息, 结束。 Step 610: The prepaid server records the total quota used by the group prepaid account, and recycles the allocated but unused quota, and returns the ending prepaid response message to the prepaid client. The payment client clears the information of the group prepaid account and ends.
按群组预付费也可以采用另一种实施方式, 即在计费时可以考虑每个终 端的情况, 如考虑加入的终端数量, 这种情况下对上述流程并不需要修改, 只是在步骤 550中计算组呼的配额使用情况的方法不同。 Pre-payment by group can also adopt another implementation manner, that is, the situation of each terminal can be considered in charging, for example, considering the number of terminals to join, in this case, the above process does not need to be modified, but only in step 550. There are different ways to calculate the usage of quotas for group calls.
按群组预付费时, 也不排除进行全额分配的可能, 其流程与第二实施例 后面给出的按用户预付费全额分配的流程是相似的, 即第一次就分配所有的 余额, 不进行配额门限的计算, 而预付费客户端在计费时, 监控组呼的状态 和配额使用情况, 如果在使用完其配额前退出呼叫, 向预付费服务器发送预 付费结束请求并返回已使用配额, 否则在使用完其配额时再向预付费服务器 发送预付费结束请求。 再后续的处理是相同的。  When pre-payment by group, the possibility of full allocation is not excluded, and the flow is similar to the process of full-user pre-payment according to the second embodiment, that is, all the balances are allocated for the first time. The quota threshold is not calculated. When the prepaid client is charging, it monitors the status of the group call and the quota usage. If the call is exited before the quota is used, the prepaid end request is sent to the prepaid server and returned to the used one. Quota, otherwise send a prepaid end request to the prepaid server when the quota is used. Subsequent processing is the same.
以上 3个实施例的流程在不同的网络情况下, 或在不同的预付费策略下 还可以做一些变换和修正。 例如: The processes of the above three embodiments can also be modified and modified under different network conditions or under different prepaid strategies. E.g:
1 ) 在一个数字集群系统中, 不同调度服务器上驻留的预付费客户端可 能支持所有的计费方式, 以上 3个流程都是基于这个条件。 而在有的预付费 客户端不支持预付费账户采用的计费方式时, 就不能允许使用该账户的终端 进行业务。 考虑这个因素时, 需要在上述 3个流程的步骤 130、 330和 530 中, 增加判断调度服务器上驻留的预付费客户端是否支持此次呼叫要使用的 账户, 即集团预付费账户、 用户预付费账户和群组预付费账户, 对于不支持 其计费方式的账户, 不再发送到调度服务器或不为其分配配额。 这样, 调度 服务器也不会寻呼使用这些账户的终端了。  1) In a digital trunking system, prepaid clients residing on different dispatch servers may support all billing methods. The above three processes are based on this condition. When some prepaid clients do not support the charging method used by the prepaid account, the terminal using the account cannot be allowed to conduct services. When considering this factor, in steps 130, 330, and 530 of the above three processes, it is necessary to increase whether the prepaid client residing on the scheduling server supports the account to be used for the call, that is, the group prepaid account, the user prepaid. Fee accounts and group prepaid accounts. For accounts that do not support their billing methods, they are no longer sent to the dispatch server or are not assigned quotas. In this way, the dispatch server will not page the terminals that use these accounts.
至于预付费服务器如何得到预付费客户端支持的计费方式信息, 可以由 各客户端定时或该信息变化时上报至归属的预付费服务器, 实现同步更新。 或者, 也可以在步骤 120、 320和 520中, 由调度服务器将驻留其上的预付 费客户端支持的计费方式随鉴权消息一起上报到鉴权服务器驻留的预付费 服务器。  As for how the prepaid server obtains the charging mode information supported by the prepaid client, it can be updated by each client timing or when the information changes to the home prepaid server. Alternatively, in steps 120, 320, and 520, the scheduling server supports the charging mode supported by the prepaid client on the server along with the authentication message to the prepaid server where the authentication server resides.
2 ) 在具有漫游功能的数字集群系统中, 起呼终端所在的调度服务器并 不一定是群组归属的调度服务器, 在这种情况下, 鉴权流程和上述 3个实施 例可能有所不同, 其中一种方式是由起呼服务器和该群组归属的调度服务器 分别发起对起呼终端和被叫终端的鉴权, 鉴权服务器中驻留有调度归属寄存 器, 可以知道群组或终端当前所在的调度服务器。 2) In a digital trunking system with roaming function, the dispatching server where the calling terminal is located and It 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 which is initiated by the calling server and the scheduling server to which the group belongs. The authentication of the calling terminal and the called terminal, the scheduling home register resides in the authentication server, and the scheduling server where the group or the terminal is currently located can be known.
这样, 对于按用户预付费或按集团预付费的流程来讲, 可以在起呼服务 器鉴权时返回起呼终端对应的用户或集团预付费账户及其对应终端、计费方 式, 在归属服务器鉴权的时候再返回被叫终端相关的用户或集团预付费账户 及其对应终端、 计费方式。 而在有被叫终端漫游到其它协作调度服务器时, 再由归属调度服务器将该终端的相关账户信息发送到其所在的调度服务器。 鉴权流程不同时具体账户分发的工作也可能不同。 总之, 是要将计费涉及的 预付费账户发送使用该账户的终端当前所在的所有调度服务器, 在按集团预 付费的情况下, 同一预付费账户可能发送到不同的预付费客户端, 然后由各 调度服务器上驻留的预付费客户端独立的对终端的状态和配额使用情况进 行监控, 独立地和预付费服务器交互, 完成配额申请和分配, 结束预付费等 计费流程, 方法与上述实施例是相同的。  In this way, for the prepaid or prepaid group prepaid process, the user corresponding to the calling terminal or the group prepaid account and its corresponding terminal, the charging method can be returned when the calling server is authenticated, and the home server is authenticated. Then return the user or group prepaid account related to the called terminal and its corresponding terminal, charging method. When the called terminal roams to other cooperative scheduling servers, the home scheduling server sends the related account information of the terminal to the scheduling server where the terminal is located. The work of specific account distribution may also be different when the authentication process is different. In short, it is necessary to send the prepaid account involved in the billing to all the dispatch servers where the terminal using the account is currently located. In the case of prepaid by the group, the same prepaid account may be sent to different prepaid clients, and then The prepaid client residing on each scheduling server independently monitors the status and quota usage of the terminal, independently interacts with the prepaid server, completes the quota application and allocation, and ends the prepaid charging process, the method and the above implementation. The examples are the same.
对于按群组预付费的流程来讲, 群组预付费账户可以发送到起呼调度服 务器或者群组归属的调度服务器或者参与此次组呼的其它服务器, 这些调度 服务器都可以对组呼状态和配额使用情况进行监控, 完成对群组预付费账户 的计费。  For the group prepaid process, the group prepaid account can be sent to the originating dispatch server or the group-owned dispatch server or other servers participating in the group call, and these scheduling servers can all have group call status and The quota usage is monitored to complete the billing of the group prepaid account.
3 ) 如果数字集群系统中需要同时支持三种计费方式, 对于某个终端来 说有可能对应于多个预付费账户的话, 则需要在鉴权时, 由鉴权服务器上驻 留的预付费服务器根据此次呼叫相关用户的预付费信息, 先确定该用户要使 用的哪一个账户, 这可以根据系统配置的优先顺序来选择。 在确定了不同的 预付费账户后, 每一种账户的后续处理都可以分别采用上述 3个实施例的方 式及其变换方式, 不过, 为了使流程尽量一致, 对用户预付费账户和群组预 付费账户的计费流程中较佳也统一为和集团预付费账户一样的, 在授权消息 中先分配账户, 再由预付费客户端申请第一次配额, 且配额采用分段分配的 方式。  3) If the digital trunking system needs to support three charging modes at the same time, if it is possible for a certain terminal to correspond to multiple prepaid accounts, then the prepaid server that resides on the authentication server needs to be authenticated. According to the prepaid information of the call related user, first determine which account the user wants to 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 type of account can adopt the manners of the above three embodiments and the manner of changing the same, however, in order to make the process as consistent as possible, prepaid accounts and group prepayments for users The billing process of the fee account is preferably unified to be the same as the group prepaid account. The account is first allocated in the authorization message, and then the first quota is applied by the prepaid client, and the quota is allocated by segmentation.
4) 上述实施例中, 是对每个预付费账户约定一种计费方式。 但本发明 预付费服务器选择计费方式的策略不局限于此, 如果预付费账户可以采用多 种计费方式, 则可以结合预付费客户端支持的计费方式从中选择一种两者都 支持的计费方式。 避免在预付费客户端不支持时不能通话。 4) In the above embodiment, a charging method is agreed for each prepaid account. But the invention The policy for the prepaid server to select the charging mode is not limited to this. If the prepaid account can adopt multiple charging methods, it can be combined with the charging mode supported by the prepaid client to select a charging method supported by both. . Avoid talking when the prepaid client does not support it.
工业实用性 Industrial applicability
本发明方法可以应用于数字集群系统, 针对集群系统广泛的服务人群, 能够提供合理的预付费方式来满足不同层次的用户需要, 能够最大限度减小 计费误差。  The method of the invention can be applied to a digital trunking system, and can provide a reasonable prepaid method for a wide range of service groups of the cluster system to meet different levels of user needs, and can minimize the charging error.

Claims

权 利 要 求 书 Claim
1、 一种数字集群系统实现预付费的方法, 该系统的调度服务器中驻 留有预付费客户端, 鉴权服务器中驻留有预付费服务器, 该方法包括以下步 骤:  A method for implementing prepaid payment in a digital trunking system, wherein a prepaid client resides in a scheduling server of the system, and a prepaid server resides in the authentication server, the method comprising the following steps:
(a) 起呼终端发起集群呼叫, 调度服务器向鉴权服务器发送鉴权请求 消息, 由鉴权服务器对起呼终端和被叫群组进行鉴权;  (a) the originating terminal initiates a trunking call, and the dispatching 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, according to the prepaid information of the related user of the call, information about the prepaid account involved in charging, the terminal using the account, and the charging mode, Pre-paid client interactions residing on the scheduling server, notifying the determined information to the pre-paid client, and allocating quotas for the inactivated accounts;
(c) 所述预付费客户端根据得到的预付费账户及其配额情况、 通知调 度服务器只寻呼使用有可用配额的预付费账户的终端;  (c) the prepaid client only pages the terminal using the prepaid account with the available quota according to the obtained prepaid account and its quota condition;
(d)所述预付费客户端监控已寻呼终端的状态和配额使用情况, 对预 付费账户进行计费, 如果在所述预付费账户没有余额可使用之前, 使用该账 户的终端退出了呼叫,执行下一步,否则在该预付费账户没有余额可使用时, 再执行下一步;  (d) the prepaid client monitors the status and quota usage of the paged terminal, and charges the prepaid account, and if the prepaid account has no balance available before use, the terminal using the account exits the call. , perform the next step, otherwise execute the next step when there is no balance available for the prepaid account;
(e)所述预付费客户端通知所述预付费服务器所述预付费账户此次计 费结束, 携带该账户已使用的配额总额; 所述预付费服务器记录该配额总额 并回收未使用的配额, 预付费客户端清除该账户的信息, 结束。  (e) the prepaid client notifies the prepaid server that the prepaid account ends the billing, and carries the total quota used by the account; the prepaid server records the quota total and reclaims the unused quota. The prepaid client clears the information of the account and ends.
2、 如权利要求 1所述的方法, 其特征在于, 所述步骤(b) 中, 当涉 及的预付费账户为集团预付费账户时, 通过以下步骤完成与所述预付费服务 器的交互- 2. The method according to claim 1, wherein in the step (b), when the prepaid account involved is a group prepaid account, the interaction with the prepaid server is completed by the following steps -
(bl )所述预付费服务器确定计费涉及的各集团预付费账户、 使用账户 的终端及计费方式, 将该信息随授权消息发送到所述预付费客户端; (bl) the prepaid server determines each group prepaid account involved in charging, a terminal that uses the account, and a charging method, and sends the information to the prepaid client along with the authorization message;
(b2) 所述预付费客户端判断授权消息中的集团预付费账户是否已激 活, 如果已激活, 通知调度服务器寻呼使用这些账户的终端, 然后执行步骤 (d) , 对未激活的集团预付费账户, 执行步骤(b3) ;  (b2) the prepaid client determines whether the group prepaid account in the authorization message is activated, if activated, notifies the scheduling server to page the terminal using the accounts, and then performs step (d) to prepay the unactivated group Fee account, perform step (b3);
(b3 )所述预付费客户端向所述预付费服务器发送申请配额消息, 为未 激活的集团预付费账户申请配额; (b3) the prepaid client sends an application quota message to the prepaid server, Activated group prepaid account application quota;
(b4)所述预付费服务器收到配额请求后, 为有余额的集团预付费账户 分段分配配额, 通过分配配额消息返回给预付费客户端, 对没有余额分配的 账户则返回无余额分配的信息, 执行步骤(c) 。  (b4) after receiving the quota request, the prepaid server allocates a quota for the group prepaid account segment with the balance, returns the quota message to the prepaid client, and returns the account without the balance to the balance without the balance allocation. Information, perform step (c).
3、 如权利要求 2所述的方法, 其特征在于, 所述步骤(d) 中, 对集 团预付费账户计费时, 进一步分为以下步骤:  3. The method according to claim 2, wherein in the step (d), when charging the group prepaid account, the method further comprises the following steps:
(dl )预付费客户端监控所有已寻呼终端的状态和配额使用情况, 对一 个集团预付费账户计费时, 按使用该账户的所有终端已使用的配额累加计算 该账户已使用配额;  (dl) The prepaid client monitors the status and quota usage of all paged terminals. When charging a group prepaid account, the account has been used according to the quotas used by all terminals using the account;
(d2)如果在该集团预付费账户的当前分配配额使用完之前, 使用该账 户的所有终端退出了呼叫, 执行步骤 (e) , 否则在已使用的配额达到当前 分配配额的门限时, 所述预付费客户端再次向所述预付费服务器发送申请配 额请求;  (d2) If all the terminals using the account exit the call before the current allocation quota of the group prepaid account is used, perform step (e), otherwise, when the used quota reaches the threshold of the current allocation quota, The prepaid client sends an application quota request to the prepaid server again;
(d3)所述预付费服务器收到配额请求后, 在该账户还有余额分配时, 为其分配新的配额并通过分配配额消息返回给所述预付费客户端, 在该账户 没有余额分配时, 在返回的分配配额消息中携带无余额分配的信息;  (d3) after receiving the quota request, the prepaid server allocates a new quota to the account when there is a balance allocation, and returns to the prepaid client through the allocation quota message, when the account has no balance allocation , carrying the information of no balance allocation in the returned allocation quota message;
(d4)所述预付费客户端收到分配配额的消息后, 判断是否为该集团预 付费账户分配了新的配额, 如果是, 修改该账户的当前分配配额, 返回步骤 (dl ) , 如果没有为该账户分配新的配额, 执行下一步;  (d4) after receiving the message of allocating quota, the prepaid client determines whether a new quota is allocated for the group prepaid account, and if yes, modifying the current allocation quota of the account, returning to step (dl), if not Assign a new quota to the account and proceed to the next step;
(d5 ) 预付费客户端监控使用该集团预付费账户的终端使用完剩余配 额, 然后停止这些终端的集群业务, 执行步骤 (e) 。  (d5) The prepaid client monitors the terminal using the group's prepaid account to use the remaining quota, and then stops the cluster services of these terminals, and performs step (e).
4、 如权利要求 1所述的方法, 其特征在于, 所述步骤(b) 中, 当涉 及的预付费账户为用户预付费账户时, 通过以下步骤完成与所述预付费服务 器的交互: 所述预付费服务器确定计费涉及的用户预付费账户及其对应终 端、 计费方式, 为每一个用户预付费账户分配配额, 没有余额分配的账户则 做没有余额分配的标识, 然后将这些预付费信息返回给所述预付费客户端。  4. The method according to claim 1, wherein in the step (b), when the prepaid account involved is a user prepaid account, the interaction with the prepaid server is completed by the following steps: The prepaid server determines the user prepaid account involved in the charging and its corresponding terminal, the charging method, allocates a quota for each user prepaid account, and the account without the balance allocation does not have the identifier of the balance allocation, and then these prepaid Information is returned to the prepaid client.
5、 如权利要求 1所述的方法, 其特征在于, 所述步骤(b) 中, 当涉 及的预付费账户为用户预付费账户时, 通过以下步骤完成与所述预付费服务 器的交互: The method according to claim 1, wherein in the step (b), when the prepaid account involved is a user prepaid account, the prepaid service is completed by the following steps: Interaction:
( l )所述预付费服务器确定计费涉及的各用户预付费账户、 使用账户 的终端及计费方式, 将该信息随授权消息发送到所述预付费客户端;  (1) the prepaid server determines a prepaid account of each user involved in the charging, a terminal that uses the account, and a charging mode, and sends the information to the prepaid client along with the authorization message;
(b2)所述预付费客户端收到授权消息后, 向所述预付费服务器发送申 请配额消息, 消息中包含的所述各用户预付费账户;  (b2) after receiving the authorization message, the prepaid client sends an application quota message to the prepaid server, and the user prepaid account included in the message;
(b3 )所述预付费服务器收到申请配额消息后, 为有可分配余额的用户 预付费账户分配配额, 通过分配配额消息返回给所述预付费客户端, 对没有 可分配余额的账户则返回无余额分配的信息, 然后转入步骤(c) 。  (b3) after receiving the application quota message, the prepaid server allocates a quota for the user prepaid account with the balance that can be allocated, returns the quota message to the prepaid client, and returns the account without the balance that can be allocated. There is no balance assigned information, then go to step (c).
6、 如权利要求 1所述的方法, 其特征在于, 所述步骤(b) 中, 预付 费服务器为用户预付费账户分配配额时采用分段分配的方式, 且所述步骤 The method according to claim 1, wherein in the step (b), the prepaid fee server uses a segment allocation method when allocating quotas for the user prepaid account, and the step is
(d) 中, 对用户预付费账户计费时, 进一步分为以下步骤: In (d), when charging a user's prepaid account, it is further divided into the following steps:
(dl )预付费客户端监控所有已寻呼终端的状态和配额使用情况, 如果 在用户预付费账户的当前分配配额使用完之前, 使用该账户的终端退出了呼 口 L|, 执行步骤(e) , 否则在已使用的配额达到所述当前分配配额的门限时, 向所述预付费服务器发送申请配额请求;  (dl) The prepaid client monitors the status and quota usage of all the paging terminals. If the terminal using the account exits the call port L| before the current allocation quota of the user prepaid account is used, the execution step (e) And sending an application quota request to the prepaid server when the used quota reaches the threshold of the current allocated quota;
(d2)所述预付费服务器收到配额请求后, 判断该用户预付费账户是否 有可分配余额, 如果有, 为其分配新的配额并通过分配配额消息返回给所述 预付费客户端, 如果没有, 则在分配配额消息中携带无余额分配的信息; (d2) after receiving the quota request, the prepaid server determines whether the user prepaid account has an assignable balance, and if so, assigns a new quota to the prepaid client, if If not, the information about the balance allocation is carried in the allocation quota message;
(d3 )所述预付费客户端收到分配配额消息后, 判断是否为该用户预付 费账户分配了新的配额, 如果是, 修改该账户的当前分配配额, 返回步骤 (dl ) , 如果没有为该账户分配新的配额, 执行下一步; (d3) after receiving the allocation quota message, the prepaid client determines whether a new quota is allocated for the user prepaid account, and if yes, modifying the current allocation quota of the account, returning to step (dl), if not The account is assigned a new quota and the next step is performed;
(d4 ) 预付费客户端监控使用该用户预付费账户的终端使用完剩余配 额, 然后停止该终端的集群业务, 执行步骤(e) 。  (d4) The prepaid client monitors the terminal using the user's prepaid account to use the remaining quota, and then stops the cluster service of the terminal, and performs step (e).
7、 如权利要求 1所述的方法, 其特征在于, 所述配额以通话时长、 通话流量或呼叫次数为单位。  7. The method according to claim 1, wherein the quota is in units of call duration, call traffic, or number of calls.
8、 如权利要求 1到 6中任一权利要求所述的方法, 其特征在于, 所 述预付费服务器在预付费账户无余额供分配时, 是在分配配额消息中将为该 账户分配的配额置为上一次分配时的配额, 在第一次分配时则将其置为零。 The method according to any one of claims 1 to 6, wherein the prepaid server allocates a quota for the account in the allocation quota message when the prepaid account has no balance for distribution. Set to the quota at the time of the last allocation, and set it to zero on the first allocation.
9、 如权利要求 3或 6所述的方法, 其特征在于, 所述预付费客户端 向所述预付费服务器再次申请配额时, 在消息中携带该集团或用户预付费账 户当前已经使用的配额, 所述预付费服务器收到该消息后记录该预付费账户 已使用的配额。 The method according to claim 3 or 6, wherein, when the prepaid client applies for a quota again to the prepaid server, the message carries the quota currently used by the group or the user prepaid account. And the prepaid server records the quota used by the prepaid account after receiving the message.
10、 如权利要求 3或 6所述的方法, 其特征在于, 所述预付费服务器 再次为集团或用户预付费账户分配配额且有余额供分配时, 分配的配额为上 一次分配的配额加上此次新分配的配额的总额。  The method according to claim 3 or 6, wherein, when the prepaid server allocates quotas for the group or user prepaid accounts again and has a balance for distribution, the allocated quota is the last allocated quota plus The total amount of the newly allocated quota.
11、 如权利要求 3或 6所述的方法, 其特征在于, 所述当前分配配额 的门限是所述预付费服务器在每次分配配额时, 根据该次分配配额指定的, 并随该分配配额一起返回到所述预付费客户端的; 或者, 该配额门限是预付 费客户端根据当前分配配额计算得到的。  The method according to claim 3 or 6, wherein the threshold for the current allocation quota is specified by the prepaid server according to the allocation quota each time the quota is allocated, and the allocation quota is included Returning to the prepaid client together; or, the quota threshold is calculated by the prepaid client according to the current allocation quota.
12、 如权利要求 1所述的方法, 其特征在于, 所述步骤(b) 中, 所述 预付费服务器还判断所述调度服务器上驻留的预付费客户端是否支持此次 呼叫要使用的预付费账户的计费方式, 对不支持其计费方式的预付费账户, 不通知到所述预付费客户端或不为其分配配额。  The method according to claim 1, wherein in the step (b), the prepaid server further determines whether the prepaid client residing on the scheduling server supports the call to be used. The prepaid account is not notified to the prepaid client or is not assigned a quota for the prepaid account that does not support its billing method.
13、 如权利要求 12所述的方法, 其特征在于, 所述预付费服务器是通 过以下方式得知所述预付费客户端支持的计费方式信息的: 由系统中的预付 费客户端定时上报其支持的计费方式或在其计费方式变化时上报至所述预 付费服务器, 实现同步更新; 或者, 在所述步骤 (a) 中, 由所述调度服务 器将驻留其上的预付费客户端支持的计费方式随鉴权消息一起上报到鉴权 服务器上驻留的预付费服务器。  The method according to claim 12, wherein the prepaid server knows the charging mode information supported by the prepaid client by: periodically reporting by the prepaid client in the system The supported charging method is reported to the prepaid server when the charging mode changes, and the synchronous update is implemented; or, in the step (a), the prepaid service to be camped on by the scheduling server The charging mode supported by the client is reported to the prepaid server residing on the authentication server along with the authentication message.
14、 如权利要求 12所述的方法, 其特征在于, 所述步骤(b) 中, 当 一个预付费账户可采用多种计费方式时, 则结合使用该账户的终端所在调度 服务器上驻留的预付费客户端支持的计费方式, 从中选择一种两者都支持的 计费方式。  The method according to claim 12, wherein, in the step (b), when a prepaid account can adopt multiple charging modes, the terminal that is used in combination with the account resides on the scheduling server. The charging method supported by the prepaid client selects a charging method supported by both.
15、 如权利要求 1所述的方法, 其特征在于, 所述数字集群系统具有 漫游功能, 所述步骤 (b) 中, 预付费服务器是将计费涉及的预付费账户发 送使用该账户的终端当前所在的所有调度服务器, 各调度服务器上驻留的预 付费客户端独立地完成对收到的预付费账户的计费。 The method according to claim 1, wherein 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 the terminal using the account. Currently, all the scheduling servers, the prepaid clients residing on each scheduling server independently complete the charging of the received prepaid accounts.
16、 如权利要求 1所述的方法, 其特征在于, 所述步骤(b) 中, 当用 户同时具有多个预付费账户时, 所述预付费服务器根据预设的策略选择其中 一个预付费账户, 再按该预付费账户的计费流程进行处理。 The method according to claim 1, wherein 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 policy. Then, according to the charging process of the prepaid account.
PCT/CN2006/000919 2005-12-31 2006-05-09 A method for realizing prepayment of digital cluster system WO2007076646A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2005101356692A CN1992763B (en) 2005-12-31 2005-12-31 Method for realizing prepayment of digital trunking system
CN200510135669.2 2005-12-31

Publications (1)

Publication Number Publication Date
WO2007076646A1 true WO2007076646A1 (en) 2007-07-12

Family

ID=38214693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/000919 WO2007076646A1 (en) 2005-12-31 2006-05-09 A method for realizing prepayment of digital cluster system

Country Status (2)

Country Link
CN (1) CN1992763B (en)
WO (1) WO2007076646A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568991C (en) * 2007-09-12 2009-12-09 中兴通讯股份有限公司 In a kind of digital cluster system the prepaid user is carried out the method for paging control
CN101141712B (en) * 2007-10-10 2011-01-05 中兴通讯股份有限公司 Release method and device of prepaid owing user in digital cluster calling
CN101159927B (en) * 2007-11-08 2010-06-16 中兴通讯股份有限公司 Fee counting 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 中兴通讯股份有限公司 Value-added service (VAS) providing system and method
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418021A (en) * 2001-10-30 2003-05-14 深圳市中兴通讯股份有限公司 Modile communicatoin system and its group service realizing method
WO2004071011A1 (en) * 2003-02-10 2004-08-19 Telefonaktiebolaget Lm Ericsson (Publ) Pre-initialising a prepaid quota provision in 3g mobile networks
CN1585519A (en) * 2004-06-04 2005-02-23 中兴通讯股份有限公司 Charging information collecting and charging method of digital cluster system
CN1635726A (en) * 2003-12-29 2005-07-06 华为技术有限公司 Method for implementing CDMA20001X packet prepay service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283073C (en) * 2003-08-15 2006-11-01 华为技术有限公司 Method for realizing speical virtual network business of prepaid user
CN100372425C (en) * 2003-12-04 2008-02-27 华为技术有限公司 Method for realizing group calling roaming of group service
CN100407618C (en) * 2004-03-05 2008-07-30 中兴通讯股份有限公司 Integral service discrimination interface and integral service implementing method
CN100396110C (en) * 2004-05-21 2008-06-18 华为技术有限公司 Method for implementing service charging of closed user group

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418021A (en) * 2001-10-30 2003-05-14 深圳市中兴通讯股份有限公司 Modile communicatoin system and its group service realizing method
WO2004071011A1 (en) * 2003-02-10 2004-08-19 Telefonaktiebolaget Lm Ericsson (Publ) Pre-initialising a prepaid quota provision in 3g mobile networks
CN1635726A (en) * 2003-12-29 2005-07-06 华为技术有限公司 Method for implementing CDMA20001X packet prepay service
CN1585519A (en) * 2004-06-04 2005-02-23 中兴通讯股份有限公司 Charging information collecting and charging method of digital cluster system

Also Published As

Publication number Publication date
CN1992763B (en) 2010-12-01
CN1992763A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
WO2007076646A1 (en) A method for realizing prepayment of digital cluster system
EP1871084A1 (en) Method and system for third party charging
EP1936863B1 (en) A method for selecting/switching the charging mode and the device thereof
TW390086B (en) Method for handling parallel transactions on telephone pre-paid accounts
WO2009100669A1 (en) Charging method, control device, charging device and charging system
WO2006015542A1 (en) A method for reducing the load of tpf
JP2004517526A (en) Billing in communication systems
CN102144372A (en) Online charging correlation in IMS networks
EP3001601B1 (en) Credit control method, policy and charging enforcement function entity, and online charging system
WO2010063176A1 (en) Calling charging method based on online charging system and communication system
WO2006050669A1 (en) A process method for charging based on the packet data flow
WO2010118668A1 (en) Charging method and system for prepaid service
WO2006102836A1 (en) A method for implementing a prepaid sharing account
WO2005083933A1 (en) Method and systems for implementing data service prepayment in a cdma network
CN108401231B (en) Charging method, device and system
WO2012062076A1 (en) Prepayment service charging method and system for integrated virtual private network (ivpn)
WO2013160761A1 (en) Method and apparatus for processing charging request
CN100521720C (en) Packet prepayment service realization based on flow/time length and service quality
WO2007079624A1 (en) A method for implementing prepaid in groups for digital cluster system
WO2009155837A1 (en) Multi-flow service processing method, access service network gateway and accounting server
CN109547956B (en) Multi-service concurrent processing method
KR101006275B1 (en) Method and system for providing prepaid service using subdivision of prepaid account
WO2015109753A1 (en) Switching method and device for charging system
WO2010069184A1 (en) Method and system for realizing charging in inactive voice response (ivr) service
WO2010051771A1 (en) Method, device and system for guaranteeing key service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06741814

Country of ref document: EP

Kind code of ref document: A1