Invention content
In view of this, the present invention provides a kind of correlating method of wireless relay apparatus and device, to overcome the prior art
In due to work station is connected to the data channel of wireless access point need carry out two secondary associations caused by, wireless relay apparatus
Association inefficiency the problem of, further, moreover it is possible to promote user experience.
To achieve the above object, the present invention provides the following technical solutions:
The first aspect of the correlating method of the wireless relay apparatus includes:
The association request that wireless relay apparatus receiving workstation is sent;
It is associated and is connect with the work station according to the association request;
It gives pre-association interface assignment to the work station, and establishes pair between the work station and the pre-association interface
It should be related to;The pre-association interface is associated with wireless access point.
With reference to first aspect, it in the first possible realization method of first aspect, is connect in the wireless relay apparatus
Before receiving the association request that work station is sent, further include:
Wireless relay apparatus establishes virtual pre-association interface.
Wherein, the realization method that the wireless relay apparatus establishes virtual pre-association interface is:
Wireless relay apparatus obtains the physical address for the predistribution being not used by;
One or more virtual upstream Interfaces are established according to the physical address of the predistribution being not used by;
The upstream Interface is associated with to wireless access point;
The upstream Interface is determined as pre-association interface.
Another realization method that the wireless relay apparatus establishes virtual pre-association interface is:
Wireless relay apparatus periodically establishes virtual pre-association interface.
With reference to first aspect, it in second of possible realization method of first aspect, is connect in the wireless relay apparatus
Before receiving the association request that work station is sent, further include:
Wireless relay apparatus connects wireless access point, and the configuration information of the wireless access point is synchronized to connecing for itself
Mouth side.
Wherein, the association request is the wireless access point that work station is scanned according to it from wireless relay apparatus interface side
Configuration information generate, the request of the association wireless relay apparatus.
Wherein, a kind of possible realization method of the wireless relay apparatus connection wireless access point is:
Wireless relay apparatus is based on more service set initialization modules and connects a wireless access point.
Correspondingly, the invention also discloses a kind of associated apparatus of wireless relay apparatus, the pass of the wireless relay apparatus
The first aspect of coupling device includes:
Request receiving module, the association request sent for receiving workstation;
Relating module is connect for being associated with the work station according to the association request;
Pre-association distribution module for giving pre-association interface assignment to the work station, and establishes the work station and institute
State the correspondence between pre-association interface;The pre-association interface is associated with the wireless access point.
With reference to first aspect, in the first possible realization method of first aspect, the pass of the wireless relay apparatus
Coupling device further includes:
Pre-association establishes module, for establishing virtual pre-association interface.
Wherein, the pre-association establishes module and includes:
Physical address acquisition module, the physical address for obtaining the predistribution being not used by;
Interface establishes module, and the physical address of the predistribution for being not used by according to establishes one or more virtually
Upstream Interface;
Interface connection module, for being associated with the upstream Interface to wireless access point.
Pre-association interface determining module, for the upstream Interface to be determined as pre-association interface.
Wherein, the pre-association establishes module and includes:
Pre-association setting up submodule, for periodically establishing virtual pre-association interface.
With reference to first aspect, in second of possible realization method of first aspect, the pass of the wireless relay apparatus
Coupling device further includes:
Radio access module is synchronized to certainly for connecting wireless access point, and by the configuration information of the wireless access point
The interface side of body.
Wherein, the association request is the wireless access point that work station is scanned according to it from wireless relay apparatus interface side
Configuration information generate, the request of the association wireless relay apparatus.
The invention also discloses a kind of wireless relay apparatus, the wireless relay apparatus includes any of the above-described kind of wireless relay
The associated apparatus of equipment.
The correlating method and device of a kind of wireless relay apparatus provided through the invention, the pass of the wireless relay apparatus
Linked method is after work station is associated with wireless relay apparatus foundation, the pre- pass that need to will be associated in advance with wireless access point
Connecting port distributes and is connected to work station, can be real because the pre-association interface is associated with wireless access point
The connection of existing data channel between work station and wireless access point, due to during connecting work station and wireless access point,
Pre-association interface associated with wireless access point in advance is used, so progress work station and wireless relay is only needed to set
Standby once connection improves the association effect of wireless relay apparatus to substantially reduce the correlation time of wireless relay apparatus
Rate and user experience.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the correlating method flow chart of wireless relay apparatus disclosed by the embodiments of the present invention, shown in Figure 1, described
The correlating method of wireless relay apparatus may include:
Step 101:The association request that wireless relay apparatus receiving workstation is sent.
Before step 101, wireless relay apparatus has connected wireless access point, and wireless relay apparatus will be in connection
The configuration information of wireless access point be synchronized to the interface side of itself so that the work station can be set from the wireless relay
Standby interface side scans the relevant configuration information to the wireless access point, such as ESSID(Service set), security mode information
And encrypted message, to generate the association request for being associated with the wireless relay apparatus according to the configuration information.Wherein, described
Wireless relay apparatus is synchronized to the configuration of the configuration information and the wireless access point script of the wireless access point of interface side
Information is identical, the wireless relay apparatus by the way that the configuration information of the wireless access point is synchronized to its interface side, with
It realizes and the overlay area of wireless access point signal is extended and expanded.
Wherein, the wireless relay apparatus connection wireless access point can be that wireless relay apparatus is based on more service sets
Initialization module connects a wireless access point.
In the embodiment of the present invention, the wireless relay apparatus is not limited to certain equipment with fixed function, as long as
Wireless LAN is connected in up direction, in the product of down direction connection other-end and built-in wireless network Access Algorithm
And equipment, method disclosed by the embodiments of the present invention can be applied wherein, such as wireless router, wireless repeater.
Step 102:It is associated and is connect with the work station according to the association request.
Wireless relay apparatus can be associated after receiving the association request that the work station is sent with the work station
Connection, this process can be understood as work station after scanning recognition to wireless lan signal, pass through cipher authentication and the company of foundation
The process connect.
Step 103:It gives pre-association interface assignment to the work station, and establishes the work station and the pre-association interface
Between correspondence.
Wherein, the pre-association interface is associated with the wireless access point.The pre-association interface is by described wireless
Trunking initially sets up virtual upstream Interface, then will be after the virtual upper wireless access point of upstream Interface association
It is formed.
After the wireless relay apparatus is associated with the work station, need for the work station and the wireless access
Point establishes data exchange channels, and the wireless relay apparatus will can in advance be associated with the pre-association of the upper wireless access point
Interface is distributed directly to the work station, and has been correspondingly connected with by the work station and for the pre-association mouth of work station distribution
Come, hereafter, the pre-association interface and institute that the work station can be distributed by the wireless relay apparatus for the work station
It states wireless access point and carries out data interaction.
The correlating method of wireless relay apparatus disclosed by the embodiments of the present invention is established in work station and wireless relay apparatus and is closed
, only need to be by the pre-association interface assignment being associated with wireless access point in advance to work station after connection, and it is connected to work station, just
It can realize the connection of the data channel between work station and wireless access point.The correlating method of the wireless relay apparatus is connecting
Once connection that progress work station and wireless relay apparatus is only needed during work station and wireless access point, substantially reduces
The correlation time of wireless relay apparatus improves the association efficiency of wireless relay apparatus.
Fig. 2 is the correlating method flow chart of another wireless relay apparatus disclosed by the embodiments of the present invention, referring to Fig. 2 institutes
Show, the correlating method of the wireless relay apparatus may include:
Step 201:Wireless relay apparatus establishes virtual pre-association interface.
It is used due to that within a period, may there is pre-association interface to be assigned to a few thing station, it is also possible to which having is made
Pre-association interface is released, and therefore, the wireless relay apparatus can be established periodically virtually according to preset rules
Pre-association interface, to ensure the dynamic provisioning of pre-association interface.For example, every 5 minutes execute a step 201.
In a schematical example, the detailed process of step 201 may refer to Fig. 3, and Fig. 3 is that the embodiment of the present invention is public
That opens establishes the flow chart of pre-association interface, as shown in figure 3, the process that wireless relay apparatus establishes pre-association interface can wrap
It includes:
Step 301:Wireless relay apparatus obtains the physical address for the predistribution being not used by.
Wireless relay apparatus itself is used for connecting work station and wireless access point, can allocate physical address in advance, uses
In providing data exchange channels for work station and wireless access point.Wherein, the physical address may be media access control
Layer address.
Step 302:The physical address for the predistribution that wireless relay apparatus is not used by according to establishes virtual uplink
Interface.
Wherein, the number of the virtual upstream Interface can be a fixed preset value, can be one or more.
It, can be directly according to preset value foundation pair when the number of current workable physical address disclosure satisfy that the preset value
Answer the virtual upstream Interface of number;If the preset value is not achieved in the number of workable physical address at present, can will work as
Preceding all physical address being not used by all are used for establishing virtual upstream Interface.
Step 303:The upstream Interface is associated with to wireless access point.
In step 302, virtual upstream Interface is only established, these virtual upstream Interfaces are associated with upper wireless not yet
Access point only after relevant upper wireless access point, just becomes pre-association interface, therefore is needed in step 303 that these are virtual
Upstream Interface is associated with to wireless access point.
After step 302, by the virtual upstream Interface having had built up association in advance to the wireless access
Point, after being successfully associated, the virtual upstream Interface is pre-association interface associated with wireless access point.If step
Multiple virtual upstream Interfaces are established in rapid 302, the multiple virtual upstream Interface can be all associated with to one wirelessly
Access point.
Wherein it is possible to the side by adding pre-association interface identifier for the upstream Interface of wireless access point described in successful association
The upstream Interface of wireless access point described in the successful association is determined as pre-association interface by formula.The pre-association interface identifier is used
In instruction, the interface has been successfully associated with the wireless access point, can supply work station use.If the wireless relay is set
There are multiple pre-association interfaces in standby, the pre-association interface identifier can be used for distinguishing different pre-association interfaces, such as can be with
It is pre-association interface 1, pre-association interface 2, pre-association interface 3 etc. to multiple pre-association interface indexes.
Step 304:The upstream Interface is determined as pre-association interface.
Step 301- steps 304 are to establish the entire protocol of pre-association interface.
It is then returned to Fig. 2, after step 201, enters step 202.
Step 202:The association request that wireless relay apparatus receiving workstation is sent.
Wherein, the association request can be that work station wirelessly connects according to what it was scanned from wireless relay apparatus interface side
Request that the configuration information of access point generates, the association wireless relay apparatus.
Step 203:Wireless relay apparatus is associated with the work station according to the association request and connect.
Step 204:Wireless relay apparatus gives pre-association interface assignment to the work station, and establishes the work station and institute
State the correspondence between pre-association interface.
Wherein, the pre-association interface is associated with the wireless access point.
The correlating method of wireless relay apparatus disclosed by the embodiments of the present invention, pre-establishes and is associated with wireless access point
Pre-association interface need to be by well-established pre-association interface then after the foundation of work station and wireless relay apparatus be associated with
Work station is distributed to, and is connected to work station, it will be able to realize the connection of the data channel between work station and wireless access point.
The correlating method of the wireless relay apparatus connecting work station and during wireless access point, used it is advance with it is wireless
The associated pre-association interface of access point contracts significantly so only needing once connection of progress work station and wireless relay apparatus
The short correlation time of wireless relay apparatus, improve the association efficiency of wireless relay apparatus.
Fig. 4 is the correlating method flow chart of another wireless relay apparatus disclosed by the embodiments of the present invention, referring to Fig. 4 institutes
Show, the method may include:
Step 401:Wireless relay apparatus connects wireless access point.
Wherein, the wireless relay apparatus can be directly attached with wireless access point.
Step 402:Wireless relay apparatus establishes virtual pre-association interface.
After the wireless relay apparatus is connect with the wireless access point, the wireless relay apparatus can be successful
Establish the pre-association interface.The pre-association interface why is established, is to provide for using to work station.
Step 403:The association request that wireless relay apparatus receiving workstation is sent.
Step 404:Wireless relay apparatus is associated with the work station according to the association request and connect.
Step 405:Wireless relay apparatus gives pre-association interface assignment to the work station, and establishes the work station and institute
State the correspondence between pre-association interface.
Wherein, the pre-association interface is associated with the wireless access point.
The correlating method of wireless relay apparatus disclosed by the embodiments of the present invention can establish pre-association interface, in work station and
It, only need to be by the pre-association interface assignment being associated in advance with wireless access point to work after wireless relay apparatus establishes association
It stands, and is connected to work station, it will be able to realize the connection of data channel between work station and wireless access point.The wireless relay is set
Standby correlating method and device, due to connecting work station and only need to carry out work station and wireless during wireless access point
Once connection of trunking improves wireless relay apparatus to substantially reduce the correlation time of wireless relay apparatus
It is associated with efficiency and user experience.
Method is described in detail in aforementioned present invention disclosed embodiment, diversified forms can be used for the method for the present invention
Device realize that therefore the invention also discloses a kind of devices, and specific embodiment is given below and is described in detail.
Fig. 5 is the associated apparatus structural schematic diagram of wireless relay apparatus disclosed by the embodiments of the present invention, shown in Figure 5,
The associated apparatus 50 of the wireless relay apparatus may include:
Request receiving module 501, the association request sent for receiving workstation.
Wireless relay apparatus has connected wireless access point in advance, and wireless relay apparatus wirelessly connects connected
The configuration information of access point is synchronized to the interface side of itself, so that the work station can be from the interface of the wireless relay apparatus
Scan the relevant configuration information to the wireless access point, such as ESSID in side(Service set), security mode information and message in cipher
Breath, to generate the association request for being associated with the wireless relay apparatus according to the configuration information.
Relating module 502 is connect for being associated with the work station according to the association request;
Pre-association distribution module 503, for by pre-association interface assignment give the work station, and establish the work station and
Correspondence between the pre-association interface.
Wherein, the pre-association interface is associated with the wireless access point.
The associated apparatus of wireless relay apparatus disclosed by the embodiments of the present invention is established in work station and wireless relay apparatus and is closed
, only need to be by the pre-association interface assignment being associated with wireless access point to work station after connection, and it is connected to work station, energy
Enough realize the connection of data channel between work station and wireless access point.The correlating method of the wireless relay apparatus is in connection work
Once connection that progress work station and wireless relay apparatus is only needed during standing with wireless access point substantially reduces wireless
The correlation time of trunking improves the association efficiency of wireless relay apparatus.
Fig. 6 is the associated apparatus structural schematic diagram of another wireless relay apparatus disclosed by the embodiments of the present invention, referring to Fig. 6
Shown, the associated apparatus 60 of the wireless relay apparatus may include:
Pre-association establishes module 601, for establishing virtual pre-association interface.
It is used due to that within a period, may there is pre-association interface to be assigned to a few thing station, it is also possible to which having is made
Pre-association interface is released, and therefore, the wireless relay apparatus can be established periodically virtually according to preset rules
Pre-association interface, to ensure the dynamic provisioning of pre-association interface.
In a schematical example, the concrete structure that the pre-association establishes module may refer to Fig. 7, and Fig. 7 is this
Disclosed in inventive embodiments pre-association build module structural schematic diagram, as shown in fig. 7, the pre-association establish module 601 can
To include:
Physical address acquisition module 701, the physical address for obtaining the predistribution being not used by.
Wireless relay apparatus can allocate physical address in advance, for providing data interaction for work station and wireless access point
Channel.
Interface establishes module 702, and the physical address of the predistribution for being not used by according to establishes one or more
Virtual upstream Interface.
Wherein, the number of the virtual upstream Interface can be a fixed preset value, when current workable object
When the number of reason address disclosure satisfy that the preset value, the virtual uplink of corresponding number can be directly established according to the preset value
Interface;If the preset value is not achieved in the number of workable physical address at present, all can be not used by current
Physical address is all used for establishing virtual upstream Interface.
Interface connection module 703, for being associated with the upstream Interface to wireless access point.
The virtual upstream Interface having had built up is associated with to described wireless by the interface generation module 703 in advance
Access point, after being successfully associated, the virtual upstream Interface becomes the pre-association interface for being associated with wireless access point.
Pre-association interface determining module 704, for the upstream Interface to be determined as pre-association interface.
Fig. 6 is returned to, the associated apparatus 60 of the wireless relay apparatus further includes other than pre-association establishes module 601:
Request receiving module 501, the association request sent for receiving workstation.
Wherein, the association request can be that work station wirelessly connects according to what it was scanned from wireless relay apparatus interface side
Request that the configuration information of access point generates, the association wireless relay apparatus.
Relating module 502 is connect for being associated with the work station according to the association request.
Pre-association distribution module 503, for by pre-association interface assignment give the work station, and establish the work station and
Correspondence between the pre-association interface.
Wherein, the pre-association interface is associated with the wireless access point.
Fig. 8 is the associated apparatus structural schematic diagram of another wireless relay apparatus disclosed by the embodiments of the present invention, referring to Fig. 8
Shown, the associated apparatus 80 of the wireless relay apparatus may include:
Radio access module 801 is synchronized to for connecting wireless access point, and by the configuration information of the wireless access point
The interface side of itself.
Pre-association establishes module 601, for establishing virtual pre-association interface.
Request receiving module 501, the association request sent for receiving workstation.
Relating module 502 is connect for being associated with the work station according to the association request.
Wherein, the association request can be that work station wirelessly connects according to what it was scanned from wireless relay apparatus interface side
Request that the configuration information of access point generates, the association wireless relay apparatus.
Pre-association distribution module 503, for by pre-association interface assignment give the work station, and establish the work station and
Correspondence between the pre-association interface;The pre-association interface is associated with the wireless access point.
In the present embodiment, the associated apparatus of the wireless relay apparatus can establish pre-association interface, in work station and wirelessly
After trunking establishes association, only need to by the pre-association interface assignment being associated in advance with wireless access point to work station,
And it is connected to work station, it will be able to realize the connection of data channel between work station and wireless access point.The wireless relay apparatus
Correlating method and device, due to connect work station and only need during wireless access point to carry out work station and it is wireless in
After once connection of equipment the pass of wireless relay apparatus is improved to substantially reduce the correlation time of wireless relay apparatus
Join efficiency and user experience.
The embodiment of the invention also discloses a kind of wireless relay apparatus, Fig. 9 is wireless relay disclosed by the embodiments of the present invention
The structural schematic diagram of equipment, shown in Figure 9, the wireless relay apparatus 90 includes receiver 901, processor 902 and storage
Device 903;Wherein, the processor 902 is connect with the receiver 901 and the memory 903 respectively;Wherein:
The receiver 901 is used for the association request that receiving workstation is sent.
Before the association request that the receiver 901 receives work station transmission, the wireless relay apparatus 90 is
Wireless access point in connection, and the configuration information of connected wireless access point is synchronized to connecing for itself by wireless relay apparatus 90
Mouth side, so that the work station can scan the phase to the wireless access point from the interface side of the wireless relay apparatus 90
Close configuration information, such as ESSID(Service set), security mode information and encrypted message, to be given birth to according to the configuration information
At the association request for being associated with the wireless relay apparatus 90.
The processor 902 is connect for being associated with the work station according to the association request;Pre-association is connect
Mouth distributes to the work station, and establishes the correspondence between the work station and the pre-association interface.
The wireless relay apparatus 90 is receiving the association request that the work station is sent by the receiver 901
Afterwards, it can be associated and connect with the work station, this process can be understood as work station and believe in scanning recognition to WLAN
After number, by cipher authentication and the process of connection is established.
Wherein, the pre-association interface is associated with wireless access point.The pre-association interface is by the wireless relay
Equipment 90 initially sets up virtual upstream Interface, then by shape after the virtual upper wireless access point of upstream Interface association
At.
After the wireless relay apparatus 90 is associated with the work station, needs for the work station and described wirelessly connect
Access point establishes data exchange channels, and the wireless relay apparatus 90 will can in advance be associated with the pre- of the upper wireless access point
Associated interface is distributed directly to the work station, and corresponds to company by the work station and for the pre-association mouth of work station distribution
It picks up and, hereafter, the work station can be the pre-association interface that the work station distributes by the wireless relay apparatus
Data interaction is carried out with the wireless access point.
The memory 903, the information for storing the program for including the operation of the processor 902.
In the present embodiment, wireless relay apparatus, need to will in advance after the foundation of work station and wireless relay apparatus be associated with
The pre-association interface assignment being associated with wireless access point is connected to work station to work station, it will be able to realize work station and
The connection of data channel between wireless access point.The wireless relay apparatus is during connecting work station and wireless access point
The once connection for only needing progress work station and wireless relay apparatus, substantially reduces the correlation time of wireless relay apparatus, carries
The association efficiency of wireless relay apparatus is risen.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is said referring to method part
It is bright.
It should also be noted that, herein, the terms "include", "comprise" or its any other variant are intended to non-
It is exclusive to include, so that the process, method, article or equipment including a series of elements includes not only those elements,
But also include other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including
There is also other identical elements in the process, method, article or equipment of the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory(RAM), memory, read-only deposit
Reservoir(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.