CN101877845B - WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes - Google Patents

WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes Download PDF

Info

Publication number
CN101877845B
CN101877845B CN2009102497501A CN200910249750A CN101877845B CN 101877845 B CN101877845 B CN 101877845B CN 2009102497501 A CN2009102497501 A CN 2009102497501A CN 200910249750 A CN200910249750 A CN 200910249750A CN 101877845 B CN101877845 B CN 101877845B
Authority
CN
China
Prior art keywords
sign
base station
mac address
module
station identification
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.)
Active
Application number
CN2009102497501A
Other languages
Chinese (zh)
Other versions
CN101877845A (en
Inventor
沈世锦
姚良
翁颐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN2009102497501A priority Critical patent/CN101877845B/en
Publication of CN101877845A publication Critical patent/CN101877845A/en
Application granted granted Critical
Publication of CN101877845B publication Critical patent/CN101877845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04M15/66Policy and charging system
    • 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
    • H04M15/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification

Abstract

The invention relates to a WLAN (Wireless Local Area Network) access gateway, which comprises an MAC (Media Access Control) address receiving module, a Hash algorithm module, a base station identifier reconstruction module and a base station identifier transmission module, wherein MAC address receiving module is used for receiving a self MAC address transmitted by an AP (Access Point); the Hash algorithm module is used for calculating an AP identifier corresponding to the MAC address by using a preset Hash algorithm; the base station identifier reconstruction module is used for filling the AP identifier into a base station identifier for replacing partial position of the base station identifier; and the base station identifier transmission module is used for transmitting the base station identifier to an upper layer of equipment. The invention also relates to a billing system and a method by scenes. Through carrying out the Hash calculation on the MAC address of the AP through a WAG (Wireless Access Gateway) and filling the acquired AP identifier into the base station identifier capable of being included in a call bill, the invention can ensure that the AP identifier can be supplied to the billing system along with business data when a user is in service, and the billing system can carry out billing by selecting a corresponding billing strategy according to the AP identifier so as to make that different access scenes is divided according to different APs and different billing strategies are allocated possible.

Description

WLAN IAD, minute scene charge system and method
Technical field
The present invention relates to CDMA+WLAN (being called for short C+W) fused business field, relate in particular to a kind of WLAN IAD, minute scene charge system and method.
Background technology
Along with telecommunication technology and professional development, now occurred a kind ofly with the authentication of CDMA and two kinds of access waies of WLAN and the new business that fusion is done in charging, it is professional to be called for short C+W.This business has been catered to the trend that present communications industry is unified and merge, and has also brought practical facility for the user.Yet, when carrying out and implement this business, having some new problems that originally under non-fusion state, do not have and occur, differentiation and the identification of access point (Access Point is called for short AP) they are exactly one of them.
In the C+W business, take to connect on the AP WLAN IAD (WLAN Access Gateway is called for short WAG) in the realization of WLAN business, connect the form of PDSN on the WAG, authenticate and charging by C net AAA at last.The professional WAG equipment that uses of WLAN among the C+W can not be distinguished and identification AP, can only be with the MAC Address of AP and IP address to the upper layer device transmission.In addition, because AAA system is to the charge system transmit telephone bill time, the form of ticket is more fixing, MAC Address and the IP address of AP can't be passed to charge system, also just can't distinguish and identification each AP, thereby can't realize carrying out charging by the scene at AP place.
Summary of the invention
The objective of the invention is to propose a kind of WLAN IAD, minute scene charge system and method, for the management of the AP of the WLAN business under the C+W scene provides means, and so that divide different access scenes and distribute different charging policy to become possibility according to different AP.
For achieving the above object, the invention provides a kind of WLAN IAD, comprising:
The MAC Address receiver module, self the MAC Address that be used for to receive that AP sends;
The hash algorithm module is used for using default hash algorithm to calculate AP sign corresponding to described MAC Address;
The Base Station Identification reconstructed module is used for described AP sign is inserted Base Station Identification, replaces the part position of described Base Station Identification;
Base Station Identification transmits module, is used for described Base Station Identification is transferred to upper layer device.
For achieving the above object, the invention provides a kind of minute scene charge system that comprises aforementioned WLAN IAD, also comprise:
A plurality of AP are used to the user to provide wireless access professional, and self MAC Address is sent to described WLAN IAD;
Upper layer device is used for the ticket that generation comprises the Base Station Identification of AP sign, and this ticket is sent to charge system;
Charge system is used for according to the AP sign inquiry AP sign of described ticket and the mapping table of charging policy, and according to the charging policy that inquires described ticket is carried out charging.
For achieving the above object, the invention provides a kind of minute scene charging method based on aforementioned minute scene charge system, comprising:
When the user accessed AP use business, AP sent to the WLAN IAD with the address of the MAC of self;
Described WLAN IAD uses default hash algorithm to calculate AP sign corresponding to described MAC Address, and described AP sign is inserted in the Base Station Identification, replaces the part position of described Base Station Identification;
Described WLAN IAD passes to upper layer device with described Base Station Identification;
Described upper layer device generates the ticket of the Base Station Identification that comprises the AP sign, and this ticket is sent to charge system;
Described charge system identifies the mapping table of inquiring about AP sign and charging policy according to the AP in the described ticket, and according to the charging policy that inquires described ticket is carried out charging.
Based on technique scheme, the present invention carries out Hash calculation by WAG to the MAC Address of AP, and the AP sign that obtains inserted the Base Station Identification that can comprise in ticket, thereby so that the user is when using business, can be along with business datum offers charge system with the AP sign, charge system can select corresponding charging policy to carry out charging according to the AP sign, thereby so that divides different access scenes and distribute different charging policy to become possibility according to different AP.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of the first embodiment of the present invention's minute scene charging method.
Fig. 2 is the schematic flow sheet of the pre-calculation flow process of AP sign among the second embodiment of the present invention's minute scene charging method.
Fig. 3 is the schematic flow sheet of newly-increased AP handling process among the 3rd embodiment of the present invention's minute scene charging method.
Fig. 4 is the signalling diagram of the 4th embodiment of the present invention's minute scene charging method.
Fig. 5 is the structural representation of the first embodiment of WLAN IAD of the present invention.
Fig. 6 is the structural representation of the second embodiment of WLAN IAD of the present invention.
Embodiment
Below by drawings and Examples, technical solution of the present invention done describing in further detail.
In existing C+W business, it is that AP connects WAG that the WLAN business adopts in network configuration, connects PDSN on the WAG, and PDSN sends the RADIUS message to the AAA of C net, and AAA generates ticket, and ticket is offered the form of charge system.And existing WAG itself can only get access to two information of MAC Address and IP address of AP, can't obtain other information, for example the numbering of AP.Therefore, even can carry out with different levels numbering to AP, but this number information can't be passed to WAG.Therefore charge system also can't further to AP identification, arrange corresponding charging policy.
In addition, in the RADIUS message of C net, do not exist for the field of the AP reservation of WLAN.Therefore WAG also is difficult to directly the MAC Address of AP or the IP address RADIUS message by PDSN is passed to AAA, and then AAA also can't offer charge system with MAC Address or the IP address of AP by ticket.If realize the transmission of MAC Address, then need a plurality of hardware that the C+W business relates to are carried out larger change, cost is higher.Based on this reason, the field of the present invention from existing equipment room message started with, and the information that can identify AP offers charge system.Can find out that from present equipment room message this field of Base Station Identification BSID can be used as the field of carrying AP sign (being APID).
This field of BSID is 48bits, is comprised of sid+nid+cid, and sid, nid, cid respectively have 16bits.Wherein, sid is system id, distinguishes local network, and this is the significant field of identification local network, needs to keep.Nid is network id, is distributed voluntarily by the each province, and utilization rate is lower at present.Cid is cell id, is used for distinguishing each base station.The formation of BSID sees table:
Figure G2009102497501D00041
The formation of table 1BSID
For distinguishing AP, MAC Address is the unique identification of equipment, and the length of MAC Address also is 48, wherein, front 24 is Vender-ID, also claims OUI (Organizationally Unique Identifier, organize unique identification), represent manufacturer's attribute; Rear 24 is Ethernet-ID, is also referred to as the numbering that manufacturer plans voluntarily for the product of oneself.The formation of Mac address sees table:
Figure G2009102497501D00042
The formation of table 2MAC address
In the present invention, for 48 MAC Address is put into Base Station Identification BSID, and do not affect the identification to local network, then need to use low 32 of BSID, the identification informations of low 24 carrying AP wherein, low 25~32 to be used for arranging this BSID of identification be genuine Base Station Identification or the attribute field of carrying the Base Station Identification of APID.For 48 MAC Address being inserted the low 24 of BSID, need to be 24 by the hash algorithm hash with 48 the MAC Address of AP, then fill out among low 24 of BSID (the 1st to the 3rd byte) former low 24 of replacing BSID.That is, used whole cid and taken the nid of least-significant byte.In remaining 24, the sid that 16 sid continues to use original C net is constant.It is genuine Base Station Identification or the attribute field of carrying the Base Station Identification of APID that the nid of most-significant byte inserts this BSID of identification, such as EE (16 system).Like this, the WLAN business does not take too much BSID resource, can not have influence on the base station to the normal use of BSID.
Hash to 24 from 48 and be doomed to have certain repetition rate.Even but consider larger local network, such as Shanghai, for whole AP of C+W service deployment can be above 30,000 yet.And 24 BSID can support 16777215, i.e. more than 1,000 ten thousand addresses.If consider from 1,000 ten thousand numbers, to get arbitrarily 30,000 numbers, through analog computation, find that repetition rate is about 0.2%.Actual repetition rate can hash to because of 48 Mac addresses 24 algorithm difference difference, but its order of magnitude can satisfy actual application demand substantially, within the acceptable range.For producing situation about repeating, can directly replace the AP that produces repeating data.
Based on technique scheme, the present invention is according to MAC Address, AP is numbered with default hash algorithm by WAG, obtain thus the unique AP sign of the whole network, thereby not only so that AP can better be managed, and so that charging policy can with means flexibly, refine to each AP and do different settings.
Come below by the flow process of concrete minute scene charging method that further the present invention will be described.As shown in Figure 1, the schematic flow sheet that divides the first embodiment of scene charging method for the present invention.At present embodiment, set in advance the hash algorithm module among the WAG, can carry out Hash calculation to the MAC Address of AP, in order to obtain the AP sign.Divide the scene charging flow as follows:
Step 101, use when professional when the user accesses AP, AP sends to WAG with the address of the MAC of self;
Step 102, WAG use default hash algorithm to calculate AP sign corresponding to MAC Address, and the AP sign is inserted in the Base Station Identification, replace the part position of Base Station Identification;
Step 103, WAG pass to upper layer device with Base Station Identification;
Step 104, upper layer device generate the ticket of the Base Station Identification that comprises the AP sign, and this ticket is sent to charge system;
Step 105, charge system identify the mapping table of inquiring about AP sign and charging policy according to the AP in the ticket, and according to the charging policy that inquires ticket are carried out charging.
In the present embodiment, WAG self does not need to arrange identification and the table lookup function of AP sign, but use the MAC Address of the AP that accesses according to the user in the flow process to generate the AP sign in business, consider that hash algorithm is definite, the result who then calculates by hash algorithm also is the characteristics of determining, although AP can not be directly the identification information of AP is directly sent to WAG, WAG can obtain according to the MAC Address of AP the AP sign.
The AP sign is carried in the Base Station Identification, can pass to charge system by existing equipment room message, do not need upper layer device is transformed, when sending ticket to charge system, charge system can be inquired about with the corresponding table of charging policy according to the AP sign of pre-save and be used which kind of charging policy, thereby so that divides different access scenes and distribute different charging policy to become possibility according to different AP.
As shown in Figure 2, the schematic flow sheet that divides the pre-calculation flow process of AP sign among the second embodiment of scene charging method for the present invention.Compare with a upper embodiment, increased the pre-calculation flow process of AP sign in the present embodiment, this flow process is may repeat in order to consider that AP identifies, and the pre-calculation process of carrying out specifically may further comprise the steps:
Step 201, WAG obtain the MAC Address of all AP in the local network;
Step 202, WAG use respectively default hash algorithm to calculate AP sign corresponding to MAC Address of all AP;
Step 203, WAG check whether corresponding AP sign exists the AP sign of repetition, are execution in step 204 then, otherwise execution in step 207;
Step 204, WAG judge whether the quantity of the AP sign that repeats surpasses preset value (also can be transformed to and judge that whether repetition rate is above preset value), are execution in step 206 then, otherwise execution in step 205;
Step 205, WAG send the prompting message of changing corresponding to the AP of the AP sign that repeats, and require replacing that the AP equipment that repeats occurs, and after having changed AP equipment, need to re-start pre-calculation flow process;
If the AP that step 206 repeats sign is too much or repetition rate is too high, it is unrealistic then to change AP, therefore WAG can adjust the employed hash algorithm of hash algorithm module, and execution in step 202 is carried out the pre-calculation of AP sign flow process again, hash algorithm in WAG can arrange some variable elements, then some parameters is adjusted when needing to adjust;
If all AP sign corresponding to AP of step 207 all do not exist the AP sign of repetition, the AP sign corresponding to MAC Address of then preserving all AP in the AP label table.
In the present embodiment, WAG is after having preserved the AP sign of all AP, and the hash algorithm that also will use is at present elected default hash algorithm as.WAG can report charge system by non-professional approach with all AP signs after having generated the AP sign of all local networks, carry out the design of charging policy by charge system according to the AP sign.
When charge system is safeguarded the corresponding relation of APID and charging policy, can the APID classification of Same Scene, corresponding a kind of charging policy will be belonged to.For instance, disposed 5 AP focuses by operator in certain school, its BSID is respectively: 3613EEFF0002,3613EE0509EE, 3613EE0909EE, 3613EE0901CC, 3613EE0A00C0.Other has the McDonald shop, is provided with 2 AP, and its BSID is: 3613EE010101,3613EEA1E009.The KFC shop is arranged, be provided with 2 AP, its BSID is: 3613EE05A0FF, 3613EEA5F00F.Certain airport is arranged again, be provided with 20 AP.For above each AP, in charge system, corresponding following form:
BSID (comprising APID) The position The charging group Charging regulation
3613EEFF0002 So-and-so school School 0.05 yuan of per minute
3613EE0509EE So-and-so school School 0.05 yuan of per minute
3613EE0909EE So-and-so school School 0.05 yuan of per minute
3613EE0901CC So-and-so school School 0.05 yuan of per minute
3613EE0A00C0 So-and-so school School 0.05 yuan of per minute
3613EE010101 So-and-so shop of McDonald Food and drink 0.1 yuan of per minute
3613EEA1E009 So-and-so shop of McDonald Food and drink 0.1 yuan of per minute
3613EE05A0FF So-and-so shop of KFC Food and drink 0.1 yuan of per minute
3613EEA5F00F So-and-so shop of KFC Food and drink 0.1 yuan of per minute
Slightly So-and-so airport The airport 0.3 yuan of per minute
When the user in certain school by being deployed in AP when access in this school, WAG acquires the MAC Address of AP and calculates APID, offers AAA by PDSN.The BSID that AAA will comprise APID generates corresponding ticket.Charge system checks the BSID in the bill, and tables look-up and correspond to charging group " school " and charging regulation " 0.05 yuan of per minute ", and calculates expense according to the original duration information in the AAA ticket.
By this form, can find out that operator can set charging regulation according to different scene (charging group), and is for example more cheap in the charge of " school ", slightly expensive in the charge of " food and drink ", the most expensive on the airport.Further, take school as example, can A school and B school be set to subfield scape under " school " scene, different charging policy is set.Take food and drink as example, can there be different charging policy in McDonald from KFC.Owing to can identify each AP according to BSID, the carefullyyest the most in principle can different strategies be set to each AP.The benefit of making like this is to change the in the past charging way of extensive style, according to different customer groups and use scenes segmentation, makes operator obtain better income.More insensitive to price such as the user who uses the WLAN service on the airport, can take the Freight Basis higher than other scenes.
As shown in Figure 3, the schematic flow sheet that divides newly-increased AP handling process among the 3rd embodiment of scene charging method for the present invention.Compare with a upper embodiment, the handling process when present embodiment has also increased newly-increased AP equipment comprises:
Step 301, when local network increases new AP, the MAC Address of self that WAG receives that new AP sends uses default hash algorithm to calculate the AP sign;
Step 302, WAG check whether AP sign corresponding to the MAC Address of new AP and all AP signs of having preserved exist repetition, repeat if exist, and then execution in step 303, otherwise execution in step 304;
Step 303, WAG send the prompting message of the AP that more renews;
Step 304, the AP sign that WAG is corresponding with the MAC Address of new AP are added in the AP label table.
In another embodiment, can also carry out respective handling to deletion AP, namely when local network removed AP, AP corresponding to MAC Address that WAG uses default hash algorithm to calculate the AP that is removed identified, and from the AP label table deletion AP sign corresponding with the MAC Address of the AP that is removed.
As described in Figure 4, the signalling diagram that divides the 4th embodiment of scene charging method for the present invention.Present embodiment based on a minute scene charge system embodiment comprise a plurality of AP 1, WAG 2, upper layer device (comprising PDSN 3 and AAA 4) and charge system Billing 5.Wherein AP 1 is responsible for the user provides wireless access professional, and self MAC Address is sent to WAG 2.Upper layer device can generate the ticket of the Base Station Identification that comprises the AP sign, and this ticket is sent to charge system 5.Charge system 5 is responsible for according to the mapping table of the sign of the AP in described ticket inquiry AP sign with charging policy, and according to the charging policy that inquires described ticket is carried out charging.
A minute scene charging flow can may further comprise the steps in the present embodiment:
Step 401, use when professional when the user accesses AP 1, AP 1 sends to WAG 2 with the address of the MAC of self;
Step 402, WAG 2 use default hash algorithm to calculate 24 AP signs corresponding to 48 bit mac addresses, and APID inserted the low 24 of BSID, replace BSID former low 24, and with former low 25~32 attribute fields that are set to distinguish AP sign and Base Station Identification of BSID;
The BSID that step 403, WAG 2 will comprise APID passes to the PDSN 3 on upper strata;
When step 404, PDSN 3 send the RADIUS message to the AAA 4 on upper strata, in the RADIUS message, comprise this BSID;
Step 405, AAA 4 generate the ticket that the user accesses the employed business of AP, comprise BSID in the ticket, and this ticket is sent to charge system Billing 5.
Step 406, charge system Billing 5 be according to the mapping table (perhaps be transformed to the mapping table of according to the BSID that comprised APID inquiring about BSID and charging policy) of the inquiry of the APID in ticket APID with charging policy, and according to the charging policy that inquires ticket is carried out charging.
By above-mentioned flow process, can find out that the present invention does not need large transformation to AP, WAG, AAA.WAG only need increase simple HASH algoritic module, only needs among the charge system BILLING APID to be sorted out the charging property of periodic maintenance APID according to charging property.The WAG place does not need to safeguard the MAC Address of AP and the corresponding relation of APID, when the user uses business, without the need for the process of tabling look-up, only needs to calculate APID according to simple hash algorithm.
Existing hash algorithm kind is more, and comparative maturity, only introduces a kind of demonstration example of hash algorithm here in order to illustrate that what must state is that the hash algorithm example here is example only, is not to be construed as limiting the scope of the invention.
According to the situation that present OUI distributes, the 6th byte most manufacturers all is 00, and small part manufacturer is other values (being about at present 1000: 1 ratio).Therefore, consider in this algorithm directly the 6th byte to be abandoned.Remaining 5 bytes are considered to compress by XOR, and concrete grammar is what can join flexibly.
To be a MAC Address represent example to the mapping relations of APID with upper table.The first row represents: the 1st byte of MAC kept constant, be mapped to the 1st byte of APID.The second line display: the 2nd byte that the 2nd byte and the 3 byte XORs of MAC are filled out APID.The third line represents: the 3rd byte that the 4th byte and the 5 byte XORs of MAC are filled out APID.
Following principle is arranged when filling out this table:
1, whenever walk to a rare O: implication is that the byte of APID is precious, can not stay white.
2, whenever show and an O is only arranged: implication is that certain byte of MAC Address is not utilized twice.If certain byte of MAC Address is important, it directly should be inserted the corresponding byte of APID.Utilize and to embody its importance twice, reduce on the contrary compression efficiency.
After considering this two principle, possible algorithm one has two classes, totally 25 kinds of algorithms:
(1) two byte XOR, two byte XORs, last byte are constant: 10*3/2=15 kind altogether;
(2) three byte XORs, two bytes of residue are constant: totally 10 kinds.
Corresponding rule is: minimum bit position in each group relatively originally at lower, still corresponds to than low level; Originally in high bit, still correspond to high bit.
When the calculating of carrying out APID, if use default algorithm to cause the repetition rate of APID too high, and can not reach satisfied effect, then can in 25 kinds of algorithms, select other algorithm, until no longer repeat.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
As shown in Figure 5, be the structural representation of the first embodiment of WLAN IAD of the present invention.In the present embodiment, WAG can comprise that MAC Address receiver module 21, hash algorithm module 22, Base Station Identification reconstructed module 23 and Base Station Identification transmit module 24.Wherein MAC Address receiver module 21 is used for receiving AP sends the MAC Address of self.Hash algorithm module 22 is used for using default hash algorithm to calculate AP sign corresponding to described MAC Address.Base Station Identification reconstructed module 23 is used for described AP sign is inserted Base Station Identification, replaces the part position of described Base Station Identification.Base Station Identification transmits module 24 and is used for described Base Station Identification is transferred to upper layer device.
Present embodiment carries out Hash calculation by WAG to the MAC Address of AP, and the AP sign that obtains inserted the Base Station Identification that can comprise in ticket, thereby so that the user is when using business, can be along with business datum offers charge system with the AP sign, charge system can select corresponding charging policy to carry out charging according to the AP sign, thereby so that divides different access scenes and distribute different charging policy to become possibility according to different AP.
As shown in Figure 6, be the structural representation of the second embodiment of WLAN IAD of the present invention.Compare with a upper embodiment, present embodiment also comprises the pre-calculation of AP sign module 25, AP sign checking module 26, hash algorithm adjusting module 27, AP changes reminding module 28 and the AP sign is preserved module 29.Wherein the pre-calculation of AP sign module 25 is used for obtaining the MAC Address of all AP in the local network, and AP sign corresponding to the MAC Address of using respectively described default hash algorithm to calculate all AP.AP sign checking module 26 is used for checking whether the AP sign of described correspondence exists the AP of repetition to identify, and whether the quantity of the AP that repeats sign surpasses preset value.Hash algorithm adjusting module 27 is used for adjusting the employed hash algorithm of described hash algorithm module when whether the quantity of the AP sign that repeats surpasses preset value, and triggers the pre-calculation of described AP sign module.AP changes reminding module 28 and is used for having the AP sign that repeats in the AP of described correspondence sign, and the quantity of the AP that repeats sign is sent the prompting message of changing corresponding to the AP of the AP sign that repeats when surpassing preset value.The AP sign is preserved AP sign corresponding to MAC Address that module 29 is used for preserving all AP.
In the embodiment of another WAG, can also comprise newly-increased AP processing module, be used for when local network increases new AP, self the MAC Address that receives that described new AP sends, use default hash algorithm to calculate the AP sign, and whether AP sign corresponding to the MAC Address that checks described new AP exists repetition with all AP signs of having preserved, repeat if exist, then trigger AP and change reminding module, preserve module otherwise add AP sign corresponding to MAC Address of described new AP to the AP sign.
In the embodiment of another WAG, can also comprise: deletion AP processing module, be used for when local network removes AP, AP corresponding to MAC Address that uses default hash algorithm to calculate the AP that is removed identifies, and preserves the deletion AP sign corresponding with the MAC Address of the described AP that is removed the module from described AP sign.
The present invention also provides the embodiment based on minute scene charge system of aforementioned WLAN IAD embodiment, a minute scene charge system can also comprise in the present embodiment: a plurality of AP, be used to the user to provide wireless access professional, and self MAC Address is sent to described WLAN IAD; Upper layer device is used for the ticket that generation comprises the Base Station Identification of AP sign, and this ticket is sent to charge system; Charge system is used for according to the AP sign inquiry AP sign of described ticket and the mapping table of charging policy, and according to the charging policy that inquires described ticket is carried out charging.
In the embodiment of another minute scene charge system, charge system can also comprise: the charging policy maintenance module, for AP sign corresponding to the MAC Address of all AP that receive described WLAN IAD transmission, and according to charging policy described AP sign is sorted out, and form the mapping table of described AP sign and charging policy.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (12)

1. WLAN IAD comprises:
The MAC Address receiver module, self the MAC Address that be used for to receive that AP sends;
The hash algorithm module is used for using default hash algorithm to calculate AP sign corresponding to described MAC Address;
The Base Station Identification reconstructed module is used for described AP sign is inserted Base Station Identification, replaces the part position of described Base Station Identification;
Base Station Identification transmits module, is used for described Base Station Identification is transferred to upper layer device.
2. WLAN IAD according to claim 1 wherein also comprises:
The pre-calculation of AP sign module, for the MAC Address of obtaining all AP in the local network, and AP sign corresponding to the MAC Address of using respectively described default hash algorithm to calculate all AP;
AP identifies checking module, be used for checking whether the AP sign of described correspondence exists the AP of repetition to identify, and whether the quantity of the AP that repeats sign surpasses preset value;
The hash algorithm adjusting module is used for adjusting the employed hash algorithm of described hash algorithm module when whether the quantity of the AP sign that repeats surpasses preset value, and triggers the pre-calculation of described AP sign module;
AP changes reminding module, be used for having the AP sign that repeats in the AP of described correspondence sign, and the quantity of the AP that repeats sign is sent the prompting message of changing corresponding to the AP of the AP sign that repeats when surpassing preset value;
The AP sign is preserved module, is used for preserving AP sign corresponding to MAC Address of all AP.
3. WLAN IAD according to claim 2 wherein also comprises:
Newly-increased AP processing module, be used for when local network increases new AP, self the MAC Address that receives that described new AP sends, use default hash algorithm to calculate the AP sign, and whether AP sign corresponding to the MAC Address that checks described new AP exists repetition with all AP signs of having preserved, if exist to repeat, then trigger AP and change reminding module, preserve module otherwise add AP sign corresponding to MAC Address of described new AP to the AP sign.
4. WLAN IAD according to claim 2 wherein also comprises:
Deletion AP processing module is used for when local network removes AP, AP sign corresponding to MAC Address of the AP that the default hash algorithm calculating of use is removed, and the deletion AP corresponding with the MAC Address of the described AP that is removed identifies from described AP sign preservation module.
5. minute scene charge system that comprises the arbitrary described WLAN IAD of claim 1~4 also comprises:
A plurality of AP are used to the user to provide wireless access professional, and self MAC Address is sent to described WLAN IAD;
Upper layer device is used for the ticket that generation comprises the Base Station Identification of AP sign, and this ticket is sent to charge system;
Charge system is used for according to the AP sign inquiry AP sign of described ticket and the mapping table of charging policy, and according to the charging policy that inquires described ticket is carried out charging.
6. according to claim 5 minute scene charge system, wherein said charge system also comprises:
The charging policy maintenance module, the AP corresponding for the MAC Address of all AP that receive described WLAN IAD transmission identifies, and according to charging policy described AP sign sorted out, and forms the mapping table of described AP sign and charging policy.
7. minute scene charging method based on claim 5 or 6 described minutes scene charge systems comprises:
When the user accessed AP use business, AP sent to the WLAN IAD with the address of the MAC of self;
Described WLAN IAD uses default hash algorithm to calculate AP sign corresponding to described MAC Address, and described AP sign is inserted in the Base Station Identification, replaces the part position of described Base Station Identification;
Described WLAN IAD passes to upper layer device with described Base Station Identification;
Described upper layer device generates the ticket of the Base Station Identification that comprises the AP sign, and this ticket is sent to charge system;
Described charge system identifies the mapping table of inquiring about AP sign and charging policy according to the AP in the described ticket, and according to the charging policy that inquires described ticket is carried out charging.
8. according to claim 7 minute scene charging method, the AP that wherein uses described hash algorithm to calculate is designated 24 bit-identifies, described AP is identified inserted in the Base Station Identification, the operation of replacing the part position of described Base Station Identification is specially: 24 AP sign is filled into 48 low 24 of Base Station Identification, replace the former low 24 of described Base Station Identification, and with former the 25th~32 attribute field that is set to distinguish AP sign and Base Station Identification of described Base Station Identification.
9. according to claim 7 minute scene charging method, wherein said WLAN IAD passes to upper layer device with described Base Station Identification, described upper layer device generates the ticket of the Base Station Identification that comprises the AP sign, and the operation that this ticket sends to charge system is comprised:
Described WLAN IAD passes to PDSN with described Base Station Identification;
When described PDSN sends the RADIUS message to AAA, in described RADIUS message, comprise described Base Station Identification;
Described AAA generates the ticket that the user accesses the employed business of AP, comprises described Base Station Identification in the described ticket, and described ticket is sent to charge system.
10. according to claim 7 minute scene charging method wherein also comprises the pre-calculation flow process that AP identifies, and specifically comprises:
Described WLAN IAD obtains the MAC Address of all AP in the local network, and AP sign corresponding to the MAC Address of using respectively described default hash algorithm to calculate all AP;
Described WLAN IAD checks whether the AP sign of described correspondence exists the AP sign of repetition, and whether the quantity of the AP that repeats sign surpass preset value, is then to adjust the employed hash algorithm of hash algorithm module, and re-starts the pre-calculation of AP sign flow process;
If have the AP sign that repeats in the AP of described correspondence sign, and the quantity of the AP that repeats sign is then sent the prompting message of changing corresponding to the AP of the AP sign that repeats when surpassing preset value;
If do not exist the AP of repetition to identify in the AP of described correspondence sign, then in the AP label table, preserve AP sign corresponding to MAC Address of all AP.
11. according to claim 10 minute scene charging method wherein also comprises the handling process that increases AP newly, specifically comprises:
When local network increased new AP, the MAC Address of self that described WLAN IAD receives that described new AP sends used default hash algorithm to calculate the AP sign;
Described WLAN IAD checks whether AP sign corresponding to the MAC Address of described new AP and all AP signs of having preserved exist repetition, repeat if exist, then send the prompting message of changing described new AP, otherwise AP sign corresponding to MAC Address of described new AP added in the described AP label table.
12. according to claim 10 minute scene charging method wherein also comprises the handling process of deleting AP, specifically comprises:
When local network removed AP, AP corresponding to MAC Address that described WLAN IAD uses default hash algorithm to calculate the AP that is removed identified, and from the described AP label table deletion AP sign corresponding with the MAC Address of the described AP that is removed.
CN2009102497501A 2009-12-01 2009-12-01 WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes Active CN101877845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102497501A CN101877845B (en) 2009-12-01 2009-12-01 WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102497501A CN101877845B (en) 2009-12-01 2009-12-01 WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes

Publications (2)

Publication Number Publication Date
CN101877845A CN101877845A (en) 2010-11-03
CN101877845B true CN101877845B (en) 2013-04-24

Family

ID=43020289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102497501A Active CN101877845B (en) 2009-12-01 2009-12-01 WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes

Country Status (1)

Country Link
CN (1) CN101877845B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902720B (en) * 2010-08-27 2013-07-03 中国电信股份有限公司 Wireless local area network charging method, system and access gateway
CN102695153B (en) * 2012-05-29 2015-03-04 中国联合网络通信集团有限公司 Base station clustering architecture based billing processing method, billing processing device and billing processing system
WO2014000302A1 (en) * 2012-06-30 2014-01-03 华为技术有限公司 Method and gateway for processing gateway billing
CN114338085B (en) * 2021-12-03 2022-09-13 珠海格力电器股份有限公司 Method for improving information security and networking efficiency of microgrid system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859614A (en) * 2005-12-28 2006-11-08 华为技术有限公司 Method, device and system for radio transmission
CN1867020A (en) * 2005-11-15 2006-11-22 华为技术有限公司 System and method for realizing intelligent service charging
CN101453415A (en) * 2007-11-29 2009-06-10 华为技术有限公司 Protection method, system and equipment for access network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7096030B2 (en) * 2002-06-28 2006-08-22 Nokia Corporation System and method for initiating location-dependent applications on mobile devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867020A (en) * 2005-11-15 2006-11-22 华为技术有限公司 System and method for realizing intelligent service charging
CN1859614A (en) * 2005-12-28 2006-11-08 华为技术有限公司 Method, device and system for radio transmission
CN101453415A (en) * 2007-11-29 2009-06-10 华为技术有限公司 Protection method, system and equipment for access network

Also Published As

Publication number Publication date
CN101877845A (en) 2010-11-03

Similar Documents

Publication Publication Date Title
CN105554728A (en) Cloud SIM card pool system
CN101692652B (en) Method and device for preventing interrupt of traffics in aggregation link
CN102647666B (en) Mark distributing method, group calling method and communication equipment
CN101420367B (en) P2P flow control system and method
CN108023794B (en) Equipment access control method and device
CN105007340B (en) Support the Distributed C AN network and its node address auto-allocation method of plug and play
CN101932068A (en) Method, system and device for realizing machine-to-machine service
CN101877845B (en) WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes
CN102130839B (en) Data transmission method and device
CN101986665A (en) Internet protocol version 6 (IPV6) address allocating method and system
CN102316416A (en) Access method for terminal and wireless communication network
CN106254265A (en) Process the methods, devices and systems of message
CN103518205B (en) Limit method and the automation equipment of operating right
CN108418752B (en) A kind of creation method and device of aggregation group
CN101902720B (en) Wireless local area network charging method, system and access gateway
CN103117959A (en) Resource redistribution method and information collection device and resource management device
CN108632811A (en) Wireless resource allocation method and device
CN102075386B (en) Identification method and device
CN105657014A (en) Load balancing method, system and system
CN102348190A (en) Event reporting method and equipment
CN104618992A (en) AP selection method and equipment
CN105391534A (en) Data transmission method, data receiving method, related device and system
CN104254060A (en) Policy and charging control rule issuing method and equipment
CN106506176A (en) A kind of strategy and charging regulation generation method and system
CN107635253B (en) Method and device for load balancing aiming at mobile communication user data

Legal Events

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