CN103888924A - WLAN-based billing method and device - Google Patents

WLAN-based billing method and device Download PDF

Info

Publication number
CN103888924A
CN103888924A CN201210554856.4A CN201210554856A CN103888924A CN 103888924 A CN103888924 A CN 103888924A CN 201210554856 A CN201210554856 A CN 201210554856A CN 103888924 A CN103888924 A CN 103888924A
Authority
CN
China
Prior art keywords
charging
request message
user terminal
accounting server
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210554856.4A
Other languages
Chinese (zh)
Inventor
邸志宇
韦东
江海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210554856.4A priority Critical patent/CN103888924A/en
Publication of CN103888924A publication Critical patent/CN103888924A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Meter Arrangements (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a WLAN-based billing method and device. The method comprises the following steps: when the online state of at least one user terminal of a user is detected, a billing conversation record corresponding to user identification of the user is established, wherein the billing conversation record comprises the billing container of at least one online user terminal; a billing request message is sent to a billing server, wherein the billing containers of all online user terminals are carried in the billing request message; and a billing response message returned by the billing server is received. Compared with the prior art, according to the WLAN-based billing method and device provided in the invention, when a user accesses to the WLAN with different user terminals at the same time, the billing signaling interaction between the AC and the billing server can be reduced substantially, and when the performance of the billing server does not change, the number of the user terminals used by a user to access to the WLAN at the same time can be increased so as to improve the user experience.

Description

A kind of charging method and device based on WLAN
Technical field
The application relates to mobile communication technology, particularly a kind of charging method and device based on WLAN.
Background technology
Along with WLAN (wireless local area network) (Wireless Local Area Network, WLAN) fast development of technology, the construction scale of WLAN is also increasing, as the extension to traditional cable network, WLAN can provide a kind of wireless access solution of high speed, it have removable, high flexibly, can expand and install simple feature, thereby be widely used, operator also starts to dispose in a large number WLAN.
At present, operator provides the billing of services of WLAN by setting up public access controller (Access Controller, AC) and accounting server for user.First, the accounting server of core net adopts the authentication mode of account/password and (U) SIM(Subscriber Identity Module client identification module) authentication mode of card authenticates user terminal, accounting server is after authenticating user terminal and passing through, and AC and accounting server provide the billing of services based on duration or flow for user.
Fig. 1 is the realization flow figure that in prior art, accounting server carries out charging to user terminal.As shown in Figure 1, comprise the steps:
Step 101: in the time that AC detects that user terminal is reached the standard grade, described AC sets up the chargeable session record corresponding with the user terminal identification of described user terminal.
Step 102:AC sends charging request message to accounting server, wherein, carries described chargeable session record in described charging request message.
Step 103: accounting server carries out charging according to charging request message to described user terminal, and return to charge response message to AC.
Realizing in process of the present invention, inventor finds that in prior art, at least there are the following problems:
Along with the fast development of WLAN technology, the quantity of the user terminal that the number of users in WLAN and each user use is in continuous increase, in existing WLAN charging method, when same user uses different user terminal simultaneously when visited WLAN, AC and accounting server are separate for the charging flow of each user terminal, therefore, adopt existing WLAN charging method, will cause the charging signaling between AC and accounting server sharply to increase, in the case of the performance of accounting server is certain, in order to ensure that more user can visited WLAN, can only reduce the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby reduce user's experience.
Summary of the invention
In view of this, main purpose of the present invention is to provide two kinds of charging methods based on WLAN, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, experience thereby can improve user.
Another object of the present invention is to provide two kinds of message accountings based on WLAN, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, experience thereby can improve user.
For achieving the above object, technical scheme of the present invention is achieved in that
Based on a charging method of WLAN, described method comprises:
In the time detecting that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with described user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal;
Send charging request message to accounting server, wherein, in described charging request message, carry all charging containers of described online user terminal;
Receive the charge response message that described accounting server returns.
Based on a charging method of WLAN, described method comprises:
Receive the charging request message that access controller AC sends, wherein, in described charging request message, carry all charging containers of described online user terminal;
According to described charging request message, each online user terminal is carried out to charging, and return to charge response message to described AC.
A kind of access controller, comprising: detecting unit, set up unit, the first transmitting element and the first receiving element;
Described detecting unit, in the time detecting that at least one user terminal of user is reached the standard grade, to described set up unit send one set up instruction;
The described unit of setting up, for receive described set up instruction after, set up the chargeable session record corresponding with described user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; The charging container of whole described online user terminals is sent to described the first transmitting element;
Described the first transmitting element, for sending charging request message to accounting server, and notifies described the first receiving element; Wherein, in described charging request message, carry all charging containers of described online user terminal;
Described the first receiving element, the charge response message of returning for receiving described accounting server.
A kind of accounting server, comprising: the second receiving element, Charging Detail Record unit and the second transmitting element;
Described the second receiving element, the charging request message sending for receiving access controller AC, wherein, carries all charging containers of described online user terminal in described charging request message; Described charging request message is sent to described Charging Detail Record unit and described the second transmitting element;
Described Charging Detail Record unit, for carrying out charging according to described charging request message to each online user terminal;
Described the second transmitting element, for returning to charge response message to described AC.
Therefore, in technical scheme of the present invention, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message; Accounting server carries out charging according to charging request message to each online user terminal.In technical scheme of the present invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the charging method based on WLAN and device that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
Brief description of the drawings
Fig. 1 is the realization flow figure that in prior art, accounting server carries out charging to user terminal.
Fig. 2 is the first realization flow figure of the charging method based on WLAN in the present invention.
Fig. 3 is the schematic diagram of charging conversation recording in the present invention.
Fig. 4 is the schematic diagram that in the present invention, AC increases the charging container of new user terminal in chargeable session record.
Fig. 5 is that in the present invention, AC detects the passive realization flow figure rolling off the production line of online user terminal.
Fig. 6 is the realization flow figure that in the present invention, multiple user terminals of same user are reached the standard grade successively.
Fig. 7 is the realization flow figure that the multiple user terminals of same user in the present invention initiatively roll off the production line successively.
Fig. 8 is the multiple user terminals passive realization flow figure rolling off the production line successively of same user in the present invention.
Fig. 9 is the second realization flow figure of the charging method based on WLAN in the present invention.
Figure 10 is the 3rd realization flow figure of the charging method based on WLAN in the present invention.
Figure 11 is the structural representation of access controller in the present invention.
Figure 12 is the structural representation of accounting server in the present invention.
Embodiment
For problems of the prior art, the billing scheme based on WLAN after a kind of improvement is proposed in the present invention, in the time that same user uses different user terminal access WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, experience thereby can improve user.
For make technical scheme of the present invention clearer, understand, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Fig. 2 is the first realization flow figure of the charging method based on WLAN in the present invention.As shown in Figure 2, comprise the following steps:
Step 201: in the time that access controller AC detects that at least one user terminal of user is reached the standard grade, AC sets up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal.
In specific embodiments of the invention, in each charging container, can include but not limited to following attribute: chargeable session mark Acct-Session-Id, user ID User-Name, user terminal identification Calling-Station-ID, the up charging flow information Acct-Input-Octets of user terminal, descending charging flow information Acct-Output-Octets, the charging duration information Acct-Session-Time of user terminal etc. of user terminal.
In this step, in the time that AC detects that at least one user terminal of user is reached the standard grade, described AC sets up the chargeable session record corresponding with user's user ID.
Preferably, in the time that AC detects that first user terminal of user is reached the standard grade, AC sets up the chargeable session record corresponding with user's user ID, and wherein, described chargeable session record comprises the charging container of first user terminal.Fig. 3 is the schematic diagram of charging conversation recording in the present invention.As shown in Figure 3, in the time that AC detects that user terminal 1 is reached the standard grade, AC sets up the chargeable session record corresponding with user's user ID, and wherein, described chargeable session record comprises the charging container of user terminal 1.
Step 202:AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message.
In specific embodiments of the invention, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message; The follow-up charge response message of mentioning comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
Preferably, in the time that AC detects that first user terminal of user is reached the standard grade, AC sends and starts charging request message to described accounting server, wherein, carries the charging container of first user terminal in described beginning charging request message.
Preferably, in the time that AC detects at least one online user terminal, AC regularly sends Intermediate Charging ICH request message to accounting server, wherein, carries the charging container of at least one online user terminal in described Intermediate Charging ICH request message.
Preferably, in the time that AC detects that last user terminal of user rolls off the production line, AC sends and stops charging request message to accounting server, wherein, described in stop carrying in charging request message the charging container of last user terminal.
Preferably, in the time that AC detects that new user terminal is reached the standard grade, AC is before sending Intermediate Charging ICH request message to accounting server, and AC adds the charging container of new user terminal in chargeable session record.In specific embodiments of the invention, because the chargeable session record in AC is corresponding with each user's user ID, and each user may use multiple different user terminals visited WLAN simultaneously at synchronization, therefore, the record of the chargeable session in the present invention can comprise the charging container of multiple user terminals.Fig. 4 is the schematic diagram that in the present invention, AC increases the charging container of new user terminal in chargeable session record.As shown in Figure 4, in the time that AC detection user terminal 2 is reached the standard grade, AC adds the charging container of user terminal 2 in chargeable session record.
Preferably, in the time that AC detects that online user terminal initiatively rolls off the production line, AC is after accounting server sends Intermediate Charging ICH request message, and AC deletes the charging container of described online user terminal in chargeable session record.
Preferably, in the time that AC detects that online user terminal is passive and rolls off the production line, AC is after accounting server sends Intermediate Charging ICH request message, and AC deletes the charging container of described online user terminal in chargeable session record.
Fig. 5 is that in the present invention, AC detects the passive realization flow figure rolling off the production line of online user terminal.As shown in Figure 5, comprise the step of the following stated:
Step 501: when the account corresponding with online user terminal is when Sorry, your ticket has not enough value, accounting server sends and disconnects request message to AC, wherein, described in disconnect the charging container that carries described online user terminal in request message.
In specific embodiments of the invention, each user terminal of same user can be distinguished a corresponding account, can be also same user's the common corresponding account of whole user terminals.Preferably, if each user terminal of same user can be distinguished a corresponding account, when the account corresponding with online user terminal is when Sorry, your ticket has not enough value, accounting server sends and disconnects request message to AC, wherein, described in, disconnect the charging container that carries described online user terminal in request message.If the common corresponding account of whole user terminals of same user, when the account corresponding with online user terminal is when Sorry, your ticket has not enough value, accounting server sends and disconnects request message to AC, wherein, described in, disconnect the charging container of the user terminal that carries all on-line in request message.
Step 502:AC returns and disconnects response message to accounting server.
In this step, when AC receive accounting server send disconnect request message after, AC returns and disconnects response message to accounting server.
Step 203: accounting server carries out charging according to charging request message to each online user terminal, and returns to charge response message to AC.
In this step, accounting server, after receiving the charging request message of AC transmission, carries out charging according to charging request message to each online user terminal, and returns to charge response message to AC.Particularly, accounting server can carry out charging to each online user terminal according to the following attribute in the charging container of each online user terminal: chargeable session mark Acct-Session-Id, user ID User-Name, user terminal identification Calling-Station-ID, the up charging flow information Acct-Input-Octets of user terminal, descending charging flow information Acct-Output-Octets, the charging duration information Acct-Session-Time of user terminal etc. of user terminal.For example, accounting server carries out charging according to the charging container of user terminal 1 to user terminal 1; Accounting server carries out charging according to the charging container of user terminal 2 to user terminal 2, by that analogy.
In specific embodiments of the invention, same user can have multiple user terminals to reach the standard grade successively, reaches the standard grade successively as example below with three user terminals of same user, introduces in detail three realization flows that user terminal is reached the standard grade successively of same user.Fig. 6 is the realization flow figure that in the present invention, multiple user terminals of same user are reached the standard grade successively.As shown in Figure 6, comprise the step of the following stated:
Step 601: in the time that AC detects that user terminal 1 is reached the standard grade, AC sets up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of user terminal 1.
Step 602:AC sends and starts charging request message to accounting server, wherein, carries the charging container of user terminal 1 in described beginning charging request message.
Step 603:AC receives the beginning charge response message that accounting server returns.
Step 604: in the time that AC detects that user terminal 2 is reached the standard grade, AC adds the charging container of user terminal 2 in chargeable session record.
Step 605:AC sends Intermediate Charging ICH request message to accounting server, carries the charging container of user terminal 1 and user terminal 2 in described Intermediate Charging ICH request message.
Step 606:AC receives the Intermediate Charging ICH response message that accounting server returns.
Step 607: in the time that AC detects that user terminal 3 is reached the standard grade, AC adds the charging container of user terminal 3 in chargeable session record.
Step 608:AC sends Intermediate Charging ICH request message to accounting server, carries the charging container of user terminal 1, user terminal 2 and user terminal 3 in described Intermediate Charging ICH request message.
Step 609:AC receives the Intermediate Charging ICH response message that accounting server returns.
Known according to above-mentioned description, by above-mentioned step 601~609, user can use multiple user terminals visited WLAN simultaneously, in specific embodiments of the invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the charging method based on WLAN that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
In specific embodiments of the invention, same user can have multiple user terminals to roll off the production line successively, initiatively roll off the production line as example successively with three user terminals of same user below, introduce in detail three user terminals realization flow that active is rolled off the production line successively of same user.Fig. 7 is the realization flow figure that the multiple user terminals of same user in the present invention initiatively roll off the production line successively.As shown in Figure 7, comprise the step of the following stated:
Step 701: in the time that AC detects that user terminal 1 rolls off the production line, AC sends Intermediate Charging ICH request message to accounting server, in chargeable session record, delete the charging container of user terminal 1, wherein, in described Intermediate Charging ICH request message, carry the charging container of user terminal 1, user terminal 2 and user terminal 3.
Step 702:AC receives the Intermediate Charging ICH response message that accounting server returns.
Step 703: in the time that AC detects that user terminal 2 rolls off the production line, AC sends Intermediate Charging ICH request message to accounting server, the charging container of deleting user terminal 2 in chargeable session record, wherein, carries the charging container of user terminal 1 and user terminal 2 in described Intermediate Charging ICH request message.
Step 704:AC receives the Intermediate Charging ICH response message that accounting server returns.
Step 705: in the time that AC detects that user terminal 3 rolls off the production line, AC sends and stops charging request message to accounting server, in chargeable session record, delete the charging container of user terminal 3, wherein, described in stop carrying in charging request message the charging container of user terminal 3.
Step 706:AC receives the Intermediate Charging ICH response message that accounting server returns.
Known according to above-mentioned description, by above-mentioned step 701~706, multiple user terminals of user can exit WLAN successively, in specific embodiments of the invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the charging method based on WLAN that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
With three user terminals passive rolling off the production line as example successively of same user, introduce in detail three user terminals passive realization flow rolling off the production line successively of same user below.Fig. 8 is the multiple user terminals passive realization flow figure rolling off the production line successively of same user in the present invention.As shown in Figure 8, comprise the step of the following stated:
Step 801: when the account corresponding with user terminal 1 is when Sorry, your ticket has not enough value, accounting server sends and disconnects request message to AC, wherein, described in disconnect the charging container that carries user terminal 1 in request message.
Step 802:AC returns and disconnects response message to accounting server.
Step 803:AC sends Intermediate Charging ICH request message to accounting server, in chargeable session record, delete the charging container of user terminal 1, wherein, in described Intermediate Charging ICH request message, carry the charging container of user terminal 1, user terminal 2 and user terminal 3.
Step 804:AC receives the Intermediate Charging ICH response message that accounting server returns.
Step 805: when the account corresponding with user terminal 2 is when Sorry, your ticket has not enough value, accounting server sends and disconnects request message to AC, wherein, described in disconnect the charging container that carries user terminal 2 in request message.
Step 806:AC returns and disconnects response message to accounting server.
Step 807:AC sends Intermediate Charging ICH request message to accounting server, deletes the charging container of user terminal 2 in chargeable session record, wherein, carries the charging container of user terminal 2 and user terminal 3 in described Intermediate Charging ICH request message.
Step 808:AC receives the Intermediate Charging ICH response message that accounting server returns.
Step 809: when the account corresponding with user terminal 3 is when Sorry, your ticket has not enough value, accounting server sends and disconnects request message to AC, wherein, described in disconnect the charging container that carries user terminal 3 in request message.
Step 810:AC returns and disconnects response message to accounting server.
Step 811:AC sends and stops charging request message to accounting server, deletes the charging container of user terminal 3 in chargeable session record, wherein, described in stop carrying in charging request message the charging container of user terminal 2 and user terminal 3.
What step 812:AC reception accounting server returned stops charge response message.
Known according to above-mentioned description, by above-mentioned step 801~812, when the account corresponding with online user terminal is when Sorry, your ticket has not enough value, accounting server can initiatively be initiated the flow process that rolls off the production line of online user terminal.
The charging method based on WLAN that the present invention proposes, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message; Accounting server carries out charging according to charging request message to each online user terminal.In technical scheme of the present invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the charging method based on WLAN that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
Fig. 9 is the second realization flow figure of the charging method based on WLAN in the present invention.As shown in Figure 9, comprise the following steps:
Step 901: in the time detecting that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal.
In this step, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal.
Preferably, in the time that AC detects that first user terminal of user is reached the standard grade, AC sets up the chargeable session record corresponding with user's user ID, and wherein, described chargeable session record comprises the charging container of first user terminal.
Step 902: send charging request message to accounting server, wherein, carry the charging container of the user terminal of all on-line in described charging request message.
In this step, AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message.
In specific embodiments of the invention, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message; The follow-up charge response message of mentioning comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
Preferably, in the time that AC detects that first user terminal of user is reached the standard grade, AC sends and starts charging request message to accounting server, wherein, carries the charging container of first user terminal in described beginning charging request message.
Preferably, in the time that AC detects at least one online user terminal, AC regularly sends Intermediate Charging ICH request message to accounting server, wherein, carries the charging container of at least one online user terminal in described Intermediate Charging ICH request message.
Preferably, in the time that AC detects that last user terminal of user rolls off the production line, AC sends and stops charging request message to accounting server, wherein, described in stop carrying in charging request message the charging container of last user terminal.
Preferably, in the time that AC detects that new user terminal is reached the standard grade, AC is before sending Intermediate Charging ICH request message to accounting server, and AC adds the charging container of new user terminal in chargeable session record.In specific embodiments of the invention, because the chargeable session record in AC is corresponding with each user's user ID, and each user may use multiple different user terminals visited WLAN simultaneously at synchronization, therefore, the record of the chargeable session in the present invention can comprise the charging container of multiple user terminals.
Preferably, in the time that AC detects that online user terminal initiatively rolls off the production line, AC is after accounting server sends Intermediate Charging ICH request message, and AC deletes the charging container of online user terminal in chargeable session record.
Preferably, in the time that AC detects that online user terminal is passive and rolls off the production line, AC is after accounting server sends Intermediate Charging ICH request message, and AC deletes the charging container of online user terminal in chargeable session record.
Step 903: receive the charge response message that accounting server returns.
In this step, AC receives the charge response message that accounting server returns.
The charging method based on WLAN that the present invention proposes, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message; Accounting server carries out charging according to charging request message to each online user terminal.In technical scheme of the present invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the charging method based on WLAN that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
Figure 10 is the 3rd realization flow figure of the charging method based on WLAN in the present invention.As shown in figure 10, comprise the following steps:
Step 1001: receive the charging request message that access controller AC sends, wherein, carry the charging container of the user terminal of all on-line in described charging request message.
In this step, accounting server receives the charging request message that AC sends, and wherein, carries the charging container of the user terminal of all on-line in described charging request message.
In specific embodiments of the invention, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message; The follow-up charge response message of mentioning comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
Step 1002: according to charging request message, each online user terminal is carried out to charging, and return to charge response message to AC.
In this step, accounting server, after receiving the charging request message of AC transmission, carries out charging according to described charging request message to each online user terminal, and returns to charge response message to AC.Particularly, accounting server can carry out charging to each online user terminal according to the following attribute in the charging container of each online user terminal: chargeable session mark Acct-Session-Id, user ID User-Name, user terminal identification Calling-Station-ID, the up charging flow information Acct-Input-Octets of user terminal, descending charging flow information Acct-Output-Octets, the charging duration information Acct-Session-Time of user terminal etc. of user terminal.For example, accounting server carries out charging according to the charging container of user terminal 1 to user terminal 1; Accounting server carries out charging according to the charging container of user terminal 2 to user terminal 2, by that analogy.
The charging method based on WLAN that the present invention proposes, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message; Accounting server carries out charging according to charging request message to each online user terminal.In technical scheme of the present invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the charging method based on WLAN that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
Figure 11 is the structural representation of access controller in the present invention.As shown in figure 11, comprising: detecting unit 1101, set up unit 1102, the first transmitting element 1103 and the first receiving element 1104;
Described detecting unit 1101, in the time detecting that at least one user terminal of user is reached the standard grade, sends one and sets up instruction to the described unit 1102 of setting up;
The described unit 1102 of setting up, for receive described set up instruction after, set up the chargeable session record corresponding with described user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; The charging container of whole described online user terminals is sent to described the first transmitting element 1103;
Described the first transmitting element 1103, for sending charging request message to accounting server, and notifies described the first receiving element 1104; Wherein, in described charging request message, carry all charging containers of described online user terminal;
Described the first receiving element 1104, the charge response message of returning for receiving described accounting server.
Further, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message;
Described charge response message comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
Further, described detecting unit 1101, specifically in the time detecting that first user terminal of described user is reached the standard grade, sends one first to described the first transmitting element 1103 and sends instruction;
Described the first transmitting element 1103, specifically for after receiving described the first transmission instruction, sends and starts charging request message to described accounting server, wherein, carries the charging container of described first user terminal in described beginning charging request message.
Further, described detecting unit 1101, also, for when the user terminal online described in detecting at least one, sends one second to described the first transmitting element 1103 and sends instruction;
Described the first transmitting element 1103, also for after receiving described the second transmission instruction, regularly send Intermediate Charging ICH request message to described accounting server, wherein, in described Intermediate Charging ICH request message, carry the charging container of user terminal online described at least one.
Further, described detecting unit 1101, also in the time detecting that last user terminal of described user rolls off the production line, sends one the 3rd to described the first transmitting element 1103 and sends instruction;
Described the first transmitting element 1103, also, for sending after instruction receiving the described the 3rd, sends and stops charging request message to described accounting server, wherein, described in stop carrying in charging request message the charging container of described last user terminal.
Further, described access controller also comprises: adding device 1105;
Described detecting unit 1101, also in the time detecting that new user terminal is reached the standard grade, sends one to described adding device 1105 and adds instruction;
Described adding device 1105 for after receiving described interpolation instruction, before sending Intermediate Charging ICH request message to described accounting server, adds the charging container of described new user terminal in described chargeable session record.
Further, described access controller also comprises: delete cells 1106;
Described detecting unit 1101, also in the time detecting that described online user terminal initiatively rolls off the production line, after described accounting server sends Intermediate Charging ICH request message, sends a delete instruction to described delete cells 1106 described;
Described delete cells 1106 for after receiving described delete instruction, is deleted the charging container of described online user terminal in described chargeable session record.
Further, described detecting unit 1101, also in the time passive the rolling off the production line of described online user terminal being detected, after described accounting server sends Intermediate Charging ICH request message, sends a described delete instruction to described delete cells 1106 described;
Described delete cells 1106 for after receiving described delete instruction, is deleted the charging container of described online user terminal in described chargeable session record.
Further, described the first receiving element 1104, also for receiving the request message that disconnects that described accounting server sends, wherein, described in disconnect the charging container that carries described online user terminal in request message; Described in inciting somebody to action, disconnect request message and send to described the first transmitting element 1103;
Further, described the first transmitting element 1103, also for returning and disconnect response message to described accounting server.
The access controller that the present invention proposes, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message; Accounting server carries out charging according to charging request message to each online user terminal.In technical scheme of the present invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the access controller that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
Figure 12 is the structural representation of accounting server in the present invention.As shown in figure 12, comprising: the second receiving element 1201, Charging Detail Record unit 1202 and the second transmitting element 1203;
Described the second receiving element 1201, the charging request message sending for receiving access controller AC, wherein, carries all charging containers of described online user terminal in described charging request message; Described charging request message is sent to described Charging Detail Record unit 1202 and described the second transmitting element 1203;
Described Charging Detail Record unit 1202, for carrying out charging according to described charging request message to each online user terminal;
Described the second transmitting element 1203, for returning to charge response message to described AC.
Further, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message;
Described charge response message comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
Further, described the second transmitting element 1203, also when Sorry, your ticket has not enough value as the account corresponding with described online user terminal, sends and disconnects request message to described AC, wherein, described in, disconnect the charging container that carries described online user terminal in request message;
Described the second receiving element 1201, also for receiving the response message that disconnects that described AC returns.
The accounting server that the present invention proposes, in the time that AC detects that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; AC sends charging request message to accounting server, wherein, carries the charging container of the user terminal of all on-line in described charging request message; Accounting server carries out charging according to charging request message to each online user terminal.In technical scheme of the present invention, because AC sends to the charging container that can carry at least one user terminal in the charging request message of accounting server, instead of in picture prior art, a charging request message can only be carried the charge information of a user terminal, therefore, the accounting server that the present invention proposes, when same user uses different user terminal simultaneously when visited WLAN, can reduce greatly the mutual of charging signaling between AC and accounting server, in the case of the performance of accounting server is certain, can increase the quantity of the same user user terminal that visited WLAN uses simultaneously, thereby can improve user experiences.
The specific works flow process of Figure 11 and Figure 12 shown device embodiment please refer to the respective description in embodiment of the method shown in Fig. 2, repeats no more.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (24)

1. the charging method based on WLAN, is characterized in that, comprising:
In the time detecting that at least one user terminal of user is reached the standard grade, set up the chargeable session record corresponding with described user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal;
Send charging request message to accounting server, wherein, in described charging request message, carry all charging containers of described online user terminal;
Receive the charge response message that described accounting server returns.
2. method according to claim 1, is characterized in that, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message;
Described charge response message comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
3. method according to claim 2, is characterized in that, described to accounting server send charging request message comprise:
In the time detecting that first user terminal of described user is reached the standard grade, send and start charging request message to described accounting server, wherein, in described beginning charging request message, carry the charging container of described first user terminal.
4. method according to claim 2, is characterized in that, described to accounting server send charging request message comprise:
In the time of user terminal online described in detecting at least one, regularly send Intermediate Charging ICH request message to described accounting server, wherein, in described Intermediate Charging ICH request message, carry the charging container of user terminal online described at least one.
5. method according to claim 2, is characterized in that, described to accounting server send charging request message comprise:
In the time detecting that last user terminal of described user rolls off the production line, send and stop charging request message to described accounting server, wherein, described in stop carrying in charging request message the charging container of described last user terminal.
6. method according to claim 4, is characterized in that, in the time detecting that new user terminal is reached the standard grade, before sending Intermediate Charging ICH request message to described accounting server, also comprises:
In described chargeable session record, add the charging container of described new user terminal.
7. method according to claim 4, is characterized in that, in the time detecting that described online user terminal initiatively rolls off the production line,, after described accounting server sends Intermediate Charging ICH request message, also comprises described:
In described chargeable session record, delete the charging container of described online user terminal.
8. method according to claim 4, is characterized in that, in the time passive the rolling off the production line of described online user terminal being detected,, after described accounting server sends Intermediate Charging ICH request message, also comprises described:
In described chargeable session record, delete the charging container of described online user terminal.
9. method according to claim 8, is characterized in that, described in detect that passive the rolling off the production line of described online user terminal comprises:
When the account corresponding with described online user terminal is when Sorry, your ticket has not enough value, receive the request message that disconnects that described accounting server sends, wherein, described in disconnect the charging container that carries described online user terminal in request message;
Return and disconnect response message to described accounting server.
10. the charging method based on WLAN, is characterized in that, comprising:
Receive the charging request message that access controller AC sends, wherein, in described charging request message, carry all charging containers of described online user terminal;
According to described charging request message, each online user terminal is carried out to charging, and return to charge response message to described AC.
11. methods according to claim 10, is characterized in that, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message;
Described charge response message comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
12. methods according to claim 11, is characterized in that, the method also further comprises:
When the account corresponding with described online user terminal is when Sorry, your ticket has not enough value, send and disconnect request message to described AC, wherein, described in disconnect the charging container that carries described online user terminal in request message;
Receive the response message that disconnects that described AC returns.
13. 1 kinds of access controllers, is characterized in that, comprising: detecting unit, set up unit, the first transmitting element and the first receiving element;
Described detecting unit, in the time detecting that at least one user terminal of user is reached the standard grade, to described set up unit send one set up instruction;
The described unit of setting up, for receive described set up instruction after, set up the chargeable session record corresponding with described user's user ID, wherein, described chargeable session record comprises the charging container of at least one online user terminal; The charging container of whole described online user terminals is sent to described the first transmitting element;
Described the first transmitting element, for sending charging request message to accounting server, and notifies described the first receiving element; Wherein, in described charging request message, carry all charging containers of described online user terminal;
Described the first receiving element, the charge response message of returning for receiving described accounting server.
14. access controllers according to claim 13, is characterized in that, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message;
Described charge response message comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
15. access controllers according to claim 14, is characterized in that, described detecting unit, specifically in the time detecting that first user terminal of described user is reached the standard grade, sends one first to described the first transmitting element and sends instruction;
Described the first transmitting element, specifically for after receiving described the first transmission instruction, sends and starts charging request message to described accounting server, wherein, carries the charging container of described first user terminal in described beginning charging request message.
16. access controllers according to claim 14, is characterized in that, described detecting unit also, for when the user terminal online described in detecting at least one, sends one second to described the first transmitting element and sends instruction;
Described the first transmitting element, also for after receiving described the second transmission instruction, regularly send Intermediate Charging ICH request message to described accounting server, wherein, in described Intermediate Charging ICH request message, carry the charging container of user terminal online described at least one.
17. access controllers according to claim 14, is characterized in that, described detecting unit, also in the time detecting that last user terminal of described user rolls off the production line, sends one the 3rd to described the first transmitting element and sends instruction;
Described the first transmitting element, also, for sending after instruction receiving the described the 3rd, sends and stops charging request message to described accounting server, wherein, described in stop carrying in charging request message the charging container of described last user terminal.
18. access controllers according to claim 16, is characterized in that, also comprise: adding device;
Described detecting unit, also in the time detecting that new user terminal is reached the standard grade, sends one to described adding device and adds instruction;
Described adding device for after receiving described interpolation instruction, before sending Intermediate Charging ICH request message to described accounting server, adds the charging container of described new user terminal in described chargeable session record.
19. access controllers according to claim 16, is characterized in that, also comprise: delete cells;
Described detecting unit, also in the time detecting that described online user terminal initiatively rolls off the production line, after described accounting server sends Intermediate Charging ICH request message, sends a delete instruction to described delete cells;
Described delete cells for after receiving described delete instruction, is deleted the charging container of described online user terminal in described chargeable session record.
20. access controllers according to claim 16, it is characterized in that, described detecting unit, also in the time passive the rolling off the production line of described online user terminal being detected, after described accounting server sends Intermediate Charging ICH request message, send a described delete instruction to described delete cells described;
Described delete cells for after receiving described delete instruction, is deleted the charging container of described online user terminal in described chargeable session record.
21. access controllers according to claim 20, it is characterized in that, described the first receiving element, also for receiving the request message that disconnects of described accounting server transmission, wherein, described in, disconnect the charging container that carries described online user terminal in request message; Described in inciting somebody to action, disconnect request message and send to described the first transmitting element;
Described the first transmitting element, also for returning and disconnect response message to described accounting server.
22. 1 kinds of accounting servers, is characterized in that, comprising: the second receiving element, Charging Detail Record unit and the second transmitting element;
Described the second receiving element, the charging request message sending for receiving access controller AC, wherein, carries all charging containers of described online user terminal in described charging request message; Described charging request message is sent to described Charging Detail Record unit and described the second transmitting element;
Described Charging Detail Record unit, for carrying out charging according to described charging request message to each online user terminal;
Described the second transmitting element, for returning to charge response message to described AC.
23. accounting servers according to claim 22, is characterized in that, described charging request message comprises: start charging request message, Intermediate Charging ICH request message and stop charging request message;
Described charge response message comprises: start charge response message, Intermediate Charging ICH response message and stop charge response message.
24. accounting servers according to claim 23, it is characterized in that, described the second transmitting element, also when as the account corresponding with described online user terminal, Sorry, your ticket has not enough value, send and disconnect request message to described AC, wherein, described in, disconnect the charging container that carries described online user terminal in request message;
Described the second receiving element, also for receiving the response message that disconnects that described AC returns.
CN201210554856.4A 2012-12-19 2012-12-19 WLAN-based billing method and device Pending CN103888924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210554856.4A CN103888924A (en) 2012-12-19 2012-12-19 WLAN-based billing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210554856.4A CN103888924A (en) 2012-12-19 2012-12-19 WLAN-based billing method and device

Publications (1)

Publication Number Publication Date
CN103888924A true CN103888924A (en) 2014-06-25

Family

ID=50957608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210554856.4A Pending CN103888924A (en) 2012-12-19 2012-12-19 WLAN-based billing method and device

Country Status (1)

Country Link
CN (1) CN103888924A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222517A (en) * 2019-05-13 2019-09-10 深圳电通信息技术有限公司 A kind of cloud method of managing software charged on demand and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395391A (en) * 2001-07-09 2003-02-05 深圳市中兴通讯股份有限公司 Charging method for connecting wideband into network
CN1921398A (en) * 2005-08-23 2007-02-28 华为技术有限公司 Method and system for charging of communication network
CN101425909A (en) * 2008-09-28 2009-05-06 西安西电捷通无线网络通信有限公司 Method for implementing WAPI system terminal zero interference charging
CN101442793A (en) * 2008-12-30 2009-05-27 杭州华三通信技术有限公司 Access method, apparatus and system for wireless network
CN101959186A (en) * 2009-07-20 2011-01-26 中国移动通信集团山东有限公司 Log-off processing method, system and device for WLAN (Wireless Local Area Network) user
CN102714598A (en) * 2010-01-05 2012-10-03 阿尔卡特朗讯 Handling of M2M services in a communication system
CN102811432A (en) * 2011-05-31 2012-12-05 阿尔卡特朗讯 Charging method and charging device in communication network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395391A (en) * 2001-07-09 2003-02-05 深圳市中兴通讯股份有限公司 Charging method for connecting wideband into network
CN1921398A (en) * 2005-08-23 2007-02-28 华为技术有限公司 Method and system for charging of communication network
CN101425909A (en) * 2008-09-28 2009-05-06 西安西电捷通无线网络通信有限公司 Method for implementing WAPI system terminal zero interference charging
CN101442793A (en) * 2008-12-30 2009-05-27 杭州华三通信技术有限公司 Access method, apparatus and system for wireless network
CN101959186A (en) * 2009-07-20 2011-01-26 中国移动通信集团山东有限公司 Log-off processing method, system and device for WLAN (Wireless Local Area Network) user
CN102714598A (en) * 2010-01-05 2012-10-03 阿尔卡特朗讯 Handling of M2M services in a communication system
CN102811432A (en) * 2011-05-31 2012-12-05 阿尔卡特朗讯 Charging method and charging device in communication network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110222517A (en) * 2019-05-13 2019-09-10 深圳电通信息技术有限公司 A kind of cloud method of managing software charged on demand and system
CN110222517B (en) * 2019-05-13 2023-04-18 深圳电通信息技术有限公司 Cloud software management method and system for charging according to needs

Similar Documents

Publication Publication Date Title
EP2461549B1 (en) Mobile phone internet flow counting and displaying method, device, and mobile phone
EP2814276B1 (en) Access authentication method and device for wireless local area network hotspot
CN103096384A (en) Method limiting slave internet traffic and system thereof
CN107529160A (en) A kind of VoWiFi method for network access and system, terminal and wireless access points equipment
CN101645907A (en) Method and system for processing abnormal off-line of Web authenticated user
WO2013170566A1 (en) Social network data mining method for terminal user, and relevant method, device and system
CN105992245A (en) Data acquiring method, data acquiring device and data acquiring system
CN103873322B (en) A kind of information processing method and communication terminal
CN101132291A (en) Charging system, charging point and method for charging point reporting user's charging information
CN102546533B (en) Method and system through unregistered residence gateway accessing internet of things service server
CN106572114A (en) Multi-server-based portal authentication method and system, and portal server
CN103326865A (en) Network authentication method and system for making calls
CN103490935B (en) User conversation monitoring method and device
CN102291848A (en) Method and system for accessing WLAN (wireless local area network) client of saipan platform
CN103167393B (en) A kind of wireless Internet access self-help serving system and method
CN103888924A (en) WLAN-based billing method and device
KR101216037B1 (en) A packet data transmission capabilities of mobile devices whether the mount options to the database as occasion demands by selecting the data network or telephone communication network for connecting the communication system and its operational methods
CN105163335B (en) A kind of network access management method, server, mobile terminal and system
CN109963260A (en) A kind of method and device that determining business terminates
CN102333125B (en) Access-identifier-based network application realization method for integrated network
CN109818759A (en) Flow sharing method, device and the computer equipment shown based on data
CN105847286B (en) The acquisition methods and device of multimedia file
CN105657669A (en) Group communication method based on WIFI
CN103888230B (en) timer dynamic setting method and device
CN104333854B (en) WiFi charging methods and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140625