CN113453218A - Table item processing method and device - Google Patents

Table item processing method and device Download PDF

Info

Publication number
CN113453218A
CN113453218A CN202110562935.9A CN202110562935A CN113453218A CN 113453218 A CN113453218 A CN 113453218A CN 202110562935 A CN202110562935 A CN 202110562935A CN 113453218 A CN113453218 A CN 113453218A
Authority
CN
China
Prior art keywords
terminal
entry
wireless terminal
identification information
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110562935.9A
Other languages
Chinese (zh)
Other versions
CN113453218B (en
Inventor
吴清根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd Chengdu Branch
Original Assignee
New H3C Technologies Co Ltd Chengdu Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd Chengdu Branch filed Critical New H3C Technologies Co Ltd Chengdu Branch
Priority to CN202110562935.9A priority Critical patent/CN113453218B/en
Publication of CN113453218A publication Critical patent/CN113453218A/en
Application granted granted Critical
Publication of CN113453218B publication Critical patent/CN113453218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a table entry processing method and a table entry processing device, wherein the method is applied to any AC in a WLAN, and the method comprises the following steps: after a wireless terminal in the WLAN accesses the AC, if a terminal table entry comprising identification information and an IP address of the wireless terminal is not monitored in a specified time, acquiring the terminal table entry of the wireless terminal from specified network equipment in the WLAN according to the identification information of the wireless terminal; when the terminal table entry of the wireless terminal is obtained, determining the available terminal table entry of the wireless terminal according to the obtained terminal table entry and all the terminal table entries of the wireless terminal stored locally at present; and processing the received data message matched with any terminal table entry in the determined available terminal table entries. The method and the device can improve the user experience of the holding user of the wireless terminal.

Description

Table item processing method and device
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a method and an apparatus for processing a table entry.
Background
In a Wireless Local Area Network (WLAN), a Wireless terminal is accessed to an Access Controller (AC) through an Access Point (AP). After that, the wireless terminal initiates a process of applying for an Internet Protocol (IP) Address (e.g., an Internet Protocol version four (Internet Protocol version4, IPV4) Address or an Internet Protocol version six (Internet Protocol version6, IPV6) Address), the AP, after detecting the IP Address applied by the wireless terminal, generates a terminal table entry including at least a Media Access Control (MAC) Address and an IP Address of the wireless terminal, and notifies the terminal table entry to the AC, and after the AC detects the terminal table entry, the AC may process a received data packet matching the terminal table entry, that is, process a related service depending on the MAC Address and the IP Address in the terminal table entry.
In an application scenario, when the wireless terminal roams within an AC (i.e., the wireless terminal roams from an AP managed by the AC to another AP managed by the AC) or roams between ACs (i.e., the wireless terminal roams from an AP managed by an AC to an AP managed by another AC), the wireless terminal does not re-apply for an IP address, i.e., does not initiate a process of applying for an IP address, but directly uses the IP address before roaming, and thus, the new AP roamed by the wireless terminal cannot listen to the IP address applied by the wireless terminal, i.e., cannot notify the relevant terminal table entry to the AC to which the wireless terminal belongs, so that the AC cannot listen to the relevant terminal table entry, and further cannot perform subsequent service processing procedures, thereby affecting user experience of relevant users.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a table entry processing method and device.
According to a first aspect of the embodiments of the present application, there is provided an entry processing method, which is applied to any AC in a WLAN, and the method includes:
after a wireless terminal in the WLAN accesses the AC, if a terminal table entry of the wireless terminal, which includes identification information and an IP address of the wireless terminal, is not monitored within a specified time, acquiring the terminal table entry of the wireless terminal from specified network equipment in the WLAN according to the identification information of the wireless terminal, wherein the identification information includes the MAC address of the wireless terminal;
when the terminal table entry of the wireless terminal is acquired, determining an available terminal table entry of the wireless terminal according to the acquired terminal table entry and all terminal table entries of the wireless terminal which are locally stored currently;
and processing the received data message matched with any terminal table entry in the determined available terminal table entries.
According to a second aspect of the embodiments of the present application, there is provided an entry processing apparatus, which is applied to any AC in a WLAN, the apparatus including:
an obtaining module, configured to, after a wireless terminal in the WLAN accesses the AC, if a terminal table entry of the wireless terminal, which includes identification information of the wireless terminal and an IP address, is not monitored within a specified time, obtain, according to the identification information of the wireless terminal, the terminal table entry of the wireless terminal from a specified network device in the WLAN, where the identification information includes an MAC address of the wireless terminal;
a determining module, configured to determine, when the obtaining module obtains the terminal table entry of the wireless terminal, an available terminal table entry of the wireless terminal according to the obtained terminal table entry and all terminal table entries of the wireless terminal that are currently and locally stored;
and the first processing module is used for processing the received data message matched with any terminal table entry in the determined available terminal table entries.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in this embodiment, for the AC in the WLAN, after any wireless terminal accesses, once the terminal table entry of the wireless terminal is not sensed within a specified time, regardless of whether the wireless terminal has intra-AC roaming or inter-AC roaming, the AC may directly obtain the terminal table entry of the wireless terminal from a specified network device in the WLAN according to the identification information (including the MAC address of the wireless terminal) of the wireless terminal; then, the AC determines available terminal table items of the wireless terminal according to the acquired terminal table items and all the terminal table items of the wireless terminal stored locally at present; and finally, the AC processes the received data message matched with any terminal table entry in the determined available terminal table entries. Therefore, when the terminal table entry of the accessed wireless terminal is not monitored by the AC, the AC can timely acquire the corresponding available terminal table entry, normally process the data message of the related service, and improve the user experience of the related user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of an entry processing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an entry processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not 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.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, 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.
Next, examples of the present application will be described in detail.
An embodiment of the present application provides a table entry processing method, which is applied to any AC in a WLAN, and as shown in fig. 1, the method may include the following steps:
s11, after the wireless terminal in the WLAN accesses the AC, if the terminal table entry of the wireless terminal including the identification information and the IP address of the wireless terminal is not detected within the specified time, the terminal table entry of the wireless terminal is obtained from the specified network device in the WLAN according to the identification information of the wireless terminal.
In this step, the identification information may include a MAC address of the wireless terminal.
And S12, when the terminal table entry of the wireless terminal is obtained, determining the available terminal table entry of the wireless terminal according to the obtained terminal table entry and all the terminal table entries of the wireless terminal stored locally at present.
And S13, processing the received data message matched with any terminal table entry in the determined available terminal table entries.
Specifically, in the step S11, the specified time may be set according to the actual situation of the WLAN networking. The IP address may be an IPv4 address or an IPv6 address.
In this step, the AC may obtain the terminal table entry of the wireless terminal by:
the first mode is as follows: sending a table item query request carrying identification information to specified network equipment; if receiving a table item query response aiming at the table item query request sent by the appointed network equipment within a set time length, acquiring a terminal table item carried in the table item query response; and if the item query response sent by the appointed network equipment is not received within the set time length, determining that the terminal item of the wireless terminal is not obtained.
In a first manner, the entry query response may be sent when the specified network device queries a terminal entry including identification information in a terminal entry of a source wireless terminal of an offline message reported by an AC that receives the offline message in a WLAN after receiving the entry query request, and the entry query response carries the terminal entry queried by the specified network device.
That is, for any AC in the WLAN, upon receiving an offline message sent by any wireless terminal accessing the AC, the terminal table entry of the wireless terminal is sent to the specified network device for saving. For example, the specific content of the terminal table entry is shown in the following table one.
Figure BDA0003079682660000051
Watch 1
After receiving a list item query request which is sent by a certain AC in the WLAN and carries the identification information of the wireless terminal to be queried, the subsequent specified network equipment queries a terminal list item comprising the identification information in a terminal list item stored locally; once the terminal table entry including the identification information is queried, the designated network device sends a table entry query response carrying the queried terminal table entry to the AC.
Here, the response procedure of the response table entry query request is applicable to a scenario in which the wireless terminal performs inter-AC roaming and the AC before the wireless terminal roams senses that the wireless terminal is offline (i.e., the wireless terminal actively sends an offline message to the corresponding AC while offline).
For example, assuming that the wireless terminal 1 first accesses the AC1 and needs to go offline after a period of time when the AC1 goes online, the wireless terminal 1 actively sends an offline message to the AC 1.
After the AC1 receives the offline message, it sends the terminal table entry 1 of the wireless terminal 1 to the designated network device.
And after receiving the terminal table entry 1 of the wireless terminal 1, the designated network equipment stores the terminal table entry to the local.
Assuming that the wireless terminal 1 is offline and then accesses the AC2, a process of applying for an IP address is not initiated, and the AC2 does not listen to the terminal table entry of the wireless terminal 1 within a specified time, at this time, the AC2 sends a table entry query request carrying the MAC address (e.g., MAC1) of the wireless terminal 1 to the specified network device.
After receiving the entry query request, the subsequent specified network device queries the terminal entry including the MAC1 from the locally stored terminal entries; since the terminal table entry 1 is queried, the designated network device sends an entry query response carrying the terminal table entry 1 to the AC 2.
In addition, in the first mode, the entry query response may also be sent by acquiring the terminal entry of the wireless terminal from the AC reporting the queried terminal online entry when the specified network device receives the entry query request and does not query the terminal entry including the identification information in the locally stored terminal entry of the wireless terminal from the offline message reported by the AC receiving the offline message in the WLAN, and queries the terminal online entry including the MAC address in the locally stored terminal online entry, where the entry query response carries the terminal entry acquired by the specified network device; any terminal online table entry locally stored by the designated network device is reported to the designated network device when the AC reporting the terminal online table entry detects the IP address of the wireless terminal corresponding to the MAC address included in the terminal online table entry for the first time.
That is, for any AC in the WLAN, once any wireless terminal is found to access and the IP address of the wireless terminal is first sensed, that is, the terminal table entry of the wireless terminal is first sensed, the AC generates a terminal online table entry including the MAC address of the wireless terminal and the IP address of the AC, and reports the terminal online table entry to the designated network device for storage. For example, the specific content of the terminal presence entry is shown in table two below.
MAC address of wireless terminal IP address of AC
2222-2222-2222 10.1.1.1
Watch two
After receiving a list item query request which is sent by a certain AC in the WLAN and carries the identification information of the wireless terminal to be queried, the subsequent specified network equipment queries a terminal list item comprising the identification information in a terminal list item stored locally; once the terminal list item comprising the identification information is not inquired, the specified network equipment can continuously inquire the terminal online list item comprising the MAC address of the wireless terminal to be inquired in the terminal online list items stored locally; once the terminal online table entry of the MAC address of the wireless terminal to be queried is queried, the designated network device obtains the terminal table entry of the wireless terminal from the AC that reports the queried terminal online table entry, and sends a table entry query response carrying the queried terminal table entry to the AC.
Specifically, the specified network device may obtain the terminal entry of the wireless terminal from the AC reporting the queried terminal online entry in the following manner:
the designated network equipment sends an offline request message aiming at the wireless terminal to the AC reporting the inquired terminal online table item;
and receiving the terminal list item of the wireless terminal reported after the AC reporting the inquired terminal online list item disconnects the wireless link of the wireless terminal according to the offline request message.
Here, the response procedure of the response table entry query request is applicable to a scenario where inter-AC roaming occurs in the wireless terminal and the AC before roaming of the wireless terminal cannot perceive that the wireless terminal is offline (i.e., the wireless terminal does not send an offline message to the corresponding AC when offline).
For example, assuming that the wireless terminal 2 accesses the AC3 for the first time, the AC3 senses the IP address of the wireless terminal 2 for the first time, generates the terminal presence table entry 1 including the MAC address (e.g., MAC2) of the wireless terminal and the IP address (e.g., IP3) of the AC3, and reports the terminal presence table entry 1 to the specified network device.
Assuming that the wireless terminal 2 does not send an offline message to the AC3 and accesses the AC4, and does not initiate a process of applying for an IP address, the AC4 does not listen to the terminal table entry of the wireless terminal 2 within a specified time, and at this time, the AC4 sends a table entry query request carrying the MAC2 to the specified network device.
After receiving the table entry query request, the designated network device queries the terminal table entry including the MAC2 from the locally stored terminal table entries; because the terminal table entry comprising the MAC2 is not inquired, the specified network device further inquires the terminal online table entry comprising the MAC2 from the locally stored terminal online table entries; since the terminal online entry including the MAC2 is queried, the designated network device obtains the terminal entry of the wireless terminal 2 from the AC (i.e., AC3) reporting the terminal online entry including the MAC2, and sends an entry query response carrying the obtained terminal entry to the AC 4.
It should be further noted that, in the first manner, the network device is specified to be separately deployed in the WLAN.
For the designated network device, once the terminal table entry including the identification information is not queried in the locally stored terminal table entry of the source wireless terminal of the offline message reported by the AC which receives the offline message in the WLAN, and the terminal online table entry including the MAC address is not queried in the locally stored terminal online table entry, the designated network device does not respond to the table entry query request.
Further, in a situation where the AC acquires the terminal table entry of the wireless terminal in the first manner, the AC may further perform the following operations:
the first operation is: and when the terminal table entry of the wireless terminal is not acquired and the terminal table entries of all the wireless terminals do not contain the terminal table entries containing the identification information, discarding the data message from the wireless terminal.
The second operation is as follows: and when the terminal table entry of the wireless terminal is not acquired and all the terminal table entries of the wireless terminal comprise the terminal table entry comprising the identification information, processing the received data message matched with the existing terminal table entry comprising the identification information.
In the embodiment of the present invention, after the wireless terminal roams, there is a possibility that the process of applying for the IP address is not initiated within the specified time, and the process of applying for the IP address is initiated after the specified time elapses, and the IP address is reapplied. In order to ensure that the service of the relevant user can be processed normally under the condition, for any AC in the WLAN, under the condition that the terminal table entry of the wireless terminal is not monitored within the specified time and the terminal table entry of the wireless terminal is not acquired, the data message from the wireless terminal is not directly discarded, but the AC further judges whether the terminal table entries of all the wireless terminals currently stored by the AC include the terminal table entry including the identification information of the wireless terminal; if the judgment result is negative, executing the first operation; and when the judgment result is yes, executing the second operation to improve the user experience of the related user.
The second mode is as follows: sending a table item query request carrying identification information to specified network equipment; receiving a table item query response aiming at the table item query request sent by the specified network equipment, and acquiring a terminal table item carried in the table item query response, wherein the table item query response is sent when the specified network equipment queries a terminal table item comprising identification information from a locally stored terminal table item before roaming of the roaming wireless terminal reported by an AC after a wireless link before roaming of the roaming wireless terminal is disconnected after the table item query request is received, and the table item query response carries the terminal table item queried by the specified network equipment.
In the second method, for any AC in the WLAN, once a newly accessed wireless terminal is found to be a roaming wireless terminal roaming in the AC, the AC disconnects the wireless link before the roaming of the wireless terminal, and reports the terminal table entry of the wireless terminal to the specified network device for storage.
After receiving a list item query request carrying the identification information of the wireless terminal to be queried and sent by an AC in the WLAN, the subsequent designated network device directly queries a terminal list item including the identification information from the locally stored terminal list item, and sends a list item query response carrying the queried terminal list item to the AC.
Here, the response flow of the response table entry query request is applicable to a scenario in which the wireless terminal performs intra-AC roaming and a specific network device is separately deployed in the WLAN.
The third mode is as follows: and inquiring a terminal table entry comprising identification information from the terminal table entries stored on the designated network equipment in the AC, and determining the inquired terminal table entry as the terminal table entry of the wireless terminal, wherein the terminal table entry stored on the designated network equipment is the terminal table entry before roaming of the roaming wireless terminal stored after the AC disconnects a wireless link before roaming of the roaming wireless terminal.
In a third way, for any AC in the WLAN, once a newly accessed wireless terminal is found to be a roaming wireless terminal roaming in the AC, the AC disconnects the wireless link before the wireless terminal roams, and stores the terminal table entry of the wireless terminal in a specified network device.
Subsequently, when a certain wireless terminal accesses a certain AC and the AC does not sense the terminal table entry of the wireless terminal within a specified time, the AC may directly query the terminal table entry including the identification information from the terminal table entries stored on the specified network device, and send a table entry query response carrying the queried terminal table entry to the AC.
Here, the response flow of such a response entry query request is applicable to a scenario in which the wireless terminal performs intra-AC roaming and a specified network device is integrated on the AC. In this scenario, the designated network devices are actually deployed inside the AC in a device-modular fashion.
Specifically, in the above step S12, the AC may determine the available terminal table entries of the wireless terminal by:
if the terminal table entries of all the wireless terminals do not contain the terminal table entries containing the identification information, determining the obtained terminal table entries as available terminal table entries of the wireless terminals;
if terminal table entries comprising identification information exist in all terminal table entries of the wireless terminal, and the address protocol of the IP address in the acquired terminal table entry is the same as the address protocol of the IP address in the existing terminal table entry comprising the identification information, determining the existing terminal table entry comprising the identification information as an available terminal table entry of the wireless terminal;
if terminal table entries comprising identification information exist in all terminal table entries of the wireless terminal, and an IP address with an address protocol different from that of the IP address in the existing terminal table entries comprising the identification information exists in the obtained IP addresses in the terminal table entries, selecting a terminal table entry with an address protocol of the IP address different from that of the IP address in the existing terminal table entries comprising the identification information from the obtained terminal table entries, and determining the selected terminal table entry and the existing terminal table entry comprising the identification information as available terminal table entries of the wireless terminal.
That is, in a case that there is no terminal entry including the identification information in all terminal entries of the wireless terminal, a flow that the wireless terminal corresponding to the identification information does not re-issue the application IP address after the specified time elapses is described, in this case, the AC directly determines the acquired terminal entry as an available terminal entry (which may also be understood as a trusted terminal entry) of the wireless terminal corresponding to the identification information.
Under the condition that terminal table entries including identification information exist in all terminal table entries of the wireless terminal, it is described that the wireless terminal corresponding to the identification information initiates a process of applying for an IP address after the specified time elapses, at this time, if an address protocol of an IP address in an obtained terminal table entry is the same as an address protocol of an IP address in an existing terminal table entry including identification information, for example, both the terminal table entries are IPv4 or IPv6, the AC determines the existing terminal table entry including the identification information as an available terminal table entry of the wireless terminal corresponding to the identification information, that is, the AC processes subsequent related data messages using the latest terminal table entry;
and if an IP address with an address protocol different from that of the IP address in the existing terminal table entry comprising the identification information exists in the IP address in the acquired terminal table entry, selecting the terminal table entry with the IP address with the address protocol different from that of the IP address in the existing terminal table entry comprising the identification information from the acquired terminal table entry.
For example, the existing address protocol of the IP address in the terminal table entry including the identification information is IPv4, and then the AC selects the terminal table entry including the IPv6 address from the acquired terminal table entries.
For another example, if the existing address protocol of the IP address in the terminal table entry including the identification information is IPv6, the AC selects the terminal table entry including the IPv4 address from the acquired terminal table entries.
And then, the AC determines the selected terminal table entry and the existing terminal table entry comprising the identification information as the available terminal table entry of the wireless terminal corresponding to the identification information, so that the AC can process the data message of the wireless terminal corresponding to the identification information, which communicates by using the IP addresses of different address protocols, in time, and further improve the user experience of related users.
Further, in this embodiment of the application, in order to enhance the scalability of the service and further improve the user experience, the identification information may include, in addition to the MAC address, a Virtual Local Area Network (VLAN) to which the wireless terminal belongs or user identity information of a user to which the wireless terminal belongs, so that the specified Network device may quickly and accurately query the relevant terminal table entry.
As can be seen from the foregoing technical solutions, in the embodiment of the present application, for an AC in a WLAN, after any wireless terminal accesses, once a terminal table entry of the wireless terminal is not detected within a specified time, regardless of whether the wireless terminal has intra-AC roaming or inter-AC roaming, the AC may directly obtain the terminal table entry of the wireless terminal from a specified network device in the WLAN according to identification information (including a MAC address of the wireless terminal) of the wireless terminal; then, the AC determines available terminal table items of the wireless terminal according to the acquired terminal table items and all the terminal table items of the wireless terminal stored locally at present; and finally, the AC processes the received data message matched with any terminal table entry in the determined available terminal table entries. Therefore, when the terminal table entry of the accessed wireless terminal is not monitored by the AC, the AC can timely acquire the corresponding available terminal table entry, normally process the data message of the related service, and improve the user experience of the related user.
Based on the same inventive concept, the present application further provides an entry processing apparatus, which is applied to any access controller AC in a WLAN, and a schematic structural diagram of the entry processing apparatus is shown in fig. 2, and specifically includes:
an obtaining module 21, configured to, after a wireless terminal in the WLAN accesses the AC, if a terminal table entry of the wireless terminal, which includes identification information of the wireless terminal and an IP address, is not monitored within a specified time, obtain, according to the identification information of the wireless terminal, a terminal table entry of the wireless terminal from a specified network device in the WLAN, where the identification information includes an MAC address of the wireless terminal;
a determining module 22, configured to determine, when the obtaining module 21 obtains the terminal table entry of the wireless terminal, an available terminal table entry of the wireless terminal according to the obtained terminal table entry and all terminal table entries of the wireless terminal that are currently and locally stored;
the first processing module 23 is configured to process the received data packet matched with any terminal table entry in the determined available terminal table entries.
Preferably, the obtaining module 21 is specifically configured to:
sending a table item query request carrying the identification information to the specified network equipment;
if receiving a table item query response aiming at the table item query request sent by the specified network equipment within a set time length, acquiring a terminal table item carried in the table item query response;
if the item query response sent by the appointed network equipment is not received within the set duration, determining that the terminal item of the wireless terminal is not obtained;
wherein, the entry query response is sent when the specified network device queries the terminal entry including the identification information in the terminal entry of the source wireless terminal of the offline message reported by the AC receiving the offline message in the WLAN after receiving the entry query request, and the entry query response carries the terminal entry queried by the specified network device, or,
the entry query response is sent after the specified network device acquires the terminal entry of the wireless terminal from the AC reporting the queried terminal online entry when the terminal entry including the identification information is not queried in the terminal entry of the wireless terminal from the offline message reported by the AC receiving the offline message in the WLAN after receiving the entry query request and the terminal online entry including the MAC address is queried in the locally stored terminal online entry, and the entry query response carries the terminal entry acquired by the specified network device; any terminal online table entry locally stored by the specified network device is reported to the specified network device when the AC reporting the terminal online table entry detects the IP address of the wireless terminal corresponding to the MAC address included in the terminal online table entry for the first time.
Preferably, the apparatus further comprises:
a discarding module (not shown in fig. 2), configured to discard the data packet from the wireless terminal when the obtaining module 21 does not obtain the terminal table entry of the wireless terminal and there is no terminal table entry including the identification information in the terminal table entries of all the wireless terminals; alternatively, the first and second electrodes may be,
a second processing module (not shown in fig. 2), configured to process the received data packet matching the existing terminal table entry including the identification information when the acquiring module 21 does not acquire the terminal table entry of the wireless terminal and when the terminal table entries of all the wireless terminals include the identification information.
Preferably, the obtaining module 21 is specifically configured to:
sending a table item query request carrying the identification information to the specified network equipment;
receiving a table item query response aiming at the table item query request sent by the specified network equipment, and acquiring a terminal table item carried in the table item query response, wherein the table item query response is sent when the specified network equipment queries a terminal table item comprising the identification information from a locally stored terminal table item before roaming of the roaming wireless terminal reported by the AC after a wireless link before roaming of the roaming wireless terminal is disconnected after receiving the table item query request, and the table item query response carries the terminal table item queried by the specified network equipment; alternatively, the first and second electrodes may be,
and inquiring a terminal table entry comprising the identification information from the terminal table entries stored on the designated network equipment in the AC, and determining the inquired terminal table entry as the terminal table entry of the wireless terminal, wherein the terminal table entry stored on the designated network equipment is the terminal table entry before roaming of the roaming wireless terminal stored after the AC disconnects the wireless link before roaming of the roaming wireless terminal.
Preferably, the IP address is an IPv4 address or an IPv6 address;
the determining module 22 is specifically configured to determine the available terminal table entry of the wireless terminal by:
if the terminal table entries of all the wireless terminals do not contain the terminal table entry containing the identification information, determining the obtained terminal table entries as available terminal table entries of the wireless terminals;
if terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal, and the address protocol of the IP address in the acquired terminal table entry is the same as the address protocol of the IP address in the existing terminal table entry comprising the identification information, determining the existing terminal table entry comprising the identification information as an available terminal table entry of the wireless terminal;
if terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal, and an IP address with an address protocol different from that of the IP address in the existing terminal table entries comprising the identification information exists in the IP addresses in the acquired terminal table entries, selecting a terminal table entry with an address protocol of the IP address different from that of the IP address in the existing terminal table entries comprising the identification information from the acquired terminal table entries, and determining the selected terminal table entry and the existing terminal table entry comprising the identification information as the available terminal table entries of the wireless terminal.
Preferably, the identification information further includes a virtual local area network VLAN to which the wireless terminal belongs or user identity information of a user to which the wireless terminal belongs.
As can be seen from the foregoing technical solutions, in the embodiment of the present application, for an AC in a WLAN, after any wireless terminal accesses, once a terminal table entry of the wireless terminal is not detected within a specified time, regardless of whether the wireless terminal has intra-AC roaming or inter-AC roaming, the AC may directly obtain the terminal table entry of the wireless terminal from a specified network device in the WLAN according to identification information (including a MAC address of the wireless terminal) of the wireless terminal; then, the AC determines available terminal table items of the wireless terminal according to the acquired terminal table items and all the terminal table items of the wireless terminal stored locally at present; and finally, the AC processes the received data message matched with any terminal table entry in the determined available terminal table entries. Therefore, when the terminal table entry of the accessed wireless terminal is not monitored by the AC, the AC can timely acquire the corresponding available terminal table entry, normally process the data message of the related service, and improve the user experience of the related user.
An electronic device is further provided in the embodiments of the present application, as shown in fig. 3, including a processor 31 and a machine-readable storage medium 32, where the machine-readable storage medium 32 stores machine-executable instructions that can be executed by the processor 31, and the processor 31 is caused by the machine-executable instructions to: and realizing the table item processing method.
The machine-readable storage medium may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the machine-readable storage medium may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned entry processing method.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (11)

1. An entry processing method, applied to any Access Controller (AC) in a Wireless Local Area Network (WLAN), includes:
after a wireless terminal in the WLAN accesses the AC, if a terminal table entry of the wireless terminal, which includes identification information and an IP address of the wireless terminal, is not monitored within a specified time, acquiring the terminal table entry of the wireless terminal from specified network equipment in the WLAN according to the identification information of the wireless terminal, wherein the identification information includes the MAC address of the wireless terminal;
when the terminal table entry of the wireless terminal is acquired, determining an available terminal table entry of the wireless terminal according to the acquired terminal table entry and all terminal table entries of the wireless terminal which are locally stored currently;
and processing the received data message matched with any terminal table entry in the determined available terminal table entries.
2. The method of claim 1, wherein obtaining the terminal table entry of the wireless terminal from a specified network device in the WLAN according to the identification information of the wireless terminal comprises:
sending a table item query request carrying the identification information to the specified network equipment;
if receiving a table item query response aiming at the table item query request sent by the specified network equipment within a set time length, acquiring a terminal table item carried in the table item query response;
if the item query response sent by the appointed network equipment is not received within the set duration, determining that the terminal item of the wireless terminal is not obtained;
wherein, the entry query response is sent when the specified network device queries the terminal entry including the identification information in the terminal entry of the source wireless terminal of the offline message reported by the AC receiving the offline message in the WLAN after receiving the entry query request, and the entry query response carries the terminal entry queried by the specified network device, or,
the entry query response is sent after the specified network device acquires the terminal entry of the wireless terminal from the AC reporting the queried terminal online entry when the terminal entry including the identification information is not queried in the terminal entry of the wireless terminal from the offline message reported by the AC receiving the offline message in the WLAN after receiving the entry query request and the terminal online entry including the MAC address is queried in the locally stored terminal online entry, and the entry query response carries the terminal entry acquired by the specified network device; any terminal online table entry locally stored by the specified network device is reported to the specified network device when the AC reporting the terminal online table entry detects the IP address of the wireless terminal corresponding to the MAC address included in the terminal online table entry for the first time.
3. The method of claim 2, further comprising:
when the terminal table entry of the wireless terminal is not acquired and the terminal table entries of all the wireless terminals do not have the terminal table entry including the identification information, discarding the data message from the wireless terminal; alternatively, the first and second electrodes may be,
and when the terminal table entry of the wireless terminal is not acquired and the terminal table entries of all the wireless terminals comprise the identification information, processing the received data message matched with the existing terminal table entries comprising the identification information.
4. The method of claim 1, wherein obtaining the terminal table entry of the wireless terminal from a specified network device in the WLAN according to the identification information of the wireless terminal comprises:
sending a table item query request carrying the identification information to the specified network equipment;
receiving a table item query response aiming at the table item query request sent by the specified network equipment, and acquiring a terminal table item carried in the table item query response, wherein the table item query response is sent when the specified network equipment queries a terminal table item comprising the identification information from a locally stored terminal table item before roaming of the roaming wireless terminal reported by the AC after a wireless link before roaming of the roaming wireless terminal is disconnected after receiving the table item query request, and the table item query response carries the terminal table item queried by the specified network equipment; alternatively, the first and second electrodes may be,
and inquiring a terminal table entry comprising the identification information from the terminal table entries stored on the designated network equipment in the AC, and determining the inquired terminal table entry as the terminal table entry of the wireless terminal, wherein the terminal table entry stored on the designated network equipment is the terminal table entry before roaming of the roaming wireless terminal stored after the AC disconnects the wireless link before roaming of the roaming wireless terminal.
5. The method of claim 1, wherein the IP address is an IPv4 address or an IPv6 address;
determining available terminal table entries for the wireless terminal by:
if the terminal table entries of all the wireless terminals do not contain the terminal table entry containing the identification information, determining the obtained terminal table entries as available terminal table entries of the wireless terminals;
if terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal, and the address protocol of the IP address in the acquired terminal table entry is the same as the address protocol of the IP address in the existing terminal table entry comprising the identification information, determining the existing terminal table entry comprising the identification information as an available terminal table entry of the wireless terminal;
if terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal, and an IP address with an address protocol different from that of the IP address in the existing terminal table entries comprising the identification information exists in the IP addresses in the acquired terminal table entries, selecting a terminal table entry with an address protocol of the IP address different from that of the IP address in the existing terminal table entries comprising the identification information from the acquired terminal table entries, and determining the selected terminal table entry and the existing terminal table entry comprising the identification information as the available terminal table entries of the wireless terminal.
6. The method of claim 1, wherein the identification information further comprises a Virtual Local Area Network (VLAN) to which the wireless terminal belongs or user identity information of a user to which the wireless terminal belongs.
7. An entry processing apparatus, applied to any access controller AC in a wireless local area network WLAN, the apparatus comprising:
an obtaining module, configured to, after a wireless terminal in the WLAN accesses the AC, if a terminal table entry of the wireless terminal, which includes identification information of the wireless terminal and an IP address, is not monitored within a specified time, obtain, according to the identification information of the wireless terminal, the terminal table entry of the wireless terminal from a specified network device in the WLAN, where the identification information includes an MAC address of the wireless terminal;
a determining module, configured to determine, when the obtaining module obtains the terminal table entry of the wireless terminal, an available terminal table entry of the wireless terminal according to the obtained terminal table entry and all terminal table entries of the wireless terminal that are currently and locally stored;
and the first processing module is used for processing the received data message matched with any terminal table entry in the determined available terminal table entries.
8. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
sending a table item query request carrying the identification information to the specified network equipment;
if receiving a table item query response aiming at the table item query request sent by the specified network equipment within a set time length, acquiring a terminal table item carried in the table item query response;
if the item query response sent by the appointed network equipment is not received within the set duration, determining that the terminal item of the wireless terminal is not obtained;
wherein, the entry query response is sent when the specified network device queries the terminal entry including the identification information in the terminal entry of the source wireless terminal of the offline message reported by the AC receiving the offline message in the WLAN after receiving the entry query request, and the entry query response carries the terminal entry queried by the specified network device, or,
the entry query response is sent after the specified network device acquires the terminal entry of the wireless terminal from the AC reporting the queried terminal online entry when the terminal entry including the identification information is not queried in the terminal entry of the wireless terminal from the offline message reported by the AC receiving the offline message in the WLAN after receiving the entry query request and the terminal online entry including the MAC address is queried in the locally stored terminal online entry, and the entry query response carries the terminal entry acquired by the specified network device; any terminal online table entry locally stored by the specified network device is reported to the specified network device when the AC reporting the terminal online table entry detects the IP address of the wireless terminal corresponding to the MAC address included in the terminal online table entry for the first time.
9. The apparatus of claim 8, further comprising:
a discarding module, configured to discard the data packet from the wireless terminal when the acquiring module does not acquire the terminal table entry of the wireless terminal and there is no terminal table entry including the identification information in all terminal table entries of the wireless terminal; alternatively, the first and second electrodes may be,
and the second processing module is used for processing the received data message matched with the existing terminal table entry comprising the identification information when the acquisition module does not acquire the terminal table entry of the wireless terminal and the terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal.
10. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
sending a table item query request carrying the identification information to the specified network equipment;
receiving a table item query response aiming at the table item query request sent by the specified network equipment, and acquiring a terminal table item carried in the table item query response, wherein the table item query response is sent when the specified network equipment queries a terminal table item comprising the identification information from a locally stored terminal table item before roaming of the roaming wireless terminal reported by the AC after a wireless link before roaming of the roaming wireless terminal is disconnected after receiving the table item query request, and the table item query response carries the terminal table item queried by the specified network equipment; alternatively, the first and second electrodes may be,
and inquiring a terminal table entry comprising the identification information from the terminal table entries stored on the designated network equipment in the AC, and determining the inquired terminal table entry as the terminal table entry of the wireless terminal, wherein the terminal table entry stored on the designated network equipment is the terminal table entry before roaming of the roaming wireless terminal stored after the AC disconnects the wireless link before roaming of the roaming wireless terminal.
11. The apparatus of claim 7, wherein the IP address is an IPv4 address or an IPv6 address;
the determining module is specifically configured to determine the available terminal table entry of the wireless terminal by:
if the terminal table entries of all the wireless terminals do not contain the terminal table entry containing the identification information, determining the obtained terminal table entries as available terminal table entries of the wireless terminals;
if terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal, and the address protocol of the IP address in the acquired terminal table entry is the same as the address protocol of the IP address in the existing terminal table entry comprising the identification information, determining the existing terminal table entry comprising the identification information as an available terminal table entry of the wireless terminal;
if terminal table entries comprising the identification information exist in all the terminal table entries of the wireless terminal, and an IP address with an address protocol different from that of the IP address in the existing terminal table entries comprising the identification information exists in the IP addresses in the acquired terminal table entries, selecting a terminal table entry with an address protocol of the IP address different from that of the IP address in the existing terminal table entries comprising the identification information from the acquired terminal table entries, and determining the selected terminal table entry and the existing terminal table entry comprising the identification information as the available terminal table entries of the wireless terminal.
CN202110562935.9A 2021-05-24 2021-05-24 Table entry processing method and apparatus Active CN113453218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110562935.9A CN113453218B (en) 2021-05-24 2021-05-24 Table entry processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110562935.9A CN113453218B (en) 2021-05-24 2021-05-24 Table entry processing method and apparatus

Publications (2)

Publication Number Publication Date
CN113453218A true CN113453218A (en) 2021-09-28
CN113453218B CN113453218B (en) 2023-12-26

Family

ID=77810102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110562935.9A Active CN113453218B (en) 2021-05-24 2021-05-24 Table entry processing method and apparatus

Country Status (1)

Country Link
CN (1) CN113453218B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089260A (en) * 2018-09-21 2018-12-25 锐捷网络股份有限公司 A kind of method, AP and AC realizing wireless terminal roaming detection
CN109413649A (en) * 2018-11-06 2019-03-01 新华三技术有限公司 A kind of access authentication method and device
CN111698747A (en) * 2020-04-30 2020-09-22 新华三技术有限公司 Roaming method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089260A (en) * 2018-09-21 2018-12-25 锐捷网络股份有限公司 A kind of method, AP and AC realizing wireless terminal roaming detection
CN109413649A (en) * 2018-11-06 2019-03-01 新华三技术有限公司 A kind of access authentication method and device
WO2020094039A1 (en) * 2018-11-06 2020-05-14 新华三技术有限公司 Access authentication
CN111698747A (en) * 2020-04-30 2020-09-22 新华三技术有限公司 Roaming method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙婧;万翔;: "一种解决移动终端漫游通信的方法", 软件工程, no. 03 *

Also Published As

Publication number Publication date
CN113453218B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
US20180048540A1 (en) Wireless terminal type identification method and system in router bridge networking mode
US8437358B2 (en) Method of uplink IP packet filtering control in mobile terminal
CN104468866B (en) A kind of multiple gateway terminal fast roaming method in WLAN
US8488557B2 (en) Method for detecting a duplicate address, mobile station, network element and communication system
US20150180823A1 (en) System and data card for stateless automatic configuration of IPv6 address and method for implementing the same
US20200186490A1 (en) Methods and Apparatuses for Avoiding Paging Storm During ARP Broadcast for Ethernet Type PDU
US20140282920A1 (en) Dynamically selecting a dhcp server for a client terminal
CN108243262B (en) ARP table learning method and device and network three-layer equipment
US7564811B2 (en) Method and apparatus for minimizing hand-off time using mobile node information
US8213369B2 (en) Method and system for obtaining home agent information of a mobile node
CA2499296A1 (en) Method and apparatus for preventing spoofing of network addresses
US20090225680A1 (en) Apparatus and method of processing stateful address auto-configuration protocol in ipv6 network
EP2753029A1 (en) Message learning method, device and system
CN112822218B (en) Access control method and device
WO2007052908A1 (en) Method and apparatus for neighbor discovery in ipv6-based mobile system
CN111654485B (en) Client authentication method and device
CN109089263B (en) Message processing method and device
WO2013071803A1 (en) Vendor information of wireless network devices
WO2009046622A1 (en) Method and apparatus for controlling multicast ip packets in access network
CN1705285A (en) Tunnel based mobile IPv6 quick switching method
CN113453218A (en) Table item processing method and device
CN111131452B (en) Method and device for updating service state of mDNS gateway
CN106488458B (en) Method and device for detecting gateway ARP spoofing
EP2671401B1 (en) Verification in wireless local area network
CN105429887A (en) Internet group management protocol (IGMP) snooping processing method and system during station (STA) roaming

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant