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

Session-based network speed limit method and device Download PDF

Info

Publication number
CN101056273B
CN101056273B CN2007101108920A CN200710110892A CN101056273B CN 101056273 B CN101056273 B CN 101056273B CN 2007101108920 A CN2007101108920 A CN 2007101108920A CN 200710110892 A CN200710110892 A CN 200710110892A CN 101056273 B CN101056273 B CN 101056273B
Authority
CN
China
Prior art keywords
speed limit
message
link building
building messages
flow
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
CN2007101108920A
Other languages
Chinese (zh)
Other versions
CN101056273A (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 configurationinformation 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 the type that need carry out the link building messages of speed limit, and 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 further whether described message belongs to the type that the needs that preset carry out the link building messages of speed limit;
When determining that described message belongs to the needs that preset and carries out the type of link building messages of speed limit, 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, also comprise:
Judge whether the speed limit function enables,, then continue to handle other business if the speed limit function is not enabled, if the speed limit function is enabled, judge then whether session speed limit strategy is enabled, if session speed limit strategy is enabled, then carry out described method, otherwise continue to handle other business.
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, when determining to have reached the limit value of flow, abandon described link building messages; If described link building messages does not belong to the type that the needs that preset carry out the link building messages of speed limit, then directly transmit described message;
If described message is a normal message, then directly transmit.
Described network traffics are uplink traffic and downlink traffic.
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 is used to judge whether described message is link building messages,
When if described message is link building messages, further judge whether described message belongs to the type that the needs that preset carry out the link building messages of speed limit, if described message belongs to the needs that preset when carrying out the type of link building messages of speed limit, 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; If the type of described message does not belong to the type that the needs that preset carry out the link building messages of speed limit, then abandon described link building messages;
If described message is a normal message, then directly transmit.
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, when network traffics near or during greater than the flow set, 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 114;
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, 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 conversation-based network speed limit method is characterized in that, presets 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, and 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 further whether described message belongs to the type that the needs that preset carry out the link building messages of speed limit;
When determining that described message belongs to the needs that preset and carries out the type of link building messages of speed limit, 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, also comprises before carrying out described method:
Judge whether the speed limit function enables,, then continue to handle other business if the speed limit function is not enabled, if the speed limit function is enabled, judge then whether session speed limit strategy is enabled, if session speed limit strategy is enabled, then carry out described method, otherwise continue to handle other business.
3. method as claimed in claim 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.
4. according to any described method in the claim 1 to 3, it is characterized in that 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, when determining to have reached the limit value of flow, abandon described link building messages; If described link building messages does not belong to the type that the needs that preset carry out the link building messages of speed limit, then directly transmit;
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 are uplink traffic and downlink traffic.
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 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 is used to judge whether described message is link building messages,
When if described message is link building messages, further judge whether described message belongs to the type that the needs that preset carry out the link building messages of speed limit, if described message belongs to the needs that preset when carrying out the type of link building messages of speed limit, 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; If the type of described message does not belong to the type that the needs that preset carry out the link building messages of speed limit, then abandon described link building messages;
If described message is a normal message, then directly transmit.
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.
10. according to claim 7 or 8 described devices, it is characterized in that 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 CN101056273A (en) 2007-10-17
CN101056273B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360006B (en) * 2008-06-17 2012-05-23 华为技术有限公司 Parlay application server, SIP distributor upgrading method and apparatus
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
CN104618259B (en) * 2014-12-25 2018-12-25 新华三技术有限公司 A kind of method for limiting speed and equipment of terminal device
CN106789263B (en) * 2016-12-26 2020-08-11 睿哲科技股份有限公司 System for realizing IPv4 and IPv6 dual-stack flow unified bandwidth control based on SNMP
CN108965005B (en) * 2018-07-18 2021-05-14 烽火通信科技股份有限公司 Self-adaptive speed limiting method and system of network equipment
CN113596050B (en) * 2021-08-04 2023-06-30 四川英得赛克科技有限公司 Abnormal flow separation and filtration method, system, storage medium and electronic equipment
CN116032852B (en) * 2023-03-28 2023-06-02 新华三工业互联网有限公司 Flow control method, device, system, equipment and storage medium based on session

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697420A (en) * 2004-05-10 2005-11-16 北京航空航天大学 Process method for parsing communication message data
EP1038414B1 (en) * 1997-11-12 2006-05-03 Nokia Corporation A frame discard mechanism for packet switches

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1038414B1 (en) * 1997-11-12 2006-05-03 Nokia Corporation A frame discard mechanism for packet switches
CN1697420A (en) * 2004-05-10 2005-11-16 北京航空航天大学 Process method for parsing communication message data

Also Published As

Publication number Publication date
CN101056273A (en) 2007-10-17

Similar Documents

Publication Publication Date Title
CN101056273B (en) Session-based network speed limit method and device
EP3311534B1 (en) Method and apparatus for multipath media delivery
JP3225924B2 (en) Communication quality control device
US11271862B2 (en) Service delivery in a communication network
KR101871303B1 (en) Method for subscribing to streams from multicast clients
EP1168730A3 (en) Method, apparatus and computer program for IP traffic prioritization in IP Networks
CN102231863A (en) Transmission method of multichannel video streams and system thereof
WO2006041269A1 (en) Apparatus and method for handover in mobile communication system
CN103023670A (en) Message service type identifying method and message service type identifying device based on data processing installation (DPI)
US20060126586A1 (en) Wireless LAN device and method of monitoring status of wireless LAN
CN107734284A (en) Media session method for building up, device and computer-readable recording medium
CN102549981A (en) Node and method for quality of service (QoS) control
CN206313803U (en) A kind of router for realizing network game acceleration
CN103974339B (en) A kind of method and apparatus of data buffer storage
CN109525620A (en) A kind of message push system, method and device
US20030076813A1 (en) Method and packet switched communication network with enhanced session establishment
JP5476852B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
CN106817267A (en) A kind of fault detection method and equipment
CN101631109B (en) Service identification methods in IP multi-media subsystem
WO2012003063A1 (en) Method and apparatus for transmitting an application identifier across application elements
US20080298300A1 (en) Communication Control Method and System for Carrying Out Said Method
KR20110092966A (en) Method and apparatus for minimizing delay time for session setup in network
EP1809065B1 (en) Method and system for adjusting the traffic category for a real time stream transmission
Melnyk et al. On signaling efficiency for call setup in all-IP wireless networks
CN107172179B (en) Bilateral acceleration transmission method and 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20160613