CN101056273A - Session-based network speed limit method and device - Google Patents

Session-based network speed limit method and device Download PDF

Info

Publication number
CN101056273A
CN101056273A CNA2007101108920A CN200710110892A CN101056273A CN 101056273 A CN101056273 A CN 101056273A CN A2007101108920 A CNA2007101108920 A CN A2007101108920A CN 200710110892 A CN200710110892 A CN 200710110892A CN 101056273 A CN101056273 A CN 101056273A
Authority
CN
China
Prior art keywords
message
speed limit
flow
link building
building messages
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
CNA2007101108920A
Other languages
Chinese (zh)
Other versions
CN101056273B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101108920A priority Critical patent/CN101056273B/en
Publication of CN101056273A publication Critical patent/CN101056273A/en
Application granted granted Critical
Publication of CN101056273B publication Critical patent/CN101056273B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a network speed limit method and device based on the session and the speed limit configuration information is preset, the speed limit configuration information includes: traffic limit and type of the link establishment packet requiring the speed limit, when the network traffic is near to or higher than the set traffic, the method includes: read the speed limit configuration information and update the traffic information according to the length of the packet and traffic limit; determine whether the packet is the packet for establishing the link; when the packet is the packet for establishing the link, determine whether the network traffic reaches the traffic limit according to the updated traffic information; when the traffic limit is met, the link establishment packet is abandoned. The invention optionally abandons the link establishment packet to limit the speed based on the service quality guarantee.

Description

Conversation-based network speed limit method and device
Technical field
The present invention relates to communication technical field, relate in particular to the speed limit technical field among the QoS (service quality).
Background technology
Along with the high speed development of internet,, serve as that to initiate the network multimedia communication The Application of Technology of link means also increasingly extensive to send out mutually the session link building messages to the increase of video, this real-time Transmission business demand of audio frequency.
Present existing network speed limit method, what generally adopt is dropping packets when reaching the flow upper limit, does not then E-Packet when reaching the flow upper limit; And the network configuration of dialogue-based form and application have its unique mode and demand.And this mode obviously is inapplicable for the multi-media network transfer of data that generally adopts the session link setup, adopt original method for limiting speed during for example to real-time data speed limits such as multimedia audio and videos, the network equipment is taked is not have the purpose that the method for distinguishing that message is abandoned reaches speed limit, promptly, abandon at random for the normal message after link building messages or the link setup success, when abandon be normal message the time, can cause the data flow of video or audio frequency discontinuous, thereby influence the service quality of video and audio frequency.
Summary of the invention
The invention provides a kind of conversation-based network speed limit method and device, by selectively link building messages being abandoned, thereby reach the purpose of on the basis that guarantees service quality, carrying out speed limit.
The invention provides a kind of conversation-based network speed limit method, preset the speed limit configuration information, described speed limit configuration information comprises: the limit value of flow and need carry out the type of the link building messages of speed limit, when network traffics near or during greater than the flow set, described method comprises:
Read the speed limit configuration information, and upgrade flow information according to the length of message and the limit value of flow;
Judge whether described message is link building messages;
When definite described message is link building messages, judge according to the flow information after the described renewal whether network traffics reach the limit value of described flow;
When confirming to have reached the limit value of flow, abandon described link building messages.
Before carrying out described method, at least also comprise one of following operation:
Judge whether the speed limit function enables;
Judge whether session speed limit strategy is enabled.
Before carrying out described method, also comprise:
Judge the legitimacy of message, when confirming that described message is legal message, carry out described method, otherwise, described message abandoned.
The step that described judgement and definite described message are link building messages specifically comprises:
Judge according to the characteristic value of message whether described message is link building messages, if described message is a link building messages, whether the type of judging described link building messages belongs to the type that the needs that preset carry out the link building messages of speed limit, if, then judge according to the flow information after upgrading whether network traffics reach the limit value of flow, otherwise, abandon described link building messages; If described message is a normal message, then directly transmit described message.
Described network traffics comprise one of uplink traffic and downlink traffic at least.
The type of described link building messages comprises: the Invite message of TCP link setup bag, H323Setup message, Sip.
The present invention also provides a kind of conversation-based network speed limit device, comprising:
Speed limit configuration information unit is used to set the speed limit configuration information, and described speed limit configuration information comprises: the limit value of flow and the type that need carry out the link building messages of speed limit;
The flow information updating block is used to read the speed limit configuration information, and upgrades flow information according to the length of described message and the limit value of flow;
The speed limit processing unit, be used to judge whether described message is link building messages, when definite described message is link building messages, judge according to the flow information after the described renewal whether uplink traffic or downlink traffic reach the limit value of described flow, when confirming to have reached the limit value of flow, abandon described link building messages.
Described device also comprises:
Speed limit function selecting unit is used for enabling as required or not enabling the speed limit function; And/or,
Session speed limit policy selection unit is used for enabling as required or does not enable session speed limit strategy.
Described device also comprises:
The message validity inspection unit is used to check the legitimacy of message, when confirming that described message is legal message, carries out network speed limit and handles, otherwise, abandon described message.
Described speed limit processing unit specifically comprises:
The message analysis module, be used for judging according to the characteristic value of message whether described message is link building messages, if described message is a link building messages, whether the type of judging described link building messages belongs to the type that the needs that preset carry out the link building messages of speed limit, if, then trigger the flow comparison module, otherwise, described link building messages abandoned; If described message is a normal message, then directly transmit described message;
The flow comparison module is used to judge whether uplink traffic or downlink traffic reach the limit value of described flow, when confirming that flow has reached in limited time, abandons described link building messages.
The invention provides a kind of conversation-based network speed limit method and device, by selectively link building messages being abandoned, thereby reach the purpose of on the basis that guarantees service quality, carrying out speed limit.
Description of drawings
Fig. 1 is the schematic flow sheet of the described method of the embodiment of the invention;
Fig. 2 is the structural representation of the described device of the embodiment of the invention.
Embodiment
Below the described conversation-based network speed limit method of the embodiment of the invention is elaborated.
As shown in Figure 1, the described method of the embodiment of the invention specifically may further comprise the steps;
Step 101: the message that enters speed limiting device is judged its legitimacy, if legal message, then execution in step 102, if illegal message (such as the message of personation etc.), then execution in step 103;
Step 102: judge whether the speed limit function enables, that is, the user can select to enable or not enable the speed limit function as required, if the speed limit function is enabled, then execution in step 104, otherwise, the speed limit function is not activated, and illustrates that not needing to carry out speed limit handles execution in step 115;
Step 103: illegal message is made discard processing;
Step 104: judge whether session speed limit strategy is enabled, that is, the user can enable or not enable session speed limit strategy as required, if if session speed limit strategy is enabled, then execution in step 105, otherwise, session speed limit strategy is not activated, and illustrates execution in step 114;
Step 105: session speed limit strategy is handled before the beginning, carry out the initialization of speed limit configuration information, comprise type (as the Invite message of transmission control protocol TCP link setup bag, H323 agreement Setup message, session initiation protocol SIP) to the limit value of message uplink and downlink flow and the link building messages that need limit etc.; Session speed limit strategy is handled beginning, reads the speed limit configuration information, calculates according to the limit value of flow and the length of message, to upgrade the record flow information;
Step 106: analyze message data, judge that described message is link building messages or normal message, described judgement can be carried out according to the characteristic value of message, and the existing ripe solution of concrete deterministic process repeats no more herein; If link building messages, can judge it is the link building messages of which kind of type according to characteristic value simultaneously, and the type of link building messages preserved, the type of the link building messages that the needs of setting in the type of the link building messages preserved and the configuration information are limited compares, if the link building messages type of preserving belongs to the link building messages type that need limit, then execution in step 107, do not handle otherwise do not carry out speed limit, directly transmit to get final product; If the message of link setup, the normal message that sends after promptly link setup is finished, then execution in step 108;
Step 107: the speed limit of carrying out Inbound is handled, and, according to the uplink traffic limit value in the described speed limit configuration information, judges whether uplink traffic has reached the upper limit, if reach the upper limit, then execution in step 111 that is, otherwise execution in step 109;
Step 108: this kind message is a normal message, cannot carry out speed limit, handles but do to transmit, and execution in step 113 then;
Step 109: calculate and upgrade flow information according to the limit value of the length of message and uplink traffic, wait until the time standby that continues this flow processing next time, execution in step 110;
Step 110: the speed limit of carrying out outgoing direction is handled, and, judges according to the downlink traffic limit value in the described speed limit configuration information whether downlink traffic has reached the upper limit, if reach the upper limit, then execution in step 111 that is, otherwise execution in step 112; This is because the information of session is bidirectional information, so uplink and downlink are when all having speed limit to require;
Step 111: abandon this link building messages;
Step 112: calculate and upgrade flow information according to the limit value of the length of message and downlink traffic, wait until the time standby that continues this flow processing next time;
Step 113: the speed limit flow process finishes.
Step 114: the business that continues to handle other;
Step 115: main handling process finishes;
Below in conjunction with accompanying drawing the described conversation-based network speed limit device of the embodiment of the invention is elaborated.
As shown in Figure 2, the described device of the embodiment of the invention specifically comprises:
Speed limit function selecting unit is used for enabling as required or not enabling the speed limit function, promptly, when the user can select to carry out speed limit or non-speed limit according to the needs of oneself, if carry out speed limit, then speed limit function selecting unit was enabled, if do not carry out speed limit, then speed limit function selecting unit is not enabled;
Session speed limit policy selection unit, be used for enabling as required or do not enable session speed limit strategy, promptly, be used for to select the session speed limit as required, also can not select the session speed limit, and select other speed limit, if select the session speed limit, then session speed limit policy selection unit is enabled, if do not select the session speed limit, then session speed limit policy selection unit is not enabled;
The message validity inspection unit is used to check the legitimacy of message, when confirming that described message is legal message, carries out network speed limit and handles, if message is illegal (as the message of personation), then abandons described message.
Speed limit configuration information unit is used to set the speed limit configuration information, and described speed limit configuration information comprises: the limit value of flow and the relevant informations such as type that need carry out the link building messages of speed limit;
The flow information updating block is used to read the speed limit configuration information, and upgrades flow information according to the length of described message and the limit value of flow;
The speed limit processing unit, be used to judge whether described message is link building messages, when definite described message is link building messages, judge according to the flow information after the described renewal whether network traffics reach the limit value of described flow, when confirming to have reached the limit value of flow, abandon described link building messages.Described network traffics comprise one of uplink traffic and downlink traffic at least, because the information of session is bidirectional information, so uplink and downlink all have the speed limit requirement, as long as there is a direction to exceed the flow upper limit, just need carry out speed limit; Concrete speed limit processing procedure elaborates in method, just repeats no more herein.
Wherein, described speed limit processing unit specifically comprises:
The message analysis module, be used for judging according to the characteristic value of message whether described message is link building messages, if described message is a link building messages, whether the type of judging described link building messages belongs to the type that the needs that preset carry out the link building messages of speed limit, if, then trigger the flow comparison module, otherwise, described link building messages abandoned; If described message is a normal message, then directly transmit described message;
The flow comparison module is used to judge whether uplink traffic or downlink traffic reach the limit value of described flow, when confirming that flow has reached in limited time, abandons described link building messages.
Here, the described speed limit function selecting of embodiment of the invention unit, session speed limit policy selection unit and message validity inspection unit all are optional unit, such as, in the specific implementation process of the embodiment of the invention, speed limit function selecting unit can be set, but requirement must be carried out the speed limit processing, and other two unit also are as a same reason.
In sum, the embodiment of the invention provides a kind of conversation-based network speed limit method and device, by selectively link building messages being abandoned, thereby reaches the purpose of carrying out speed limit on the basis that guarantees service quality.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1, a kind of conversation-based network speed limit method, it is characterized in that, preset the speed limit configuration information, described speed limit configuration information comprises: the limit value of flow and the type that need carry out the link building messages of speed limit, when network traffics near or during greater than the flow set, described method comprises:
Read the speed limit configuration information, and upgrade flow information according to the length of message and the limit value of flow;
Judge whether described message is link building messages;
When definite described message is link building messages, judge according to the flow information after the described renewal whether network traffics reach the limit value of described flow;
When confirming to have reached the limit value of flow, abandon described link building messages.
2, method according to claim 1 is characterized in that, at least also comprises one of following operation before carrying out described method:
Judge whether the speed limit function enables;
Judge whether session speed limit strategy is enabled.
3, method as claimed in claim 1 or 2 is characterized in that, also comprises before carrying out described method:
Judge the legitimacy of message, when confirming that described message is legal message, carry out described method, otherwise, described message abandoned.
According to any described method in the claim 1 to 3, it is characterized in that 4, the step that described judgement and definite described message are link building messages specifically comprises:
Judge according to the characteristic value of message whether described message is link building messages, if described message is a link building messages, whether the type of judging described link building messages belongs to the type that the needs that preset carry out the link building messages of speed limit, if, then judge according to the flow information after upgrading whether network traffics reach the limit value of flow, otherwise, abandon described link building messages; If described message is a normal message, then directly transmit described message.
5, method according to claim 4 is characterized in that, described network traffics comprise one of uplink traffic and downlink traffic at least.
6, method according to claim 4 is characterized in that, the type of described link building messages comprises: the Invite message of TCP link setup bag, H323Setup message, Sip.
7, a kind of conversation-based network speed limit device is characterized in that, comprising:
Speed limit configuration information unit is used to set the speed limit configuration information, and described speed limit configuration information comprises: the limit value of flow and the type that need carry out the link building messages of speed limit;
The flow information updating block is used to read the speed limit configuration information, and upgrades flow information according to the length of described message and the limit value of flow;
The speed limit processing unit, be used to judge whether described message is link building messages, when definite described message is link building messages, judge according to the flow information after the described renewal whether uplink traffic or downlink traffic reach the limit value of described flow, when confirming to have reached the limit value of flow, abandon described link building messages.
8, device according to claim 7 is characterized in that, described device also comprises:
Speed limit function selecting unit is used for enabling as required or not enabling the speed limit function; And/or,
Session speed limit policy selection unit is used for enabling as required or does not enable session speed limit strategy.
9, according to claim 7 or 8 described devices, it is characterized in that described device also comprises:
The message validity inspection unit is used to check the legitimacy of message, when confirming that described message is legal message, carries out network speed limit and handles, otherwise, abandon described message.
According to claim 7 or 8 described devices, it is characterized in that 10, described speed limit processing unit specifically comprises:
The message analysis module, be used for judging according to the characteristic value of message whether described message is link building messages, if described message is a link building messages, whether the type of judging described link building messages belongs to the type that the needs that preset carry out the link building messages of speed limit, if, then trigger the flow comparison module, otherwise, described link building messages abandoned; If described message is a normal message, then directly transmit described message;
The flow comparison module is used to judge whether uplink traffic or downlink traffic reach the limit value of described flow, when confirming that flow has reached in limited time, abandons described link building messages.
CN2007101108920A 2007-06-13 2007-06-13 Session-based network speed limit method and device Expired - Fee Related CN101056273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101108920A CN101056273B (en) 2007-06-13 2007-06-13 Session-based network speed limit method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101108920A CN101056273B (en) 2007-06-13 2007-06-13 Session-based network speed limit method and device

Publications (2)

Publication Number Publication Date
CN101056273A true CN101056273A (en) 2007-10-17
CN101056273B CN101056273B (en) 2010-06-09

Family

ID=38795886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101108920A Expired - Fee Related CN101056273B (en) 2007-06-13 2007-06-13 Session-based network speed limit method and device

Country Status (1)

Country Link
CN (1) CN101056273B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009152703A1 (en) * 2008-06-17 2009-12-23 华为技术有限公司 Upgrading method and apparatus for session initiation protocol server
CN101951339A (en) * 2010-08-24 2011-01-19 北京星网锐捷网络技术有限公司 Message speed limitation method, device and network equipment
CN104009928A (en) * 2014-05-26 2014-08-27 深圳市共进电子股份有限公司 Method and device for limiting speed of data flow
CN104618259A (en) * 2014-12-25 2015-05-13 杭州华三通信技术有限公司 Method and device for limiting speed of terminal device
CN106789263A (en) * 2016-12-26 2017-05-31 广东睿哲科技股份有限公司 It is a kind of to realize that the double stack flows of IPv4 and IPv6 unify bandwidth control system based on SNMP
CN108965005A (en) * 2018-07-18 2018-12-07 烽火通信科技股份有限公司 The adaptive method for limiting speed and its system of the network equipment
CN113596050A (en) * 2021-08-04 2021-11-02 四川英得赛克科技有限公司 Abnormal flow separation and filtration method and system, storage medium and electronic equipment
CN116032852A (en) * 2023-03-28 2023-04-28 新华三工业互联网有限公司 Flow control method, device, system, equipment and storage medium based on session

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI974216A (en) * 1997-11-12 1999-05-13 Nokia Telecommunications Oy Frame rejection mechanism for packet switches
CN100384178C (en) * 2004-05-10 2008-04-23 北京航空航天大学 Process method for parsing communication message data

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009152703A1 (en) * 2008-06-17 2009-12-23 华为技术有限公司 Upgrading method and apparatus for session initiation protocol server
CN101951339A (en) * 2010-08-24 2011-01-19 北京星网锐捷网络技术有限公司 Message speed limitation method, device and network equipment
CN101951339B (en) * 2010-08-24 2012-08-15 北京星网锐捷网络技术有限公司 Message speed limitation method, device and network equipment
CN104009928A (en) * 2014-05-26 2014-08-27 深圳市共进电子股份有限公司 Method and device for limiting speed of data flow
CN104618259A (en) * 2014-12-25 2015-05-13 杭州华三通信技术有限公司 Method and device for limiting speed of terminal device
CN106789263A (en) * 2016-12-26 2017-05-31 广东睿哲科技股份有限公司 It is a kind of to realize that the double stack flows of IPv4 and IPv6 unify bandwidth control system based on SNMP
CN106789263B (en) * 2016-12-26 2020-08-11 睿哲科技股份有限公司 System for realizing IPv4 and IPv6 dual-stack flow unified bandwidth control based on SNMP
CN108965005A (en) * 2018-07-18 2018-12-07 烽火通信科技股份有限公司 The adaptive method for limiting speed and its system of the network equipment
CN108965005B (en) * 2018-07-18 2021-05-14 烽火通信科技股份有限公司 Self-adaptive speed limiting method and system of network equipment
CN113596050A (en) * 2021-08-04 2021-11-02 四川英得赛克科技有限公司 Abnormal flow separation and filtration method and system, storage medium and electronic equipment
CN116032852A (en) * 2023-03-28 2023-04-28 新华三工业互联网有限公司 Flow control method, device, system, equipment and storage medium based on session
CN116032852B (en) * 2023-03-28 2023-06-02 新华三工业互联网有限公司 Flow control method, device, system, equipment and storage medium based on session

Also Published As

Publication number Publication date
CN101056273B (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN101056273A (en) Session-based network speed limit method and device
CN1165132C (en) System and method for providing Internet broadcasting data based on hierarchical structure
CN1968227A (en) System and method for enabling wireless access gateway to support transparent agent
CN101056222A (en) A deep message detection method, network device and system
CN100348004C (en) Data stream control system and method
CN101068236A (en) Streaming media bit rate control method, system and equipment
CN1957576A (en) Cooperation between packetized data bit-rate adaptation and data packet re-transmission
CN1870514A (en) Method for analysing session service quality
CN1921438A (en) Method for realizing acceleration between networks by using proxy
CN1881916A (en) Method and apparatus for realizing communication between communication equipments
CN1878144A (en) Multi-queue flow control method
CN1617511A (en) Conversation Qo S controller
CN1906906A (en) Optimized radio bearer configuration for voice over IP
CN1778079A (en) Methods and devices for the coordination of flow control between a TCP/IP network and other networks
CN101035365A (en) Multimedia session service quality management method under multiple radio network integrated environment
CN101064590A (en) Method of handling packet data in a wireless communications system and related apparatus
CN1812313A (en) Method for controlling radio link control layer buffer area overflow
US8483228B2 (en) Mobile communication system, mobile station and radio base station
CN1787656A (en) Aging processing apparatus and method in communications system
CN1773993A (en) Session relay equipment and session relay method
CN1496079A (en) Method for dynamically-controlling read time muttimedia data generation rate and its device
CN1753404A (en) Method of using communication apparatus to select communication protocol
CN1643858A (en) Quality of service request correlation
CN100337414C (en) Service quality consulting method for wideband CDMA system
CN1933413A (en) Group broadcasting member management method for radio local network IP group broadcasting frame transmission

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

Termination date: 20160613

CF01 Termination of patent right due to non-payment of annual fee