CN104754521A - Message transmitting method, wireless access point, wireless controller and system - Google Patents
Message transmitting method, wireless access point, wireless controller and system Download PDFInfo
- Publication number
- CN104754521A CN104754521A CN201510116655.XA CN201510116655A CN104754521A CN 104754521 A CN104754521 A CN 104754521A CN 201510116655 A CN201510116655 A CN 201510116655A CN 104754521 A CN104754521 A CN 104754521A
- Authority
- CN
- China
- Prior art keywords
- radio
- batch
- messages
- message
- wlan
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000013507 mapping Methods 0.000 claims abstract description 72
- 230000010076 replication Effects 0.000 claims description 17
- 238000005538 encapsulation Methods 0.000 claims description 12
- 238000004806 packaging method and process Methods 0.000 claims description 2
- 101150081243 STA1 gene Proteins 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- OVGWMUWIRHGGJP-WVDJAODQSA-N (z)-7-[(1s,3r,4r,5s)-3-[(e,3r)-3-hydroxyoct-1-enyl]-6-thiabicyclo[3.1.1]heptan-4-yl]hept-5-enoic acid Chemical compound OC(=O)CCC\C=C/C[C@@H]1[C@@H](/C=C/[C@H](O)CCCCC)C[C@@H]2S[C@H]1C2 OVGWMUWIRHGGJP-WVDJAODQSA-N 0.000 description 2
- 101100161473 Arabidopsis thaliana ABCB25 gene Proteins 0.000 description 2
- 101000988961 Escherichia coli Heat-stable enterotoxin A2 Proteins 0.000 description 2
- 101100096893 Mus musculus Sult2a1 gene Proteins 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a message transmitting method, a wireless access point, a wireless controller and a system. When the first duplicated message received by an AP (access point) carries with information of Radio ID bitmap, generating a second duplicated message according to the rule of Radio ID bitmap (R bit map), wherein the first duplicated message is generated according to number of alan station point; analyzing the information of Radio ID bitmap carried by the first duplicated message, and obtaining the Radio ID; according to the AP end mapping table, searching a basic service unit logo BSS ID corresponding to the Radio ID; according to the basic service unit logo BSS ID, structuring a wireless frame, and transferring the second duplicated message. The message transmitting method improves the broadcasting and multicast message control in a smart distribution system, reduces the message duplicating cost and improves the utilization rate of the network bandwidth.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message forwarding method, a wireless access point, a wireless controller, and a system.
Background
WLAN (Wireless Local Area network) deployment usually adopts centralized management, And uses AC (Access controller, Wireless controller) And AP (Access point, Wireless Access point) to form a thin AP network architecture, And the AP uses wap (control And Provisioning of Wireless Access points) protocol to Access AC, And the AC provides centralized management of WLAN. The AP broadcasts WLAN signals through a Radio frequency port, and the STA (station, a wireless terminal workstation such as a PDA and a wireless notebook) accesses the WLAN by sending 802.11 frames to the Radio (Radio frequency port) of the AP, and the AP sends the WLAN signals to the AC through a CAPWAP tunnel for centralized processing. As shown in fig. 1, after the STA accesses the WLAN, the data packet of the STA is sent to the AP, and then sent to the AC via the CAPWAP tunnel encapsulation by the AP, and the AC performs the CAPWAP decapsulation after receiving the data packet and then forwards the decapsulated data packet to the Internet. Similarly, the Internet message is sent to the AC, is encapsulated through the CAPWAP tunnel and then is sent to the AP for CAPWAP decapsulation, and then is sent to the STA, so that the STA can smoothly use the network.
In WLAN service application, broadcast and multicast messages will occupy a certain ratio, and particularly, when STA performs video on-demand, multicast service data will become the main traffic in the network. When the STA1 performs video broadcasting, the STA1 transmits IGMP (Internet Group Management Protocol) to the AC through the AP, and the AC constructs a multicast route and establishes a multicast route with the multicast server. The multicast data stream of the on-demand video server is then sent to the AC and encapsulated via CAPWAP to the AP, and finally to the STA 1. When STA2 also performs video on-demand, the multicast data stream will be replicated on the AC and sent to STA2, also by establishing a multicast route with the AC via the IGMP protocol.
Since WLAN is based on Radio applications, the STA is always associated to a specific Radio. According to the standard definition of the CAPWAP protocol, the message designates the Radio to which the STA belongs on the AC, and then the message is packaged based on the Radio and the WLAN and sent to the AP. As shown in fig. 2, the message sent to the STA will fill the Radio interface in the RID field of the CAPWAP message header.
Meanwhile, the AP device may have multiple Radio interfaces, and in WLAN deployment, generally, one SSID (service set identifier, i.e., name of WLAN) is mapped to multiple radios, so that the STA accesses the same SSID and performs load balancing among different radios. The method is suitable for the case that the number of the radios in the active state is less than or equal to the number of the wlan stations, and the AC needs to copy a message for each Radio once and forwards the message to the same AP through the CAPWAP tunnel, wherein the Radio ids of each message are different, but the same wlan id bitmap exists.
However, when multiple STAs perform video broadcasting, because each STA may be associated to different radios, and when there are more radios accessed at this time, the above method is still adopted when the number of radios in an active state is greater than the number of wlan stations, which will cause an excessive multicast duplication pressure of the AC device and a serious waste of downlink bandwidth.
In order to solve the above problems, the following solutions are generally adopted:
method 1
And generating a multicast forwarding table on the AC for the multicast control message and issuing the multicast forwarding table to the AP, discarding the RID field when the CAPWAP message is forwarded, directly forwarding the multicast message to the AP, and copying the multicast message on the AP.
The method can only process the multicast message and can not control the broadcast message; meanwhile, a multicast forwarding table needs to be established and issued to the AP device through a CAPWAP control message (UDP port number 5246), and a timing problem occurs when the multicast data message is forwarded through a CAPWAP data message (UDP port number 5247), which causes a problem of slow video on demand.
Method two
When configuring the WLAN, directly issuing a VLAN (Virtual Local Area Network) or a VLAN cluster mapped by the WLAN to the AP to generate a forwarding entry, when the AC forwards the multicast broadcast packet, filling VLAN information into the packet and sending the packet to the AP, and the AP finds corresponding WLAN information according to the VLAN information and sends the WLAN information in an air interface.
The method can process multicast and broadcast messages, and can effectively solve the timing sequence problem because the VLAN and the WLAN mapping table are set on the AP in advance; however, this requires that the AP queries the VLAN and WLAN mapping table for forwarding when forwarding the packet, which is not in accordance with the idea that it is desirable to make the AP device "thin" in the thin AP network architecture, and the complexity of the AP software needs to be increased.
Disclosure of Invention
The embodiment of the invention provides a message forwarding method, which comprises the following steps:
when the number of radios in an active state reported by the AP is larger than the number of wlan stations accessed by the AP, the AC fills Radio ID bitmap information when the AC packages the message by CAPWAP;
copying the messages according to the number of the WLAN sites to obtain a first batch of copied messages;
and forwarding the first batch of copied messages to the AP according to the AC end mapping table.
According to the message forwarding method, the AC mapping table comprises: and pre-establishing a mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path.
According to the message forwarding method, the message carrying the Radio ID bitmap information comprises the following steps:
r zone bit, is used for marking carrying the Radio ID bitmap information field in the message;
and the R message information segment is used for carrying Radio ID bitmap information, wherein the Radio ID bitmap information reflects the Radio ID of the Radio in an active state and the number of the radios in the active state.
According to the message forwarding method, the method comprises the following steps: and writing the information carrying the Radio ID bitmap according to the AC end mapping table.
According to the message forwarding method, the method further comprises the following steps:
when the number of radios in an active state reported by the AP is less than or equal to the number of WLAN stations accessed by the AP, the AC encapsulates the message by CAPWAP to fill WLAN ID bitmap information;
copying the message according to the number of the radios in the active state to obtain a third batch of copied messages;
and forwarding the third batch of the copied messages to the AP according to the AC end mapping table.
The present embodiment also provides a packet forwarding method, including:
when a first batch of copy messages received by the AP carry Radio ID bitmap information, generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule; the first batch of copied messages are generated according to the number of the WLAN stations;
analyzing the Radio ID bitmap information carried in the first batch of copied messages to acquire a Radio ID;
searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table;
and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a second batch of copy messages.
According to the message forwarding method, the method comprises the following steps:
receiving a first batch of copied messages;
the AP respectively copies the messages of the first batch of copied messages according to the number of the radios in the active state
And generating a second batch of copy messages.
According to the message forwarding method, the AP mapping table comprises: and the mapping relation between the Radio ID of the Radio in the active state and the corresponding BSSID is established in advance.
According to the message forwarding method, the method further comprises the following steps:
when the third batch of copy messages received by the AP carries WLAN ID bitmap information, generating a fourth batch of copy messages according to a WLAN ID bitmap (W bitmap) rule; generating a third batch of copy messages according to the number of the radios in the active state;
analyzing WLAN ID bitmap information carried in the third batch of copied messages to acquire WLAN ID;
searching a basic service unit identifier (BSSID) corresponding to the WLAN ID according to the AP end mapping table;
and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a fourth batch of copy messages.
According to the message forwarding method, the method comprises the following steps:
receiving a third batch of copied messages;
and the AP respectively copies the messages of the third batch of copied messages according to the number of the WLAN sites to generate a fourth batch of copied messages.
According to another aspect of the present invention, there is also provided an AC comprising: a first encapsulation module: a first copy module and a first forwarding module, wherein,
a first encapsulation module: the method is used for filling Radio ID bitmap information when the AC packages the CAPWAP of the message when the Radio number in an active state reported by the AP is larger than the number of WLAN stations accessed by the AP;
a first replication module: the method is used for copying the messages according to the number of the WLAN sites to obtain a first batch of copied messages;
a first forwarding module: and the first batch of copied messages are forwarded to the AP according to the AC end mapping table.
According to another aspect of the present invention, the AC side mapping table includes: and the AC is used for recording the mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path.
According to another aspect of the present invention, the first package module includes:
r bit position: the Radio ID bitmap identification method is used for identifying a Radio ID bitmap information field carried in a message;
r message information segment unit: the Radio ID bitmap information is used for carrying Radio ID bitmap information, wherein the Radio ID bitmap information reflects the Radio ID of the Radio in an active state and the number of the radios in the active state.
According to another aspect of the present invention, the first package module includes:
a writing unit: the method is used for writing the information carrying the Radio ID bitmap according to the AC end mapping table.
According to another aspect of the present invention, the AC further includes:
a third packaging module: the method is used for carrying out CAPWAP encapsulation on the message by the AC to fill WLAN ID bitmap information when the number of radios in an active state reported by the AP is less than or equal to the number of WLAN sites accessed by the AP;
a third copy module: the device is used for copying the message according to the number of the radios in the active state to obtain a third batch of copied messages;
a third forwarding module: and the third batch of the copied messages are forwarded to the AP according to the AC end mapping table.
According to another aspect of the present invention, there is also provided an AP, including: a second replication module, a second parsing module, a second lookup module, and a second forwarding module, wherein,
a second copy module: the method is used for generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule when a first batch of copy messages received by an AP carry Radio ID bitmap information; the first batch of copied messages are generated according to the number of the WLAN stations;
a second analysis module: the method comprises the steps that the Radio ID bitmap information carried in a first batch of copied messages is analyzed, and the Radio ID is obtained;
the second searching module: the mapping table is used for searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table;
a second forwarding module: the method is used for constructing a wireless frame according to the basic service unit identifier BSSID and forwarding a second batch of copy messages.
According to another aspect of the present invention, the second copy module includes:
a second receiving component: the system comprises a first copy message receiving module, a second copy message receiving module and a first copy message sending module, wherein the first copy message is used for receiving a first batch of copy messages;
a second replicated component: the AP is used for copying the messages of the first batch of copied messages according to the number of the radios in the active state to generate a second batch of copied messages.
According to another aspect of the present invention, the AP-side mapping table is configured to pre-establish a mapping relationship between a Radio ID of a Radio in an active state and a corresponding basic service unit identifier BSSID.
According to another aspect of the present invention, the AP further includes:
a fourth copy module: the method is used for generating a fourth batch of copy messages according to a WLAN ID bitmap (W bitmap) rule when the WLAN ID bitmap information is carried in the third batch of copy messages received by the AP; generating a third batch of copy messages according to the number of the radios in the active state;
a fourth analysis module: the WLAN ID bitmap information carried in the third batch of copy messages is analyzed to obtain the WLAN ID;
the fourth searching module: searching a basic service unit identifier (BSSID) corresponding to the WLAN ID according to the AP end mapping table;
a fourth forwarding module: and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a fourth batch of copy messages.
According to another aspect of the present invention, the fourth copy module includes:
a fourth receiving component: the third batch of the copied messages are received;
a fourth replicated component: and the AP is used for copying the messages of the third batch of copied messages according to the number of the WLAN sites to generate a fourth batch of copied messages.
According to another aspect of the present invention, there is also provided a packet forwarding system, including: the AC described above and the AP described above.
As can be seen from the technical solutions provided by the embodiments of the present invention, in the embodiments of the present invention, when a first batch of replication messages received by an AP carries Radio ID bitmap information, a second batch of replication messages are generated according to a Radio ID bitmap (R bitmap) rule; the first batch of copied messages are generated according to the number of the WLAN stations; analyzing the Radio ID bitmap information carried in the first batch of copied messages to acquire a Radio ID; searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table; constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a second batch of copy messages; the method of the invention improves the control of the broadcast and multicast messages in the intelligent subsystem, reduces the message replication overhead and improves the network bandwidth utilization rate, and effectively controls the multicast and broadcast without increasing the complexity of AP equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a schematic diagram of a deployment of a WLAN (Wireless Local Area networks);
FIG. 2 illustrates a CAPWAP message protocol format in the prior art;
fig. 3 is a flowchart of an AC end processing of a message forwarding method according to an embodiment of the present invention;
FIG. 4 is a format of a Wireless Specific Information field;
FIG. 5 is a protocol format after the addition of a Radio ID bitmap field;
FIG. 6 is a format of a Radio ID bitmap information segment;
FIG. 7AC side mapping table;
fig. 8 is a flowchart of processing at an AP end of a message forwarding method according to an embodiment of the present invention;
fig. 9 is a processing module diagram of a message forwarding system according to a second embodiment of the present invention.
Detailed Description
For the convenience of understanding the embodiments of the present invention, the following description will be further explained by taking several specific embodiments as examples in conjunction with the drawings, and the embodiments are not to be construed as limiting the embodiments of the present invention.
Example one
Fig. 3 shows an AC-side processing flow of the message forwarding method provided in this embodiment, which includes the following processing steps:
according to the definition of the CAPWAP protocol, when the multicast or broadcast data message is subjected to CAPWAP encapsulation, the WLAN ID of the accessed WLAN site is found according to the VLAN ID and the CAPWAP tunnel interface, the WLAN ID of the WLAN site is written into WLAN ID bitmap information, and the message is filled when the AC performs CAPWAP encapsulation on the message. As shown in FIG. 2, the RID field and the W flag will be populated along with the Wireless Specific Information. The Rid field represents Radio id, and the w mark represents that the message carries Wireless Specific Information.
Wherein, the Wireless Specific Information is filled with WLAN ID bitmap, as shown in fig. 4, the most significant bit of WLAN ID bitmap represents WLAN 16, i.e. 0 th bit in fig. 4; and the least significant bit represents WLAN 1, i.e., bit 15 of fig. 4. If a plurality of WLANs are mapped to the same Radio and the same VLAN, the broadcast multicast message carries out multicast broadcast control according to the WLAN ID bitmap, and the message communication volume of the CAPWAP tunnel is reduced.
Step 11, when the number of radios in an active state reported by the AP is larger than the number of wlan stations accessed by the AP, the AC fills Radio ID bitmap information when the AC packages the message with CAPWAP;
as shown in fig. 5, the packet carrying the Radio ID bitmap information includes:
and the R zone bit is used for identifying a field carrying the Radio ID bitmap information in the message and indicating that the message contains the Radio ID bitmap information.
And the R message information segment is used for carrying Radio ID bitmap information, wherein the Radio ID bitmap information reflects the Radio ID of the Radio in an active state and the number of the radios in the active state.
In actual deployment, one WLAN is usually configured to be mapped to multiple Radio interfaces, so that the STA accesses the same SSID and performs load balancing among different radios. The CAPWAP protocol header can be expanded, an R flag bit is added on the basis of FIG. 2 and used for identifying a Radio ID bitmap information field carried in a message, the R flag bit is expanded by using the existing flags field, meanwhile, an optionally filled R message information field is added and used for carrying Radio ID bitmap information, when the number of radios in an active state reported by an AP is larger than the number of wlan stations accessed by the AP, the AC packs the Radio ID bitmap information when the message is subjected to CAPWAP encapsulation, wherein the Radio ID bitmap information reflects the Radio ID of the radios in the active state and the number of radios in the active state, and the specific protocol format is shown in FIG. 6.
The Radio Special Information in fig. 5 is an R message Information segment that can be selectively filled in, and is used to carry Radio ID bitmap Information, and the format of the R message Information segment is as shown in fig. 6, and the most significant bit is reserved, because the range of the Radio ID of the CAPWAP protocol is 1 to 31, only 31 bits are defined here, and the least significant bit represents Radio 1.
And the Radio ID bitmap information is written into and carries the Radio ID bitmap information according to an AC end mapping table, and the AC end mapping table comprises: and pre-establishing a mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path. At the AC end, the AC may create a tunnel interface for the AP connected to the AC end, and the AC constructs an AC end mapping table from the WLAN ID, the VLAN ID, the CAPWAP tunnel interface, and the Radio ID of the Radio in the active state, as shown in fig. 7. And finding out the Radio ID of the Radio in the active state according to the VLAN ID and the CAPWAP tunnel interface, wherein the Radio ID can reflect the number of the radios in the active state at the same time. And writing the Radio ID of the Radio in the active state into Radio ID bitmap information, and filling when the AC packages the message in CAPWAP.
Specifically, when the number of radios in the active state reported by the AP is greater than the number of wlan stations accessed by the AP, the number of radios in the active state is to be acquired, and specifically, a counter is set to record the number of radios in the active state reported by the AP. when the number of Radio in an active state reported by the AP is larger than that of the WLAN sites accessed by the AP, the AC fills Radio ID bitmap information when the AC encapsulates the message by CAPWAP;
in addition, when the number of radios in an active state reported by the AP is less than or equal to the number of WLAN stations accessed by the AP, the AC encapsulates the message by CAPWAP and fills WLAN ID bitmap information;
copying the message according to the number of the radios in the active state to obtain a third batch of copied messages;
specifically, when the number of radios in an active state reported by the AP is less than or equal to the number of wlan stations accessed by the AP, the AC sends a packet to each radio, wherein the radio ids of each packet are different, but the same wlan id bitmap exists; when the message is packaged, the message carrying Radio ID bitmap information is not carried, and only the wlan ID bitmap information is carried, so that the number of the messages copied by the AC is minimum.
And forwarding the third batch of the copied messages to the AP according to the AC end mapping table.
Step 12, copying the messages according to the number of the WLAN sites to obtain a first batch of copied messages;
the first batch of copied messages are the messages filled with Radio ID bitmap information when the AC packages the messages in CAPWAP, are taken as basic messages, and then the basic messages are copied according to the number of the wlan stations, so as to generate batch messages matched with the number of the wlan stations.
In this embodiment, at the AC end, the AP to be sent for the first copy packet is determined according to the VLAN ID, and it is assumed that the packet is sent to AP1, where at this time, the number of radios in an active state carried by AP1 is 3, the number of wlan stations is 2, two copies of the packet are made on the AC according to the number of wlan stations as the first copy packet, the first written wlan-ID is 1, the binary code of radio ID bitmap is 111, the second wlan-ID is 2, and the binary code of radio ID bitmap is 111.
And step 13, forwarding the first batch of copied messages to the AP according to the AC end mapping table.
The mapping table of the AC end is a mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path, which is established in advance by the AC. At the AC end, the AC may create a tunnel interface for the AP connected to the AC end, and the AC constructs an AC end mapping table from the WLAN ID, the VLAN ID, the CAPWAP tunnel interface, and the Radio ID of the Radio in the active state, as shown in fig. 7.
Fig. 8 shows a processing flow of the AP end of the message forwarding method provided in this embodiment, which includes the following processing steps:
step 21, when the first batch of copy messages received by the AP carries Radio ID bitmap information, generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule; the first batch of copied messages are generated according to the number of the WLAN stations;
generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule, wherein the method comprises the following steps:
receiving a first batch of copied messages;
and the AP respectively copies the messages of the first batch of copied messages according to the number of the radios in the active state to generate a second batch of copied messages.
Specifically, following the above example, two copies of the packet are copied on the AC according to the number of wlan stations, when the first packet is sent to the AP, the AP parses the radio ID bitmap to obtain corresponding IDs of the radios in the active state, which are respectively radio 1, radio 2, and radio 3, and then copies three copies of the packet according to the number of radios in the active state;
when the second message is sent to the AP, the AP analyzes the radio ID bitmap to obtain corresponding IDs of the corresponding radios in the active state, namely radio 1, radio 2 and radio 3, and then copies three messages according to the number of the radios in the active state;
and generating a second batch of copied messages according to a Radio ID bitmap (R bitmap) rule for the first batch of copied messages to obtain six copies of the second batch of copied messages.
Step 22, resolving the Radio ID bitmap information carried in the first batch of copied messages to obtain a Radio ID;
step 23, searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table;
and 24, constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a second batch of copy messages.
After receiving the messages copied according to the number of the WLAN sites, the AP analyzes the Radio ID bitmap information carried in the first copied messages, wherein the Radio ID bitmap information comprises the Radio ID information in the active state and also reflects the number of the radios in the active state. Analyzing Radio IDbitmap information carried in the first batch of copied messages, acquiring the Radio ID, searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table, constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a second batch of copied messages.
The AP mapping table comprises: and the mapping relation between the Radio ID of the Radio in the active state and the corresponding basic service unit identifier BSSID is established in advance. When the AP adds the WLAN, an AP mapping table is already created, the AP constructs an AP end mapping table by the WLAN ID, the basic service unit identifier BSSID and the Radio ID of the Radio in the active state, and the AP mapping table comprises the mapping relation between the Radio ID of the Radio in the active state and the corresponding basic service unit identifier BSSID, and also comprises the mapping relation between the Radio ID of the Radio in the active state and the corresponding basic service unit identifier BSSID as well as the corresponding WLAN ID.
And finding out a corresponding WLAN ID according to the radio ID, constructing a wireless frame according to a basic service unit identifier BSSID corresponding to the WLAN ID, namely the MAC address of the WLAN site, and forwarding the second batch of the copied messages.
In addition, when the third batch of copy messages received by the AP carries WLAN ID bitmap information, a fourth batch of copy messages are generated according to a WLAN ID bitmap (W bitmap) rule; generating a third batch of copy messages according to the number of the radios in the active state;
analyzing WLAN ID bitmap information carried in the third batch of copied messages to acquire WLAN ID;
searching a basic service unit identifier (BSSID) corresponding to the WLAN ID according to the AP end mapping table;
and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a fourth batch of copy messages.
Generating a fourth batch of copy messages according to a WLAN ID bitmap (W bitmap) rule, wherein the fourth batch of copy messages comprises the following steps:
receiving a third batch of copied messages;
and the AP respectively copies the messages of the third batch of copied messages according to the number of the WLAN sites to generate a fourth batch of copied messages.
After receiving the message, the AP acquires a radio id, analyzes the wlan id bitmap information carried by the message, acquires the number of stations of the wlan accessed by the AP, and copies each received message according to the number of stations of the wlan respectively to generate a fourth batch of copied messages.
For example, the number of radios in active state on the AP is 3, the number of wlan stations is 4, and both wlans map to all radios. Then, copying the packet according to the Wlan ID bitmap (W bitmap) rule, which specifically includes: the AC sends one message to each radio, that is, three messages need to be copied, and the radio id of each message is different, but the same wlan id bitmap exists. After the message reaches the AP, the AP directly acquires radio id, then wlan id bitmap information carried by the message is analyzed, the wlan id bitmap information also reflects the number of stations of a wlan accessed by the AP, and according to the wlan id bitmap information, 4 messages are respectively copied aiming at 3 copied messages respectively, namely 12 messages in total.
When the number of the radios in the active state is larger than that of the wlan stations, the messages are copied according to the Radio ID bitmap (R bitmap) rule, so that flexible processing can be realized, the number of the messages can be saved, for example, when the number of the radios in the active state of the AP is 16, the number of the wlan stations is 2, and at the moment, the number of the radios in the active state is larger than that of the wlan stations, according to the method of the present invention, the messages are copied according to the number of the wlan stations to obtain 2 copies of a first batch of copied messages, only copying of 2 messages is needed to be completed at the AC end, so that the number of the messages is saved, and when the first batch of copied messages received by the AP carry Radio ID bitmap information, 32 copies of a second batch of copied messages are generated according to the Radio ID bitmap (R bitmap) rule; however, if the packet is still copied according to the Wlan ID bitmap (W bitmap), 16 packets need to be copied on the AC, which consumes packet resources.
Example two
The embodiment provides a message forwarding system, and a specific implementation structure of the message forwarding system is shown in fig. 9, which may specifically include an AP and an AC; wherein,
an AC, comprising: a first encapsulation module 11, a first replication module 12 and a first forwarding module 13.
First package module 11: the method is used for filling Radio ID bitmap information when the AC packages the CAPWAP of the message when the Radio number in an active state reported by the AP is larger than the number of WLAN stations accessed by the AP;
the first replication module 12: the method is used for copying the messages according to the number of the WLAN sites to obtain a first batch of copied messages;
the first forwarding module 13: and the first batch of copied messages are forwarded to the AP according to the AC end mapping table.
An AC side mapping table comprising: and the AC is used for recording the mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path.
Wherein the first package module 11: the method comprises the following steps:
r bit cell 111: the Radio ID bitmap identification method is used for identifying a Radio ID bitmap information field carried in a message;
r-message information segment unit 112: the Radio ID bitmap information is used for carrying Radio ID bitmap information, wherein the Radio ID bitmap information reflects the Radio ID of the Radio in an active state and the number of the radios in the active state.
First package module 11: further comprising:
the counting unit 113: which is used to record the number of radios in the active state.
First package module 11: further comprising:
the write unit 114: the method is used for writing the information carrying the Radio ID bitmap according to the AC end mapping table.
An AC, further comprising:
third package module 14: the method is used for carrying out CAPWAP encapsulation on the message by the AC to fill WLAN ID bitmap information when the number of radios in an active state reported by the AP is less than or equal to the number of WLAN sites accessed by the AP;
the third copy module 15: the device is used for copying the message according to the number of the radios in the active state to obtain a third batch of copied messages;
the third forwarding module 16: and the third batch of the copied messages are forwarded to the AP according to the AC end mapping table.
An AP, comprising: a second replication module 21, a second parsing module 22, a second lookup module 23, and a second forwarding module 24, wherein,
the second copy module 21: the method is used for generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule when a first batch of copy messages received by an AP carry Radio ID bitmap information; the first batch of copied messages are generated according to the number of the WLAN stations;
the second parsing module 22: the method comprises the steps that the Radio ID bitmap information carried in a first batch of copied messages is analyzed, and the Radio ID is obtained;
the second lookup module 23: the mapping table is used for searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table;
the second forwarding module 24: the method is used for constructing a wireless frame according to the basic service unit identifier BSSID and forwarding a second batch of copy messages.
Wherein, the second copy module 21 includes:
the second receiving component 211: the system comprises a first copy message receiving module, a second copy message receiving module and a first copy message sending module, wherein the first copy message is used for receiving a first batch of copy messages;
second replication component 212: the AP is used for copying the messages of the first batch of copied messages according to the number of the radios in the active state to generate a second batch of copied messages.
And the AP end mapping table is used for pre-establishing the mapping relation between the Radio ID of the Radio in the active state and the corresponding basic service unit identifier BSSID.
An AP, further comprising:
fourth replication module 25: the method is used for generating a fourth batch of copy messages according to a WLAN ID bitmap (W bitmap) rule when the third batch of copy messages received by the AP carry WLAN IDbitmap information; generating a third batch of copy messages according to the number of the radios in the active state;
the fourth analysis module 26: the WLAN ID bitmap information carried in the third batch of copy messages is analyzed to obtain the WLAN ID;
the fourth lookup module 27: searching a basic service unit identifier (BSSID) corresponding to the WLAN ID according to the AP end mapping table;
the fourth forwarding module 28: and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a fourth batch of copy messages.
A fourth replication module 25 comprising:
the fourth receiving component 251: the third batch of the copied messages are received;
fourth replication component 252: and the AP is used for copying the messages of the third batch of copied messages according to the number of the WLAN sites to generate a fourth batch of copied messages.
The specific process of using the apparatus of the embodiment of the present invention to forward a message is similar to the foregoing method embodiment, and is not described here again.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (21)
1. A message forwarding method is characterized by comprising the following steps:
when the number of radios in an active state reported by the AP is larger than the number of wlan stations accessed by the AP, the AC fills Radio ID bitmap information when the AC packages the message by CAPWAP;
copying the messages according to the number of the WLAN sites to obtain a first batch of copied messages;
and forwarding the first batch of copied messages to the AP according to the AC end mapping table.
2. The message forwarding method according to claim 1, wherein the AC side mapping table includes: and pre-establishing a mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path.
3. The message forwarding method according to claim 1, wherein the message carrying the Radio ID bitmap information comprises:
r zone bit, is used for marking carrying the Radio ID bitmap information field in the message;
and the R message information segment is used for carrying Radio ID bitmap information, wherein the Radio ID bitmap information reflects the Radio ID of the Radio in an active state and the number of the radios in the active state.
4. The message forwarding method according to claim 3, comprising: and writing the information carrying the Radio ID bitmap according to the AC end mapping table.
5. The message forwarding method according to any one of claims 1 to 4, further comprising:
when the number of radios in an active state reported by the AP is less than or equal to the number of WLAN stations accessed by the AP, the AC encapsulates the message by CAPWAP to fill WLAN ID bitmap information;
copying the message according to the number of the radios in the active state to obtain a third batch of copied messages;
and forwarding the third batch of the copied messages to the AP according to the AC end mapping table.
6. A message forwarding method is characterized by comprising the following steps:
when a first batch of copy messages received by the AP carry Radio ID bitmap information, generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule; the first batch of copied messages are generated according to the number of the WLAN stations;
analyzing the Radio ID bitmap information carried in the first batch of copied messages to acquire a Radio ID;
searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table;
and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a second batch of copy messages.
7. The message forwarding method according to claim 6, comprising:
receiving a first batch of copied messages;
and the AP respectively copies the messages of the first batch of copied messages according to the number of the radios in the active state to generate a second batch of copied messages.
8. The message forwarding method according to claim 6, wherein the AP-side mapping table includes: and the mapping relation between the Radio ID of the Radio in the active state and the corresponding BSSID is established in advance.
9. The message forwarding method according to any one of claims 6 to 8, further comprising:
when the third batch of copy messages received by the AP carries WLAN ID bitmap information, generating a fourth batch of copy messages according to a WLAN ID bitmap (W bitmap) rule; generating a third batch of copy messages according to the number of the radios in the active state;
analyzing WLAN ID bitmap information carried in the third batch of copied messages to acquire WLAN ID;
searching a basic service unit identifier (BSSID) corresponding to the WLAN ID according to the AP end mapping table;
and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a fourth batch of copy messages.
10. The message forwarding method according to claim 9, comprising:
receiving a third batch of copied messages;
and the AP respectively copies the messages of the third batch of copied messages according to the number of the WLAN sites to generate a fourth batch of copied messages.
11. An AC, comprising: a first encapsulation module, a first replication module, and a first forwarding module, wherein,
a first encapsulation module: the method is used for filling Radio ID bitmap information when the AC packages the CAPWAP of the message when the Radio number in an active state reported by the AP is larger than the number of WLAN stations accessed by the AP;
a first replication module: the method is used for copying the messages according to the number of the WLAN sites to obtain a first batch of copied messages;
a first forwarding module: and the first batch of copied messages are forwarded to the AP according to the AC end mapping table.
12. The AC of claim 11, wherein the AC side mapping table comprises: and the AC is used for recording the mapping relation between the Radio ID of the Radio in the active state and the corresponding message forwarding path.
13. An AC according to claim 12, wherein said first packaged module comprises:
r bit position: the Radio ID bitmap identification method is used for identifying a Radio ID bitmap information field carried in a message;
r message information segment unit: the Radio ID bitmap information is used for carrying Radio ID bitmap information, wherein the Radio ID bitmap information reflects the Radio ID of the Radio in an active state and the number of the radios in the active state.
14. An AC according to claim 13, wherein said first packaged module comprises:
a writing unit: the method is used for writing the information carrying the Radio ID bitmap according to the AC end mapping table.
15. An AC according to claim 14, further comprising:
a third packaging module: the method is used for carrying out CAPWAP encapsulation on the message by the AC to fill WLAN IDbitmap information when the number of radios in an active state reported by the AP is less than or equal to the number of WLAN sites accessed by the AP;
a third copy module: the device is used for copying the message according to the number of the radios in the active state to obtain a third batch of copied messages;
a third forwarding module: and the third batch of the copied messages are forwarded to the AP according to the AC end mapping table.
16. An AP, comprising: a second replication module, a second parsing module, a second lookup module, and a second forwarding module, wherein,
a second copy module: the method is used for generating a second batch of copy messages according to a Radio ID bitmap (R bitmap) rule when a first batch of copy messages received by an AP carry Radio ID bitmap information; the first batch of copied messages are generated according to the number of the WLAN stations;
a second analysis module: the method comprises the steps that the Radio ID bitmap information carried in a first batch of copied messages is analyzed, and the Radio ID is obtained;
the second searching module: the mapping table is used for searching a basic service unit identifier BSSID corresponding to the Radio ID according to the AP end mapping table;
a second forwarding module: the method is used for constructing a wireless frame according to the basic service unit identifier BSSID and forwarding a second batch of copy messages.
17. The AP of claim 16, wherein the second replication module comprises:
a second receiving component: the system comprises a first copy message receiving module, a second copy message receiving module and a first copy message sending module, wherein the first copy message is used for receiving a first batch of copy messages;
a second replicated component: the AP is used for copying the messages of the first batch of copied messages according to the number of the radios in the active state to generate a second batch of copied messages.
18. The AP according to claim 16, wherein the AP-side mapping table is configured to pre-establish a mapping relationship between a Radio ID of Radio in an active state and a corresponding basic service unit identifier BSSID.
19. The AP of claim 17, further comprising:
a fourth copy module: the method is used for generating a fourth batch of copy messages according to a WLAN ID bitmap (W bitmap) rule when the third batch of copy messages received by the AP carry WLAN IDbitmap information; generating a third batch of copy messages according to the number of the radios in the active state;
a fourth analysis module: the WLAN ID bitmap information carried in the third batch of copy messages is analyzed to obtain the WLAN ID;
the fourth searching module: searching a basic service unit identifier (BSSID) corresponding to the WLAN ID according to the AP end mapping table;
a fourth forwarding module: and constructing a wireless frame according to the basic service unit identifier BSSID, and forwarding a fourth batch of copy messages.
20. The AP of claim 19, wherein the fourth replication module comprises:
a fourth receiving component: the third batch of the copied messages are received;
a fourth replicated component: and the AP is used for copying the messages of the third batch of copied messages according to the number of the WLAN sites to generate a fourth batch of copied messages.
21. A message forwarding system, comprising: the AC of any one of claims 11 to 15 and the AP of any one of claims 16 to 20.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510116655.XA CN104754521B (en) | 2015-03-17 | 2015-03-17 | A kind of message forwarding method, wireless access point, wireless controller and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510116655.XA CN104754521B (en) | 2015-03-17 | 2015-03-17 | A kind of message forwarding method, wireless access point, wireless controller and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754521A true CN104754521A (en) | 2015-07-01 |
CN104754521B CN104754521B (en) | 2018-09-11 |
Family
ID=53593503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510116655.XA Active CN104754521B (en) | 2015-03-17 | 2015-03-17 | A kind of message forwarding method, wireless access point, wireless controller and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754521B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017084387A1 (en) * | 2015-11-19 | 2017-05-26 | 华讯方舟科技有限公司 | Method and device for extending the number of wlan ids |
CN108924061A (en) * | 2018-06-22 | 2018-11-30 | 深圳市信锐网科技术有限公司 | A kind of application identification and management method, system and relevant apparatus |
CN109348432A (en) * | 2018-11-23 | 2019-02-15 | 新华三技术有限公司 | A kind of message forwarding method and device |
WO2019095227A1 (en) * | 2017-11-15 | 2019-05-23 | Oppo广东移动通信有限公司 | Method for controlling duplication and transmission of data, user equipment, primary node, and secondary node |
CN113364893A (en) * | 2020-03-06 | 2021-09-07 | 华为技术有限公司 | Data transmission method, device and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007123577A1 (en) * | 2005-11-23 | 2007-11-01 | Envisionit Llc | Message broadcasting admission control system and method |
CN102215456A (en) * | 2010-04-07 | 2011-10-12 | 华为技术有限公司 | Multicast control method and device |
-
2015
- 2015-03-17 CN CN201510116655.XA patent/CN104754521B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007123577A1 (en) * | 2005-11-23 | 2007-11-01 | Envisionit Llc | Message broadcasting admission control system and method |
CN102215456A (en) * | 2010-04-07 | 2011-10-12 | 华为技术有限公司 | Multicast control method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017084387A1 (en) * | 2015-11-19 | 2017-05-26 | 华讯方舟科技有限公司 | Method and device for extending the number of wlan ids |
WO2019095227A1 (en) * | 2017-11-15 | 2019-05-23 | Oppo广东移动通信有限公司 | Method for controlling duplication and transmission of data, user equipment, primary node, and secondary node |
US11470504B2 (en) | 2017-11-15 | 2022-10-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method, user equipment, and node for controlling data duplication and transmission |
CN108924061A (en) * | 2018-06-22 | 2018-11-30 | 深圳市信锐网科技术有限公司 | A kind of application identification and management method, system and relevant apparatus |
CN108924061B (en) * | 2018-06-22 | 2022-02-25 | 深圳市信锐网科技术有限公司 | Application identification and management method, system and related device |
CN109348432A (en) * | 2018-11-23 | 2019-02-15 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN113364893A (en) * | 2020-03-06 | 2021-09-07 | 华为技术有限公司 | Data transmission method, device and system |
CN113364893B (en) * | 2020-03-06 | 2022-09-16 | 华为技术有限公司 | Data transmission method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN104754521B (en) | 2018-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3783987B1 (en) | Information transmission method and device | |
CN104205667B (en) | For triggering the technology of multiple wireless devices and configuration | |
CN107734563B (en) | Method and device for processing QoS (quality of service) parameters in switching scene | |
CN104754521B (en) | A kind of message forwarding method, wireless access point, wireless controller and system | |
CN103747499A (en) | Methods and apparatus for a common control protocol for wired and wireless nodes | |
CN104158867B (en) | Information multi-hop forwarding method based on WAVE (wireless access in vehicular environments) protocol | |
EP2787761B1 (en) | Method for obtaining internet protocol header displacement mapping relationship and network node | |
CN103209045A (en) | Data communication method, device and system | |
EP3949468A1 (en) | Apparatus, method and computer program for group communication | |
CN105210346A (en) | Data transmission method, transmitting terminal device, and receiving terminal device | |
CN112752227B (en) | Communication method and device | |
CN108737053B (en) | Communication method and device of wireless local area network, station equipment and access point equipment | |
CN110072257B (en) | Method for user intercommunication under MEC | |
CN103518400A (en) | Method, device, and system for reporting signal quality measurement result | |
BR112021000337A2 (en) | DATA TRANSMISSION METHOD AND RELATED DEVICE | |
CN102984813B (en) | Data straight through processing method, equipment and system | |
CN104335636B (en) | Data transmission method and equipment and system | |
US11265730B2 (en) | Data processing method adapted to access network architecture, access network architecture system and storage medium | |
CN104022935A (en) | Mobile communication network isolation method based on business property | |
EP4228344A1 (en) | Method and apparatus for requesting prs configuration, and communication device and storage medium | |
CN103535094B (en) | The transmission method of common public radio interface data and equipment | |
CN101651605A (en) | Method and system for transmitting and receiving data | |
CN108401228B (en) | Communication method and device | |
CN111181869A (en) | Message type mapping of packet service priority | |
WO2023280107A1 (en) | Data transmission quality detection method, and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee after: RUIJIE NETWORKS Co.,Ltd. Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |