CN103874227A - Method, device and system for setting up connection - Google Patents

Method, device and system for setting up connection Download PDF

Info

Publication number
CN103874227A
CN103874227A CN201210527613.1A CN201210527613A CN103874227A CN 103874227 A CN103874227 A CN 103874227A CN 201210527613 A CN201210527613 A CN 201210527613A CN 103874227 A CN103874227 A CN 103874227A
Authority
CN
China
Prior art keywords
trunking
message
relaying
website
probe
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
CN201210527613.1A
Other languages
Chinese (zh)
Other versions
CN103874227B (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 CN201210527613.1A priority Critical patent/CN103874227B/en
Publication of CN103874227A publication Critical patent/CN103874227A/en
Application granted granted Critical
Publication of CN103874227B publication Critical patent/CN103874227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the invention provide a method, a device and a system for setting up a connection. The method comprises: an access point sends a relay detection request message to at least one relay device, wherein the relay detection request message is used for instructing the relay device to send a detection message to a station; the access point receives a relay detection success message returned by a first relay device of the at least one relay device, wherein the relay detection success message is sent after the first relay device receives a detection response message returned by the station in response to the detection message sent by the first relay device; and a communication connection between the access point and the station is set up by means of the first relay device. According to the technical scheme, the communication connection between the access point and the station can be set up as soon as possible when the access point cannot communicate with the station directly.

Description

Connect method for building up, equipment and system
Technical field
The present invention relates to the communication technology, relate 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 ElectronicEngineers, referred to as IEEE) normal structure is being formulated 802.11ah standard.In 802.11ah standard, 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, in order to cannot again establish a communications link with this STA as early as possible after direct communication at AP and STA.
First aspect provides a kind of method for building up that connects, and comprising:
Access point sends relaying probe request message at least one trunking, and described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Described access point receives the relaying that the first trunking in described at least one trunking returns and surveys success message, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message;
Described access point establishes a communications link by described the first trunking and described website.
In the possible implementation of the first of first aspect, described access point sends relaying probe request message at least one trunking and comprises:
Described access point, after definite described access point and described website cannot direct communications, sends described relaying probe request message to described at least one trunking.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second of first aspect, described method also comprises:
Described access point receives the relaying that in described at least one trunking, other trunkings except described the first trunking send and surveys failed message.
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 access point is established a communications link and is comprised by described the first trunking and described website:
If described the first trunking is multiple, described access point is selected one as target trunking from multiple described the first trunkings, send relaying Indication message to described target trunking, to indicate described target trunking as described access point and described website provide relay services, then establish a communications link by described target trunking and described website.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described access point selects one to comprise as target trunking from multiple described the first trunkings:
Multiple relayings that described access point sends from multiple described the first trunkings are surveyed success message, obtain the first relaying detection success message that comprises relay request mark; Described relay request mark is that the first trunking that sends described the first relaying detection success message is encapsulated in described the first relaying detection success message in the time meeting default first condition;
Described access point is surveyed the first trunking that success message is corresponding and is selected one as described target trunking from described the first relaying.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website 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 access point is better than default link-quality.
In conjunction with the third possible implementation of first aspect, in the 6th kind of possible implementation of first aspect, described access point selects one to comprise as target trunking from multiple described the first trunkings:
Multiple relayings that described access point sends from multiple described the first trunkings are surveyed success message, obtain the second relaying detection success message that comprises relaying indication; Described relaying indication is to send the first trunking of described the second relaying detection success message from described probe response message, to obtain and be encapsulated in described the second relaying detection success message, and described relaying indication selects the first trunking of described the second relaying detection success message of transmission as target trunking for identifying described website;
Described access point determines that it is described target trunking that described the second relaying is surveyed the first trunking corresponding to success message.
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 first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation of first aspect, described relaying probe request message comprises the identification information of described website and sends indication, described transmission indication is used to indicate described trunking and sends described probe message to described website.
In conjunction with the 7th kind of possible implementation of first aspect, in the 8th kind of possible implementation of first aspect, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
In conjunction with the 7th kind of possible implementation of the 6th kind of possible implementation of 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 first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or the 8th kind of possible implementation of first aspect, in the 9th kind of possible implementation of first aspect, described probe message comprises the identification information of described website and surveys indication, described detection indication is used to indicate to be surveyed described website.
In conjunction with the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th kind of possible implementation of 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 first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or the 9th kind of possible implementation of first aspect, in the tenth kind of possible implementation of first aspect, described probe response message is drawn together the identification information of described website and is sent the identification information of the described trunking of probe message corresponding to described probe response message.
In conjunction with the tenth kind of possible implementation of first aspect, in the 11 kind of possible implementation of first aspect, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
In conjunction with the tenth kind of possible implementation of the 9th kind of possible implementation of the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th kind of possible implementation of 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 first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or the 11 kind of possible implementation of first aspect, in the 12 kind of possible implementation of first aspect, described access point sends relaying probe request message at least one trunking and comprises:
Described access point sends described relaying probe request message with broadcast mode to described at least one trunking; Or
Described access point sends described relaying probe request message with multicast mode to described at least one trunking; Or
Described access point sends described relaying probe request message with mode of unicast to described at least one trunking.
In conjunction with the 11 kind of possible implementation of the tenth kind of possible implementation of the 9th kind of possible implementation of the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th kind of possible implementation of the 5th kind of possible implementation of the 4th kind of possible implementation of the third possible implementation of first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or first aspect or the 12 kind of possible implementation of first aspect, in the 13 kind of possible implementation of first aspect, described access point comprises after establishing a communications link by described target trunking and described website:
Described access point receives the second encrypting messages that described target trunking sends, described the second encrypting messages is that described target trunking uses the second key between described access point and described target trunking to be encrypted acquisition to the first encrypting messages, and described the first encrypting messages is that described website uses the first key between described website and described access point to be encrypted acquisition to cipher key acquisition request;
Described access point is that described website and described target trunking distribute the 3rd key according to described cipher key acquisition request, and use described the second key to be encrypted described the 3rd key, obtain the 3rd encrypting messages, use described the first key to be encrypted and to obtain the 4th encrypting messages described the 3rd key;
Described the 3rd encrypting messages is sent to described target trunking by described access point, and described the 4th encrypting messages is sent to described target trunking, so that described the 4th encrypting messages is transmitted to described website by described target trunking, so that described target trunking and described website use described the 3rd key to communicate.
Second aspect provides a kind of method for building up that connects, and comprising:
Trunking receives the relaying probe request message that access point sends, and wherein, described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Described trunking, according to the indication of described relaying probe request message, sends described probe message to described website;
If described trunking receives the probe response message that described website returns, described trunking sends relaying to described access point and surveys success message, so that described access point surveys from returning to described relaying the described trunking of success message as described access point and described website provide the select target trunking of relay services, and establish a communications link by described target trunking and described website.
In the possible implementation of the first of second aspect, the relaying probe request message that described trunking receives access point transmission comprises:
Described trunking receives described access point in the described relaying probe request message of determining that described access point and described website send after cannot direct communication.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second of second aspect, described method also comprises:
If described trunking does not receive described probe response message, described trunking sends relaying to described access point and surveys failed message.
In conjunction with the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect, in the third possible implementation of second aspect, described trunking sends relaying detection success message to described access point and comprises:
Described trunking judges whether to meet default first condition;
If judged result is yes, described trunking is encapsulated in described relaying by relay request mark and surveys in success message, the described relaying that is packaged with described relay request mark is surveyed to success message and send to described access point, described relay request mark is used for identifying described trunking request as described target trunking, selects described target trunking for described access point from request the trunking as described target trunking.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website that described trunking is served as target trunking is less than default number thresholding;
Link-quality between described trunking and described access point is better than default link-quality.
In conjunction with the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect, in the 5th kind of possible implementation of second aspect, described probe response message is drawn together relaying indication, selects described trunking as described target trunking for identifying described website;
Described trunking sends relaying detection success message to described access point and comprises:
Described trunking is encapsulated in described relaying by described relaying indication and surveys in success message, the described relaying that is packaged with described relaying indication is surveyed to success message and send to described access point.
In conjunction with 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 the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect, described method also comprises:
Described trunking receives the first encrypting messages that described website sends, and described the first encrypting messages is that described website uses the first key between described website and described access point to be encrypted acquisition to cipher key acquisition request;
Described trunking uses the second key between described trunking and described access point, and described the first encrypting messages is encrypted, and obtains the second encrypting messages;
Described the second encrypting messages is sent to described access point by described trunking, so that described access point is that described website and described target trunking distribute the 3rd key according to described cipher key acquisition request;
Described trunking receives the 3rd encrypting messages and the 4th encrypting messages that described access point sends, and described the 4th encrypting messages is transmitted to described website, to use described the 3rd key to communicate with described website, described the 3rd encrypting messages is that described access point uses described the second key to obtain described the 3rd secret key encryption, and described the 4th encrypting messages is that described access point uses described the first key to be encrypted acquisition to described the 3rd key.
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, described relaying probe request message comprises the identification information of described website and sends indication, described transmission indication is used to indicate described trunking and sends described probe message to described website.
In conjunction with the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation of second aspect, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
In conjunction with the 7th kind of possible implementation of 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 second aspect of second aspect or the 8th kind of possible implementation of second aspect, in the 9th kind of possible implementation of second aspect, described probe response message is drawn together the identification information of described website and the identification information of described trunking.
In conjunction with the 9th kind of possible implementation of second aspect, in the tenth kind of possible implementation of second aspect, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
The third aspect provides a kind of method for building up that connects, and comprising:
Website receives the probe message that trunking sends, and described probe message is that described trunking sends according to the indication of the relaying probe request message of the access point transmission of described website association;
Described website sends probe response message to described trunking, so that returning to relaying to described access point, described trunking surveys success message, so that described access point surveys from returning to described relaying and be chosen as described access point the trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
In the possible implementation of the first of the third aspect, the probe message that described website receives trunking transmission comprises:
Described website receives the described probe message that trunking sends described at least one;
Described website sends probe response message to described trunking, comprises so that described trunking returns to relaying detection success message to described access point:
Described website to described described at least one in trunking each trunking send described probe response message survey success message so that described each trunking returns to described relaying to described access point; Or
Described website sends described probe response message to the described trunking that meets default second condition described at least one in trunking, returns to described relaying and surveys success message so that meet the trunking of described default second condition to described access point.
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 second condition comprises 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;
Link-quality between described website and described trunking is better than default link-quality.
In conjunction with the possible implementation of the second of the possible implementation of the first of the third aspect or the third aspect, in the third possible implementation of the third aspect, described website is from meeting the trunking of described default second condition, select one as described target trunking, and in the probe response message that sends to described target trunking, encapsulate relaying indication, for identifying the described target trunking of described website selection;
The described probe response message that is packaged with described relaying indication is sent to described target trunking by described website, so that described target trunking returns to the described relaying detection success message that carries described relaying indication to described access point.
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, in the 4th kind of possible implementation of the third aspect, described method also comprises:
Described website uses the first key between described website and described access point to be encrypted cipher key acquisition request, obtains the first encrypting messages;
Described the first encrypting messages is sent to described target trunking by described website, so that described target trunking sends to described access point after using the second key between described target trunking and described access point to be encrypted described the first encrypting messages, so that described access point is that described website and described target trunking distribute the 3rd key according to described cipher key acquisition request;
Described website receives the 4th encrypting messages that described target trunking sends, described the 4th encrypting messages is that described access point uses described the first key to be encrypted acquisition to described the 3rd key, so that described website and described target trunking use described the 3rd key to communicate.
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 relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
In conjunction with the 5th kind of possible implementation of the third aspect, in the 6th kind of possible implementation of the third aspect, described relaying probe request message also comprises transmitting time indication, number indication and sends interval indication; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
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 the third aspect or the third aspect or the third aspect or the third aspect or the third aspect or the third aspect or the 6th kind of possible implementation of the third aspect, in the 7th kind of possible implementation of the third aspect, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
In conjunction with the 6th kind of possible implementation of 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 the third aspect or the third aspect or the third aspect or the third aspect or the third aspect or the third aspect or the third aspect or the 7th kind of possible implementation of the third aspect, in the 8th kind of possible implementation of the third aspect, described probe response message is drawn together the identification information of described website and is sent the identification information of the trunking of probe message corresponding to described probe response message.
In conjunction with the 8th kind of possible implementation of the third aspect, in the 9th kind of possible implementation of the third aspect, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
Fourth aspect provides a kind of access point, comprising:
Sending module, for sending relaying probe request message at least one trunking, described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Receiver module, survey success message for receiving the relaying that the first trunking of described at least one trunking returns, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message;
Connect and set up module, for establishing a communications link by described the first trunking and described website.
In the possible implementation of the first of fourth aspect, described sending module, specifically for after definite described access point and described website cannot direct communications, sends described relaying probe request message to described at least one trunking.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect, in the possible implementation of the second of fourth aspect, the relaying detection failed message that described receiver module also sends for receiving described at least one trunking other trunkings except described the first trunking.
In conjunction with the possible implementation of the second of the possible implementation of the first of fourth aspect or fourth aspect or fourth aspect, in the third possible implementation of fourth aspect, described connection is set up module and is comprised:
Selected cell when being multiple at described the first trunking, is selected one as target trunking from described multiple the first trunkings;
Transmitting element, for sending relaying Indication message to described target trunking, to indicate described target trunking to provide relay services as described access point and described website;
Set up unit, for establishing a communications link by described target trunking and described website.
In conjunction with the third possible implementation of fourth aspect, in the 4th kind of possible implementation of fourth aspect, described selected cell is when being multiple at described the first trunking, the multiple relayings that send from multiple described the first trunkings are surveyed success message, obtain the first relaying detection success message that comprises relay request mark, survey the first trunking that success message is corresponding and select one as described target trunking from described the first relaying; Described relay request mark is that the first trunking that sends described the first relaying detection success message is encapsulated in described the first relaying detection success message in the time meeting default first condition.
In conjunction with the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation of fourth aspect, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website 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 access point is better than default link-quality.
In conjunction with the third possible implementation of fourth aspect, in the 6th kind of possible implementation of fourth aspect, described selected cell is when being multiple at described the first trunking, the multiple relayings that send from multiple described the first trunkings are surveyed success message, obtain the second relaying detection success message that comprises relaying indication, determine that it is described target trunking that described the second relaying is surveyed the first trunking corresponding to success message; Described relaying indication is to send the first trunking of described the second relaying detection success message from described probe response message, to obtain and be encapsulated in described the second relaying detection success message, and described relaying indication selects the first trunking of described the second relaying detection success message of transmission as target trunking for identifying described website.
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 relaying probe request message comprises the identification information of described website and sends indication, described transmission indication is used to indicate described trunking and sends described probe message to described website.
In conjunction with the 7th kind of possible implementation of fourth aspect, in the 8th kind of possible implementation of fourth aspect, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
In conjunction with the 7th kind of possible implementation of the 6th kind of possible implementation of 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 fourth aspect or fourth aspect or the 8th kind of possible implementation of fourth aspect, in the 9th kind of possible implementation of fourth aspect, described probe message comprises the identification information of described website and surveys indication, described detection indication is used to indicate to be surveyed described website.
In conjunction with the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th kind of possible implementation of 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 fourth aspect or fourth aspect or fourth aspect or the 9th kind of possible implementation of fourth aspect, in the tenth kind of possible implementation of fourth aspect, described probe response message is drawn together the identification information of described website and is sent the identification information of the described trunking of probe message corresponding to described probe response message.
In conjunction with the tenth kind of possible implementation of fourth aspect, in the 11 kind of possible implementation of fourth aspect, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
In conjunction with the tenth kind of possible implementation of the 9th kind of possible implementation of the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th kind of possible implementation of 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 fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or the 11 kind of possible implementation of fourth aspect, in the 12 kind of possible implementation of fourth aspect, described sending module is specifically for sending described relaying probe request message with broadcast mode to described at least one trunking, or
Described sending module is specifically for sending described relaying probe request message with multicast mode to described at least one trunking; Or
Described sending module is specifically for sending described relaying probe request message with mode of unicast to described at least one trunking.
In conjunction with the 11 kind of possible implementation of the tenth kind of possible implementation of the 9th kind of possible implementation of the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th kind of possible implementation of the 5th kind of possible implementation of the 4th kind of possible implementation of the third possible implementation of fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or fourth aspect or the 12 kind of possible implementation of fourth aspect, in the 13 kind of possible implementation of fourth aspect, the second encrypting messages that described receiver module also sends for receiving described target trunking, described the second encrypting messages is that described target trunking uses the second key between described access point and described target trunking to be encrypted acquisition to the first encrypting messages, described the first encrypting messages is that described website uses the first key between described website and described access point to be encrypted acquisition to cipher key acquisition request,
Described access point also comprises:
Obtain module, for according to described cipher key acquisition request being described website and described target trunking distribution the 3rd key, and use described the second key to be encrypted described the 3rd key, obtain the 3rd encrypting messages, use described the first key to be encrypted and to obtain the 4th encrypting messages described the 3rd key;
Described sending module is also for sending to described target trunking by described the 3rd encrypting messages, and described the 4th encrypting messages is sent to described target trunking, so that described target trunking is transmitted to described website, so that described target trunking and described website use described the 3rd key to communicate.
The 5th aspect provides a kind of trunking to comprise:
Receiver module, the relaying probe request message sending for receiving access point, wherein, described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Sending module, be used for according to the indication of described relaying probe request message, send described probe message to described website, and receive after the probe response message that described website returns at described receiver module, send relaying to described access point and survey success message, so that described access point surveys from returning to described relaying and be chosen as described access point the described trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
In the possible implementation of the first aspect the 5th, described receiver module is specifically for receiving described access point in the described relaying probe request message of determining that described access point and described website send after cannot direct communication, and send after described probe message at described sending module, receive the probe response message that described website returns according to described probe message.
In conjunction with the possible implementation of the first of the 5th aspect or the 5th aspect, in the possible implementation of the second aspect the 5th, described sending module, also in the time that described receiver module does not receive described probe response message, sends relaying to described access point and surveys failed message.
In conjunction with the possible implementation of the second of the possible implementation of the first of the 5th aspect or the 5th aspect or the 5th aspect, in the third possible implementation aspect the 5th, described sending module is specifically for according to the indication of described relaying probe request message, send described probe message to described website, and receive after the probe response message that described website returns at described receiver module, judge whether to meet default first condition, if judged result is yes, relay request mark is encapsulated in to described relaying to be surveyed in success message, the described relaying that is packaged with described relay request mark is surveyed to success message and send to described access point, described relay request mark is used for identifying described trunking request as described target trunking, trunking as described target trunking, select described target trunking from request for described access point.
In conjunction with the third possible implementation of the 5th aspect, in the 4th kind of possible implementation aspect the 5th, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website that described trunking is served as target trunking is less than default number thresholding;
Link-quality between described trunking and described access point is better than default link-quality.
In conjunction with the possible implementation of the second of the possible implementation of the first of the 5th aspect or the 5th aspect or the 5th aspect, in the 5th kind of possible implementation aspect the 5th, described probe response message is drawn together relaying indication, selects described trunking as described target trunking for identifying described website;
Described sending module is specifically for according to the indication of described relaying probe request message, send described probe message to described website, and receive after the probe response message that described website returns at described receiver module, described relaying indication is encapsulated in to described relaying to be surveyed in success message, the described relaying that is packaged with the indication of described relaying is surveyed to success message and send to described access point, survey from returning to described relaying for described access point the trunking of success message and select described target trunking.
In conjunction with 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 the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th kind of possible implementation of the 5th aspect, in the 6th kind of possible implementation aspect the 5th, the first encrypting messages that described receiver module also sends for receiving described website, and receive the 3rd encrypting messages and the 4th encrypting messages that described access point sends, described the first encrypting messages is that described website uses the first key between described website and described access point to be encrypted acquisition to cipher key acquisition request, described the 3rd encrypting messages is that described access point uses the second key between described access point and described trunking to obtain the 3rd secret key encryption, and described the 4th encrypting messages is that described access point uses described the first key to be encrypted acquisition to described the 3rd key,
Described trunking also comprises:
Obtain module, for using described the second key, described the first encrypting messages is encrypted, obtain the second encrypting messages;
Described sending module is also for sending to described access point by described the second encrypting messages, so that described access point is that described website and described target trunking distribute described the 3rd key according to described cipher key acquisition request, and receive after described the 4th encrypting messages at described receiver module, described the 4th encrypting messages is transmitted to described website, so that described trunking and described website use described the 3rd key to communicate.
In conjunction with the 6th 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 the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th kind of possible implementation the 5th aspect of the 5th aspect, in the 7th kind of possible implementation aspect the 5th, described relaying probe request message comprises the identification information of described website and sends indication, described transmission indication is used to indicate described trunking and sends described probe message to described website.
In conjunction with the 7th kind of possible implementation of the 5th aspect, in the 8th kind of possible implementation aspect the 5th, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
In conjunction with the 7th kind of possible implementation of the 6th 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 the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th kind of possible implementation the 5th aspect of the 5th aspect or the 5th aspect or the 8th kind of possible implementation of the 5th aspect, in the 9th kind of possible implementation aspect the 5th, described probe message comprises the identification information of described website and surveys indication, described detection indication is used to indicate to be surveyed described website.
In conjunction with the 8th kind of possible implementation of the 7th kind of possible implementation of the 6th 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 the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th aspect or the 5th kind of possible implementation the 5th aspect of the 5th aspect or the 5th aspect or the 5th aspect or the 9th kind of possible implementation of the 5th aspect, in the tenth kind of possible implementation aspect the 5th, described probe response message is drawn together the identification information of described website and the identification information of described trunking.
In conjunction with the tenth kind of possible implementation of the 5th aspect, in the 11 kind of possible implementation aspect the 5th, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
The 6th aspect provides a kind of website, comprising:
Receiver module, the probe message sending for receiving trunking, described probe message is that described trunking sends according to the indication of the relaying probe request message of the access point transmission of described website association;
Sending module, for sending probe response message to described trunking, so that returning to relaying to described access point, described trunking surveys success message, so that described access point surveys from returning to described relaying and be chosen as described access point the trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
In the possible implementation of the first aspect the 6th, described receiver module is specifically for receiving the described probe message that trunking sends described at least one;
Described sending module specifically for to described described at least one in trunking each trunking send described probe response message, so that returning to described relaying to described access point, described each trunking surveys success message, select described target trunking so that described access point is surveyed from returning to described relaying the trunking of success message, and establish a communications link by described target trunking and described website; Or
Described sending module is specifically for sending described probe response message to the described trunking that meets default second condition described at least one in trunking, return to described relaying detection success message so that meet the trunking of described default second condition to described access point, select described target trunking so that described access point is surveyed from returning to described relaying the trunking of success message, and establish a communications link by described target trunking and described website.
In conjunction with the possible implementation of the first of the 6th aspect, in the possible implementation of the second aspect the 6th, described second condition comprises 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;
Link-quality between described website and described trunking is better than default link-quality.
In conjunction with the possible implementation of the second of the possible implementation of the first of the 6th aspect or the 6th aspect, in the third possible implementation aspect the 6th, described sending module is specifically for from the trunking that meets default second condition, select one as described target trunking, and in the probe response message that sends to described target trunking, encapsulate relaying indication, the described target trunking of selecting for identifying described website, then the described probe response message that is packaged with described relaying indication is sent to described target trunking, so that described target trunking returns to the described relaying detection success message that carries described relaying indication to described access point, so that surveying from returning to described relaying the trunking of success message, described access point selects described target trunking, and establish a communications link by described target trunking and 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 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect, in the 4th kind of possible implementation aspect the 6th, described website also comprises:
Obtain module, for using the first key between described website and described access point to be encrypted cipher key acquisition request, obtain the first encrypting messages;
Described sending module is also for sending to described target trunking by described the first encrypting messages, so that described target trunking sends to described access point after using the second key between described target trunking and described access point to be encrypted described the first encrypting messages, so that described access point is that described website and described target trunking distribute the 3rd key according to described cipher key acquisition request;
The 4th encrypting messages that described receiver module also sends for receiving described target trunking, described the 4th encrypting messages is that described access point uses described the first key to be encrypted acquisition to described the 3rd key, uses described the 3rd key to communicate with described website and described target trunking.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 4th kind of possible implementation of the 6th aspect, in the 5th kind of possible implementation aspect the 6th, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
In conjunction with the 5th kind of possible implementation of the 6th aspect, in the 6th kind of possible implementation aspect the 6th, described relaying probe request message also comprises transmitting time indication, number indication and sends interval indication; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
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 the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 6th kind of possible implementation of the 6th aspect, in the 7th kind of possible implementation aspect the 6th, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
In conjunction with the 6th kind of possible implementation of 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 the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 6th aspect or the 7th kind of possible implementation of the 6th aspect, in the 8th kind of possible implementation aspect the 6th, described probe response message is drawn together the identification information of described website and the identification information of described trunking.
In conjunction with the 8th kind of possible implementation of the 6th aspect, in the 9th kind of possible implementation aspect the 6th, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
The 7th aspect provides a kind of connection to set up system, comprising: access point, website and at least one trunking;
Described access point, for sending relaying probe request message to described at least one trunking, described relaying probe request message is used to indicate described trunking and sends probe message to described website, receive the relaying that the first trunking in described at least one trunking returns and survey success message, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message; And establish a communications link by described the first trunking and described website;
Described at least one trunking, the described relaying probe request message sending for receiving described access point, according to the indication of described relaying probe request message, send described probe message to described website, and in the time receiving the described probe response message that described website returns, send described relaying to described access point and survey success message;
Described website, the described probe message sending for receiving described trunking, sends described probe response message to described trunking.
The connection method for building up that the embodiment of the present invention provides, equipment and system, access point is by sending relaying probe request message to trunking, so that these trunkings send probe message and receive the probe response message that this website returns to the website of associated this access point, trunking returns to relaying to access point and surveys success message receiving after probe response message, access point just can obtain the target trunking that can communicate by letter with website from these trunkings like this, then establish a communications link by the target trunking and the website that obtain, like this in the situation that access point and this website cannot direct communications, access point can establish a communications link as early as possible by these trunkings and website.
Accompanying drawing explanation
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 skills, 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;
Fig. 3 A provide for the embodiment of the present invention another connect the flow chart of method for building up;
Fig. 3 B provide for the embodiment of the present invention another connect the flow chart of method for building up;
The structural representation of a kind of AP that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of AP that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of trunking that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the another kind of trunking that Fig. 7 provides for the embodiment of the present invention;
The structural representation of a kind of STA that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the another kind of STA that Fig. 9 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, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, 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, in the time that the STA of AP and associated this AP cannot direct communication, AP sends relaying probe request message at least one trunking, this detection relay request message is used to indicate trunking and sends probe message to this STA.
In the present embodiment, after STA associated AP, cannot mainly refer to that STA is after associated AP with the situation of AP direct communication, AP and STA do not hear mutually the other side within a period of time.The present embodiment does not hear mutually that take AP and STA 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, but 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.Wherein, AP knows in network, which equipment has relay capabilities in advance.For example, trunking can, when associated with AP, report it whether to have relay capabilities to AP, and based on reporting of trunking, AP can know in network, which equipment has relay capabilities.
Optionally, AP is after the STA that determines AP and associated this AP cannot direct communication, at least one trunking transmission relaying probe request message in network, to indicate these trunkings to this STA transmission probe message.
Optionally, a kind of execution mode that AP sends relaying probe request message at least one trunking comprises: AP sends relaying probe request message with broadcast mode at least one trunking.
Optionally, the another kind of execution mode that AP sends relaying probe request message at least one trunking comprises: AP sends relaying probe request message with multicast mode at least one trunking.
Optionally, another execution mode that AP sends relaying probe request message at least one trunking comprises: AP sends relaying probe request message with mode of unicast at least one trunking.
In this explanation, there is relay capabilities if which equipment AP only knows, but do not know the positional information of these trunkings, AP can adopt the mode of broadcast to send relaying probe request message to these trunkings.If which equipment AP not only know and have relay capabilities, and know the positional information of these trunkings, AP can send relaying probe request message to these trunkings in the mode of multicast or clean culture.For example, these link terminals, when associated with AP, not only reported and oneself have been had relay capabilities, have reported the positional information of oneself to AP simultaneously.
Optionally, a kind of mode that relaying probe request message indication trunking sends probe message to the STA of associated AP is: relaying probe request message comprises identification information and the transmission indication of the STA of associated AP.Wherein, the identification information of this STA is used for mark need to send probe message to for which STA, is used to indicate and send indication the STA transmission probe message that trunking identifies to the identification information of STA.Optionally, the mode that relaying probe request message is carried described transmission indication comprises: by certain field in relaying probe request message, carry described transmission indicate by this field; Or relaying probe request message itself just represents described transmission indication.
Further, relaying probe request message, except comprising the identification information of STA and sending indication, can also comprise transmitting time indication, number indication and send at least one in the indication of interval.
For example, the another kind of mode that relaying probe request message indication trunking sends probe message to the STA of associated AP is: relaying probe request message comprises identification information, transmission indication and the transmitting time indication of this STA; Wherein, which STA the identification information of STA need to send probe message to for mark, send indication and be used to indicate the STA that trunking identifies to the identification information of STA and send probe message, and transmitting time indication is used to indicate STA that trunking identifies to the identification information of STA and sends the time point of probe message.For example, the indication of this transmitting time can be AP be trunking arrange for send time period or at least one time point etc. of probe message to STA, trunking can send probe message to the STA of associated AP in this time period or these time points.
Again for example, another mode that relaying probe request message indication trunking sends probe message to the STA of associated AP is: relaying probe request message comprises: interval indication is indicated and sent to the identification information of STA, transmission indication, number; Wherein, which STA the identification information of STA need to send probe message to for mark, send indication and be used to indicate the STA transmission probe message that trunking identifies to the identification information of STA, number indication is used to indicate the STA that trunking identifies to the identification information of STA and sends the number of probe message, and sends interval indication and be used to indicate STA that trunking identifies to the identification information of STA and send the time interval of probe message.Based on this, trunking can indicate the STA that the indicated time interval periodically identifies to the identification information of STA to send probe message according to sending interval, indicates indicated number until total number of transmission probe message reaches described number.
Further, based on above-mentioned variety of way, AP can also carry transmitted power indication, code modulation mode indication and sending strategy indication etc. in relaying probe request message.Wherein, transmitted power indication is used to indicate the STA that trunking identifies to the identification information of STA and sends the power that probe message is used, and code modulation mode indication is used to indicate the STA that trunking identifies to the identification information of STA and sends the code modulation mode that probe message is used, sending strategy indication is used to indicate trunking and sends probe message at the STA identifying to the identification information of STA, but when the probe response message that the STA that the identification information that receives STA in failing at the appointed time identifies returns, for again sending to this STA the adjustment that probe message is made, may be for example to adjust transmitted power, code modulation mode etc.
For trunking, receiving after relaying probe request message, according to the indication of relaying probe request message, the STA identifying to the identification information of STA sends probe message, and waits for the probe response message that this STA returns for this probe message.If trunking, in the time of reception of specifying, receives the probe response message that STA returns, trunking returns to relaying to AP and surveys success message.Described probe message at least comprises identification information and the detection indication of this STA, and described detection indication is used to indicate to be surveyed this STA.Wherein, STA receives after probe message, specifically can return to probe response message according to the detection indication in this probe message.Described probe response message can comprise the identification information of STA and the identification information of trunking, and the trunking here refers to the trunking that sends the probe message corresponding with this probe response message.
Optionally, if trunking is in the time of reception of specifying, do not receive the probe response message that STA returns, trunking can return to relaying to AP and survey failed message.Or, if trunking is in the time of reception of specifying, not receiving the probe response message that STA returns, trunking can not send any message to AP.
In this explanation, because the quantity of trunking may be more, so the quantity of the probe message of channel may be more, in order to save channel resource, for example reduce the time of probe message busy channel, probe message can be less, and for example probe message can be without packet (Null Data Packet, referred to as NDP) Frame of type, but be not limited to this.
Probe message can be also the beacon frame (Beacon) of trunking broadcast, but is not limited to this.
Probe response message can be existing probe request in standard (Probe Request Frame), but is not limited to this.
Step 102, AP receive the relaying that the first trunking at least one trunking returns and survey success message, the transmission after receiving the probe response message that probe message that STA sends for the first trunking returns that is the first trunking that this relaying is surveyed success message.
AP is sending after relaying probe request message, can in the time of reception of specifying, receive the relaying detection success message that trunking returns.Because not all trunking can detect this STA, so AP may can only receive the relaying detection success message that part trunking returns.For ease of distinguishing, the trunking that returns to relaying detection success message to AP is called the first trunking by the present embodiment.
Based on this, AP, after at least one trunking sends relaying probe request message, receives the relaying detection success message that the first trunking at least one trunking sends.
Optionally, AP can also receive the relaying that at least one trunking, other trunkings except the first trunking send and survey failed message.
Optionally, the probe response message that STA returns can be relay request message, or ACK determines message etc.
In this explanation, it can be existing probing response frame in standard (ProbeResponse Frame) that relaying is surveyed success message, but is not limited to this.
Step 103, AP establish a communications link by the first trunking and STA.
AP surveys after success message at the relaying that receives the first trunking transmission, establishes a communications link by the first trunking and STA.
In the present embodiment, AP initiatively requires part or all of trunking to remove to survey the STA associated with AP, and whether return to relaying according to these trunkings and survey success message, therefrom determine the trunking that relay services can be provided for this STA, AP can provide the trunking of relay services and STA to communicate by these like this, in the time that the STA of AP and associated this AP cannot direct communication, AP can re-establish communication connection as early as possible by definite trunking and this STA, rather than simply abandon this STA, avoid causing the loss of significant data.
In an optional execution mode, the process that AP establishes a communications link by the first trunking and STA comprises: if the first trunking is multiple, AP selects one as target trunking from multiple the first trunkings, send relaying Indication message to target trunking, to indicate this target trunking as AP and STA provide relay services, then establish a communications link by target trunking and this STA.Wherein, target trunking refers to the trunking that relay services is provided for AP and STA.
If the first trunking only has one, AP 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 this STA.
In this embodiment, by AP 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 AP select target trunking from multiple the first trunkings comprises: the multiple relayings that AP sends according to multiple the first trunkings that receive are surveyed 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 success messages, therefrom selects 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 AP also can select one as target trunking at random from multiple the first trunkings.This execution mode is specifically by AP select target trunking.
The another kind of mode of AP select target trunking from multiple the first trunkings comprises: multiple relayings that AP sends from multiple the first trunkings that receive are surveyed success message, obtain the first relaying detection success message that comprises that relay request identifies, this relay request mark is that the first trunking that sends the first relaying detection success message is encapsulated in the first relaying detection success message in the time meeting default first condition; Then, AP surveys the first trunking that success message is corresponding and selects one as target trunking from the first relaying.Optionally, be one if the first relaying is surveyed success message, AP can directly determine that the first trunking that sends this first relaying detection success message is as target trunking; Be multiple if the first relaying is surveyed success message, AP can therefrom select first relaying to survey success message at random, using the first trunking that sends selected the first relaying detection success message as target trunking.Or, AP can survey according to multiple the first relayings signal strength signal intensity, signal power and/or the signal to noise ratio etc. of success message, therefrom select the first best relaying of signal quality to survey success message, using the first trunking that sends selected the first relaying detection success message as target trunking, etc.
Above-mentioned first condition can comprise following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response 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 AP 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 AP.
The process of above-mentioned execution mode is specially: the first trunking that receives the probe response message that STA returns for probe message, judge whether to meet default first condition, if judged result is yes, meet default first condition, the first trunking is surveyed in success message and is encapsulated relay request mark at relaying, for identifying this first trunking request as target trunking; AP receives the relaying of the first trunking transmission and surveys after success message, the relaying that comprises relay request mark from sending is surveyed select target trunking the first trunking of success message (i.e. the first relaying detection success message), then establishes a communications link by target trunking and this STA.This execution mode is also finally by AP select target trunking.
Optionally, if judged result is no, do not meet default first condition, the first trunking is directly surveyed success message by relaying and is sent to AP, and in this case, relaying is surveyed in success message and do not comprised that relay request identifies.
Another mode of AP select target trunking from multiple the first trunkings comprises: multiple relayings that AP sends from multiple the first trunkings are surveyed success message, obtains the second relaying detection success message that comprises relaying indication; Described relaying indication is to send the first trunking of the second relaying detection success message from probe response message, to obtain and be encapsulated in the second relaying detection success message, and described relaying indication selects the first trunking of transmission the second relaying detection success message as target trunking for identifying this STA; Then, AP determines that it is target trunking that the second relaying is surveyed the first trunking corresponding to success message.Wherein, the second relaying is surveyed the first trunking that the first trunking corresponding to success message is this second relaying detection success message of transmission.
The process of aforesaid way is specially: STA receives after the probe message of the first trunking transmission at least one trunking, according to the relevant information of probe message, received signal strength or the received power etc. of such as probe message, select a probe message, and determine that the first trunking that sends selected probe message is as target trunking, encapsulation (can be regarded as and carry) relaying indication in the probe response message of returning to this first trunking, selects this first trunking as target trunking to indicate; This first trunking receives after probe response message, the relaying indication in probe response message is encapsulated in to relaying and surveys in success message, then sends to AP; For other the first trunkings, STA can return to the probe response message of not carrying relaying indication, and other trunkings also can return to the relaying detection success message that does not carry relaying indication to AP.Based on this, AP surveys success message from the relaying receiving, and selection comprises the relaying detection success message (the second relaying is surveyed success message) of relaying indication, and using the first trunking that sends the second relaying detection success message as target trunking.In this embodiment, target trunking is specifically determined by STA.
In this explanation, in the mode of above-mentioned each definite target trunking, the probe response message that STA sends can also comprise some information relevant to STA, battery electric quantity, positional information etc. that such as STA is current.Optionally, the first trunking can be crossed information exchange relevant with STA in probe response message relaying detection success message and report AP.
In this explanation, the process of above-mentioned definite target trunking, is all to survey according to the indication of AP at trunking in the process of STA to carry out, but is not limited to this.For example, determine that the process of target trunking can be carried out after completing the detection of STA, survey the process of STA and the process of definite target trunking can be separate.For the independent process (assigning process referred to as target trunking) of determining target trunking, illustrate below:
Optionally, after completing the detection of STA, be after AP receives the relaying detection success message of each the first trunking transmission, STA can determine target trunking from the first trunking of transmission probe message, then send relaying notice message to the first trunking as target trunking, inform that this first trunking is as target trunking on the one hand, make on the other hand this first trunking send relaying notice message to AP, make AP know that this first trunking is target trunking; Based on this, the first trunking that is chosen as target trunking by STA sends relaying notice message to AP; AP receives after relaying notice message, determines that the first trunking that sends relaying notice message is as target trunking.
Optionally, after completing the detection of STA, be after AP receives the relaying detection success message of each the first trunking transmission, AP can determine target trunking from the first trunking of transmission relaying detection success message, then can send relaying notice message to each the first trunking, this relaying notice message can comprise the identification information as the first trunking of target trunking, which the first trunking notices target trunking is on the one hand, make on the other hand this target trunking send relaying notice message to STA, make STA know that this first trunking is target trunking, or, AP also can only send relaying notice message to this first trunking that is selected as target trunking, notice it and be used as target trunking, based on this, the first trunking that is chosen as target trunking by AP sends relaying notice message to STA, STA receives after relaying notice message, determines that the first trunking that sends relaying notice message is as target trunking.
From above-mentioned, in above-mentioned target trunking appointment process, STA and AP all can be used as arbitrator and determine which the first trunking is as target trunking.Except aforesaid way, can also there be other modes, do not repeat them here.
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:
The second encrypting messages that AP receiving target trunking sends, described the second encrypting messages is that described target trunking uses the second key between described AP and described target trunking to be encrypted acquisition to the first encrypting messages, and described the first encrypting messages is that STA uses the first key between STA and AP to be encrypted acquisition to cipher key acquisition request.
Then, AP is that STA and target trunking distribute the 3rd key according to cipher key acquisition request, and uses the second key to be encrypted the 3rd key, obtains the 3rd encrypting messages, uses 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 relaying probe request message that AP sends, and this relaying probe request message is used to indicate trunking and sends probe message to the STA of associated AP.
Optionally, trunking receives the relaying probe request message that AP sends and comprises: trunking receives AP in the relaying probe request message of determining that AP and this STA send after cannot direct communication.
Step 202, trunking, according to the indication of above-mentioned relaying probe request message, send probe message to STA.
Described probe message can comprise identification information and the detection indication of the STA of described associated AP, and described detection indication is used to indicate to be surveyed this STA.
Wherein, this trunking can, in the mode of clean culture or broadcast, send probe message to this STA.
If step 203 trunking receives the probe response message that STA returns, trunking sends relaying to AP and surveys success message, so that AP surveys and be chosen as AP the trunking of success message and this STA provides the target trunking of relay services from returning to relaying, and establish a communications link by this target trunking and this STA.
Described probe response message can comprise the identification information of above-mentioned STA and the identification information of trunking.Further, described probe response message can also comprise the current electric quantity information of STA and/or the positional information of STA, etc.
Optionally, if trunking does not receive the probe response message that STA returns, trunking can send relaying to AP and survey failed message.Or if trunking does not receive the probe response message that STA returns, trunking can not send any message to AP.
In an optional execution mode, the process that trunking sends relaying detection success message to AP comprises: trunking judges whether to meet default first condition; If judged result is yes, trunking is encapsulated in relaying by relay request mark and surveys in success message, the relaying that is packaged with this relay request mark is surveyed to success message and send to AP, described relay request mark is used for identifying this trunking request as target trunking, for AP from request as select target trunking the trunking of target trunking.In judged result, be no in the situation that, trunking sends to the relaying of AP to survey success message can not comprise relay request mark.
Described default first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the STA that trunking is served as target trunking is less than default number thresholding;
Link-quality between trunking and AP is better than default link-quality.
It is example that received power take first condition as probe response message is greater than default received power thresholding, trunking specifically judges whether the received power of probe response message is greater than default received power thresholding, if judged result is for being greater than, relay request mark is encapsulated in to relaying and surveys in success message, the relaying that is packaged with this relay request mark is surveyed to success message and send to AP; If judged result is no, can directly relaying be surveyed to success message and send to described AP.
In an optional execution mode, the probe response message that STA sends is drawn together relaying indication, selects this trunking as target trunking for identifying this STA.The process that trunking sends relaying detection success message to AP comprises: trunking is encapsulated in relaying by relaying indication and surveys in success message, the relaying that is packaged with relaying indication is surveyed to success message and send to AP, so that AP selects this trunking as target trunking.
In an optional execution mode, if described trunking is target trunking, described method also comprises:
Trunking as target trunking receives the first encrypting messages that STA sends, and described the first encrypting messages is that this STA uses the first key between this STA and AP to be encrypted acquisition to cipher key acquisition request;
Then, this trunking uses the second key between this trunking and AP, and the first encrypting messages is encrypted, and obtains the second encrypting messages;
Obtaining after the second encrypting messages, the second encrypting messages is sent to AP by trunking, so that AP is that described STA and target trunking distribute the 3rd key according to cipher key acquisition request wherein; Wherein, after AP distributes the 3rd key, can adopt the first key to be encrypted the 3rd key, obtain the 4th encrypting messages, adopt the second key to be encrypted the 3rd key, obtain the 3rd encrypting messages, and the 3rd encrypting messages and the 4th encrypting messages are sent to this trunking (being target trunking);
So, trunking receives the 3rd encrypting messages and the 4th encrypting messages that AP sends, and the 4th encrypting messages is transmitted to STA, to use the 3rd key to communicate with this STA, described the 3rd encrypting messages is that described AP uses described the second key to obtain described the 3rd secret key encryption, and described the 4th encrypting messages is that described AP uses described the first key to be encrypted acquisition to described the 3rd key.
Optionally, the relaying probe request message of AP transmission comprises the identification information of STA and sends indicates, and this transmission indication is used to indicate the STA transmission probe message that trunking identifies to the identification information of STA.
Further, described relaying probe request message can also comprise transmitting time indication, number indication and send at least one in the indication of interval.The indication of this transmitting time is used to indicate STA that trunking identifies to the identification information of STA and sends the time point of probe message; Number indication is used to indicate STA that trunking identifies to the identification information of STA and sends the number of probe message; Send the time interval that interval indication is used to indicate STA that trunking identifies to the identification information of STA and sends institute's probe message.
For example, the relaying probe request message that AP sends can comprise identification information, transmission indication and the transmitting time indication of STA.
Again for example, the relaying probe request message that AP sends can comprise: identification information, transmission indication, number indication and the indication of transmission interval of STA.
The connection method for building up that the present embodiment provides is the description of carrying out from the angle of trunking, and its detailed description can embodiment shown in Figure 1, does not repeat them here.
In the present embodiment, AP initiatively requires part or all of trunking to remove to survey this STA associated with AP, and whether return to relaying according to these trunkings and survey success message, therefrom determine the trunking that relay services can be provided for this STA, AP can communicate by the trunking and this STA that determine like this, like this in the time that AP and STA cannot direct communications, can again establish a communications link with this STA as early as possible by definite trunking, rather than simply abandon this STA, avoid causing the loss of significant data.
Fig. 3 A provide for the embodiment of the present invention another connect the flow chart of method for building up.As shown in Figure 3A, the method for the present embodiment comprises:
Step 301, STA receive the probe message that trunking sends, and described probe message is that trunking sends according to the indication of the relaying probe request message of the AP transmission of STA association.
Optionally, described relaying probe request message is that AP cannot send after direct communication at definite AP and this STA.
Described probe message can comprise identification information and the detection indication of STA, and described detection indication is used to indicate to be surveyed this STA.
Step 302, STA send probe response message to trunking, so that returning to relaying to AP, trunking surveys success message, so that AP surveys and be chosen as this AP the trunking of success message and this STA provides the target trunking of relay services from returning to relaying, and establish a communications link by target trunking and this STA.
Described probe response message can comprise the identification information of STA and the identification information of trunking.Further, described probe response message can also comprise the current electric quantity information of this STA and/or the positional information of this STA, etc.
In an optional execution mode, the probe message that STA receives trunking transmission comprises: STA receives the probe message that at least one trunking sends.
Receive based on STA the probe message that at least one trunking sends, STA sends probe response message to trunking, survey a kind of execution mode of success message and comprise so that trunking returns to relaying to AP: STA sends probe response message to each trunking in described at least one trunking, surveys success message so that each trunking returns to relaying to AP.In this embodiment, STA returns to probe response message for receiving each probe message.
Receive based on STA the probe message that at least one trunking sends, STA sends probe response message to trunking, so that the another kind of execution mode that trunking returns to relaying detection success message to AP comprises: STA meets the trunking transmission probe response message of default second condition in described at least one trunking, return to relaying detection success message so that meet the trunking of default second condition to AP.In this embodiment, STA returns to probe response message for each probe message, but selectively return to probe response message, can reduce like this number from the trunking of relaying detection success message to AP that return to, be conducive to reduce the message number of transmitting in network, be conducive to save Internet resources.
Concrete, STA can preset second condition, STA receives after probe message, judge whether the trunking that sends this probe message meets default second condition, if met, return to probe response message to this trunking, if judged result is for not meeting, do not return to probe response message to this trunking.
Described second 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;
Link-quality between STA and trunking is better than default link-quality.
Link-quality take second condition as STA and between trunking is better than default link-quality as example, STA is receiving after a probe message, judge whether the link-quality between STA and the trunking of this probe message of transmission is better than default link-quality, if judged result is yes, return to probe response message to this trunking, if judged result is no, do not return to probe response message to this trunking.
Further, STA sends probe response message to the trunking that meets default second condition at least one trunking, surveys success message and comprises so that the trunking that meets default second condition returns to relaying to AP:
STA, from meeting the trunking of default second condition, selects one as target trunking, and in the probe response message that sends to this target trunking, encapsulates relaying indication, the target trunking of selecting to identify STA; Then, the probe response message that is packaged with relaying indication is sent to target trunking by STA, so that target trunking returns to the relaying detection success message that carries relaying indication to AP.
Further, for other trunkings that meet default second condition, STA can return to the probe response message of not carrying relaying indication.
In an optional execution mode, described connection method for building up also comprises: STA uses the first key between STA and AP to be encrypted cipher key acquisition request, obtains the first encrypting messages; Described cipher key acquisition request is used for to the 3rd key using between this STA of AP acquisition request and target trunking;
Obtain after the first encrypting messages, the first encrypting messages is sent to target trunking by STA, so that the second key between target trunking use target trunking and AP sends to AP after the first encrypting messages is encrypted; Concrete, target trunking uses the second key to be encrypted the first encrypting messages, obtains the second encrypting messages, then the second encrypting messages is sent to AP.
Then, the 4th encrypting messages that has carried the 3rd key that STA receiving target trunking sends, to use the 3rd key to communicate with target trunking, described the 4th encrypting messages is that AP uses the first key to be encrypted acquisition to the 3rd key.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, then the 4th encrypting messages and the 3rd encrypting messages are sent to target trunking, by target trunking, the 4th encrypting messages is sent to STA, target trunking obtains the 3rd key from the 3rd encrypting messages, STA obtains the 3rd key from the 4th encrypting messages, then STA and target trunking use the 3rd cipher key pair communication process to be encrypted, to realize secure communication.
The connection method for building up that the present embodiment provides is the description of carrying out from the angle of STA, and its detailed description can embodiment shown in Figure 1, does not repeat them here.
In the present embodiment, AP initiatively requires part or all of trunking to remove to survey the STA associated with AP, and whether return to relaying according to these trunkings and survey success message, therefrom determine the trunking that relay services can be provided for this STA, AP can communicate by the trunking and this STA that determine like this, in the time that AP and this STA cannot direct communications, AP can re-establish communication connection as early as possible by the trunking and this STA that determine, rather than simply abandon this STA, avoid causing the loss of significant data.
Fig. 3 B provide for the embodiment of the present invention another connect the flow chart of method for building up.As shown in Figure 3 B, described method comprises:
Step 3a, AP broadcast relay probe request message, this relaying probe request message at least comprises that the trunking that the identification information and being used to indicate of STA receives relaying probe request message sends to STA the transmission indication that probe message is surveyed.
Step 3b, trunking receive after relaying probe request message, according to transmission indication wherein, send probe message to STA, and this probe message at least comprises the identification information of STA and indicates for identifying the detection that STA is surveyed.
Step 3c, STA receive after probe message, return to probe response message to trunking, and this probe response message at least comprises the identification information of STA and the identification information of trunking.Further, this probe response message can also comprise: current electric quantity information, the positional information etc. of STA.
The present embodiment returns to probe response message as example take a trunking wherein.
Step 3d, trunking receive after probe response message, send relaying survey success message to AP.
Step 3e, AP survey from returning to relaying the trunking of success message, select target trunking.
Step 3f, AP establish a communications link by target trunking and STA.
Further, AP also comprises after establishing a communications link by target trunking and STA:
Step 3g, STA send the first encrypting messages to target trunking, and the first encrypting messages is that STA uses first key of arranging before STA and AP to be encrypted acquisition to cipher key acquisition request.
Step 3h, target trunking use second key of arranging before with AP to be encrypted the first encrypting messages, obtain the second encrypting messages, and the second encrypting messages is sent to AP.
Step 3i, AP receive the second encrypting messages, from the second encrypting messages, obtain the first encrypting messages, from the first encrypting messages, obtain cipher key acquisition request again, distribute the 3rd key according to cipher key acquisition request, and with the first key and the second key, the 3rd key is encrypted respectively, obtain the 4th encrypting messages and the 3rd encrypting messages, the 3rd encrypting messages and the 4th encrypting messages have all carried the 3rd key.
The 3rd encrypting messages and the 4th encrypting messages are sent to target trunking by step 3j, AP.
Step 3k, target trunking obtain the 3rd key from the 3rd encrypting messages, and the 4th encrypting messages is sent to STA.
Step 3l, STA obtain the 3rd key from the 4th encrypting messages, then use the 3rd key and target trunking to carry out secure communication.
The structural representation of a kind of AP that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, the AP of the present embodiment comprises: module 43 is set up in sending module 41, receiver module 42 and connection.
Sending module 41, for sending relaying probe request message at least one trunking, described relaying probe request message is used to indicate trunking and sends probe message to the STA of associated the present embodiment AP.
Receiver module 42, the relaying returning for the first trunking that receives at least one trunking is surveyed success message, and it is transmission after the probe response message returned of probe message that the first trunking sends for the first trunking at the STA that receives associated the present embodiment AP that described relaying is surveyed success message.Receiver module 42 is connected with sending module 41.
Connect and set up module 43, be connected with receiver module 42, for establishing a communications link by the first trunking and described STA.
In an optional execution mode, sending module 41 sends described relaying probe request message at least one trunking after being specifically used in and determining that the present embodiment AP and described STA cannot direct communications.
In an optional execution mode, the relaying detection failed message that receiver module 42 also sends for receiving at least one trunking other trunkings except the first trunking.
In an optional execution mode, as shown in Figure 4, a kind of implementation structure that module 43 is set up in the connection of the present embodiment comprises: selected cell 431, transmitting element 432 and set up unit 433.
Selected cell 431, is connected with receiver module 42, when being multiple at the first trunking, from multiple the first trunkings, selects one as target trunking.Transmitting element 432, is connected with selected cell 431, sends relaying Indication message for the target trunking selected to selected cell 431, to indicate described target trunking to provide relay services as the present embodiment AP and this STA.Set up unit 433, be connected with selected cell 431, establish a communications link for the target trunking and the described STA that select by selected cell 431.
Optionally, selected cell 431 is specifically used in the first trunking while being multiple, the multiple relayings that send from multiple the first trunkings are surveyed success message, obtain the first relaying detection success message that comprises relay request mark, survey the first trunking that success message is corresponding and select one as target trunking from the first relaying; Described relay request mark is that the first trunking that sends the first relaying detection success message is encapsulated in the first relaying detection success message in the time meeting default first condition.
Described first condition can comprise following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website 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 access point is better than default link-quality.
Optionally, selected cell 431 is specifically used in the first trunking while being multiple, the multiple relayings that send from multiple the first trunkings are surveyed success message, obtain the second relaying detection success message that comprises relaying indication, determine that it is target trunking that the second relaying is surveyed the first trunking corresponding to success message; Described relaying indication is to send the first trunking of the second relaying detection success message from probe response message, to obtain and be encapsulated in the second relaying detection success message, and described relaying indication selects the first trunking of transmission the second relaying detection success message as target trunking for identifying described STA.
In an optional execution mode, sending module 41 specifically can be used for sending relaying probe request message with broadcast mode at least one trunking.Or
Sending module 41 specifically can be used for sending relaying probe request message with multicast mode at least one trunking.Or
Sending module 41 specifically can be used for sending relaying probe request message with mode of unicast at least one trunking.
The relaying probe request message that sending module 41 sends can comprise the identification information of STA and send indication, and described transmission indication is used to indicate the STA that trunking identifies to the identification information of STA and send probe message.
Further, described relaying probe request message can also comprise transmitting time indication, number indication and send at least one in the indication of interval.The indication of described transmitting time is used to indicate STA that trunking identifies to the identification information of STA and sends the time point of described probe message; The indication of described number is used to indicate STA that trunking identifies to the identification information of STA and sends the number of described probe message; Described transmission interval indication is used to indicate STA that trunking identifies to the identification information of STA and sends the time interval of described probe message.
Wherein, probe message can comprise identification information and the detection indication of STA, and described detection indication is used to indicate to be surveyed described STA.
Probe response message can comprise the identification information of STA and send the identification information of the trunking of probe message corresponding to this probe response message.
Further, described probe response message can also comprise the current electric quantity information of STA and/or the positional information of STA.
Further, as shown in Figure 4, the AP of the present embodiment also comprises: obtain module 44.
Based on this, the second encrypting messages that receiver module 42 also sends for receiving target trunking, described the second encrypting messages is that target trunking uses the second key between the present embodiment AP and target trunking to be encrypted acquisition to the first encrypting messages, and described the first encrypting messages is that STA uses the first key between STA and the present embodiment AP to be encrypted acquisition to cipher key acquisition request.
Obtain module 44, for according to described cipher key acquisition request being described STA and target trunking distribution the 3rd key, and use the second key to be encrypted the 3rd key, and obtain the 3rd encrypting messages, use the first key to be encrypted and to obtain the 4th encrypting messages the 3rd key.Obtaining module 44 is connected with receiver module 42 and sending module 43.
Sending module 41 is also for sending to target trunking by the 3rd encrypting messages, and the 4th encrypting messages is sent to target trunking, so that the 4th encrypting messages is transmitted to STA by target trunking, so that target trunking and this STA use the 3rd key to communicate.
Each functional module of the AP that the present embodiment provides or unit can be used for connecting the flow process in method for building up shown in execution graph 1, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The AP that the present embodiment provides, initiatively require in network part or all of trunking to remove to survey the STA of associated this AP, and whether return to relaying according to these trunkings and survey success message, therefrom determine the trunking that relay services can be provided for this STA, afterwards, AP can establish a communications link by the trunking and the STA that determine, like this in the time that AP and STA cannot direct communications, AP can establish a communications link with this STA as early as possible again by the trunking of determining, rather than simply abandon this STA, avoid causing the loss of significant data.
The structural representation of another AP that Fig. 5 provides for the embodiment of the present invention.As shown in Figure 5, the AP that the present embodiment provides comprises: communication interface 51, processor 52 and memory 53.
Communication interface 51, for sending relaying probe request message at least one trunking, described relaying probe request message is used to indicate trunking and sends probe message to the AP of associated the present embodiment; And receive the relaying that the first trunking at least one trunking returns and survey success message, the transmission after receiving the probe response message that probe message that STA sends for the first trunking returns that is the first trunking that described relaying is surveyed success message.
Memory 53, for depositing program.Concrete, program can comprise program code, described program code comprises computer-managed instruction.Memory 53 can comprise high-speed RAM memory, also can comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Processor 52, the program of depositing for execute store 53, for establishing a communications link by communicate by letter the first trunking and STA.
Processor 52 can be one or more central processing units (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, optional, processor 52 can be after definite the present embodiment AP and STA cannot direct communications, and control communication interface 51 is at least one trunking transmission relaying probe request message.
In an optional execution mode, the relaying detection failed message that communication interface 51 also sends for receiving at least one trunking other trunkings except the first trunking.
In an optional execution mode, processor 52 is when being multiple at the first trunking, from multiple the first trunkings, select one as target trunking, then control communication interface 51 and send relaying Indication message to selected target trunking, to indicate described target trunking to provide relay services as described access point and described website, and establish a communications link by selected target trunking and STA.
Optionally, processor 52 is specifically used in the first trunking while being multiple, survey success message from multiple relayings, obtain the first relaying detection success message that comprises relay request mark, survey the first trunking that success message is corresponding and select one as target trunking from the first relaying; Described relay request mark is that the first trunking that sends the first relaying detection success message is encapsulated in the first relaying detection success message in the time meeting default first condition.
Described first condition can comprise following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website that described the first trunking is served as target trunking is less than default number thresholding;
Link-quality between described the first trunking and the present embodiment AP is better than default link-quality.
Optionally, processor 52 is specifically used in the first trunking while being multiple, survey success message from multiple relayings, obtain the second relaying detection success message that comprises relaying indication, determine that it is target trunking that the second relaying is surveyed the first trunking corresponding to success message; Described relaying indication is to send the first trunking of the second relaying detection success message from probe response message, to obtain and be encapsulated in the second relaying detection success message, and described relaying indication selects the first trunking of transmission the second relaying detection success message as target trunking for identifying STA.
In an optional execution mode, communication interface 51 specifically can be used for sending relaying probe request message with broadcast mode at least one trunking.Or
Communication interface 51 specifically can be used for sending relaying probe request message with multicast mode at least one trunking.Or
Communication interface 51 specifically can be used for sending relaying probe request message with mode of unicast at least one trunking.
Optionally, the relaying probe request message that communication interface 51 sends comprises the identification information of STA and sends indicates, and described transmission indication is used to indicate trunking and sends probe message to STA.
Further, relaying probe request message can also comprise transmitting time indication, number indication and send at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described STA the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described STA the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described STA the time interval of described probe message.
In an optional execution mode, the second encrypting messages that communication interface 51 also sends for receiving target trunking, described the second encrypting messages is that target trunking uses the second key between the present embodiment AP and target trunking to be encrypted acquisition to the first encrypting messages, and described the first encrypting messages is that STA uses the first key between this STA and the present embodiment AP to be encrypted acquisition to cipher key acquisition request.
Processor 52, also for according to described cipher key acquisition request being STA and target trunking distribution the 3rd key, and use described the second key to be encrypted described the 3rd key, obtain the 3rd encrypting messages, use described the first key to be encrypted and to obtain the 4th encrypting messages described the 3rd key.
Further, communication interface 51 is also for sending to target trunking by the 3rd encrypting messages, and the 4th encrypting messages is sent to target trunking, so that described the 4th encrypting messages is transmitted to STA by target trunking, so that target trunking and this STA use the 3rd key to communicate.
Optionally, in specific implementation, if communication interface 51, processor 52 and the independent realization of memory 53, communication interface 51, processor 52 and memory 53 can interconnect and complete mutual communicating by letter by bus.Described bus can be industry standard architecture (Industry StandardArchitecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry StandardArchitecture, 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. 5, only represent with a thick line, but do not represent only to have the bus of a bus or a type.
Optionally, in specific implementation, if communication interface 51, processor 52 and memory 53 are integrated on chip piece realize, communication interface 51, processor 52 and memory 53 can complete communicating by letter between identical by internal interface.
The AP that the present embodiment provides can be used for connecting the flow process in method for building up shown in execution graph 1, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The AP that the present embodiment provides, initiatively require in network part or all of trunking to remove to survey the STA of associated this AP, and whether return to relaying according to these trunkings and survey success message, therefrom determine the trunking that relay services can be provided for this STA, afterwards, AP can establish a communications link by the trunking and the STA that determine, like this in the time that AP and STA cannot direct communications, AP can establish a communications link with this STA as early as possible again by the trunking of determining, rather than simply abandon this STA, avoid causing the loss of significant data.
The structural representation of a kind of trunking that Fig. 6 provides for the embodiment of the present invention.As shown in Figure 6, the trunking of the present embodiment comprises: receiver module 61 and sending module 62.
Receiver module 61, the relaying probe request message sending for receiving AP, wherein, described relaying probe request message is used to indicate the present embodiment trunking and sends probe message to the STA of associated AP.
Sending module 62, be connected with receiver module 61, be used for the indication of the relaying probe request message receiving according to receiver module 61, send probe message to STA, and receive after the probe response message that STA returns at receiver module 61, send relaying to AP and survey success message, so that AP surveys and be chosen as AP the trunking of success message and STA provides the target trunking of relay services from returning to relaying, and establish a communications link by target trunking and STA.
In an optional execution mode, receiver module 61 specifically can be used for receiving AP in the described relaying probe request message of determining that AP and STA send after cannot direct communication, and send after described probe message stating sending module 62, receive the probe response message that STA returns according to described probe message.
In an optional execution mode, sending module 62, also in the time that receiver module 61 does not receive probe response message, sends relaying to AP and surveys failed message.
In an optional execution mode, sending module 62 is specifically for the indication of the relaying probe request message that receives according to receiver module 61, send probe message to STA, and receive after the probe response message that STA returns at receiver module 61, judge whether to meet default first condition, if judged result is yes, relay request mark is encapsulated in to described relaying to be surveyed in success message, the described relaying that is packaged with described relay request mark is surveyed to success message and send to AP, described relay request mark is used for identifying described trunking request as target trunking, trunking as described target trunking, select described target trunking from request for AP.Optionally, if judged result is no, sending module 62 can directly be surveyed success message by described relaying and send to AP.
Described first condition can comprise following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the STA that described trunking is served as target trunking is less than default number thresholding;
Link-quality between described trunking and AP is better than default link-quality.
In an optional execution mode, the probe response message that STA returns is drawn together relaying indication, selects the trunking of the present embodiment as target trunking for identifying STA.Based on this, sending module 62 is specifically for the indication of the relaying probe request message that receives according to receiver module 61, send probe message to STA, and receive after the probe response message that STA returns at receiver module 61, the relaying indication that receiver module 61 is received is encapsulated in relaying and surveys in success message, the relaying that is packaged with relaying indication is surveyed to success message and send to AP, survey from returning to described relaying for this AP the trunking of success message and select described target trunking.
In an optional execution mode, as shown in Figure 6, the trunking of the present embodiment also comprises: obtain module 63.
The first encrypting messages that receiver module 61 also sends for receiving STA, and receiving the 3rd encrypting messages and the 4th encrypting messages that AP sends, described the first encrypting messages is that STA uses the first key between STA and AP to be encrypted acquisition to cipher key acquisition request; Described the 3rd encrypting messages is that AP uses the second key between AP and the present embodiment trunking to obtain the 3rd secret key encryption, and described the 4th encrypting messages is that AP uses described the first key to be encrypted acquisition to described the 3rd key.Described cipher key acquisition request is used for to the 3rd key using between this STA of AP acquisition request and target trunking.
Obtain module 63, be connected with receiver module 61, for using described the second key, the first encrypting messages that receiver module 61 is received is encrypted, and obtains the second encrypting messages.Obtain module 63 and be also connected with sending module 62, for providing the second encrypting messages to sending module 62.
Sending module 62 is also for sending to AP by described the second encrypting messages, so that AP is that STA and target trunking distribute described the 3rd key according to described cipher key acquisition request, and receive after described the 4th encrypting messages at receiver module 61, described the 4th encrypting messages is transmitted to STA, so that the present embodiment trunking and STA use described the 3rd key to communicate.Sending module 62 is also connected with receiver module 61.
Optionally, the relaying probe request message that receiver module 61 receives can comprise the identification information of STA and send indicates, and the STA that described transmission indication is used to indicate the present embodiment sends probe message to STA.
Further, described relaying probe request message can also comprise: at least one in transmitting time indication, number indication and the indication of transmission interval; The indication of described transmitting time is used to indicate the present embodiment trunking and sends to described STA the time point of described probe message, the indication of described number is used to indicate the present embodiment trunking and sends to described STA the number of described probe message, and the indication of described transmission interval is used to indicate the present embodiment trunking and sends to described STA the time interval of described probe message.
Wherein, probe message can comprise identification information and the detection indication of STA, and described detection indication is used to indicate the STA that the identification information of STA is identified and surveys.
Wherein, probe response message can comprise the identification information of STA and the identification information of the present embodiment trunking.
Further, described probe response message can also comprise the current electric quantity information of described STA and/or the positional information of described STA.
The trunking that the present embodiment provides can be the trunking in said method embodiment, and its each functional module can be used for connecting the flow process in method for building up shown in execution graph 2, and specific works principle repeats no more, and refers to the description of embodiment of the method.
The trunking that the present embodiment provides, the AP and the STA that provide with above-described embodiment match, receive the relaying probe request message that AP sends, and under the indication of relaying probe request message, send probe message to STA, realize the detection to STA, and receive the probe response message that STA returns detecting STA() after, return to relaying to AP and survey success message, so that knowing the trunking of the present embodiment, AP can detect STA, and then can detect select target trunking the trunking of STA from least one, establish a communications link by target trunking and STA, make the AP can be with STA cannot direct communication time, again establish a communications link with this STA as early as possible, rather than simply abandon this STA, avoid causing the loss of significant data.
The structural representation of another trunking that Fig. 7 provides for the embodiment of the present invention.As shown in Figure 7, the trunking of the present embodiment comprises: communication interface 71, processor 72 and memory 73.
Communication interface 71, the relaying probe request message sending for receiving AP, according to the indication of this relaying probe request message, STA to associated AP sends probe message, and receiving after the probe response message that STA returns, send relaying to AP and survey success message, so that AP surveys and be chosen as AP the trunking of success message and STA provides the target trunking of relay services from returning to relaying, and establish a communications link by target trunking and STA.
Optionally, communication interface 71 specifically can be used for receiving AP in the relaying probe request message of determining that AP and STA send after cannot direct communication, and is sending after described probe message the probe response message that reception STA returns according to described probe message.
Memory 73, for depositing program.Concrete, program can comprise program code, described program code comprises computer-managed instruction.Memory 73 can comprise high-speed RAM memory, also can comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Processor 72, the program of depositing for execute store 73, for realizing control logic of the present embodiment trunking etc.
Processor 72 can be one or more CPU, or specific ASIC, or can be configured to implement one or more integrated circuits of the embodiment of the present invention.
In an optional execution mode, communication interface 71, also in the time not receiving probe response message, sends relaying to AP and surveys failed message.
In an optional execution mode, processor 72 is used in after the probe response message that communication interface 71 receives, judge whether to meet default first condition, if judged result is yes, relay request mark is encapsulated in to described relaying to be surveyed in success message, the described relaying that is packaged with described relay request mark is surveyed in success message, and offered communication interface 71; Communication interface 71 sends to AP specifically for the relaying that is packaged with relay request mark is surveyed to success message, relay request mark for the trunking request that identifies the present embodiment as target trunking, for AP from request as select target trunking the trunking of target trunking; If judged result is no, control communication interface 71 is directly surveyed success message by relaying and is sent to AP.
Described first condition can comprise following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the STA that described trunking is served as target trunking is less than default number thresholding;
Link-quality between described trunking and AP is better than default link-quality.
In an optional execution mode, the probe response message that STA returns can comprise relaying indication, selects the trunking of the present embodiment as target trunking for identifying STA.Based on this, the relaying indication that processor 72 can be used for that communication interface 71 is received is encapsulated in relaying and surveys in success message, and offers communication interface 71; Communication interface 71 sends to AP specifically for the relaying that is packaged with relaying indication is surveyed to success message.
In an optional execution mode, in the time that the trunking of the present embodiment is target trunking, the first encrypting messages that the communication interface 71 of the present embodiment also sends for receiving STA, and receiving the 3rd encrypting messages and the 4th encrypting messages that AP sends, described the first encrypting messages is that STA uses the first key between STA and AP to be encrypted acquisition to cipher key acquisition request; Described the 3rd encrypting messages is that AP uses the second key between AP and the present embodiment trunking to obtain the 3rd secret key encryption, and described the 4th encrypting messages is that AP uses the first key to be encrypted acquisition to the 3rd key.Described cipher key acquisition request is used for to the 3rd key using between this STA of AP acquisition request and target trunking.
Processor 72 also, for using described the second key, is encrypted described the first encrypting messages, obtains the second encrypting messages.
Communication interface 71 is also for sending to AP by described the second encrypting messages, so that AP is that STA and target trunking distribute described the 3rd key according to described cipher key acquisition request, and receiving after described the 4th encrypting messages, described the 4th encrypting messages is transmitted to STA, so that the trunking of the present embodiment and STA use described the 3rd key to communicate.
Optionally, the relaying probe request message that communication interface 71 receives can comprise the identification information of STA and send indicates, and the trunking that described transmission indication is used to indicate the present embodiment sends probe message to STA.
Further, described relaying probe request message can also comprise: at least one in transmitting time indication, number indication and the indication of transmission interval; The indication of described transmitting time is used to indicate the present embodiment trunking and sends to STA the time point of described probe message, the indication of described number is used to indicate the present embodiment trunking and sends to STA the number of described probe message, and the indication of described transmission interval is used to indicate the present embodiment trunking and sends to STA the time interval of described probe message.
Described probe message can comprise identification information and the detection indication of STA, and described detection indication is used to indicate to be surveyed STA.
Described probe response message can comprise the identification information of STA and the identification information of the present embodiment trunking.Further, described probe response message can also comprise the current electric quantity information of STA and/or the positional information of STA.
Optionally, in specific implementation, if communication interface 71, processor 72 and the independent realization of memory 73, communication interface 71, processor 72 and memory 73 can interconnect and complete mutual communicating by letter by bus.Described bus can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data/address bus, control bus etc.For ease of representing, in Fig. 7, only represent with a thick line, but do not represent only to have the bus of a bus or a type.
Optionally, in specific implementation, if communication interface 71, processor 72 and memory 73 are integrated on chip piece realize, communication interface 71, processor 72 and memory 73 can complete communicating by letter between identical by internal interface.
The trunking that the present embodiment provides can be the trunking in said method embodiment, and it can be used for connecting the flow process in method for building up shown in execution graph 2, and specific works principle repeats no more, and refers to the description of embodiment of the method.
The trunking that the present embodiment provides, the AP and the STA that provide with above-described embodiment match, receive the relaying probe request message that AP sends, and under the indication of relaying probe request message, send probe message to STA, realize the detection to STA, and receive the probe response message that STA returns detecting STA() after, return to relaying to AP and survey success message, so that knowing the trunking of the present embodiment, AP can detect STA, and then can detect select target trunking the trunking of STA from least one, establish a communications link by target trunking and STA, make the AP can be with STA cannot direct communication time, again establish a communications link with this STA as early as possible, rather than simply abandon this STA, avoid causing the loss of significant data.
The structural representation of a 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: receiver module 81 and sending module 82.
Receiver module 81, the probe message sending for receiving trunking, described probe message is that trunking sends according to the indication of the relaying probe request message of the AP transmission of the present embodiment STA association.
Optionally, described relaying probe request message is that AP cannot send after direct communication at the STA that determines AP and the present embodiment.
Sending module 82, be connected with receiver module 81, for sending probe response message to trunking, so that returning to relaying to AP, trunking surveys success message, so that AP surveys and be chosen as this AP the trunking of success message and the present embodiment STA provides the target trunking of relay services from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.
Optionally, the described probe message that receiver module 81 sends specifically for receiving at least one trunking.
Sending module 82 sends described probe response message specifically for each trunking in described at least one trunking, so that returning to described relaying to AP, described each trunking surveys success message, so that AP surveys and be chosen as this AP the trunking of success message and the present embodiment STA provides the target trunking of relay services from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.Or
Sending module 82 is specifically for sending described probe response message to the described trunking that meets default second condition described at least one in trunking, return to described relaying detection success message so that meet the trunking of described default second condition to AP, so that AP surveys and be chosen as this AP the trunking of success message and the present embodiment STA provides the target trunking of relay services from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.
Described second condition comprises 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;
Link-quality between the present embodiment STA and described trunking is better than default link-quality.
Further, sending module 82 is specifically for from the trunking that meets default second condition, select one as described target trunking, and in the probe response message that sends to described target trunking, encapsulate relaying indication, the described target trunking of selecting for identifying the present embodiment STA, then the described probe response message that is packaged with described relaying indication is sent to described target trunking, so that described target trunking returns to the described relaying detection success message that carries described relaying indication to AP, so that AP surveys and is chosen as this AP and the present embodiment STA the trunking of success message the target trunking of relay services is provided from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.
Optionally, as shown in Figure 8, the STA of the present embodiment also comprises: obtain module 83.
Obtain module 83, for using the first key between the present embodiment STA and AP to be encrypted cipher key acquisition request, obtain the first encrypting messages.Described cipher key acquisition request is for asking AP to distribute the 3rd key using between the present embodiment STA and target trunking.Sending module 82 is also for sending to described target trunking by described the first encrypting messages, so that described target trunking sends to AP after using the second key between described target trunking and AP to be encrypted described the first encrypting messages, so that AP is that the present embodiment STA and target trunking distribute the 3rd key according to described cipher key acquisition request.Obtaining module 83 is connected with sending module 82.
The 4th encrypting messages that receiver module 81 also sends for receiving described target trunking, described the 4th encrypting messages is that AP uses described the first key to be encrypted acquisition to described the 3rd key, uses described the 3rd key to communicate with the present embodiment STA and described target trunking.
Described relaying probe request message can comprise the identification information of the present embodiment STA and send indicates, and described transmission indication is used to indicate described trunking and sends described probe message to the present embodiment STA.
Further, described relaying probe request message can also comprise transmitting time indication, number indication and send interval indication; The indication of described transmitting time is used to indicate described trunking and sends to the present embodiment STA the time point of described probe message, the indication of described number is used to indicate described trunking and sends to the present embodiment STA the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to the present embodiment STA the time interval of described probe message.
Described probe message can comprise identification information and the detection indication of the present embodiment STA, and described detection indication is used to indicate to be surveyed the present embodiment STA.
Described probe response message can comprise the identification information of the present embodiment STA and the identification information of described trunking.Further, described probe response message can also comprise the current electric quantity information of the present embodiment STA and/or the positional information of the present embodiment STA.
The STA that the present embodiment provides can be the STA in said method embodiment, and its each functional module can be used for connecting the flow process in method for building up shown in execution graph 3A, and specific works principle repeats no more, and refers to the description of embodiment of the method.
The STA that the present embodiment provides, the AP and the trunking that provide with above-described embodiment match, receive the probe message that trunking sends under the indication of AP, and return to probe response message to trunking receiving after probe message, make trunking return to relaying detection success message and select target trunking from the trunking of transmission relaying detection success message to AP, then establish a communications link by the STA of target trunking and the present embodiment, make the AP can be with the present embodiment STA cannot direct communication time, again establish a communications link with the present embodiment STA as early as possible by target trunking, rather than simply abandon STA, avoid causing the loss of significant data.
The structural representation of the another kind of STA that Fig. 9 provides for the embodiment of the present invention.As shown in Figure 9, the STA of the present embodiment comprises: communication interface 91, processor 92 and memory 93.
Communication interface 91, the probe message sending for receiving trunking, and send probe response message to trunking, so that returning to relaying to the AP of the present embodiment STA association, trunking surveys success message, so that AP surveys and is chosen as this AP and the present embodiment STA the trunking of success message the target trunking of relay services is provided from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment, described probe message is that trunking sends according to the indication of the relaying probe request message of AP transmission.
Optionally, the described relaying probe request message transmission after the STA that determines AP and the present embodiment cannot direct communication that is AP.
The described probe message that communication interface 91 sends specifically for receiving at least one trunking.Based on this, communication interface 91 sends described probe response message specifically for each trunking in described at least one trunking, so that returning to described relaying to AP, described each trunking surveys success message, so that AP surveys and be chosen as this AP the trunking of success message and the present embodiment STA provides the target trunking of relay services from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.Or, communication interface 91 is specifically for sending described probe response message to the described trunking that meets default second condition described at least one in trunking, return to described relaying detection success message so that meet the trunking of described default second condition to AP, so that AP surveys and be chosen as this AP the trunking of success message and the present embodiment STA provides the target trunking of relay services from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.
Described second condition comprises 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;
Link-quality between the present embodiment STA and described trunking is better than default link-quality.
Further, communication interface 91 is specifically for from the trunking that meets default second condition, select one as described target trunking, and in the probe response message that sends to described target trunking, encapsulate relaying indication, the described target trunking of selecting for identifying the present embodiment STA, then the described probe response message that is packaged with described relaying indication is sent to described target trunking, so that described target trunking returns to the described relaying detection success message that carries described relaying indication to AP, so that AP surveys and is chosen as this AP and the present embodiment STA the trunking of success message the target trunking of relay services is provided from returning to relaying, and establish a communications link by the STA of target trunking and the present embodiment.
Memory 93, for depositing program.Concrete, program can comprise program code, described program code comprises computer-managed instruction.Memory 93 can comprise high-speed RAM memory, also can comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Processor 92, the program of depositing for execute store 93, for realizing control logic of the present embodiment STA etc.
Processor 92 can be one or more CPU, or specific ASIC, or is configured to implement one or more integrated circuits of the embodiment of the present invention.
Processor 92 can be used for using the first key between the present embodiment STA and AP to be encrypted cipher key acquisition request, obtains the first encrypting messages, and offers communication interface 91.Described cipher key acquisition request is for asking AP to distribute the 3rd key using between the present embodiment STA and target trunking.Communication interface 91 is also for sending to described target trunking by described the first encrypting messages, so that described target trunking sends to AP after using the second key between described target trunking and AP to be encrypted described the first encrypting messages, so that AP is that the present embodiment STA and target trunking distribute the 3rd key according to described cipher key acquisition request, and receive the 4th encrypting messages that described target trunking sends, described the 4th encrypting messages is that AP uses described the first key to be encrypted acquisition to described the 3rd key, use described the 3rd key to communicate with the present embodiment STA and described target trunking.
Described relaying probe request message can comprise the identification information of the present embodiment STA and send indicates, and described transmission indication is used to indicate described trunking and sends described probe message to the present embodiment STA.
Further, described relaying probe request message can also comprise transmitting time indication, number indication and send interval indication; The indication of described transmitting time is used to indicate described trunking and sends to the present embodiment STA the time point of described probe message, the indication of described number is used to indicate described trunking and sends to the present embodiment STA the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to the present embodiment STA the time interval of described probe message.
Described probe message can comprise identification information and the detection indication of the present embodiment STA, and described detection indication is used to indicate to be surveyed the present embodiment STA.
Described probe response message can comprise the identification information of the present embodiment STA and the identification information of described trunking.Further, described probe response message can also comprise the current electric quantity information of the present embodiment STA and/or the positional information of the present embodiment STA.
The STA that the present embodiment provides can be the STA in said method embodiment, and it can be used for connecting the flow process in method for building up shown in execution graph 3A, and specific works principle repeats no more, and refers to the description of embodiment of the method.
The STA that the present embodiment provides, the AP and the trunking that provide with above-described embodiment match, receive the probe message that trunking sends under the indication of AP, and return to probe response message to trunking receiving after probe message, make trunking return to relaying detection success message and select target trunking from the trunking of transmission relaying detection success message to AP, then establish a communications link by the STA of target trunking and the present embodiment, make the AP can be with the present embodiment STA cannot direct communication time, again establish a communications link with the present embodiment STA as early as possible by target trunking, rather than simply abandon STA, avoid causing the loss of significant data.
The embodiment of the present invention provides a kind of connection to set up system, and the system that the present embodiment provides comprises: AP, at least one trunking and STA.
Described AP, for sending relaying probe request message to described at least one trunking, described relaying probe request message is used to indicate described trunking and sends probe message to described website, receive the relaying that the first trunking in described at least one trunking returns and survey success message, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message; And establish a communications link by described the first trunking and described website.
Described at least one trunking, the described relaying probe request message sending for receiving described access point, according to the indication of described relaying probe request message, send described probe message to described website, and in the time receiving the described probe response message that described website returns, send described relaying to described access point and survey success message.
Described STA, the described probe message sending for receiving described trunking, sends described probe response message to described trunking.
The implementation structure of above-mentioned AP can be referring to Fig. 4 or embodiment illustrated in fig. 5, the implementation structure of trunking can referring to Fig. 6 or with 7 illustrated embodiments, the implementation structure of STA can, referring to Fig. 8 or embodiment illustrated in fig. 9, all repeat no more at this.
System is set up in the connection that the present embodiment provides, the flow process of the connection method for building up providing by the execution embodiment of the present invention, access point is by sending relaying probe request message to trunking, so that the website of associated this access point of these trunkings sends probe message and receives the probe response message that this website returns, trunking returns to relaying to access point and surveys success message receiving after probe response message, access point just can obtain the trunking that can communicate by letter with website from these trunkings like this, then establish a communications link by the trunking and the website that obtain, like this in the situation that access point and this website cannot direct communications, access point can establish a communications link as early as possible by these trunkings and website.
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 modifications 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 (61)

1. connect a method for building up, it is characterized in that, comprising:
Access point sends relaying probe request message at least one trunking, and described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Described access point receives the relaying that the first trunking in described at least one trunking returns and surveys success message, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message;
Described access point establishes a communications link by described the first trunking and described website.
2. connection method for building up according to claim 1, is characterized in that, described access point sends relaying probe request message at least one trunking and comprises:
Described access point, after definite described access point and described website cannot direct communications, sends described relaying probe request message to described at least one trunking.
3. connection method for building up according to claim 1 and 2, is characterized in that, described access point is established a communications link and comprised by described the first trunking and described website:
If described the first trunking is multiple, described access point is selected one as target trunking from multiple described the first trunkings, send relaying Indication message to described target trunking, to indicate described target trunking as described access point and described website provide relay services, then establish a communications link by described target trunking and described website.
4. connection method for building up according to claim 3, is characterized in that, described access point selects one to comprise as target trunking from multiple described the first trunkings:
Multiple relayings that described access point sends from multiple described the first trunkings are surveyed success message, obtain the first relaying detection success message that comprises relay request mark; Described relay request mark is that the first trunking that sends described the first relaying detection success message is encapsulated in described the first relaying detection success message in the time meeting default first condition;
Described access point is surveyed the first trunking that success message is corresponding and is selected one as described target trunking from described the first relaying.
5. connection method for building up according to claim 4, is characterized in that, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website 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 access point is better than default link-quality.
6. connection method for building up according to claim 3, is characterized in that, described access point selects one to comprise as target trunking from multiple described the first trunkings:
Multiple relayings that described access point sends from multiple described the first trunkings are surveyed success message, obtain the second relaying detection success message that comprises relaying indication; Described relaying indication is to send the first trunking of described the second relaying detection success message from described probe response message, to obtain and be encapsulated in described the second relaying detection success message, and described relaying indication selects the first trunking of described the second relaying detection success message of transmission as target trunking for identifying described website;
Described access point determines that it is described target trunking that described the second relaying is surveyed the first trunking corresponding to success message.
7. according to the connection method for building up described in claim 1-6 any one, it is characterized in that, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
8. connection method for building up according to claim 7, is characterized in that, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
9. according to the connection method for building up described in claim 1-8 any one, it is characterized in that, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
10. according to the connection method for building up described in claim 1-9 any one, it is characterized in that, described probe response message is drawn together the identification information of described website and is sent the identification information of the described trunking of probe message corresponding to described probe response message.
11. connection method for building up according to claim 10, is characterized in that, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
12. 1 kinds connect method for building up, it is characterized in that, comprising:
Trunking receives the relaying probe request message that access point sends, and wherein, described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Described trunking, according to the indication of described relaying probe request message, sends described probe message to described website;
If described trunking receives the probe response message that described website returns, described trunking sends relaying to described access point and surveys success message, so that described access point surveys from returning to described relaying and be chosen as described access point the described trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
13. connection method for building up according to claim 12, is characterized in that, the relaying probe request message that described trunking receives access point transmission comprises:
Described trunking receives described access point in the described relaying probe request message of determining that described access point and described website send after cannot direct communication.
14. according to the connection method for building up described in claim 12 or 13, it is characterized in that, described trunking sends relaying detection success message to described access point and comprises:
Described trunking judges whether to meet default first condition;
If judged result is yes, described trunking is encapsulated in described relaying by relay request mark and surveys in success message, the described relaying that is packaged with described relay request mark is surveyed to success message and send to described access point, described relay request mark is used for identifying described trunking request as described target trunking, selects described target trunking for described access point from request the trunking as described target trunking.
15. connection method for building up according to claim 14, is characterized in that, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website that described trunking is served as target trunking is less than default number thresholding;
Link-quality between described trunking and described access point is better than default link-quality.
16. according to the connection method for building up described in claim 12 or 13, it is characterized in that, described probe response message is drawn together relaying indication, selects described trunking as described target trunking for identifying described website;
Described trunking sends relaying detection success message to described access point and comprises:
Described trunking is encapsulated in described relaying by described relaying indication and surveys in success message, the described relaying that is packaged with described relaying indication is surveyed to success message and send to described access point.
17. according to the connection method for building up described in claim 12-16 any one, it is characterized in that, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
18. connection method for building up according to claim 17, is characterized in that, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
19. according to the connection method for building up described in claim 12-18 any one, it is characterized in that, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
20. according to the connection method for building up described in claim 12-19 any one, it is characterized in that, described probe response message is drawn together the identification information of described website and the identification information of described trunking.
21. connection method for building up according to claim 20, is characterized in that, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
22. 1 kinds connect method for building up, it is characterized in that, comprising:
Website receives the probe message that trunking sends, and described probe message is that described trunking sends according to the indication of the relaying probe request message of the access point transmission of described website association;
Described website sends probe response message to described trunking, so that returning to relaying to described access point, described trunking surveys success message, so that described access point surveys from returning to described relaying and be chosen as described access point the trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
23. connection method for building up according to claim 22, is characterized in that, the probe message that described website receives trunking transmission comprises:
Described website receives the described probe message that trunking sends described at least one;
Described website sends probe response message to described trunking, comprises so that described trunking returns to relaying detection success message to described access point:
Described website to described described at least one in trunking each trunking send described probe response message survey success message so that described each trunking returns to described relaying to described access point; Or
Described website sends described probe response message to the described trunking that meets default second condition described at least one in trunking, returns to described relaying and surveys success message so that meet the trunking of described default second condition to described access point.
24. connection method for building up according to claim 23, is characterized in that, described second condition comprises 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;
Link-quality between described website and described trunking is better than default link-quality.
25. according to the connection method for building up described in claim 23 or 24, it is characterized in that, described website sends described probe response message to the described trunking that meets default second condition described at least one in trunking, surveys success message and comprises so that the trunking that meets described default second condition returns to described relaying to described access point:
Described website is from meeting the trunking of described default second condition, select one as described target trunking, and in the probe response message that sends to described target trunking, encapsulate relaying indication, for identifying the described target trunking of described website selection;
The described probe response message that is packaged with described relaying indication is sent to described target trunking by described website, so that described target trunking returns to the described relaying detection success message that carries described relaying indication to described access point.
26. according to the connection method for building up described in claim 22-25 any one, it is characterized in that, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
27. connection method for building up according to claim 26, is characterized in that, described relaying probe request message also comprises transmitting time indication, number indication and sends interval indication; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
28. according to the connection method for building up described in claim 22-27 any one, it is characterized in that, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
29. according to the connection method for building up described in claim 22-28 any one, it is characterized in that, described probe response message is drawn together the identification information of described website and sent the identification information of the trunking of probe message corresponding to described probe response message.
30. connection method for building up according to claim 29, is characterized in that, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
31. 1 kinds of access points, is characterized in that, comprising:
Sending module, for sending relaying probe request message at least one trunking, described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Receiver module, survey success message for receiving the relaying that the first trunking of described at least one trunking returns, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message;
Connect and set up module, for establishing a communications link by described the first trunking and described website.
32. access points according to claim 31, is characterized in that, described sending module, specifically for after definite described access point and described website cannot direct communications, sends described relaying probe request message to described at least one trunking.
33. according to the access point described in claim 31 or 32, it is characterized in that, described connection is set up module and comprised:
Selected cell when being multiple at described the first trunking, is selected one as target trunking from described multiple the first trunkings;
Transmitting element, for sending relaying Indication message to described target trunking, to indicate described target trunking to provide relay services as described access point and described website;
Set up unit, for establishing a communications link by described target trunking and described website.
34. access points according to claim 33, it is characterized in that, described selected cell is when being multiple at described the first trunking, the multiple relayings that send from multiple described the first trunkings are surveyed success message, obtain the first relaying detection success message that comprises relay request mark, survey the first trunking that success message is corresponding and select one as described target trunking from described the first relaying; Described relay request mark is that the first trunking that sends described the first relaying detection success message is encapsulated in described the first relaying detection success message in the time meeting default first condition.
35. access points according to claim 34, is characterized in that, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website 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 access point is better than default link-quality.
36. access points according to claim 33, it is characterized in that, described selected cell is when being multiple at described the first trunking, the multiple relayings that send from multiple described the first trunkings are surveyed success message, obtain the second relaying detection success message that comprises relaying indication, determine that it is described target trunking that described the second relaying is surveyed the first trunking corresponding to success message; Described relaying indication is to send the first trunking of described the second relaying detection success message from described probe response message, to obtain and be encapsulated in described the second relaying detection success message, and described relaying indication selects the first trunking of described the second relaying detection success message of transmission as target trunking for identifying described website.
37. according to the access point described in claim 31-36 any one, it is characterized in that, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
38. according to the access point described in claim 37, it is characterized in that, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
39. according to the access point described in claim 31-38 any one, it is characterized in that, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
40. according to the connection method for building up described in claim 31-39 any one, it is characterized in that, described probe response message is drawn together the identification information of described website and sent the identification information of the described trunking of probe message corresponding to described probe response message.
41. according to the connection method for building up described in claim 40, it is characterized in that, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
42. 1 kinds of trunkings, is characterized in that, comprising:
Receiver module, the relaying probe request message sending for receiving access point, wherein, described relaying probe request message is used to indicate described trunking and sends probe message to the website of the described access point of association;
Sending module, be used for according to the indication of described relaying probe request message, send described probe message to described website, and receive after the probe response message that described website returns at described receiver module, send relaying to described access point and survey success message, so that described access point surveys from returning to described relaying and be chosen as described access point the described trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
43. according to the trunking described in claim 42, it is characterized in that, described receiver module is specifically for receiving described access point in the described relaying probe request message of determining that described access point and described website send after cannot direct communication, and send after described probe message at described sending module, receive the probe response message that described website returns according to described probe message.
44. according to the trunking described in claim 42 or 43, it is characterized in that, described sending module is specifically for according to the indication of described relaying probe request message, send described probe message to described website, and receive after the probe response message that described website returns at described receiver module, judge whether to meet default first condition, if judged result is yes, relay request mark is encapsulated in to described relaying to be surveyed in success message, the described relaying that is packaged with described relay request mark is surveyed to success message and send to described access point, described relay request mark is used for identifying described trunking request as described target trunking, trunking as described target trunking, select described target trunking from request for described access point.
45. according to the trunking described in claim 44, it is characterized in that, described first condition comprises following its combination of arbitrary conditioned disjunction:
The received power of described probe response message is greater than default received power thresholding;
The signal to noise ratio of described probe response message is greater than default signal-noise ratio threshold;
The number of the website that described trunking is served as target trunking is less than default number thresholding;
Link-quality between described trunking and described access point is better than default link-quality.
46. according to the trunking described in claim 42 or 43, it is characterized in that, described probe response message is drawn together relaying indication, selects described trunking as described target trunking for identifying described website;
Described sending module is specifically for according to the indication of described relaying probe request message, send described probe message to described website, and receive after the probe response message that described website returns at described receiver module, described relaying indication is encapsulated in to described relaying to be surveyed in success message, the described relaying that is packaged with the indication of described relaying is surveyed to success message and send to described access point, survey from returning to described relaying for described access point the trunking of success message and select described target trunking.
47. according to the trunking described in claim 42-46 any one, it is characterized in that, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
48. according to the trunking described in claim 47, it is characterized in that, described relaying probe request message also comprises transmitting time indication, number indication and sends at least one in the indication of interval; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
49. according to the trunking described in claim 42-48 any one, it is characterized in that, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
50. according to the trunking described in claim 42-49 any one, it is characterized in that, described probe response message is drawn together the identification information of described website and the identification information of described trunking.
51. according to the trunking described in claim 50, it is characterized in that, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
52. 1 kinds of websites, is characterized in that, comprising:
Receiver module, the probe message sending for receiving trunking, described probe message is that described trunking sends according to the indication of the relaying probe request message of the access point transmission of described website association;
Sending module, for sending probe response message to described trunking, so that returning to relaying to described access point, described trunking surveys success message, so that described access point surveys from returning to described relaying and be chosen as described access point the trunking of success message and described website provides the target trunking of relay services, and establish a communications link by described target trunking and described website.
53. according to the website described in claim 52, it is characterized in that, described receiver module is specifically for receiving the described probe message that trunking sends described at least one;
Described sending module specifically for to described described at least one in trunking each trunking send described probe response message, so that returning to described relaying to described access point, described each trunking surveys success message, select described target trunking so that described access point is surveyed from returning to described relaying the trunking of success message, and establish a communications link by described target trunking and described website; Or
Described sending module is specifically for sending described probe response message to the described trunking that meets default second condition described at least one in trunking, return to described relaying detection success message so that meet the trunking of described default second condition to described access point, select described target trunking so that described access point is surveyed from returning to described relaying the trunking of success message, and establish a communications link by described target trunking and described website.
54. according to the website described in claim 53, it is characterized in that, described second condition comprises 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;
Link-quality between described website and described trunking is better than default link-quality.
55. according to the website described in claim 53 or 54, it is characterized in that, described sending module is specifically for from the trunking that meets default second condition, select one as described target trunking, and in the probe response message that sends to described target trunking, encapsulate relaying indication, the described target trunking of selecting for identifying described website, then the described probe response message that is packaged with described relaying indication is sent to described target trunking, so that described target trunking returns to the described relaying detection success message that carries described relaying indication to described access point, so that surveying from returning to described relaying the trunking of success message, described access point selects described target trunking, and establish a communications link by described target trunking and described website.
56. according to the website described in claim 52-55 any one, it is characterized in that, described relaying probe request message comprises the identification information of described website and sends indicates, and described transmission indication is used to indicate described trunking and sends described probe message to described website.
57. according to the website described in claim 56, it is characterized in that, described relaying probe request message also comprises transmitting time indication, number indication and sends interval indication; The indication of described transmitting time is used to indicate described trunking and sends to described website the time point of described probe message, the indication of described number is used to indicate described trunking and sends to described website the number of described probe message, and the indication of described transmission interval is used to indicate described trunking and sends to described website the time interval of described probe message.
58. according to the website described in claim 52-57 any one, it is characterized in that, described probe message comprises identification information and the detection indication of described website, and described detection indication is used to indicate to be surveyed described website.
59. according to the website described in claim 52-58 any one, it is characterized in that, described probe response message is drawn together the identification information of described website and the identification information of described trunking.
60. according to the website described in claim 59, it is characterized in that, described probe response message also comprises the current electric quantity information of described website and/or the positional information of described website.
System is set up in 61. 1 kinds of connections, it is characterized in that, comprising: access point, website and at least one trunking;
Described access point, for sending relaying probe request message to described at least one trunking, described relaying probe request message is used to indicate described trunking and sends probe message to described website, receive the relaying that the first trunking in described at least one trunking returns and survey success message, the transmission that is described the first trunking after receiving the probe response message that probe message that described website sends for described the first trunking returns that described relaying is surveyed success message; And establish a communications link by described the first trunking and described website;
Described at least one trunking, the described relaying probe request message sending for receiving described access point, according to the indication of described relaying probe request message, send described probe message to described website, and in the time receiving the described probe response message that described website returns, send described relaying to described access point and survey success message;
Described website, the described probe message sending for receiving described trunking, sends described probe response message to described trunking.
CN201210527613.1A 2012-12-10 2012-12-10 Connect method for building up, equipment and system Active CN103874227B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN103874227A true CN103874227A (en) 2014-06-18
CN103874227B CN103874227B (en) 2018-10-02

Family

ID=50912260

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN103874227B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902456A (en) * 2015-04-10 2015-09-09 电信科学技术研究院 Information processing and determining methods and equipment for relay user equipment
CN105828456A (en) * 2016-02-04 2016-08-03 维沃移动通信有限公司 Wireless connection establishing method and device and wireless access point equipment
CN107005912A (en) * 2015-04-17 2017-08-01 华为技术有限公司 Trunking method, user equipment and base station
CN107767877A (en) * 2016-08-23 2018-03-06 索拉麦斯有限公司 Audio Beacon Activated Digital Content Extraction for Mobile Computing Devices
CN110661887A (en) * 2019-10-29 2020-01-07 中国人民解放军32039部队 Method and device for establishing communication link, communication system and server
CN111479307A (en) * 2020-04-14 2020-07-31 珠海格力电器股份有限公司 Data transmission method, device, AP and storage medium
CN113141599A (en) * 2021-05-31 2021-07-20 深圳市道通科技股份有限公司 Automobile diagnosis system and WiFi connection method
CN114630380A (en) * 2020-12-10 2022-06-14 丰田自动车株式会社 Method, communication system, information processing system, and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1672347A (en) * 2002-07-22 2005-09-21 摩托罗拉公司(特拉华州注册) Virtual dynamic cellular infrastructure based on coordinate information
CN101068201A (en) * 2006-05-05 2007-11-07 美国博通公司 Communication structure, access point and method for transmitting data packet
CN101098180A (en) * 2007-06-04 2008-01-02 华为技术有限公司 Wireless network, terminal message routing method, terminal login and paging method
CN101159471A (en) * 2007-11-05 2008-04-09 中兴通讯股份有限公司 Method of determining relay group of communication relay network
CN101389121A (en) * 2007-09-11 2009-03-18 大唐移动通信设备有限公司 Random access method, system and constituting modules
CN101739799A (en) * 2009-12-21 2010-06-16 上海桑锐电子科技有限公司 Device and method for using internet to copying and controlling gauge table
CN101997582A (en) * 2009-08-31 2011-03-30 华为技术有限公司 Cooperative communication method and apparatus based on super frame
WO2012094759A1 (en) * 2011-01-12 2012-07-19 International Business Machines Corporation Wireless sensor network information swarming

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1672347A (en) * 2002-07-22 2005-09-21 摩托罗拉公司(特拉华州注册) Virtual dynamic cellular infrastructure based on coordinate information
CN101068201A (en) * 2006-05-05 2007-11-07 美国博通公司 Communication structure, access point and method for transmitting data packet
CN101098180A (en) * 2007-06-04 2008-01-02 华为技术有限公司 Wireless network, terminal message routing method, terminal login and paging method
CN101389121A (en) * 2007-09-11 2009-03-18 大唐移动通信设备有限公司 Random access method, system and constituting modules
CN101159471A (en) * 2007-11-05 2008-04-09 中兴通讯股份有限公司 Method of determining relay group of communication relay network
CN101997582A (en) * 2009-08-31 2011-03-30 华为技术有限公司 Cooperative communication method and apparatus based on super frame
CN101739799A (en) * 2009-12-21 2010-06-16 上海桑锐电子科技有限公司 Device and method for using internet to copying and controlling gauge table
WO2012094759A1 (en) * 2011-01-12 2012-07-19 International Business Machines Corporation Wireless sensor network information swarming

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902456A (en) * 2015-04-10 2015-09-09 电信科学技术研究院 Information processing and determining methods and equipment for relay user equipment
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
CN105828456A (en) * 2016-02-04 2016-08-03 维沃移动通信有限公司 Wireless connection establishing method and device and wireless access point equipment
CN107767877A (en) * 2016-08-23 2018-03-06 索拉麦斯有限公司 Audio Beacon Activated Digital Content Extraction for Mobile Computing Devices
CN110661887A (en) * 2019-10-29 2020-01-07 中国人民解放军32039部队 Method and device for establishing communication link, communication system and server
CN110661887B (en) * 2019-10-29 2020-12-11 中国人民解放军32039部队 Method and device for establishing communication link, communication system and server
CN111479307A (en) * 2020-04-14 2020-07-31 珠海格力电器股份有限公司 Data transmission method, device, AP and storage medium
CN114630380A (en) * 2020-12-10 2022-06-14 丰田自动车株式会社 Method, communication system, information processing system, and computer-readable storage medium
CN114630380B (en) * 2020-12-10 2024-04-16 丰田自动车株式会社 Method, communication system, information processing system, and computer-readable storage medium
CN113141599A (en) * 2021-05-31 2021-07-20 深圳市道通科技股份有限公司 Automobile diagnosis system and WiFi connection method
CN113141599B (en) * 2021-05-31 2023-07-07 深圳市道通科技股份有限公司 Automobile diagnosis system and WiFi connection method

Also Published As

Publication number Publication date
CN103874227B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN103874227A (en) Method, device and system for setting up connection
US10743154B2 (en) Method and apparatus for forwarding vehicle to everything service
CN106162511B (en) D2D relay node determination and use method and device
CN102264131B (en) Method and device for transmitting data in wireless network
CN104902443B (en) A kind of method and apparatus of communication
CN103906263A (en) Connection establishment method, device and system
JP2020167716A (en) Communication processing method and apparatus in the case of tight interworking between lte and 5g
KR20180030125A (en) Resource allocation methods and devices
CN106454687A (en) Resource allocation method and resource allocation device
WO2019028694A1 (en) Resource allocation method, first device and second device
JP2009500969A5 (en)
US20180035408A1 (en) Resource allocation method, device, and system
CN104902537A (en) Wireless access point AP determining method, device and system
CN106664725A (en) Data transmission method, device, and system
CN104159306A (en) Method, device and system for controlling radio resources
CN103973555A (en) GRE protocol tunnel building method, communication device and communication system
CN103973401A (en) User plane data information reporting method, device and system
CN104581685A (en) Method and device for sending and receiving discovery signal
CN107465609A (en) A kind of terminal route selection method and internet-of-things terminal based on Internet of Things
CN112770370B (en) Method and device for intelligent equipment to access network and intelligent equipment
CN102217209A (en) Method, device and system for information transmitting and obtaining
JPWO2020240863A5 (en) Terminals, wireless communication methods, base stations and systems
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN102917386B (en) Device and method for consistency protocol verification of interfaces S1 of LTE (Long Term Evolution) wireless network
CN105516884B (en) A kind of MTC service processing method and processing device

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

Effective date of registration: 20171027

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
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.

CP01 Change in the name or title of a patent holder