CN1210919C - Data flow control method in data insertion equipment - Google Patents

Data flow control method in data insertion equipment Download PDF

Info

Publication number
CN1210919C
CN1210919C CNB021212716A CN02121271A CN1210919C CN 1210919 C CN1210919 C CN 1210919C CN B021212716 A CNB021212716 A CN B021212716A CN 02121271 A CN02121271 A CN 02121271A CN 1210919 C CN1210919 C CN 1210919C
Authority
CN
China
Prior art keywords
user
flow control
message
data
network
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 - Fee Related
Application number
CNB021212716A
Other languages
Chinese (zh)
Other versions
CN1466335A (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 CNB021212716A priority Critical patent/CN1210919C/en
Publication of CN1466335A publication Critical patent/CN1466335A/en
Application granted granted Critical
Publication of CN1210919C publication Critical patent/CN1210919C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a data flow control method in data access equipment. The method first judges an access message, if the access message is a message from a user to the other user or a message from a user to a network, the flow control range and the user identification(ID) of the user to whom the message belongs are determined according to the source address of the message, and then the flow control attribute of the user to whom the message belongs is determined according to the destination address of the message; if the message is a message from the network to a user, the flow control range and the user ID of the user to whom the message belongs are determined according to the destination address of the message, and the flow control attribute of the message is determined according to the source address of the message; then data flow control parameters are determined according to the user ID and the flow control attribute of the message; finally, whether the data flow of the user is larger than a permissible maximum value or not is judged, if the data flow of the user is larger than the permissible maximum value, the message is discarded, else, the message is forwarded normally; if the message is a message from a network to the other network, the flow control of the message is ignored. The method can control the network data flow effectively and reasonably.

Description

Data flow control method in a kind of data insertion equipment
Technical field:
The present invention relates to the data flow control method in the communication system, relate in particular to the data flow control method in the data insertion equipment of the communications field.
Background technology:
In the data insertion equipment of communication system, the multi-service BAS Broadband Access Server of access, authentication, billing function for example is provided for the user, for the user provides service, usually the flow that inserts data is controlled for better.In the reality, Internet access service merchant (ISP) offers user's bandwidth along with the variation of distance is often different, in general local metropolitan area network bandwidth is often bigger, can support than higher local flowing of access, and the interface that metropolitan area network leads to Internet often bandwidth be less than the metropolitan area network internal bandwidth.And ISP is when inserting the user, if can not control customer flow respectively according to the difference of visit distance, then cause the conflict of allocated bandwidth easily, if set user bandwidth bigger, impact Wide Area Network interface easily, if but user bandwidth were set smaller, then could not make full use of the high bandwidth of metropolitan area network in the home server in visit.Simultaneously, different users also is different to the demand of bandwidth, and therefore wishing can be according to user's demand customization bandwidth.After for example a user surfs the Net, visit local metropolitan area network server and the server of visiting wide area network, for example external server is compared, there is a big difference for the Internet resources that use, visiting external server obviously needs by more router, and need at this time obviously the flow control parameter to be put smaller by wanting narrower and more valuable international interface relatively.And the user is when using local metropolitan area server to carry out operation such as video request program (VOD), the broad because the bandwidth of local metropolitan area network compares, realize that cost is also cheap, so the flow control parameter should be amplified, if the bandwidth parameter during at this time still according to the visit international site may will cause local metropolitan area network fully not use.
The flow control methods that present data insertion equipment adopts has two kinds usually, a kind of is to be unit with the account number, adopt different flow control parameters to carry out data traffic control to the user who has different rights, a kind of is to be combined as unit discharge control with data source address and destination address.The defective of above-mentioned first method is to adopt different flow control parameters when not considering same user capture difference address, and second method does not have the relation between consideration and the user account number.As seen,, can not satisfy the data traffic control that ISP and user require the demand of bandwidth, make data insertion equipment effectively not utilized although the data traffic control mode of existing method is fairly simple.
Summary of the invention
The object of the present invention is to provide a kind of data flow control method that can control effectively and reasonably the flow that inserts data in the data access device.
For achieving the above object, the data flow control method in the data insertion equipment provided by the invention comprises:
(1) storage user ID ID and Flow Control attribute in access device;
(2) set different data traffic Control Parameter according to different Flow Control attributes;
(3) access device receives the message that inserts;
(4) judge that whether described message is from user to user or from the message of user-to-network, if change step (5), otherwise change step (6);
(5) determine Flow Control scope and the user ID (ID) of user under this message according to the source address of message, determine the Flow Control attribute of user under the message then according to the destination address of message, change step (7) then;
(6) judge that whether described message is the message from the network to user, if, determine Flow Control scope and the user ID of user under this message according to the destination address of message, determine the Flow Control attribute of message according to the source address of message, change step (7) then, otherwise, think that described message is the message from network-to-network, ignore flow control, finish the flow control operation then this message;
(7) according to the Flow Control attribute specified data flow control parameter of user ID and message, judge the maximum whether network traffic data of user under this message allows greater than the data traffic Control Parameter, if greater than, abandon this message, carry out the normal forwarding of this message.
Described method also comprises:
Set up user's Flow Control attribute list, in order to determine user's data current control scope, this table comprises following field:
User account number: the ID that is used to preserve the user;
Flow Control group LD: be used to identify the affiliated Flow Control group of different user ID, to determine the Flow Control scope of different user.
Set up destination address Flow Control attribute list, be used for determining the Flow Control attribute of destination address, this table comprises following field:
Address: the scope that is used to describe the IP address of different user;
Flow Control attribute: the Flow Control character that is used to describe different IP addresses scope user.Set up the flow control parameters table, be used for determining user's concrete data traffic Control Parameter, this table comprises following field;
Flow Control group ID: be used to describe the affiliated Flow Control group of different user ID;
Flow Control attribute: the Flow Control character that is used to describe different IP addresses scope user;
Flow control parameters: the data traffic Control Parameter that is used to describe different Flow Control group ID and the common sign of Flow Control attribute.
Set up flow control meter, be used to store user's flow control record, this table comprises following field:
User account number: the ID that is used to describe the user;
Entry: be used to store user's data flow control content.
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 that the present invention can be according to the difference of user right and the difference of visit destination address, adopt different flow control parameters to carry out flow control, flow control mode is flexible.For example, the user capture this locality or the relieving of exchanging visits are not controlled, and visit metropolitan area server allows high flow capacity, visits domestic network by intermediate flow, and the international site on the access internet is pressed low discharge and controlled; Simultaneously, for high-priority users, suitably strengthen flow control parameters.Therefore, the flow control method that the present invention adopts can be controlled effectively and reasonably to network traffic data, helps protecting scarce resource, promotes making full use of rich resource.
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, user's network traffic data is controlled by access server.
The data traffic control that the present invention carries out in network access equipment, by the difference different uses different flow control strategy of access device by the data message destination address that inserts, just when the statistics user's message carries out flow control, authority according to the user, the classification of destination address adopts different flow control parameters to carry out respectively.Specifically, the present invention is by storing user ID (ID) and Flow Control attribute in access device, set different data traffic Control Parameter according to different Flow Control attributes again, adopt corresponding data traffic parameter that this user is carried out flow control according to user ID and Flow Control attribute in the message that receives then.
In concrete enforcement of the present invention, data traffic control operation for achieving the above object, need set up user's Flow Control attribute list, destination address Flow Control attribute list, Flow Control table of grading and Flow Control record sheet, wherein, user's Flow Control attribute list, in order to determine user's data current control scope, this table comprises following field:
User account number: the ID that is used to preserve the user;
Flow Control group ID: be used to identify the affiliated Flow Control group of different user ID, to determine the Flow Control scope of different user.
User's Flow Control attribute list 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.
Destination address Flow Control attribute list is used for determining the Flow Control attribute of destination address, and this table comprises following field:
Address: the scope that is used to describe the IP address of different user;
Flow Control attribute: the Flow Control character that is used to describe different IP addresses scope user.
Destination address Flow Control attribute list and routing table are similar, and difference is that the lookup result of this table is not a gateway, but the Flow Control attribute of destination address, and this table can use 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 Flow Control attribute list is limited, and user's IP address is a lot, can not comprise all IP addresses, thus can adopt the mask mode of routing table to dispose the Flow Control attribute of this table, for example: 201.1110.0.0/16.Stipulate that simultaneously the highest the and necessary acquiescence purpose flow control parameters of setting of priority that mask is the longest that is to say the flow control parameters of necessary setting 0.0.0.0/0.Address with the user also is located in the destination address Flow Control attribute list as a kind of purpose Flow Control set of properties simultaneously.Owing to there is the acquiescence flow control parameters, the situation of destination address flow control parameters attribute can not appear can not find, again because the longest coupling of tenaculum mask makes the keeper configuration to be simplified in the address of same network segment by mask.
The flow control parameters table is used for determining user's concrete data traffic Control Parameter, and this table comprises following field:
Flow Control group ID: be used to describe the affiliated Flow Control group of different user ID;
Flow Control attribute: the Flow Control character that is used to describe different IP addresses scope user;
Flow control parameters: the data traffic Control Parameter that is used to describe different Flow Control group ID and the common sign of Flow Control attribute.
The flow control parameters table is a bivariate table,, can find and insert the concrete flow control parameters of message as this two-dimensional seek index according to the lookup result of user's Flow Control attribute list, destination address Flow Control attribute list.
Flow control meter is used to store user's flow control record, and this table comprises following field:
User account number: the ID that is used to describe the user;
Entry: be used to store user's data flow control content.
Flow control meter also is a bivariate table, and its inquiry mode can be with reference to foregoing.
Based on above-mentioned table, when the present invention uses in reality, the user of similar demand can be divided into same group, the destination address with similar Flow Control attribute is divided into same group, can reduce the requirement to 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 user, network-to-network.If only be concerned about and subscriber-related flow control that the data traffic of 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 the Flow Control attribute 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's Flow Control attribute list according to the source address of message in step 3, Flow Control scope and user ID with user under definite this message, after Flow Control Property ID that finds user under the message and user ID, search destination address Flow Control attribute list according to the destination address of message, determine the affiliated user's of message Flow Control attribute, 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's Flow Control attribute list in step 5 according to the destination address of message, Flow Control Property ID and user ID with user under definite this message, search destination address Flow Control attribute list according to the source address of message again, to obtain the Flow Control attribute 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, can ignore this message is carried out flow control; In step 6, search the flow control parameters table according to user ID and destination address Flow Control attribute, find the flow control parameter of current message, search user's Flow Control table according to user ID at last, find suitable item, the flow control result of user under this message and the result in the table are carried out comprehensive statistics, statistics deposits this list item in, judge the maximum whether user's data flow under this message allows greater than the flow control parameter then, if greater than, then abandon this message in step 7, otherwise at normal this message of transmitting of step 8.
Above-mentioned steps 2 judges that whether described message is from user to user or from the message of user-to-network, searching user's Flow Control attribute list by the source address of using message realizes, if in user's Flow Control attribute list, can not find out the source address of message, think that then described message is for from user to user or from the message of user-to-network.
Above-mentioned steps 4 judges that whether described message is the message from the network to user, search the realization of user's Flow Control attribute list by the source address and the destination address that use message, if in user's Flow Control attribute list, can not find out the source address and the destination address of message, think that then described message is the message from network-to-network.

Claims (8)

1. the data flow control method in the data insertion equipment comprises:
(1) storage user ID ID and Flow Control attribute in access device:
(2) set different data traffic Control Parameter according to different Flow Control attributes;
(3) access device receives the message that inserts;
(4) judge that whether described message is from user to user or from the message of user-to-network, if change step (5), otherwise change step (6);
(5) determine Flow Control scope and the user ID ID of user under this message according to the source address of message, determine the Flow Control attribute of user under the message then according to the destination address of message, change step (7) then;
(6) judge that whether described message is the message from the network to user, if, determine Flow Control scope and the user ID of user under this message according to the destination address of message, determine the Flow Control attribute of message according to the source address of message, change step (7) then, otherwise, think that described message is the message from network-to-network, ignore flow control, finish the flow control operation then this message;
(7) according to the Flow Control attribute specified data flow control parameter of user ID and message, judge the maximum whether network traffic data of user under this message allows greater than the data traffic Control Parameter, if greater than, abandon this message, carry out the normal forwarding of this message.
2. the data flow control method in the data insertion equipment according to claim 1 is characterized in that described method comprises to set up user's Flow Control attribute list, and in order to determine user's data current control scope, this table comprises following field:
User account number: the LD that is used to preserve the user;
Flow Control group LD: be used to identify the affiliated Flow Control group of different user 1D, to determine the Flow Control scope of different user.
3. the data flow control method in the data insertion equipment according to claim 2 is characterized in that described method comprises to set up destination address Flow Control attribute list, is used for determining the Flow Control attribute of destination address, and this table comprises following field:
Address: the scope that is used to describe the IP address of different user;
Flow Control attribute: the Flow Control character that is used to describe different IP addresses scope user.
4. the data flow control method in the data insertion equipment according to claim 3 is characterized in that described method comprises to set up the flow control parameters table, is used for determining user's concrete data traffic Control Parameter, and this table comprises following field:
Flow Control group 1D: be used to describe the affiliated Flow Control group of different user ID;
Flow Control attribute: the Flow Control character that is used to describe different IP addresses scope user;
Flow control parameters: the data traffic Control Parameter that is used to describe different Flow Control group ID and the common sign of Flow Control attribute.
5. the data flow control method in the data insertion equipment according to claim 4 is characterized in that described method comprises to set up flow control meter, and be used to store user's flow control record, this table comprises following field:
User account number: the ID that is used to describe the user;
Entry: be used to store user's data flow control content.
6. the data flow control method in the data insertion equipment according to claim 5, it is characterized in that step (7) comprising: search flow control meter according to user ID, user's flow control record is stored in the list item that is fit in the table, utilize this table that user's data flow under inserting message is controlled.
7. according to the data flow control method in claim 3,4, the 5 or 6 described data insertion equipments, it is characterized in that step (4) judges that whether described message is from user to user or from the message of user-to-network, searching user's Flow Control attribute list by the source address of using message realizes, if in user's Flow Control attribute list, can not find out the source address of message, think that then described message is for from user to user or from the message of user-to-network.
8. the data flow control method in the data insertion equipment according to claim 3, it is characterized in that step (6) judges that whether described message is the message from the network to user, search the realization of user's Flow Control attribute list by the source address and the destination address that use message, if in user's Flow Control attribute list, can not find out the source address and the destination address of message, think that then described message is the message from network-to-network.
CNB021212716A 2002-06-12 2002-06-12 Data flow control method in data insertion equipment Expired - Fee Related CN1210919C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021212716A CN1210919C (en) 2002-06-12 2002-06-12 Data flow control method in data insertion equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021212716A CN1210919C (en) 2002-06-12 2002-06-12 Data flow control method in data insertion equipment

Publications (2)

Publication Number Publication Date
CN1466335A CN1466335A (en) 2004-01-07
CN1210919C true CN1210919C (en) 2005-07-13

Family

ID=34142160

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021212716A Expired - Fee Related CN1210919C (en) 2002-06-12 2002-06-12 Data flow control method in data insertion equipment

Country Status (1)

Country Link
CN (1) CN1210919C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370771C (en) * 2004-04-21 2008-02-20 华为技术有限公司 Method of flow control in communication system
CN100466603C (en) * 2005-05-17 2009-03-04 华为技术有限公司 Method and apparatus for shaping transmission service stream in network
CN101202696B (en) * 2006-12-11 2010-11-03 华为技术有限公司 Method and apparatus for flow control of load among intraoffice across gateways
CN101197836B (en) * 2007-12-20 2010-08-18 华为技术有限公司 Data communication control method and data communication control device
EP2761824B1 (en) * 2011-09-28 2017-08-30 Telefonaktiebolaget LM Ericsson (publ) Centralized data plane flow control
CN103746928A (en) * 2013-12-30 2014-04-23 迈普通信技术股份有限公司 Method and system for controlling flow rate by utilizing access control list
CN107612768B (en) * 2017-08-24 2020-09-25 杭州安恒信息技术股份有限公司 Windows-based local database access flow acquisition method and system
CN111757041B (en) * 2020-06-17 2022-01-07 许继集团有限公司 Network video conference flow identification method and device

Also Published As

Publication number Publication date
CN1466335A (en) 2004-01-07

Similar Documents

Publication Publication Date Title
CN1177439C (en) Method of acting address analytic protocol Ethernet Switch in application
CN101827134B (en) Automatically releasing resources reserved for subscriber devices within a broadband access network
US8001254B1 (en) Translating switch and method
CN1260907C (en) Method for moving node distribution internet protocol address in CDMA system
US20130254779A1 (en) Communication interface selection on multi-homed devices
EP1557977A1 (en) A method for adding devices to management system
CN1773936A (en) Method and system for determining available of target of computer network communication
CN1713593A (en) Security system and method using server security solution and network security solution
CN1505338A (en) User identifying technique on networks having different address systems
CN1255975C (en) Method for selecting route for grouping in route apparatus
CN1194502C (en) System and method for managing access authority of network users
CN101030980A (en) Wide-band terminal identifier based on Ethernet and its identifying method
CN101404650A (en) Method and system for sub-dividing network application service quality
CN1210919C (en) Data flow control method in data insertion equipment
CN1852187A (en) Method for realizing access-in management of on-line apparatus
CN1575581A (en) Method and device for mapping network headers onto mpls headers in bearer architectures
CN107070790B (en) Route learning method and routing equipment
CN1703890A (en) Method for protocol recognition and analysis in data networks
US20120189022A1 (en) User access method, system, access server, and access device
CN1152516C (en) Method for finding out IP network node
CN1140155C (en) Local and roam supplying method of mobile terminal
CN1208927C (en) Control method for connecting network based on proxy mode in network equipment
CN101057456A (en) Method, device, software for determining a need
CN1859420A (en) Device and method for obtaining IPV6 prefix
CN1914887A (en) Automatic prefix allocation to IPV6 communication network equipment

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: 20050713

Termination date: 20150612

EXPY Termination of patent right or utility model