CN110753007B - QoS-based flow strategy configuration method and device - Google Patents

QoS-based flow strategy configuration method and device Download PDF

Info

Publication number
CN110753007B
CN110753007B CN201911010521.4A CN201911010521A CN110753007B CN 110753007 B CN110753007 B CN 110753007B CN 201911010521 A CN201911010521 A CN 201911010521A CN 110753007 B CN110753007 B CN 110753007B
Authority
CN
China
Prior art keywords
message
flow
priority
messages
characteristic value
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.)
Active
Application number
CN201911010521.4A
Other languages
Chinese (zh)
Other versions
CN110753007A (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.)
Shenzhen Youhua Software Technology Co ltd
Original Assignee
Shenzhen Youhua Software Technology 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 Shenzhen Youhua Software Technology Co ltd filed Critical Shenzhen Youhua Software Technology Co ltd
Priority to CN201911010521.4A priority Critical patent/CN110753007B/en
Publication of CN110753007A publication Critical patent/CN110753007A/en
Application granted granted Critical
Publication of CN110753007B publication Critical patent/CN110753007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a flow strategy configuration method based on QoS, which is applied to a router and comprises the following steps: setting a message classification rule; classifying the messages passing through the router according to the classification rule; configuring the same flow strategy for the messages of the same category; and carrying out flow control on the messages which are different from the same type. The invention can reasonably control the abnormal flow, thereby effectively solving the problems of network congestion, frequent network disconnection and the like, realizing convenient, safe and intelligent network management service, and having no need of manual setting, greatly improving the network service quality and reducing the working intensity of network managers.

Description

QoS-based flow strategy configuration method and device
Technical Field
The present invention relates to network communication technologies, particularly to the field of router data communication technologies, and in particular, to a QoS-based flow policy configuration method and apparatus.
Background
The router is the most critical device in building a local area network, and on one hand, the router is used for connecting with the external Internet, and on the other hand, the router is also used for linking with an internal switch and plays a role of a firewall to a certain extent. The functions of the router are not limited to these functions, such as a virtual dialing function, a DHCP function, a URL filtering function, a Web interface management, an internet access authority limitation, a flow control function, and a function of supporting multiple connection modes, which are all used in actual use. In the actual use process, problems caused by network speed flow are often encountered, for example, files are transmitted in an office for several hours, no files are transmitted for several hours, and the files are disconnected every time a critical moment is reached. Or, someone downloads the video with BT wild, which causes network congestion and seriously affects the internet access quality of others. Therefore, the administrator has to limit the speed, so as to prevent people from maliciously using the bandwidth first and ensure that the whole network is not congested, thereby improving the service quality of the whole network.
Network congestion is sometimes judged to be caused by network security problems, so that security equipment is upgraded, security is comprehensively evaluated, extra cost is greatly spent, and the problems cannot be fundamentally solved.
Disclosure of Invention
Therefore, it is necessary to provide a QoS-based flow policy configuration method and apparatus, which can implement convenient, safe and intelligent network management services, and do not need manual setting, thereby greatly reducing the working strength of network administrators.
In order to achieve the above purpose, the invention adopts the following technical scheme.
The invention relates to a flow strategy configuration method based on QoS, which is applied to a router and comprises the following steps:
predefining the characteristic value of the message, and classifying the messages matched with the characteristic value into the same class; or predefining common characteristics and classifying the messages with the common characteristics into the same class; the characteristic value or the common characteristic value is voice information, video information or text information;
classifying the messages passing through the router according to the classification rule;
configuring the same flow strategy for the messages of the same category;
configuring different priorities for messages of the same category according to different application objects, and taking effect according to a configuration sequence;
the method for controlling the flow of the message different from the same type specifically comprises the following steps: judging the priority of the message different from the message of the same category, and determining the flow control form according to the priority, comprising:
setting the flow bandwidth of the router to three levels of minimum, medium and maximum;
if the priority is high and the data flow is high real-time, configuring the bandwidth of the message to be minimum;
if the data flow is of the second best priority, whether the data flow is a high real-time data flow or not, the bandwidth of the message is configured to be medium;
and if the priority is low and the data flow is low in real-time performance, configuring the bandwidth of the message to be the maximum.
In the above method, the step of classifying the packet passing through the router according to the classification rule specifically includes:
and extracting the characteristic value of the message, and classifying the message according to the classification rule by adopting a message classification marking method.
The invention also provides a flow strategy configuration device based on QoS, which is applied to a router and comprises the following components:
the rule setting module is used for predefining the characteristic value of the message and classifying the message matched with the characteristic value into the same class; or predefining common characteristics, and classifying the messages with the common characteristics into the same class; the characteristic value or the common characteristic value is voice information, video information or text information;
the classification module is used for classifying the messages passing through the router according to the classification rule;
the configuration module is configured to configure the same flow policy for the same type of packet, and specifically includes: configuring different priorities for messages of the same category according to different application objects, and taking effect according to a configuration sequence; the application object is an interface for data output, a VLAN interface or a global application interface;
the control module is configured to perform flow control on the packet different from the same type, and specifically includes: judging the priority of the message different from the message of the same category, and determining the flow control form according to the priority, comprising:
setting the traffic bandwidth of the router to be in three levels of minimum, medium and maximum;
if the priority is high and the data flow is high real-time, configuring the bandwidth of the message to be minimum;
if the current data flow is the sub-optimal priority, whether the current data flow is the high real-time data flow or not, the bandwidth of the message is configured to be medium;
and if the priority is low and the data flow is low in real-time performance, configuring the bandwidth of the message to be the maximum.
In the above apparatus, the classification module is specifically configured to:
and extracting the characteristic value of the message, and classifying the message according to the classification rule by adopting a message classification marking method.
The invention adopts the specific message classification rule to automatically classify different types of messages when passing through the router, and then utilizes the preset flow strategy of the router to carry out different bandwidth processing on the messages of different types, thereby carrying out reasonable control on abnormal flow, effectively solving the problems of network congestion, frequent network disconnection and the like, realizing convenient, safe and intelligent network management service, and having no need of manual setting, greatly improving the quality of network service and reducing the working intensity of network managers.
Drawings
Fig. 1 is a schematic flow chart of a QoS-based flow policy configuration method in this embodiment;
fig. 2 is a schematic structural diagram of a QoS-based flow policy configuration apparatus in this embodiment.
The implementation of the objects of the present invention and their functions and principles will be further explained in the detailed description with reference to the attached drawings.
Detailed Description
The following description is further provided in conjunction with the accompanying drawings and the detailed description.
As shown in fig. 1, this embodiment provides a QoS-based flow policy configuration method, which is applied to a router, and the method mainly includes the following steps:
s1: setting a message classification rule;
s2: classifying the messages passing through the router according to the classification rule;
s3: configuring the same flow strategy for the messages of the same category;
s4: and carrying out flow control on the messages which are different from the same type.
The performance index of a router usually uses kpps (kp/s, forwarding rate, which refers to the number of packets forwarded per second) to characterize how many packets can be forwarded per second, and meanwhile, the QoS (Quality of Service) capability of the router needs to be concerned. Commonly used QoS techniques include:
1. message classification marking: the data streams can be classified and marked simultaneously, so that different service levels can be provided conveniently.
2. Congestion avoidance: in the case of a busy network, a method of avoiding congestion is provided in advance.
3. Flow supervision: different applications, different devices, may be allocated a specified bandwidth within.
4. And (3) flow shaping: the state of the network in busy hours is stored through the powerful caching capacity provided on the router, and the transmission is carried out when the network is idle, so that the bandwidth of the network is effectively utilized.
5. And (3) congestion management: various queuing strategies are adopted to guarantee key services.
6. Link efficiency: the data is compressed, and the data volume needing to be transmitted on the network is greatly reduced.
The most common of them is traffic supervision and traffic shaping technology, where the traffic supervision is used to interfere with the packets in the traffic inflow direction, for example, the excess traffic is directly discarded, so as to achieve the purpose of reducing network congestion. The traffic shaping technique is used to limit the output rate of a certain queue, and the excess part is not directly discarded, but is temporarily stored in the queue and is output when the queue is idle, and is discarded only when the buffer overflows, so that the traffic shaping is used to interfere the message in the traffic outlet direction.
In this embodiment, step S1 specifically includes:
predefining the characteristic value of the message, and classifying the messages matched with the characteristic value into the same class; or
The common characteristics are predefined, and the messages with the common characteristics are classified into the same class.
If the data packet is voice information or data containing voice, a characteristic value or a common characteristic of the voice information may be predefined, and then the data packet matching the characteristic value or having the common characteristic may be regarded as a message of the same type as the voice information.
If the data packet is video information or data containing video, a characteristic value or a common characteristic of the video information may be predefined, and then the data packet matching the characteristic value or having the common characteristic may be regarded as a packet of the same type as the video information.
If the data packet is text information or data containing text, a characteristic value or a common characteristic of the text information may be predefined, and then the data packet matching the characteristic value or having the common characteristic is regarded as a message of the same type as the text information.
The step S2 specifically includes:
and extracting the characteristic value of the message, and classifying the message according to the classification rule by adopting a message classification marking method.
In the QoS technology, a packet classification tagging method is a common method, and this embodiment of the present invention classifies and tags packets by using the method, so as to provide technical support for subsequently providing different service levels.
Then, step S3 is performed, namely:
for the messages of the same category, different priorities are configured according to different application objects, and the messages take effect according to the configuration sequence.
In practical applications, different bandwidths are generally allocated according to different periods of network usage and different application objects, so as to optimize resource allocation and improve network rate.
Specifically, for the packets of the same category, different priorities may be configured for different application objects, and the packets take effect according to the configuration order. The application object mentioned herein includes an interface for data output, a VLAN interface or a global application interface, and the priority is arranged from high to low in sequence.
In step S4, the step of performing flow control on the packet different from the packet of the same category specifically includes:
judging the priority of the message different from the message of the same category, and determining the flow control form according to the priority, comprising:
setting the flow bandwidth of the router to three levels of minimum, medium and maximum;
if the priority is high and the data flow is high real-time, configuring the bandwidth of the message to be minimum;
if the current data flow is the sub-optimal priority, whether the current data flow is the high real-time data flow or not, the bandwidth of the message is configured to be medium;
and if the priority is low and the data stream is low in real-time performance, configuring the bandwidth of the message to be the maximum.
For example, voice call service may have a high requirement on real-time performance and be configured as the highest priority, while data service may have a low requirement on real-time performance and be configured as the lowest priority.
For another example, in the network peak time, the priority of the user of all the downloading services is configured to be the lowest, so that the situation that the user occupies the network bandwidth by using downloading software such as BT and click-to-talk, and the network speed is obviously reduced is avoided. A matching rule is formulated for BT users occupying large flow bandwidth and having low priority, CAR (Commit Access Rate, flow monitoring) operation is performed on the flow of the BT users, a certain bandwidth is formulated, the flow exceeds PIR (Peak Information Rate) flow and is directly discarded, and therefore other users cannot be influenced.
When the method is applied to enterprise network layout, the flow of each department can be independently controlled by the method, so that network optimization configuration is achieved.
Referring to fig. 2, the present embodiment provides a QoS-based flow policy configuration apparatus 100, which is applied to a router, and includes:
a rule setting module 10, configured to set a message classification rule;
a classification module 20, configured to classify the packet passing through the router according to the classification rule;
a configuration module 30, configured to configure the same flow policy for the same type of packet;
and the regulating module 40 is configured to perform flow control on the packets different from the same category.
The rule setting module 10 is specifically configured to:
predefining the characteristic value of the message, and classifying the messages matched with the characteristic value into the same class; or
The common characteristics are predefined, and the messages with the common characteristics are classified into the same class.
The classification module 20 is specifically configured to:
and extracting the characteristic value of the message, and classifying the message according to the classification rule by adopting a message classification marking method.
The configuration module 30 is specifically configured to:
for the messages of the same category, different priorities are configured according to different application objects, and the messages take effect according to the configuration sequence.
The regulation module 40 is specifically configured to:
judging the priority of the message different from the message of the same category, and determining the flow control form according to the priority, comprising:
setting the traffic bandwidth of the router to be in three levels of minimum, medium and maximum;
if the priority is high and the data stream is high real-time, configuring the bandwidth of the message to be minimum;
if the current data flow is the sub-optimal priority, whether the current data flow is the high real-time data flow or not, the bandwidth of the message is configured to be medium;
and if the priority is low and the data flow is low in real-time performance, configuring the bandwidth of the message to be the maximum.
The functions and principles of the QoS-based flow policy configuration apparatus 100 of this embodiment may refer to the embodiment shown in fig. 1, and are not described herein again.
In summary, the invention adopts the specific message classification rule, so that different types of messages can be automatically classified when passing through the router, and different bandwidth processing is performed on the different types of messages by using the flow strategy preset by the router, thereby reasonably controlling abnormal flow, effectively solving the problems of network congestion, frequent network disconnection and the like, realizing convenient, safe and intelligent network management service, greatly improving the quality of network service, and reducing the working intensity of a network administrator.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (4)

1. A QoS-based flow strategy configuration method is applied to a router, and is characterized in that the method comprises the following steps:
predefining the characteristic value of the message, and classifying the messages matched with the characteristic value into the same class; or predefining common characteristics and classifying the messages with the common characteristics into the same class; the characteristic value or the common characteristic value is voice information, video information or text information;
classifying the messages passing through the router according to the classification rule;
configuring the same flow strategy for the messages of the same category, specifically: configuring different priorities for messages of the same category according to different application objects, and taking effect according to a configuration sequence; the application object is an interface for data output, a VLAN interface or a global application interface;
the method for controlling the flow of the message different from the same type specifically comprises the following steps: judging the priority of the message different from the message of the same category, and determining the flow control form according to the priority, comprising:
setting the flow bandwidth of the router to three levels of minimum, medium and maximum;
if the priority is high and the data stream is high real-time, configuring the bandwidth of the message to be minimum;
if the data flow is of the second best priority, whether the data flow is a high real-time data flow or not, the bandwidth of the message is configured to be medium;
and if the priority is low and the data flow is low in real-time performance, configuring the bandwidth of the message to be the maximum.
2. The method according to claim 1, wherein the step of classifying the packet passing through the router according to the classification rule specifically comprises:
and extracting the characteristic value of the message, and classifying the message according to the classification rule by adopting a message classification marking method.
3. A QoS-based flow policy configuration apparatus applied to a router, the apparatus comprising:
the rule setting module is used for predefining the characteristic value of the message and classifying the message matched with the characteristic value into the same class; or predefining common characteristics and classifying the messages with the common characteristics into the same class; the characteristic value or the common characteristic value is voice information, video information or text information;
the classification module is used for classifying the messages passing through the router according to the classification rule;
the configuration module is configured to configure the same flow policy for the same type of packet, and specifically includes: configuring different priorities for messages of the same category according to different application objects, and taking effect according to a configuration sequence; the application object is an interface for data output, a VLAN interface or a global application interface;
the control module is configured to perform flow control on the packet different from the same type, and specifically includes: judging the priority of the message different from the message of the same category, and determining the flow control form according to the priority, comprising:
setting the flow bandwidth of the router to three levels of minimum, medium and maximum;
if the priority is high and the data flow is high real-time, configuring the bandwidth of the message to be minimum;
if the current data flow is the sub-optimal priority, whether the current data flow is the high real-time data flow or not, the bandwidth of the message is configured to be medium;
and if the priority is low and the data stream is low in real-time performance, configuring the bandwidth of the message to be the maximum.
4. The apparatus of claim 3, wherein the classification module is specifically configured to:
and extracting the characteristic value of the message, and classifying the message according to the classification rule by adopting a message classification marking method.
CN201911010521.4A 2019-10-23 2019-10-23 QoS-based flow strategy configuration method and device Active CN110753007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911010521.4A CN110753007B (en) 2019-10-23 2019-10-23 QoS-based flow strategy configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911010521.4A CN110753007B (en) 2019-10-23 2019-10-23 QoS-based flow strategy configuration method and device

Publications (2)

Publication Number Publication Date
CN110753007A CN110753007A (en) 2020-02-04
CN110753007B true CN110753007B (en) 2022-10-21

Family

ID=69279552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911010521.4A Active CN110753007B (en) 2019-10-23 2019-10-23 QoS-based flow strategy configuration method and device

Country Status (1)

Country Link
CN (1) CN110753007B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311699B (en) * 2020-09-28 2021-08-03 清华大学无锡应用技术研究院 Method, device and storage medium for processing network data packet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127686A (en) * 2006-08-18 2008-02-20 华为技术有限公司 A network data processing method and device
CN101699899A (en) * 2009-11-12 2010-04-28 中兴通讯股份有限公司 Method, device and system for processing data flow in WLAN (Wireless Local Area Network)
CN102355412A (en) * 2011-08-26 2012-02-15 福建星网锐捷网络有限公司 Method and equipment for transmitting voice call request

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773952A (en) * 2004-11-10 2006-05-17 华为技术有限公司 Bandwidth gurantee method for communication equipment or high-priority messaging during network at fault
CN101072183B (en) * 2007-06-11 2011-07-06 华为技术有限公司 Data flow service quality assuring method and device
CN104243332A (en) * 2013-06-20 2014-12-24 上海博达数据通信有限公司 Sub-channel application flow control method based on DPI identification
CN106960053A (en) * 2017-03-31 2017-07-18 中联恒天控股有限公司 A kind of credit investigation system with dynamic data management and access function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127686A (en) * 2006-08-18 2008-02-20 华为技术有限公司 A network data processing method and device
CN101699899A (en) * 2009-11-12 2010-04-28 中兴通讯股份有限公司 Method, device and system for processing data flow in WLAN (Wireless Local Area Network)
CN102355412A (en) * 2011-08-26 2012-02-15 福建星网锐捷网络有限公司 Method and equipment for transmitting voice call request

Also Published As

Publication number Publication date
CN110753007A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
US11381452B2 (en) Network slicing method and system
EP2629554B1 (en) Service control method and system, enodeb and packet data network gateway
US7616572B2 (en) Call admission control/session management based on N source to destination severity levels for IP networks
US8284789B2 (en) Methods and apparatus for providing dynamic data flow queues
JP7288980B2 (en) Quality of Service in Virtual Service Networks
CN107454015B (en) OF-DiffServ model-based QoS control method and system
CN102934403A (en) Controlling data transmission over a network
CN105530204A (en) Novel structure and method for guaranteeing video service QoS in software-defined wireless network
CN102231697A (en) Bandwidth dispatching method of message queues as well as message reporting method and device
CN110753007B (en) QoS-based flow strategy configuration method and device
EP1694001A1 (en) Adaptive queue method and system for realtime packet transfer
CN102209028A (en) Flow control device and method for CPU (Central Processing Unit)
CN100544321C (en) Support bandwidth management method and device that dynamic bandwidth is cut apart
EP1978682B9 (en) QoS CONTROL METHOD AND SYSTEM
CN106131914B (en) Service request processing method and processing device
CN1728679A (en) Method for configuring routers
JP5753918B2 (en) Network relay device
KR20040032315A (en) A traffic control technology in home network through adaptive priority control
WO2023124660A1 (en) Message scheduling method, apparatus, electronic device, and storage medium
CN109547353A (en) A method of by IP address section to uplink and downlink speed limit
KR100539733B1 (en) Multiple connection service method on universal plug and play network
Wei et al. A performance simulation and verification method of packet scheduling algorithms for data stream based on QoS
CN117768417A (en) Data transmission method, device, computer equipment and storage medium
CN112910715A (en) Network bandwidth management method and device
CN116938723A (en) Planning method and device for slice bandwidth

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant