Router and package transmission method
Patent Information
- Application Number
- TW113149112
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2026-10-21
- Estimated Expiration
- 2044-12-16
AI Technical Summary
Traditional QoS management in wireless networks is prone to prioritization issues due to incorrect user-defined priorities, which negatively impact network data transmission performance.
A router equipped with a network interface module, packet type determination module, and priority control module, utilizing artificial intelligence to determine network packet priorities based on data type, ensuring accurate transmission control.
Solves priority confusion by determining packet priorities based on data type, thereby enhancing overall network data transmission performance.
Smart Images

Figure TWG2TB001917003_001 
Figure TWG2TB001917003_002 
Figure TWG2TB001917003_003
Abstract
Description
Technical Field
[0001] This case relates to the technical field of network communication, and in particular to a router and a method for transmitting network packets. Prior Technology
[0002] Quality of Service (QoS) management in wireless networks is crucial for improving the user experience. It sets different priorities for different users or different data streams to ensure that the overall network data transmission performance reaches a certain level.
[0003] Traditionally, service quality management priorities are defined by the user. However, this approach is prone to prioritization issues due to incorrect user definitions, which can negatively impact overall network data transmission performance. Summary of the Invention
[0004] This invention provides a router suitable for connecting to a terminal device. The router includes a network interface module, a packet type determination module, and a priority control module. The network interface module is adapted to receive network packets from the terminal device. The packet type determination module is adapted to determine the priority of the network packets based on the data type of the network packets. The priority control module is adapted to perform transmission control on the network packets based on the determined priority.
[0005] This invention also provides a network packet transmission method applicable to a router, which is adapted to connect to a terminal device. This network packet transmission method includes the following steps: First, the router receives a network packet from the terminal device. Then, the router determines the priority of the network packet based on its data type. Finally, the router performs transmission control on the network packet according to the determined priority.
[0006] The router and network packet transmission method provided in this case can determine the priority of network packets based on the data type of the network packets and then perform transmission control. In this way, the problem of priority confusion caused by incorrect definition by the user end can be solved, and the overall network data transmission performance can be ensured. Simple Explanation of the Diagram
[0007] The first figure is a schematic diagram of a router provided according to an embodiment of this case; The second figure is a flowchart of a network packet transmission method provided according to an embodiment of this case; The third figure is a schematic diagram of a router provided according to another embodiment of this case; and Figure 4 is a flowchart of a network packet transmission method provided according to another embodiment of this case. Implementation
[0008] The specific implementation methods of this case will be described in more detail below with reference to the schematic diagrams. The advantages and features of this case will become clearer based on the following description and the scope of the patent application. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of this case.
[0009] The first figure is a schematic diagram of a router 100 provided according to an embodiment of this case.
[0010] This router 100 is a network device adapted to connect to a terminal device 20 (e.g., a computer) to connect the terminal device 20 to other networks.
[0011] As shown in the figure, this router 100 includes a network interface module 120, a packet type determination module 140, a priority control module 160, and an artificial intelligence model 180.
[0012] The network interface module 120 is adapted to receive network packets P1 from one of the terminal devices 20 and can transmit the network packets P1 outward according to a determined priority, for example, to other networks.
[0013] The packet type determination module 140 is adapted to determine the priority of network packet P1 based on the data type of network packet P1. In one embodiment, the packet type determination module 140 can use the artificial intelligence model 180 to determine the data type of network packet P1, and then determine its priority. In one embodiment, the router 100 may include a processing unit 110 with edge computing capabilities, which can directly use artificial intelligence functions to classify network packet P1 on the router 100. In another embodiment, the artificial intelligence model 180 may be integrated into this processing unit 110.
[0014] In one embodiment, the artificial intelligence model 180 may be a classification model trained to classify network packets P1 to generate priorities, which can classify network packets P1 according to the data category of network packets P1.
[0015] For example, AI model 180 can categorize network packets P1 into four types based on their data type: voice, video, best effort, and background. Voice and video packets, among others, are given high priority for latency-sensitive network packets; best effort packets are given moderate priority; and background packets are given low priority. Examples of best effort packets include those generated by web browsing and file downloading applications, while examples of background packets include those generated by background downloads or file transfers.
[0016] The packet type determination module 140 can use the classification data generated by the artificial intelligence model 180 based on the data category of network packet P1 to determine the priority of network packet P1. In one embodiment, the packet type determination module 140 may be provided with transmission policy data D1, which includes multiple data categories and corresponding priority setting data. After determining the data category of network packet P1, the packet type determination module 140 can use the transmission policy data D1 to determine the priority of this network packet P1.
[0017] After the packet type determination module 140 determines the priority of network packet P1, the priority control module 160 can control the transmission of network packet P1 according to the priority determined by the packet type determination module 140. For example, the priority control module 160 will move the high-priority network packet P1 to a dedicated queue for faster data transmission. The high-priority network packet P1 will first obtain the guaranteed transmission bandwidth, and if there is any remaining bandwidth, it will be allocated to the normal-priority and low-priority network packets P1 in sequence.
[0018] The second figure is a flowchart of a network packet transmission method provided according to an embodiment of this invention. This network packet transmission method is applicable to the router 100 shown in the first figure and includes the following steps.
[0019] First, as described in step S220, the router 100 receives network packet P1 from one of the terminal devices 20. This step can be performed by the network interface module 120 in the first figure.
[0020] Subsequently, as described in step S240, the router 100 determines the priority of network packet P1 based on the data type of network packet P1. This step can be performed by the packet type determination module 140 in the first figure in conjunction with the artificial intelligence model 180. This artificial intelligence model 180 can be a classification model trained to classify network packet P1 to generate priorities, which can classify network packet P1 according to the data type of network packet P1.
[0021] For example, the artificial intelligence model 180 can classify network packets P1 into four categories based on their data type: voice, video, best effort, and background. Among these, voice and video packets are given high priority for latency-sensitive network packets, best effort packets are given normal priority, and background packets are given low priority.
[0022] Then, as described in step S260, the router 100 performs transmission control on network packet P1 according to the confirmed priority. This step can be performed by the priority control module 160 in the first figure. For example, the priority control module 160 can first guarantee the transmission bandwidth of high-priority network packet P1, and if there is remaining bandwidth, it can then be allocated to network packets P1 with normal priority and low priority.
[0023] The third figure is a schematic diagram of a router 300 provided according to another embodiment of this case.
[0024] Similar to router 100 in the first figure, this router 300 also includes a network interface module 320, a packet type determination module 340, a priority control module 360, and an artificial intelligence model 380. However, the packet type determination module 140 of router 300 in this embodiment differs from that of router 100 in the first figure.
[0025] Compared to the packet type determination module 140 of the router 100 in the first figure, the packet type determination module 340 in this embodiment includes a first determination unit 342 and a second determination unit 344, which determine the type of network packet P1 in stages.
[0026] The first judgment unit 342 and the second judgment unit 344 employ different judgment principles. The first judgment unit 342 is adapted to read the feature code CP of network packet P1 to confirm the priority of network packet P1, while the second judgment unit 344 is adapted to use an artificial intelligence model 380 to classify network packet P1 according to its data category to confirm its priority. This artificial intelligence model 380 can be a classification model trained to classify network packets P1 to generate priorities.
[0027] In one embodiment, after the network interface module 320 receives network packet P1 and transmits it to the packet type determination module 340, the first determination unit 342 will first make a determination. The first determination unit 342 will read the feature code CP to confirm the priority of network packet P1. If the first determination unit 342 cannot confirm the priority, for example, if network packet P1 does not have the feature code CP, the second determination unit 344 will use the artificial intelligence model 380 to classify network packet P1 to confirm the priority.
[0028] Generally, this feature code CP can be set by the terminal device 20 within the network packet P1 when it is generated, indicating its priority. In one embodiment, the terminal device 20 can set the priority of the network packet P1 by setting the feature code CP within the network packet P1 according to the type of software program that generates the network packet P1.
[0029] After the packet type determination module 340 determines the priority of network packet P1, the priority control module 360 can control the transmission of network packet P1 according to the priority determined by the packet type determination module 340.
[0030] In the aforementioned embodiment, the first judgment unit 342 first determines the priority of network packet P1 based on the feature code CP, and if the priority cannot be determined, the second judgment unit 344 then determines the priority. That is, the packet type judgment module 340 does not need to classify all network packets P1 according to the data type using the artificial intelligence model 380, but only needs to classify network packets P1 that do not have the feature code CP, which can effectively reduce the amount of computation. However, this invention is not limited to this. In other embodiments, the packet type judgment module 340, in addition to using the first judgment unit 342 to determine the priority of network packet P1 based on the feature code CP, also uses the second judgment unit 344 to classify the data type of network packet P1 to determine the priority of network packet P1, and determines the final priority based on the judgment results of the first judgment unit 342 and the second judgment unit 344.
[0031] Figure 4 is a flowchart of a network packet transmission method provided according to another embodiment of this invention. This network packet transmission method is applicable to the router 300 shown in Figure 3 and includes the following steps.
[0032] First, as described in step S420, the router 300 receives network packet P1 from one of the terminal devices 20. This step can be performed by the network interface module 320 in the third figure.
[0033] Subsequently, as described in step S442, it is confirmed whether network packet P1 has a feature code CP indicating its priority. If so, the process proceeds to step S444, where the feature code CP is read to confirm the priority of network packet P1. The aforementioned steps S442 and S444 can be executed by the first judgment unit 342 in the third figure.
[0034] If not, the process proceeds to step S446, where an artificial intelligence model 380 is used to classify network packets P1 to determine their priority. This step can be performed by the second decision unit 344 in the third diagram.
[0035] Then, as described in step S460, the router 300 performs transmission control on network packet P1 according to the confirmed priority. This step can be performed by the priority control module 360 in the third figure.
[0036] In this embodiment, the first judgment unit 342 first determines the priority of network packet P1 based on the feature code CP, and the second judgment unit 344 determines the priority only when the priority cannot be determined. This eliminates the need to classify all network packets P1 using the artificial intelligence model 380, effectively reducing computational load. However, this embodiment is not limited to this. In other embodiments, the first judgment unit 342 and the second judgment unit 344 can be used together to generate two priority data sets, and then the priority of network packet P1 can be determined according to a preset principle. This preset principle prioritizes the judgment result of the second judgment unit 344. Furthermore, in other embodiments, the network packet P1 and the feature code CP from the first judgment unit 342 can be used as training data to train the classification model used by the second judgment unit 344.
[0037] In summary, the routers 100 and 300 and the network packet P1 transmission method provided in this case can determine the priority of network packet P1 based on the data type of network packet P1 and then perform transmission control. In this way, the problem of priority confusion caused by incorrect definition by the user end can be solved, and the overall network data transmission performance can be ensured.
[0038] The above are merely preferred embodiments of this case and do not limit the scope of this case in any way. Any equivalent substitutions or modifications made by those skilled in the art to the technical means and content disclosed in this case without departing from the scope of the technical means of this case shall be deemed to have remained within the scope of protection of this case.
[0039] 20: Terminal device 100, 300: Router 110: Processing Unit 120, 320: Network Interface Module 140,340: Packet type determination module 160, 360: Priority control module 180,380: Artificial Intelligence Model 342: First Judgment Unit 344: Second Judgment Unit P1: Network packet D1: Transmission Strategy Data CP: Feature Code S220, S240, S260, S420, S442, S444, S446, S460: Steps
Claims
1. A router adapted to connect to a terminal device, the router comprising: a network interface module adapted to receive a network packet from the terminal device; a packet type determination module adapted to determine the priority of the network packet based on the data type of the network packet; and a priority control module adapted to perform transmission control on the network packet based on the determined priority, wherein... The packet type determination module includes a first determination unit and a second determination unit. The first determination unit is adapted to read a feature code to confirm the priority of the network packet. The second determination unit is adapted to classify the network packet using an artificial intelligence model to confirm the priority. The artificial intelligence model is a classification model trained to classify network packets according to the data category of the network packet to generate the priority. After the network interface module receives the network packet, the first determination unit reads the feature code to confirm the priority of the network packet. When the first determination unit cannot confirm the priority, the second determination unit uses the artificial intelligence model to classify the network packet to confirm the priority. The packet type determination module further includes transmission policy data, which includes multiple data categories and corresponding multiple priority setting data. The first determination unit uses the transmission policy data to confirm the priority of the network packet.
2. The router as described in request item 1, wherein, The terminal device is suitable for setting the feature code within the network packet.
3. The router as described in request item 1, wherein, The terminal device is adapted to set the feature code of the network packet to indicate the priority of the network packet according to the type of software program that generates the network packet.
4. A network packet transmission method, applicable to a router adapted to connect to a terminal device, the network packet transmission method comprising: receiving a network packet from the terminal device using the router; and determining the priority of the network packet based on the data type of the network packet using the router, comprising: reading a signature to determine the priority of the network packet, wherein, The artificial intelligence model is a classification model that has been trained to classify network packets according to the data category in order to generate the priority. If the priority of the network packet cannot be determined using the signature, an artificial intelligence model is used to classify the network packet to determine the priority; and the router is used to control the transmission of the network packet based on the determined priority.
5. The network packet transmission method as described in claim 4, wherein, The terminal device is suitable for setting the feature code within the network packet.
6. The network packet transmission method as described in claim 4, wherein, The terminal device is adapted to set the feature code of the network packet to indicate the priority of the network packet according to the type of software program that generates the network packet.
Citation Information
Patent Citations
Device, system and method for providing storage resource
TW202145767A
Methods and Apparatuses for Policing and Prioritizing of Data Services
US20110083175A1
Customized classification of host bound traffic
US20110228793A1
Scheduling packet transmission on a client device using packet classifications including high priority network control packets
US20130201996A1
Using cascaded detectors for prioritizing and optimizing data exports
US20240333732A1
