Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Fig. 1 is please referred to, Fig. 1 is the block diagram for the network system 10 that present pre-ferred embodiments provide.The network
System 10 includes the multiple AP300 for being in communication with each other the vehicle-mounted WDS100 of connection and being set to by road.
In the present embodiment, AP (AccessPoint, wireless access point) is to provide network by wireless medium for client
Access service.WDS (Wireless Distribution System, wireless distribution system) is also referred to as wireless bridge, is to pass through
Wireless mode carries out a kind of method of network extension to distributed system.WDS can allow between wireless aps or wireless router
By wirelessly being bridged (relaying), and wireless device coverage effect is had no effect on during bridge joint.
Referring to figure 2., Fig. 2 is the block diagram for the vehicle-mounted WDS100 that present pre-ferred embodiments provide.It is described vehicle-mounted
WDS100 includes memory 110, processor 120, network module 130, roaming timer 140 and netsurfing switching device 200.
The memory 110, processor 120 and network module 130 are directly or indirectly electrically connected between each other, with reality
The transmission or interaction of existing data.For example, these elements can be realized between each other by one or more communication bus or signal wire
It is electrically connected.Netsurfing switching device 200 is stored in memory 110, the netsurfing switching device 200 includes at least
One can be stored in the software function module in the memory 110, the place in the form of software or firmware (firmware)
The software program and module that reason device 120 is stored in memory 110 by operation, thereby executing various function application and number
According to processing.
Wherein, the memory 110 may be, but not limited to, random access memory (Random Access
Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable
Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only
Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only
Memory, EEPROM) etc..Wherein, memory 110 is for storing program, the processor 120 after receiving and executing instruction,
Execute described program.Further, the software program in above-mentioned memory 110 and module may also include operating system, can
Including the various component softwares for management system task (such as memory management, storage equipment control, power management etc.) and/or
Driving, and can be in communication with each other with various hardware or component software, to provide the running environment of other software component.
The processor 120 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor
120 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It can also be digital signal processor (DSP), specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group
Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with
It is that microprocessor or the processor are also possible to any conventional processor etc..
Network module 130 is used for the communication established between the external equipments such as the vehicle-mounted WDS100 and AP300 by network
Connection realizes that operation is transmitted in the transmitting-receiving of network signal and data.
Timer 140 is roamed, for carrying out notice of giving the correct time at interval of the default time of giving the correct time, notifies the vehicle-mounted WDS100
Carry out roaming detection.
It is appreciated that structure described in Fig. 2 is only to illustrate, vehicle-mounted WDS100 may also include it is more than shown in Fig. 2 or
Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its
Combination is realized.
First embodiment
In highway wireless networking, the outdoor high-power nothing of two-sided orientation is can be used in roadside access wireless device AP300
Line equipment, can be at interval of two kilometers of arrangements, one AP300.Wireless device is accessed in vehicle-mounted WDS100 (wireless bridge) and roadside
AP300 association, make automobile at full throttle 150 kilometers/hour speed traveling during realize data back.In order to realize
Automobile still carries out fast roaming with roadside AP300 under such high-speed cruising, and guarantees link communication quality, and the present invention is a kind of
Netsurfing switching method.
This programme remains to receive in handoff procedure by realizing being switched fast for roaming with network virtual technology
The data that former AP300 is issued realize that vehicle-mounted WDS100 uploads the zero propagation of business datum message, zero packet loss.
One actual physical network device is fictionalized multiple virtual networks and set by this programme with network virtual technology
It is standby, and different MAC Address is respectively adopted in multiple virtual network devices.Solves the same client with identical MAC
When different AP300 are accessed in location, transmission data carry out the problems of MAC address learning when passing through the network switch.
In the present solution, each AP300 fictionalizes at least two wireless service local area networks (for example, essid1, essid2
Deng), at least two wireless service local area networks correspond to the same true physical network device.Vehicle-mounted WDS100 fictionalizes at least two
A wireless client (for example, client1, client2 etc.), at least two wireless clients correspond to the same true Physical Network
Network equipment.For AP300, AP300 it is seen that after virtual as a result, i.e. AP300 can from different MAC
At least two wireless clients of location establish communication connection.However, sending and receiving for message passes through in actual physical layer
Actual physical network device carries out, i.e., at least two wireless clients of communication connection are established with AP300 really by virtual
The attended operation that the physical network device of at least two wireless client carries out out.Use the same physical network device
The wireless power size of virtual network device transmitting is the same.(essid1 and essid2 that the i.e. same AP300 is fictionalized are sent out
Penetrate that watt level is identical, the essid1 that vehicle-mounted WDS100 is received is equal with the signal strength size of essid2).
Referring to figure 3., Fig. 3 be present pre-ferred embodiments provide netsurfing switching method step flow chart it
One.The netsurfing switching method is applied to the vehicle-mounted WDS100 with the multiple AP300 communication connection being set to by road.Under
Detailed process in face of netsurfing switching method is described in detail.
Step S120, the beacon frame that the neighbouring multiple AP300 of vehicle-mounted WDS100 real-time reception are sent will meet matching and require
Multiple AP300 be added to candidate AP contingency table, and multiple AP300 in candidate AP contingency table are ranked up.
In the present embodiment, while the car is driving, it when vehicle-mounted WDS100 is worked normally, goes back around real-time reception
The beacon frame that neighbouring AP300 is sent will meet the AP300 that matching requires and be added in candidate's AP contingency table, and reports according to receiving
Signal strength when literary is ranked up multiple AP300 in candidate AP contingency table.The vehicle-mounted WDS100 can be according to fixed in advance
The computation rule of justice calculates the signal strength of multiple AP300 in candidate AP contingency table, obtains being averaged for each AP300
Signal strength is ranked up according to the average signal strength of AP300.
In the present embodiment, the beacon frame refers to that Beacon frame, Beacon frame are that AP300 is sent according to some cycles
Type be Beacon management frame, be the ability of the presence and AP300 for informing the equipment AP300 around AP300.
Step S130, it is vehicle-mounted when 140 pairs of roaming detections of roaming timer of vehicle-mounted WDS100, which give the correct time, to be notified
WDS100 detects the signal strength of the current associated AP of auxiliary link 300, and detect meet roaming handover condition when into
Row AP300 switching.
Referring to figure 4., Fig. 4 be present pre-ferred embodiments provide netsurfing switching method step flow chart it
Two.The method also includes: step S110, vehicle-mounted WDS100 carry out initial configuration.
Referring to figure 5., the process signal of the sub-step of step S110 in Fig. 4 that Fig. 5 provides for present pre-ferred embodiments
Figure, the step S110 may include sub-step S111, sub-step S112 and sub-step S113.
Sub-step S111, vehicle-mounted WDS100 carry out virtualization configuration in advance, construct at least two virtual clients.
In the present embodiment, at least two corresponding same true physical network devices that vehicle-mounted WDS100 is fictionalized.
Sub-step S112, vehicle-mounted WDS100 configuration candidate's AP contingency table establish initial connection.
In the present embodiment, after starting vehicle-mounted WDS100, vehicle-mounted WDS100 searches for wireless service local area network, receives neighbouring
The beacon frame that multiple AP300 are sent establishes corresponding candidate's AP contingency table for each virtual client, and the vehicle-mounted WDS100 will
Meet multiple AP300 that matching requires to be added in the corresponding candidate's AP contingency table of virtual client.The vehicle-mounted WDS100 root
The signal strength that multiple AP300 are detected according to received beacon frame, according to the size of signal strength in candidate's AP contingency table
Multiple AP300 be ranked up, and by virtual client and sequence first AP300 (that is, in the candidate AP contingency table be averaged
The strongest AP300 of signal strength) establish initial connection.The vehicle-mounted WDS100 starting roaming timer 140, so that the roaming
The interval of the timer 140 default time of giving the correct time carries out notice of giving the correct time to roaming detection.
In the present embodiment, a virtual client is correspondingly connected with a wireless service local area network, for example, client1 pairs
Essid1 should be connected, client2 is correspondingly connected with essid2 etc..The satisfaction matching requires to refer to matched wireless service local
Net is corresponding with the virtual client.For example, essid1 corresponds to China Telecom's sub-network 1, the corresponding China's electricity of essid2
Believe sub-network 2, then vehicle-mounted WDS100 by meet the corresponding AP300 of matched essid1 be added to client1 candidate AP be associated with
Table, the candidate AP contingency table for the corresponding AP300 of matched essid2 will be met being added to client2.
In the present embodiment, roaming timer 140 be spaced give the correct time described it is default give the correct time the time can according to actual needs into
Row setting.For example, the distance between two AP300 are 2 kilometers, running car rate is 120-150 kilometers/hour, for reality
The effect of existing fast roaming can set 100 milliseconds for the default time of giving the correct time, i.e. roaming timer 140 is at interval of 100
Millisecond carries out primary roaming and detects notice of giving the correct time.
In the present embodiment, when establishing initial connection, at least two virtual clients may be closed with the same AP300
Connection.
Sub-step S113, vehicle-mounted WDS100 configure main and auxiliary link.
In the present embodiment, vehicle-mounted WDS100 passes through two layers of binding (bonding) technology for at least two of virtual construct
Wireless client is bundled in the same binding interface, and (Radio Link is as data communication using main and auxiliary link mode
It uses, another link is spare as roaming switch).
In the present embodiment, vehicle-mounted WDS100, can be according to link definition rule settings primary link after establishing initial connection
And auxiliary link.Wherein, primary link is for being responsible for network communication and data transmission (for example, upload, downloading data information etc.), auxiliary chain
Road is for being responsible for roaming switch.Also, auxiliary link can't cause shadow to the data communication of primary link when carrying out roaming switch
It rings.Wherein, link refers to that the wireless service local area network of virtual client and AP300 are successfully established connection.
In the present embodiment, the link definition rule includes rule of firsting impressions are strongest, that is, elder generation can be used and be associated to AP300
The wireless client of function is as primary link, and the wireless client being then successfully associated is as auxiliary link.In addition to this, vehicle-mounted
WDS100 can also specify primary link and auxiliary link according to actual needs.
Description below according to above-mentioned steps S110 describes to the step S130 in Fig. 3 in detail.
In the present embodiment, roaming switch only occurs in auxiliary link, and will not be to master when auxiliary link progress roaming switch
The data communication of link impacts.For example, auxiliary link is from AP1Roaming switch is AP2When, primary link still with AP1Carry out communication link
It connects, can receive AP1The data information that issues simultaneously carries out data message passback.
In the present embodiment, the step S130 is the operation carried out for auxiliary link.Before executing step S130, institute
Main and auxiliary link can be judged by stating vehicle-mounted WDS100, supplemented by the judgement when link, execute step S130.
Fig. 6 is please referred to, the process signal of the sub-step of step S130 in Fig. 3 that Fig. 6 provides for present pre-ferred embodiments
Figure, the step S130 may include sub-step S131, sub-step S132 and sub-step S133.
Whether sub-step S131, the vehicle-mounted WDS100 detect the signal strength of the current associated AP 300 of auxiliary link less than one
Roaming switch thresholding.
If not, not will do it the operation of roaming switch.
If so, executing sub-step when the signal strength of the i.e. auxiliary current associated AP 300 of link is less than the roaming switch thresholding
S132。
Sub-step S132, the vehicle-mounted WDS100 detect sequence first in the candidate AP contingency table of the auxiliary link
Whether the difference of the signal strength of the signal strength of AP300 and current associated AP 300 is more than a preset difference value.
If not, not will do it the operation of roaming switch.
If so, in the candidate AP contingency table of the i.e. described auxiliary link sequence first AP300 signal strength be currently associated with
The difference of the signal strength of AP300 is more than a preset difference value, executes sub-step S133.
In the present embodiment, the vehicle-mounted WDS100 by candidate AP contingency table sequence first AP300 signal strength
The signal strength for subtracting current associated AP 300 obtains a signal strength difference, by the signal strength difference and preset difference value into
Row compares, if the signal strength difference is greater than the preset difference value, executes sub-step S133.
In the present embodiment, the preset difference value can be set according to actual needs, and the preset difference value setting is positive
Value.For example, the preset difference value is set as 5, it is assumed that the signal strength of the AP300 of sequence first is 36 in candidate AP contingency table,
The signal strength of current associated AP 300 is that 30, the then AP300 of sequence first and the signal strength difference of current associated AP 300 are
6, it is greater than the preset difference value, it can be into execution sub-step S133.
The virtual client of auxiliary link and current associated AP300 are disconnected and being connected by sub-step S133, the vehicle-mounted WDS100
It connects, and the AP300 of sequence first in the virtual client and candidate's AP contingency table is established into connection, to complete AP300
The operation of switching.
In the present embodiment, only the case where meeting two Rule of judgment of above-mentioned sub-step S131 and sub-step S132
Under, it just will do it the operation of roaming switch.Thus, it is ensured that the communication quality after AP300 roaming switch.
In the present embodiment, above-mentioned roaming switch thresholding (RSSI) is equal to the difference that signal strength subtracts bottom of making an uproar, and bottom of making an uproar is
React the index of signal interference degree in wireless environment.Since signal strength and bottom of making an uproar are negative value, make an uproar bottom in signal intensity ratio
When big, it just can guarantee and receive relatively clear signal of communication, the roaming switch thresholding is positive value as a result,.
Referring once again to Fig. 4, the method also includes: step S140.
Step S140, vehicle-mounted WDS100 carry out main and auxiliary link switching operation.
Fig. 7 is please referred to, the process signal of the sub-step of step S140 in Fig. 4 that Fig. 7 provides for present pre-ferred embodiments
Figure, the step S140 may include sub-step S141 and sub-step S142.
Sub-step S141, vehicle-mounted WDS100 are examined according to signal strength of the preset time to current primary link and auxiliary link
It surveys.
In the present embodiment, the preset time can be set according to actual needs.
Sub-step S142, when signal strength of the signal strength less than current auxiliary link for detecting current primary link, and
When the signal strength difference of current auxiliary link and current primary link is not less than a preset strength difference, vehicle-mounted WDS100 will currently be led
Link supplemented by link switching, current auxiliary link switching are primary link, to complete main and auxiliary link switching operation.
In the present embodiment, preset strength difference can be set according to actual needs.For example, the preset strength is poor
Value is set as 10, it is assumed that the signal strength of current primary link is 30, and the signal strength of current auxiliary link is 50, then current auxiliary link with
The signal strength difference of current primary link is 20, is greater than the preset strength difference 10, can carry out the operation of main and auxiliary link switching.
Second embodiment
Fig. 8 is please referred to, Fig. 8 is the functional block diagram for the netsurfing switching device 200 that invention preferred embodiment provides.
The netsurfing switching device 200 is applied to the vehicle-mounted WDS100 with the multiple AP300 communication connection being set to by road, institute
Stating device includes: to receive sorting module 220 and roaming detection module 230.
The reception sorting module 220, the beacon frame that the multiple AP300s neighbouring for real-time reception are sent will satisfaction
Multiple AP300 with requirement are added to candidate AP contingency table, and are ranked up to multiple AP300 in candidate AP contingency table.
In the present embodiment, the sorting module 220 that receives is used to execute the step S120 in Fig. 3, about the reception
The specific descriptions of sorting module 220 are referred to the description of step S120.
The roaming detection module 230 gives the correct time for 140 pairs of roaming detections of roaming timer as vehicle-mounted WDS100
When notice, the signal strength of the current associated AP of auxiliary link 300 is detected, and detect meet roaming handover condition when into
Row AP300 switching.
In the present embodiment, the roaming detection module 230 is used to execute the step S130 in Fig. 3, about the roaming
The specific descriptions of detection module 230 are referred to the description of step S130.
Referring once again to Fig. 8, described device further include: initial configuration module 210 and main and auxiliary link switching module 240.
The initial configuration module 210, for carrying out initial configuration.
In the present embodiment, the initial configuration module 210 is used to execute the step S110 in Fig. 4, about described first
The specific descriptions of beginningization configuration module 210 are referred to the description of step S110.
The main and auxiliary link switching module 240, for carrying out main and auxiliary link switching operation.
In the present embodiment, the main and auxiliary link switching module 240 is used to execute the step S140 in Fig. 4, about described
The specific descriptions of main and auxiliary link switching module 240 are referred to the description of step S140.
In conclusion the present invention provides a kind of netsurfing switching method and device, the netsurfing switching method are answered
For the vehicle-mounted WDS with the multiple AP communication connection being set to by road, which comprises vehicle-mounted WDS real-time reception is neighbouring
The beacon frame that sends of multiple AP, multiple AP that matching requires will be met and be added to candidate AP contingency table, and candidate AP is associated with
Multiple AP in table are ranked up.When the roaming timer of vehicle-mounted WDS, which give the correct time to roaming detection, to be notified, vehicle-mounted WDS pairs
The signal strength of the auxiliary current associated AP of link is detected, and carries out AP switching when meeting roaming handover condition detecting.
Hereby it is achieved that AP roaming is switched fast, and guarantees the communication quality after switching, while realizing that WDS is uploaded
The zero propagation of business datum message, zero packet loss.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.