CN1277370C - A charging method of switch-in network - Google Patents

A charging method of switch-in network Download PDF

Info

Publication number
CN1277370C
CN1277370C CN 03145172 CN03145172A CN1277370C CN 1277370 C CN1277370 C CN 1277370C CN 03145172 CN03145172 CN 03145172 CN 03145172 A CN03145172 A CN 03145172A CN 1277370 C CN1277370 C CN 1277370C
Authority
CN
China
Prior art keywords
charging
user
network
different
charge information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN 03145172
Other languages
Chinese (zh)
Other versions
CN1567820A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 03145172 priority Critical patent/CN1277370C/en
Publication of CN1567820A publication Critical patent/CN1567820A/en
Application granted granted Critical
Publication of CN1277370C publication Critical patent/CN1277370C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention provides a charging method of network access. At least one access equipment is arranged in the network, and a user accesses the network by the access equipment. The charging method of network access comprises the steps: network resources that the user maybe access are divided into different charging categories according to addresses on the access equipment; rates of the different charging categories are configured; the user is respectively charged according to the configured rates when the user accesses the network. The network resources can be effectively divided, and charging resources and non-charging resources are separated by using the present invention. Different rates are adopted by the different network resources, and charging is carried out according to the user's accessing time length or flow capacity sum. Charging modes are flexible and various, and different content providers' charging requirements are better satisfied.

Description

A kind of charging method of network insertion
Technical field
The present invention relates to network access technique, be specifically related to a kind of charging method of network insertion.
Background technology
Broadband networks technical development at present is rapid, however charge mode but stagnate, traditional charge mode is as shown in Figure 1, charge information for the heterogeneous networks service is not distinguished, lack fairness, greatly limited the popularization and application in broadband, also limited the output repayment that operator drops into simultaneously; And the charging policy that ossifys has also influenced the enforcement of operator's market expansion behavior flexibly.Diversity along with the network service, operator is desirable to provide powerful, flexible, complicated commercial charge way, such as, carry out different rates at different services, so-called rate is meant concrete expense and the corresponding relation between the use amount, as 1.00 yuan/hour of Mon-Fris.
In addition, fast development along with the Internet, domestic Internet user is more and more, all kinds of schools become the access requisite capital construction in the Internet, like this, requirement to the form of chargeing and mode is also more and more, and is free because campus network often stipulates to visit the education network resource, non-education network resource charge.The foundation of distinguishing education network and non-education network is the purpose IP address of user capture, and therefore, what realistic meaning was arranged most is exactly to charge according to destination address.
At present, for user's charging way mainly is that user with an access is a charging object, add up this user during online duration or all flow summations of access resources charge, comparatively simple to the mode of chargeing, do not carry out thinner division.Which kind of as shown in Figure 1, that is to say, no matter user capture website, their charge information is unified, can not be according to the different charge information of different classes of formation of visit, it is free can't distinguishing which class website of visit, can't carry out the different classes of website of visit and collect different expenses.In a word, no matter charge by flow or charged according to time, owing to be the flow of adding up online time or message at the user all, all exist significantly not enough, mainly show: can not carry out the statistic of classification flow to the resource of user capture, can not distinguish the resource of chargeing and not chargeing, can not use different rates different resources, say further, can not adapt to different content suppliers and unify charging policy by the flow of this equipment for all.
Summary of the invention
The objective of the invention is to overcome the above-mentioned shortcoming of prior art, a kind of charging method of network insertion is provided, have an access device in the described network at least, the user inserts described network by described access device, it is characterized in that, described method comprises step:
The Internet resources that on described access device the user may be visited are divided into different charging categories by the address;
Dispose the rate of described different charging category;
When inserting described network, the user described user is chargeed respectively according to the described rate that has disposed.
Especially, the described step that is divided into different charging categories by the address at the Internet resources that on the described access device user may be visited further comprises: by identical division methods the Internet resources that the user may visit are divided into different charging categories by the address on all access devices at described network, to guarantee that all access devices are to the division unanimity of described charging category in the network.
Preferably, describedly when inserting described network, the user step that described user charges is respectively further comprised: the rate of the described different charging category of configuration on counting equipment according to the described rate that has disposed.
Especially, describedly when inserting described network, the user step that described user charges is respectively further comprised according to the described rate that has disposed:
The user inserts the charge information that counting equipment behind the described network adds up the Internet resources of the different charging category of this user capture respectively;
According to the described charge information of accumulative total, described counting equipment charges respectively to described user according to the described rate that has disposed.
Alternatively, described charge information comprises the flow and/or the duration of the Internet resources of the charging category that user capture is different.
Alternatively, described user inserts the step of charge information that counting equipment behind the described network adds up the Internet resources of the different charging category of user capture respectively and comprises:
The described access device in beginning back that charges regularly sends the charging update inquiry information to described counting equipment;
The charge information of the Internet resources of the charging category that the described user's current accessed of described access device accumulative total is different;
Described access device sends charging ending request message to described counting equipment behind the described user offline.
Preferably, described charging update inquiry information comprises the charge information of the Internet resources of the charging category that the current described user capture that has added up is different.
Preferably, described charging ending request message comprises the charge information of the Internet resources of the charging category that this described user capture that inserts end back accumulative total is different.
Particularly, described described charge information according to accumulative total, counting equipment comprises the step that described user charges respectively according to the described rate that has disposed: the charge information in the charging update inquiry information that counting equipment sends according to described access device, charge to current accumulative total charge information according to the described rate that has disposed to described user.
Particularly, described described charge information according to accumulative total, according to the described rate that has disposed the step that described user charges is respectively comprised: the charge information in the charging ending request message that counting equipment sends according to described access device, insert this according to the described rate that has disposed described user and to finish back accumulative total charge information and charge.
Alternatively, described counting equipment comprises the accounting module that is arranged in the access device or the accounting server in the described network.
Utilize the present invention, can divide Internet resources effectively, distinguish the resource of chargeing and not chargeing, and adopt different rates to charge according to the duration or the flow summation of user capture to different Internet resources, make charging way versatile and flexible, satisfy the charging demand of different content provider better.
Description of drawings
Fig. 1 is prior art is carried out charge mode to the user a schematic diagram;
Fig. 2 is the flow chart of the embodiment of the charging method of the network insertion of the present invention step of chargeing by accounting server;
Fig. 3 is the flow chart of the accounting module of embodiment by access device of the charging method of the network insertion of the present invention step of chargeing;
Fig. 4 is the reciprocal process of message between network access equipment in embodiment illustrated in fig. 2 and the accounting server;
Fig. 5 is the schematic diagram of charge mode of the charging method of network insertion of the present invention.
Embodiment
In order to make those skilled in the art person understand the present invention better, the present invention is described in further detail below in conjunction with drawings and embodiments.
In charging to the network user, some network provider may be provided with special-purpose accounting server (Radius), by accounting server the network user is chargeed, simultaneously, the charge information that causes because of the fault of accounting server in order to prevent is lost, and also charges on the local network access device.But consider economic cause, special-purpose accounting server also may be set, only on the local network access device, charge, accounting module is integrated on the network access equipment, utilize this accounting module that the network user is chargeed.Below be the workflow that example describes the inventive method in detail just in the mode of chargeing by special-purpose accounting server, in this example, do not mention on local access device charging to the network user.
With reference to Fig. 2, Fig. 2 has described the flow chart of the step that the embodiment of the charging method of network insertion of the present invention charges by accounting server:
At first, go up the Internet resources that the user may be visited in step 20 at local network access device (NAS) and be divided into different charging categories by the address;
Then, enter step 21, on accounting server, dispose the rate of different charging categories; Advance
To step 22, the user at this moment, begins request and charges by local NAS access network;
To step 23, send charging starting request message to accounting server by local NAS, this message is identical with charging starting request message of the prior art;
Enter step 24, local NAS receives accounting server and receives that the charging that sends after the above-mentioned charging starting request message begins request response message;
Then, to step 25, local NAS sends charging update request message to accounting server, and picks up counting, and described charging update request message not only comprises traditional charge information, such as, total integrated flow of this user online or always add up duration also comprises the charge information of adding up according to the different charging category of destination address, such as, the total integrated flow or the duration of the Internet resources of certain classification of user capture, the beginning of chargeing this moment;
Enter step 26, NAS adds up the flow or the duration of the Internet resources of user capture different charge classification respectively according to the different charging category of having divided, comprising: visit the charge information (flow or duration) of free Internet resources and the charge information (flow or duration) of non-free Internet resources, obtain non-free charging total flow or total duration according to these charge informations, and the flow of the Internet resources of the user capture different charge classification of accumulative total or duration and the non-free charging total flow that obtains or total duration are added in the corresponding field of charging update request message;
In order to prevent charging to be exerted an influence because of abnormal conditions make the user connect interruption, usually can be according to system's actual needs, set a suitable time interval, after the user being begun charging, promptly retransmit primary charging every such time interval and upgrade message, the charge information that has comprised the Internet resources of the different charging category of this user capture of having added up in this billing update packet continues to add up respectively according to the different charging category of having divided the flow or the duration of the Internet resources of user capture different charge classification then;
So, enter step 27, judge whether the user has rolled off the production line disconnect to connect;
If the user is not rolled off the production line in the preset time interval, wait for then after timing arrives the time interval of setting and return step 25 that local NAS sends charging update request message and also picks up counting again to accounting server;
Otherwise, enter step 28, send charging ending request message to accounting server by NAS, equally, this charging ending request message not only comprises traditional charge information, such as, total integrated flow of this user online or always add up duration, also comprise the charge information of adding up according to the different charging category of destination address, such as, the total integrated flow or the duration of the Internet resources of certain classification of user capture.
Then, enter step 29, on accounting server, the user is chargeed respectively according to the rate of the different charging category that has disposed.
In actual applications, also need usually on NAS, network access user to be chargeed simultaneously, special-purpose accounting server perhaps is not set, only on local NAS, network access user is chargeed.Its realization flow is similar with top described example, elaborates below with reference to Fig. 3:
At first, go up the Internet resources that the user may be visited in step 30 at local network access device (NAS) and be divided into different charging categories by the address;
Then, enter step 31, on the accounting module of NAS, dispose the rate of different charging categories;
Enter step 32, the user at this moment, begins request and charges by local NAS access network;
To step 33, send the beginning request message that charges to accounting module by local NAS;
Enter step 34, local NAS receives accounting module and receives that the charging that above-mentioned charging begins to send behind the request message begins request-reply message;
Then, to step 35, local NAS sends the charging update inquiry information to accounting module, and picks up counting, and described charging update inquiry information not only comprises traditional charge information, such as, total integrated flow of this user online or always add up duration also comprises the charge information of adding up according to the different charging category of destination address, such as, the total integrated flow or the duration of the Internet resources of certain classification of user capture, the beginning of chargeing this moment;
Enter step 36, NAS adds up the flow or the duration of the Internet resources of user capture different charge classification respectively according to the different charging category of having divided, comprising: visit the charge information (flow or duration) of free Internet resources and the charge information (flow or duration) of non-free Internet resources, obtain non-free charging total flow or total duration according to these charge informations, and the flow of the Internet resources of the user capture different charge classification of accumulative total or duration and the non-free charging total flow that obtains or total duration are added in the corresponding field of charging update request message;
In order to prevent charging to be exerted an influence because of abnormal conditions make the user connect interruption, usually can be according to system's actual needs, set a suitable time interval, after the user being begun charging, promptly retransmit primary charging every such time interval and upgrade message, the charge information that has comprised the Internet resources of the different charging category of this user capture of having added up in this billing update packet continues to add up respectively according to the different charging category of having divided the flow or the duration of the Internet resources of user capture different charge classification then;
So, enter step 37, judge whether the user has rolled off the production line disconnect to connect;
If the user is not rolled off the production line in the preset time interval, wait for then after timing arrives the time interval of setting and return step 35 that local NAS sends the charging update inquiry information and also picks up counting again to accounting module;
Otherwise, enter step 38, send charging ending request message to accounting module by NAS, equally, this charging ending request message not only comprises traditional charge information, such as, total integrated flow of this user online or always add up duration, also comprise the charge information of adding up according to the different charging category of destination address, such as, the total integrated flow or the duration of the Internet resources of certain classification of user capture.
Then, enter step 39, on accounting module, the user is chargeed respectively according to the rate of the different charging category that has disposed.
For the statistics and the transport process of charge information in the charging method that illustrates further network insertion of the present invention, Fig. 4 has described the reciprocal process of message between NAS and the accounting server:
1. after the user reaches the standard grade, send charging starting request message to accounting server by NAS, ask to the user charges, this charging starting request message is identical with charging starting request message of the prior art;
2. after accounting server is received the charging starting request message of NAS transmission, respond the beginning request response message of chargeing, prepare to begin charging;
3.NAS after receiving that above-mentioned charging begins request response message, send charging update request message to accounting server, not only comprise traditional charge information in this charging update request message, such as, total integrated flow of this user online or always add up duration, also comprise the charge information of adding up according to the different charging category of destination address, such as, the total integrated flow or the duration of the Internet resources of certain classification of user capture, charge this moment and begin, accounting server can charge respectively to the user according to the rate of the different charging category that has disposed according to charge information in this message;
Simultaneously, NAS begins to add up respectively according to the different charging category of having divided the flow or the duration of the Internet resources of this user capture different charge classification, and these charge informations are added in the next charging update request message;
4.NAS send new charging update request message,, can set the interval that sends charging update request message according to actual charging needs;
5. user offline, disconnect and connecting, at this moment charge and finish, NAS sends charging ending request message, the same with above-mentioned charging update request message, not only comprise traditional charge information in this charging ending request message, such as, total integrated flow of this user online or always add up duration, also comprise the charge information of adding up according to the different charging category of destination address, such as, the total integrated flow or the duration of the Internet resources of certain classification of user capture, accounting server can charge respectively to the user according to the rate of the different charging category that has disposed according to the charge information in this message.
In the above-described embodiments, send accounting server in the same message to and charge by the expansion of Radius (accounting server) agreement is placed on the charge information of each different charge classification of accumulative total, and, still transmit the total integrated flow of original online, always add up attribute such as duration, keep compatible with traditional charging way.
Be described in detail in the expansion of attribute in charging (renewal/end) request message below.
In (renewal/end) request message that charges, increase a VSA attribute, attribute type is decided to be 40, character string, length is 253 to the maximum, and each such character string is represented the charge information of a charging category.In (renewal/end) request message that charges, a plurality of such character strings can be arranged, corresponding different respectively charging categories.
The structure of character string is:
N=<classification numbering 〉;
IP=<incoming message quantity 〉;
OP=<outgoing message quantity 〉;
IF=<input flow rate 〉;
OF=<output flow 〉;
U=<I/O traffic unit 〉
" N ", " IP ", " OP ", " IF ", " OF ", " U ", "=" belong to spcial character, are used to distinguish each territory, between the territory with "; " separate, the out-of-order requirement, end of string do not have "; ".
Wherein,
<classification numbering〉the classification numbering of expression purpose IP address, span is [0,2 8-1],
<incoming message quantity 〉,<outgoing message quantity 〉,<input flow rate 〉,<output flow〉such other accumulative total message amount and flow since the expression online, span is [0,2 32-1].
<I/O traffic unit〉form by two letters, previous letter representation input flow rate unit, a back letter representation output flow unit is to prevent the situation that the input and output flow differs greatly.
" B " expression flux unit is a byte, and " K " expression flux unit is 1024 bytes, and " M " expression flux unit is 1048576 bytes.Input flow rate unit is 1024 bytes as " U=KB " expression, and output flow unit is a byte.
In order to guarantee the accuracy of flow information, flux unit is got byte (B).
For example:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|?Type=40?|?Length=50?|?String=″N=2;IP=12345678;OP=
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
123456;IF=123456;OF=1234;U=BB″|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Wherein, 40 attributes can only appear in the renewal/ending request message that charges, and can occur repeatedly, with a plurality of non-other situations of free IP address class of correspondence.
Refer again to Fig. 5, Fig. 5 is the schematic diagram of charge mode of the charging method of network insertion of the present invention:
Address according to the Internet resources of user capture is divided into four different charging categories, domestic education network is a free resource, the foreign education net, the science and technology net, telecommunications network adopts different charging rates respectively, when the above-mentioned Internet resources of user capture, divide four classifications flow or the duration of statistic of user accessing respectively, produce different classes of charge information and total integrated flow and/or always add up duration information, these charge informations are sent to accounting server, charge respectively by the charging rate of accounting server according to each classification correspondence, simultaneously can also be and/or always add up duration information and charge according to the total integrated flow of online, compatible existing charging way.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and does not break away from spirit of the present invention, for example, change a little, can divide charging category according to different ISP (ISP) and charge, perhaps divide charging category and charge, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention according to different domain names.

Claims (9)

1. the charging method of a network insertion has an access device at least in the described network, and the user inserts described network by described access device, it is characterized in that, described method comprises step:
A, the Internet resources that on described access device the user may be visited are divided into different charging categories by the address;
The rate of b, the described different charging category of configuration;
C, when inserting described network, the user described user is chargeed respectively according to the described rate that has disposed.
2. the charging method of network insertion as claimed in claim 1, it is characterized in that, described step a further comprises: by identical division methods the Internet resources that the user may visit are divided into different charging categories by the address on all access devices of described network, to guarantee that all access devices are to the division unanimity of described charging category in the network.
3. the charging method of network insertion as claimed in claim 1 is characterized in that, described step b further comprises: the rate of the described different charging category of configuration on counting equipment.
4. the charging method of network insertion as claimed in claim 3 is characterized in that, described step c further comprises:
The user inserts the charge information that counting equipment behind the described network adds up the Internet resources of the different charging category of this user capture respectively;
According to the described charge information of accumulative total, described counting equipment charges respectively to described user according to the described rate that has disposed.
5. the charging method of network insertion as claimed in claim 4 is characterized in that, described charge information comprises the flow and/or the duration of the Internet resources of the charging category that user capture is different.
6. the charging method of network insertion as claimed in claim 4 is characterized in that, described user inserts the step of charge information that counting equipment behind the described network adds up the Internet resources of the different charging category of user capture respectively and comprises:
The described access device in beginning back that charges regularly sends the charging update inquiry information to described counting equipment, and described charging update inquiry information comprises the charge information of the Internet resources of the charging category that the current described user capture that has added up is different;
The charge information of the Internet resources of the charging category that the described user's current accessed of described access device accumulative total is different;
Described access device sends charging ending request message to described counting equipment behind the described user offline, and described charging ending request message comprises the charge information of the Internet resources of the charging category that this described user capture that inserts end back accumulative total is different.
7. the charging method of network insertion as claimed in claim 6, it is characterized in that, described described charge information according to accumulative total, counting equipment comprises the step that described user charges respectively according to the described rate that has disposed: the charge information in the charging update inquiry information that counting equipment sends according to described access device, charge to current accumulative total charge information according to the described rate that has disposed to described user.
8. the charging method of network insertion as claimed in claim 6, it is characterized in that, described described charge information according to accumulative total, according to the described rate that has disposed the step that described user charges is respectively comprised: the charge information in the charging ending request message that counting equipment sends according to described access device, insert this according to the described rate that has disposed described user and to finish back accumulative total charge information and charge.
As the charging method of each described network insertion of claim 3 to 8, it is characterized in that 9, described counting equipment comprises the accounting module that is arranged in the access device or the accounting server in the described network.
CN 03145172 2003-07-01 2003-07-01 A charging method of switch-in network Expired - Lifetime CN1277370C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03145172 CN1277370C (en) 2003-07-01 2003-07-01 A charging method of switch-in network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03145172 CN1277370C (en) 2003-07-01 2003-07-01 A charging method of switch-in network

Publications (2)

Publication Number Publication Date
CN1567820A CN1567820A (en) 2005-01-19
CN1277370C true CN1277370C (en) 2006-09-27

Family

ID=34471366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03145172 Expired - Lifetime CN1277370C (en) 2003-07-01 2003-07-01 A charging method of switch-in network

Country Status (1)

Country Link
CN (1) CN1277370C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005150984A (en) * 2003-11-12 2005-06-09 Ntt Docomo Inc Charging processing method and communication apparatus
CN100369418C (en) * 2005-06-24 2008-02-13 杭州华三通信技术有限公司 Statistical method of data stream
CN101227300B (en) * 2007-12-19 2010-05-19 华为技术有限公司 Post-paying charge rate switch method and access service network gateway
CN106412868A (en) * 2016-06-16 2017-02-15 北京小米移动软件有限公司 Mobile client data business management method and device
CN106937268B (en) * 2017-05-16 2020-05-22 青岛宇硕云联信息科技有限公司 Flow control system and method
CN112491563B (en) * 2020-11-09 2022-07-01 华中师范大学 Campus network free flow calculation method, system, server and storage medium

Also Published As

Publication number Publication date
CN1567820A (en) 2005-01-19

Similar Documents

Publication Publication Date Title
CN1324490C (en) Automatic connection system and method for application
CN1158816C (en) Ordered delivery of intercepted data
CN100337229C (en) Network verifying, authorizing and accounting system and method
CN1725708A (en) Statistical method of data stream
CN1612527A (en) Data service information collecting device and charging method using same
CN1241756A (en) Method for providing web information and web information providing apparatus
CN101075980A (en) Method and system for filtering information in telecommunication system
CN101047618A (en) Method and system for acquiring network route information
CN1859154A (en) Performance managing method between household gateway and broad band remote access server
CN1852297A (en) Network data flow recognizing system and method
CN101039206A (en) Method for realizing separation of communication network and terminal service with network
CN100337432C (en) Data flow statistic method and device
CN1929482A (en) Network business identification method and device
CN1578487A (en) Method for mobile terminal switching in packet network
CN1859137A (en) Charging device and method
CN1277370C (en) A charging method of switch-in network
CN1703890A (en) Method for protocol recognition and analysis in data networks
CN101075884A (en) Method for charging service content
CN1968090A (en) Method and system for obtaining user terminal authentication information by data service center
CN1741504A (en) Flow controlling method based on application and network equipment for making applied flow control
CN1913456A (en) Method of identifing VOIP flow based on SIP protocol process performance
CN1344082A (en) Communicating system and method for determing user's fee according to service quality
CN1719769A (en) Method for classifying received data pocket in network apparatus
CN1777132A (en) Method for setting up connections for access of roaming user terminals to data networks
CN1859623A (en) Method for realizing stream media service

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20060927