CN103906263A - Connection establishment method, device and system - Google Patents

Connection establishment method, device and system Download PDF

Info

Publication number
CN103906263A
CN103906263A CN201210574734.1A CN201210574734A CN103906263A CN 103906263 A CN103906263 A CN 103906263A CN 201210574734 A CN201210574734 A CN 201210574734A CN 103906263 A CN103906263 A CN 103906263A
Authority
CN
China
Prior art keywords
trunking
website
sta
probe message
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210574734.1A
Other languages
Chinese (zh)
Other versions
CN103906263B (en
Inventor
陆苏
树贵明
丁志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201210574734.1A priority Critical patent/CN103906263B/en
Publication of CN103906263A publication Critical patent/CN103906263A/en
Application granted granted Critical
Publication of CN103906263B publication Critical patent/CN103906263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a connection establishment method, device and system. The method comprises that: a station point sends a detection message to at least one relay device, and the detection message is used for detecting the relay device capable of providing relay service for the station point; the station point receives a detection response message returned by a first relay device in the at least one relay device, and the detection response message is the detection message received by the first relay device and is sent to the station point after confirmation that the detection response message is capable of providing the relay service for the station point; and communication connection is established between the station point and access points related to the station point via the first relay device. According to the technical scheme, after an STA cannot be directly communicated with APs related to the STA, the communication connection can be reestablished between the STA and the APs related to the STA as soon as possible.

Description

Connect method for building up, equipment and system
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to a kind of method for building up, equipment and system of connecting.
Background technology
At present, Institute of Electrical and Electric Engineers (Institute for Electrical and Electronic Engineers, referred to as IEEE) normal structure is being formulated 802.11ah specification.In 802.11ah specification, there are two typical application scenarioss, intelligent meter data recording and sensing networks.The feature of these application scenarioss is that website (Station, referred to as STA) enormous amount,, STA higher to transfer of data safety requirements adopt powered battery more.
In the network that has a large amount of STA, probably occur STA with access point (Access Point, access point, referred to as AP) association after, within a period of time, do not receive any message of AP, within a period of time cannot with the situation of AP direct communication.In this case, AP just thinks that this STA exits network, this STA can be eliminated to network; And STA also can eliminate network by oneself.STA just cannot be to AP reported data like this, if the data that this STA need to report are very important, the data that for example fire sensor reports, will cause serious consequence, as can be seen here, need a kind of mechanism in the time there is the situation that AP and STA cannot direct communications, to make as early as possible AP and this STA re-establish communication connection.
Summary of the invention
The embodiment of the present invention provides a kind of method for building up, equipment and system of connecting, and in order to after the STA AP associated with this STA cannot direct communication, makes this STA AP associated with this STA re-establish as early as possible communication connection.
First aspect provides a kind of method for building up that connects, and comprising:
Website sends probe message at least one trunking, and described probe message is for surveying the trunking that relay services can be provided for described website;
Described website receives the probe response message that the first trunking in described at least one trunking returns, described probe response message is that described the first trunking receives described probe message, and determines and can send to described website after relay services for described website provides;
Described website establishes a communications link by described the first trunking and the associated access point of described website.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described website sends probe message at least one trunking and comprises:
Described website, in default transmitting time, is no more than the described probe message of predetermined number thresholding to the random quantity forwarded of described at least one trunking.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, described website is in default transmitting time, and the described probe message that is no more than predetermined number thresholding to the random quantity forwarded of described at least one trunking comprises:
When described website sends described probe message to described at least one trunking in described transmitting time, determine whether that other websites send described probe message;
Send described probe message if define other websites, described website reduces the number of times that sends described probe message in described transmitting time;
Described website is according to the number of times after described minimizing, to the described probe message of the random transmission of described at least one trunking.
In conjunction with the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect, in the third possible implementation of first aspect, described probe message carries mark and the described website place network of network mark of described website.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or first aspect or the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described website sends probe message at least one trunking and comprises:
Described website, after definite described website and described access point cannot direct communications, sends described probe message to described at least one trunking.
Second aspect provides a kind of method for building up that connects, and comprising:
The probe message that trunking receiving station sends, described probe message is for surveying the trunking that relay services can be provided for described website;
Described trunking can provide after relay services for described website determining described trunking, send probe response message to described website, so that described website establishes a communications link by returning to the associated access point of the described trunking of described probe response message and described website.
In conjunction with second aspect, in the possible implementation of the first of second aspect, the probe message that described trunking receiving station sends comprises:
Described trunking is monitored the working channel of described access point, the described probe message sending on described working channel to receive described website.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described trunking is monitored the working channel of described access point, comprises to receive the described probe message that described website sends on described working channel:
Described trunking is monitored described working channel always, the described probe message sending on described working channel to receive described website; Or
Described trunking is periodically monitored described working channel, the described probe message sending on described working channel to receive described website within the public relay services phase of specifying; Or
Described trunking is monitored described working channel near the listening period of specifying the ad-hoc relay period of service at described trunking in advance, the described probe message sending on described working channel to receive described website; Or
Described trunking is periodically monitored described working channel within the public relay services phase of specifying, and near the listening period of specifying the ad-hoc relay period of service at described trunking in advance, monitor described working channel, the described probe message sending to receive described website on described working channel.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, the described public relay services phase is positioned at beacon interval, described beacon interval is the duration between two neighbor beacon frames receiving of described trunking, and described beacon frame is that described access point sends.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or second aspect, in the 4th kind of possible implementation of second aspect, described probe message carries mark and the described website place network of network mark of described website.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
In conjunction with the 4th kind of possible implementation of second aspect or the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect, described connection method for building up also comprises: described trunking identifies according to described website place network of network, send described probe response message to described access point, can provide relay services for described website so that described access point is known described trunking.
In conjunction with the 5th kind of possible implementation of the 4th kind of possible implementation of the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or second aspect or second aspect or second aspect or the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation of second aspect, the probe message that described trunking receiving station sends comprises:
Described trunking receives described website in the described probe message of determining that described website and described access point send after cannot direct communication.
The third aspect provides a kind of website, comprising:
Sending module, for sending probe message at least one trunking, described probe message is for surveying the trunking that relay services can be provided for described website;
Receiver module, the probe response message of returning for receiving the first trunking of described at least one trunking, described probe response message is that described the first trunking receives described probe message, and determines and can send to described website after relay services for described website provides;
Connect and set up module, for establishing a communications link by described the first trunking and the associated access point of described website.
In conjunction with the third aspect, in the possible implementation of the first of the third aspect, described sending module, specifically in default transmitting time, is no more than the described probe message of predetermined number thresholding to the random quantity forwarded of described at least one trunking.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second of the third aspect, described sending module further when sending described probe message to described at least one trunking in described transmitting time, determine whether that other websites send described probe message, send described probe message if determined other websites, reduce the number of times that sends described probe message in described transmitting time, according to the number of times after described minimizing, to the described probe message of the random transmission of described at least one trunking.
In conjunction with the possible implementation of the second of the possible implementation of the first of the third aspect or the third aspect or the third aspect, in the third possible implementation of the third aspect, described probe message carries mark and the described website place network of network mark of described website.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of the third aspect or the third aspect or the third aspect or the third aspect or the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation of the third aspect, described sending module, specifically for after definite described website and described access point cannot direct communications, sends described probe message to described at least one trunking.
Fourth aspect provides a kind of trunking, comprising:
Receiver module, the probe message sending for receiving station, described probe message is for surveying the trunking that relay services can be provided for described website;
Sending module, for providing after relay services for described website determining described trunking, send probe response message to described website, so that described website establishes a communications link by returning to the associated access point of the described trunking of described probe response message and described website.
In conjunction with fourth aspect, in the possible implementation of the first of fourth aspect, described receiver module is monitored specifically for the working channel to described access point, the described probe message sending on described working channel to receive described website.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second of fourth aspect, described receiver module is further specifically for monitor described working channel always, the described probe message sending on described working channel to receive described website; Or
Described receiver module further specifically for periodically monitoring described working channel, the described probe message sending on described working channel to receive described website within the public relay services phase of specifying; Or
Described receiver module is further specifically for monitoring described working channel near the listening period specifying the ad-hoc relay period of service at described trunking in advance, the described probe message sending on described working channel to receive described website; Or
Described receiver module further specifically for periodically monitoring described working channel within the public relay services phase of specifying, and near the listening period of specifying the ad-hoc relay period of service at described trunking in advance, monitor described working channel, the described probe message sending to receive described website on described working channel.
In conjunction with the possible implementation of the second of fourth aspect, in the third possible implementation of fourth aspect, the described public relay services phase is positioned at beacon interval, described beacon interval is the duration between two neighbor beacon frames receiving of described trunking, and described beacon frame is that described access point sends.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of fourth aspect or fourth aspect or fourth aspect or fourth aspect, in the 4th kind of possible implementation of fourth aspect, described probe message carries mark and the described website place network of network mark of described website.
In conjunction with the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation of fourth aspect, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
In conjunction with the 4th kind of possible implementation of fourth aspect or the 5th kind of possible implementation of fourth aspect, in the 6th kind of possible implementation of fourth aspect, described sending module is also for identifying according to described website place network of network, send described probe response message to described access point, can provide relay services for described website so that described access point is known described trunking.
In conjunction with the 5th kind of possible implementation of the 4th kind of possible implementation of the third possible implementation of the possible implementation of the second of the possible implementation of the first of fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or the 6th kind of possible implementation of fourth aspect, in the 7th kind of possible implementation of fourth aspect, described receiver module is specifically for receiving described website in the described probe message of determining that described website and described access point send after cannot direct communication.
The 5th aspect provides a kind of connection to set up system, comprising: arbitrary website that the third aspect provides, and arbitrary trunking of providing of fourth aspect.
The connection method for building up that the embodiment of the present invention provides, equipment and system, website is by sending probe message to trunking, to survey the trunking that relay services can be provided as this website, trunking receives after probe message, return to probe response message to website, so that stations aware can provide for website the trunking of relay services, then by connecting for website provides the trunking of relay services and the associated access point of this website, like this in the case of website and the associated access point of this website cannot direct communications, website can re-establish communication connection as early as possible by these trunkings access point associated with this website.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of flow chart that connects method for building up that Fig. 1 provides for the embodiment of the present invention;
The another kind that Fig. 2 provides for the embodiment of the present invention connects the flow chart of method for building up;
The position view of a kind of public relay services phase that Fig. 3 provides for the embodiment of the present invention;
A kind of trunking that Fig. 4 provides for the embodiment of the present invention is monitored a kind of monitoring position schematic diagram of the working channel of AP near the listening period of specifying public relay services phase and the ad-hoc relay period of service at trunking;
A kind of trunking that Fig. 5 provides for the embodiment of the present invention is STA carries out process schematic diagram from relaying to the upstream data of AP transmission;
A kind of trunking that Fig. 6 provides for the embodiment of the present invention is AP carries out process schematic diagram from relaying to the downlink data of STA transmission;
The structural representation of a kind of STA that Fig. 7 provides for the embodiment of the present invention;
The structural representation of the another kind of STA that Fig. 8 provides for the embodiment of the present invention;
The structural representation of a kind of trunking that Fig. 9 provides for the embodiment of the present invention;
The structural representation of the another kind of trunking that Figure 10 provides for the embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
A kind of flow chart that connects method for building up that Fig. 1 provides for the embodiment of the present invention.As shown in Figure 1, the method for the present embodiment comprises:
Step 101, STA send probe message at least one trunking, and described probe message is for surveying the trunking that relay services can be provided for this STA.
Step 102, STA receive the probe response message that the first trunking at least one trunking returns, described probe response message is that the first trunking receives described probe message, and determines that the first trunking can send to STA's after relay services is provided for STA.
Step 103, STA establish a communications link by the first trunking and the associated AP of STA.
In various embodiments of the present invention, described STA and AP re-establish communication connection and refer to that STA and the associated AP of this STA reconnect communication connection, and wherein STA not necessarily needs again to carry out associated with this AP.
In the present embodiment, after STA associated AP, may there is the situation that STA cannot communicate by letter with AP.After STA associated AP, cannot mainly refer to that STA is after associated AP with the situation of AP direct communication, STA and AP do not hear mutually the other side within a period of time.The present embodiment does not hear mutually that taking STA and AP the other side describes as example within a period of time.For example, if AP does not receive the data of this STA continuously at the time point of the multiple STA of presetting reported datas, think cannot direct communication with this STA for AP.Correspondingly, exceed after certain hour if STA can't hear the time of any downstream message of AP, STA also can think that oneself cannot directly communicate with this AP.In the situation that STA cannot directly and AP thanks you for your congratulation, in network, some trunkings likely still can be heard this STA.Here the trunking in network can be the STA that possesses relay function, can be also an equipment that possesses website function and relay function, can be also an equipment that possesses access point function, website function and relay function.STA is in order to know in network, which equipment has relay capabilities, can broadcast probe message, taking in network, exist and can survey as this STA provides the trunking of relay services.In the embodiment of the present invention, if trunking can refer to trunking same AP associated with STA for STA provides relay services, trunking can either communicate with STA, can communicate with AP again, and trunking possesses for STA provides relay services required various resources simultaneously, for example electric weight.
Optionally, STA can be after determining that the associated AP of STA and this STA cannot direct communication, at least one trunking transmission probe message in network, to survey the trunking that relay services can be provided as STA.
Optionally, a kind of execution mode that STA sends probe message at least one trunking comprises: STA sends probe message with broadcast mode at least one trunking.
In an optional execution mode, can correctly receive probe message in order to ensure trunking around, STA can adopt the better or best modulation system of robustness, for example binary phase shift keying (Binary Phase Shift Key, referred to as BPSK), and adopt the transmitting power of maximum permission to send probe message.
In an optional execution mode, a kind of execution mode that STA sends probe message at least one trunking comprises: STA, in default transmitting time, is no more than the probe message of predetermined number thresholding to the random quantity forwarded of at least one trunking.Because sending probe message, STA needs busy channel resource, although can adopting, STA strengthens distributed channel access (Enhanced Distributed Channel Access, referred to as EDCA) mode seize channel, still can affect in network active data transmission.Therefore in this embodiment, limit by the number of times that STA is sent within a period of time (said a period of time is above-mentioned transmitting time) to probe message here, and send probe message in random mode, making the time interval between the probe message of adjacent twice transmission is random duration instead of fixing duration, sends the impact of probe message on active data transmission in network thereby reduce.
Further, in network, may occur that multiple STA simultaneously cannot be directly and same AP situation about communicating, in this case, each STA can send probe message, and in network, the quantity of probe message is just many like this, also can increase the impact of active data transmission in network.In order to address this problem, the present embodiment provides a kind of STA in default transmitting time, to the random quantity forwarded of at least one trunking be no more than predetermined number thresholding the execution mode of probe message, this execution mode comprises: when STA sends probe message at least one trunking in this transmitting time, whether determine has other STA also to send probe message, sending probe message if determined other STA, STA can reduce the number of times that sends probe message in this transmitting time, then according to the number of times after reducing, send at random probe message at least one trunking.For example, when STA sends trunking at random at least one trunking in default transmitting time, can first monitor the working channel of AP, can find whether to have other STA sending probe message by the working channel of monitoring AP.Wherein, STA and AP are operated on same channel.Optionally, STA can periodically or at a fixed time put the working channel of AP is monitored, to have determined whether that other STA is sending probe message.Wherein, the present embodiment is being determined other STA after transmission probe message to STA, and the mode that minimizing sends the number of times of probe message in this transmitting time does not limit, and can adopt variety of way to realize.For example, suppose that a STA listens to another STA and sending probe message, this STA can reduce to original half by the number of times that sends probe message in transmitting time; Sending probe message if listen to two other STA, this STA can reduce to the number of times that sends probe message in transmitting time original 1/3rd; Etc..
For trunking, if receive the probe message that STA sends, and determine and can, for this STA provides relay services, can return to probe response message to STA, so that knowing this trunking, STA can provide relay services for STA.
In the present embodiment, the probe message that STA sends carries mark and the STA place network of network mark of STA.Wherein, the mark of STA is for sending the STA of probe message for trunking identification.STA place network of network identifies the mark of the associated AP of STA namely, for example, can be the set of basic mark (Basic Service Set Identifier, referred to as BSSID) of AP.STA place network of network mark is mainly used in identifying STA and is associated with which AP, for judging whether to provide relay services to this STA for trunking.If the associated AP of the AP that trunking accesses and this STA is same AP, this trunking can provide relay services for this STA; Otherwise if the associated AP of the AP that trunking accesses and this STA is not same AP, this trunking can not provide relay services for this STA.
Further, probe message, except carrying the mark and STA place network of network mark of STA, also carries current electric quantity information, the positional information of STA and/or the abnormal instruction of STA of STA.The abnormal instruction of described STA is mainly used in indicating STA that the information such as abnormal reason occur.Comparatively preferred, the shorter channel resource taking of probe message is fewer, also just less on the impact of the effective transmission in network, therefore probe message is more short better.
In the present embodiment, will receive the probe message of STA transmission, and determine and can be called the first trunking for this STA provides the trunking of relay services.Wherein, the first trunking can be one, may be also multiple.The first trunking can return to relaying response message to STA.
STA, receiving after the relaying response message that the first trunking returns, can know that the first trunking can provide relay services for it, therefore STA establishes a communications link by the first trunking and the associated AP of STA.
Optionally, send in order to reduce STA the channel resource that probe message takies, STA can receive after probe message, stops the transmission of probe message.Or STA can preset detection duration, after if survey, duration finishes, STA does not receive probe message yet, just stops the transmission of probe message.
In the present embodiment, STA is by sending probe message, initiatively to surveying for STA provides the trunking of relay services in network, then whether return to probe response according to trunking, therefrom determine the trunking that relay services can be provided for this STA, STA can communicate for STA provides the trunking of relay services and AP by these like this, in the time that STA and the associated AP of this STA cannot direct communications, STA can re-establish communication connection as early as possible by definite trunking and AP, STA just can not be because of communicating with AP and exit network like this, avoid causing the loss of significant data.
In an optional execution mode, the first trunking is multiple, can be multiple for STA provides the trunking of relay services.The process that STA establishes a communications link by the first trunking and the associated AP of STA comprises: STA can select one as target trunking from multiple the first trunkings, send relaying Indication message to target trunking, to indicate this target trunking as STA and the associated AP of STA provide relay services, then establish a communications link by target trunking and AP.Wherein, target trunking refers to the trunking that relay services is provided for AP and STA.
In addition, if the first trunking only has one, STA can directly determine that this first trunking is target trunking, sends relaying Indication message to this target trunking, then establishes a communications link by this target trunking and AP.
In this embodiment, by STA select target trunking from the first trunking, and make this trunking know that oneself is target trunking, is responsible for communicating by letter between AP and STA and carries out relaying by send relaying Indication message to target trunking.
Based on above-mentioned, a kind of mode of STA select target trunking from multiple the first trunkings comprises: signal strength signal intensity, signal power and/or the signal to noise ratio etc. (being at least one among signal strength signal intensity, signal power and signal to noise ratio etc.) of multiple probe response message that STA sends according to multiple the first trunkings that receive, and therefrom select first trunking of signal quality best (as the strongest in signal strength signal intensity, signal power is maximum and/or signal to noise ratio is the most high) as target trunking.Or STA also can select one as target trunking at random from multiple the first trunkings.This execution mode is specifically by STA select target trunking.
The another kind of mode of STA select target trunking from multiple the first trunkings comprises: multiple probe response message that STA sends from multiple the first trunkings that receive, obtain the first probe response message that comprises relay request mark, this relay request mark is that the first trunking that sends the first probe response message is encapsulated in the first probe response message in the time meeting default first condition; Then, STA selects one as target trunking from the first trunking corresponding to the first probe response message.Optionally, if the first probe response message is one, STA can directly determine that the first trunking that sends this first probe response message is as target trunking; If the first probe response message is multiple, STA can therefrom select first probe response message at random, using the first trunking that sends selected the first probe response message as target trunking.Or, STA can be according to the signal strength signal intensity of multiple the first probe response message, signal power and/or signal to noise ratio etc., therefrom select the first best probe response message of signal quality, using the first trunking that sends selected the first probe response message as target trunking, etc.
Above-mentioned first condition can comprise following its combination of arbitrary conditioned disjunction:
The received power of described probe message is greater than default received power thresholding;
The signal to noise ratio of described probe message is greater than default signal-noise ratio threshold;
The number of the STA that described the first trunking is served as target trunking is less than default number thresholding;
Link-quality between described the first trunking and described STA is better than default link-quality.This link-quality is predefined, can be the various parameter values that are used for weighing link-quality, and in the present embodiment, default link-quality is mainly as the standard of weighing the link-quality between the first trunking and STA.
The process of above-mentioned execution mode is specially: the first trunking that receives the probe message of STA transmission, judge whether to meet default first condition, if judged result is yes, meet default first condition, the first trunking encapsulates relay request mark in probe response message, for identifying this first trunking request as target trunking; STA receives after the probe response message of the first trunking transmission, select target trunking from send the first trunking of the probe response message (i.e. the first probe response message) that comprises relay request mark, then establishes a communications link by target trunking and this AP.This execution mode is also finally by STA select target trunking.
Optionally, if judged result is no, do not meet default first condition, the first trunking directly sends to STA by probe response message, in this case, does not comprise relay request mark in probe response message.
In an optional execution mode, the first trunking is receiving the probe message of STA transmission, and determining can be for after STA provides relay services, the identification information of the STA place network that can also carry according to probe message, send probe response message to AP, can provide relay services for STA so that AP is known this first trunking.Optionally, the first trunking is in the probe message that is receiving STA and send, and determines and can, for after STA provides relay services, can first send probe response message to AP; AP can, according to probe response message, send relaying Indication message to the first trunking, and this relaying Indication message carries relaying instruction, is used to indicate this first trunking as target trunking; Then, the first trunking returns to the relaying response message that carries relaying instruction to STA.Based on this, another mode of STA select target trunking from multiple the first trunkings comprises: multiple probe response message that STA sends from multiple the first trunkings, obtain the second probe response message that comprises relaying instruction; Described relaying instruction is that the first trunking that sends the second probe response message obtains and is encapsulated in the second probe response message from relaying Indication message, and described relaying instruction selects the first trunking that sends the second probe response message as target trunking for identifying AP; Then, STA determines that the first trunking corresponding to the second probe response message is target trunking.Wherein, the first trunking corresponding to the second probe response message is the first trunking that sends this second probe response message.
The process of aforesaid way is specially: AP receives after the probe response message of the first trunking transmission at least one trunking, according to the relevant information of probe response message, received signal strength or the received power etc. of such as probe response message, select a probe response message, and determine that the first trunking that sends selected probe response message is as target trunking, then return to relaying Indication message to this first trunking, and encapsulation (can be regarded as and carry) relaying instruction in relaying Indication message, select this first trunking as target trunking using instruction, this first trunking receives after relaying Indication message, and the relaying instruction in relaying Indication message is encapsulated in probe response message, then sends to STA, for other the first trunkings, AP can not return to relaying Indication message.Based on this, STA, from the probe response message receiving, selects to comprise the probe response message (i.e. the second probe response message) of relaying instruction, and using the first trunking that sends the second probe response message as target trunking.In this embodiment, target trunking is specifically determined by AP.
Based on the mode of above-mentioned various definite target trunkings, AP can also comprise after establishing a communications link by target trunking and STA:
STA uses the first key between STA and AP to be encrypted cipher key acquisition request, generates the first encrypting messages; Then the first encrypting messages is sent to target trunking.Target trunking uses the second key between AP and target trunking to be encrypted the first encrypting messages, obtains the second encrypting messages; Then the second encrypting messages is sent to AP.The second encrypting messages that AP receiving target trunking sends, then, be that STA and target trunking distribute the 3rd key according to cipher key acquisition request, and use the second key to be encrypted the 3rd key, obtain the 3rd encrypting messages, use the first key to be encrypted and to obtain the 4th encrypting messages the 3rd key.Concrete, AP receives after the second encrypting messages, can use successively the second key and the first key to resolve, obtain cipher key acquisition request, then be that STA and target trunking distribute the 3rd key according to cipher key acquisition request, and use respectively the first key and the second key to be encrypted the 3rd key, obtain the 4th encrypting messages and the 3rd encrypting messages.
The 3rd encrypting messages is sent to target trunking by AP, and described the 4th encrypting messages is sent to described target trunking, so that described the 4th encrypting messages is transmitted to STA by described target trunking, so that described target trunking and STA use described the 3rd key to communicate.Afterwards, target trunking obtains the 3rd key from the 3rd encrypting messages, and STA obtains the 3rd key from the 4th encrypting messages, and then STA and target trunking use the 3rd key to be encrypted communication process to each other, to realize secure communication.
Due between target trunking and AP by agreement the second Key Establishing safe communication connection, and STA cannot with AP direct communication before, also can be by the communication connection of the first Key Establishing safety of making an appointment between STA and AP, be that STA and target trunking are all trusted AP, therefore, for the consideration of fail safe, can be using AP as STA and the common third party who trusts of target trunking, provide the 3rd key of communicating by letter and using by AP for STA and target trunking, make to carry out secure communication based on the 3rd key between target trunking and STA.
The another kind that Fig. 2 provides for the embodiment of the present invention connects the flow chart of method for building up.As shown in Figure 2, the method for the present embodiment comprises:
Step 201, trunking receive the probe message that STA sends, and described probe message is for surveying the trunking that relay services can be provided for STA.
Step 202, trunking can provide after relay services for STA determining trunking, send probe response message to STA, so that STA establishes a communications link by returning to the associated AP of the trunking of probe response message and described STA.
In the present embodiment, after STA associated AP, may there is the situation that STA cannot communicate by letter with AP.After STA associated AP, cannot mainly refer to that STA is after associated AP with the situation of AP direct communication, STA and AP do not hear mutually the other side within a period of time.The present embodiment does not hear mutually that taking STA and AP the other side describes as example within a period of time.For example, if AP does not receive the data of this STA continuously at the time point of the multiple STA of presetting reported datas, think cannot direct communication with this STA for AP.Correspondingly, exceed after certain hour if STA can't hear the time of any downstream message of AP, STA also can think that oneself cannot directly communicate with this AP.In the situation that STA cannot directly and AP thanks you for your congratulation, in network, some trunkings likely still can be heard this STA.
Wherein, trunking can be the STA that possesses relay function, can be also an equipment that possesses website function and relay function, can be also an equipment that possesses access point function, website function and relay function.STA is in order to know in network, which equipment has relay capabilities, can broadcast probe message, taking in network, exist and can survey as this STA provides the trunking of relay services.In the embodiment of the present invention, if trunking can refer to trunking same AP associated with STA for STA provides relay services, trunking can either communicate with STA, can communicate with AP again, and trunking possesses for STA provides relay services required various resources simultaneously, for example electric weight.In the present embodiment, describe as an example of the trunking that can provide relay services as STA example.
In an optional execution mode, a kind of execution mode that trunking receives the probe message of STA transmission comprises: trunking is monitored the working channel of AP, the described probe message sending on described working channel to receive STA.Wherein, AP and STA are operated on same channel, and AP and STA are operated on the working channel of AP.
Wherein, trunking can be monitored the working channel of AP always, the described probe message sending on described working channel to receive STA.This mode is particularly useful for trunking Power supply and that require without power saving, but is not limited to this.
Or trunking is periodically monitored the working channel of AP, the described probe message sending on described working channel to receive STA within the public relay services phase of specifying.Wherein, the public relay services phase refers to a period of time, and within this period, all trunkings are all monitored the working channel of AP, and can only monitor the working channel of AP, and can not carry out data transmission.The public relay services phase can periodically occur, so that trunking is periodically monitored the working channel of AP.Comparatively preferred, the public relay services phase can be positioned at beacon interval (beacon Interval), this beacon interval be trunking receive two neighbor beacon frames between duration, wherein, beacon frame is that AP sends to trunking.For example, the position of public relay services phase can be as shown in Figure 3.Send at random the situation of probe message for STA, trunking can have an opportunity to receive the probe message that STA sends within the public relay services phase.This execution mode is particularly useful for having the trunking of power saving requirement.Wherein, when the public relay services phase occurs and lasts long, and the beacon frame that can be sent by described AP is indicated.
Or trunking can be monitored the working channel of AP, the described probe message sending on described working channel to receive STA near the listening period of specifying the ad-hoc relay period of service at this trunking in advance.Wherein, the ad-hoc relay period of service refers to that AP distributes to trunking, for carrying out for trunking a period of time of transfer of data, for example, can be used for for trunking in the time providing relay services for STA the data between transmission STA and AP.Within this ad-hoc relay period of service, trunking can have data to send, and also can not have data to send.Described listening period is near one or more time periods of appointment ad-hoc relay period of service of trunking in advance, for the working channel of AP being monitored for trunking.For example, described listening period can be at least one time period before or after the ad-hoc relay period of service of trunking.Optionally, trunking is except in preassigned listening period, the working channel to AP is monitored, if trunking does not have transfer of data within its ad-hoc relay period of service, also monitors therein the working channel of AP in following the service must.In this explanation, near the listening period of specifying the ad-hoc relay period of service, trunking only can be monitored the working channel of AP, can not carry out data transmission.
Or, trunking is periodically monitored the working channel of AP within the public relay services phase of specifying, and near the listening period of specifying the ad-hoc relay period of service at this trunking in advance, monitor the working channel of AP, the described probe message sending to receive STA on described working channel.In this embodiment, trunking is not only monitored the working channel of AP within the ad-hoc relay period of service of specifying, and near can specify the ad-hoc relay period of service of trunking listening period, monitors the working channel of AP.About near the listening period of specifying public relay services phase, the ad-hoc relay period of service and the ad-hoc relay period of service, can, referring to description above, not repeat them here.Wherein, trunking is specified listening period near its ad-hoc relay period of service, and in the listening period of specifying, monitors the working channel of AP, can increase the time of the working channel of monitoring AP, thereby increases the chance of the probe message that receives STA transmission.For example, near the listening period that trunking is specified in the public relay services phase and its ad-hoc relay period of service, all monitor AP working channel a kind of monitoring position as shown in Figure 4, but be not limited to this mode shown in Fig. 4.
In an optional execution mode, trunking receives a kind of execution mode of probe message that STA sends and comprises: trunking receives STA in the probe message of determining that the associated AP of this STA and this STA sends after cannot direct communication.
Wherein, the probe message that trunking receives carries mark and the STA place network of network mark of STA.Wherein, the mark of STA is for sending the STA of probe message for trunking identification.STA place network of network identifies the mark of the associated AP of STA namely, for example, can be the BSSID of AP.STA place network of network mark is mainly used in identifying STA and is associated with which AP, for judging whether to provide relay services to this STA for trunking.If the associated AP of the AP that trunking accesses and this STA is same AP, this trunking can provide relay services for this STA; Otherwise if the associated AP of the AP that trunking accesses and this STA is not same AP, this trunking can not provide relay services for this STA.
In an optional execution mode, the STA place network of network mark of trunking except carrying according to probe message, judging whether to provide outside relay services to this STA, determining and can provide after relay services for STA, trunking can also send probe response message to AP according to this network identity, can provide relay services for STA so that AP is known trunking.The probe response message further alternative, AP can also send according to trunking, return to relaying Indication message to relaying, and in relaying Indication message, carries relaying instruction, carries out the target trunking of relaying to be chosen as communication between STA and AP.Wherein, can, referring to above-described embodiment, not repeat them here about the detailed description of this execution mode.
In addition, if trunking does not limit to the sequencing of AP and STA transmission relaying response message, trunking can send probe response message with broadcast mode, so that provide probe response message to AP and STA simultaneously.
Further, probe message, except carrying the mark and STA place network of network mark of STA, also carries current electric quantity information, the positional information of STA and/or the abnormal instruction of STA of STA.The abnormal instruction of described STA is mainly used in indicating STA that the information such as abnormal reason occur.Comparatively preferred, the shorter channel resource taking of probe message is fewer, also just less on the impact of the effective transmission in network, therefore probe message is more short better.
Trunking is determined can, for after STA provides relay services, provide probe response message to STA, can provide relay services for it so that STA is known this trunking.
Afterwards, if STA has selected this trunking to provide relay services for it with AP, illustrate below, how trunking carries out relaying to the transfer of data between STA and AP.As shown in Figure 5, send the relay processes schematic diagram of upstream data to AP for STA.Concrete, STA sends Frame to trunking, receiver address (the Receiver Address of this Frame, referred to as RA) be the address of trunking, sending address (Transmitter Address, referred to as TA) is the address of STA, and by the response frame of physics head (Response Frame, referred to as RspFrm) indicating bit is made as 00, tells other STA, has a confirmation (ACK) message after this Frame sends.At a complete short interFrameGap (the Short InterFrame Space of Packet Generation, referred to as SIFS) afterwards, ACK message is sent to STA by trunking, the RA of this ACK message is STA, RspFrm indicating bit is made as 11, tell other STA, after this ACK message, have a Frame, require other STA not attempt competitive channel.Trunking forwards the Frame of STA after ACK message, now, the RA of Frame is revised as the address of AP, TA is revised as the address of trunking, source address (Source Address, referred to as SA) is the address of STA, and RspFrm indicating bit is made as 00, tell other STA, after this Frame sends, have an ACK message.Finally, AP receives after Frame, can return an ACK message to trunking, and the RspFrm indicating bit of this ACK message is made as 10, tells other STA, after this Frame sends, there is no ACK message.
As shown in Figure 6, send the relay processes schematic diagram of downlink data to STA for AP.Concrete, AP sends Frame to trunking, the address that the RA of this Frame is trunking, the TA of this Frame is the address of AP, and the RspFrm indicating bit of physics head is made as to 00, tells other STA, after this Frame sends, have an ACK message.After Frame sends a SIFS, ACK message is sent to AP by trunking, the address that the RA of this ACK message is AP, RspFrm indicating bit is made as 11, tell other STA, after this ACK message, have a Frame, require other STA not attempt competitive channel.Trunking forwards the Frame that AP sends after ACK message, and now, the RA of Frame is revised as the address of STA, TA is revised as the address of trunking, the address that SA is AP, and RspFrm indicating bit is made as 00, tell other STA, after this Frame sends, have an ACK message.Finally, STA receives the Frame that trunking forwards, and can return afterwards an ACK message to trunking, and the RspFrm indicating bit of this ACK message is made as 10, tells other STA, after this Frame sends, there is no ACK message.
In this explanation, in the data transmission procedure shown in Fig. 5 and Fig. 6, between trunking and STA, can adopt by the pre-assigned key of AP and be encrypted transmission; And between trunking and AP, can adopt key to be between the two encrypted transmission.Wherein, AP is trunking and the process that STA distributes the process of the key of the use of communicating by letter can distribute referring to AP in above-described embodiment the 3rd key between the two in advance, does not repeat them here.
From above-mentioned, the connection method for building up that the present embodiment provides, trunking receives the probe message that STA sends, according to probe message determine can provide relay services for STA after, return to relaying response message to STA, STA can be communicated by this trunking AP associated with this STA, like this in the situation that STA and AP cannot direct communications, can be by re-establishing as early as possible communication connection for STA provides the trunking AP associated with this STA of relay services, STA, without exitting network, can avoid causing the loss of significant data.
The structural representation of a kind of STA that Fig. 7 provides for the embodiment of the present invention.As shown in Figure 7, the STA of the present embodiment comprises: module 73 is set up in sending module 71, receiver module 72 and connection.
Sending module 71, for sending probe message at least one trunking, described probe message is for surveying the trunking that relay services can be provided for the STA of the present embodiment.
Receiver module 72, be connected with sending module 71, for after sending module 71 sends probe message, receive the probe response message that the first trunking in described at least one trunking returns, described probe response message is that described the first trunking receives described probe message, and determines and can provide the STA that sends to the present embodiment after relay services for the STA of the present embodiment.
Connect and set up module 73, be connected with receiver module 72, the AP associated for the STA by described the first trunking and the present embodiment establishes a communications link.
In an optional execution mode, sending module 72 is specifically used in default transmitting time, is no more than the described probe message of predetermined number thresholding to the random quantity forwarded of described at least one trunking.
Optionally, sending module 72 further when sending described probe message to described at least one trunking in described transmitting time, determine whether that other websites send described probe message, send described probe message if determined other websites, reduce the number of times that sends described probe message in described transmitting time, according to the number of times after described minimizing, to the described probe message of the random transmission of described at least one trunking.
Wherein, described probe message carries the mark of STA and the STA place network of network mark of the present embodiment of the present embodiment.
Further, described probe message also carries current electric quantity information, the positional information of STA of the present embodiment and/or the abnormal instruction of the STA of the present embodiment of the STA of the present embodiment.
In an optional execution mode, sending module 72 sends described probe message to described at least one trunking after being specifically used in and determining that the STA of the present embodiment and described AP cannot direct communications.
Each functional module of the STA that the present embodiment provides can be used for connecting shown in execution graph 1 flow process of method for building up embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The STA that the present embodiment provides, by sending probe message to trunking, to survey the trunking that relay services can be provided as the present embodiment STA, after receiving the probe response message of trunking transmission, determine the trunking that relay services can be provided for the present embodiment STA, then the associated AP of the trunking by the relay services that can provide for the present embodiment STA and the present embodiment STA connects, like this in the case of the present embodiment STA and the associated AP of the present embodiment STA cannot direct communications, can re-establish as early as possible communication connection by these trunkings and the associated AP of this STA.
The structural representation of the another kind of STA that Fig. 8 provides for the embodiment of the present invention.As shown in Figure 8, the STA of the present embodiment comprises: communication interface 81, memory 82 and processor 83.
Communication interface 81, for sending probe message at least one trunking, described probe message is for surveying the trunking that relay services can be provided for the STA of the present embodiment, and after sending probe message, receive the probe response message that the first trunking in described at least one trunking returns, described probe response message is that described the first trunking receives described probe message, and determines and can provide the STA that sends to the present embodiment after relay services for the STA of the present embodiment.
Memory 82, for depositing program.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Memory 82 may comprise high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Processor 83, the program of storing for execute store 82, for: the AP associated by the STA of described the first trunking and the present embodiment establishes a communications link.
Wherein, processor 83 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuits of the embodiment of the present invention.
In an optional execution mode, communication interface 81 is specifically used in default transmitting time, is no more than the described probe message of predetermined number thresholding to the random quantity forwarded of described at least one trunking.
Optionally, communication interface 81 further when sending described probe message to described at least one trunking in described transmitting time, determine whether that other websites send described probe message, send described probe message if determined other websites, reduce the number of times that sends described probe message in described transmitting time, according to the number of times after described minimizing, to the described probe message of the random transmission of described at least one trunking.
Wherein, described probe message carries the mark of STA and the STA place network of network mark of the present embodiment of the present embodiment.
Further, described probe message also carries current electric quantity information, the positional information of STA of the present embodiment and/or the abnormal instruction of the STA of the present embodiment of the STA of the present embodiment.
In an optional execution mode, communication interface 81 sends described probe message to described at least one trunking after being specifically used in and determining that the STA of the present embodiment and described AP cannot direct communications.
Optionally, if above-mentioned communication interface 81, memory 82 and the separate realization of processor 83, communication interface 81, memory 82 and processor 83 can interconnect and complete mutual communicating by letter by bus.Described bus can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc.Described bus can be divided into address bus, data/address bus, control bus etc.For ease of representing, in Fig. 8, only represent with a thick line, but do not represent only to have the bus of a bus or a type.
If above-mentioned communication interface 81, memory 82 and processor 83 are integrated on chip piece realize, communication interface 81, memory 82 and processor 83 can complete mutual communicating by letter by internal interface.
The STA that the present embodiment provides can be used for connecting shown in execution graph 1 flow process of method for building up embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The STA that the present embodiment provides, by sending probe message to trunking, to survey the trunking that relay services can be provided as the present embodiment STA, after receiving the probe response message of trunking transmission, determine the trunking that relay services can be provided for the present embodiment STA, then the associated AP of the trunking by the relay services that can provide for the present embodiment STA and the present embodiment STA connects, like this in the case of the present embodiment STA and the associated AP of the present embodiment STA cannot direct communications, can re-establish as early as possible communication connection by these trunkings and the associated AP of this STA.
The structural representation of a kind of trunking that Fig. 9 provides for the embodiment of the present invention.As shown in Figure 9, the trunking of the present embodiment comprises: receiver module 91 and sending module 92.
Receiver module 91, the probe message sending for receiving STA, described probe message is for surveying the trunking that relay services can be provided for described STA.
Sending module 92, be connected with receiver module 91, for providing after relay services for described STA determining described trunking, send probe response message to described STA, so that described STA establishes a communications link by returning to the associated AP of the described trunking of described probe response message and described STA.
In an optional execution mode, receiver module 91 specifically can be used for the working channel of described AP to monitor, the described probe message sending on described working channel to receive described STA.
Optionally, receiver module 91 is further specifically for monitor described working channel always, the described probe message sending on described working channel to receive described STA.Or receiver module 91 further specifically for periodically monitoring described working channel, the described probe message sending on described working channel to receive described STA within the public relay services phase of specifying.Or receiver module 91 is further specifically for monitoring described working channel near the listening period of specifying the ad-hoc relay period of service of equipment of continuing in the present embodiment in advance, the described probe message sending on described working channel to receive described STA.Or, receiver module 91 further specifically for periodically monitoring described working channel within the public relay services phase of specifying, and monitor described working channel, the described probe message sending to receive described STA in the listening period of specifying on described working channel near the ad-hoc relay period of service of equipment of continuing in the present embodiment in advance.
Optionally, the described public relay services phase can be positioned at beacon interval, the duration between two neighbor beacon frames that the trunking that this beacon interval is the present embodiment receives, and described beacon frame is that described AP sends.
Wherein, described probe message carries mark and the described STA place network of network mark of described STA.
Further, described probe message also carries the positional information of the current electric quantity information of described STA, described STA and/or the abnormal instruction of described STA.
In an optional execution mode, sending module 92 also, for according to described STA place network of network mark, sends described probe response message to described AP, can provide relay services for described STA so that described AP is known described trunking.
In an optional execution mode, receiver module 91 specifically can be used for receiving described STA in the described probe message of determining that described STA and described AP send after cannot direct communication.
Each functional module of the trunking that the present embodiment provides can be used for connecting shown in execution graph 2 flow process of method for building up embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The trunking that the present embodiment provides, the STA providing with above-described embodiment matches, receive the probe message that STA sends, return to probe response message to STA receiving after probe message, so that knowing the trunking of the present embodiment, STA can provide relay services for it, make the STA can be cannot be directly and the associated AP of STA while communicating, the associated AP of the trunking by the present embodiment and STA re-establishes communication connection.
The structural representation of the another kind of trunking that Figure 10 provides for the embodiment of the present invention.As shown in figure 10, the trunking of the present embodiment comprises: communication interface 1001, memory 1002 and processor 1003.
Communication interface 1001, the probe message sending for receiving STA, described probe message is for surveying the trunking that relay services can be provided for described STA; And the trunking that the probe message receiving according to communication interface 1001 at processor 1003 is determined the present embodiment can provide after relay services for described STA, send probe response message to described STA, so that described STA establishes a communications link by returning to the associated AP of the trunking of described probe response message and described STA.
Memory 1002, for depositing program.Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Memory 1002 may comprise high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Processor 1003, the program of depositing for execute store 1002, for: the probe message receiving according to communication interface 1001, whether the trunking of determining the present embodiment can provide relay services for STA, and after the trunking of determining the present embodiment can provide relay services for STA, control communication interface 1001 and return to probe response message to STA.
Wherein, processor 1003 can be a CPU, or specific ASIC, or is configured to implement one or more integrated circuits of the embodiment of the present invention.
In an optional execution mode, communication interface 1001 specifically can be used for the working channel of described AP to monitor, the described probe message sending on described working channel to receive described STA.
Optionally, communication interface 1001 is further specifically for monitor described working channel always, the described probe message sending on described working channel to receive described STA.Or communication interface 1001 further specifically for periodically monitoring described working channel, the described probe message sending on described working channel to receive described STA within the public relay services phase of specifying.Or communication interface 1001 is further specifically for monitoring described working channel near the listening period of specifying the ad-hoc relay period of service of equipment of continuing in the present embodiment in advance, the described probe message sending on described working channel to receive described STA.Or, communication interface 1001 further specifically for periodically monitoring described working channel within the public relay services phase of specifying, and monitor described working channel, the described probe message sending to receive described STA in the listening period of specifying on described working channel near the ad-hoc relay period of service of equipment of continuing in the present embodiment in advance.
Optionally, the described public relay services phase can be positioned at beacon interval, the duration between two neighbor beacon frames that the trunking that this beacon interval is the present embodiment receives, and described beacon frame is that described AP sends.
Wherein, described probe message carries mark and the described STA place network of network mark of described STA.
Further, described probe message also carries the positional information of the current electric quantity information of described STA, described STA and/or the abnormal instruction of described STA.
In an optional execution mode, communication interface 1001 also, for according to described STA place network of network mark, sends described probe response message to described AP, can provide relay services for described STA so that described AP is known described trunking.
In an optional execution mode, communication interface 1001 specifically can be used for receiving described STA in the described probe message of determining that described STA and described AP send after cannot direct communication.
The trunking that the present embodiment provides can be used for connecting shown in execution graph 2 flow process of method for building up embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The trunking that the present embodiment provides, the STA providing with above-described embodiment matches, receive the probe message that STA sends, return to probe response message to STA receiving after probe message, so that knowing the trunking of the present embodiment, STA can provide relay services for it, make the STA can be cannot be directly and the associated AP of STA while communicating, the associated AP of the trunking by the present embodiment and STA re-establishes communication connection.
The embodiment of the present invention provides a kind of connection to set up system, comprises the trunking that STA that above-described embodiment provides and above-described embodiment provide.Wherein, connect and set up system and comprise at least one trunking.
Further, the connection of the present embodiment is set up system and is also comprised: the AP that STA is associated.Wherein, STA and trunking and AP cooperatively interact, and after STA and AP cannot direct communications, STA can, referring to the description of above-mentioned each embodiment of the method, not repeat them here with the process that AP establishes a communications link again by trunking.
System is set up in the connection that the present embodiment provides, and can be used for carrying out the flow process of above-mentioned connection method for building up embodiment, can, in the case of STA and the associated AP of STA cannot direct communications, make STA re-establish as early as possible communication connection by trunking and AP equally.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (29)

1. connect a method for building up, it is characterized in that, comprising:
Website sends probe message at least one trunking, and described probe message is for surveying the trunking that relay services can be provided for described website;
Described website receives the probe response message that the first trunking in described at least one trunking returns, described probe response message is that described the first trunking receives described probe message, and determines and can send to described website after relay services for described website provides;
Described website establishes a communications link by described the first trunking and the associated access point of described website.
2. connection method for building up according to claim 1, is characterized in that, described website sends probe message at least one trunking and comprises:
Described website, in default transmitting time, is no more than the described probe message of predetermined number thresholding to the random quantity forwarded of described at least one trunking.
3. connection method for building up according to claim 2, is characterized in that, described website is in default transmitting time, and the described probe message that is no more than predetermined number thresholding to the random quantity forwarded of described at least one trunking comprises:
When described website sends described probe message to described at least one trunking in described transmitting time, determine whether that other websites send described probe message;
Send described probe message if define other websites, described website reduces the number of times that sends described probe message in described transmitting time;
Described website is according to the number of times after described minimizing, to the described probe message of the random transmission of described at least one trunking.
4. according to the connection method for building up described in claim 1-3 any one, it is characterized in that, described probe message carries mark and the described website place network of network mark of described website.
5. connection method for building up according to claim 4, is characterized in that, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
6. according to the connection method for building up described in claim 1-5 any one, it is characterized in that, described website sends probe message at least one trunking and comprises:
Described website, after definite described website and described access point cannot direct communications, sends described probe message to described at least one trunking.
7. connect a method for building up, it is characterized in that, comprising:
The probe message that trunking receiving station sends, described probe message is for surveying the trunking that relay services can be provided for described website;
Described trunking can provide after relay services for described website determining described trunking, send probe response message to described website, so that described website establishes a communications link by returning to the associated access point of the described trunking of described probe response message and described website.
8. connection method for building up according to claim 7, is characterized in that, the probe message that described trunking receiving station sends comprises:
Described trunking is monitored the working channel of described access point, the described probe message sending on described working channel to receive described website.
9. connection method for building up according to claim 8, is characterized in that, described trunking is monitored the working channel of described access point, comprises to receive the described probe message that described website sends on described working channel:
Described trunking is monitored described working channel always, the described probe message sending on described working channel to receive described website; Or
Described trunking is periodically monitored described working channel, the described probe message sending on described working channel to receive described website within the public relay services phase of specifying; Or
Described trunking is monitored described working channel near the listening period of specifying the ad-hoc relay period of service at described trunking in advance, the described probe message sending on described working channel to receive described website; Or
Described trunking is periodically monitored described working channel within the public relay services phase of specifying, and near the listening period of specifying the ad-hoc relay period of service at described trunking in advance, monitor described working channel, the described probe message sending to receive described website on described working channel.
10. connection method for building up according to claim 9, it is characterized in that, the described public relay services phase is positioned at beacon interval, and described beacon interval is the duration between two neighbor beacon frames receiving of described trunking, and described beacon frame is that described access point sends.
11. according to the connection method for building up described in claim 7-10 any one, it is characterized in that, described probe message carries mark and the described website place network of network mark of described website.
12. connection method for building up according to claim 11, is characterized in that, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
13. according to the connection method for building up described in claim 11 or 12, it is characterized in that, also comprises:
Described trunking, according to described website place network of network mark, sends described probe response message to described access point, can provide relay services for described website so that described access point is known described trunking.
14. according to the connection method for building up described in claim 7-13 any one, it is characterized in that, the probe message that described trunking receiving station sends comprises:
Described trunking receives described website in the described probe message of determining that described website and described access point send after cannot direct communication.
15. 1 kinds of websites, is characterized in that, comprising:
Sending module, for sending probe message at least one trunking, described probe message is for surveying the trunking that relay services can be provided for described website;
Receiver module, the probe response message of returning for receiving the first trunking of described at least one trunking, described probe response message is that described the first trunking receives described probe message, and determines and can send to described website after relay services for described website provides;
Connect and set up module, for establishing a communications link by described the first trunking and the associated access point of described website.
16. websites according to claim 15, is characterized in that, described sending module, specifically in default transmitting time, is no more than the described probe message of predetermined number thresholding to the random quantity forwarded of described at least one trunking.
17. websites according to claim 16, it is characterized in that, described sending module further when sending described probe message to described at least one trunking in described transmitting time, determine whether that other websites send described probe message, send described probe message if determined other websites, reduce the number of times that sends described probe message in described transmitting time, according to the number of times after described minimizing, to the described probe message of the random transmission of described at least one trunking.
18. according to the website described in claim 15-17 any one, it is characterized in that, described probe message carries mark and the described website place network of network mark of described website.
19. websites according to claim 18, is characterized in that, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
20. according to the website described in claim 15-19 any one, it is characterized in that, described sending module, specifically for after definite described website and described access point cannot direct communications, sends described probe message to described at least one trunking.
21. 1 kinds of trunkings, is characterized in that, comprising:
Receiver module, the probe message sending for receiving station, described probe message is for surveying the trunking that relay services can be provided for described website;
Sending module, for providing after relay services for described website determining described trunking, send probe response message to described website, so that described website establishes a communications link by returning to the associated access point of the described trunking of described probe response message and described website.
22. trunkings according to claim 21, is characterized in that, described receiver module is monitored specifically for the working channel to described access point, the described probe message sending on described working channel to receive described website.
23. trunkings according to claim 22, is characterized in that, described receiver module is further specifically for monitor described working channel always, the described probe message sending on described working channel to receive described website; Or
Described receiver module further specifically for periodically monitoring described working channel, the described probe message sending on described working channel to receive described website within the public relay services phase of specifying; Or
Described receiver module is further specifically for monitoring described working channel near the listening period specifying the ad-hoc relay period of service at described trunking in advance, the described probe message sending on described working channel to receive described website; Or
Described receiver module further specifically for periodically monitoring described working channel within the public relay services phase of specifying, and near the listening period of specifying the ad-hoc relay period of service at described trunking in advance, monitor described working channel, the described probe message sending to receive described website on described working channel.
24. trunkings according to claim 23, it is characterized in that, the described public relay services phase is positioned at beacon interval, and described beacon interval is the duration between two neighbor beacon frames receiving of described trunking, and described beacon frame is that described access point sends.
25. according to the trunking described in claim 21-24 any one, it is characterized in that, described probe message carries mark and the described website place network of network mark of described website.
26. trunkings according to claim 25, is characterized in that, described probe message also carries the positional information of the current electric quantity information of described website, described website and/or the abnormal instruction of described website.
27. according to the trunking described in claim 25 or 26, it is characterized in that, described sending module is also for identifying according to described website place network of network, send described probe response message to described access point, can provide relay services for described website so that described access point is known described trunking.
28. according to the trunking described in claim 21-27 any one, it is characterized in that, described receiver module is specifically for receiving described website in the described probe message of determining that described website and described access point send after cannot direct communication.
System is set up in 29. 1 kinds of connections, it is characterized in that, comprising: the website described in claim 15-20 any one, and trunking described in claim 21-28 any one.
CN201210574734.1A 2012-12-26 2012-12-26 Connect method for building up, equipment and system Active CN103906263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210574734.1A CN103906263B (en) 2012-12-26 2012-12-26 Connect method for building up, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210574734.1A CN103906263B (en) 2012-12-26 2012-12-26 Connect method for building up, equipment and system

Publications (2)

Publication Number Publication Date
CN103906263A true CN103906263A (en) 2014-07-02
CN103906263B CN103906263B (en) 2017-11-24

Family

ID=50997351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210574734.1A Active CN103906263B (en) 2012-12-26 2012-12-26 Connect method for building up, equipment and system

Country Status (1)

Country Link
CN (1) CN103906263B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005912A (en) * 2015-04-17 2017-08-01 华为技术有限公司 Trunking method, user equipment and base station
WO2017202355A1 (en) * 2016-05-26 2017-11-30 新华三技术有限公司 Implementation of wireless relaying
CN108696524A (en) * 2018-05-15 2018-10-23 四川斐讯信息技术有限公司 A kind of verification system and method, the router of router visitor
CN109525957A (en) * 2019-01-02 2019-03-26 成都华日通讯技术有限公司 A kind of relaying election method of achievable remote data wireless transmission
CN113179529A (en) * 2021-05-10 2021-07-27 北京小米移动软件有限公司 Information processing method and device, network equipment and storage medium
CN113644995A (en) * 2015-11-09 2021-11-12 华为技术有限公司 Signal strength measurement method and device
CN114245438A (en) * 2021-11-04 2022-03-25 浙江大华技术股份有限公司 Network connection method and device applied to relay equipment and storage medium
WO2023109390A1 (en) * 2021-12-17 2023-06-22 联洲集团有限公司 Data sending method and apparatus, storage medium, processor, and ap terminal
CN114245438B (en) * 2021-11-04 2024-04-30 浙江大华技术股份有限公司 Network connection method, device and storage medium applied to relay equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2912124Y (en) * 2003-11-07 2007-06-13 美商内数位科技公司 Radio transmitting/receiving unit
EP2016174A2 (en) * 2006-04-28 2009-01-21 The Trustees of the University of Pennsylvania Modified aav vectors having reduced capsid immunogenicity and use thereof
CN101997582A (en) * 2009-08-31 2011-03-30 华为技术有限公司 Cooperative communication method and apparatus based on super frame

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2912124Y (en) * 2003-11-07 2007-06-13 美商内数位科技公司 Radio transmitting/receiving unit
EP2016174A2 (en) * 2006-04-28 2009-01-21 The Trustees of the University of Pennsylvania Modified aav vectors having reduced capsid immunogenicity and use thereof
CN101997582A (en) * 2009-08-31 2011-03-30 华为技术有限公司 Cooperative communication method and apparatus based on super frame

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005912A (en) * 2015-04-17 2017-08-01 华为技术有限公司 Trunking method, user equipment and base station
CN107005912B (en) * 2015-04-17 2020-02-14 华为技术有限公司 Relay method, user equipment and base station
CN113644995A (en) * 2015-11-09 2021-11-12 华为技术有限公司 Signal strength measurement method and device
WO2017202355A1 (en) * 2016-05-26 2017-11-30 新华三技术有限公司 Implementation of wireless relaying
US10945307B2 (en) 2016-05-26 2021-03-09 New H3C Technologies Co., Ltd Implementation of wireless relaying
CN108696524A (en) * 2018-05-15 2018-10-23 四川斐讯信息技术有限公司 A kind of verification system and method, the router of router visitor
CN109525957A (en) * 2019-01-02 2019-03-26 成都华日通讯技术有限公司 A kind of relaying election method of achievable remote data wireless transmission
CN113179529A (en) * 2021-05-10 2021-07-27 北京小米移动软件有限公司 Information processing method and device, network equipment and storage medium
CN113179529B (en) * 2021-05-10 2023-02-28 北京小米移动软件有限公司 Information processing method and device, network equipment and storage medium
CN114245438A (en) * 2021-11-04 2022-03-25 浙江大华技术股份有限公司 Network connection method and device applied to relay equipment and storage medium
CN114245438B (en) * 2021-11-04 2024-04-30 浙江大华技术股份有限公司 Network connection method, device and storage medium applied to relay equipment
WO2023109390A1 (en) * 2021-12-17 2023-06-22 联洲集团有限公司 Data sending method and apparatus, storage medium, processor, and ap terminal

Also Published As

Publication number Publication date
CN103906263B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US9681467B2 (en) System and method for detecting and resolving conflicts
CN103906263A (en) Connection establishment method, device and system
Chen et al. Machine-to-machine communication in LTE-A
JP5389922B2 (en) Method and apparatus for switching between base channel and 60 GHz channel
US6791962B2 (en) Direct link protocol in wireless local area networks
CN104039016B (en) Transmission process, transmission method and the device of business datum
US9445226B2 (en) Method for improving location accuracy in multi-channel wireless networks
CN101253715A (en) Use of measurement pilot for radio measurement in a wireless network
WO2019028694A1 (en) Resource allocation method, first device and second device
CN103874227B (en) Connect method for building up, equipment and system
JP2009290804A (en) Wireless communication system, wireless communication apparatus and method for disconnection process thereof
CN104247551A (en) System and method for basic service set association
CN109716830B (en) Communication method, device and system in unlicensed spectrum
WO2013177972A1 (en) Data transmitting and forwarding method, device, and system
US20040136339A1 (en) Dynamic transmission protection in the presence of multiple modulation schemes
KR20120070488A (en) Method for controlling access point and apparatus for the same
JP2008538682A (en) Method and apparatus for generating loud packets to estimate path loss
WO2013069918A1 (en) Method and device for indicating plcp header transmission mode
US8433313B2 (en) Mobile communication method and mobile communication system
JPWO2007091738A1 (en) Communication terminal, communication method, and communication system
US11765706B2 (en) Cooperative inter-network channel selection
KR20100027335A (en) Apparatus and method for idle mode controling of mobile station in wireless communication system
CN106788910B (en) Method and device for changing transmission opportunity holder
CN101601324B (en) Wireless non-cellular network
EP3905736A1 (en) Device discovery method, apparatus, and 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171031

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

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: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.