CN104754521B - A kind of message forwarding method, wireless access point, wireless controller and system - Google Patents
A kind of message forwarding method, wireless access point, wireless controller and system Download PDFInfo
- Publication number
- CN104754521B CN104754521B CN201510116655.XA CN201510116655A CN104754521B CN 104754521 B CN104754521 B CN 104754521B CN 201510116655 A CN201510116655 A CN 201510116655A CN 104754521 B CN104754521 B CN 104754521B
- Authority
- CN
- China
- Prior art keywords
- radio
- message
- copy packet
- wlan
- batch
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
An embodiment of the present invention provides a kind of message forwarding method, wireless access point, wireless controller and systems.When first copy packet that AP is received carries Radio ID bitmap information, second batch copy packet is generated according to Radio ID bitmap (R bitmaps) rules;Wherein, first copy packet is generated according to wlan website quantity;The Radio ID bitmap information carried in first copy packet is parsed, Radio ID are obtained;The corresponding basic service element identifier (element ID) BSSID of Radio ID described in table search are mapped according to the ends AP;Radio frames are constructed according to the basic service element identifier (element ID) BSSID, forward second batch copy packet;The method of the present invention is improved carries out broadcast and multicast message control in intelligence subsystem, reduces message replication overhead and improves network bandwidth utilization factor.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of message forwarding method wireless access point, wireless controllers
And system.
Background technology
The deployment generally use centralization pipe of WLAN (Wireless Local Area Networks, WLAN)
Reason forms thin AP nets using AC (Acess controler, wireless controller) and AP (Acesss point, wireless access point)
Network framework, AP are connect using CAPWAP (Control And Provisioning of Wireless Access Points) agreement
Enter AC, and the centralized management of WLAN is provided by AC.AP broadcasts WLAN signal, STA (station, wireless terminal work by radio frequency mouth
Stand, such as PDA, wireless notebook) by send 802.11 frames to AP Radio (radio frequency mouth) to access WLAN, and led to by AP
It crosses CAPWAP tunnel and is sent to AC and focused on.As shown in Fig. 1, after STA accesses WLAN, the data message of STA will
It is sent to AP, is then sent to AC by CAPWAP tunnel encapsulation by AP again, AC carries out CAPWAP decapsulations and turns again after receiving
Issue Internet.Equally, the message of Internet will first be sent to AC, by CAPWAP tunnel encapsulation after issue again AP into
Row CAPWAP decapsulations, are then then forwarded to STA, STA can thus be allowed smoothly to use network.
In WLAN service applications, broadcast and multicast message will account for certain ratio, particularly, video on demand be carried out in STA
When, multi-cast business data will become main flow in network.When STA1 carries out video on demand, STA1 will send IGMP
(Internet Group Management Protocol the Internet Group Management Protocols) passes through AC by AP, and AC will build multicast
It route simultaneously and multicast server establishes Multicast Routing.The multicast traffic stream of video on demand service device will be sent to AC and pass through in this way
CAPWAP is encapsulated to AP, is ultimately sent to STA1.When STA2 also carries out video on demand, established again by IGMP agreements and AC
Multicast Routing, multicast traffic stream will be replicated on AC and be sent to STA2.
Since WLAN is applied based on Radio, STA is always associated on specific Radio.According to CAPWAP agreements
Standard defines, and for message by the Radio belonging to the specified STA on AC, the encapsulation for being then based on Radio and WLAN progress messages is concurrent
Give AP.As shown in Fig. 2, affiliated Radio will be inserted in the RID field on CAPWAP message head by being sent to the message of STA
Interface.
Meanwhile AP equipment can have multiple Radio interfaces, in WLAN deployment, usually by a SSID (service
Set identifier, service set identifier, the i.e. title of WLAN) it is mapped under multiple Radio, make STA accesses same
SSID simultaneously carries out load balancing between different Radio.The method when the radio quantity in active state for being less than or equal to
It is applicable when wlan website quantity, AC will need to replicate for each Radio message of progress and pass through CAPWAP tunnel to turn
Issue the same AP, wherein the radio id of every part of message are different, but there are identical wlan id bitmap.
But when multiple STA are when carrying out video on demand, may be associated with due to each STA under different Radio, at this time
When the radio of access is more, above-mentioned side is still used when the radio quantity in active state is more than wlan website quantity
Method will cause the multicast replication pressure of AC equipment excessive and the serious waste of downlink bandwidth.
In view of the above problems, the following solution of generally use:
Method one
Multicast forward table is generated for multicast control message on AC and be handed down to AP, discarded when CAPWAP message forwards
Multicast message is directly forwarded to AP by RID field, and the duplication of multicast message is carried out on AP.
The method can only processing multicast message, broadcasting packet can not be controlled;Simultaneously because needing to establish multicast turn
It delivers and message (UDP port number 5246) is controlled by CAPWAP and be handed down to AP equipment, pass through with multicast data message
The forwarding of CAPWAP data messages (UDP port number 5247) is there are sequence problem, the problem that video on demand will be caused slow.
Method two
When WLAN is configured directly by WLAN mappeds VLAN (Virtual Local Area Network virtual local areas
Net) or VLAN clusters be handed down to AP generate forwarding-table item, vlan information is filled into message when AC forwarding multicasting broadcasting packets
It is sent to AP, corresponding WLAN information is found according to vlan information by AP and is sent in eating dishes without rice or wine.
The method can carry out the processing of multicast and broadcasting packet, and arrive AP since VLAN and WLAN mapping tables are arranged in advance
On, it can be with effective solution sequence problem;But this requires AP to inquire VLAN and WLAN mapping tables when message forwards to carry out
Forwarding, and wishes that the theory of AP equipment more " thin " is not inconsistent in the thin AP network architectures, need the complexity for increasing AP softwares.
Invention content
The embodiment provides a kind of message forwarding methods, including:
When AP report the radio quantity in active state be more than AP access wlan website quantity when, AC to message into
Radio ID bitmap information is filled when row CAPWAP encapsulation;
The message is replicated according to wlan website quantity, obtains first copy packet;
First copy packet is forwarded to AP according to the ends AC mapping table.
According to above-mentioned message forwarding method, the ends AC mapping table, including:Pre-establish the Radio's in active state
The mapping relations of Radio ID and corresponding message forwarding path.
According to above-mentioned message forwarding method, the message of Radio ID bitmap information is carried, including:
R flag bits, for carrying Radio ID bitmap information fields in identification message;
R message information sections, for carrying Radio ID bitmap information, wherein the Radio ID bitmap information
The Radio ID of Radio of the reflection in active state and the radio quantity in active state.
According to above-mentioned message forwarding method, including:It is written according to the ends AC mapping table and carries Radio ID bitmap information.
According to above-mentioned message forwarding method, further include:
When AP reports the radio quantity in active state to be less than or equal to the wlan website quantity of AP accesses, AC pairs
Message carries out CAPWAP encapsulation filling WLAN ID bitmap information;
The message is replicated according to the radio quantity in active state, obtains third batch copy packet;
Third batch copy packet is forwarded to AP according to the ends AC mapping table.
The present embodiment also provides a kind of message forwarding method, including:
When first copy packet that AP is received carries Radio ID bitmap information, according to Radio ID bitmap
(R bitmaps) rule generates second batch copy packet;Wherein, first copy packet is generated according to wlan website quantity;
The Radio ID bitmap information carried in first copy packet is parsed, Radio ID are obtained;
The corresponding basic service element identifier (element ID) BSSID of Radio ID described in table search are mapped according to the ends AP;
Radio frames are constructed according to the basic service element identifier (element ID) BSSID, forward second batch copy packet.
According to above-mentioned message forwarding method, including:
Receive first copy packet;
AP respectively replicates the message of first copy packet according to the radio quantity in active state
Generate second batch copy packet.
According to above-mentioned message forwarding method, the ends AP mapping table, including:The Radio's in active state pre-established
The mapping relations of Radio ID and corresponding BSSID.
According to above-mentioned message forwarding method, further include:
When the third batch copy packet that AP is received carries WLAN ID bitmap information, according to WLAN ID bitmap (W
Bitmap) rule the 4th batch of copy packet of generation;Wherein, third batch copy packet is given birth to according to the quantity in active state radio
At;
The WLAN ID bitmap information carried in parsing third batch copy packet, obtains WLAN ID;
The corresponding basic service element identifier (element ID) BSSID of WLAN ID described in table search are mapped according to the ends AP;
Radio frames are constructed according to the basic service element identifier (element ID) BSSID, forward the 4th batch of copy packet.
According to above-mentioned message forwarding method, including:
Receive third batch copy packet;
AP to the message of third batch copy packet replicate respectively according to wlan websites quantity generates the 4th reply system report
Text.
According to another aspect of the present invention, a kind of AC is also provided, including:First package module:, the first replication module and
One forwarding module, wherein
First package module:It is used for the stations wlan when AP reports the radio quantity in active state to be more than AP accesses
When point quantity, AC fills Radio ID bitmap information when carrying out CAPWAP encapsulation to message;
First replication module:It is used to replicate the message according to wlan website quantity, obtains first copy packet;
First forwarding module:It is used to that first copy packet to be forwarded to AP according to the ends AC mapping table.
According to another aspect of the present invention, the above-mentioned ends AC mapping table, including:What AC was pre-established is in active for recording
The mapping relations of the Radio ID and corresponding message forwarding path of the Radio of state.
According to another aspect of the present invention, above-mentioned first package module, including:
R indicates bit location:It is used to carry Radio ID bitmap information fields in identification message;
R message information segment units:It is used for for carrying Radio ID bitmap information, wherein the Radio ID
Bitmap message reflections are in the Radio ID of the Radio of active state and the radio quantity in active state.
According to another aspect of the present invention, above-mentioned first package module, including:
Writing unit:It, which is used to be written according to the ends AC mapping table, carries Radio ID bitmap information.
According to another aspect of the present invention, above-mentioned AC further includes:
Third package module:It is used to report the radio quantity in active state to be less than or equal to AP accesses as AP
When wlan website quantity, AC carries out CAPWAP encapsulation filling WLAN ID bitmap information to message;
Third replication module:It is used to replicate the message according to the radio quantity in active state, obtains third batch
Copy packet;
Third forwarding module:It is used to that third batch copy packet to be forwarded to AP according to the ends AC mapping table.
According to another aspect of the present invention, a kind of AP is also provided, including:Second replication module, the second parsing module, second
Searching module and the second forwarding module, wherein
Second replication module:It is used for when first copy packet that AP is received carries Radio ID bitmap information,
Second batch copy packet is generated according to Radio ID bitmap (R bitmaps) rules;Wherein, first copy packet is according to wlan
Website quantity generates;
Second parsing module:It is used to parse the Radio ID bitmap information carried in first copy packet, obtains
The Radio ID;
Second searching module:It is used to map the corresponding basic service lists of Radio ID described in table search according to the ends AP
First identifier BSSID;
Second forwarding module:It is used to construct radio frames, forwarding second according to the basic service element identifier (element ID) BSSID
Criticize copy packet.
According to another aspect of the present invention, above-mentioned second replication module, including:
Second receiving unit:It is used to receive first copy packet;
Second replication component:It is used to make AP to be reported respectively to first duplication according to the radio quantity in active state
The message of text is replicated, and second batch copy packet is generated.
According to another aspect of the present invention, the above-mentioned ends AP mapping table is used to pre-establish the Radio in active state
Radio ID and corresponding basic service element identifier (element ID) BSSID mapping relations.
According to another aspect of the present invention, above-mentioned AP further includes:
4th replication module:It is used for when the third that AP is received batch copy packet carries WLAN ID bitmap information,
The 4th batch of copy packet is generated according to WLAN ID bitmap (W bitmaps) rules;Wherein, third batch copy packet is according in work
The quantity of jump state radio generates;
4th parsing module:It is used to parse the WLAN ID bitmap information carried in third batch copy packet, obtains
WLAN ID;
4th searching module:The corresponding basic service unit marks of WLAN ID described in table search are mapped according to the ends AP
Accord with BSSID;
4th forwarding module:Radio frames, the 4th reply system of forwarding are constructed according to the basic service element identifier (element ID) BSSID
Message.
According to another aspect of the present invention, above-mentioned 4th replication module, including:
4th receiving unit:It is used to receive third batch copy packet;
4th replication component:It is used to make AP to be carried out respectively to the message of third batch copy packet according to wlan websites quantity
It replicates, generates the 4th batch of copy packet.
According to another aspect of the present invention, a kind of message forwarding system is also provided, including:Above-mentioned AC and above-mentioned AP.
The embodiment of the present invention is by receiving as AP it can be seen from the technical solution that embodiments of the invention described above provide
When first copy packet carries Radio ID bitmap information, the is generated according to Radio ID bitmap (R bitmaps) rules
Two batches of copy packets;Wherein, first copy packet is generated according to wlan website quantity;It parses and is carried in first copy packet
Radio ID bitmap information, obtain Radio ID;The corresponding bases of Radio ID described in table search are mapped according to the ends AP
This service unit identifier BSSID;Radio frames, the second reply of forwarding are constructed according to the basic service element identifier (element ID) BSSID
Message processed;The method of the present invention is improved carries out broadcast and multicast message control in intelligence subsystem, reduces message replication overhead
With raising network bandwidth utilization factor, the control of multicast and broadcast is effectively carried out in the case where AP equipment complexities need not be increased
System.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without having to pay creative labor, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the schematic diagram of the deployment of WLAN (Wireless Local Area Networks);
Fig. 2 is CAPWAP message protocol format in the prior art;
Fig. 3 is a kind of ends the AC process chart for message forwarding method that the embodiment of the present invention one provides;
Fig. 4 is the format of Wireless Specific Information message segments;
Fig. 5 is the protocol format after increased Radio ID bitmap fields;
Fig. 6 is the format of Radio ID bitmap message segments;
The ends Fig. 7 AC mapping table;
Fig. 8 is a kind of ends the AP process chart for message forwarding method that the embodiment of the present invention one provides;
Fig. 9 is a kind of processing module figure of message forwarding system provided by Embodiment 2 of the present invention.
Specific implementation mode
For ease of the understanding to the embodiment of the present invention, done further by taking several specific embodiments as an example below in conjunction with attached drawing
Explanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
Embodiment one
This embodiment offers a kind of ends the AC process flow of message forwarding method as shown in figure 3, including following processing
Step:
According to the definition of CAPWAP agreements, multicast or broadcasting data messages are when carrying out CAPWAP encapsulation, according to VLAN ID
With CAPWAP tunnel interface lookup to the WLAN ID of the website of the WLAN of access, the WLAN ID of the website of WLAN are write as WLAN
ID bitmap information is filled when AC carries out CAPWAP encapsulation to message.As shown in Fig. 2, by filling RID field and W
Mark and Wireless Specific Information information.That Rid fields indicate is Radio id, and w marks indicate report
Wireless Specific Information information is carried in text.
Wherein, that Wireless Specific Information fillings is wlan id bitmap, as shown in Fig. 4,
The 0th in most significant bit the expression WLAN 16, i.e. Fig. 4 of WLAN ID bitmap;And least significant bit indicates WLAN 1,
That is the 15th of Fig. 4.If multiple WLAN are mapped to identical Radio and the same VLAN, broadcast group broadcast message is by basis
WLAN ID bitmap carry out multicast and broadcast control, reduce the message traffic of CAPWAP tunnel.
Step 11, when AP report the radio quantity in active state be more than AP access wlan website quantity when, AC pairs
Message carries out filling Radio ID bitmap information when CAPWAP encapsulation;
The message for carrying Radio ID bitmap information, as shown in figure 5, including:
R flag bits indicate to contain Radio in message for carrying Radio ID bitmap information fields in identification message
ID bitmap information.
R message information sections, for carrying Radio ID bitmap information, wherein the Radio ID bitmap information
The Radio ID of Radio of the reflection in active state and the radio quantity in active state.
It is typically to configure a WLAN to be mapped in multiple Radio interfaces in actual deployment, to make STA accesses same
A SSID simultaneously carries out load balancing between different Radio.Here CAPWAP protocol headers can be extended, are increased on the basis of Fig. 2
Add a R flag bit, for carrying Radio ID bitmap information fields in identification message, R flag bits utilize existing
Flags fields are extended, while increasing a R message information section that filling may be selected, for carrying Radio ID bitmap
Information, when AP reports the radio quantity in active state to be more than the wlan website quantity of AP accesses, AC carries out message
Radio ID bitmap information is filled when CAPWAP is encapsulated, wherein Radio ID bitmap message reflections are in active state
Radio Radio ID and radio quantity in active state, specific protocol format it is as shown in Figure 6.
Radio Special Information are the R message information sections that filling may be selected in wherein Fig. 5, for taking
Band Radio ID bitmap information, format is as shown in fig. 6, most significant bit retains, because of CAPWAP agreement Radio ID
Ranging from 1 to 31, therefore 31 are defined only here, least significant bit indicates Radio 1.
And Radio ID bitmap information is then to be written to carry Radio ID bitmap information according to the ends AC mapping table, AC
End mapping table include:Pre-establish the mapping of the Radio ID and corresponding message forwarding path of the Radio in active state
Relationship.At the ends AC, AC can be that coupled AP creates a tunnel interface, and AC is by WLAN ID, VLAN ID, CAPWAP tunnels
Pipeline joint and Radio ID in active state Radio build the ends an AC mapping table, as shown in Figure 7.According to VLAN ID and
Radio ID, the Radio ID of CAPWAP tunnel interface lookup to the Radio in active state can also reflect source simultaneously
In the quantity of the Radio of active state.Write the Radio ID of the Radio in active state as Radio ID bitmap letters
Breath is also filled when AC carries out CAPWAP encapsulation to message.
When specific AP reports the radio quantity in active state to be more than the wlan website quantity of AP accesses, place is obtained
In the radio quantity of active state, specifically, the radio quantity in active state that setting counter records AP is reported.
Wlan is configured on AC, and when being configured on AC, specified wlan websites correspond to the AP of application, and the wlan website quantity of AP accesses exists
It can be obtained when configuration, when AP reports the radio quantity in active state to be more than the wlan website quantity of AP accesses, AC pairs
Message carries out filling Radio ID bitmap information when CAPWAP encapsulation;
In addition, when AP reports the radio quantity in active state to be less than or equal to the wlan website quantity of AP accesses,
AC carries out CAPWAP encapsulation filling WLAN ID bitmap information to message;
The message is replicated according to the radio quantity in active state, obtains third batch copy packet;
Specifically, when AP reports the radio quantity in active state to be less than or equal to the wlan website quantity that AP is accessed
When, AC sends a message to each radio, wherein the radio id of every part of message are different, but there are identical wlan
id bitmap;The message of Radio ID bitmap information is not carried when encapsulated message, only carries wlan ID bitmap information
, so that the message number that AC is replicated is minimum.
Third batch copy packet is forwarded to AP according to the ends AC mapping table.
Step 12 replicates the message according to wlan website quantity, obtains first copy packet;
First copy packet is the report for message fill Radio ID bitmap information when CAPWAP encapsulation with AC
Text is basic message, replicates basic message according still further to wlan website quantity, generates the batch report to match with wlan website quantity
Text is that generate the message equal with wlan website quantity be first copy packet in the present embodiment.
In the present embodiment, at the ends AC, first copy packet AP to be sent is determined according to VLAN ID, it is assumed that message
It is sent to AP1, the radio in active state that AP1 is carried at this time is 3, and the website of wlan is 2, and message is on AC
Two parts of conduct first copy packets are replicated according to wlan website quantity, it is 1, radio id that first part, which is filled in wlan-id,
The binary code of bitmap is 111, and second part of wlan-id is that the binary code of 2, radio id bitmap is 111.
First copy packet is forwarded to AP by step 13 according to the ends AC mapping table.
The ends AC mapping table is that the Radio ID for the Radio in active state that AC is pre-established are forwarded with corresponding message
The mapping relations in path.At the ends AC, AC can be that coupled AP creates a tunnel interface, and AC is by WLAN ID, VLAN
ID, CAPWAP tunnel interface and the Radio ID in active state Radio build the ends an AC mapping table, as shown in Figure 7.
The present embodiment additionally provides a kind of ends AP process flow of message forwarding method as shown in figure 8, including following place
Manage step:
Step 21, when AP receive first copy packet carry Radio ID bitmap information when, according to Radio ID
Bitmap (R bitmaps) rules generate second batch copy packet;Wherein, first copy packet is generated according to wlan website quantity;
Second batch copy packet is generated according to Radio ID bitmap (R bitmaps) rules, including:
Receive first copy packet;
AP respectively replicates the message of first copy packet according to the radio quantity in active state, generates
Second batch copy packet.
Specifically, then above-mentioned example, message replicate two parts on AC according to wlan website quantity, and first part of message is sent
When to AP, the ID that radio id bitmap are parsed the corresponding radio in active state by AP is respectively
Then radio 1, radio 2 and radio 3 replicate three parts of messages according to the radio quantity in active state;
When second part of message gives AP, AP parses radio id bitmap corresponding in active state
The ID of radio be respectively radio 1, radio 2 and radio 3, it is then multiple again according to the radio quantity in active state
Make three parts of messages;
By to first copy packet, generating second batch according to Radio ID bitmap (R bitmaps) rules and replicating report
It is six parts total to obtain second batch copy packet for text.
Step 22 parses the Radio ID bitmap information carried in first copy packet, obtains Radio ID;
Step 23 maps the corresponding basic service element identifier (element ID)s of Radio ID described in table search according to the ends AP
BSSID;
Step 24 constructs radio frames according to the basic service element identifier (element ID) BSSID, forwards second batch copy packet.
After AP receives the message replicated according to wlan website quantity, the Radio carried in first copy packet is parsed
ID bitmap information, Radio ID bitmap packets contain the radio id informations in active state, and also reflection is in
The radio quantity of active state.The Radio ID bitmap information carried in first copy packet is parsed, described in acquisition
Radio ID map the corresponding basic service element identifier (element ID) BSSID of Radio ID described in table search according to the ends AP, according to
The basic service element identifier (element ID) BSSID constructs radio frames, forwards second batch copy packet.
The ends AP mapping table, including:The Radio ID of the Radio in active state pre-established and corresponding basic clothes
The mapping relations of business element identifier (element ID) BSSID.AP has created AP mapping tables when adding WLAN, and AP is by WLAN ID, base
This service unit identifier BSSID and Radio ID in active state Radio build the ends an AP mapping table, AP mapping tables
Include the mapping relations of the Radio ID and corresponding basic service element identifier (element ID) BSSID of the Radio in active state, together
When further include in active state Radio Radio ID and corresponding basic service element identifier (element ID) BSSID, and correspondence
WLAN ID mapping relations.
Corresponding wlan ID are found according to radio ID, the corresponding basic service element identifier (element ID)s of the wlan ID
BSSID, the i.e. MAC Address of wlan websites construct radio frames, the second reply of forwarding according to basic service element identifier (element ID) BSSID
Message processed.
In addition, when the third batch copy packet that AP is received carries WLAN ID bitmap information, according to WLAN ID
Bitmap (W bitmaps) rules generate the 4th batch of copy packet;Wherein, third batch copy packet is according in active state radio
Quantity generate;
The WLAN ID bitmap information carried in parsing third batch copy packet, obtains WLAN ID;
The corresponding basic service element identifier (element ID) BSSID of WLAN ID described in table search are mapped according to the ends AP;
Radio frames are constructed according to the basic service element identifier (element ID) BSSID, forward the 4th batch of copy packet.
The 4th batch of copy packet is generated according to WLAN ID bitmap (W bitmaps) rules, including:
Receive third batch copy packet;
AP to the message of third batch copy packet replicate respectively according to wlan websites quantity generates the 4th reply system report
Text.
After AP receives message, radio id, and the wlan id bitmap information that analytic message carries are obtained, AP is obtained
The website number of the wlan of access respectively carries out every part of message of reception according still further to wlan websites number to replicate generation the 4th respectively again
Criticize copy packet.
Such as the radio quantity in active state is 3 on AP, wlan website numbers are 4, and two wlan map
To all radio.So according to the regular copy packets of Wlan ID bitmap (W bitmaps), specifically include:AC is to each radio
A message is sent, that is, needs to copy three parts of messages, the radio id of every part of message are different, but there are identical
wlan id bitmap.After message reaches AP, AP directly acquires radio id, the wlan id that then analytic message carries
Bitmap information, wlan id bitmap information also reflects the website number of the wlan of AP accesses, according to wlan id bitmap
Information is directed to the 3 parts of messages copied respectively, respectively replicates 4 parts of messages again, that is, amount to 12 parts of messages.
When the radio quantity in active state is more than wlan website quantity, according to Radio ID bitmap (R
Figure) rule copy packet, so flexibly processing, message number can be saved, such as when the AP radio quantity for being in active state is
16, wlan website numbers are 2, at this point, the radio quantity in active state is more than wlan website quantity, according to the present invention
Method, replicate the message according to wlan website quantity, obtain 2 parts of first copy packet, 2 parts are only needed to be performed at the ends AC
The duplication of message saves the quantity of message, when first copy packet that AP is received carries Radio ID bitmap information
When, generate 32 parts of second batch copy packet according to Radio ID bitmap (R bitmaps) rules;If but still according to Wlan ID
Bitmap (W bitmaps) rule copy packets, then need to replicate 16 parts of messages on AC, consume message resource.
Embodiment two
This embodiment offers a kind of message forwarding systems, and specific implementation structure is as shown in figure 9, can specifically include one
A kind of kind AP and AC;Wherein,
A kind of AC, including:First package module 11, the first replication module 12 and the first forwarding module 13.
First package module 11:It is used for the wlan when AP reports the radio quantity in active state to be more than AP accesses
When website quantity, AC fills Radio ID bitmap information when carrying out CAPWAP encapsulation to message;
First replication module 12:It is used to replicate the message according to wlan website quantity, obtains first copy packet;
First forwarding module 13:It is used to that first copy packet to be forwarded to AP according to the ends AC mapping table.
The ends AC mapping table, including:AC pre-establish for record be in active state Radio Radio ID with it is right
The mapping relations for the message forwarding path answered.
Wherein, the first package module 11:Including:
R indicates bit location 111:It is used to carry Radio ID bitmap information fields in identification message;
R message informations segment unit 112:It is used for for carrying Radio ID bitmap information, wherein the Radio
ID bitmap message reflections are in the Radio ID of the Radio of active state and the radio quantity in active state.
First package module 11:Further include:
Counting unit 113:It is used to record the radio quantity in active state.
First package module 11:Further include:
Writing unit 114:It, which is used to be written according to the ends AC mapping table, carries Radio ID bitmap information.
A kind of AC further includes:
Third package module 14:It is used to report the radio quantity in active state to access less than or equal to AP as AP
Wlan website quantity when, AC to message carry out CAPWAP encapsulation filling WLAN ID bitmap information;
Third replication module 15:It is used to replicate the message according to the radio quantity in active state, obtains third
Criticize copy packet;
Third forwarding module 16:It is used to that third batch copy packet to be forwarded to AP according to the ends AC mapping table.
A kind of AP, including:Second replication module 21, the second parsing module 22, the second searching module 23 and second forward mould
Block 24, wherein
Second replication module 21:Its first copy packet for being used to receive as AP carries Radio ID bitmap information
When, generate second batch copy packet according to Radio ID bitmap (R bitmaps) rules;Wherein, first copy packet according to
Wlan website quantity generates;
Second parsing module 22:It is used to parse the Radio ID bitmap information carried in first copy packet, obtains
Take the Radio ID;
Second searching module 23:It is used to map the corresponding basic services of Radio ID described in table search according to the ends AP
Element identifier (element ID) BSSID;
Second forwarding module 24:It is used to construct radio frames, forwarding the according to the basic service element identifier (element ID) BSSID
Two batches of copy packets.
Wherein, the second replication module 21, including:
Second receiving unit 211:It is used to receive first copy packet;
Second replication component 212:It is used to make AP according to the radio quantity in active state respectively to first duplication
The message of message is replicated, and second batch copy packet is generated.
The ends AP mapping table is used to pre-establish the Radio ID of the Radio in active state and corresponding basic clothes
The mapping relations of business element identifier (element ID) BSSID.
A kind of AP further includes:
4th replication module 25:It is used to carry WLAN ID bitmap information when the third batch copy packet that AP is received
When, generate the 4th batch of copy packet according to WLAN ID bitmap (W bitmaps) rules;Wherein, third batch copy packet is according to place
It is generated in the quantity of active state radio;
4th parsing module 26:It is used to parse the WLAN ID bitmap information carried in third batch copy packet, obtains
Take WLAN ID;
4th searching module 27:The corresponding basic service unit marks of WLAN ID described in table search are mapped according to the ends AP
Know symbol BSSID;
4th forwarding module 28:Radio frames, the 4th reply of forwarding are constructed according to the basic service element identifier (element ID) BSSID
Message processed.
4th replication module 25, including:
4th receiving unit 251:It is used to receive third batch copy packet;
4th replication component 252:It is used to make AP according to wlan websites quantity respectively to the message of third batch copy packet
It is replicated, generates the 4th batch of copy packet.
The detailed process that message forwarding is carried out with the device of the embodiment of the present invention is similar with preceding method embodiment, herein not
It repeats again.
One of ordinary skill in the art will appreciate that:Attached drawing is the schematic diagram of one embodiment, module in attached drawing or
Flow is not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It is realized by the mode of software plus required general hardware platform.Based on this understanding, technical scheme of the present invention essence
On in other words the part that contributes to existing technology can be expressed in the form of software products, the computer software product
It can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer equipment
(can be personal computer, server either network equipment etc.) executes the certain of each embodiment of the present invention or embodiment
Method described in part.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct
The unit that separating component illustrates may or may not be physically separated, the component shown as unit can be or
Person may not be physical unit, you can be located at a place, or may be distributed over multiple network units.It can root
According to actual need that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Any one skilled in the art in the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims
Subject to.
Claims (17)
1. a kind of message forwarding method, which is characterized in that including:
When AP reports the radio quantity in active state to be more than the wlan website quantity of AP accesses, AC carries out message
Radio ID bitmap information is filled when CAPWAP is encapsulated;
The message is replicated according to wlan website quantity, obtains first copy packet;
First copy packet is forwarded to AP according to the ends AC mapping table;
When AP reports the radio quantity in active state to be less than or equal to the wlan website quantity of AP accesses, AC is to message
Carry out CAPWAP encapsulation filling WLAN ID bitmap information;
The message is replicated according to the radio quantity in active state, obtains third batch copy packet;
Third batch copy packet is forwarded to AP according to the ends AC mapping table.
2. a kind of message forwarding method according to claim 1, which is characterized in that the ends AC mapping table, including:In advance
Establish the mapping relations of the Radio ID and corresponding message forwarding path of the Radio in active state.
3. a kind of message forwarding method according to claim 1, which is characterized in that the carrying Radio ID bitmap
The message of information, including:
R flag bits, for carrying Radio ID bitmap information fields in identification message;
R message information sections, for carrying Radio ID bitmap information, wherein the Radio ID bitmap message reflections
The Radio ID of Radio in active state and the radio quantity in active state.
4. a kind of message forwarding method according to claim 3, which is characterized in that including:It is written according to the ends AC mapping table
Carry Radio ID bitmap information.
5. a kind of message forwarding method, which is characterized in that including:
When first copy packet that AP is received carries Radio ID bitmap information, according to Radio ID bitmap (R
Figure) rule generation second batch copy packet;Wherein, first copy packet is generated according to wlan website quantity;
The Radio ID bitmap information carried in first copy packet is parsed, Radio ID are obtained;
The corresponding basic service element identifier (element ID) BSSID of Radio ID described in table search are mapped according to the ends AP;
Radio frames are constructed according to the basic service element identifier (element ID) BSSID, forward second batch copy packet;
When the third batch copy packet that AP is received carries WLAN ID bitmap information, according to WLAN ID bitmap (W
Figure) rule the 4th batch of copy packet of generation;Wherein, third batch copy packet is generated according to the quantity in active state radio;
The WLAN ID bitmap information carried in parsing third batch copy packet, obtains WLAN ID;
The corresponding basic service element identifier (element ID) BSSID of WLAN ID described in table search are mapped according to the ends AP;
Radio frames are constructed according to the basic service element identifier (element ID) BSSID, forward the 4th batch of copy packet.
6. a kind of message forwarding method according to claim 5, which is characterized in that including:
Receive first copy packet;
AP to the message of first copy packet replicate respectively according to the radio quantity in active state generates second batch
Copy packet.
7. a kind of message forwarding method according to claim 5, which is characterized in that the ends AP mapping table, including:In advance
The mapping relations of the Radio ID and corresponding BSSID of the Radio in active state established.
8. a kind of message forwarding method according to claim 5, which is characterized in that including:
Receive third batch copy packet;
AP to the message of third batch copy packet replicate respectively according to wlan websites quantity generates the 4th batch of copy packet.
9. a kind of AC, which is characterized in that including:First package module, the first replication module and the first forwarding module, wherein
First package module:It is used for the wlan website numbers when AP reports the radio quantity in active state to be more than AP accesses
When amount, AC fills Radio ID bitmap information when carrying out CAPWAP encapsulation to message;
First replication module:It is used to replicate the message according to wlan website quantity, obtains first copy packet;
First forwarding module:It is used to that first copy packet to be forwarded to AP according to the ends AC mapping table;
Further include:
Third package module:It is used for the wlan when AP reports the radio quantity in active state to be less than or equal to AP accesses
When website quantity, AC carries out CAPWAP encapsulation filling WLAN ID bitmap information to message;
Third replication module:It is used to replicate the message according to the radio quantity in active state, obtains third reply system
Message;
Third forwarding module:It is used to that third batch copy packet to be forwarded to AP according to the ends AC mapping table.
10. a kind of AC according to claim 9, which is characterized in that the ends AC mapping table, including:What AC was pre-established
Mapping relations for the Radio ID and corresponding message forwarding path that record the Radio for being in active state.
11. a kind of AC according to claim 10, which is characterized in that first package module, including:
R indicates bit location:It is used to carry Radio ID bitmap information fields in identification message;
R message information segment units:It is used for for carrying Radio ID bitmap information, wherein the Radio ID
Bitmap message reflections are in the Radio ID of the Radio of active state and the radio quantity in active state.
12. a kind of AC according to claim 11, which is characterized in that first package module, including:
Writing unit:It, which is used to be written according to the ends AC mapping table, carries Radio ID bitmap information.
13. a kind of AP, which is characterized in that including:Second replication module, the second parsing module, the second searching module and second turn
Send out module, wherein
Second replication module:It is used for when first copy packet that AP is received carries Radio ID bitmap information, according to
Radio ID bitmap (R bitmaps) rules generate second batch copy packet;Wherein, first copy packet is according to wlan websites
Quantity generates;
Second parsing module:It is used to parse the Radio ID bitmap information carried in first copy packet, described in acquisition
Radio ID;
Second searching module:It is used to map the corresponding basic service unit marks of Radio ID described in table search according to the ends AP
Know symbol BSSID;
Second forwarding module:It is used to construct radio frames, the second reply of forwarding according to the basic service element identifier (element ID) BSSID
Message processed;
Further include:
4th replication module:It is used for when the third that AP is received batch copy packet carries WLAN ID bitmap information, according to
WLAN ID bitmap (W bitmaps) rules generate the 4th batch of copy packet;Wherein, third batch copy packet enlivens shape according to being in
The quantity of state radio generates;
4th parsing module:It is used to parse the WLAN ID bitmap information carried in third batch copy packet, obtains WLAN
ID;
4th searching module:The corresponding basic service element identifier (element ID)s of WLAN ID described in table search are mapped according to the ends AP
BSSID;
4th forwarding module:Radio frames, the 4th reply system report of forwarding are constructed according to the basic service element identifier (element ID) BSSID
Text.
14. a kind of AP according to claim 13, which is characterized in that second replication module, including:
Second receiving unit:It is used to receive first copy packet;
Second replication component:It is used to make AP according to the radio quantity in active state respectively to first copy packet
Message is replicated, and second batch copy packet is generated.
15. a kind of AP according to claim 13, which is characterized in that the ends AP mapping table is used to pre-establish place
In the mapping relations of the Radio ID and corresponding basic service element identifier (element ID) BSSID of the Radio of active state.
16. a kind of AP according to claim 13, which is characterized in that the 4th replication module, including:
4th receiving unit:It is used to receive third batch copy packet;
4th replication component:It is used to make AP to be answered respectively the message of third batch copy packet according to wlan websites quantity
System generates the 4th batch of copy packet.
17. a kind of message forwarding system, which is characterized in that including:Such as claim 9 to 12 any one of them AC and such as right
It is required that 13 to 16 any one of them AP.
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 CN104754521A (en) | 2015-07-01 |
CN104754521B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105472628B (en) * | 2015-11-19 | 2017-11-10 | 华讯方舟科技有限公司 | Extend the method and device of WLAN ID numbers |
WO2019095227A1 (en) * | 2017-11-15 | 2019-05-23 | Oppo广东移动通信有限公司 | Method for controlling duplication and transmission of data, user equipment, primary node, and secondary node |
CN108924061B (en) * | 2018-06-22 | 2022-02-25 | 深圳市信锐网科技术有限公司 | Application identification and management method, system and related device |
CN109348432B (en) * | 2018-11-23 | 2021-10-29 | 新华三技术有限公司 | Message forwarding method and device |
CN113364893B (en) * | 2020-03-06 | 2022-09-16 | 华为技术有限公司 | Data transmission method, device and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215456A (en) * | 2010-04-07 | 2011-10-12 | 华为技术有限公司 | Multicast control method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361316B (en) * | 2005-11-23 | 2011-12-14 | 想象It公司 | Message broadcasting admission control system and method |
-
2015
- 2015-03-17 CN CN201510116655.XA patent/CN104754521B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215456A (en) * | 2010-04-07 | 2011-10-12 | 华为技术有限公司 | Multicast control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104754521A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754521B (en) | A kind of message forwarding method, wireless access point, wireless controller and system | |
KR102210296B1 (en) | QoS parameter processing method and device in handover scenario | |
CN101989952B (en) | Multicasting method and device | |
CN103747499A (en) | Methods and apparatus for a common control protocol for wired and wireless nodes | |
CN103209045A (en) | Data communication method, device and system | |
CN103581248A (en) | Method and device for providing content distribution network CDN service | |
CN106559302A (en) | Single tunnel method for building up, device and system | |
CN102882781B (en) | Method, route bridge and system for transmitting message | |
CN104469691A (en) | Group communication method, equipment and system | |
CN109450982B (en) | Network communication method and system | |
CN114050994B (en) | Network telemetry method based on SRv6 | |
CN104995882B (en) | Message processing method and device | |
CN107547346B (en) | Message transmission method and device | |
CN110337071B (en) | Method and system for realizing packet broadcasting based on LoRaWAN | |
CN102694752A (en) | Gateway equipment | |
CN103476017B (en) | Method and device for association of LTE (Long Term Evolution) network user information | |
CN110072257A (en) | A kind of method of user's intercommunication under MEC | |
CN103780483A (en) | Method, system and device for obtaining resource information of terminal device of Internet of Thingss | |
CN108810936A (en) | A kind of configuration method and device of LoRa terminals | |
CN105490948A (en) | Method and system for data packet distribution | |
EP1699169A1 (en) | Wireless base station, wireless mobile device, and wireless access network for reducing signalling traffic | |
CN102710510B (en) | Information processing method, apparatus and system | |
CN116405431A (en) | Data processing method, network node and computer readable storage medium | |
CN109120657B (en) | Service configuration method and node | |
EP3139699B1 (en) | Data transmission method and device, and network system |
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 | ||
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. |