CN111865748B - Communication system and communication method - Google Patents

Communication system and communication method Download PDF

Info

Publication number
CN111865748B
CN111865748B CN202010520768.7A CN202010520768A CN111865748B CN 111865748 B CN111865748 B CN 111865748B CN 202010520768 A CN202010520768 A CN 202010520768A CN 111865748 B CN111865748 B CN 111865748B
Authority
CN
China
Prior art keywords
message
sta
destination
address
list
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.)
Active
Application number
CN202010520768.7A
Other languages
Chinese (zh)
Other versions
CN111865748A (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
Original Assignee
New H3C Technologies Co Ltd
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 filed Critical New H3C Technologies Co Ltd
Priority to CN202010520768.7A priority Critical patent/CN111865748B/en
Publication of CN111865748A publication Critical patent/CN111865748A/en
Application granted granted Critical
Publication of CN111865748B publication Critical patent/CN111865748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Abstract

The application provides a communication system and a communication method, wherein the system comprises an AC, a first AP and a second AP; the first AP is used for receiving a first message which is sent by the source STA and comprises a destination IP address; judging whether an STA identifier corresponding to a destination IP address exists in a first STA list; if not, carrying out encapsulation processing on the first message to obtain a second message, and sending the second message to the AC; the AC is used for receiving a second message sent by the first AP, and performing decapsulation processing on the second message to obtain a first message; judging whether the STA mark corresponding to the destination IP address exists in the second STA list; if so, determining a second AP accessed by the corresponding destination STA of the STA mark, and sending a second message to the second AP; the second AP is used for receiving a second message sent by the AC; and performing decapsulation processing on the second message to obtain a first message, and sending the first message to the destination STA.

Description

Communication system and communication method
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communications system and a communications method.
Background
With the large-scale development of wireless networks, when a large number of wireless Access Points (APs) are deployed, performing management tasks such as software upgrade, configuration and adjustment of radio frequency parameters on the APs will bring high management cost to users. To solve this problem, the wireless lan (english: wireless Local Area Network, abbreviated: WLAN) adopts an ac+fit AP architecture, that is, the access controller (english: access Controller, abbreviated: AC) performs centralized control and management on the access APs. The AP does not need any configuration, the configuration information of the AP is stored in the AC, and the AC transmits the configuration information to the AP. Meanwhile, the AC performs unified management and maintenance on the AP, and a wireless access point control and supply (English: controlling and Provisioning of Wireless Access Point, CAPWAP for short) tunnel is adopted between the AC and the AP to transmit data messages and control messages.
When Stations (STAs) in the same virtual local area network (Virtual Local Area Network, VLAN) communicate with each other, if the STAs (e.g., terminals) communicate for the first time, the source STA sends an ARP broadcast message to detect when determining that the destination STA is in the same network segment as itself.
After receiving the ARP message, the AP1 accessed by the source STA encapsulates the ARP message into a CAPWAP message if the forwarding mode of the message is a centralized forwarding mode, and the AP1 sends the CAPWAP message to the AC. The AC judges the VLAN to which the CAPWAP message belongs and sends the CAPWAP message to the AP (including AP 1) with the online STA in the VLAN. If the forwarding mode of the message is a local forwarding mode, the AP1 sends an ARP message to all the STAs accessed to the VLAN and other APs with the online STAs in the VLAN. In the two forwarding modes, only the AP2 accessed by the destination STA will respond to the ARP message after receiving the message, and the other APs discard the ARP message.
When the STAs in the same VLAN communicate for the first time, an ARP broadcast message sent by a source STA is sent to an AC and an AP accessed by a non-destination STA in the VLAN and discarded, so that resources of the AC and the AP accessed by the non-destination STA are consumed, and unnecessary network overhead is increased.
Disclosure of Invention
In view of this, the present application provides a communication system and a communication method, which are used for solving the problems of the prior art, such as the waste of resources and unnecessary network overhead of the APs accessed by the AC and the non-destination STA.
In a first aspect, the present application provides a communication system, the system comprising an access controller AC, a first access point AP and a second AP, the first AP and the second AP accessing the AC;
the first AP is used for receiving a first message sent by a source STA, wherein the first message comprises a destination IP address; judging whether an STA identifier corresponding to the destination IP address exists in a first STA list; if not, carrying out packaging treatment on the first message to obtain a second message, and sending the second message to the AC;
the AC is used for receiving the second message sent by the first AP, and performing decapsulation processing on the second message to obtain the first message; judging whether the STA identifier corresponding to the destination IP address exists in a second STA list; if yes, determining a second AP which is accessed by the corresponding destination STA and identified by the STA, and sending the second message to the second AP;
the second AP is used for receiving the second message sent by the AC; and decapsulating the second message to obtain the first message, and sending the first message to the destination STA.
In a second aspect, the present application provides a communication method, where the method is applied to a first AP, and the first AP accesses an AC, and the method includes:
receiving a first message sent by a source STA, wherein the first message comprises a destination IP address;
judging whether an STA identifier corresponding to the destination IP address exists in a first STA list;
if not, carrying out encapsulation processing on the first message to obtain a second message;
sending the second message to the AC, so that the AC performs decapsulation processing on the second message to obtain the first message; judging whether the STA identifier corresponding to the destination IP address exists in a second STA list; if so, determining a second AP to which the STA identifies the corresponding destination STA, and sending the second message to the second AP.
In a third aspect, the present application provides a communication method, where the method is applied to an AC, and a first AP and a second AP access the AC, and the method includes:
receiving a first message sent by the first AP;
decapsulating the first message to obtain a second message, wherein the second message comprises a destination IP address;
judging whether an STA identifier corresponding to the destination IP address exists in a first STA list;
if the second message exists, determining the second AP which is accessed by the corresponding destination STA and is identified by the STA, and sending the first message to the second AP, so that the second AP obtains the second message after unpacking the first message, and the second AP sends the second message to the destination STA.
Therefore, by applying the communication system and the communication method provided by the application, after the first AP receives the first message comprising the destination IP address sent by the source STA, the first AP judges whether the STA identifier corresponding to the destination IP address exists in the first STA list. If not, the first AP packages the first message into a second message and sends the second message to the AC. And after the AC receives the second message, judging whether the STA identifier corresponding to the destination IP address exists in the second STA list. If so, the AC sends a second message to a second AP accessed by the destination STA corresponding to the STA mark, so that the second AP acquires the first message from the second message and forwards the first message to the destination STA.
Therefore, the message sent by the source STA can be forwarded to the destination STA through the accessed first AP, or forwarded to the second AP accessed by the destination STA through the accessed first AP and the AC without being forwarded to other APs in the same VLAN, thereby reducing the resource waste of the AC and the AP and reducing the network overhead. The method solves the problems of resource waste and unnecessary network overhead of the APs accessed by the AC and the non-destination STA in the prior art.
Drawings
Fig. 1 is a schematic diagram of a communication system networking according to an embodiment of the present application;
FIG. 2 is a flow chart of a communication method according to an embodiment of the present application;
FIG. 3 is a flow chart of another communication method according to an embodiment of the present application;
fig. 4 is a block diagram of a communication device according to an embodiment of the present application;
fig. 5 is a block diagram of a communication device according to an embodiment of the present application;
fig. 6 is a hardware configuration diagram of a network device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to 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 aspects of the application as detailed in the accompanying 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 specification 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 will also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the corresponding listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The communication system provided by the embodiment of the application is described in detail below. Referring to fig. 1, fig. 1 is a schematic diagram of a communication system networking according to an embodiment of the present application. In this group, an AC, poE switch, a plurality of APs (AP 1, AP2, … … APn), and a plurality of STAs (STA 1, STA2, … … STAn) are included. The multiple APs access the AC through the PoE switch, and are uniformly configured, managed and maintained by the AC. And a CAPWAP tunnel is adopted between the AP and the AC to transmit the data message and the control message. The AP is within the same VLAN as the STA. Multiple STAs may choose to access the AP according to the actual scenario. For example, SRA1 access AP1, SRA2 access AP2 … … SRAn access APn.
The procedure of first performing communication between STAs under the above-described networking is described in detail as follows.
Specifically, the source STA is ready to communicate with the destination STA. The source STA accesses a first AP, and the first AP accesses an AC.
After the source STA obtains the destination IP address of the destination STA, judging whether the destination IP address and the source IP address of the source STA are in the same network segment. If the destination IP address and the source IP address are in the same network segment, the source STA sends a first message to the first AP. The first message may specifically be an ARP broadcast message. If the destination IP address and the source IP address are not in the same network segment, the source STA sends a first message to the access gateway, and the access gateway processes the first message.
After receiving a first message sent by a source STA, a first AP acquires a destination IP address from the first message. The first AP determines whether there is an STA identification corresponding to the destination IP address in the first STA list. If the STA identifier corresponding to the destination IP address does not exist in the first STA list, the first AP encapsulates the first message to obtain a second message and sends the second message to the AC. If the first STA list has the STA identifier corresponding to the destination IP address, the first AP determines the destination STA corresponding to the STA identifier and sends a first message to the destination STA.
Note that, stored in this first STA list is information of all STAs that are online at the first AP, where the STA information includes, by way of example and not limitation, VLAN, IP address, MAC address, BSSID, BSS port, and the like. The first AP encapsulates the first packet, and the second packet may specifically be a CAPWAP packet.
After the AC receives the second message sent by the first AP, the second message is firstly subjected to decapsulation treatment to obtain a first message. The AC obtains the destination IP address from the first message. The AC determines whether there is an STA identification corresponding to the destination IP address in the second STA list.
If the second STA list contains the STA identifier corresponding to the destination IP address, the AC determines a second AP accessed by the destination STA corresponding to the STA identifier through the second STA list, and encapsulates the first message again to obtain a second message. The AC sends a second message to the second AP.
If the STA identifier corresponding to the target IP address does not exist in the second STA list, the AC packages the first message again to obtain a second message. The AC broadcasts a second message through all interfaces of the destination STA corresponding to the destination IP belonging to the same VLAN.
Note that, stored in this second STA list is STA information that accesses all APs of itself and goes online at each AP, where STA information includes, by way of example and not limitation, VLAN, IP address, MAC address, BSSID, BSS port, and the like. The second AP encapsulates the first packet, where the second packet may specifically be a CAPWAP packet.
After receiving the second message sent by the AC, the second AP performs decapsulation processing on the second message to obtain a first message. The second AP acquires the destination IP address from the first message, and sends the first message to the destination STA according to the destination IP address.
Therefore, by applying the communication system provided by the application, after the first AP receives the first message comprising the destination IP address sent by the source STA, the first AP judges whether the STA identifier corresponding to the destination IP address exists in the first STA list. If not, the first AP packages the first message into a second message and sends the second message to the AC. And after the AC receives the second message, judging whether the STA identifier corresponding to the destination IP address exists in the second STA list. If so, the AC sends a second message to a second AP accessed by the destination STA corresponding to the STA mark, so that the second AP acquires the first message from the second message and forwards the first message to the destination STA.
Therefore, the message sent by the source STA can be forwarded to the destination STA through the accessed first AP, or forwarded to the second AP accessed by the destination STA through the accessed first AP and the AC without being forwarded to other APs in the same VLAN, thereby reducing the resource waste of the AC and the AP and reducing the network overhead. The method solves the problems of resource waste and unnecessary network overhead of the APs accessed by the AC and the non-destination STA in the prior art.
The communication method provided by the embodiment of the application is described in detail below. Referring to fig. 2, fig. 2 is a flowchart of a communication method according to an embodiment of the present application. The method is applied to a first AP. The communication method provided by the embodiment of the application can comprise the following steps.
Step 210, a first message sent by a source STA is received, where the first message includes a destination IP address.
Specifically, the source STA is ready to communicate with the destination STA. The source STA accesses the first AP, the destination STA accesses the second AP, and the first AP and the second AP access the AC together.
After the source STA obtains the destination IP address of the destination STA, judging whether the destination IP address and the source IP address of the source STA are in the same network segment. If the destination IP address and the source IP address are in the same network segment, the source STA sends a first message to the first AP. The first message may specifically be an ARP broadcast message. If the destination IP address and the source IP address are not in the same network segment, the source STA sends a first message to the access gateway, and the access gateway processes the first message.
After receiving a first message sent by a source STA, a first AP acquires a destination IP address from the first message.
Step 220, it is determined whether there is a STA identifier corresponding to the destination IP address in the first STA list.
Specifically, the first AP determines whether there is an STA identification corresponding to the destination IP address in the first STA list. If the STA identifier corresponding to the destination IP address does not exist in the first STA list, step 230 is executed. If the first STA list has the STA identifier corresponding to the destination IP address, the first AP determines the destination STA corresponding to the STA identifier and sends a first message to the destination STA.
Note that, stored in this first STA list is information of all STAs that are online at the first AP, where the STA information includes, by way of example and not limitation, VLAN, IP address, MAC address, BSSID, BSS port, and the like.
And 230, if not, carrying out encapsulation processing on the first message to obtain a second message.
Specifically, according to the determination in step 220, if the STA identifier corresponding to the destination IP address does not exist in the first STA list, the first AP encapsulates the first packet to obtain the second packet.
The first AP encapsulates the first packet, and the second packet may specifically be a CAPWAP packet.
Step 240, sending the second message to the AC, so that the AC performs decapsulation processing on the second message to obtain the first message; judging whether the STA identifier corresponding to the destination IP address exists in a second STA list; if so, determining a second AP to which the STA identifies the corresponding destination STA, and sending the second message to the second AP.
Specifically, after the first AP obtains the second message, the first AP sends the second message to the AC. After the AC receives the second message sent by the first AP, the second message is firstly subjected to decapsulation treatment to obtain a first message. The AC obtains the destination IP address from the first message. The AC determines whether there is an STA identification corresponding to the destination IP address in the second STA list.
If the second STA list contains the STA identifier corresponding to the destination IP address, the AC determines a second AP accessed by the destination STA corresponding to the STA identifier through the second STA list, and encapsulates the first message again to obtain a second message. The AC sends a second message to the second AP.
If the STA identifier corresponding to the target IP address does not exist in the second STA list, the AC packages the first message again to obtain a second message. The AC broadcasts a second message through all interfaces of the destination STA corresponding to the destination IP belonging to the same VLAN.
Note that, stored in this second STA list is STA information that accesses all APs of itself and goes online at each AP, where STA information includes, by way of example and not limitation, VLAN, IP address, MAC address, BSSID, BSS port, and the like. The second AP encapsulates the first packet, where the second packet may specifically be a CAPWAP packet.
After receiving the second message sent by the AC, the second AP performs decapsulation processing on the second message to obtain a first message. The second AP acquires the destination IP address from the first message, and sends the first message to the destination STA according to the destination IP address.
Therefore, by applying the communication method provided by the embodiment of the application, after the first AP receives the first message including the destination IP address sent by the source STA, the first AP judges whether the STA identifier corresponding to the destination IP address exists in the first STA list. If not, the first AP packages the first message into a second message and sends the second message to the AC. And after the AC receives the second message, judging whether the STA identifier corresponding to the destination IP address exists in the second STA list. If so, the AC sends a second message to a second AP accessed by the destination STA corresponding to the STA mark, so that the second AP acquires the first message from the second message and forwards the first message to the destination STA.
Therefore, the message sent by the source STA can be forwarded to the destination STA through the accessed first AP, or forwarded to the second AP accessed by the destination STA through the accessed first AP and the AC without being forwarded to other APs in the same VLAN, thereby reducing the resource waste of the AC and the AP and reducing the network overhead. The method solves the problems of resource waste and unnecessary network overhead of the APs accessed by the AC and the non-destination STA in the prior art.
Optionally, in the embodiment of the present application, if the first AP is an AP connected to the destination STA, at this time, the first AP receives a third packet sent by the AC, and performs decapsulation processing on the third packet to obtain a fourth packet. The first AP acquires the destination IP address from the fourth message. And according to the destination IP address, the first AP sends a fourth message to a destination STA corresponding to the destination IP address.
That is, the first AP performs the same procedure as the second AP as the AP connected to the destination STA, and will not be described again.
The communication method provided by the embodiment of the application is described in detail below. Referring to fig. 3, fig. 3 is a flowchart illustrating another communication method according to an embodiment of the present application. The method is applied to AC. The communication method provided by the embodiment of the application can comprise the following steps.
Step 310, receiving a first message sent by the first AP.
Specifically, after the source STA acquires the destination IP address of the destination STA, it is determined whether the destination IP address is in the same network segment as the source IP address of the source STA. If the destination IP address and the source IP address are in the same network segment, the source STA sends a second message (referred to as a second message in the embodiment of the present application) to the first AP. The second message may specifically be an ARP broadcast message. If the destination IP address and the source IP address are not in the same network segment, the source STA sends a second message to the access gateway, and the access gateway processes the second message.
After the first AP receives the second message sent by the source STA, the first AP acquires the destination IP address from the second message. The first AP determines whether there is an STA identification corresponding to the destination IP address in the first STA list.
If the STA identifier corresponding to the target IP address does not exist in the first STA list, the first AP encapsulates the second message to obtain a first message and sends the first message to the AC.
If the first STA list has the STA identifier corresponding to the destination IP address, the first AP determines the destination STA corresponding to the STA identifier and sends a second message to the destination STA.
Note that, stored in this first STA list is information of all STAs that are online at the first AP, where the STA information includes, by way of example and not limitation, VLAN, IP address, MAC address, BSSID, BSS port, and the like. The first AP encapsulates the second packet, where the first packet may specifically be a CAPWAP packet.
The AC receives a first message sent by a first AP.
Step 320, decapsulating the first message to obtain a second message, where the second message includes a destination IP address.
Specifically, after receiving a first message sent by a first AP, the AC firstly performs decapsulation processing on the first message to obtain a second message. The second message includes a destination IP address.
Step 330, it is determined whether there is a STA identifier corresponding to the destination IP address in the first STA list.
Specifically, the AC obtains the destination IP address from the second packet. The AC determines whether there is an STA identification corresponding to the destination IP address in the second STA list. If the STA identifier corresponding to the destination IP address exists in the second STA list, step 340 is performed.
If the STA identifier corresponding to the target IP address does not exist in the second STA list, the AC packages the second message again to obtain the first message. The AC broadcasts the first message over all interfaces belonging to the same VLAN as the destination STA corresponding to the destination IP.
Note that, stored in this second STA list is STA information that accesses all APs of itself and goes online at each AP, where STA information includes, by way of example and not limitation, VLAN, IP address, MAC address, BSSID, BSS port, and the like. The second AP encapsulates the first packet, where the second packet may specifically be a CAPWAP packet.
Step 340, if so, determining the second AP to which the STA identifies the corresponding destination STA, and sending the first message to the second AP, so that the second AP decapsulates the first message to obtain the second message, and the second AP sends the second message to the destination STA.
Specifically, according to the determination in step 330, if the STA identifier corresponding to the destination IP address exists in the second STA list, the AC determines, through the second STA list, a second AP to which the destination STA corresponding to the STA identifier is connected, and encapsulates the second packet again to obtain the first packet.
The AC sends a first message to a second AP.
After receiving the second message sent by the AC, the second AP performs decapsulation processing on the first message to obtain the second message. The second AP acquires the destination IP address from the second message, and sends the second message to the destination STA according to the destination IP address.
Based on the same inventive concept, the embodiment of the application also provides a communication device corresponding to the communication method. Referring to fig. 4, fig. 4 is a block diagram of a communication device according to an embodiment of the present application, where the device is applied to a first AP, and the first AP accesses an AC, and the device includes:
a receiving unit 410, configured to receive a first packet sent by a source STA, where the first packet includes a destination IP address;
a determining unit 420, configured to determine whether there is an STA identifier corresponding to the destination IP address in the first STA list;
the encapsulation unit 430 is configured to encapsulate the first packet to obtain a second packet if the first packet does not exist;
a sending unit 440, configured to send the second packet to the AC, so that the AC performs decapsulation processing on the second packet to obtain the first packet; judging whether the STA identifier corresponding to the destination IP address exists in a second STA list; if so, determining a second AP to which the STA identifies the corresponding destination STA, and sending the second message to the second AP.
Optionally, the sending unit 440 is further configured to determine that the STA identifies a corresponding destination STA if the STA exists, and send the first message to the destination STA.
Optionally, the receiving unit 410 is further configured to receive a third packet sent by the AC, and perform decapsulation processing on the third packet to obtain a fourth packet, where the fourth packet includes the destination IP address;
the sending unit 440 is further configured to send the fourth packet to a destination STA corresponding to the destination IP address according to the destination IP address.
Based on the same inventive concept, the embodiment of the application also provides a communication device corresponding to the communication method. Referring to fig. 5, fig. 5 is a block diagram of a communication device provided by an embodiment of the present application, where the device is applied to an AC, and a first AP and a second AP access the AC, and the device includes:
a receiving unit 510, configured to receive a first packet sent by the first AP;
the encapsulation unit 520 is configured to decapsulate the first packet to obtain a second packet, where the second packet includes a destination IP address;
a judging unit 530, configured to judge whether there is an STA identifier corresponding to the destination IP address in the first STA list;
and the sending unit 540 is configured to determine, if the second AP to which the STA identifier corresponds to the destination STA accesses exists, and send the first packet to the second AP, so that the second AP obtains the second packet after decapsulating the first packet, and the second AP sends the second packet to the destination STA.
Optionally, the sending unit 540 is further configured to broadcast the first packet through all interfaces in the same VLAN corresponding to the destination STA and the destination IP address if the first packet does not exist.
Therefore, by applying the communication device provided by the application, after the first AP receives the first message comprising the destination IP address sent by the source STA, the first AP judges whether the STA identifier corresponding to the destination IP address exists in the first STA list. If not, the first AP packages the first message into a second message and sends the second message to the AC. And after the AC receives the second message, judging whether the STA identifier corresponding to the destination IP address exists in the second STA list. If so, the AC sends a second message to a second AP accessed by the destination STA corresponding to the STA mark, so that the second AP acquires the first message from the second message and forwards the first message to the destination STA.
Therefore, the message sent by the source STA can be forwarded to the destination STA through the accessed first AP, or forwarded to the second AP accessed by the destination STA through the accessed first AP and the AC without being forwarded to other APs in the same VLAN, thereby reducing the resource waste of the AC and the AP and reducing the network overhead. The method solves the problems of resource waste and unnecessary network overhead of the APs accessed by the AC and the non-destination STA in the prior art.
Based on the same inventive concept, the embodiment of the present application further provides a network device, as shown in fig. 6, including a processor 610, a transceiver 620, and a machine-readable storage medium 630, where the machine-readable storage medium 630 stores machine executable instructions capable of being executed by the processor 610, and the processor 610 is caused to perform the communication system and the communication method provided by the embodiment of the present application by the machine executable instructions. The communication devices shown in fig. 4 and 5 may be implemented by using a hardware structure of a network device as shown in fig. 6.
The computer readable storage medium 630 may include a random access Memory (in english: random Access Memory, abbreviated as RAM) or a nonvolatile Memory (in english: non-volatile Memory, abbreviated as NVM), such as at least one magnetic disk Memory. Optionally, the computer readable storage medium 630 may also be at least one storage device located remotely from the aforementioned processor 610.
The processor 610 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (English: digital Signal Processor; DSP; for short), an application specific integrated circuit (English: application Specific Integrated Circuit; ASIC; for short), a Field programmable gate array (English: field-Programmable Gate Array; FPGA; for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In an embodiment of the present application, processor 610, by reading machine-executable instructions stored in machine-readable storage medium 630, is caused by the machine-executable instructions to implement processor 610 itself as well as invoke transceiver 620 to perform the communication system, communication method described in the previous embodiments of the present application.
Additionally, embodiments of the present application provide a machine-readable storage medium 630, the machine-readable storage medium 630 storing machine-executable instructions that, when invoked and executed by the processor 610, cause the processor 610 itself and the invoking transceiver 620 to perform the flow control methods described in the foregoing embodiments of the present application.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present application without undue burden.
For the communication device and the machine-readable storage medium embodiments, since the method content involved is substantially similar to the method embodiments described above, the description is relatively simple, and reference will only be made to part of the description of the method embodiments.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the application.

Claims (7)

1. A communication system, which is characterized in that the system comprises an access controller AC, a first access point AP and a second AP, wherein the first AP and the second AP access the AC, and the system is applied to first communication between STAs;
the first AP is used for receiving a first message sent by a source STA, wherein the first message comprises a destination IP address; judging whether an STA identifier corresponding to the destination IP address exists in a first STA list; if not, carrying out packaging treatment on the first message to obtain a second message, and sending the second message to the AC;
the first AP is further configured to determine that the STA identifies a corresponding destination STA and send the first message to the destination STA if the first message exists;
the AC is used for receiving the second message sent by the first AP, and performing decapsulation processing on the second message to obtain the first message; judging whether the STA identifier corresponding to the destination IP address exists in a second STA list; if yes, determining a second AP which is accessed by the corresponding destination STA and identified by the STA, and sending the second message to the second AP;
the second AP is used for receiving the second message sent by the AC; decapsulating the second message to obtain the first message, and sending the first message to the destination STA;
wherein, stored in the first STA list is information of all STAs that are online at the first AP.
2. The system of claim 1, wherein the AC is further configured to broadcast the second message over all interfaces within the same VLAN that a destination STA corresponding to the destination IP belongs to if not present.
3. The system of claim 1, wherein the source STA is further configured to determine whether the destination IP address is in the same network segment as the source IP address of the source STA;
if yes, the first message is sent to the first AP.
4. A communication method, wherein the method is applied to a first AP, the first AP accesses an AC, and the method is applied to first communication between STAs, the method includes:
receiving a first message sent by a source STA, wherein the first message comprises a destination IP address;
judging whether an STA identifier corresponding to the destination IP address exists in a first STA list;
if not, carrying out encapsulation processing on the first message to obtain a second message; if yes, determining a destination STA corresponding to the STA identifier, and sending the first message to the destination STA;
sending the second message to the AC, so that the AC performs decapsulation processing on the second message to obtain the first message; judging whether the STA identifier corresponding to the destination IP address exists in a second STA list; if yes, determining a second AP which is accessed by the corresponding destination STA and identified by the STA, and sending the second message to the second AP;
wherein, stored in the first STA list is information of all STAs that are online at the first AP.
5. The method according to claim 4, wherein the method further comprises:
receiving a third message sent by the AC, and performing decapsulation processing on the third message to obtain a fourth message, wherein the fourth message comprises the destination IP address;
and sending the fourth message to a destination STA corresponding to the destination IP address according to the destination IP address.
6. The communication method is characterized in that the method is applied to an AC, a first AP and a second AP are accessed into the AC, the method is applied to communication between STAs for the first time, and the method comprises the following steps:
receiving a first message sent by the first AP;
decapsulating the first message to obtain a second message, wherein the second message comprises a destination IP address;
judging whether an STA identifier corresponding to the destination IP address exists in a first STA list;
if so, determining the second AP to which the STA is connected and corresponding to the destination STA is identified, and sending the first message to the second AP, so that the second AP obtains the second message after unpacking the first message, and the second AP sends the second message to the destination STA;
the first message is sent after the first AP determines that there is no STA identifier corresponding to the destination IP address in the local STA list, the first AP does not send the first message to the AC after determining that there is an STA identifier corresponding to the destination IP address in the local STA list, and information of all STAs online at the first AP is stored in the local STA list.
7. The method of claim 6, wherein the method further comprises:
and if not, broadcasting the first message through all interfaces of which the destination STA corresponding to the destination IP address belongs to the same VLAN.
CN202010520768.7A 2020-06-10 2020-06-10 Communication system and communication method Active CN111865748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010520768.7A CN111865748B (en) 2020-06-10 2020-06-10 Communication system and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010520768.7A CN111865748B (en) 2020-06-10 2020-06-10 Communication system and communication method

Publications (2)

Publication Number Publication Date
CN111865748A CN111865748A (en) 2020-10-30
CN111865748B true CN111865748B (en) 2023-10-20

Family

ID=72987651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010520768.7A Active CN111865748B (en) 2020-06-10 2020-06-10 Communication system and communication method

Country Status (1)

Country Link
CN (1) CN111865748B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500412A (en) * 2022-01-26 2022-05-13 山东核电有限公司 Method and system for processing mirror image flow data

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127707A (en) * 2007-09-21 2008-02-20 杭州华三通信技术有限公司 Data forwarding method and access point device
CN101141493A (en) * 2007-10-11 2008-03-12 杭州华三通信技术有限公司 Address analysis method and access point of wireless LAN
WO2010097004A1 (en) * 2009-02-27 2010-09-02 西安西电捷通无线网络通信有限公司 Method for realizing integration of wapi and capwap by separated mac mode
CN102595333A (en) * 2012-02-06 2012-07-18 福建星网锐捷网络有限公司 Message transmitting method and wireless access equipment
CN102790722A (en) * 2012-08-28 2012-11-21 北京傲天动联技术有限公司 DHCP (dynamic host configuration protocol) message forwarding method and wireless access control equipment
CN102946358A (en) * 2012-11-23 2013-02-27 武汉虹信通信技术有限责任公司 Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network
CN103491005A (en) * 2013-09-06 2014-01-01 福建星网锐捷网络有限公司 Method for controlling transmission of message, access point device and relevant system
CN103532850A (en) * 2013-09-29 2014-01-22 福建星网锐捷网络有限公司 Uplink message forwarding method, device and AP (access point) equipment
WO2014194492A1 (en) * 2013-06-05 2014-12-11 华为技术有限公司 Access point selection method and device
CN104363158A (en) * 2014-11-17 2015-02-18 京信通信系统(中国)有限公司 Method, device and system for transmitting data by CAPWAP tunnel
CN105940722A (en) * 2014-08-27 2016-09-14 华为技术有限公司 Access controller, station, access point and controlling method
CN106879005A (en) * 2017-01-17 2017-06-20 新华三技术有限公司 The collocation method and device of a kind of AP
CN107251636A (en) * 2015-02-24 2017-10-13 日本电信电话株式会社 Wireless communication system, wireless communications method, wireless LAN base station device and Wireless LAN terminal device
CN107548143A (en) * 2017-08-29 2018-01-05 新华三技术有限公司 Message sending and receiving method, device, radio reception device and terminal device
CN107612991A (en) * 2017-09-14 2018-01-19 上海斐讯数据通信技术有限公司 The method and system of link keep-alive between a kind of AP and AC, AC and AP

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127707A (en) * 2007-09-21 2008-02-20 杭州华三通信技术有限公司 Data forwarding method and access point device
CN101141493A (en) * 2007-10-11 2008-03-12 杭州华三通信技术有限公司 Address analysis method and access point of wireless LAN
WO2010097004A1 (en) * 2009-02-27 2010-09-02 西安西电捷通无线网络通信有限公司 Method for realizing integration of wapi and capwap by separated mac mode
CN102595333A (en) * 2012-02-06 2012-07-18 福建星网锐捷网络有限公司 Message transmitting method and wireless access equipment
CN102790722A (en) * 2012-08-28 2012-11-21 北京傲天动联技术有限公司 DHCP (dynamic host configuration protocol) message forwarding method and wireless access control equipment
CN102946358A (en) * 2012-11-23 2013-02-27 武汉虹信通信技术有限责任公司 Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network
WO2014194492A1 (en) * 2013-06-05 2014-12-11 华为技术有限公司 Access point selection method and device
CN103491005A (en) * 2013-09-06 2014-01-01 福建星网锐捷网络有限公司 Method for controlling transmission of message, access point device and relevant system
CN103532850A (en) * 2013-09-29 2014-01-22 福建星网锐捷网络有限公司 Uplink message forwarding method, device and AP (access point) equipment
CN105940722A (en) * 2014-08-27 2016-09-14 华为技术有限公司 Access controller, station, access point and controlling method
CN104363158A (en) * 2014-11-17 2015-02-18 京信通信系统(中国)有限公司 Method, device and system for transmitting data by CAPWAP tunnel
CN107251636A (en) * 2015-02-24 2017-10-13 日本电信电话株式会社 Wireless communication system, wireless communications method, wireless LAN base station device and Wireless LAN terminal device
CN106879005A (en) * 2017-01-17 2017-06-20 新华三技术有限公司 The collocation method and device of a kind of AP
CN107548143A (en) * 2017-08-29 2018-01-05 新华三技术有限公司 Message sending and receiving method, device, radio reception device and terminal device
CN107612991A (en) * 2017-09-14 2018-01-19 上海斐讯数据通信技术有限公司 The method and system of link keep-alive between a kind of AP and AC, AC and AP

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Lianfen Huang.A method to simulate a large number of AP upline.《2013 15th International Conference on Advanced Communications Technology (ICACT)》.2013,全文. *
岳超 ; .基于瘦AP+AC模式的组网技术研究.科学技术创新.2013,(第20期),全文. *
高波 ; 吴非 ; 林睿 ; 沈成彬 ; .热点WLAN AP设备能效及指标评估方法的研究.电信科学.2018,(第09期),全文. *

Also Published As

Publication number Publication date
CN111865748A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US10263916B2 (en) System and method for message handling in a network device
CA2973048C (en) Bridged local area network communication between a device and a cellular access network node
EP2844002B1 (en) Network traffic distribution method, base station, and terminal
US9119121B2 (en) Systems and methods for WLAN roaming
EP3487226A1 (en) Group management method utilized in coordinated multipoint, device, and system
US9438555B2 (en) Communicating with a distribution system via an uplink access point
EP2725766B1 (en) Service packet forwarding and processing method and system, and access point ap
US10051688B1 (en) Bridging wireless network traffic
US8873530B2 (en) System and method for universal wireless distribution
US9408061B2 (en) Distributed network layer mobility for unified access networks
US10314090B2 (en) Access point management
CN104468866A (en) Fast roaming method for multi-gateway terminal in wireless local area network
US20160080318A1 (en) Dynamic host configuration protocol release on behalf of a user
EP3871453B1 (en) Paging of idle state wireless communication devices
US10091730B2 (en) Adaptive management of wireless clients based on clients radio behaviors and capabilities
CN111865748B (en) Communication system and communication method
US20070197214A1 (en) Encapsulation techniques for handling information services messages for wireless networks
WO2018214947A1 (en) Communication method and device
US20230412557A1 (en) Method and device for arp operation in communication system supporting multiple links
US11683746B2 (en) Wireless data service based on geographic data network names
US11039339B1 (en) WLAN with distributed access point functionality
JP2009044414A (en) Radio communication device, communication method and communication program
CN106211141A (en) The retransmission method of the stream of a kind of WLAN roaming stations and device
CN111277959B (en) Message forwarding method and device
CN106982424A (en) A kind of method and its system of the automatic discovery associate device locked based on cloud

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