Summary of the invention
In view of this, the invention provides a kind of correlating method and device of wireless relay apparatus, need to carry out associating for twice to cause due to work station is communicated with the data channel of WAP (wireless access point) to overcome in prior art, the problem of the association inefficiency of wireless relay apparatus, further, Consumer's Experience sense can also be promoted.
For achieving the above object, the invention provides following technical scheme:
The first aspect of the correlating method of described wireless relay apparatus comprises:
The association request that wireless relay apparatus receiving workstation sends;
Associated connection is carried out with described work station according to described association request;
Give described work station by pre-association interface assignment, and set up the corresponding relation between described work station and described pre-association interface; Described pre-association interface is associated with WAP (wireless access point).
In conjunction with first aspect, in the first possible implementation of first aspect, before the association request that described wireless relay apparatus receiving workstation sends, also comprise:
Wireless relay apparatus sets up virtual pre-association interface.
Wherein, described wireless relay apparatus is set up an implementation of virtual pre-association interface and is:
Wireless relay apparatus obtains not by the preallocated physical address used;
One or more virtual upstream Interface is not set up by the preallocated physical address used according to described;
Described upstream Interface is associated to WAP (wireless access point);
Described upstream Interface is defined as pre-association interface.
Another implementation that described wireless relay apparatus sets up virtual pre-association interface is:
Wireless relay apparatus periodically sets up virtual pre-association interface.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, before the association request that described wireless relay apparatus receiving workstation sends, also comprise:
Wireless relay apparatus connects WAP (wireless access point), and the configuration information of described WAP (wireless access point) is synchronized to the interface side of self.
Wherein, request that the configuration information of the WAP (wireless access point) scanned from wireless relay apparatus interface side according to it for work station generates, that associate described wireless relay apparatus is asked in described association.
Wherein, a kind of possible implementation of described wireless relay apparatus connection WAP (wireless access point) is:
Wireless relay apparatus connects a WAP (wireless access point) based on many service set initialization module.
Accordingly, the invention also discloses a kind of associated apparatus of wireless relay apparatus, the first aspect of the associated apparatus of described wireless relay apparatus comprises:
Request receiving module, for the association request that receiving workstation sends;
Relating module, for carrying out associated connection according to described association request with described work station;
Pre-association distribution module, for giving described work station by pre-association interface assignment, and sets up the corresponding relation between described work station and described pre-association interface; Described pre-association interface is associated with described WAP (wireless access point).
In conjunction with first aspect, in the first possible implementation of first aspect, the associated apparatus of described wireless relay apparatus also comprises:
Pre-association sets up module, for setting up virtual pre-association interface.
Wherein, described pre-association is set up module and is comprised:
Physical address acquisition module, for obtaining not by the preallocated physical address used;
Interface sets up module, for not set up one or more virtual upstream Interface by the preallocated physical address used according to described;
Interface connection module, for being associated to WAP (wireless access point) by described upstream Interface.
Pre-association interface determination module, for being defined as pre-association interface by described upstream Interface.
Wherein, described pre-association is set up module and is comprised:
Pre-association sets up submodule, for periodically setting up virtual pre-association interface.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, the associated apparatus of described wireless relay apparatus also comprises:
Radio access module, for connecting WAP (wireless access point), and is synchronized to the interface side of self by the configuration information of described WAP (wireless access point).
Wherein, request that the configuration information of the WAP (wireless access point) scanned from wireless relay apparatus interface side according to it for work station generates, that associate described wireless relay apparatus is asked in described association.
The invention also discloses a kind of wireless relay apparatus, described wireless relay apparatus comprises the associated apparatus of any one wireless relay apparatus above-mentioned.
By correlating method and the device of a kind of wireless relay apparatus provided by the invention, the correlating method of described wireless relay apparatus is after work station and wireless relay apparatus are associated, only the pre-association interface assignment associated with WAP (wireless access point) in advance need be connected to work station, because this pre-association interface is associated with WAP (wireless access point), so the connection of data channel between work station and WAP (wireless access point) just can be realized, due in the process connecting work station and WAP (wireless access point), have employed the pre-association interface be associated with WAP (wireless access point) in advance, so only need to carry out once associating of work station and wireless relay apparatus, thus substantially reduce the correlation time of wireless relay apparatus, improve association efficiency and the Consumer's Experience sense of wireless relay apparatus.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The correlating method flow chart of Fig. 1 wireless relay apparatus disclosed in the embodiment of the present invention, shown in Figure 1, the correlating method of described wireless relay apparatus can comprise:
Step 101: the association request that wireless relay apparatus receiving workstation sends.
Before step 101, wireless relay apparatus connects WAP (wireless access point), and the configuration information of the WAP (wireless access point) connected is synchronized to the interface side of self by wireless relay apparatus, with the relevant configuration information making described work station can scan described WAP (wireless access point) from the interface side of described wireless relay apparatus, as ESSID(service set), security mode information and encrypted message, thus generate the association request of the described wireless relay apparatus of association according to described configuration information.Wherein, the configuration information being synchronized to the described WAP (wireless access point) of interface side by described wireless relay apparatus is identical with described WAP (wireless access point) configuration information originally, described wireless relay apparatus by the configuration information of described WAP (wireless access point) is synchronized to its interface side, with realize by the overlay area of WAP (wireless access point) signal extend and expand.
Wherein, described wireless relay apparatus connects WAP (wireless access point) can be that wireless relay apparatus connects a WAP (wireless access point) based on many service set initialization module.
In the embodiment of the present invention, described wireless relay apparatus is not defined as the equipment that certain has fixed function, as long as connect WLAN at up direction, connect other-end and the product of built-in wireless network Access Algorithm and equipment at down direction, method disclosed in the embodiment of the present invention can both be applied wherein, as wireless router, wireless repeater etc.
Step 102: carry out associated connection with described work station according to described association request.
Wireless relay apparatus, can carry out associated connection with described work station after receiving the association request that described work station sends, and this process can be understood as work station after scanning recognition to wireless lan signal, by cipher authentication and the process connected.
Step 103: give described work station by pre-association interface assignment, and set up the corresponding relation between described work station and described pre-association interface.
Wherein, described pre-association interface is associated with described WAP (wireless access point).Described pre-association interface first sets up virtual upstream Interface by described wireless relay apparatus, formed after then described virtual upstream Interface being associated upper described WAP (wireless access point).
After described wireless relay apparatus associates with described work station, need for described work station and described WAP (wireless access point) set up data exchange channels, the pre-association interface having associated upper described WAP (wireless access point) in advance can directly be distributed to described work station by described wireless relay apparatus, and described work station and the pre-association mouth correspondence of distributing for described work station are coupled together, after this, described work station just can by described wireless relay apparatus be described work station distribute pre-association interface and described WAP (wireless access point) carry out data interaction.
The correlating method of wireless relay apparatus disclosed in the embodiment of the present invention, after work station and wireless relay apparatus are associated, only need by the pre-association interface assignment that associated with WAP (wireless access point) in advance to work station, and be connected to work station, just can realize the connection of the data channel between work station and WAP (wireless access point).The correlating method of this wireless relay apparatus only needs to carry out once associating of work station and wireless relay apparatus connecting in work station and the process of WAP (wireless access point), substantially reduce the correlation time of wireless relay apparatus, improve the association efficiency of wireless relay apparatus.
Fig. 2 is the correlating method flow chart of the embodiment of the present invention another wireless relay apparatus disclosed, and shown in Figure 2, the correlating method of described wireless relay apparatus can comprise:
Step 201: wireless relay apparatus sets up virtual pre-association interface.
Due within a period, pre-association interface may be had to be assigned to a few thing station use, also the pre-association interface by using may be had to be released, therefore, described wireless relay apparatus periodically can set up virtual pre-association interface according to preset rules, to ensure the dynamic provisioning of pre-association interface.Such as, within every 5 minutes, a step 201 is performed.
In a schematic example, the detailed process of step 201 can set up the flow chart of pre-association interface disclosed in the embodiment of the present invention see Fig. 3, Fig. 3, as shown in Figure 3, the process that wireless relay apparatus sets up pre-association interface can comprise:
Step 301: wireless relay apparatus obtains not by the preallocated physical address used.
Wireless relay apparatus itself is used for connecting work station and WAP (wireless access point), and it can allocate physical address in advance, for providing data exchange channels for work station and WAP (wireless access point).Wherein, described physical address also can be media access control layer address.
Step 302: wireless relay apparatus is not set up virtual upstream Interface by the preallocated physical address used according to described.
Wherein, the number of described virtual upstream Interface can be a fixing preset value, can be one or more.When the number of current spendable physical address can meet described preset value, the virtual upstream Interface of corresponding number directly can be set up according to described preset value; If the number of current spendable physical address does not reach described preset value, allly all can be used for setting up virtual upstream Interface by the physical address used by current.
Step 303: described upstream Interface is associated to WAP (wireless access point).
In step 302, just establish virtual upstream Interface, these virtual upstream Interfaces also do not associate WAP (wireless access point), only after relevant upper WAP (wireless access point), just become pre-association interface, therefore in step 303, need these virtual upstream Interfaces to be associated to WAP (wireless access point).
After step 302, the described virtual upstream Interface established is associated to described WAP (wireless access point) in advance, after being successfully associated, namely described virtual upstream Interface is the pre-association interface be associated with WAP (wireless access point).If establish multiple virtual upstream Interface in step 302, described multiple virtual upstream Interface all can be associated to a WAP (wireless access point).
Wherein, by the mode of adding pre-association interface identifier for the upstream Interface of WAP (wireless access point) described in successful association, the upstream Interface of WAP (wireless access point) described in described successful association can be defined as pre-association interface.Described pre-association interface identifier is used to indicate this interface and is successfully associated with described WAP (wireless access point), can be used for and uses to work station.If there is multiple pre-association interface in described wireless relay apparatus, described pre-association interface identifier may be used for distinguishing different pre-association interfaces, such as, can be pre-association interface 1, pre-association interface 2, pre-association interface 3 etc. to multiple pre-association interface index.
Step 304: described upstream Interface is defined as pre-association interface.
Step 301-step 304 sets up the entire protocol of pre-association interface.
Then return Fig. 2, after step 201, enter step 202.
Step 202: the association request that wireless relay apparatus receiving workstation sends.
Wherein, request that the configuration information of the WAP (wireless access point) that can scan from wireless relay apparatus interface side according to it for work station generates, that associate described wireless relay apparatus is asked in described association.
Step 203: wireless relay apparatus carries out associated connection according to described association request with described work station.
Step 204: pre-association interface assignment is given described work station by wireless relay apparatus, and sets up the corresponding relation between described work station and described pre-association interface.
Wherein, described pre-association interface is associated with described WAP (wireless access point).
The correlating method of wireless relay apparatus disclosed in the embodiment of the present invention, establish the pre-association interface associated with WAP (wireless access point) in advance, then after work station and wireless relay apparatus are associated, only need by the pre-association interface assignment that established to work station, and be connected to work station, just can realize the connection of the data channel between work station and WAP (wireless access point).The correlating method of this wireless relay apparatus is in the process connecting work station and WAP (wireless access point), have employed the pre-association interface be associated with WAP (wireless access point) in advance, so only need to carry out once associating of work station and wireless relay apparatus, substantially reduce the correlation time of wireless relay apparatus, improve the association efficiency of wireless relay apparatus.
Fig. 4 is the correlating method flow chart of the embodiment of the present invention another wireless relay apparatus disclosed, and shown in Figure 4, described method can comprise:
Step 401: wireless relay apparatus connects WAP (wireless access point).
Wherein, described wireless relay apparatus directly can be connected with WAP (wireless access point).
Step 402: wireless relay apparatus sets up virtual pre-association interface.
After described wireless relay apparatus is connected with described WAP (wireless access point), described wireless relay apparatus successfully can set up described pre-association interface.Why setting up described pre-association interface, is use to be supplied to work station.
Step 403: the association request that wireless relay apparatus receiving workstation sends.
Step 404: wireless relay apparatus carries out associated connection according to described association request with described work station.
Step 405: pre-association interface assignment is given described work station by wireless relay apparatus, and sets up the corresponding relation between described work station and described pre-association interface.
Wherein, described pre-association interface is associated with described WAP (wireless access point).
The correlating method of wireless relay apparatus disclosed in the embodiment of the present invention, pre-association interface can be set up, after work station and wireless relay apparatus are associated, only need by the pre-association interface assignment that associated with WAP (wireless access point) in advance to work station, and be connected to work station, just can realize the connection of data channel between work station and WAP (wireless access point).The correlating method of this wireless relay apparatus and device, owing to only needing to carry out once associating of work station and wireless relay apparatus connecting in work station and the process of WAP (wireless access point), thus substantially reduce the correlation time of wireless relay apparatus, improve association efficiency and the Consumer's Experience sense of wireless relay apparatus.
Describe method in detail in embodiment disclosed in the invention described above, the device of various ways can be adopted to realize for method of the present invention, therefore the invention also discloses a kind of device, provide specific embodiment below and be described in detail.
The associated apparatus structural representation of Fig. 5 wireless relay apparatus disclosed in the embodiment of the present invention, shown in Figure 5, the associated apparatus 50 of described wireless relay apparatus can comprise:
Request receiving module 501, for the association request that receiving workstation sends.
Wireless relay apparatus has connected WAP (wireless access point) in advance, and the configuration information of the WAP (wireless access point) connected is synchronized to the interface side of self by wireless relay apparatus, with the relevant configuration information making described work station can scan described WAP (wireless access point) from the interface side of described wireless relay apparatus, as ESSID(service set), security mode information and encrypted message, thus generate the association request of the described wireless relay apparatus of association according to described configuration information.
Relating module 502, for carrying out associated connection according to described association request with described work station;
Pre-association distribution module 503, for giving described work station by pre-association interface assignment, and sets up the corresponding relation between described work station and described pre-association interface.
Wherein, described pre-association interface is associated with described WAP (wireless access point).
The associated apparatus of wireless relay apparatus disclosed in the embodiment of the present invention, after work station and wireless relay apparatus are associated, only need by the pre-association interface assignment that associated with WAP (wireless access point) to work station, and be connected to work station, just can realize the connection of data channel between work station and WAP (wireless access point).The correlating method of this wireless relay apparatus only needs to carry out once associating of work station and wireless relay apparatus connecting in work station and the process of WAP (wireless access point), substantially reduce the correlation time of wireless relay apparatus, improve the association efficiency of wireless relay apparatus.
Fig. 6 is the associated apparatus structural representation of the embodiment of the present invention another wireless relay apparatus disclosed, and shown in Figure 6, the associated apparatus 60 of described wireless relay apparatus can comprise:
Pre-association sets up module 601, for setting up virtual pre-association interface.
Due within a period, pre-association interface may be had to be assigned to a few thing station use, also the pre-association interface by using may be had to be released, therefore, described wireless relay apparatus periodically can set up virtual pre-association interface according to preset rules, to ensure the dynamic provisioning of pre-association interface.
In a schematic example, the concrete structure that described pre-association sets up module can build the structural representation of module see Fig. 7, Fig. 7 pre-association disclosed in the embodiment of the present invention, and as shown in Figure 7, described pre-association is set up module 601 and can be comprised:
Physical address acquisition module 701, for obtaining not by the preallocated physical address used.
Wireless relay apparatus can allocate physical address in advance, for providing data exchange channels for work station and WAP (wireless access point).
Interface sets up module 702, for not set up one or more virtual upstream Interface by the preallocated physical address used according to described.
Wherein, the number of described virtual upstream Interface can be a fixing preset value, when the number of current spendable physical address can meet described preset value, directly can set up the virtual upstream Interface of corresponding number according to described preset value; If the number of current spendable physical address does not reach described preset value, allly all can be used for setting up virtual upstream Interface by the physical address used by current.
Interface connection module 703, for being associated to WAP (wireless access point) by described upstream Interface.
The described virtual upstream Interface established is associated to described WAP (wireless access point) by described interface generation module 703 in advance, and after being successfully associated, described virtual upstream Interface becomes the pre-association interface associating WAP (wireless access point).
Pre-association interface determination module 704, for being defined as pre-association interface by described upstream Interface.
Return Fig. 6, the associated apparatus 60 of described wireless relay apparatus, except pre-association sets up module 601, also comprises:
Request receiving module 501, for the association request that receiving workstation sends.
Wherein, described association request can be the configuration information of the WAP (wireless access point) that work station scans from wireless relay apparatus interface side according to it generates, the request that associates described wireless relay apparatus.
Relating module 502, for carrying out associated connection according to described association request with described work station.
Pre-association distribution module 503, for giving described work station by pre-association interface assignment, and sets up the corresponding relation between described work station and described pre-association interface.
Wherein, described pre-association interface is associated with described WAP (wireless access point).
Fig. 8 is the associated apparatus structural representation of the embodiment of the present invention another wireless relay apparatus disclosed, and shown in Figure 8, the associated apparatus 80 of described wireless relay apparatus can comprise:
Radio access module 801, for connecting WAP (wireless access point), and is synchronized to the interface side of self by the configuration information of described WAP (wireless access point).
Pre-association sets up module 601, for setting up virtual pre-association interface.
Request receiving module 501, for the association request that receiving workstation sends.
Relating module 502, for carrying out associated connection according to described association request with described work station.
Wherein, request that the configuration information of the WAP (wireless access point) that can scan from wireless relay apparatus interface side according to it for work station generates, that associate described wireless relay apparatus is asked in described association.
Pre-association distribution module 503, for giving described work station by pre-association interface assignment, and sets up the corresponding relation between described work station and described pre-association interface; Described pre-association interface is associated with described WAP (wireless access point).
In the present embodiment, the associated apparatus of described wireless relay apparatus, pre-association interface can be set up, after work station and wireless relay apparatus are associated, only need by the pre-association interface assignment that associated with WAP (wireless access point) in advance to work station, and be connected to work station, just can realize the connection of data channel between work station and WAP (wireless access point).The correlating method of this wireless relay apparatus and device, owing to only needing to carry out once associating of work station and wireless relay apparatus connecting in work station and the process of WAP (wireless access point), thus substantially reduce the correlation time of wireless relay apparatus, improve association efficiency and the Consumer's Experience sense of wireless relay apparatus.
The embodiment of the invention also discloses a kind of wireless relay apparatus, the structural representation of Fig. 9 wireless relay apparatus disclosed in the embodiment of the present invention, shown in Figure 9, described wireless relay apparatus 90 comprises receiver 901, processor 902 and memory 903; Wherein, described processor 902 is connected with described receiver 901 and described memory 903 respectively; Wherein:
The association request that described receiver 901 sends for receiving workstation.
Receive the association request of work station transmission at described receiver 901 before, described wireless relay apparatus 90 connects WAP (wireless access point), and the configuration information of the WAP (wireless access point) connected is synchronized to the interface side of self by wireless relay apparatus 90, with the relevant configuration information making described work station can scan described WAP (wireless access point) from the interface side of described wireless relay apparatus 90, as ESSID(service set), security mode information and encrypted message, thus generate the association request of the described wireless relay apparatus 90 of association according to described configuration information.
Described processor 902 is for carrying out associated connection according to described association request with described work station; Give described work station by pre-association interface assignment, and set up the corresponding relation between described work station and described pre-association interface.
Described wireless relay apparatus 90 is after the association request being received the transmission of described work station by described receiver 901, associated connection can be carried out with described work station, this process can be understood as work station after scanning recognition to wireless lan signal, by cipher authentication and the process connected.
Wherein, described pre-association interface is associated with WAP (wireless access point).Described pre-association interface first sets up virtual upstream Interface by described wireless relay apparatus 90, formed after then described virtual upstream Interface being associated upper described WAP (wireless access point).
After described wireless relay apparatus 90 associates with described work station, need for described work station and described WAP (wireless access point) set up data exchange channels, the pre-association interface having associated upper described WAP (wireless access point) in advance can directly be distributed to described work station by described wireless relay apparatus 90, and described work station and the pre-association mouth correspondence of distributing for described work station are coupled together, after this, described work station just can by described wireless relay apparatus be described work station distribute pre-association interface and described WAP (wireless access point) carry out data interaction.
Described memory 903, for storing the information including the program that described processor 902 runs.
In the present embodiment, wireless relay apparatus is after work station and wireless relay apparatus are associated, only by the pre-association interface assignment that associated with WAP (wireless access point) in advance to work station, and work station need be connected to, just can realize the connection of the data channel between work station and WAP (wireless access point).This wireless relay apparatus only needs to carry out once associating of work station and wireless relay apparatus connecting in work station and the process of WAP (wireless access point), substantially reduces the correlation time of wireless relay apparatus, improves the association efficiency of wireless relay apparatus.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Also it should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.