Message processing method, device, electronic device and storage medium

By obtaining and sending free ARP messages before roaming with the wireless terminal, the packet loss problem caused by the failure to update the ARP table entries in the wireless terminal is solved, and the user experience is improved.

CN118945720BActive Publication Date: 2025-09-02NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411018254.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2025-09-02
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

In a wireless LAN, when the wireless terminal is roaming, the failure to update the ARP table entry in time causes the ICMP request packet to not respond, resulting in packet loss and affecting the user experience.

Method used

When the signal strength of the wireless terminal decreases, the access point acquires and sends free ARP messages to ensure that the wireless terminal updates the ARP entry in a timely manner after roaming.

Benefits of technology

Reduces packet loss during roaming and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945720B_ABST
    Figure CN118945720B_ABST
Patent Text Reader

Abstract

The present application provides a message processing method, device, electronic device, and storage medium. The method is applied to an AC and includes: when it is monitored that the signal strength of a wireless terminal is less than a set threshold, obtaining the address information of the service device that has performed service communication with the wireless terminal within a set time period from the current time from the first AP to which the wireless terminal is connected; when receiving an authentication request message from the wireless terminal forwarded by a second AP, sending M gratuitous ARP messages to the second AP, so that after the second AP sends an association response message to the wireless terminal, it sends M gratuitous ARP messages to the wireless terminal, so that the wireless terminal updates the ARP table entry, and after receiving a wireless confirmation message sent by the wireless terminal in response to a DHCP confirmation message, it sends M gratuitous ARP messages to the wireless terminal, so that the wireless terminal updates the ARP table entry. The present application can reduce packet loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a message processing method, device, electronic device and storage medium. Background Art

[0002] In a wireless local area network (WLAN), when a wireless terminal roams from one access point (AP) to another, after reacquiring an IP address, the wireless terminal will send an Address Resolution Protocol (ARP) message to the roaming AP to refresh the local ARP table entries in a timely manner.

[0003] However, if the wireless terminal receives an Internet Control Message Protocol (ICMP) request message from the roaming AP before refreshing the local ARP table entry, it will not respond to the ICMP Request message because there is no ARP table entry corresponding to the ICMP Request message, resulting in packet loss, which in turn affects the user experience. Summary of the Invention

[0004] In order to overcome the problems existing in the related art, the present application provides a message processing method, device, electronic device and storage medium.

[0005] According to a first aspect of an embodiment of the present application, a message processing method is provided. The method is applied to an AC and includes:

[0006] When the signal strength of the wireless terminal is detected to be less than a set threshold, obtaining, from the first AP to which the wireless terminal is connected, address information of a service device that has been in service communication with the wireless terminal within a set time period from the current time;

[0007] Upon receiving an authentication request message from the wireless terminal forwarded by a second AP, sending M gratuitous ARP messages to the second AP, so that the second AP sends the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal, and further sends the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to a Dynamic Host Configuration Protocol (DHCP) confirmation message;

[0008] The first AP is the AP before the wireless terminal roams, the second AP is the AP to which the wireless terminal needs to roam, and the value of M is the total number of the service devices;

[0009] Each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update a local ARP table entry based on the gratuitous ARP message.

[0010] According to a second aspect of an embodiment of the present application, a message processing method is provided, the method being applied to an AP, the method including:

[0011] After sending an authentication request message from a wireless terminal to an AC, if M gratuitous ARP messages sent by the AC to be sent to the wireless terminal are received, then after sending an association response message to the wireless terminal, the M gratuitous ARP messages are sent to the wireless terminal;

[0012] After receiving the wireless confirmation message sent by the wireless terminal in response to the DHCP confirmation message, sending the M gratuitous ARP messages to the wireless terminal;

[0013] The M gratuitous ARP messages are sent by the AC to the AP after receiving the authentication request message, after acquiring address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time from the target AP before the wireless terminal roams, when the AC detects that the signal strength of the wireless terminal is less than a set threshold.

[0014] The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

[0015] According to a third aspect of an embodiment of the present application, a message processing method is provided, the method being applied to a wireless terminal, the method comprising:

[0016] After receiving an association response message sent by a first AP to which roaming is desired, if M gratuitous ARP messages are received from the first AP, updating a local ARP table entry based on the M gratuitous ARP messages;

[0017] After sending a wireless confirmation message in response to the DHCP confirmation message to the first AP, if the M gratuitous ARP messages sent by the first AP are received, updating a local ARP table entry based on the M gratuitous ARP messages;

[0018] The M gratuitous ARP messages are sent by the AC to the first AP upon receiving an authentication request message from the first AP that originates from the wireless terminal and forwarded by the AC when the AC detects that the signal strength of the wireless terminal is less than a set threshold. The AC obtains address information of a service device that has been in service communication with the wireless terminal within a set time period from the current time from the second AP before the wireless terminal roams, and sends the M gratuitous ARP messages to the first AP when the AC receives an authentication request message from the wireless terminal that is forwarded by the first AP.

[0019] The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device.

[0020] According to a fourth aspect of an embodiment of the present application, a message processing device is provided. The device is applied to an AC, and the device includes:

[0021] an acquisition module, configured to acquire, from a first AP to which the wireless terminal is connected, address information of a service device that has been in service communication with the wireless terminal within a set time period from a current time, when the signal strength of the wireless terminal is detected to be less than a set threshold;

[0022] a transceiver module, configured to, upon receiving an authentication request message forwarded by a second AP and originating from the wireless terminal, send M gratuitous ARP messages to the second AP, so that the second AP sends the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal, and further sends the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to a DHCP confirmation message;

[0023] The first AP is the AP before the wireless terminal roams, the second AP is the AP to which the wireless terminal needs to roam, and the value of M is the total number of the service devices;

[0024] Each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update a local ARP table entry based on the gratuitous ARP message.

[0025] According to a fifth aspect of an embodiment of the present application, a message processing device is provided, the device being applied to an AP, the device including:

[0026] a first transceiver module, configured to, after sending an authentication request message from a wireless terminal to an AC, if M gratuitous ARP messages sent by the AC and need to be sent to the wireless terminal are received, then send the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal;

[0027] A second transceiver module is configured to send the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to the DHCP confirmation message;

[0028] The M gratuitous ARP messages are sent by the AC to the AP after receiving the authentication request message, after acquiring address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time from the target AP before the wireless terminal roams, when the AC detects that the signal strength of the wireless terminal is less than a set threshold.

[0029] The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

[0030] According to a sixth aspect of an embodiment of the present application, a message processing device is provided, the device being applied to a wireless terminal, the device including:

[0031] a transceiver module configured to, after receiving an association response message sent by a first AP to which roaming is required, update a local ARP table entry based on the M gratuitous ARP messages if M gratuitous ARP messages are received from the first AP;

[0032] an updating module, configured to update a local ARP table entry based on the M gratuitous ARP messages if the M gratuitous ARP messages sent by the first AP are received after sending a wireless confirmation message in response to the DHCP confirmation message to the first AP;

[0033] The M gratuitous ARP messages are sent by the AC to the first AP upon receiving an authentication request message from the first AP that originates from the wireless terminal and forwarded by the AC when the AC detects that the signal strength of the wireless terminal is less than a set threshold. The AC obtains address information of a service device that has been in service communication with the wireless terminal within a set time period from the current time from the second AP before the wireless terminal roams, and sends the M gratuitous ARP messages to the first AP when the AC receives an authentication request message from the wireless terminal that is forwarded by the first AP.

[0034] The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device.

[0035] According to the seventh aspect of an embodiment of the present application, an electronic device is provided, comprising a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps of any of the above-mentioned message processing methods.

[0036] According to an eighth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps of any message processing method are implemented.

[0037] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0038] In an embodiment of the present application, when a wireless terminal roams from one AP to another AP, the AC can promptly send a free ARP message carrying the address information of the service equipment that conducts service communications with the wireless terminal to the other AP, so that the other AP can promptly send it to the wireless terminal after the wireless terminal completes roaming and goes online, and completes the IP address application process. The wireless terminal promptly completes the update operation of the ARP table entry based on the relevant free ARP message, thereby reducing packet loss during the roaming process and improving user experience.

[0039] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] Figure 1 One of the flow diagrams of a message processing method provided in an embodiment of the present application;

[0042] Figure 2 A second flow chart of a message processing method provided in an embodiment of the present application;

[0043] Figure 3 A third flow chart of a message processing method provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of the architecture of a WLAN network provided in an embodiment of the present application;

[0045] Figure 5 This is a schematic diagram of the structure of a message processing device provided in an embodiment of the present application;

[0046] Figure 6 A second structural diagram of a message processing device provided in an embodiment of the present application;

[0047] Figure 7 A third structural diagram of a message processing device provided in an embodiment of the present application;

[0048] Figure 8A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0050] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0051] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words "if" or "if" as used herein may be interpreted as "when" or "when".

[0052] Next, the embodiments of the present application are described in detail.

[0053] The embodiment of the present application provides a message processing method, which is applied to AC, such as Figure 1 As shown, the method may include the following steps:

[0054] S11. When it is monitored that the signal strength of the wireless terminal is less than a set threshold, obtain, from a first AP to which the wireless terminal accesses, address information of a service device that has performed service communication with the wireless terminal within a set time period from the current time.

[0055] S12. When receiving the authentication request message from the wireless terminal forwarded by the second AP, send M gratuitous ARP messages to the second AP, so that the second AP sends M gratuitous ARP messages to the wireless terminal after sending the association response message to the wireless terminal, and sends M gratuitous ARP messages to the wireless terminal after receiving the wireless confirmation message sent by the wireless terminal in response to the DHCP confirmation message.

[0056] In this step, the value of M is the total number of service devices; each gratuitous ARP message carries the address information of a service device (including the IP address and MAC address of the service device) and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

[0057] It should be noted that, in the embodiment of the present application, the first AP is the AP before the wireless terminal roams; the second AP is the AP to which the wireless terminal needs to roam.

[0058] Specifically, in the above step S11, the AC may monitor whether the signal strength of the wireless terminal is less than a set threshold in the following manner:

[0059] receiving, sent by the first AP, a signal strength measured by the first AP when the first AP receives a service message sent by the wireless terminal;

[0060] Determine whether the signal strength of the currently received wireless terminal is less than a set threshold;

[0061] If the result of the judgment is yes, it is determined that the signal strength of the wireless terminal monitored by the self is less than the set threshold;

[0062] When the judgment result is no, it is determined that the signal strength of the wireless terminal monitored by the self is not less than the set threshold.

[0063] Here, the signal strength of the wireless terminal may be a received signal strength indication (RSSI) value.

[0064] In addition, in step S11, the AC can obtain the address information of the service device in the following manner:

[0065] Sending a notification message to the first AP for notifying the first AP to report address information of a service device that performs service communication with the wireless terminal within a set time period;

[0066] Receive address information of a service device that performs service communication with the wireless terminal within a set time period, reported by the first AP.

[0067] Of course, the AC may also use other acquisition methods to obtain the address information of the above service devices, which are not listed here one by one.

[0068] It should be noted that the address information of the above service device is obtained by the first AP from the service message sent by the wireless terminal.

[0069] It should be further explained that, in the embodiment of the present application, the above-mentioned set threshold and the above-mentioned set duration can be set by the administrator according to network requirements and configured in advance on the AC.

[0070] It should be further explained that in the embodiment of the present application, the second AP does not know whether the wireless terminal is configured with a static IP address. Therefore, after receiving M free ARP messages sent by the AC, the second AP will send M free ARP messages to the wireless terminal after sending an association response message to the wireless terminal, so that the wireless terminal can update the local ARP table entry in time when it is configured with a static IP address.

[0071] After receiving the wireless ACK message sent by the wireless terminal in response to the DHCP ACK message, the second AP will send M gratuitous ARP messages to the wireless terminal, so that the wireless terminal can update the local ARP table in time when it is not configured with a static IP address.

[0072] The above content is the implementation process of the message processing method described from the perspective of the AC side. The following describes the implementation process of the message processing method from the perspective of the AP side.

[0073] The embodiment of the present application provides a message processing method, which is applied to an AP, such as Figure 2 As shown, the method may include the following steps:

[0074] S21. After sending an authentication request message from the wireless terminal to the AC, if M gratuitous ARP messages sent by the AC and need to be sent to the wireless terminal are received, then after sending an association response message to the wireless terminal, M gratuitous ARP messages are sent to the wireless terminal.

[0075] S22: After receiving the wireless confirmation message sent by the wireless terminal in response to the DHCP confirmation message, M gratuitous ARP messages are sent to the wireless terminal.

[0076] In this step, M free ARP messages are obtained by the AC from the target AP before the wireless terminal roams when it detects that the signal strength of the wireless terminal is less than the set threshold, and the address information of the service device that has communicated with the wireless terminal within the set time from the current time is obtained, and sent to the AP after receiving the authentication request message.

[0077] The value of M is the total number of service devices, and each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

[0078] It should be noted that, in the embodiment of the present application, the setting method of the above-mentioned threshold value and the above-mentioned time length have been described when describing the implementation process of the message processing method on the AC side, and will not be described in detail here.

[0079] It should be further explained that in the embodiment of the present application, how the AC monitors whether the signal strength of the wireless terminal is less than the set threshold, and how to obtain the address information of the above-mentioned service equipment have also been described when describing the implementation process of the message processing method on the AC side, and will not be described in detail here.

[0080] Correspondingly, for the AP, when it receives the notification message sent by the AC to notify itself to report the address information of the business equipment that communicates with the wireless terminal within the set time period, it will report the address information of the business equipment that communicates with the wireless terminal within the set time period to the AC.

[0081] Here, the address information of the service device is obtained by the AP from the service message sent by the wireless terminal.

[0082] The above content is an implementation flow of the message processing method described from the perspective of the AP side. The following describes the implementation flow of the message processing method from the perspective of the wireless terminal side.

[0083] The embodiment of the present application provides a message processing method, which is applied to a wireless terminal, such as Figure 3 As shown, the method may include the following steps:

[0084] S31. After receiving an association response message sent by a first AP to which roaming is required, if M gratuitous ARP messages are received from the first AP, then updating a local ARP table entry based on the M gratuitous ARP messages.

[0085] S32: After sending a wireless confirmation message in response to the DHCP confirmation message to the first AP, if M gratuitous ARP messages sent by the first AP are received, update the local ARP table based on the M gratuitous ARP messages.

[0086] In this step, the M gratuitous ARP messages are sent by the AC to the first AP upon receiving an authentication request message forwarded by the first AP from the wireless terminal, after the AC obtains the address information of the service device that has been in service communication with the wireless terminal within a set time period from the current time from the second AP before the wireless terminal roams, when the AC detects that the signal strength of the wireless terminal is less than a set threshold.

[0087] The value of M is the total number of service devices, and each gratuitous ARP packet carries the address information of a service device.

[0088] It should be noted that, in the embodiment of the present application, the setting method of the above-mentioned threshold value and the above-mentioned time length have been described when describing the implementation process of the message processing method on the AC side, and will not be described in detail here.

[0089] It should be further explained that in the embodiment of the present application, how the AC monitors whether the signal strength of the wireless terminal is less than the set threshold, and how to obtain the address information of the above-mentioned service equipment have also been described when describing the implementation process of the message processing method on the AC side, and will not be described in detail here.

[0090] The above message processing method is described in detail below with reference to specific embodiments.

[0091] like Figure 4 As shown in the figure, it is assumed that wireless terminal 1 (denoted as client1) is not configured with a static IP address. Also, it is assumed that at time 1, the AC detects that the RSSI value of wireless terminal 1 is less than the set threshold. At this time, the AC sends a signal to AP1 ( Figure 4 (not shown) sends a notification message 1 for notifying AP1 to report the address information of the service device that performs service communication with the wireless terminal 1 within a set time period.

[0092] When receiving the notification message 1 , the AP 1 reports to the AC the address information of the service devices that have performed service communications with the wireless terminal 1 within a set time period (eg, 1 minute).

[0093] Assume that the service devices performing service communications with wireless terminal 1 within a set duration are service device 1, service device 2, and service device 3. These three service devices provide different services. Assume that the address information of service device 1 is address information 1 (including the IP address and MAC address of service device 1); the address information of service device 2 is address information 2 (including the IP address and MAC address of service device 2); and the address information of service device 3 is address information 3 (including the IP address and MAC address of service device 3). AP1 reports address information 1, address information 2, and address information 3 to the AC through a switch (denoted as SWITCH).

[0094] The AC receives address information 1, address information 2, and address information 3 reported by AP1. Furthermore, assume that at time 2, the AC receives an authentication request message from wireless terminal 1, forwarded by AP2 via the switch. This indicates that wireless terminal 1 has roamed from AP1 to AP2. At this point, the AC sends three gratuitous ARP messages to AP2.

[0095] For example, the first gratuitous ARP message carries address information 1; the second gratuitous ARP message carries address information 2; and the third gratuitous ARP message carries address information 3.

[0096] AP2 receives the three gratuitous ARP messages sent by AC, and after sending an association response message to wireless terminal 1, AP2 sends the three gratuitous ARP messages to wireless terminal 1.

[0097] When receiving the three gratuitous ARP messages, the wireless terminal 1 updates the local ARP table entries based on the three gratuitous ARP messages, so as to ensure that the received service messages are processed based on the latest ARP table entries before re-acquiring the IP address.

[0098] Wireless terminal 1 initiates an acquisition process of an IP address to a DHCP server, and upon receiving a DHCP ACK message sent by AP2, sends a wireless ACK message in response to the DHCP ACK message to AP2.

[0099] After receiving the wireless confirmation message, AP2 sends the three gratuitous ARP messages to the wireless terminal.

[0100] When wireless terminal 1 receives these three free ARP messages, it updates the local ARP table entries based on these three free ARP messages to ensure that after the ARP table entries are cleared due to obtaining the IP address, the received service messages can be processed in a timely manner based on the latest ARP table entries, so as to reduce packet loss during roaming and thus improve user experience.

[0101] It can be seen from the above technical solution that in an embodiment of the present application, when a wireless terminal roams from one AP to another AP, the AC can promptly send a free ARP message carrying the address information of the business equipment that communicates with the wireless terminal to the other AP, so that the other AP can promptly send it to the wireless terminal after the wireless terminal completes roaming and goes online, and completes the IP address application process, and the wireless terminal promptly completes the ARP table entry update operation based on the relevant free ARP message, thereby reducing packet loss during the roaming process and improving user experience.

[0102] Based on the same inventive concept, the present application also provides a message processing device, which is applied to AC, and its structural diagram is shown as follows: Figure 5 As shown, specifically including:

[0103] An acquisition module 51 is configured to acquire, when monitoring that the signal strength of the wireless terminal is less than a set threshold, address information of a service device that has been in service communication with the wireless terminal within a set time period from the current time from a first AP to which the wireless terminal is connected;

[0104] a transceiver module 52 configured to, upon receiving an authentication request message forwarded by a second AP and originating from the wireless terminal, send M gratuitous ARP messages to the second AP, so that the second AP sends the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal, and further sends the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to a DHCP confirmation message;

[0105] The first AP is the AP before the wireless terminal roams, the second AP is the AP to which the wireless terminal needs to roam, and the value of M is the total number of the service devices;

[0106] Each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update a local ARP table entry based on the gratuitous ARP message.

[0107] Preferably, the acquisition module is specifically configured to monitor whether the signal strength of the wireless terminal is less than a set threshold by:

[0108] receiving, from the first AP, a signal strength measured by the first AP when the first AP receives the service message sent by the wireless terminal;

[0109] Determining whether the signal strength currently received from the wireless terminal is less than the set threshold;

[0110] When the judgment result is yes, it is determined that the signal strength of the wireless terminal monitored by the self is less than the set threshold.

[0111] Preferably, the acquisition module is specifically configured to acquire the address information of the service device in the following manner:

[0112] Sending a notification message to the first AP for notifying the first AP to report address information of a service device that performs service communication with the wireless terminal within the set time period;

[0113] Receive address information of a service device that performs service communication with the wireless terminal within the set time period, reported by the first AP.

[0114] The present application also provides a message processing device, which is applied to AP, and its structural diagram is as follows: Figure 6 As shown, specifically including:

[0115] a first transceiver module 61 configured to, after sending an authentication request message from a wireless terminal to an AC, if M gratuitous ARP messages sent by the AC to be sent to the wireless terminal are received, then send the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal;

[0116] A second transceiver module is configured to send the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to the DHCP confirmation message;

[0117] The M gratuitous ARP messages are sent by the AC to the AP after receiving the authentication request message, after acquiring address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time from the target AP before the wireless terminal roams, when the AC detects that the signal strength of the wireless terminal is less than a set threshold.

[0118] The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

[0119] The present application also provides a message processing device, which is applied to a wireless terminal. The schematic diagram of its structure is shown in FIG. Figure 7 As shown, specifically including:

[0120] The transceiver module 71 is configured to, after receiving an association response message sent by a first AP to which roaming is required, update a local ARP table entry based on the M gratuitous ARP messages if M gratuitous ARP messages are received from the first AP;

[0121] an updating module 72 configured to update a local ARP table entry based on the M gratuitous ARP messages if the M gratuitous ARP messages are received after the wireless confirmation message in response to the DHCP confirmation message is sent to the first AP;

[0122] The M gratuitous ARP messages are sent by the AC to the first AP upon receiving an authentication request message from the first AP that originates from the wireless terminal and forwarded by the AC when the AC detects that the signal strength of the wireless terminal is less than a set threshold. The AC obtains address information of a service device that has been in service communication with the wireless terminal within a set time period from the current time from the second AP before the wireless terminal roams, and sends the M gratuitous ARP messages to the first AP when the AC receives an authentication request message from the wireless terminal that is forwarded by the first AP.

[0123] The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device.

[0124] It can be seen from the above technical solution that in an embodiment of the present application, when a wireless terminal roams from one AP to another AP, the AC can promptly send a free ARP message carrying the address information of the business equipment that communicates with the wireless terminal to the other AP, so that the other AP can promptly send it to the wireless terminal after the wireless terminal completes roaming and goes online, and completes the IP address application process, and the wireless terminal promptly completes the ARP table entry update operation based on the relevant free ARP message, thereby reducing packet loss during the roaming process and improving user experience.

[0125] The present application also provides an electronic device, such as Figure 8 As shown, it includes a processor 81 and a machine-readable storage medium 82, wherein the machine-readable storage medium 82 stores machine-executable instructions that can be executed by the processor 81, and the processor 81 is prompted by the machine-executable instructions to implement the steps of any of the above-mentioned message processing methods.

[0126] The machine-readable storage medium may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Alternatively, the machine-readable storage medium may be at least one storage device located remote from the processor.

[0127] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0128] In another embodiment provided in the present application, a computer-readable storage medium is further provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the steps of any of the above-mentioned message processing methods are implemented.

[0129] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A message processing method, characterized in that: The method is applied to an access controller AC, and includes: When it is monitored that the signal strength of the wireless terminal is less than a set threshold, obtaining, from a first access point AP to which the wireless terminal accesses, address information of a service device that has performed service communication with the wireless terminal within a set time period from the current time; Upon receiving an authentication request message forwarded by a second AP from the wireless terminal, M gratuitous Address Resolution Protocol (ARP) messages are sent to the second AP, so that the second AP sends the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal, and further sends the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to a Dynamic Host Configuration Protocol (DHCP) confirmation message; The first AP is the AP before the wireless terminal roams, the second AP is the AP to which the wireless terminal needs to roam, and the value of M is the total number of the service devices; Each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update a local ARP table entry based on the gratuitous ARP message.

2. The method according to claim 1, characterized in that Monitor whether the signal strength of the wireless terminal is less than the set threshold by the following methods: receiving, from the first AP, a signal strength measured by the first AP when the first AP receives the service message sent by the wireless terminal; Determining whether the signal strength currently received from the wireless terminal is less than the set threshold; When the judgment result is yes, it is determined that the signal strength of the wireless terminal monitored by the self is less than the set threshold.

3. The method according to claim 1, characterized in that Obtain the address information of the service device in the following ways: Sending a notification message to the first AP for notifying the first AP to report address information of a service device that performs service communication with the wireless terminal within the set time period; Receive address information of a service device that performs service communication with the wireless terminal within the set time period, reported by the first AP.

4. A message processing method, characterized in that: The method is applied to an access point AP, and includes: After sending an authentication request message from the wireless terminal to the access controller AC, if M gratuitous Address Resolution Protocol (ARP) messages sent by the AC and to be sent to the wireless terminal are received, then after sending an association response message to the wireless terminal, the M gratuitous ARP messages are sent to the wireless terminal; After receiving the wireless confirmation message sent by the wireless terminal in response to the Dynamic Host Configuration Protocol DHCP confirmation message, sending the M gratuitous ARP messages to the wireless terminal; The M gratuitous ARP messages are sent by the AC to the AP after receiving the authentication request message, after acquiring address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time from the target AP before the wireless terminal roams, when the AC detects that the signal strength of the wireless terminal is less than a set threshold. The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

5. A message processing method, characterized in that: The method is applied to a wireless terminal, and includes: After receiving an association response message sent by a first access point AP to which roaming is desired, if M gratuitous Address Resolution Protocol (ARP) messages are received from the first AP, updating a local ARP table entry based on the M gratuitous ARP messages; After sending a wireless confirmation message in response to a Dynamic Host Configuration Protocol (DHCP) confirmation message to the first AP, if the M gratuitous ARP messages sent by the first AP are received, updating a local ARP table entry based on the M gratuitous ARP messages; The M gratuitous ARP messages are obtained by the access controller AC from a second AP before the wireless terminal roams when the access controller AC detects that the signal strength of the wireless terminal is less than a set threshold. The messages are address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time, and are sent to the first AP when the access controller AC receives an authentication request message from the wireless terminal forwarded by the first AP. The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device.

6. A message processing device, characterized in that: The device is applied to an access controller AC, and includes: an acquisition module, configured to acquire, when monitoring that the signal strength of the wireless terminal is less than a set threshold, address information of a service device that has performed service communication with the wireless terminal within a set time period from the current time from a first access point AP to which the wireless terminal accesses; a transceiver module, configured to, upon receiving an authentication request message forwarded by a second AP and originating from the wireless terminal, send M gratuitous Address Resolution Protocol (ARP) messages to the second AP, so that the second AP sends the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal, and further send the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to a Dynamic Host Configuration Protocol (DHCP) confirmation message; The first AP is the AP before the wireless terminal roams, the second AP is the AP to which the wireless terminal needs to roam, and the value of M is the total number of the service devices; Each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update a local ARP table entry based on the gratuitous ARP message.

7. A message processing device, characterized in that: The device is applied to an access point AP, and includes: a first transceiver module, configured to, after sending an authentication request message from a wireless terminal to an access controller AC, if M gratuitous Address Resolution Protocol ARP messages sent by the AC and need to be sent to the wireless terminal are received, then send the M gratuitous ARP messages to the wireless terminal after sending an association response message to the wireless terminal; A second transceiver module is configured to send the M gratuitous ARP messages to the wireless terminal after receiving a wireless confirmation message sent by the wireless terminal in response to a Dynamic Host Configuration Protocol DHCP confirmation message; The M gratuitous ARP messages are sent by the AC to the AP after receiving the authentication request message, after acquiring address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time from the target AP before the wireless terminal roams, when the AC detects that the signal strength of the wireless terminal is less than a set threshold. The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device and is used to instruct the wireless terminal to update the local ARP table entry based on the gratuitous ARP message.

8. A message processing device, characterized in that: The device is applied to a wireless terminal, and includes: a transceiver module configured to, after receiving an association response message sent by a first access point AP to which roaming is required, update a local ARP table entry based on the M gratuitous Address Resolution Protocol ARP messages if M gratuitous Address Resolution Protocol ARP messages are received from the first AP; an updating module configured to update a local ARP table entry based on the M gratuitous ARP messages if the M gratuitous ARP messages sent by the first AP are received after sending a wireless confirmation message in response to a Dynamic Host Configuration Protocol DHCP confirmation message to the first AP; The M gratuitous ARP messages are obtained by the access controller AC from a second AP before the wireless terminal roams when the access controller AC detects that the signal strength of the wireless terminal is less than a set threshold. The messages are address information of service devices that have been in service communication with the wireless terminal within a set time period from the current time, and are sent to the first AP when the access controller AC receives an authentication request message from the wireless terminal forwarded by the first AP. The value of M is the total number of the service devices, and each gratuitous ARP message carries the address information of a service device.

9. An electronic device, characterized in that: The method comprises a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps according to any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for forwarding data message

    CN104702713A

  • Entry updating method and device

    CN108833604A