Automatic QoS configuration method, system and network equipment based on network services
By classifying network services and extracting their features, a mapping table is established, enabling automated QoS configuration. This solves the problem of ordinary users having difficulty configuring QoS, and improves the configuration efficiency of network devices and the user experience.
Patent Information
- Application Number
- CN202211224823.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-09
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-10-09
AI Technical Summary
In existing technologies, it is difficult for ordinary users to configure QoS through traditional routers or network forwarding devices, especially for the classification and flow behavior creation of important data services, which leads to network bandwidth bottlenecks and service quality degradation.
By classifying network services, collecting interactive data packets, extracting feature values, establishing a mapping table and pre-setting it in the device database, the system automatically completes QoS configuration after the user selects configuration items, simplifying user operations.
It enables automatic QoS configuration without requiring users to manually create classes and flow behavior, improving configuration efficiency and user experience, and enhancing network bandwidth utilization.
Smart Images

Figure CN115720191B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network service identification technology, and in particular to an automatic QoS configuration method, system and network device based on network services. Background Technology
[0002] With the rapid development of network technology, IP networks have transformed from simple data networks to multi-service networks integrating data, voice, video, and gaming. The amount of data carried by the network is increasing exponentially, and these services place extremely high demands on network bandwidth and latency. Meanwhile, due to the difficulty, long development cycle, and high cost of hardware chip development, bandwidth has gradually become a bottleneck for internet development, leading to network congestion, packet loss, decreased service quality, and in severe cases, even service unavailability.
[0003] QoS technology itself does not increase network bandwidth. Rather, it addresses the challenge of allocating bandwidth equitably to various services within limited bandwidth resources, providing end-to-end quality of service guarantees to meet the diverse needs of each service. Current traditional router or network forwarding device QoS configurations are mostly based on the flow characteristics of L3 and L4 packets for identification and priority marking, such as based on IP (Internet Protocol) and TCP / UDP (User Datagram Protocol) ports. The entire configuration process requires creating classes and corresponding flow behaviors, selecting queue scheduling algorithms and congestion management methods, etc., which is not user-friendly for ordinary users without relevant skills or knowledge. When classifying important data services, ordinary users often only focus on prioritizing certain application data, such as games, web pages, or videos, making it impossible for them to complete the necessary configurations. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an automatic QoS configuration method, system and network device based on network services, which can automatically complete the corresponding QoS configuration according to the user's selection through a mapping table without the need for the user to manually create classes and flow behaviors, thus simplifying the user's configuration process.
[0005] In a first aspect, the present invention provides an automatic QoS configuration method based on network services, comprising the following steps:
[0006] S1. Classify network services and collect interactive data packets corresponding to different network service types.
[0007] S2. Extract feature values from the collected interactive data messages;
[0008] S3. Establish the mapping relationship between network service types and feature values, and generate a mapping table;
[0009] S4. Pre-configure the database of the mapping table in the device;
[0010] S5. Obtain the configuration item selected by the user and determine the network service type to which the configuration item belongs;
[0011] S6. Read the mapping table, obtain the feature value corresponding to the network service type, and convert the corresponding feature value into the corresponding configuration in the QoS configuration.
[0012] Furthermore, the network service types include games, videos, web pages, and applications.
[0013] Furthermore, step S2 specifically includes: extracting feature values from the packets collected in step S1 based on the flow characteristics of L3 and L4 packets, wherein the feature values include IP, port, TOS, DSCP and RSVP.
[0014] Furthermore, step S3 specifically involves: the routing vendor binding the feature values extracted from the interactive data packets of each network service type with the network service type, establishing a mapping relationship between the network service type and the feature values, and generating a mapping table.
[0015] Furthermore, the configuration items in step S5 include: video acceleration, game acceleration, webpage acceleration, and device acceleration.
[0016] Furthermore, the phrase "converting the corresponding feature value to the corresponding configuration in the QoS configuration" specifically means: by converting the corresponding feature value to the corresponding configuration in the traditional QoS configuration, automatically creating classes and corresponding flow behaviors, and realizing the automatic configuration of the entire QoS process.
[0017] Secondly, the present invention provides an automatic QoS configuration system based on network services, including a collection module, a feature value extraction module, a mapping module, a storage module, a user operation module, and an automatic QoS configuration module;
[0018] The acquisition module is used to classify network services and collect interactive data packets corresponding to different network service types.
[0019] The feature extraction module is used to extract feature values from the collected interactive data messages;
[0020] The mapping module is used to establish the mapping relationship between network service types and feature values, and generate a mapping table;
[0021] The storage module is used to pre-configure the mapping table in the device database;
[0022] The user operation module is used to obtain the configuration item selected by the user and determine the network service type to which the configuration item belongs;
[0023] The automatic QoS configuration module is used to read the mapping table, obtain the feature value corresponding to the network service type, and convert the corresponding feature value into the corresponding configuration in the QoS configuration.
[0024] Furthermore, the network service types include games, videos, web pages, and applications.
[0025] Furthermore, the feature extraction module specifically includes: extracting feature values from the packets collected in the acquisition module based on the flow features of L3 and L4 packets, wherein the feature values include IP, port, TOS, DSCP, and RSVP.
[0026] Furthermore, the mapping module specifically involves: the routing vendor binding the feature values extracted from the interactive data packets of each network service type with the network service type, establishing a mapping relationship between the network service type and the feature values, and generating a mapping table.
[0027] Furthermore, the configuration items include: video acceleration, game acceleration, webpage acceleration, and device acceleration.
[0028] Furthermore, the phrase "converting the corresponding feature value to the corresponding configuration in the QoS configuration" specifically means: by converting the corresponding feature value to the corresponding configuration in the traditional QoS configuration, automatically creating classes and corresponding flow behaviors, and realizing the automatic configuration of the entire QoS process.
[0029] Thirdly, the present invention provides a network device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect.
[0030] The advantages of this invention are as follows: Based on the QoS configuration of traditional routers or network forwarding devices, various network service data feature values are collected and pre-set by the device manufacturer in advance. When the user needs to configure a certain type of application or a certain device priority, after directly selecting the preset option, the system automatically converts the pre-configured feature values into the creation class and the corresponding flow behavior, thereby realizing the automatic configuration of the entire QoS process, simplifying the entire configuration operation, reducing the requirements for configuration users, effectively improving configuration efficiency, and enhancing user experience. Attached Figure Description
[0031] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0032] Figure 1This is an execution flowchart of an automatic QoS configuration method based on network services in Embodiment 1 of the present invention;
[0033] Figure 2 This is a logical block diagram of an automatic QoS configuration system based on network services in Embodiment 2 of the present invention;
[0034] Figure 3 This is a schematic diagram of the structure of a network device according to Embodiment 3 of the present invention. Detailed Implementation
[0035] Example 1
[0036] See also Figure 1 This invention provides an automatic QoS configuration method based on network services, comprising the following steps:
[0037] S1. Classify network services and collect interactive data packets corresponding to different network service types.
[0038] S2. Extract feature values from the collected interactive data messages;
[0039] S3. Establish the mapping relationship between network service types and feature values, and generate a mapping table;
[0040] S4. Pre-configure the database of the mapping table in the device;
[0041] S5. Obtain the configuration item selected by the user and determine the network service type to which the configuration item belongs;
[0042] S6. Read the mapping table, obtain the feature value corresponding to the network service type, and convert the corresponding feature value into the corresponding configuration in the QoS configuration.
[0043] Preferably, step S2 specifically includes: extracting feature values from the packets collected in step S1 based on the flow characteristics of L3 and L4 packets. The feature values include, but are not limited to, IP address, port, TOS (Type of Service), DSCP (Differentiated Code Point of Service), RSVP (Resource Reservation Protocol), etc.
[0044] Preferably, the network service types include games, videos, web pages, and applications.
[0045] Preferably, step S3 specifically involves: the routing vendor binding the feature values extracted from the interactive data packets of each network service type with the network service type, establishing a mapping relationship between the network service type and the feature values, and generating a mapping table.
[0046] Preferably, the configuration items in step S5 include: video acceleration, game acceleration, webpage acceleration, and device acceleration.
[0047] Preferably, the "converting the corresponding feature value to the corresponding configuration in the QoS configuration" specifically means: by converting the corresponding feature value to the corresponding configuration in the traditional QoS configuration, automatically creating the class and the corresponding flow behavior, and realizing the automatic configuration of the entire QoS process.
[0048] For example, when equipment manufacturers capture packets related to Honor of Kings, they find that Honor of Kings mainly uses ports 5000-5050 and the server address is 1.2.3.4. These IPs and ports are automatically marked as game network service types and pre-set in the database. When a user selects the game acceleration configuration option, the system can read the game's corresponding feature values from the mapping table (which include IPs 1.2.3.4 and ports 5000-5050) and configure these feature values into the existing QoS function, thus simplifying the configuration. If device priority needs to be configured, there is no need to look up a table; the device's MAC address can be directly obtained and automatically configured into the existing QoS function. In this invention, the process of converting feature values into QoS configurations uses existing traditional QoS functions, based on existing network protocol specifications (including the physical layer, data link layer, network layer, and transport layer). When establishing IP-related configurations, the feature value is the IP address; when establishing port-related configurations, the feature value is the port address. The configuration is then applied to one of the four protocol layers, thus completing the configuration based on these four layers.
[0049] Example 2
[0050] like Figure 2 As shown, the present invention provides an automatic QoS configuration system based on network services, including a data acquisition module, a feature extraction module, a mapping module, a storage module, a user operation module, and an automatic QoS configuration module;
[0051] The acquisition module is used to classify network services and collect interactive data packets corresponding to different network service types.
[0052] The feature extraction module is used to extract feature values from the collected interactive data messages;
[0053] The mapping module is used to establish the mapping relationship between network service types and feature values, and generate a mapping table;
[0054] The storage module is used to pre-configure the mapping table in the device database;
[0055] The user operation module is used to obtain the configuration item selected by the user and determine the network service type to which the configuration item belongs;
[0056] The automatic QoS configuration module is used to read the mapping table, obtain the feature value corresponding to the network service type, and convert the corresponding feature value into the corresponding configuration in the QoS configuration.
[0057] Preferably, the feature extraction module specifically includes: extracting feature values from the packets collected in the acquisition module based on the flow characteristics of L3 and L4 packets. The feature values include, but are not limited to, IP address, port, TOS (Type of Service), DSCP (Differentiated Service Code Point), RSVP (Resource Reservation Protocol), etc.
[0058] Preferably, the network service types include games, videos, web pages, and applications.
[0059] Preferably, the mapping module specifically involves: the routing vendor binding the feature values extracted from the interactive data packets of each network service type with the network service type, establishing a mapping relationship between the network service type and the feature values, and generating a mapping table.
[0060] Preferably, the configuration items include: video acceleration, game acceleration, webpage acceleration, and device acceleration.
[0061] Preferably, the "converting the corresponding feature value to the corresponding configuration in the QoS configuration" specifically means: by converting the corresponding feature value to the corresponding configuration in the traditional QoS configuration, automatically creating the class and the corresponding flow behavior, and realizing the automatic configuration of the entire QoS process.
[0062] For example, when equipment manufacturers capture packets related to Honor of Kings, they discover that Honor of Kings primarily uses ports 5000-5050 and the server address is 1.2.3.4. These IPs and ports are automatically marked as game network service types and pre-set in the database. When a user selects the game acceleration configuration option, the system can read the game's corresponding feature values from the mapping table (which include IPs 1.2.3.4 and ports 5000-5050) and configure these feature values into the existing QoS function, thus simplifying the configuration. If device priority needs to be configured, there is no need to look up a table; the device's MAC address can be directly obtained and automatically configured into the existing QoS function. In this invention, the process of converting known feature values into QoS configuration follows existing network protocol specifications (i.e., including the physical layer, data link layer, network layer, and transport layer). When establishing IP-related configurations, the feature value is the IP address; when establishing port-related configurations, the feature value is the port address. Finally, the configuration is applied to one of the four layers of the protocol, completing the configuration based on these four layers.
[0063] Example 3
[0064] like Figure 3The present invention provides a network device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any of the embodiments in Embodiment 1.
[0065] The technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0066] This invention pre-collects characteristic values of different network service data, filters and classifies them, and pre-installs the data into the routing device. After simple user configuration, the routing device automatically creates classes and corresponding flow behaviors, reducing the cumbersome configuration process for users. The simplified user configuration of this invention involves a simple operation of selecting the desired acceleration configuration item (application or specified device (such as Tencent Video, Honor of Kings, etc., or specifying a particular device)). The routing device then reads the characteristic values of the corresponding service type from the mapping table based on the user's selection and uses these characteristic values to complete the corresponding automatic QoS configuration, greatly simplifying the user's configuration process and improving the user experience.
[0067] While specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and not intended to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. An automatic QoS configuration method based on network services, characterized in that: It includes the following steps: S1. Classify network services and collect interactive data packets corresponding to different network service types. S2. Extract feature values from the collected interactive data packets; Step S2 specifically includes: extracting feature values from the packets collected in Step S1 based on the flow features of L3 and L4 packets, wherein the feature values include ip, port, TOS, DSCP and RSVP; S3. Establish a mapping relationship between network service types and feature values, and generate a mapping table; Specifically, step S3 is as follows: the routing vendor binds the feature values extracted from the interactive data packets of each network service type to the network service type, establishes a mapping relationship between network service types and feature values, and generates a mapping table. S4. Pre-configure the database of the mapping table in the routing device; S5. Obtain the configuration items selected by the user and determine the network service type to which the configuration items belong; the configuration items in step S5 include: video acceleration, game acceleration, web page acceleration, and device acceleration; S6. Read the mapping table, obtain the feature value corresponding to the network service type, and convert the corresponding feature value into the corresponding configuration in the QoS configuration.
2. The method as described in claim 1, characterized in that: The types of network services include games, videos, web pages, and applications.
3. The method as described in claim 1, characterized in that: The phrase "converting the corresponding feature value to the corresponding configuration in the QoS configuration" specifically means: by converting the corresponding feature value to the corresponding configuration in the traditional QoS configuration, automatically creating the class and the corresponding flow behavior, and realizing the automatic configuration of the entire QoS process.
4. An automatic QoS configuration system based on network services, characterized in that: It includes a data acquisition module, a feature extraction module, a mapping module, a storage module, a user operation module, and an automatic QoS configuration module; The acquisition module is used to classify network services and collect interactive data packets corresponding to different network service types. The feature extraction module is used to extract feature values from the collected interactive data messages; The feature extraction module specifically includes: extracting feature values from the packets collected in the acquisition module based on the flow features of L3 and L4 packets. The feature values include IP, port, TOS, DSCP, and RSVP. The mapping module is used to establish a mapping relationship between network service types and feature values, and generate a mapping table. Specifically, the mapping module involves the routing vendor binding the feature values extracted from the interactive data packets of each network service type with the network service type, establishing a mapping relationship between network service types and feature values, and generating a mapping table. The storage module is used to pre-configure the database of the mapping table in the routing device; The user operation module is used to obtain the configuration items selected by the user and determine the network service type to which the configuration items belong; the configuration items include: video acceleration, game acceleration, web page acceleration and device acceleration; The automatic QoS configuration module is used to read the mapping table, obtain the feature value corresponding to the network service type, and convert the corresponding feature value into the corresponding configuration in the QoS configuration.
5. The system as described in claim 4, characterized in that: The configuration options include: video acceleration, game acceleration, webpage acceleration, and device acceleration.
6. The system as described in claim 4, characterized in that: The phrase "converting the corresponding feature value to the corresponding configuration in the QoS configuration" specifically means: by converting the corresponding feature value to the corresponding configuration in the traditional QoS configuration, automatically creating the class and the corresponding flow behavior, and realizing the automatic configuration of the entire QoS process.
7. A network device, characterized in that: The invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the program, implements the method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Method and device for processing network service quality and communication system
CN102711192A