CN115720191A - Method, system and network equipment for automatically configuring QoS based on network service - Google Patents
Method, system and network equipment for automatically configuring QoS based on network service Download PDFInfo
- Publication number
- CN115720191A CN115720191A CN202211224823.3A CN202211224823A CN115720191A CN 115720191 A CN115720191 A CN 115720191A CN 202211224823 A CN202211224823 A CN 202211224823A CN 115720191 A CN115720191 A CN 115720191A
- Authority
- CN
- China
- Prior art keywords
- configuration
- network service
- characteristic value
- qos
- mapping table
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000013507 mapping Methods 0.000 claims abstract description 58
- 230000002452 interceptive effect Effects 0.000 claims abstract description 19
- 230000006399 behavior Effects 0.000 claims abstract description 11
- 230000001133 acceleration Effects 0.000 claims description 26
- 238000000605 extraction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- HRULVFRXEOZUMJ-UHFFFAOYSA-K potassium;disodium;2-(4-chloro-2-methylphenoxy)propanoate;methyl-dioxido-oxo-$l^{5}-arsane Chemical compound [Na+].[Na+].[K+].C[As]([O-])([O-])=O.[O-]C(=O)C(C)OC1=CC=C(Cl)C=C1C HRULVFRXEOZUMJ-UHFFFAOYSA-K 0.000 claims 1
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method, a system and network equipment for automatically configuring QoS based on network service, wherein the method comprises the following steps: classifying the network service, and collecting interactive data messages corresponding to different network service types according to different network service types; extracting characteristic values of the collected interactive data messages; establishing a mapping relation between the network service type and the characteristic value, and generating a mapping table; presetting a database in the mapping table in equipment; acquiring a configuration item selected by a user, and judging the network service type of the configuration item; and reading the mapping table, acquiring a characteristic value corresponding to the network service type from the mapping table, and converting the corresponding characteristic value into corresponding configuration in QoS configuration. According to the invention, the user does not need to manually create class and flow behaviors, and the corresponding QoS configuration is automatically completed according to the selection of the user through the preset mapping table, so that the configuration flow of the user is simplified, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of network service identification technologies, and in particular, to a method, a system, and a network device for automatically configuring QoS based on a network service.
Background
With the rapid development of network technology, IP networks have been transformed from the original single data network to a multi-service network integrating data, voice, video, and gaming. The data carried in the network is increased by geometric multiples, and the services have extremely high requirements on network bandwidth and time delay. Meanwhile, due to the reasons of high difficulty, long period, high cost and the like of hardware chip research and development, the bandwidth gradually becomes the bottleneck of internet development, so that network congestion occurs, packet loss occurs, the service quality is reduced, and even the service is unavailable in severe cases.
The QoS technology does not increase the network bandwidth, but allocates bandwidth to various services in a balanced manner under limited bandwidth resources, and provides end-to-end quality of service guarantee for various services according to different requirements of the services. Currently, the QoS configuration of a conventional router or network forwarding device is mostly based on the following stream characteristics of L3 and L4 messages for identification and priority marking, such as based on IP (Internet Protocol), TCP/UDP (User data packet Protocol) ports, and the like. Classes and corresponding flow behaviors need to be created in the whole configuration, a queue scheduling algorithm, a congestion management method and the like are selected, the method is not friendly to ordinary users without related skills or knowledge reserves, when the ordinary users classify important data services, the ordinary users usually only pay attention to certain or certain application data priority, such as game priority, webpage priority, video priority and the like, and therefore the ordinary users cannot complete corresponding configuration.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a system and a network device for automatically configuring QoS based on network services, which can automatically complete corresponding QoS configuration according to user selection through a mapping table without requiring a user to manually create class and flow behaviors, thereby simplifying the configuration process of the user.
In a first aspect, the present invention provides a method for automatically configuring QoS based on network services, which includes the following steps:
s1, classifying network services, and collecting interactive data messages corresponding to different network service types according to different network service types;
s2, extracting characteristic values of the collected interactive data messages;
s3, establishing a mapping relation between the network service type and the characteristic value, and generating a mapping table;
s4, presetting a database in the mapping table in equipment;
s5, acquiring a configuration item selected by a user, and judging the type of the network service to which the configuration item belongs;
s6, reading the mapping table, obtaining the characteristic value corresponding to the network service type from the mapping table, and converting the corresponding characteristic value into the corresponding configuration in the QoS configuration.
Further, the network traffic types include games, videos, web pages, and applications.
Further, the step S2 specifically includes: and extracting characteristic values of the messages collected in the step S1 based on the flow characteristics of the L3 and L4 messages, wherein the characteristic values comprise ip, port, TOS, DSCP and RSVP.
Further, the step S3 specifically includes: and the routing manufacturer binds the characteristic value extracted from the interactive data message of each network service type with the network service type, establishes a mapping relation between the network service type and the characteristic value and generates a mapping table.
Further, the configuration items in step S5 include: video acceleration, game acceleration, web page acceleration, and device acceleration.
Further, the "converting the corresponding characteristic value into the corresponding configuration in the QoS configuration" specifically includes: the corresponding characteristic value is converted into the corresponding configuration in the traditional QoS configuration, the automatic creation of the class and the corresponding flow behavior are carried out, and the automatic configuration of the whole QoS flow is realized.
In a second aspect, the invention provides an automatic QoS configuration system based on network services, which comprises an acquisition module, a characteristic value extraction module, a mapping module, a storage module, a user operation module and an automatic QoS configuration module;
the acquisition module is used for classifying the network services and collecting interactive data messages corresponding to different network service types according to different network service types;
the characteristic value extraction module is used for extracting the characteristic value of the collected interactive data message;
the mapping module is used for establishing a mapping relation between the network service type and the characteristic value and generating a mapping table;
the storage module is used for presetting a database in the mapping table in equipment;
the user operation module is used for acquiring a configuration item selected by a user and judging the type of the network service to which the configuration item belongs;
the automatic QoS configuration module is used for reading the mapping table, obtaining the characteristic value corresponding to the network service type from the mapping table and converting the corresponding characteristic value into the corresponding configuration in the QoS configuration.
Further, the network traffic types include games, videos, web pages, and applications.
Further, the feature value extraction module specifically includes: and extracting characteristic values of the messages collected in the collection module based on the flow characteristics of the L3 and L4 messages, wherein the characteristic values comprise ip, port, TOS, DSCP and RSVP.
Further, the mapping module specifically includes: and the routing manufacturer binds the characteristic value extracted from the interactive data message of each network service type with the network service type, establishes a mapping relation between the network service type and the characteristic value and generates a mapping table.
Further, the configuration items include: video acceleration, game acceleration, web page acceleration, and device acceleration.
Further, the "converting the corresponding characteristic value into the corresponding configuration in the QoS configuration" specifically includes: and automatically creating classes and corresponding flow behaviors by converting the corresponding characteristic values into corresponding configurations in the traditional QoS configuration, so as to realize the automatic configuration of the whole QoS flow.
In a third aspect, the present invention provides a network device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of the first aspect when executing the program.
The invention has the advantages that: based on QoS configuration of a traditional router or network forwarding equipment, various network service data characteristic values are collected and preset in advance through an equipment manufacturer, when a user needs to configure certain application or a certain equipment is preferred, after preset options are selected and selected directly, a system automatically converts the preset characteristic values into creation classes and corresponding flow behaviors through pre-configuration, so that automatic configuration of the whole QoS process is achieved, the whole configuration operation is simplified, the requirement on configuration users is low, the configuration efficiency is effectively improved, and the user experience is improved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating an implementation of a method for automatically configuring QoS based on network services according to an embodiment of the present invention;
FIG. 2 is a logic block diagram of a second embodiment of the present invention, wherein the system is for automatically configuring QoS based on network services;
fig. 3 is a schematic structural diagram of a network device in a third embodiment of the present invention.
Detailed Description
Example one
Referring to fig. 1, the present invention provides a method for automatically configuring QoS based on network services, which includes the following steps:
s1, classifying network services, and collecting interactive data messages corresponding to different network service types according to different network service types;
s2, extracting characteristic values of the collected interactive data messages;
s3, establishing a mapping relation between the network service type and the characteristic value, and generating a mapping table;
s4, presetting a database in the mapping table in equipment;
s5, obtaining a configuration item selected by a user, and judging the type of the network service of the configuration item;
s6, reading the mapping table, obtaining the characteristic value corresponding to the network service type from the mapping table, and converting the corresponding characteristic value into the corresponding configuration in the QoS configuration.
Preferably, the step S2 specifically includes: and extracting characteristic values of the messages collected in the step S1 based on the flow characteristics of the L3 and L4 messages, wherein the characteristic values include but are not limited to ip, port, TOS (service type), DSCP (differentiated services code point), RSVP (resource reservation protocol) and the like.
Preferably, the network traffic types include games, videos, web pages, and applications.
Preferably, the step S3 specifically includes: and the routing manufacturer binds the characteristic value extracted from the interactive data message of each network service type with the network service type, establishes a mapping relation between the network service type and the characteristic value and generates a mapping table.
Preferably, the configuration items in step S5 include: video acceleration, game acceleration, web page acceleration, and device acceleration.
Preferably, the "converting the corresponding characteristic value into the corresponding configuration in the QoS configuration" specifically includes: and automatically creating classes and corresponding flow behaviors by converting the corresponding characteristic values into corresponding configurations in the traditional QoS configuration, so as to realize the automatic configuration of the whole QoS flow.
For example, when capturing a message corresponding to the royal glory, a device manufacturer finds that 5000-5050 is a port mainly used by the royal glory, 1.2.3.4 is a website of a server, automatically marks the ip and the port as a game network service type, and presets the service type into a database, and when a user selects a game acceleration configuration item, the characteristic values corresponding to the game in a mapping table (the characteristic values at this time include that the ip is 1.2.3.4 and the port is 5000-5050) are configured into the existing QoS function, so that simplified configuration is realized. If the priority of the equipment needs to be configured, the automatic configuration can be realized by directly acquiring the mac value of the equipment into the existing QoS function without table lookup. In the invention, the process of converting the characteristic value into the QoS configuration under the condition of acquiring the characteristic value adopts the existing traditional QoS function, namely the characteristic value is ip based on the existing network protocol regulation (namely four-layer protocol including a physical layer, a data link layer, a network layer and a transmission layer), when the configuration about the ip is established, the characteristic value is the port when the configuration about the port is established, and then the characteristic value is valid to one layer of the four-layer protocol, thereby completing the configuration based on the four-layer protocol.
Example two
As shown in fig. 2, the present invention provides an automatic QoS configuration system based on network services, which includes an acquisition module, a feature value extraction module, a mapping module, a storage module, a user operation module, and an automatic QoS configuration module;
the acquisition module is used for classifying the network services and collecting interactive data messages corresponding to different network service types aiming at different network service types;
the characteristic value extraction module is used for extracting the characteristic value of the collected interactive data message;
the mapping module is used for establishing a mapping relation between the network service type and the characteristic value and generating a mapping table;
the storage module is used for presetting a database of the mapping table in equipment;
the user operation module is used for acquiring a configuration item selected by a user and judging the type of the network service of the configuration item;
the automatic QoS configuration module is used for reading the mapping table, obtaining the characteristic value corresponding to the network service type from the mapping table and converting the corresponding characteristic value into the corresponding configuration in the QoS configuration.
Preferably, the feature value extraction module specifically includes: and extracting characteristic values of the messages collected in the collection module based on the flow characteristics of the L3 and L4 messages, wherein the characteristic values include but are not limited to ip, port, TOS (service type), DSCP (differentiated services code point), RSVP (resource reservation protocol) and the like.
Preferably, the network traffic types include games, videos, web pages, and applications.
Preferably, the mapping module specifically includes: and the routing manufacturer binds the characteristic value extracted from the interactive data message of each network service type with the network service type, establishes a mapping relation between the network service type and the characteristic value and generates a mapping table.
Preferably, the configuration items include: video acceleration, game acceleration, web page acceleration, and device acceleration.
Preferably, the "converting the corresponding characteristic value into the corresponding configuration in the QoS configuration" specifically includes: and automatically creating classes and corresponding flow behaviors by converting the corresponding characteristic values into corresponding configurations in the traditional QoS configuration, so as to realize the automatic configuration of the whole QoS flow.
For example, when capturing a message corresponding to the royal glory, a device manufacturer finds that 5000-5050 is a port mainly used by the royal glory, 1.2.3.4 is a website of a server, automatically marks the ip and the port as a game network service type, and presets the service type into a database, and when a user selects a game acceleration configuration item, the characteristic values corresponding to the game in a mapping table (the characteristic values at this time include that the ip is 1.2.3.4 and the port is 5000-5050) are configured into the existing QoS function, so that simplified configuration is realized. If the priority of the equipment needs to be configured, the automatic configuration can be realized by directly acquiring the mac value of the equipment into the existing QoS function without table lookup. In the invention, the process of converting into QoS configuration under the condition of known characteristic values adopts the existing network protocol specification (namely four-layer protocol including a physical layer, a data link layer, a network layer and a transport layer), when the configuration about ip is established, the characteristic value is ip, when the configuration about port is established, the characteristic value is port, and finally, one layer in the four-layer protocol is regenerated to complete the configuration based on the four-layer protocol.
EXAMPLE III
As shown in fig. 3, the present invention provides a network device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement any one of the embodiments.
The technical scheme provided by the embodiment of the invention at least has the following technical effects or advantages:
the invention collects the characteristic values of different network service data in advance, presets the data to the routing equipment after completing screening and classification, and the routing equipment automatically creates classes and corresponding flow behaviors after simple configuration of a user, thereby reducing the complicated configuration flow of the user. The simple configuration of the user is simple operation of selecting the configuration item (application or appointed equipment (such as Tencent video, royal of King, or appointed certain equipment) with priority) to be accelerated, the routing equipment reads the characteristic value of the corresponding service type in the mapping table according to the selection of the user, and the corresponding automatic call QoS configuration is completed by utilizing the characteristic value, so that the configuration process of the user is greatly simplified, and the user experience is improved.
While specific embodiments of the invention have been described, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, as equivalent modifications and variations as will be made by those skilled in the art in light of the spirit of the invention are intended to be included within the scope of the appended claims.
Claims (10)
1. The method for automatically configuring QoS based on network service is characterized in that: the method comprises the following steps:
s1, classifying network services, and collecting interactive data messages corresponding to different network service types according to different network service types;
s2, extracting characteristic values of the collected interactive data messages;
s3, establishing a mapping relation between the network service type and the characteristic value, and generating a mapping table;
s4, presetting a database in the mapping table in equipment;
s5, obtaining a configuration item selected by a user, and judging the type of the network service of the configuration item;
and S6, reading the mapping table, acquiring a characteristic value corresponding to the network service type from the mapping table, and converting the corresponding characteristic value into corresponding configuration in QoS configuration.
2. The method of claim 1, wherein: the network traffic types include games, videos, web pages, and applications.
3. The method of claim 1, wherein: the step S2 specifically includes: and extracting characteristic values of the messages collected in the step S1 based on the flow characteristics of the L3 and L4 messages, wherein the characteristic values comprise ip, port, TOS, DSCP and RSVP.
4. The method of claim 1, wherein: the step S3 specifically comprises the following steps: and the routing manufacturer binds the characteristic value extracted from the interactive data message of each network service type with the network service type, establishes a mapping relation between the network service type and the characteristic value and generates a mapping table.
5. The method of claim 1, wherein: the configuration items in the step S5 comprise: video acceleration, game acceleration, web page acceleration, and device acceleration.
6. The method of claim 1, wherein: the "converting the corresponding characteristic value into the corresponding configuration in the QoS configuration" specifically includes: the corresponding characteristic value is converted into the corresponding configuration in the traditional QoS configuration, the automatic creation of the class and the corresponding flow behavior are carried out, and the automatic configuration of the whole QoS flow is realized.
7. The automatic configuration QoS system based on network service is characterized in that: the system comprises an acquisition module, a characteristic value extraction module, a mapping module, a storage module, a user operation module and an automatic QoS configuration module;
the acquisition module is used for classifying the network services and collecting interactive data messages corresponding to different network service types aiming at different network service types;
the characteristic value extraction module is used for extracting the characteristic value of the collected interactive data message;
the mapping module is used for establishing a mapping relation between the network service type and the characteristic value and generating a mapping table;
the storage module is used for presetting a database in the mapping table in equipment;
the user operation module is used for acquiring a configuration item selected by a user and judging the type of the network service to which the configuration item belongs;
the automatic QoS configuration module is used for reading the mapping table, obtaining the characteristic value corresponding to the network service type from the mapping table and converting the corresponding characteristic value into the corresponding configuration in the QoS configuration.
8. The system of claim 7, wherein: the configuration items include: video acceleration, game acceleration, web page acceleration, and device acceleration.
9. The system of claim 7, wherein: the "converting the corresponding characteristic value into the corresponding configuration in the QoS configuration" specifically includes: the corresponding characteristic value is converted into the corresponding configuration in the traditional QoS configuration, the automatic creation of the class and the corresponding flow behavior are carried out, and the automatic configuration of the whole QoS flow is realized.
10. A network device, characterized by: comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211224823.3A CN115720191A (en) | 2022-10-09 | 2022-10-09 | Method, system and network equipment for automatically configuring QoS based on network service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211224823.3A CN115720191A (en) | 2022-10-09 | 2022-10-09 | Method, system and network equipment for automatically configuring QoS based on network service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115720191A true CN115720191A (en) | 2023-02-28 |
Family
ID=85253870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211224823.3A Pending CN115720191A (en) | 2022-10-09 | 2022-10-09 | Method, system and network equipment for automatically configuring QoS based on network service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115720191A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101541048A (en) * | 2009-04-03 | 2009-09-23 | 华为技术有限公司 | Service quality control method and network equipment |
CN102711192A (en) * | 2012-04-25 | 2012-10-03 | 中国联合网络通信集团有限公司 | Method and device for processing network service quality and communication system |
US20120314568A1 (en) * | 2011-06-13 | 2012-12-13 | Cellco Partnership | Interoperable quality of service pre-negotiation |
CN102845032A (en) * | 2010-03-31 | 2012-12-26 | 阿尔卡特朗讯公司 | System and method for dynamically adjusting quality of service configuration based on real-time traffic |
CN103401841A (en) * | 2013-07-05 | 2013-11-20 | 西安交通大学 | Method for internetwork mapping on QoS (quality of service) parameters of services in heterogeneous network environment |
CN114357319A (en) * | 2021-12-27 | 2022-04-15 | 腾讯科技(深圳)有限公司 | Network request processing method, apparatus, device, storage medium and program product |
-
2022
- 2022-10-09 CN CN202211224823.3A patent/CN115720191A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101541048A (en) * | 2009-04-03 | 2009-09-23 | 华为技术有限公司 | Service quality control method and network equipment |
CN102845032A (en) * | 2010-03-31 | 2012-12-26 | 阿尔卡特朗讯公司 | System and method for dynamically adjusting quality of service configuration based on real-time traffic |
US20120314568A1 (en) * | 2011-06-13 | 2012-12-13 | Cellco Partnership | Interoperable quality of service pre-negotiation |
CN102711192A (en) * | 2012-04-25 | 2012-10-03 | 中国联合网络通信集团有限公司 | Method and device for processing network service quality and communication system |
CN103401841A (en) * | 2013-07-05 | 2013-11-20 | 西安交通大学 | Method for internetwork mapping on QoS (quality of service) parameters of services in heterogeneous network environment |
CN114357319A (en) * | 2021-12-27 | 2022-04-15 | 腾讯科技(深圳)有限公司 | Network request processing method, apparatus, device, storage medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100480711C (en) | automatic IP traffic optimization in mobile telecommunications system | |
US7477599B2 (en) | System and method for guaranteeing quality of service in IP networks | |
CN101404650B (en) | Method and system for subdividing network application service quality | |
US7336663B2 (en) | Resource reservation protocol substitute reply router, resource reservation protocol substitute reply system and resource reservation protocol substitute reply method used in the same | |
CN103036803A (en) | Flow control method based on application layer detection | |
CN109005126B (en) | Data stream processing method, device and computer-readable storage medium | |
CN112491576B (en) | Network configuration sending method and device, storage medium and electronic device | |
CN106888152B (en) | A message processing method, device and system | |
CN101433051A (en) | Associating hosts with subscriber and service based requirements | |
CN114095388B (en) | Method for exchanging data packet classification identifiers between RTC/RTE equipment and WiFi access point and wireless access point | |
CN102377645A (en) | Exchange chip and realization method thereof | |
CN115720191A (en) | Method, system and network equipment for automatically configuring QoS based on network service | |
CN105099947A (en) | Space network access method and device | |
KR100585934B1 (en) | Dynamic Management of Traffic Controller's Parameter and Service Class Definition Rule Table in Router | |
US8554860B1 (en) | Traffic segmentation | |
Gomes et al. | A framework for SLA establishment of virtual networks based on QoS classes | |
Carella et al. | A network function virtualization framework for network slicing of 5G networks | |
CN107135170A (en) | A kind of high-quality QoS guarantee method of content center network | |
KR100453825B1 (en) | Method for managing resources in guaranteeing QoS in IP network | |
KR100415583B1 (en) | Service Management System and Method for supporting Differentiated Service on the Internet | |
Yang et al. | Enterprise traffic with a differentiated service mechanism | |
CN100477597C (en) | A Method for Realizing Policy Decision and Resource Reservation in WiMAX Network | |
CN116033495B (en) | Service data processing method, equipment and storage medium for user plane function | |
CN119341969A (en) | Data stream forwarding method, system, data routing system and data router | |
CN117176662A (en) | Message transmission method and device |
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 |