CN1466307A - Fee counting method in data insertion system - Google Patents

Fee counting method in data insertion system Download PDF

Info

Publication number
CN1466307A
CN1466307A CNA021212708A CN02121270A CN1466307A CN 1466307 A CN1466307 A CN 1466307A CN A021212708 A CNA021212708 A CN A021212708A CN 02121270 A CN02121270 A CN 02121270A CN 1466307 A CN1466307 A CN 1466307A
Authority
CN
China
Prior art keywords
user
charging
message
network
different
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.)
Granted
Application number
CNA021212708A
Other languages
Chinese (zh)
Other versions
CN1214563C (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 CNB021212708A priority Critical patent/CN1214563C/en
Publication of CN1466307A publication Critical patent/CN1466307A/en
Application granted granted Critical
Publication of CN1214563C publication Critical patent/CN1214563C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This invention discloses a method for charging in a data acc system judging if the acc message is one from user to user or from user to network, if so, to determine the change sphere if its belonged user and user ID according to its source address then to determine the charge attribute of the message user interms of its target address if the message is from network to user then to determine the charge sphere of its belonged user and user ID, according to the message target address and to determine the charge attribute according to the source address of the message, and finally to determine the charge rate and its length to charge the acc message according to the used ID and attribute of the message charge, if the message is from network to network, then the charge is omitted,

Description

Charging method in a kind of data insertion system
Technical field:
The present invention relates to the charging method in the data insertion system of the communications field.
Background technology:
For the user provides service, in the data insertion system of communication network, to dock the billing operation of access customer for better.The charging method that adopts at data insertion equipment mainly contains by data traffic and charges at present, uses duration based accounting and monthly payment charging several method by the user.The monthly payment charging way does not need access device to work substantially, and charging by flow needs access device statistics user's the data message total byte length of receiving and dispatching during surfing the Net, and charges in view of the above.Chargeing by duration needs access device statistics user from authenticating to the off line duration of stopping using network of user by online, and charges in view of the above.
Concerning the user, there is a big difference with the employed Internet resources of visit wide area network server to visit local metropolitan area network server, the visit wide area network server, obviously need by more router as external server, use more Internet resources, but because traditional charging way, no matter be or charge by flow, all do not embody these difference by duration.Therefore Internet Service Provider (ISP) can only charge according to same charging way.Simultaneously, user capture provides the server of different content, can not distinctive charging.As from the foregoing, although existing charging method is fairly simple, not having to embody ISP is that realization inserts the cost that the user paid, and therefore can not utilize Internet resources to serve for the user effectively and reasonably.
Summary of the invention:
The object of the present invention is to provide a kind of charging method that in data insertion system, helps utilizing effectively and reasonably Internet resources.
For achieving the above object, the charging method in the data insertion system provided by the invention comprises:
(1) storage user's charging area and charging property in access device;
(2) set different charging rates according to different charging property;
(3) adopt corresponding charging rate to charge according to user's charging area and charging property in the message that receives.
Described step (3) further comprises the steps:
(21) access device receives the message that inserts;
(22) judge that whether this message is from user to user or from the message of user-to-network, if change step (23), otherwise change step (24);
(23) determine charging area and the user ID (ID) of user under this message according to the source address of message, determine the charging property of user under the message then according to the destination address of message, change step (25) then;
(24) judge that whether described message is the message from the network to user, if, determine charging area and the user ID (ID) of user under this message according to the destination address of message, determine the charging property of message according to the source address of message, change step (25) then, otherwise, think that described message is the message from network-to-network, ignore charging, finish billing operation then this message;
(25) determine that according to the charging property of user ID and message the length etc. of charging rate and message charges to the message that inserts, finish billing operation then.
Described method also comprises:
Set up user attribute table, in order to determine user's charging area, this table comprises following field:
User account number: the ID that is used to preserve the user;
User's fee group ID: be used to identify the affiliated charging group of different user ID, to determine the charging area of different user.
Set up the destination address attribute list, be used for determining user's charging property, this table comprises following field:
Address: the scope that is used to describe the IP address of different user;
Charging property: the charging character that is used to describe different IP addresses scope user.
Set up the scale of rate table, be used for determining user's scale of rate, this table comprises following field:
User's fee group ID: be used to describe the affiliated charging group of different user ID;
Charging property: the charging character that is used to describe different IP addresses scope user;
Charging rate: the rate that is used to describe different charge customer group ID and the common sign of charging property.
Set up the expense record sheet, be used to store user's expense record, this table comprises following field:
User account number: the ID that is used to describe user's fee;
Entry: the charging content that is used to store user's fee.
Because method of the present invention is according to the character that receives message, with message be divided into from user to user, from user-to-network, from the network to user, from four kinds of situations of network-to-network, make the present invention to adopt different rates to charge, like this according to the difference of user right and the difference of visit destination address, it is more reasonable with the utilization rate of network resource coupling to charge, and also is convenient to adopt charging way flexibly.For example: charge by flow during user capture metropolitan area server, by chargeing than cheap rate, visit international site server charges by higher rate during visit website in the country.Such charging policy has embodied the principle that user's online is paid according to different resource.Therefore the present invention is a kind of charging method of utilizing Internet resources effectively and reasonably that is beneficial to.
Description of drawings:
Fig. 1 is the embodiment flow chart of the method for the invention;
Fig. 2 uses network diagram of the present invention.
Embodiment:
The present invention is described in further detail below in conjunction with drawings and Examples.
The present invention can be applied in the diverse network connecting system, with reference to figure 2.User 1 to user N among the figure is connected with metropolitan area network or backbone network by access server, connects and Internet connection by metropolitan area network or backbone network again. when user access network, carry out user's accounting access service by access server.
The present invention is in the charging of network access equipment, charge respectively by the different usage policy of difference of access device by the data message destination address that inserts, just when the statistics user's message charges, authority according to the user, the classification of destination address, adopt different rates to add up respectively, charge respectively then.That is to say, the method of the invention is stored user's charging area and charging property in access device, set different charging rates according to different charging property, adopt corresponding charging rate to charge according to user's charging area and charging property in the message that receives then.
In concrete enforcement of the present invention, billing operation for achieving the above object need be set up user attribute table, destination address attribute list, scale of rate table and expense record sheet, wherein, user attribute table, in order to determine user's charging area, this table comprises following field:
User account number: the ID that is used to preserve the user;
User's fee group ID: be used to identify the affiliated charging group of different user ID, to determine the charging area of different user.
User attribute table is the one dimension table, can use the IP address search, and search method can adopt Hash lookup algorithm, binary search tree, CAM modes such as (Content addressable memory, Content Addressable Memories) to realize.
The destination address attribute list is used for determining user's charging property, and this table comprises following field:
Address: the scope that is used to describe the IP address of different user;
Charging property: the charging character that is used to describe different IP addresses scope user.
Destination address attribute list and routing table are similar, difference is that the lookup result of this table is not a gateway, but the charging property of destination address is searched algorithm certainly and also can be used methods such as can supporting the longest Matching Algorithm such as Ji Shu (binary tree a kind of), CAM to realize.In the reality, because the space of destination address attribute list is limited, and the IP address is a lot, can not comprise all IP addresses, thus can adopt the mask mode configuration network charging property of routing table, for example: 201.1110.0.0/16.Stipulate that simultaneously the highest the and necessary acquiescence purpose rate of setting of priority that mask is the longest that is to say the rate of necessary setting 0.0.0.0/0.Address with the user also is located in the destination address attribute list as a kind of purpose charging group simultaneously.Owing to there being the acquiescence rate, the situation of destination address charging property can not appear can not find, owing to the longest coupling of tenaculum mask,, the keeper disposes again so can simplifying the address of same network segment by mask.
The scale of rate table is used for determining user's scale of rate, and this table comprises following field:
User's fee group ID: be used to describe the affiliated charging group of different user ID;
Charging property: the charging character that is used to describe different IP addresses scope user;
Charging rate: the rate that is used to describe different charge customer group ID and the common sign of charging property.
The scale of rate table is a bivariate table,, can find and insert the concrete charging rate of message as this two-dimensional seek index according to the lookup result of user attribute table, destination address attribute list.
The expense record sheet is used to store user's expense record, and this table comprises following field:
User account number: the ID that is used to describe user's fee;
Entry: be used to store the charging content of user's fee, comprise online time stamp and flow information.
The customer charge record sheet also is a bivariate table, and its inquiry mode can be with reference to foregoing.
Therefore, when the present invention uses in reality, there is no need each user listed separately and treat with a certain discrimination, also there is no need the destination address that each is different all lists separately, the user of similar demand can be divided into same group, the destination address of like attribute is divided into same group, can reduce the requirement of system resource like this.
Fig. 1 is the embodiment flow chart of the method for the invention.According to Fig. 1, access device is four kinds with the message received by the difference of source address and destination address: the user is to user, user-to-network, and network is to the user, if network-to-network. and only be concerned about user's charging, network-to-network can be ignored so.
Data insertion equipment receives the message that inserts in step 1, because user's route also is a kind of destination address that charging property is arranged, so the user can be handled together to user and these two kinds of messages of user-to-network, therefore judge that in step 2 whether described message is from user to user or from the message of user-to-network, if, access device is at first searched user attribute table according to the source address of message in step 3, charging area and user ID with user under definite this message, behind the charging group ID and user ID that find under the user, search the destination address attribute list according to the destination address of message, determine the affiliated user's of message charging property, change step 6 then; If judge that in step 2 described message is not from user to user or from the message of user-to-network, then judge that in step 4 whether described message is the message from the network to user, if, search user attribute table in step 5 according to the destination address of message, charging group ID and user ID with user under definite this message, search the destination address attribute list according to the source address of message again, to obtain the charging property of message, change step 6 then, otherwise illustrate that the message and the user that receive are irrelevant, think that promptly described message is the message from network-to-network, therefore ignore the charging of this message, finish billing operation then; In step 6, search the scale of rate table according to user ID and destination address attribute, find the charging property of current message, determine charging rate according to the charging property of user ID and message then, according to the length of message etc. the message that inserts is chargeed again, search the expense record sheet according to user ID at last, find suitable entry, station message recording and current message time stamp and message length etc. are stored in the list item that is fit in the table.
After above-mentioned message charging flow finishes, promptly carry out normal message and transmit.If realize that from product actual conditions consider, can will transmit and destination address is searched the destination address attribute list and combined realization.

Claims (7)

1, the charging method in a kind of data insertion system comprises:
(1) storage user's charging area and charging property in access device;
(2) set different charging rates according to different charging property;
(3) adopt corresponding charging rate to charge according to user's charging area and charging property in the message that receives.
2, the charging method in the data insertion system according to claim 1 is characterized in that step (3) further comprises the steps:
(21) access device receives the message that inserts;
(22) judge that whether this message is from user to user or from the message of user-to-network, if change step (23), otherwise change step (24);
(23) determine charging area and the user ID (ID) of user under this message according to the source address of message, determine the charging property of user under the message then according to the destination address of message, change step (25) then;
(24) judge that whether described message is the message from the network to user, if, determine charging area and the user ID (ID) of user under this message according to the destination address of message, determine the charging property of message according to the source address of message, change step (25) then, otherwise, think that described message is the message from network-to-network, ignore charging, finish billing operation then this message;
(25) determine that according to the charging property of user ID and message the length etc. of charging rate and message charges to the message that inserts, finish billing operation then.
3, the charging method in the data insertion system according to claim 2 is characterized in that described method comprises to set up user attribute table, and in order to determine user's charging area, this table comprises following field:
User account number: the ID that is used to preserve the user;
User's fee group ID: be used to identify the affiliated charging group of different user ID, to determine the charging area of different user.
4, the charging method in the data insertion system according to claim 3 is characterized in that described method comprises to set up the destination address attribute list, is used for determining user's charging property, and this table comprises following field:
Address: the scope that is used to describe the IP address of different user;
Charging property: the charging character that is used to describe different IP addresses scope user.
5,, it is characterized in that described method comprises to set up the scale of rate table that be used for determining user's scale of rate, this table comprises following field according to the charging method in claim 2, the 3 or 4 described data insertion systems:
User's fee group ID: be used to describe the affiliated charging group of different user ID;
Charging property: the charging character that is used to describe different IP addresses scope user;
Charging rate: the rate that is used to describe different charge customer group ID and the common sign of charging property.
6, the charging method in the data insertion system according to claim 5 is characterized in that described method comprises to set up the expense record sheet, and be used to store user's expense record, this table comprises following field:
User account number: the ID that is used to describe user's fee;
Entry: the charging content that is used to store user's fee.
7, the charging method in the data insertion system according to claim 6, it is characterized in that step (25) comprising: search the expense record sheet according to user's fee ID, to store into the station message recording in the list item that is fit in the table, and utilize the expense record sheet that the message that inserts is chargeed.
CNB021212708A 2002-06-12 2002-06-12 Fee counting method in data insertion system Expired - Fee Related CN1214563C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021212708A CN1214563C (en) 2002-06-12 2002-06-12 Fee counting method in data insertion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021212708A CN1214563C (en) 2002-06-12 2002-06-12 Fee counting method in data insertion system

Publications (2)

Publication Number Publication Date
CN1466307A true CN1466307A (en) 2004-01-07
CN1214563C CN1214563C (en) 2005-08-10

Family

ID=34142159

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021212708A Expired - Fee Related CN1214563C (en) 2002-06-12 2002-06-12 Fee counting method in data insertion system

Country Status (1)

Country Link
CN (1) CN1214563C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397821C (en) * 2005-01-20 2008-06-25 华为技术有限公司 Packet data stream charging based processing method
CN105009613A (en) * 2013-05-15 2015-10-28 华为技术有限公司 Group charging method, gateway device, charging device, and communications system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397821C (en) * 2005-01-20 2008-06-25 华为技术有限公司 Packet data stream charging based processing method
CN105009613A (en) * 2013-05-15 2015-10-28 华为技术有限公司 Group charging method, gateway device, charging device, and communications system

Also Published As

Publication number Publication date
CN1214563C (en) 2005-08-10

Similar Documents

Publication Publication Date Title
CN1167227C (en) Method for switching in virtual local area network of the access network with mixed optical fiber and coaxial line
CN1158816C (en) Ordered delivery of intercepted data
CN1161954C (en) Multi-address communication system using electronic mail and distributing method of electronic mail thereof
CN1713593A (en) Security system and method using server security solution and network security solution
CN1177439C (en) Method of acting address analytic protocol Ethernet Switch in application
CN101080903A (en) Network node unit and method for forwarding data packets
CN101064659A (en) Data transmission system and method
CN101079845A (en) A customer service system and method based on instant communication tool
CN1564989A (en) High speed MAC address search engine
CN1855940A (en) Data processing method and system
CN1852297A (en) Network data flow recognizing system and method
CN101404650A (en) Method and system for sub-dividing network application service quality
CN1581114A (en) Analysis method for user's request
CN1179049A (en) Method and system for transmitting asynchronous transfer mode unit in asynchronous transfor mode chain road
CN101056425A (en) A multimedia message transmission method
CN101039234A (en) Method for realizing distributed DHCP relay
CN1741504A (en) Flow controlling method based on application and network equipment for making applied flow control
CN1271833C (en) Apparatus and method without IP rcombination, distribution and group
CN1214563C (en) Fee counting method in data insertion system
CN1658597A (en) High speed routing table learning and lookup
CN1210919C (en) Data flow control method in data insertion equipment
CN102868636A (en) Method and system for stream-based order preservation of multi-core network equipment packet
CN1416248A (en) Method for realizing switch in with mixed multiple users'types in Ethernet network switch in devices
CN1606305A (en) Method and apparatus for managing ip addresses and name mappings for wireless clients
CN1946035A (en) Method for managing net element data configuration and net element

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050810

Termination date: 20150612

EXPY Termination of patent right or utility model