CN106131925B - GAS (generic Access service) query method and device - Google Patents

GAS (generic Access service) query method and device Download PDF

Info

Publication number
CN106131925B
CN106131925B CN201610459184.7A CN201610459184A CN106131925B CN 106131925 B CN106131925 B CN 106131925B CN 201610459184 A CN201610459184 A CN 201610459184A CN 106131925 B CN106131925 B CN 106131925B
Authority
CN
China
Prior art keywords
list
response message
network information
external network
sta
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.)
Active
Application number
CN201610459184.7A
Other languages
Chinese (zh)
Other versions
CN106131925A (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 Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610459184.7A priority Critical patent/CN106131925B/en
Publication of CN106131925A publication Critical patent/CN106131925A/en
Application granted granted Critical
Publication of CN106131925B publication Critical patent/CN106131925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • H04W52/0206Power saving arrangements in the radio access network or backbone network of wireless communication networks in access points, e.g. base stations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • 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

Abstract

The invention discloses a GAS (gateway application server) query method and a GAS query device, relates to the field of communication, and is used for solving the problems of overlong time consumption and excessive power consumption when external network information supported by a plurality of APs (access points) is queried. The method provided by the invention comprises the following steps: receiving a GAS initial request message sent by an STA, wherein the GAS initial request message comprises an AP list; acquiring external network information supported by each AP in the AP list; and sending the external network information supported by each AP in the AP list to the STA. Sending a GAS initial request message to a first Access Point (AP) so that the first AP acquires external network information, wherein the GAS initial request message comprises an AP list; and receiving a GAS initial response message returned by the first AP, and acquiring the external network information supported by each AP in the AP list according to the GAS initial response message. The invention is applicable to the field of communication and is used for performing GAS inquiry in a WLAN.

Description

GAS (generic Access service) query method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a GAS (Generic Advertisement Services) query method and apparatus.
Background
WLAN (Wireless Local Area Network) is a Wireless Network access method. Due to good mobility and reliability, the WLAN technology has been increasingly widely used in recent years. The Basic component of a WLAN is a BSS (Basic Service Set), which consists of a plurality of STAs (stations) within a certain coverage area. STAs in a BSS network having a function of managing BSSs are called APs (Access points), and the STAs in the BSS network are all associated with the APs. When the STA needs to connect to the external network, it may select an available AP by scanning to detect multiple APs and then sequentially initiating a GAS (generic advertisement Services) query to the multiple APs or some selected APs according to the scanning result to obtain the external network information supported by each AP, and associating to the AP to connect to the external network.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
because the STA can only perform GAS query on one AP at a time, when the STA needs to query external network information supported by multiple APs, the GAS query mechanism needs to be repeatedly started for many times, which not only consumes power, but also consumes long time for the STA to search for an available network, and thus user experience is poor.
Disclosure of Invention
Embodiments of the present invention provide a GAS query method and apparatus, which can simultaneously obtain external network information supported by multiple APs, so that an STA can quickly search for an available network, and energy can be saved.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in one aspect, an embodiment of the present invention provides a GAS query method, including:
receiving a GAS initial request message sent by an STA, wherein the GAS initial request message comprises an AP list;
acquiring external network information supported by each AP in the AP list;
and sending the external network information supported by each AP in the AP list to the STA.
On the other hand, an embodiment of the present invention further provides a GAS query method, including:
sending a GAS initial request message to a first Access Point (AP) so that the first AP acquires external network information, wherein the GAS initial request message comprises an AP list;
and receiving a GAS initial response message returned by the first AP, and acquiring the external network information supported by each AP in the AP list according to the GAS initial response message.
In another aspect, an embodiment of the present invention further provides an AP capable of performing GAS query, where the AP includes:
a first receiving unit, configured to receive a GAS initial request message sent by an STA, where the GAS initial request message includes an AP list;
an obtaining unit, configured to obtain external network information supported by each AP in the AP list;
a first sending unit, configured to send external network information supported by each AP in the AP list to the STA.
In another aspect, an embodiment of the present invention further provides a station STA, which is capable of performing GAS query, where the STA includes:
a second sending unit, configured to send a GAS initial request message to a first access point AP, so that the first AP obtains external network information, where the GAS initial request message includes an AP list;
a second receiving unit, configured to receive a GAS initial response message returned by the first AP, and obtain, according to the GAS initial response message, external network information supported by each AP in the AP list.
On the other hand, the embodiment of the invention also provides a general announcement service GAS query system, which comprises the access point AP and the station STA.
The GAS query method and the device provided by the embodiment of the invention acquire the external network information supported by a plurality of APs by carrying the AP list in the GAS initial request message. Compared with the prior art, the method provided by the embodiment of the invention can enable the STA to simultaneously acquire the external network information supported by the plurality of APs, so that the accessible network can be determined more quickly, the power consumption can be reduced, and the power supply can be saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart of a method according to yet another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an AP list provided in the embodiment of fig. 3 according to the present invention;
FIG. 5 is a schematic flow chart of a method according to yet another embodiment of the present invention;
fig. 6 to 9 are schematic structural diagrams of an access point AP according to another embodiment of the present invention;
fig. 10 to 14 are schematic structural diagrams of a station STA according to yet another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a GAS query method, as shown in fig. 1, the method includes:
101. the AP receives a GAS initial request message sent by the STA, wherein the GAS initial request message comprises an AP list.
Specifically, the AP list includes identifiers of all APs detected by the STA, or identifiers of a part of APs in all APs detected by the STA, which is not limited herein.
102. And the AP acquires the external network information supported by each AP in the AP list.
Specifically, the external network information supported by the AP includes a roaming alliance list, a QOS mapping of the external network, and 3GPP cellular network information.
103. And sending the external network information supported by each AP in the AP list to the STA.
In the GAS query method provided by the embodiment of the present invention, the AP list is carried in the GAS initial request message to obtain the external network information supported by the multiple APs. Compared with the prior art, the method provided by the embodiment of the invention can enable the STA to simultaneously acquire the external network information supported by the plurality of APs, so that the accessible network can be determined more quickly, the power consumption can be reduced, and the power supply can be saved.
Another embodiment of the present invention provides a GAS query method, as shown in fig. 2, the method includes:
201. the STA sends a GAS initial request message to a first AP so that the first AP acquires external network information, wherein the GAS initial request message comprises an AP list.
Specifically, the AP list may include identifiers of all APs detected by the current STA, or identifiers of a part of APs in all APs detected by the current STA, where the identifiers of the part of APs include an identifier of an AP selected by the current STA according to a user instruction, or an identifier of an AP satisfying a preset rule of the STA among all APs detected by the current STA, but is not limited thereto.
It should be noted that the first AP is an AP that receives a GAS initial query request message sent by the STA, and may be an AP randomly selected by the STA from the AP list, or an AP selected by the STA according to a user instruction, which is not limited herein.
202. And the STA receives the GAS initial response message returned by the first AP, and acquires the external network information supported by each AP in the AP list according to the GAS initial response message.
Specifically, the external network information supported by the AP includes a roaming alliance list, a QOS mapping of the external network, and 3GPP cellular network information.
In the GAS query method provided by the embodiment of the present invention, the AP list is carried in the GAS initial request message sent to the AP to obtain the external network information supported by the multiple APs. Compared with the prior art, the method provided by the embodiment of the invention can enable the STA to simultaneously acquire the external network information supported by the plurality of APs, so that the accessible network can be determined more quickly, the power consumption can be reduced, and the power supply can be saved.
Yet another embodiment of the present invention provides a GAS query method, as shown in fig. 3, the method includes:
301. and the STA starts a GAS query mechanism, determines a GAS query object, and generates an AP list according to the GAS query object, wherein the AP list comprises the identification of each AP in the GAS query object.
Specifically, the GAS query object may be all APs detected by the STA through scanning, or may be an identifier of a part of APs in all APs detected by the STA (for example, an identifier of a part of APs selected by the STA according to a user instruction, or an identifier of a part of APs satisfying a preset rule of the STA among all APs detected by the current STA), which is not limited herein.
For convenience of understanding, an embodiment of the present invention provides a schematic structural diagram of an AP list, and as shown in fig. 4, the AP list may include:
an element identification number field 41, configured to characterize that the current string information is an AP list to be queried by the GAS, and a value of the element identification number field is any integer value that is not currently used for a purpose defined by the 802.11 protocol;
a length field 42 for characterizing the length of the AP list field 43;
an AP list field 43, configured to record identification information of each AP in the AP list.
Specifically, each AP identifier in the AP list field 43 may be composed of an SSID (service set identifier) field 431 and/or a BSSID (basic service set identifier) field 432, where the SSID field occupies 32 bytes and the BSSID field occupies 6 bytes.
It should be noted that the AP list structure shown in fig. 4 is only one of the AP list structures in the embodiments of the present invention, and the AP list structure in the embodiments of the present invention is not limited thereto.
302. And the STA determines an initial query object from the GAS query objects as a first AP and sends a GAS query initial request message to the first AP.
Specifically, the STA may randomly select one AP from the AP list as the first AP, or may select one AP as the first AP according to a user instruction, which is not limited herein.
It should be noted that the GAS initial request message further includes an inquiry request, where the inquiry request is used to instruct the first AP that receives the GAS inquiry initial request message to inquire the external network information supported by each AP in the AP list.
303. And the first AP receives a GAS initial request message sent by the STA, analyzes the GAS initial request message and acquires the identifier of each AP in the AP list.
304. The first AP sends the query request and the identifier of each AP in the AP list to an AS (Advertisement Server) to obtain external network information supported by each AP in the AP list, where the AS may provide the external network information supported by each AP.
305. And the AS receives the query request and the identification of each AP in the AP list and queries the external network information supported by each AP in the AP list.
306. And the first AP receives an inquiry response message returned by the AS, wherein the inquiry response message comprises external network information supported by each AP in the AP list.
307. And the first AP sends a GAS initial response message to the STA, wherein the GAS initial response message comprises external network information supported by each AP in the AP list.
It should be noted that, if the length of the query response message returned by the AS is too long, which results in that the GAS initial response message cannot carry the external network information supported by each AP in the AP list at one time, the first AP may send the external network information fragment supported by each AP in the AP list to the STA. For example, the first AP may carry a delay query time in the GAS initial response message, so that after the STA passes the delay query time, the STA sequentially sends at least one GAS recovery request message to the current first AP to receive a corresponding GAS recovery response message, and obtains external network information supported by each AP in the remaining AP list.
Optionally, the present embodiment may further include the following steps 308-:
308. and the STA acquires the delay query time, and sends a GAS recovery request message to the first AP after the delay query time.
309. And after receiving the GAS recovery request message, the first AP returns a GAS recovery response message to the STA, wherein the GAS recovery response message carries the external network information supported by each AP in the remaining AP list.
It should be noted that, if the external network information supported by each AP in the AP list is not completely sent after step 309, the STA continues to send a GAS recovery request message to the current first AP to receive a corresponding GAS recovery response message, and obtains the external network information supported by each AP in the remaining AP list.
310. The STA selects an accessible external network according to the external network information supported by each AP in the AP list, determines the AP corresponding to the external network, and associates the AP to access the external network.
In the GAS query method provided by the embodiment of the present invention, the AP list is carried in the GAS initial request message to obtain the external network information supported by the multiple APs. Compared with the prior art, the method provided by the embodiment of the invention can enable the STA to simultaneously acquire the external network information supported by the plurality of APs, so that the accessible network can be determined more quickly, the power consumption can be reduced, and the power supply can be saved.
Yet another embodiment of the present invention provides a GAS query method, which can query external network information supported by multiple APs when the APs use an asynchronous response mechanism, as shown in fig. 5, where the method includes:
501. and the STA starts a GAS query mechanism, determines a GAS query object, and generates an AP list according to the GAS query object, wherein the AP list comprises the identification of each AP in the GAS query object.
Specifically, the GAS query object may be all APs detected by the STA through scanning, or may be an identifier of a part of APs in all APs detected by the STA, which is not limited herein.
502. And the STA determines a first initial query object from the GAS query objects as a first AP and sends a GAS initial request message to the first AP.
Specifically, the STA may randomly select one AP from the AP list as the first AP, or may select one AP as the first AP according to a user instruction, which is not limited herein.
It should be noted that the GAS initial request message further includes an inquiry request, where the inquiry request is used to instruct the AP that receives the GAS inquiry initial request message to inquire the external network information supported by each AP in the AP list.
503. And the first AP receives a GAS initial request message sent by the STA, analyzes the GAS initial request message and acquires the identifier of each AP in the AP list.
504. And the first AP sends the query request and the identification of each AP in the AP list to an AS to acquire the external network information supported by each AP in the AP list, wherein the AS can provide the external network information supported by each AP.
505. And the first AP sends a GAS initial response message to the STA, wherein the GAS initial response message carries delay query time, so that the STA sends a GAS recovery request message to the current AP according to the delay query time.
506. And the first AP acquires an inquiry response message returned by the AS, wherein the inquiry response message comprises external network information supported by each AP in the AP list.
507. And when the STA acquires the delay query time, sending a GAS recovery request message to the first AP according to the delay query time.
508. And after receiving the GAS recovery request message, the first AP returns a GAS recovery response message to the STA, wherein the GAS recovery response message carries the external network information supported by each AP in the AP list.
It should be noted that, if the length of the query response message returned by the AS is too long, which results in that the GAS recovery response message cannot carry the external network information supported by each AP in the AP list at one time, the first AP may send the external network information supported by each AP in the AP list to the STA through the GAS recovery request message of the STA. For example, the first AP may set a first indication identifier in the GAS recovery response message, where the first indication identifier is used to instruct the STA to continue to sequentially send at least one GAS recovery request message to the current first AP to receive the corresponding GAS recovery response message, and obtain external network information supported by each AP in the remaining AP list.
509. The STA selects an accessible external network according to the external network information supported by each AP in the AP list, determines the AP corresponding to the external network, and associates the AP to access the external network.
The GAS query method provided by the embodiment of the invention can acquire the external network information supported by a plurality of APs by carrying the AP list in the GAS initial request message when the APs adopt an asynchronous response mechanism. Compared with the prior art, the method provided by the embodiment of the invention can enable the STA to simultaneously acquire the external network information supported by the plurality of APs, so that the accessible network can be determined more quickly, the power consumption can be reduced, and the power supply can be saved.
Another embodiment of the present invention provides an AP, which is capable of implementing the method on the AP side in the foregoing method embodiment, as shown in fig. 6, where the AP includes:
a first receiving unit 61, configured to receive a GAS initial request message sent by an STA, where the GAS initial request message includes an AP list;
an obtaining unit 62, configured to obtain external network information supported by each AP in the AP list;
a first sending unit 63, configured to send the external network information supported by each AP in the AP list to the STA.
Specifically, the GAS initial request message received by the first receiving unit 61 further includes an inquiry request, where the inquiry request is used to instruct a current AP to inquire external network information supported by each AP in the AP list, where the AP list includes identifiers of all APs detected by the STA, or identifiers of a part of APs in all APs detected by the STA, but is not limited thereto.
Further, as shown in fig. 7, the obtaining unit 62 includes a first transmitting subunit 621 and a first receiving subunit 622, where:
the first sending subunit 621 is configured to send the query request and the identifier of each AP in the AP list to an advertisement server, where the advertisement server is configured to provide external network information supported by each AP;
the first receiving subunit 622 is configured to receive an inquiry response message returned by the announcement server, where the inquiry response message includes external network information supported by each AP in the AP list.
Further, as shown in fig. 8, the first sending unit 63 includes a second sending subunit 631, configured to send a GAS initial response message to the STA when the current AP employs a synchronization response mechanism, where the GAS initial response message includes external network information supported by each AP in the AP list.
Specifically, the second sending subunit 631 is further configured to, when the length of the query response message is too long, cause the GAS initial response message to be unable to carry the external network information supported by each AP in the AP list at one time, carry a delay query time in the GAS initial response message, so that after the STA passes through the carried delay query time, sequentially send at least one GAS recovery request message to the current AP to receive a corresponding GAS recovery response message, and obtain the remaining external network information supported by each AP in the AP list, where the external network information supported by the AP includes a roaming alliance list, QOS mapping of the external network, and 3GPP cellular network information.
Further, as shown in fig. 9, the first sending unit 63 further includes a third sending subunit 632, a second receiving subunit 633 and a fourth sending subunit 634, where:
the third sending subunit 632 is configured to send, when the current AP employs an asynchronous response mechanism, an GAS initial response message to the STA, where the GAS initial response message carries a delay query time, so that the STA sends, after the delay query time, a GAS recovery request message to the current AP;
the second receiving sub-unit 633 is configured to receive a GAS recovery request message sent by the STA;
the fourth transmitting subunit 634 is configured to transmit a GAS recovery response message to the STA, where the GAS recovery response message includes external network information supported by each AP in the AP list.
Specifically, the fourth sending subunit 634 is further configured to set a first indication identifier in the GAS recovery response message when the length of the query response message is too long, so that the GAS recovery response message cannot carry the external network information supported by each AP in the AP list at one time, where the first indication identifier is used to instruct the STA to continue to send at least one GAS recovery request message to the current AP in sequence to receive the corresponding GAS recovery response message, and obtain the remaining external network information supported by each AP in the AP list, where the external network information supported by the AP includes a roaming alliance list, a QOS mapping of an external network, and 3GPP cellular network information.
The AP provided in the embodiment of the present invention can perform GAS query, the first receiving unit 51 acquires an AP list, the acquiring unit 52 acquires external network information supported by each AP in the AP list, and the first sending unit 53 sends the external network information supported by each AP in the AP list to the STA. Compared with the prior art, the AP provided by the embodiment of the invention can enable the STA to simultaneously acquire the external network information supported by a plurality of APs, so that the accessible network can be determined more quickly, the power consumption can be reduced, and the power supply can be saved.
Another embodiment of the present invention further provides a station STA, which is capable of implementing the method on the STA side in the foregoing method embodiment, and as shown in fig. 10, the STA includes:
a second sending unit 101, configured to send a GAS initial request message to a first access point AP, so that the first AP obtains external network information, where the GAS initial request message includes an AP list;
a second receiving unit 102, configured to receive a GAS initial response message returned by the first AP, and obtain, according to the GAS initial response message, external network information supported by each AP in the AP list.
Specifically, the GAS initial request message sent by the second sending unit 101 further includes an inquiry request, where the inquiry request is used to instruct the first AP to inquire external network information supported by each AP in the AP list;
further, as shown in fig. 11, the STA further includes:
a determining unit 103, configured to determine an AP list, where the AP list includes identifiers of all APs detected by a current STA, or identifiers of a part of APs in all APs detected by the current STA, where the identifiers of the part of APs include an identifier of an AP selected by the current STA according to a user instruction, or an identifier of an AP that meets a preset rule of the STA among all APs detected by the current STA.
Further, as shown in fig. 12, the second receiving unit 102 includes a third receiving subunit 1021 and a first obtaining subunit 1022, and the STA specifically further includes a third sending unit 104 and a third receiving unit 105, where:
a third receiving subunit 1021 is configured to receive, when the first AP employs a synchronous response mechanism, the GAS initial response message, where the GAS initial response message includes external network information supported by each AP in the AP list;
the first obtaining subunit 1022 is configured to obtain, from the GAS initial response message, external network information supported by each AP in the AP list.
Specifically, the third sending unit 104 is configured to, when the GAS initial response message received by the third receiving subunit 1021 carries a delay query time, sequentially send at least one GAS recovery request message to the first AP after the delay query time is carried, so as to receive a corresponding GAS recovery response message;
the third receiving unit 105 is configured to receive a GAS recovery response message returned by the first AP, and obtain external network information supported by each AP in the remaining AP list, where the external network information supported by the AP includes a roaming alliance list, QOS mapping of an external network, and 3GPP cellular network information.
According to the AP shown in fig. 11, further, as shown in fig. 13, the second receiving unit 102 includes a fourth receiving sub-unit 1023, and the STA specifically further includes a fourth transmitting unit 106 and a fourth receiving unit 107, where:
the fourth receiving subunit 1023 is configured to receive a GAS initial response message returned by the first AP when the asynchronous response mechanism is adopted by the first AP, where the GAS initial response message includes a delay query time.
The fourth sending unit 106 is configured to send a GAS recovery request message to the first AP after the delay query time elapses, so as to obtain a GAS recovery response message returned by the first AP;
the fourth receiving unit 107 is configured to receive a GAS recovery response message returned by the first AP, and acquire, from the GAS recovery response message, external network information supported by each AP in the AP list, where the GAS recovery response message includes the external network information supported by each AP in the AP list.
Further, as shown in fig. 14, the STA further includes a fifth transmitting unit 108 and a fifth receiving unit 109, where:
a fifth sending unit 108, configured to, when the GAS recovery response message received by the fourth receiving unit 107 carries the delay query time, sequentially send at least one GAS recovery request message to the first AP after the delay query time is carried, so as to receive a corresponding GAS recovery response message;
the fifth receiving unit 109 is configured to receive the GAS recovery response message returned by the AP, and obtain the external network information supported by each AP in the remaining AP list, where the external network information supported by the AP includes a roaming alliance list, a QOS mapping of an external network, and 3GPP cellular network information.
The STA provided by the embodiment of the present invention can perform GAS query, and a second sending unit 101 sends a GAS initial request message to a first sending unit, where the GAS initial request message carries an AP list; the second receiving unit 102 receives the GAS initial response message returned by the first AP, and further obtains the external network information supported by each AP in the AP list. Compared with the prior art, the STA provided by the embodiment of the invention can simultaneously acquire the external network information supported by the plurality of APs, can determine the accessible network more quickly, and can reduce the power consumption and save the power supply.
An embodiment of the present invention further provides a generic advertisement service GAS query system, including the access point AP shown in fig. 6 to 9 and the station STA shown in fig. 10 to 14
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part of the technical solutions contributing to the prior art may be embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a hard disk, or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (29)

1. A method for querying a Generic Advertisement Service (GAS), comprising:
an Access Point (AP) receives a GAS initial request message sent by a Station (STA), wherein the GAS initial request message comprises an AP list, the AP list comprises identifications of all APs detected by the STA or identifications of part of APs in all APs detected by the STA, and the AP list comprises the APs;
acquiring external network information supported by each AP in the AP list;
and sending the external network information supported by each AP in the AP list to the STA.
2. The method of claim 1, wherein the GAS initial request message further includes a query request, and wherein the query request is used to instruct a current AP to query external network information supported by APs in the AP list.
3. The method according to claim 2, wherein the obtaining the external network information supported by each AP in the AP list comprises:
sending the query request and the identification of each AP in the AP list to an announcement server, wherein the announcement server is used for providing external network information supported by each AP;
and receiving an inquiry response message returned by the notification server, wherein the inquiry response message comprises external network information supported by each AP in the AP list.
4. The method according to claim 3, wherein when the current AP employs a synchronization response mechanism, the sending external network information supported by each AP in the AP list to the STA comprises:
and sending a GAS initial response message to the STA, wherein the GAS initial response message comprises external network information supported by each AP in the AP list.
5. The method according to claim 4, wherein when the length of the query response message is too long, which results in that the GAS initial response message cannot carry the external network information supported by each AP in the AP list at one time, the GAS initial response message carries a delay query time, so that after the STA passes the delay query time, the STA sequentially sends at least one GAS recovery request message to the current AP to receive the corresponding GAS recovery response message, and obtains the remaining external network information supported by each AP in the AP list.
6. The method according to claim 3, wherein when the current AP employs an asynchronous response mechanism, the sending external network information supported by each AP in the AP list to the STA comprises:
after the query request and the identifiers of the APs in the AP list are sent to an announcement server, sending an GAS initial response message to the STA, where the GAS initial response message carries a delay query time, so that the STA sends a GAS recovery request message to a current AP after the delay query time elapses;
after receiving the query response message returned by the announcement server, the method further includes:
receiving a GAS recovery request message sent by the STA;
and sending a GAS recovery response message to the STA, wherein the GAS recovery response message comprises external network information supported by each AP in the AP list.
7. The method according to claim 6, wherein when the length of the query response message is too long, which results in that the GAS recovery response message cannot carry the external network information supported by each AP in the AP list at one time, a first indication identifier is set in the GAS recovery response message, where the first indication identifier is used to instruct the STA to continue to sequentially send at least one GAS recovery request message to a current AP to receive a corresponding GAS recovery response message, and to obtain the remaining external network information supported by each AP in the AP list.
8. The method of any of claims 1-7, wherein the external network information supported by the AP comprises a roaming alliance list, quality of service (QOS) mapping of external networks, and 3GPP cellular network information.
9. A method for querying a Generic Advertisement Service (GAS), comprising:
an STA sends a GAS initial request message to a first AP (access point) so that the first AP can acquire external network information, wherein the GAS initial request message comprises an AP list, the AP list comprises identifications of all APs detected by the STA or identifications of part of APs in all APs detected by the STA, and the AP list comprises the first AP;
and receiving a GAS initial response message returned by the first AP, and acquiring the external network information supported by each AP in the AP list according to the GAS initial response message.
10. The method according to claim 9, wherein the GAS initial request message further includes a query request, and the query request is used to instruct the first AP to query external network information supported by each AP in the AP list;
before sending the GAS initial request message to the first access point AP, the method further includes:
and determining an AP list, wherein the identifiers of the partial APs comprise identifiers of APs selected by the current STA according to user instructions, or identifiers of APs meeting the preset rules of the STA in all the APs detected by the current STA.
11. The method according to claim 10, wherein when the first AP employs a synchronous response mechanism, the receiving a GAS initial response message returned by the first AP, and the obtaining external network information supported by each AP in the AP list according to the GAS initial response message comprises:
receiving the GAS initial response message, wherein the GAS initial response message comprises external network information supported by each AP in the AP list;
and acquiring the external network information supported by each AP in the AP list from the GAS initial response message.
12. The method according to claim 11, wherein when the GAS initial response message cannot carry the external network information supported by each AP in the AP list at one time, the first AP carries a delay query time in the GAS initial response message, so that after the current STA passes the delay query time, at least one GAS recovery request message is sequentially sent to the first AP to receive the corresponding GAS recovery response message, and the remaining external network information supported by each AP in the AP list is obtained therefrom.
13. The method according to claim 10, wherein when the first AP employs an asynchronous response mechanism, the receiving a GAS initial response message returned by the first AP, and the obtaining the external network information supported by each AP in the AP list according to the GAS initial response message comprises:
receiving a GAS initial response message returned by the first AP, wherein the GAS initial response message comprises a delay query time;
after the delay query time, sending a GAS recovery request message to the first AP to acquire a GAS recovery response message returned by the first AP;
receiving a GAS recovery response message returned by the first AP, wherein the GAS recovery response message comprises external network information supported by each AP in the AP list;
and acquiring the external network information supported by each AP in the AP list from the GAS recovery response message.
14. The method according to claim 13, wherein when the GAS recovery response message cannot carry the external network information supported by each AP in the AP list at one time, the first AP carries a delay query time in the GAS recovery response message, so that after the current STA passes the delay query time, at least one GAS recovery request message is sequentially sent to the first AP to receive the corresponding GAS recovery response message, and the remaining external network information supported by each AP in the AP list is obtained therefrom.
15. The method of any of claims 9-14, wherein the external network information supported by the AP comprises a roaming alliance list, quality of service QOS mapping of external networks, 3GPP cellular network information.
16. An access point, AP, comprising:
a first receiving unit, configured to receive a GAS initial request message sent by a station STA, where the GAS initial request message includes an AP list, where the AP list includes identifiers of all APs detected by the STA or identifiers of a part of APs in all APs detected by the STA, and the AP list includes the APs;
an obtaining unit, configured to obtain external network information supported by each AP in the AP list;
a first sending unit, configured to send external network information supported by each AP in the AP list to the STA.
17. The AP of claim 16, wherein the GAS initial request message received by the first receiving unit further includes an inquiry request, and the inquiry request is used to instruct a current AP to inquire external network information supported by each AP in the AP list.
18. The AP of claim 17, wherein the obtaining unit comprises:
a first sending subunit, configured to send the query request and an identifier of each AP in the AP list to an announcement server, where the announcement server is configured to provide external network information supported by each AP;
a first receiving subunit, configured to receive an inquiry response message returned by the notification server, where the inquiry response message includes external network information supported by each AP in the AP list.
19. The AP of claim 18, wherein the first sending unit comprises:
a second sending subunit, configured to send, to the STA, a GAS initial response message when the current AP employs a synchronization response mechanism, where the GAS initial response message includes external network information supported by each AP in the AP list.
20. The AP of claim 19, wherein the second sending subunit is further configured to, when the length of the query response message is too long, so that the GAS initial response message cannot carry the external network information supported by each AP in the AP list at one time, carry a delay query time in the GAS initial response message, so that after the STA passes the delay query time, sequentially send at least one GAS recovery request message to the current AP to receive a corresponding GAS recovery response message, and obtain the external network information supported by each AP in the remaining AP list, where the external network information supported by the AP includes a roaming alliance list, QOS mapping of external networks, and 3GPP cellular network information.
21. The AP of claim 18, wherein the first sending unit further comprises:
a third sending subunit, configured to send, when the current AP employs an asynchronous response mechanism, an GAS initial response message to the STA, where the GAS initial response message carries a delay query time, so that the STA sends, after the delay query time, a GAS recovery request message to the current AP;
a second receiving subunit, configured to receive a GAS recovery request message sent by the STA;
a fourth sending subunit, configured to send a GAS recovery response message to the STA, where the GAS recovery response message includes external network information supported by each AP in the AP list.
22. The AP of claim 21, wherein the fourth sending subunit is further configured to set a first indication identifier in the GAS recovery response message when the length of the query response message is too long, so that the GAS recovery response message cannot carry all external network information supported by the APs in the AP list at one time, where the first indication identifier is used to instruct the STA to continue to send at least one GAS recovery request message to the current AP in sequence to receive the corresponding GAS recovery response message, and obtain the external network information supported by the APs in the remaining AP list from the GAS recovery response message, where the external network information supported by the APs includes a roaming alliance list, QOS mapping of external networks, and 3GPP cellular network information.
23. A Station (STA), comprising:
a second sending unit, configured to send a GAS initial request message to a first AP, so that the first AP obtains external network information, where the GAS initial request message includes an AP list, where the AP list includes identifiers of all APs detected by the STA or identifiers of some APs in all APs detected by the STA, and the AP list includes the first AP;
a second receiving unit, configured to receive a GAS initial response message returned by the first AP, and obtain, according to the GAS initial response message, external network information supported by each AP in the AP list.
24. The station STA of claim 23, wherein the GAS initial request message sent by the second sending unit further includes an inquiry request, and the inquiry request is used to instruct the first AP to inquire external network information supported by each AP in the AP list;
the station further comprises:
and the determining unit is used for determining the AP list, wherein the identifiers of the partial APs comprise identifiers of APs selected by the current STA according to user instructions, or identifiers of APs meeting the STA self preset rules in all the APs detected by the current STA.
25. The station STA of claim 24, wherein the second receiving unit comprises:
a third receiving subunit, configured to receive, when the first AP employs a synchronous response mechanism, the GAS initial response message, where the GAS initial response message includes external network information supported by each AP in the AP list;
a first obtaining subunit, configured to obtain, from the GAS initial response message, external network information supported by each AP in the AP list.
26. The station STA of claim 25, wherein the station further comprises:
a third sending unit, configured to, when the GAS initial response message received by the third receiving subunit carries a delay query time, sequentially send at least one GAS recovery request message to the first AP after the delay query time is carried, so as to receive a corresponding GAS recovery response message;
a third receiving unit, configured to receive a GAS recovery response message returned by the first AP, and obtain, from the GAS recovery response message, external network information supported by each AP in the remaining AP list, where the external network information supported by the AP includes a roaming alliance list, QOS mapping of an external network, and 3GPP cellular network information.
27. The station STA of claim 24, wherein the second receiving unit comprises:
a fourth receiving subunit, configured to receive, when the first AP employs an asynchronous response mechanism, a GAS initial response message returned by the first AP, where the GAS initial response message includes a delay query time;
the station further comprises:
a fourth sending unit, configured to send a GAS recovery request message to the first AP after the delay query time elapses, so as to obtain a GAS recovery response message returned by the first AP;
a fourth receiving unit, configured to receive a GAS recovery response message returned by the first AP, and acquire, from the GAS recovery response message, external network information supported by each AP in the AP list, where the GAS recovery response message includes the external network information supported by each AP in the AP list.
28. The station STA of claim 27, wherein the station further comprises:
a fifth sending unit, configured to, when the GAS recovery response message received by the fourth receiving unit carries the delay query time, sequentially send at least one GAS recovery request message to the first AP after the delay query time is carried, so as to receive a corresponding GAS recovery response message;
a fifth receiving unit, configured to receive a GAS recovery response message returned by the AP, and obtain, from the received GAS recovery response message, external network information supported by each AP in the remaining AP list, where the external network information supported by the AP includes a roaming alliance list, QOS mapping of an external network, and 3GPP cellular network information.
29. A generic advertisement service, GAS, inquiry system, comprising an access point, AP, according to any of claims 16 to 22 and a station, STA, according to any of claims 23 to 28.
CN201610459184.7A 2011-11-01 2011-11-01 GAS (generic Access service) query method and device Active CN106131925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610459184.7A CN106131925B (en) 2011-11-01 2011-11-01 GAS (generic Access service) query method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110340110.9A CN103096422B (en) 2011-11-01 2011-11-01 GAS query method and device
CN201610459184.7A CN106131925B (en) 2011-11-01 2011-11-01 GAS (generic Access service) query method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201110340110.9A Division CN103096422B (en) 2011-11-01 2011-11-01 GAS query method and device

Publications (2)

Publication Number Publication Date
CN106131925A CN106131925A (en) 2016-11-16
CN106131925B true CN106131925B (en) 2020-01-03

Family

ID=48191281

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201110340110.9A Active CN103096422B (en) 2011-11-01 2011-11-01 GAS query method and device
CN201610459184.7A Active CN106131925B (en) 2011-11-01 2011-11-01 GAS (generic Access service) query method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201110340110.9A Active CN103096422B (en) 2011-11-01 2011-11-01 GAS query method and device

Country Status (2)

Country Link
CN (2) CN103096422B (en)
WO (1) WO2013063957A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2901765A4 (en) 2012-10-19 2015-12-02 Huawei Tech Co Ltd System and method for efficient communications system scanning
US9622156B2 (en) 2012-10-19 2017-04-11 Futurewei Technologies, Inc. System and method for efficient access network query protocol (ANQP) discovery of multiple access points (APs)
KR102127461B1 (en) * 2013-08-06 2020-06-26 에스케이텔레콤 주식회사 Method for providing advertisement service of wireless lan network and terminal using thereof
WO2015081520A1 (en) * 2013-12-04 2015-06-11 华为技术有限公司 Wi-fi system-based method and device for establishing a link between stations
CN104754642B (en) * 2013-12-30 2019-03-01 华为终端(东莞)有限公司 A kind of service-seeking method, apparatus and system and website
KR102262869B1 (en) * 2014-08-04 2021-06-09 삼성전자주식회사 Electronic device and method for controlling information exchange in electronic device
GB2552844A (en) 2016-08-12 2018-02-14 Nec Corp Communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047879A (en) * 2006-03-30 2007-10-03 上海宇梦通信科技有限公司 USSD transmission method for multi-bar disconnection and containing simple multimedia information
CN101047664A (en) * 2006-06-09 2007-10-03 华为技术有限公司 Method and device for implementing multi-target service or operation
CN101146338A (en) * 2006-09-11 2008-03-19 华为技术有限公司 Method and radio terminal for preventing from multicast lock and radio access point and communication system
CN101159520A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Data transmission method
CN101682539A (en) * 2007-06-01 2010-03-24 Lg电子株式会社 Scanning procedure in wireless lan, station supporting the same, and frame format therefor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018397B (en) * 2006-02-10 2010-07-28 华为技术有限公司 A method configuring the link parameter for the link
GB2448003A (en) * 2007-03-08 2008-10-01 Siemens Ag Controlling information requests in a communications network to prevent congestion
CN101779417B (en) * 2007-07-04 2013-02-06 Lg电子株式会社 Interworking procedure with external network in wireless lan and message format for the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047879A (en) * 2006-03-30 2007-10-03 上海宇梦通信科技有限公司 USSD transmission method for multi-bar disconnection and containing simple multimedia information
CN101047664A (en) * 2006-06-09 2007-10-03 华为技术有限公司 Method and device for implementing multi-target service or operation
CN101146338A (en) * 2006-09-11 2008-03-19 华为技术有限公司 Method and radio terminal for preventing from multicast lock and radio access point and communication system
CN101682539A (en) * 2007-06-01 2010-03-24 Lg电子株式会社 Scanning procedure in wireless lan, station supporting the same, and frame format therefor
CN101159520A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Data transmission method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, Amendment 9;IEEE Computer Society;《LAN/MAN Standards Committee of the IEEE Computer Society》;20110225;参见第5.4.8,5.9,7.3.4,7.4.7,11.23.2-11.23.9节,图11-24,11-26 *

Also Published As

Publication number Publication date
CN103096422B (en) 2016-07-27
WO2013063957A1 (en) 2013-05-10
CN106131925A (en) 2016-11-16
CN103096422A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
RU2693592C1 (en) Method, device and a computer program product for a service detection proxy session for wireless communication
CN106131925B (en) GAS (generic Access service) query method and device
JP6158198B2 (en) System and method for fast initial network link setup
JP6138809B2 (en) System and method for fast initial network link setup
JP6073344B2 (en) System and method for fast initial network link setup
JP5792395B2 (en) System and method for fast initial network link setup
JP5976823B2 (en) System and method for fast initial network link setup
EP2769576B1 (en) Method, apparatus, and computer program product for filtering list in wireless request
JP6129862B2 (en) System and method for fast initial network link setup
CN108029091B (en) Broadcast ranging messages for WLAN RTT measurements
US8463175B2 (en) Method, apparatus, and computer program product for wireless network discovery through passive and active scanning
EP3297337B1 (en) Access point, wireless terminal, storage medium and method utilizing pointer signal to communicate in available channel
US20150350974A1 (en) Enhancement for bss transition, load balancing and ap selection
US10264549B2 (en) Method for indicating cell coverage enhancement mode and base station
JP6430252B2 (en) System and method for fast initial network link setup
US9603082B2 (en) Feedback method for active scanning of user terminal, and access point
CN103491569A (en) Method, apparatus, and computer program product for wireless short-range communication disconnection
WO2014005515A1 (en) Method, device and system for scanning for access points and performing channel selection in a wireless fidelity network
CN104937907A (en) Systems and methods for the discovery of services on a wireless network
US20150195711A1 (en) Method and System for Terminal to Access Network and Terminal
US10129730B2 (en) Wireless terminal, search process method for wireless terminal, and wireless communication system
WO2014022961A1 (en) Cell selection method, user equipment and network node
WO2014101028A1 (en) Method, device, and system for scanning wireless local area network access point
TW201438501A (en) Base stations, mobile communication devices, and connection assistance methods thereof
US20140241332A1 (en) System and Method for Indicating and Acquiring Information of an Access Point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant