A method and system for accelerating a wireless terminal
By setting up wireless terminal acceleration in the gateway, updating data tables and service pools, and prioritizing adaptation in the adaptation layer and driver layer, the priority processing problem of low traffic and low latency services is solved, and the data forwarding and interactive experience of wireless terminals is improved.
Patent Information
- Application Number
- CN202211024192.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-08-24
AI Technical Summary
In the prior art, the gateway's traffic equalization mechanism cannot effectively handle low traffic and low latency services, which affects the user's networking experience.
By setting up all services or several service accelerations for wireless terminals, updating data tables and service pools, and prioritizing adaptation in the adaptation layer and wireless driver layers, combining pre-configured acceleration templates or designated wireless terminal acceleration, the transmission priority of specific users or users' specific data is increased.
It realizes priority processing of low traffic and low latency services, improves the data forwarding and interactive experience of wireless terminals, has a wide range of adaptability, strong compatibility, and supports manual configuration and dynamic modification.
Smart Images

Figure CN115442827B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and particularly to a method and system for accelerating wireless terminals. Background Art
[0002] Currently, wireless data packets of gateways are all controlled for packet sending through VI, VO, BE, and BK queues. At the same time, the current mainstream adopts a time competition fairness mechanism to balance the traffic of multiple terminals, ensuring that the traffic bandwidth of the gateway will not be completely preempted by the services of a certain terminal.
[0003] Currently, except for a few real-time protocols with a high sending priority, other network protocols all perform packet sending processing with the BE priority. At the same time, the current mainstream time competition fairness mechanism mainly targets business terminals with large traffic. Therefore, for service data packets such as games that require small traffic and small latency, they cannot be preferentially forwarded under the above rules, which will seriously affect the user's Internet connection experience. Summary of the Invention
[0004] To solve the technical problem in the prior art that some services with small latency and small traffic need to be preferentially forwarded, the present invention provides a method and system for accelerating wireless terminals.
[0005] A method for accelerating a wireless terminal according to the present invention includes the following steps:
[0006] S1: Set all services of the wireless terminal or accelerate several of the services of the wireless terminal;
[0007] S2: Update the data table and service pool, and then send the newly configured wireless terminal information and priority to the adaptation layer;
[0008] S3: The adaptation layer adapts the priority of the wireless terminal according to the obtained MAC of the wireless terminal and the corresponding priority, and sends it to the wireless driver layer. The wireless driver layer updates the sending priorities of several accelerated services or all services of the wireless terminal.
[0009] In a further improvement of the present invention, in step S2, a matching timing detection operation is set to perform an update operation periodically. The method for accelerating the wireless terminal further includes step S4: When the matching period arrives, traverse and obtain the entries in the service pool. If the entry has been set with a priority, the priority configuration will not be repeated.
[0010] In a further improvement of the present invention, step S4 further includes: determining whether all services of the wireless terminal set for acceleration or several services of the wireless terminal for acceleration are online. If so, perform normal acceleration. If not, delete the wireless terminal or service entry in the data packet and service pool.
[0011] For further improvement of the present invention, if several acceleration services of the wireless terminal are all offline and the wireless terminal is online, the priority of the wireless terminal is adjusted to the normal level and no acceleration processing is performed.
[0012] For further improvement of the present invention, the data table includes a MAC-IP table, a connection table, an ARP table, and a connection tracking table, and the service pool includes a service IP pool and a service MAC pool.
[0013] For further improvement of the present invention, the processing method for full-service acceleration of a wireless terminal is set as follows:
[0014] (1) After connecting to the wireless terminal, the wireless acceleration page displays the associated wireless terminal list.
[0015] (2) Select the wireless terminal to be accelerated and send it to the server.
[0016] (3) After the server receives the data, it stores it in the service MAC pool database table in the database, and notifies the acceleration matching process when there is data update.
[0017] (4) After the acceleration matching process receives the update signal, it updates the service MAC pool. When the acceleration condition is met, it assembles the data with the MAC of the current device in the highest priority manner and sends it to the adaptation layer.
[0018] For further improvement of the present invention, in step S3, after the adaptation layer parses the data, it sends the MAC and pri information of the wireless terminal to the wireless driver layer.
[0019] The wireless driver layer obtains the MAC of the wireless terminal device to be set and the corresponding set priority by parsing the message. The driver searches for the terminal information corresponding to the MAC by traversing the current associated terminal list and modifies its sending priority.
[0020] For further improvement of the present invention, after the terminal goes offline, the information of the offline terminal is no longer displayed in the associated wireless terminal list. The ARP table will refresh the online status of the wireless terminal. When the matching period comes again, it traverses to obtain the MAC in the service MAC pool. If it is found in the ARP table that the corresponding device MAC is offline, the corresponding MAC entry information in the service MAC pool will be deleted, and the driver automatically deletes the information structure of the offline wireless terminal.
[0021] For further improvement of the present invention, the acceleration of several services of the wireless terminal is realized through a pre-configured acceleration template file, and its specific processing method is as follows:
[0022] (1) Periodically query the existence information of devices in the ARP table, and update the MAC-IP table according to the MAC and IP information.
[0023] (2) Periodically query the acceleration template file information, and update the service IP pool information according to the domain name information and IP information;
[0024] (3) Periodically query the connection tracking table information, update the connection table information according to the protocol type and the sending and receiving address information. If the destination IP in the connection table is the same as the IP in the service IP, it means that there is a target service. Then, use the source IP in the connection tracking table entry to query the corresponding device MAC information in the MAC-IP table; [[ID=!5]]
[0025] (4) Assemble the data with the MAC of the current device in the highest priority manner and send it to the adaptation layer.
[0026] The present invention also provides a system for implementing the method for accelerating the wireless terminal, including:
[0027] Configuration module: used to configure the acceleration template or accelerate terminal selection. Among them, the acceleration template is used to set several services that need to be accelerated in the wireless terminal, and the accelerate terminal selection is used to set the wireless terminals that need to accelerate all services;
[0028] Matching acceleration layer: used to update the data table and service pool according to the configuration information of the configuration module, and then send the newly configured wireless terminal information and priority to the adaptation module;
[0029] Adaptation layer: used to adapt the priority of the wireless terminal according to the obtained MAC of the wireless terminal and the corresponding priority;
[0030] Wireless driver layer: used to update the sending priorities of several accelerated services or all services of the wireless terminal according to the adaptation information of the adaptation module.
[0031] Compared with the prior art, the beneficial effects of the present invention are as follows: The existing terminal traffic balancing mechanism is only applicable to the terminal large traffic scenario, and cannot solve the priority processing of services that require low traffic and low latency, which greatly affects the user interaction experience in the multi-user scenario; The present invention can effectively improve the sending priorities of specific users or specific user data by pre-configuring the acceleration template or specifying the wireless terminal to accelerate, thereby improving the data forwarding and data interaction experience of the wireless terminal.
[0032] Through two acceleration methods, all service acceleration requirements of the wireless terminal are covered, with strong compatibility and wide adaptability. Among them, the advantages of the specified wireless terminal acceleration method are:
[0033] 1. Accelerate all services in units of terminals. That is, as long as the terminal acceleration is selected, all services on this terminal will be preferentially sent and processed compared to other terminals;
[0034] 2. Support manual configuration on the user page to accelerate the target terminal specifically.
[0035] Advantages of the preset acceleration template effective acceleration method:
[0036] 1. Accelerate by matching the services of the terminal, that is, the transmission acceleration process of the terminal will only be performed when the preset template service is matched. If the terminal does not perform the corresponding template service, it will return to the default data transmission priority;
[0037] 2. There is no need for users to manually configure. The AP decides whether to accelerate the terminal according to the services of the terminal;
[0038] 3. The acceleration template can be dynamically modified to take effect without version modification, which is convenient for the expansion of the acceleration template. Brief Description of the Drawings
[0039] In order to more clearly illustrate the solutions in the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0040] Figure 1 It is the flowchart of the method of the present invention;
[0041] Figure 2 It is the schematic diagram of the interaction of each module of the present invention. Detailed Embodiments
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art belonging to the technical field of the present application; the terms used in the description of the present application in the specification are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above description of the drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of the present application or the above drawings are used to distinguish different objects and not to describe a specific order.
[0043] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0044] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings.
[0045] In order to shorten the communication interaction time of data services with small traffic and small latency and improve the communication speed of such services, this invention sets up acceleration on APs such as gateways to achieve service acceleration for network terminals connected thereto.
[0046] In addition to being applied to gateways, this example can also be applied to network devices such as routers, switches, and MPPs that connect several wireless terminals.
[0047] As Figure 1 shown, the method for accelerating wireless terminals in this example includes the following steps:
[0048] S1: Set all services of the wireless terminal or accelerate several of the services of the wireless terminal.
[0049] S2: Update the data table and service pool, and then send the newly configured wireless terminal information and priority to the adaptation layer.
[0050] S3: The adaptation layer adapts the priority of the wireless terminal according to the obtained MAC of the wireless terminal and the corresponding priority, and sends it to the wireless driver layer. The wireless driver layer updates the transmission priorities of several accelerated services or all services of the wireless terminal.
[0051] Since the wireless network terminal will not be online all the time, and when it is not online, it is necessary to avoid occupying forwarding resources. Therefore, in step S2, a matching timing detection operation is set to perform an update operation periodically. The method for accelerating wireless terminals further includes step S4: When the matching period arrives, traverse and obtain the entries in the service pool. If the entry has been set with a priority, the priority configuration will not be repeated to reduce the processing pressure of the driver. If no configuration is made, it will be processed according to the acceleration process of this invention.
[0052] During the periodic detection operation, if all services of the wireless terminal with acceleration enabled or several services of the wireless terminal with acceleration are online, normal acceleration will be performed. If not online, the wireless terminal or service entry will be deleted from the data packet and service pool. At this time, there are two situations. If the wireless terminal is online, but all accelerated services have gone offline, the priority of the wireless terminal will be adjusted to the normal level and no acceleration processing will be performed. If the wireless terminal is not online, all information related to the wireless terminal in the system will be deleted, and the original priority will automatically become invalid.
[0053] As Figure 2 shown, as an embodiment of this invention, this example will be described in detail from two aspects: accelerating several services of the wireless terminal and accelerating all services of the wireless terminal.
[0054] Example 1: Specify Wireless Terminal Acceleration
[0055] This example is used for the full-service acceleration of wireless terminals. The implementation method is as follows:
[0056] 1. After the wireless terminal connects to the AP wirelessly, the AP will display the list of terminals associated with the AP on the wireless acceleration page. The list information includes the name, MAC of the terminal, and the option to be selected. If it is necessary to accelerate the first terminal, check the corresponding terminal in the column and send it down;
[0057] 2. After the terminal device is checked and sent down, the backend BOA (WEB server) stores the data in the service MAC pool database table in the database and notifies the acceleration matching process when there is data update;
[0058] 3. After receiving the update signal, the acceleration matching process updates the service MAC pool. When the matching period arrives, it checks whether the corresponding device MAC exists in the ARP table, whether it is a wireless device MAC, and whether it is an online device. If it meets the conditions of being an online wireless device existing in the ARP, the current device MAC is assembled into data in the form of priority 7 and sent to the adaptation layer using the set_sta_pri format command;
[0059] 4. After the adaptation layer parses the command in the set_sta_pri format, it sends the MAC and pri information of the device to the wireless driver layer through the TD_OPER message;
[0060] · 5. The wireless driver layer obtains the MAC of the terminal device to be set and the corresponding set priority by parsing the message. The driver traverses the list of associated terminals of the current AP to find the terminal information corresponding to the MAC, modifies its transmission priority. Through the WMM mechanism in the 802.11e protocol, the higher the priority, the higher the transmission priority of the corresponding transmission queue, and the smaller the corresponding transmission waiting interval and backoff window, so it is easier to preempt the right to use the channel first in a complex wireless medium environment;
[0061] 6. If the wireless terminal is not offline and the matching period arrives again, traverse and obtain the MAC entry information in the service MAC pool. If it is found that the corresponding MAC entry has been configured with a priority, the priority will not be configured repeatedly to reduce the processing pressure of the driver;
[0062] 7. When the wireless terminal goes offline, the information of the offline terminal will no longer be displayed in the wireless terminal list associated with the page AP. The ARP table will refresh the online status of the terminal. When the matching period comes again, when traversing to obtain the MACs in the service MAC pool, if it is found in the ARP table that the corresponding device MAC is offline, the corresponding MAC entry information in the service MAC pool will be deleted. Since the terminal is offline, the driver automatically deletes the information structure of the terminal. Therefore, when the terminal is offline, the original priority automatically becomes invalid.
[0063] Embodiment 2: Presetting the acceleration template to take effect
[0064] This example is used to accelerate one or more services in the wireless terminal. The specific implementation method of this example is as follows:
[0065] 1. The AP device presets the acceleration template file in the specified template format. The acceleration template file includes the information related to the services that need to be accelerated. If the acceleration function is turned off, the following steps will not be performed. The acceleration function switch is default turned on.
[0066] 2. The acceleration matching process performs the following processing periodically:
[0067] i) Periodically query the device existence information in the ARP table, and update the MAC-IP relationship table according to the MAC and IP information;
[0068] ii) Periodically query the acceleration template file information, and update the service IP pool information according to the domain name information and IP information;
[0069] iii) Periodically query the connection tracking table information, and update the connection table information according to the protocol type and the sending and receiving address information;
[0070] 3. If the destination IP in the connection table is the same as the IP in the service IP pool, it means that a target service appears. Then, use the source IP in the connection tracking table entry to query the corresponding device MAC information in the MAC-IP relationship table;
[0071] 4. Assemble the data with the current device MAC in the way of priority 7 and send it to the adaptation layer using the set_sta_pri format command;
[0072] 5. The wireless driver layer obtains the set terminal device MAC and the corresponding set priority by parsing the message. The driver traverses the associated terminal list of the current AP to find the terminal information corresponding to the MAC, modifies its sending priority. Through the WMM mechanism in the 802.11e protocol, the higher the priority, the higher the sending priority of the corresponding sending queue, and the smaller the corresponding sending waiting interval and backoff window, and it is easier to preempt the right to use the channel preferentially in the complex wireless medium environment;
[0073] 6. The terminal is not offline, and the matching period arrives again. If the destination IP in the connection table is the same as the IP entry information in the service IP pool, but the corresponding IP entry has been configured with a priority, then the priority will not be configured repeatedly, reducing the processing pressure on the driver.
[0074] 7. When the matching period arrives again, if the IP in the MAC-IP table does not appear in the connection table, an ARP table query is performed. If the device corresponding to the MAC is online, the MAC of the current device is assembled with a priority of 0 and sent to the adaptation layer using the set_sta_pri format command. If the device corresponding to the MAC is offline, the corresponding MACIP entry information in the service MAC pool will be deleted. Since the terminal is offline and the driver automatically deletes the information structure of the terminal, the original priority will automatically become invalid when the terminal is offline.
[0075] The present invention also provides a system for implementing the method for accelerating a wireless terminal, including:
[0076] Configuration module: used to configure an acceleration template or select an acceleration terminal. Among them, the acceleration template is used to set several services that need to be accelerated in the wireless terminal, and the acceleration terminal selection is used to set the wireless terminals that need full-service acceleration.
[0077] Matching acceleration layer: used to update the data table and service pool according to the configuration information of the configuration module, and then send the newly configured wireless terminal information and priority to the adaptation module.
[0078] Adaptation layer: used to adapt the priority of the wireless terminal according to the obtained MAC of the wireless terminal and the corresponding priority.
[0079] Wireless driver layer: used to update the sending priorities of several acceleration services or full services of the wireless terminal according to the adaptation information of the adaptation module.
[0080] In addition, in the configuration module, in this example, for the full-service acceleration of the wireless terminal, by setting an acceleration function switch on the interface, if the wireless terminal acceleration is enabled, the wireless terminals that need to be accelerated can be directly selected by checking the wireless terminal list on the page.
[0081] For the acceleration of single or multiple services of the wireless terminal, it is achieved by pre-configuring an acceleration template file. By reading the information in the acceleration template file, the data in the database is updated, and the matching acceleration layer performs matching acceleration processing on the updated data.
[0082] As for the low-latency game service, the present invention improves the data sending priority of game users of the wireless terminal by pre-configuring a game template or specifying a wireless terminal, thereby enhancing the game experience of the wireless terminal.
[0083] Advantages of the specified wireless terminal acceleration method:
[0084] 1. Accelerate all services based on the terminal. That is, as long as terminal acceleration is selected, all services on this terminal will be given priority for sending and processing compared to other terminals, and the operation is very convenient and fast.
[0085] 2. Support manual configuration on the user page to specifically accelerate the target terminal.
[0086] Advantages of the acceleration method with the preset acceleration template in effect:
[0087] 1. Accelerate by matching the services of the terminal. That is, the terminal will only be processed for sending acceleration when the preset template service is matched. If the terminal does not perform the corresponding template service, it will return to the default data sending priority.
[0088] 2. There is no need for users to manually configure. The AP decides whether to accelerate the terminal according to the services of the terminal.
[0089] 3. The acceleration template can be dynamically modified and take effect without the need to modify the version, which is convenient for the expansion of the acceleration template.
[0090] The above specific implementation manners are the preferred implementation manners of the present invention, and do not limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to this specific implementation manner. All equivalent changes made in accordance with the present invention are within the protection scope of the present invention.
Claims
1. A method for accelerating a wireless terminal, characterized in that The steps include: S1: Set the acceleration of all services of the wireless terminal or some of the services of the wireless terminal; S2: Update the data table and service pool, and then send the newly configured wireless terminal information and priority to the adaptation layer; S3: The adaptation layer adapts the priority of the wireless terminal according to the MAC address and corresponding priority of the wireless terminal, and sends it to the wireless driver layer. The wireless driver layer updates the sending priority of several accelerated services or full services of the wireless terminal. In step S2, a matching timing detection operation is set and an update operation is performed periodically. The wireless terminal acceleration method further includes step S4: when a matching period arrives, traverse and obtain entries in the service pool. If the entry has a priority set, the priority is not configured again. The step S4 also includes: determining whether the full-service wireless terminal set for acceleration or several accelerated services in the wireless terminal are online, if yes, accelerating normally, if not, deleting the wireless terminal or service entry in the data packet and service pool.
2. The method for accelerating a wireless terminal according to claim 1, wherein: If several acceleration services of the wireless terminal are offline and the wireless terminal is online, the priority of the wireless terminal is adjusted to the normal level and no acceleration processing is performed.
3. The method for accelerating a wireless terminal according to claim 1 or 2, characterized in that: The data table includes a MAC-IP table, a connection table, an ARP table, and a connection tracking table, and the service pool includes a service IP pool and a service MAC pool.
4. The method for accelerating a wireless terminal according to claim 3, wherein: The method for setting full service acceleration for wireless terminals is as follows: (1) After connecting to a wireless terminal, the wireless acceleration page displays a list of associated wireless terminals; (2) Select the wireless terminal that needs to be accelerated and send it to the server; (3) After receiving the data, the server stores it in the service MAC pool database table in the database and notifies the server to speed up the matching process when there is data update; (4) After receiving the update signal, the accelerated matching process updates the service MAC pool. When the acceleration conditions are met, the MAC of the current device is assembled with the highest priority and sent to the adaptation layer.
5. The method for accelerating a wireless terminal according to claim 4, wherein: In step S3, after the adaptation layer parses the data, it sends the MAC and pri information of the wireless terminal to the wireless driver layer; The wireless driver layer obtains the MAC address of the wireless terminal device and the corresponding priority by parsing the message. The driver searches the current associated terminal list to find the terminal information corresponding to the MAC address and modifies its sending priority.
6. The method for accelerating a wireless terminal according to claim 5, wherein: When a terminal goes offline, the information of the offline terminal is no longer displayed in the associated wireless terminal list. The ARP table will refresh the online status of the wireless terminal. When the matching period comes again, the MAC in the service MAC pool will be traversed. If the corresponding device MAC is found to be offline in the ARP table, the corresponding MAC entry information in the service MAC pool will be deleted, and the driver will automatically delete the information structure of the offline wireless terminal.
7. The method for accelerating a wireless terminal according to claim 3, wherein: Several services of wireless terminals are accelerated by pre-configured acceleration template files. The specific processing method is as follows: (1) Periodically query the device existence information in the ARP table and update the MAC-IP table based on the MAC and IP information; (2) Periodically query the acceleration template file information and update the service IP pool information based on the domain name information and IP information; Periodically query the connection tracking table information, update the connection table information according to the protocol type and the sending and receiving address information. If the IP in the destination IP and the service IP in the connection table are the same, it indicates that a target service appears. Then, query the corresponding device MAC information in the MAC-IP table using the source IP in the connection tracking table entry; Assemble the data with the MAC of the current device in the highest priority manner and send it to the adaptation layer.
8. A system for implementing the method of accelerating a wireless terminal according to any one of claims 1-7, characterized in that, Including: Configuration module: used to configure the acceleration template or acceleration terminal selection. Among them, the acceleration template is used to set several services that need to be accelerated in the wireless terminal, and the acceleration terminal selection is used to set the wireless terminal that needs full-service acceleration; Matching acceleration layer: used to update the data table and service pool according to the configuration information of the configuration module, and then send the newly configured wireless terminal information and priority to the adaptation module; Adaptation layer: used to adapt the priority of the wireless terminal according to the obtained MAC of the wireless terminal and the corresponding priority; Wireless driver layer: used to update the sending priorities of several accelerated services or full services of the wireless terminal according to the adaptation information of the adaptation module.
Citation Information
Patent Citations
QoE-aware traffic delivery in cellular networks
CN103460782A
Home gateway-based service acceleration method and system
WO2021143076A1