CN1210919C - Data flow control method in data insertion equipment - Google Patents
Data flow control method in data insertion equipment Download PDFInfo
- 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
- flow control
- user
- message
- network
- data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000003780 insertion Methods 0.000 title description 8
- 230000037431 insertion Effects 0.000 title description 8
- 238000004891 communication Methods 0.000 description 3
- 230000015654 memory Effects 0.000 description 2
- 238000011217 control strategy Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
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
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)
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)
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 |
US9848355B2 (en) * | 2011-09-28 | 2017-12-19 | 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 | 杭州安恒信息技术股份有限公司 | Method and system for accessing traffic based on Windows local database |
CN111757041B (en) * | 2020-06-17 | 2022-01-07 | 许继集团有限公司 | Network video conference flow identification method and device |
-
2002
- 2002-06-12 CN CNB021212716A patent/CN1210919C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1466335A (en) | 2004-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1153416C (en) | Packet switch communication method | |
US9582289B2 (en) | Communication interface selection on multi-homed devices | |
EP1557977A1 (en) | A method for adding devices to management system | |
CN105812261A (en) | Message forwarding method and system in information center network | |
CN1177439C (en) | Method of Proxy Address Resolution Protocol in Ethernet Access Application | |
CN1773936A (en) | Method and system for determining available of target of computer network communication | |
CN1505338A (en) | User identifying technique on networks having different address systems | |
CN1252961C (en) | Method for authenticating group broadcast service | |
CN101030980A (en) | Wide-band terminal identifier based on Ethernet and its identifying method | |
CN1194502C (en) | A system and method for managing network user access rights | |
CN101047618A (en) | Method and system for acquiring network route information | |
CN101056306A (en) | Network device and its access control method | |
CN1210919C (en) | Data flow control method in data insertion equipment | |
CN1703890A (en) | Method for protocol recognition and analysis in data networks | |
CN1852297A (en) | Network data flow recognizing system and method | |
CN1152516C (en) | Method for finding out IP network node | |
US20040148417A1 (en) | Method and system for distinguishing higher layer protocols of the internet traffic | |
CN106230723B (en) | A kind of message forwarding cache method and device | |
CN1359212A (en) | Comprehensive strategic realizing service for telecommunicaltion network | |
US8051167B2 (en) | Optimized mirror for content identification | |
CN1208927C (en) | Control method for connecting network based on proxy mode in network equipment | |
CN1744538A (en) | Method for selecting services provided by different providers of network service | |
US20090323548A1 (en) | Method, system and terminal for determining qos level | |
CN1852187A (en) | Method for realizing access-in management of on-line apparatus | |
CN1214563C (en) | Fee counting method in data insertion system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 |