WO2015042922A1 - Method and device for querying wireless access point and network system - Google Patents

Method and device for querying wireless access point and network system Download PDF

Info

Publication number
WO2015042922A1
WO2015042922A1 PCT/CN2013/084632 CN2013084632W WO2015042922A1 WO 2015042922 A1 WO2015042922 A1 WO 2015042922A1 CN 2013084632 W CN2013084632 W CN 2013084632W WO 2015042922 A1 WO2015042922 A1 WO 2015042922A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
access point
wireless access
indication information
terminal device
Prior art date
Application number
PCT/CN2013/084632
Other languages
French (fr)
Chinese (zh)
Inventor
陈济
丁志明
杨云松
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to PCT/CN2013/084632 priority Critical patent/WO2015042922A1/en
Publication of WO2015042922A1 publication Critical patent/WO2015042922A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and network system for querying a wireless access point. Background technique
  • the typical network structure of WiFi includes a wireless access point (AP) that is responsible for the central control function and a STA (Station) associated with the AP.
  • AP wireless access point
  • STA Station
  • the STA can query the AP by actively detecting the request message by using the probe request request message when querying the AP.
  • the probe request message carries the condition of the STA query.
  • the AP may return a probe response message to the STA, so that the STA discovers the AP and then accesses the WiFi network.
  • the inventors have discovered that when a STA that supports a revised version of the 802.1 1 (WiFi standard) is queried by broadcasting a specific probe request message carrying the information required by the 802.1 1 revision.
  • the legacy AP supporting the 802.11 version skips the information required by the 802.1 1 revision when parsing the probe request message, so that the STA not only The probe response message fed back by the supported new AP that is queried by the STA is received, and a probe response message that is not fed back by the traditional AP may be received.
  • the embodiments of the present invention provide a wireless access point query method, device, and network system, which can improve the utilization of network wireless resources and reduce the power consumption of the terminal device.
  • the first aspect provides a method for querying a wireless access point, including:
  • the probe request message sent by the terminal device receives, by the wireless access point, the probe request message sent by the terminal device, where the service set identifier field in the probe request message includes indication information, where the indication information is used to indicate to the wireless access point that the terminal device is to be searched
  • the type of the wireless access point includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset character string, and a preset identifier;
  • the wireless access point determines whether to feed back a probe response message to the terminal device according to the probe request message.
  • the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to connect to the wireless
  • the entry point indicates the service that the terminal device wants to find;
  • Determining, by the wireless access point, whether the probe response message is fed back to the terminal device according to the probe request message includes:
  • the wireless access point When the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information in the service indication information in the probe request message, the wireless access point And feeding back a probe response message to the terminal device.
  • the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless
  • the access point indicates the service that the terminal device wants to find
  • Determining, by the wireless access point, whether the probe response message is fed back to the terminal device according to the probe request message includes:
  • the wireless access point When the wireless access point identifies the indication information in the service set identifier field, And when the service indicated by the at least one service information of the service indication information in the service set identifier field is supported, the wireless access point feeds back a probe response message to the terminal device.
  • the determining, by the wireless access point, whether the probe response message is fed back to the terminal device according to the probe request message includes:
  • the wireless access point When the wireless access point identifies the indication information in the service set identifier field, the wireless access point feeds back a probe response message to the terminal device.
  • the second aspect provides a method for querying a wireless access point, including:
  • the terminal device sends a probe request cancellation to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device; where the service set identifier field in the probe request message
  • the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset keyword, At least one of a preset symbol, a preset character string, and a preset identifier.
  • the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used for the wireless
  • the access point indicates the service that the terminal device wants to find.
  • the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to The wireless access point indicates the service that the terminal device wants to find.
  • a wireless access point including:
  • An information receiving unit configured to receive a probe request message sent by the terminal device, where the service set identifier field in the probe request message includes indication information, where the indication information is used to indicate, to the wireless access point, the terminal device The type of the wireless access point that is found; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset character string, and a preset identifier;
  • a determining unit configured to cancel, according to the probe request received by the information receiving unit Determine whether to feed back a probe response message to the terminal device.
  • the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to connect to the wireless
  • the entry point indicates the service that the terminal device wants to find;
  • the determining unit is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and support the service indicated by the at least one service information in the service indication information in the probe request message The wireless access point feeds back a probe response message to the terminal device.
  • the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless
  • the access point indicates the service that the terminal device wants to find
  • the determining unit is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information of the service indication information in the service set identifier field The wireless access point feeds back a probe response message to the terminal device.
  • the determining unit is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, the wireless access point feeds back a detection response message to the terminal device.
  • the fourth aspect provides a terminal device, including:
  • An information sending unit configured to send a probe request message to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device, where the service in the probe request message
  • the set identifier field includes indication information, where the indication information is used to indicate to the wireless access point a type of a wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset At least one of a keyword, a preset symbol, a preset string, and a preset identifier.
  • the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used for the wireless
  • the access point indicates the service that the terminal device wants to find.
  • the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to The wireless access point indicates the service that the terminal device wants to find.
  • a wireless access point including:
  • a receiver configured to receive a probe request message sent by the terminal device, where the service set identifier field in the probe request message includes indication information, where the indication information is used to indicate to the wireless access point that the terminal device is to be found
  • the type of the wireless access point includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset character string, and a preset identifier;
  • a processor configured to determine, according to the probe request message, whether to feed back a probe response message to the terminal device.
  • the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to connect to the wireless
  • the entry point indicates the service that the terminal device wants to find;
  • the processor is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and support the service indicated by the at least one service information in the service indication information in the probe request message The wireless access point feeds back a probe response message to the terminal device.
  • the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless
  • the access point indicates the service that the terminal device wants to find
  • the processor is specifically configured to: when the wireless access point identifies the service set label When the indication information in the field is identified, and the service indicated by the at least one service information of the service indication information in the service set identifier field is supported, the wireless access point feeds back the probe response message to the terminal device.
  • the processor is specifically configured to: when the wireless access point identifies the indication information in the service set identification field, the wireless access point feeds back a probe response message to the terminal device.
  • a terminal device includes:
  • the indication field includes indication information; the indication information is used to indicate to the wireless access point, the type of the wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset key At least one of a word, a preset symbol, a preset character string, and a preset identifier.
  • the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless
  • the access point indicates the service that the terminal device wants to find.
  • the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to The wireless access point indicates the service that the terminal device wants to find.
  • a network system including:
  • a terminal device configured to send a probe request message to the wireless access point, so that the wireless access, according to the probe request message, determine whether to feed back a probe response message to the terminal device; where the service in the probe request message
  • the set identifier field includes indication information, where the indication information is used to indicate to the wireless access point a type of a wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset At least one of a keyword, a preset symbol, a preset string, and a preset identifier.
  • a wireless access point configured to receive a probe request message sent by the terminal device, and configured to determine, according to the probe request message, whether to feed back a probe response message to the terminal device.
  • the wireless access point query method, device, and network system provided by the embodiment of the present invention add the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the terminal device wants to find the wireless After the access point recognizes the indication information, the access point feeds back the probe response message to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • FIG. 1 is a schematic flowchart of a method for querying a wireless access point according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for querying a wireless access point according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of still another method for querying a wireless access point according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a wireless access point according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention
  • a schematic diagram of a structure of a wireless access point
  • FIG. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a network system according to an embodiment of the present invention.
  • the embodiment provided by the present invention is applied to a scenario in which a terminal device searches for a wireless access point in a WiFi (Wireless Fidelity) network connection process, and the existing WiFi typical network structure includes wireless access for the central control function.
  • Point and STA (Station, site) associated with the wireless access point.
  • the foregoing STA may be the terminal device in the present invention, and the foregoing wireless access point may be divided into a traditional wireless access point (ie, a wireless access point supporting the WiFi 802.11 standard) and a new wireless access point ( That is, WiFi-enabled (802.1 revision) standards or other new WiFi standards (eg, 802.llu or 802.1 1 ai) wireless access points).
  • the manner in which the terminal device searches for the wireless access point before connecting to the WiFi network includes: the terminal device passively monitors the wireless access point period '1' to broadcast the beacon message to discover the existence of the wireless access point; or, the terminal device actively broadcasts The robe request probes the request message to discover the wireless access point.
  • the prior art is added to the probe request message.
  • the IE Information Element
  • the terminal device feeds back a robe response detection response message, and the useless probe response messages fed back by these conventional wireless access points occupy radio waves in the air, thereby causing waste of radio resources. Therefore, how to effectively identify these wireless access points Whether it is the wireless access that the terminal device wants to find The point is the problem to be solved by the present invention.
  • the data frame of the above probe request message is mainly composed of a frame header, a frame body, and a check FCS (Frame Check Sequence).
  • the robe request message includes three elements: Address1, Address3, and SSID (Service Set Identifier).
  • Addressl and Address3 are in the frame header of the probe request message.
  • Addressl indicates the MAC address of the receiver, and the length is 6 bytes.
  • the Addressl fills in a broadcast address. , that is, all 1;
  • Address 3 indicates the address of the wireless access point of the network, and the length is 6 bytes.
  • the Address 3 is set to one.
  • the wildcard is also all ones.
  • the above SSID belongs to an IE (Information Element) of the frame body in the frame body of the probe request message.
  • the IE in the probe request message frame body is a structure consisting of an Element ID (which is a unified number specified by the protocol), a Length (a length range of 0 to 32), and an information element body, and an IE for the SSID.
  • the information element body is the SSID field, which indicates the specific content of the SSID.
  • the Length indicates the length of the SSID field of the above information element body. When the Length is 0, the SSID is the wildcarded SSID.
  • the S SID may be a specific S SID value or a wildcard SSID.
  • an embodiment of the present invention provides a method for querying a wireless access point.
  • the method for querying the wireless access point specifically includes the following steps:
  • the wireless access point receives a probe request message sent by the terminal device.
  • the probe request message is a probe request message, and the probe request message includes, but is not limited to: Address l Address 3 and a service set identifier field of the wireless local area network, that is, an SSID field, where the service set identifier field includes indication information; and the indication
  • the information is used to indicate to the wireless access point the type of wireless access point that the terminal device is looking for. Because the indication information is added, the content in the SSID field is not necessarily equal to the SSID named by the wireless access point that the terminal device is to find, that is, the terminal device is not necessarily equal to the terminal device.
  • the beacon (beacon frame) sent by the found wireless access point carries the content carried in the SSID field.
  • the wireless access point mentioned in the present invention may be not only a wireless access point of a private WiFi network, but also a WLAN (Wireless Local Area Networks) network provided by an operator. Wireless access point.
  • the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a combination of any one or more of a preset character string and a preset identifier.
  • the foregoing indication information may be a preset keyword; or, as a preset combination of a keyword and a symbol, the symbol may include a control character; or, as a preset character string, the string may also include There are control characters; or, it is a combination of a preset string and an identifier; or, it is a combination of a preset string and a symbol; or, it may be a combination of a preset string and a keyword.
  • the indication information may be expressed as any combination of all characters in the ASCII character set (including some control characters that are not easily input manually, such as SUB (substitute) characters in the ASCII code number 26, or numbered 27 ESC (escape) (escape, overflow) character).
  • the indication information can also be expressed as UTF-8 encoding.
  • the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device wants to find.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
  • the wireless access point determines, according to the probe request message, whether to feed back the probe response message to the terminal device.
  • the wireless access point when the wireless access point is a wireless access point to be searched by the terminal device, the wireless access point feeds back a probe response message to the terminal device according to the indication information in the probe request message.
  • the probe response message is not fed back to the terminal device.
  • the terminal device since the terminal device adds an indication letter to the SSID field in the sent probe request message Therefore, when the wireless access point to be searched by the terminal device determines whether to feed back the probe response message to the terminal device, it is not determined in the SSID field of the probe request message as described in the prior art and the terminal device desires. Whether the discovered SSID of the wireless access point itself is the same as the judgment criterion, but is determined by identifying the indication information in the SSID field in the probe request message.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • An embodiment of the present invention provides a method for querying a wireless access point.
  • the method for querying the wireless access point specifically includes the following steps:
  • the terminal device sends a probe request message to the wireless access point wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back the probe response message to the terminal device.
  • the probe request message is a probe request message, and the probe request message includes, but is not limited to: Address 1, Address 3, and a service set identifier field of the wireless local area network, that is, an SSID field, where the service set identifier field includes indication information;
  • the indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device is to find. Because the indication information is added, the content in the SSID field is not necessarily equal to the SSID named by the wireless access point that the terminal device is to find, that is, the beacon sent by the wireless access point that the terminal device is to find.
  • the content carried in the SSID field is carried in the frame.
  • the wireless access point mentioned in the present invention may be not only a wireless access point of a private WiFi network, but also a WLAN (Wireless Local Area Networks) network provided by an operator. Wireless access point.
  • the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a combination of any one or more of a preset character string and a preset identifier.
  • the above indication information can be a preset keyword; or
  • the symbol may include a control character; or, as a preset character string, the string may also include a control character; or, a preset combination of a character string and an identifier; Or, it is a combination of a preset string and a symbol; or, it may be a combination of a preset string and a keyword.
  • the indication information may be expressed as any combination of all characters in the ASCII character set (including some control characters that are not easily input manually, such as SUB (substitute) characters in the ASCII code number 26, or numbered 27 ESC (escape) (escape, overflow) character).
  • the indication information can also be expressed as UTF-8 encoding.
  • the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device wants to find.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • An embodiment of the present invention provides a method for querying a wireless access point. As shown in FIG. 3, the method for querying the wireless access point specifically includes the following steps:
  • the terminal device sends a probe request message to the wireless access point wireless access point.
  • the foregoing probe request message includes, but is not limited to: Address 1, Address 3, and a service set identifier field of the wireless local area network, where the service set identifier field includes indication information, and the indication information is used to indicate to the wireless access point The type of wireless access point found. Because the indication information is added, the content in the SSID field is not necessarily equal to the SSID named by the wireless access point that the terminal device is to find, that is, the beacon sent by the wireless access point that the terminal device is to find. Carrying in the frame) Content carried in the SSID field.
  • the wireless access point mentioned in the present invention may be not only a wireless access point of a private WiFi network, but also a wireless access point of a WLAN network provided by an operator.
  • the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a combination of any one or more of a preset character string and a preset identifier.
  • the above indication information may be a preset keyword (eg,
  • TGaq where TG is the abbreviation of Task Group, TGaq means aq task group.
  • TGaq keyword can be named at the time of actual application; or it can be preset a combination of keywords and symbols (eg,
  • TGaq-#-# where "-" and "#" are examples of specific characters, you can choose a specific character at will in the actual application; or, you can also use a preset string (such as , 80211 AdditionalMatchFilter ); Or, it can also be a combination of preset strings, preset symbols and preset identifiers (eg, "TGaq: Printer
  • 8021 1AddionalMatchFilter TGaq
  • the expression is to find the wireless access point with TGaq or TGu service in the new function of 8021 1AddionalMatchFilter); or it can be a preset control character or a combination of string and symbol; or , can also be a combination of preset strings, preset symbols, and keywords
  • the indication information is any combination of all characters that can be expressed in the ASCII character set (including some preset control characters that are not easily input manually, such as SUB (substitute) characters in the ASCII code numbered 26 , or the ESC (escape) character with the number 27.
  • the indication information can also be expressed as a UTF-8 encoding.
  • the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device is to find.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one type of service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device wants to find.
  • the wireless access point receives a probe request message sent by the terminal device.
  • the wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device.
  • the wireless access point when the wireless access point is a wireless access point to be searched by the terminal device, the wireless access point may identify the indication information in the foregoing probe request message, thereby feeding back the probe response message to the terminal device; The wireless access point is not a wireless access point that is searched by the terminal device, and the probe response message is not fed back to the terminal device.
  • the wireless access point may directly determine, according to a matching policy pre-configured in the wireless access point, whether the wireless access point meets the wireless indication indicated by the indication information.
  • the access point type if yes, indicates that the wireless access point is a wireless access point that the terminal device is to find, wherein the matching policy is an indication information table that the wireless access point can support; or, the wireless The access point can directly identify whether it conforms to the type of wireless access point indicated by the indication information.
  • the terminal device adds the indication information to the SSID field in the sent probe request message, the wireless access point to be searched by the terminal device determines whether to feed back the probe response message to the terminal device, which is not the prior art.
  • Determining whether the content in the SSID field of the probe request message is the same as the S SID named by the wireless access point itself to be searched by the terminal device is a criterion, but to identify the SSID field in the probe request message. Instructions to determine.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the service The indication information includes at least one type of service information, when the service indication information is used to indicate to the wireless access point the service supported by the terminal device.
  • step 303 specifically includes the following steps:
  • the wireless access point when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information in the service indication information in the probe request message, the wireless access point feeds back the detection to the terminal device. Response message.
  • the terminal device adds an indication message to the S SID of the probe request message sent to the wireless access point, and the indication information is a preset string, and the string is "8021 1 AdditionalMatchFilter".
  • a new IE ie, service indication information
  • 802.1 1 Additional Matching Filter IE or an existing IE, or a new 802. 1 1 Additional Matching Filter
  • the IE or the modified IE includes an information element body Filter, which contains the service information in the service indication information, and specifically, can be used to indicate to the wireless access point the service supported by the terminal device.
  • the format of the Filter section can be in a variety of ways.
  • the Filter can be in the form of a bit table.
  • the filter table is set as a preset mapping table of keywords and digits.
  • the first digit indicates TGaq
  • the second digit indicates TGai
  • the other indicates other functions, or is reserved.
  • the number of bits here is not limited to one byte, that is, eight bits, but also multiple bytes, and the length is indicated by Length.
  • the Filter can be a mapping table in the form of a Filter ID.
  • each Filter ID in the Filter table defines a function, for example, the ID of the TGaq is defined as 1, the ID of the TGai is defined as 2, and the ID of the TGu is defined as 3. Specifically, it can be specified that each Filter ID occupies one byte.
  • the terminal device sends the probe request message generated by the foregoing process to the wireless interface.
  • Incoming point when the wireless access point is a new wireless access point, the new wireless access point can directly identify whether the new wireless access point satisfies a preset string in the S SID field of the probe request message. If the determination condition is satisfied, the new wireless access point feeds back the probe response message to the terminal device, and if not, the new wireless access point does not perform any processing.
  • the new wireless access point identifies the preset character string in the SSID field of the probe request message, and determines that the wireless access point type indicated by the preset character string is satisfied, the new wireless access point continues to view the The new IE (802.1 1 Additional Matching Filter IE) carried in the probe request message or the modified IE specifically indicates which functions, if any function of the new wireless access point itself If the service function of any service information in the service indication information matches, the probe response message is fed back to the terminal device.
  • the new IE 802.1 1 Additional Matching Filter IE
  • the wireless access point is a conventional wireless access point
  • S SID is generally not named "8021 1AdditionalMatchFilter”
  • the conventional wireless access point receives the probe request message After that, the S SID of the traditional wireless access point itself cannot match the S SID in the probe request message, and the probe response message is not fed back.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the service indication information includes at least one type of service information, where the service indication information is used to indicate a service supported by the terminal device to the wireless access point.
  • step 303 specifically includes the following steps:
  • the wireless access point when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information of the service indication information in the service set identifier field, the wireless access point feeds back the probe response to the terminal device. Message.
  • the foregoing indication information is a preset keyword
  • the service indication information for example, "TGaq: Printer] Scanner
  • the foregoing preset keyword specifically refers to "TGaq”
  • the service indicated in the foregoing service indication information specifically includes a printer service (Scanner) and a scanner service (Scanner), and the above indication information is "TGaq: Printer
  • the Scanner is specifically used to indicate that the wireless access point that the terminal device is looking for has the TGaq function and supports the printer service or the scanner service.
  • Scanner” " can express the relationship or, of course, the "&” symbol can also be used to indicate the relationship with "," “TGaq: Printer&Scanner” means that the wireless access point that the terminal device is looking for has TGaq function, and supports printer business and scanner. business.
  • the terminal request message is sent to the wireless access point, and when the wireless access point is a new wireless access point, the new type of wireless access
  • the point can directly identify the indication information in the probe request message, and then the new wireless access point determines whether it supports the TGaq function according to the "TGaq" in the indication information, and if so, determines whether the new wireless access point is Supports Printer and/or Scanner services. If the new wireless access point supports the printer service and any one of the services in the Scanner service, the new wireless access point is the wireless access point that the terminal device is looking for.
  • the terminal device feeds back the probe response message.
  • the wireless access point is a conventional wireless access point
  • S SID is generally not named "TGaq: Printer] Scanner”
  • the conventional wireless access point receives the After the probe request message, the S SID of the conventional wireless access point itself cannot match the S SID in the probe request message, and the probe response message is not fed back.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • step 303 specifically includes the following steps:
  • the wireless access point When the wireless access point identifies the indication information in the probe request message and satisfies the type of the wireless access point indicated by the indication information, the wireless access point feeds the probe response message to the terminal device.
  • the indication information included in the SSID in the probe request message is combined, that is, whether the indication information is a separate preset keyword or a preset keyword and a preset Combination of a string or other combination of characters, as long as the wireless access point identifies the indication information in the probe request message (ie, the wireless access point satisfies the type of wireless access point indicated by the indication information)
  • the wireless access point will feed back the probe response message to the terminal device.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the method further includes:
  • the wireless access point acquires the second service set identifier of the wireless access point.
  • step 303 specifically includes the following steps:
  • the wireless access point matches the service set identifier with the second service set identifier.
  • the wireless access point does not feed back the probe response message.
  • the wireless access point that the terminal device wants to find is a new type of wireless access point
  • the traditional wireless access point finds that the probe request message is that the terminal device is broadcast. After determining that it needs to be processed, first obtaining the S SID IE of the traditional wireless access point, and then sequentially determining the Address 3 and the SSID IE in the probe request message, and discovering the SSID IE in the probe request message.
  • the Length is not 0, not the wildcard S SID, and then the SSID in the probe request message is matched with the S SID of the legacy wireless access point, and the S SIDs of the two are not the same, therefore, the traditional wireless The access point knows that it does not need to process the probe request message, that is, the traditional wireless access point discards the probe request message, and thus does not send a probe response message to the terminal device.
  • the wireless access point query method adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the wireless access point 4 includes: an information receiving unit 41 and a determining unit 42, where:
  • the information receiving unit 41 is configured to receive a probe request message sent by the terminal device.
  • the service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
  • the determining unit 42 is configured to determine, according to the probe request message received by the information receiving unit 41, whether the probe response cancellation is fed back to the terminal device.
  • the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
  • the determining unit 42 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by any service information in the service indication information in the probe request message, the wireless access point to the terminal Device feedback detection response cancellation, 3 ⁇ 4.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one type of service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
  • the determining unit 42 is specifically configured to: when the wireless access point identifies the service set identifier field When the indication information in the information and the service indicated by any service information of the service indication information in the service set identifier field is supported, the wireless access point feeds back the probe response cancellation to the terminal device, 3 ⁇ 4.
  • the determining unit 42 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, the wireless access point feeds back the probe response message to the terminal device.
  • the wireless access point provided by the embodiment of the present invention adds the indication information by using the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the terminal device 5 includes: an information sending unit 5 1 , where:
  • the information sending unit 5 1 is configured to send a probe request message to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back the probe response message to the terminal device.
  • the service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
  • the foregoing probe request message further includes service indication information; the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • a terminal device provided by an embodiment of the present invention, by using wireless access in a terminal device
  • the service set identifier field in the probe request message sent by the point joins the indication information, so that the wireless access point that the terminal device wants to find feeds back the probe response message to the terminal device after identifying the indication information, and the other wireless access points do not Feedback, thereby improving the utilization of wireless network resources, while reducing the power consumption of the terminal equipment.
  • the wireless access point 6 includes: a receiver 61 and a processor 62, where:
  • the receiver 61 is configured to receive a probe request message sent by the terminal device.
  • the service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
  • the processor 62 is configured to determine, according to the probe request message, whether to feed back the probe response message to the terminal device.
  • the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the processor 62 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information in the service indication information, feeding back the probe response message to the terminal device.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the processor 62 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information of the service indication information in the information, The probe response message is fed back to the terminal device.
  • the processor 62 is specifically configured to: when the wireless access point identifies the service set identifier The indication information in the identification field is fed back to the terminal device for the probe response message.
  • the wireless access point provided by the embodiment of the present invention adds the indication information by using the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the terminal device 7 includes: a transmitter 71, where
  • the transmitter 7 1 is configured to send a probe request message to the wireless access point, so that the wireless access point determines whether to feed back the probe response message to the terminal device according to the probe request message.
  • the service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
  • the foregoing probe request message further includes service indication information; the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the terminal device provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the indication information.
  • the probe response message is sent back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the network system 8 includes: a terminal device 81 and a wireless access point 82, where:
  • the terminal device 81 is configured to send a probe request message to the wireless access point 82, so that the wireless access point 82 determines, according to the probe request message, whether to feed back a probe response message to the terminal device 81.
  • the field contains indication information; the indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device is to find.
  • the wireless access point 82 is configured to receive a probe request message sent by the terminal device 81; and determine, according to the probe request message, whether to feed back the probe response message to the terminal device 81.
  • the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a preset string, and a preset identifier.
  • the foregoing probe request message further includes service indication information; the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
  • the network system provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the indication information.
  • the probe response message is sent back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • Another point, the mutual coupling or direct coupling or communication connection shown or discussed The connection may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • each functional unit may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit.
  • the above units may be implemented in the form of hardware or in the form of hardware plus software functional units.
  • All or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiments;
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.

Abstract

Disclosed are a method and device for querying a wireless access point and a network system, which relate to the field of communications, and can improve the utilization rate of network wireless resources, and reduce the power consumption of a terminal device at the same time. The specific implementation method comprises: receiving, by a wireless access point, a detection request message sent by a terminal device, wherein a service set identification field in the detection request message comprises indication information, the indication information is used for indicating to the wireless access point the type of wireless access point to be searched by the terminal device, the indication information comprises at least one of a preset control character, a preset keyword, a preset symbol, a preset string and a preset identifier; and determining, by the wireless access point, whether to feed back a detection response message to the terminal device according to the detection request message. The present invention is applied to a WIFI network connection.

Description

一种无线接入点查询方法、 设备及网络系统 技术领域  Wireless access point query method, device and network system
本发明涉及通信领域, 尤其涉及一种无线接入点查询方法、 设 备及网络系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method, device, and network system for querying a wireless access point. Background technique
现今, 随着各种电子设备 (如笔记本电脑、 PAD掌上电脑、 和 智能手机等 ) 的扩张, 支持 WiFi (Wireless Fidelity , 无线保真) 技 术的电子设备越来越多, 且 WiFi以其特有的部署快速、 使用便利和 传输速率高等优势, 使得应用 WiFi 功能的用户 日渐增多。 而 WiFi 典型的 网络结构包括负 责中心控制功能的无线接入点 ( Access Point , AP ) 及与 AP相关联的 STA ( Station , 站点)。 具体的, STA 在查询 AP 时可以通过主动广播探测请求消息 probe request探测请 求消息来查询 AP。 而上述的 probe request消息中携带有 STA查询 的条件, 当满足 probe request消息中的查询条件时, AP可以给这个 STA返回探测响应消息 probe response消息 ,从而使得 STA发现 AP , 进而接入 WiFi网络。  Today, with the expansion of various electronic devices (such as laptops, PADs, and smartphones), more and more electronic devices supporting WiFi (Wireless Fidelity) technology, and WiFi is unique. The advantages of rapid deployment, convenient use, and high transmission rate have led to an increase in the number of users who use WiFi. The typical network structure of WiFi includes a wireless access point (AP) that is responsible for the central control function and a STA (Station) associated with the AP. Specifically, the STA can query the AP by actively detecting the request message by using the probe request request message when querying the AP. The probe request message carries the condition of the STA query. When the query condition in the probe request message is met, the AP may return a probe response message to the STA, so that the STA discovers the AP and then accesses the WiFi network.
但是, 发明人发现, 当一个支持 802. 1 1 ( WiFi 标准) 的修订 版本的 STA , 通过广播一个特定的 probe request消息 (该消息中携 带有该 802. 1 1修订版本要求的信息)来查询支持该 802. 1 1修订版本 的新型 AP时,由于支持 802. 1 1版本的传统 AP在解析该 probe request 消息时会跳过该 802. 1 1修订版本要求的信息, 从而使得该 STA不仅 会接收到该 STA 所查询的支持的新型 AP 所反馈的 probe response 消息, 还有可能会接收到该传统 AP 所反馈的一个本不需其反馈的 probe response消息。 这样就导致了该传统 AP所反馈的这些无用的 probe response消息在空中占用了无线电波, 进而浪费了无线网络的 资源, 还使得 STA需要解析这些无用的 probe response消息, 从而 增加了 STA的工作量和耗电。 发明内容 However, the inventors have discovered that when a STA that supports a revised version of the 802.1 1 (WiFi standard) is queried by broadcasting a specific probe request message carrying the information required by the 802.1 1 revision. When a new AP supporting the 802.1 1 revision is supported, the legacy AP supporting the 802.11 version skips the information required by the 802.1 1 revision when parsing the probe request message, so that the STA not only The probe response message fed back by the supported new AP that is queried by the STA is received, and a probe response message that is not fed back by the traditional AP may be received. In this way, the useless probe response messages fed back by the traditional AP occupy radio waves in the air, thereby wasting resources of the wireless network, and the STA needs to parse the useless probe response messages, thereby Increased STA workload and power consumption. Summary of the invention
本发明的实施例提供一种无线接入点查询方法、 设备及网络系 统, 能够提高网络无线资源的利用率, 同时降低了终端设备的耗电。  The embodiments of the present invention provide a wireless access point query method, device, and network system, which can improve the utilization of network wireless resources and reduce the power consumption of the terminal device.
第一方面, 提供一种无线接入点查询方法, 包括:  The first aspect provides a method for querying a wireless access point, including:
无线接入点接收终端设备发送的探测请求消息; 其中所述探测 请求消息中的服务集标识字段包含指示信息; 所述指示信息用于向 所述无线接入点指示所述终端设备欲查找的无线接入点的类型; 所 述指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种;  Receiving, by the wireless access point, the probe request message sent by the terminal device, where the service set identifier field in the probe request message includes indication information, where the indication information is used to indicate to the wireless access point that the terminal device is to be searched The type of the wireless access point; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset character string, and a preset identifier;
所述无线接入点根据所述探测请求消息确定是否向所述终端 设备反馈探测响应消息。  The wireless access point determines whether to feed back a probe response message to the terminal device according to the probe request message.
在第一种可能的实现方式中, 根据第一方面, 所述探测请求消 息还包括业务指示信息, 所述业务指示信息包括至少一种业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲查找 的业务;  In a first possible implementation manner, according to the first aspect, the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to connect to the wireless The entry point indicates the service that the terminal device wants to find;
所述无线接入点根据所述探测请求消息确定是否向所述终端 设备反馈探测响应消息具体包括:  Determining, by the wireless access point, whether the probe response message is fed back to the terminal device according to the probe request message includes:
当所述无线接入点识别出所述服务集标识字段中的指示信息, 且支持所述探测请求消息中业务指示信息中的至少一种业务信息所 指示的业务时, 所述无线接入点向所述终端设备反馈探测响应消息。  When the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information in the service indication information in the probe request message, the wireless access point And feeding back a probe response message to the terminal device.
在第二种可能的实现方式中, 根据第一方面, 所述服务集标识 字段还包括业务指示信息, 所述业务指示信息包括至少一种业务信 息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲 查找的业务;  In a second possible implementation manner, according to the first aspect, the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless The access point indicates the service that the terminal device wants to find;
所述无线接入点根据所述探测请求消息确定是否向所述终端 设备反馈探测响应消息具体包括:  Determining, by the wireless access point, whether the probe response message is fed back to the terminal device according to the probe request message includes:
当所述无线接入点识别出所述服务集标识字段中的指示信息, 且支持所述服务集标识字段中业务指示信息的至少一种业务信息所 指示的业务时, 所述无线接入点向所述终端设备反馈探测响应消息。 When the wireless access point identifies the indication information in the service set identifier field, And when the service indicated by the at least one service information of the service indication information in the service set identifier field is supported, the wireless access point feeds back a probe response message to the terminal device.
在第三种可能的实现方式中, 根据第一方面, 所述无线接入点 根据所述探测请求消息确定是否向所述终端设备反馈探测响应消息 包括:  In a third possible implementation manner, according to the first aspect, the determining, by the wireless access point, whether the probe response message is fed back to the terminal device according to the probe request message includes:
当所述无线接入点识别出所述服务集标识字段中的指示信息 时, 所述无线接入点向所述终端设备反馈探测响应消息。  When the wireless access point identifies the indication information in the service set identifier field, the wireless access point feeds back a probe response message to the terminal device.
第二方面, 提供一种无线接入点查询方法, 包括:  The second aspect provides a method for querying a wireless access point, including:
终端设备向无线接入点发送探测请求消 , , 以便所述无线接入 点根据所述探测请求消息确定是否向所述终端设备反馈探测响应消 息; 其中所述探测请求消息中的服务集标识字段包含指示信息; 所 述指示信息用于向所述无线接入点指示所述终端设备欲查找的无线 接入点的类型; 所述指示信息包括: 预设的控制字符, 预设的关键 字, 预设的符号, 预设的字符串和预设的标识中的至少一种。  The terminal device sends a probe request cancellation to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device; where the service set identifier field in the probe request message The indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset keyword, At least one of a preset symbol, a preset character string, and a preset identifier.
在第一种可能的实现方式中, 根据第一方面, 所述探测请求消 息还包括业务指示信息; 其中所述业务指示信息包括至少一种业务 信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备 欲查找的业务。  In a first possible implementation manner, according to the first aspect, the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used for the wireless The access point indicates the service that the terminal device wants to find.
在第二种可能的实现方式中, 根据第一方面, 所述服务集标识 字段还包括业务指示信息; 其中所述业务指示信息包括至少一种业 务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务。  In a second possible implementation manner, according to the first aspect, the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to The wireless access point indicates the service that the terminal device wants to find.
第三方面, 提供一种无线接入点, 包括:  In a third aspect, a wireless access point is provided, including:
信息接收单元, 用于接收终端设备发送的探测请求消息; 其中 所述探测请求消息中的服务集标识字段包含指示信息; 所述指示信 息用于向所述无线接入点指示所述终端设备欲查找的无线接入点的 类型; 所述指示信息包括: 预设的控制字符, 预设的关键字, 预设 的符号, 预设的字符串和预设的标识中的至少一种;  An information receiving unit, configured to receive a probe request message sent by the terminal device, where the service set identifier field in the probe request message includes indication information, where the indication information is used to indicate, to the wireless access point, the terminal device The type of the wireless access point that is found; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset character string, and a preset identifier;
确定单元, 用于根据所述信息接收单元接收的所述探测请求消 息确定是否向所述终端设备反馈探测响应消息。 a determining unit, configured to cancel, according to the probe request received by the information receiving unit Determine whether to feed back a probe response message to the terminal device.
在第一种可能的实现方式中, 根据第一方面, 所述探测请求消 息还包括业务指示信息, 所述业务指示信息包括至少一种业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲查找 的业务;  In a first possible implementation manner, according to the first aspect, the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to connect to the wireless The entry point indicates the service that the terminal device wants to find;
所述确定单元具体用于: 当所述无线接入点识别出所述服务集 标识字段中的指示信息, 且支持所述探测请求消息中业务指示信息 中的至少一种业务信息所指示的业务时, 所述无线接入点向所述终 端设备反馈探测响应消息。  The determining unit is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and support the service indicated by the at least one service information in the service indication information in the probe request message The wireless access point feeds back a probe response message to the terminal device.
在第二种可能的实现方式中, 根据第一方面, 所述服务集标识 字段还包括业务指示信息, 所述业务指示信息包括至少一种业务信 息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲 查找的业务;  In a second possible implementation manner, according to the first aspect, the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless The access point indicates the service that the terminal device wants to find;
所述确定单元具体用于: 当所述无线接入点识别出所述服务集 标识字段中的指示信息, 且支持所述服务集标识字段中业务指示信 息的至少一种业务信息所指示的业务时, 所述无线接入点向所述终 端设备反馈探测响应消息。  The determining unit is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information of the service indication information in the service set identifier field The wireless access point feeds back a probe response message to the terminal device.
在第三种可能的实现方式中, 根据第三方面:  In a third possible implementation, according to the third aspect:
所述确定单元具体用于: 当所述无线接入点识别出所述服务集 标识字段中的指示信息时, 所述无线接入点向所述终端设备反馈探 测响应消息。  The determining unit is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, the wireless access point feeds back a detection response message to the terminal device.
第四方面, 提供一种终端设备, 包括:  The fourth aspect provides a terminal device, including:
信息发送单元, 用于向无线接入点发送探测请求消息, 以便所 述无线接入点根据所述探测请求消息确定是否向所述终端设备反馈 探测响应消息; 其中所述探测请求消息中的服务集标识字段包含指 示信息; 所述指示信息用于向所述无线接入点指示所述终端设备欲 查找的无线接入点的类型; 所述指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少 一种。 在第一种可能的实现方式中, 根据第四方面, 所述探测请求消 息还包括业务指示信息; 其中所述业务指示信息包括至少一种业务 信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备 欲查找的业务。 An information sending unit, configured to send a probe request message to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device, where the service in the probe request message The set identifier field includes indication information, where the indication information is used to indicate to the wireless access point a type of a wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset At least one of a keyword, a preset symbol, a preset string, and a preset identifier. In a first possible implementation manner, according to the fourth aspect, the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used for the wireless The access point indicates the service that the terminal device wants to find.
在第二种可能的实现方式中, 根据第四方面, 所述服务集标识 字段还包括业务指示信息; 其中所述业务指示信息包括至少一种业 务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务。  In a second possible implementation, according to the fourth aspect, the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to The wireless access point indicates the service that the terminal device wants to find.
第五方面, 提供一种无线接入点, 包括:  In a fifth aspect, a wireless access point is provided, including:
接收机, 用于接收终端设备发送的探测请求消息; 其中所述探 测请求消息中的服务集标识字段包含指示信息; 所述指示信息用于 向所述无线接入点指示所述终端设备欲查找的无线接入点的类型; 所述指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种;  a receiver, configured to receive a probe request message sent by the terminal device, where the service set identifier field in the probe request message includes indication information, where the indication information is used to indicate to the wireless access point that the terminal device is to be found The type of the wireless access point; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset character string, and a preset identifier;
处理器, 用于根据所述探测请求消息确定是否向所述终端设备 反馈探测响应消息。  And a processor, configured to determine, according to the probe request message, whether to feed back a probe response message to the terminal device.
在第一种可能的实现方式中, 根据第五方面, 所述探测请求消 息还包括业务指示信息, 所述业务指示信息包括至少一种业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲查找 的业务;  In a first possible implementation manner, according to the fifth aspect, the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to connect to the wireless The entry point indicates the service that the terminal device wants to find;
所述处理器具体用于: 当所述无线接入点识别出所述服务集标 识字段中的指示信息, 且支持所述探测请求消息中业务指示信息中 的至少一种业务信息所指示的业务时, 所述无线接入点向所述终端 设备反馈探测响应消息。  The processor is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and support the service indicated by the at least one service information in the service indication information in the probe request message The wireless access point feeds back a probe response message to the terminal device.
在第二种可能的实现方式中, 根据第五方面, 所述服务集标识 字段还包括业务指示信息, 所述业务指示信息包括至少一种业务信 息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲 查找的业务;  In a second possible implementation manner, according to the fifth aspect, the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless The access point indicates the service that the terminal device wants to find;
所述处理器具体用于: 当所述无线接入点识别出所述服务集标 识字段中的指示信息, 且支持所述服务集标识字段中业务指示信息 的至少一种业务信息所指示的业务时, 所述无线接入点向所述终端 设备反馈探测响应消息。 The processor is specifically configured to: when the wireless access point identifies the service set label When the indication information in the field is identified, and the service indicated by the at least one service information of the service indication information in the service set identifier field is supported, the wireless access point feeds back the probe response message to the terminal device.
在第三种可能的实现方式中, 根据第五方面:  In a third possible implementation, according to the fifth aspect:
所述处理器具体用于: 当所述无线接入点识别出所述服务集标 识字段中的指示信息时, 所述无线接入点向所述终端设备反馈探测 响应消息。  The processor is specifically configured to: when the wireless access point identifies the indication information in the service set identification field, the wireless access point feeds back a probe response message to the terminal device.
第六方面, 一种终端设备, 包括:  In a sixth aspect, a terminal device includes:
发射机, 用于向无线接入点发送探测请求消息, 以便所述无线 接入点根据所述探测请求消息确定是否向所述终端设备反馈探测响 应消息; 其中所述探测请求消息中的服务集标识字段包含指示信息; 所述指示信息用于向所述无线接入点指示所述终端设备欲查找的无 线接入点的类型; 所述指示信息包括: 预设的控制字符, 预设的关 键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。  a transmitter, configured to send a probe request message to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device; where the service set in the probe request message The indication field includes indication information; the indication information is used to indicate to the wireless access point, the type of the wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset key At least one of a word, a preset symbol, a preset character string, and a preset identifier.
在第一种可能的实现方式中, 根据第六方面, 所述探测请求消 息还包括业务指示信息; 其中所述业务指示信息包括至少一种业务 信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备 欲查找的业务。  In a first possible implementation manner, according to the sixth aspect, the probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to send the wireless The access point indicates the service that the terminal device wants to find.
在第二种可能的实现方式中, 根据第六方面, 所述服务集标识 字段还包括业务指示信息; 其中所述业务指示信息包括至少一种业 务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务。  In a second possible implementation, according to the sixth aspect, the service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to The wireless access point indicates the service that the terminal device wants to find.
第七方面, 提供一种网络系统, 包括:  In a seventh aspect, a network system is provided, including:
终端设备, 用于向无线接入点发送探测请求消息, 以便所述无 线接入, ^根据所述探测请求消息确定是否向所述终端设备反馈探测 响应消息; 其中所述探测请求消息中的服务集标识字段包含指示信 息; 所述指示信息用于向所述无线接入点指示所述终端设备欲查找 的无线接入点的类型; 所述指示信息包括: 预设的控制字符, 预设 的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。 无线接入点, 用于接收终端设备发送的探测请求消息; 及用于 根据所述探测请求消息确定是否向所述终端设备反馈探测响应消 息。 a terminal device, configured to send a probe request message to the wireless access point, so that the wireless access, according to the probe request message, determine whether to feed back a probe response message to the terminal device; where the service in the probe request message The set identifier field includes indication information, where the indication information is used to indicate to the wireless access point a type of a wireless access point that the terminal device is to find; the indication information includes: a preset control character, a preset At least one of a keyword, a preset symbol, a preset string, and a preset identifier. a wireless access point, configured to receive a probe request message sent by the terminal device, and configured to determine, according to the probe request message, whether to feed back a probe response message to the terminal device.
本发明的实施例提供的无线接入点查询方法、 设备及网络系 统, 通过在终端设备向无线接入点发送的探测请求消息中的服务集 标识字段加入指示信息, 使得终端设备欲查找的无线接入点在识另 'J 到该指示信息后向该终端设备反馈探测响应消息, 而其他无线接入 点则不反馈, 从而提高无线网络资源的利用率, 同时降低了终端设 备的耗电。  The wireless access point query method, device, and network system provided by the embodiment of the present invention add the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the terminal device wants to find the wireless After the access point recognizes the indication information, the access point feeds back the probe response message to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。 BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图 1为本发明的实施例提供的一种无线接入点查询方法的流程 示意图;  1 is a schematic flowchart of a method for querying a wireless access point according to an embodiment of the present invention;
图 2为本发明的实施例提供的另一种无线接入点查询方法的流 程示意图;  2 is a schematic flowchart of another method for querying a wireless access point according to an embodiment of the present invention;
图 3为本发明的实施例提供的又一种无线接入点查询方法的流 程示意图;  FIG. 3 is a schematic flowchart of still another method for querying a wireless access point according to an embodiment of the present invention;
图 4为本发明的实施例提供的一种无线接入点的结构示意图; 图 5为本发明的实施例提供的一种终端设备的结构示意图; 图 6为本发明的另一实施例提供的一种无线接入点的结构示意 图;  4 is a schematic structural diagram of a wireless access point according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention; A schematic diagram of a structure of a wireless access point;
图 7 为本发明的另一实施例提供的一种终端设备的结构示意 图 8为本发明的实施例提供的网络系统的结构示意图 FIG. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present invention; FIG. 8 is a schematic structural diagram of a network system according to an embodiment of the present invention;
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明所提供的实施例应用于 WiFi (Wireless Fidelity , 无线保 真)网络连接过程中终端设备查找无线接入点的场景中,现有的 WiFi 典型的网络结构包括负责中心控制功能的无线接入点及与无线接入 点相关联的 STA ( Station , 站点)。 其中, 上述的 STA可以为本发明 中的终端设备, 上述的无线接入点可以分为传统无线接入点 ( 即支 持 WiFi 802. 1 1标准的无线接入点)和新型无线接入点(即支持 WiFi 的 ( 802. 1 1 的修订版本) 标准或其他新的 WiFi 标准 (如, 802. l l u 或 802. 1 1 ai ) 的无线接入点)。 而终端设备在连接 WiFi 网络之前查 找无线接入点的方式包括: 终端设备被动的监听无线接入点周期' 1"生 广播的 beacon消息发现无线接入点的存在; 或者, 终端设备主动的 广播 robe request探测请求消息来发现无线接入点。 但是, 当一个 支持新的 WiFi标准的设备, 查找支持该新的 WiFi标准的新型无线 接入点时, 由于现有技术是在 probe request 消息中加入支持新的 WiFi标准的设备所要求的 IE ( Information Element , 信息元素), 且 传统的无线接入点不认识该 IE , 会将该不认识的 IE跳过, 从而成功 解析该 robe request消息并向终端设备反馈一个 robe response探 测响应消息, 而这些传统无线接入点所反馈的无用 probe response 消息在空中占用了无线电波, 从而导致了无线资源的浪费。 因此, 如何有效的识别这些无线接入点是否为终端设备欲查找的无线接入 点是本发明所要解决的问题。 The embodiment provided by the present invention is applied to a scenario in which a terminal device searches for a wireless access point in a WiFi (Wireless Fidelity) network connection process, and the existing WiFi typical network structure includes wireless access for the central control function. Point and STA (Station, site) associated with the wireless access point. The foregoing STA may be the terminal device in the present invention, and the foregoing wireless access point may be divided into a traditional wireless access point (ie, a wireless access point supporting the WiFi 802.11 standard) and a new wireless access point ( That is, WiFi-enabled (802.1 revision) standards or other new WiFi standards (eg, 802.llu or 802.1 1 ai) wireless access points). The manner in which the terminal device searches for the wireless access point before connecting to the WiFi network includes: the terminal device passively monitors the wireless access point period '1' to broadcast the beacon message to discover the existence of the wireless access point; or, the terminal device actively broadcasts The robe request probes the request message to discover the wireless access point. However, when a device supporting the new WiFi standard looks for a new wireless access point that supports the new WiFi standard, the prior art is added to the probe request message. The IE (Information Element) required by the device supporting the new WiFi standard, and the traditional wireless access point does not recognize the IE, and will skip the unknown IE, thereby successfully parsing the robe request message and The terminal device feeds back a robe response detection response message, and the useless probe response messages fed back by these conventional wireless access points occupy radio waves in the air, thereby causing waste of radio resources. Therefore, how to effectively identify these wireless access points Whether it is the wireless access that the terminal device wants to find The point is the problem to be solved by the present invention.
此夕卜, 上述的 probe request消息的数据帧主要由帧头、 帧体以 及校验 FCS ( Frame Check Sequence, 帧检验序列 ) 组成。 具体的, 该 robe request消息包括有 Addressl , Address3和 SSID(Service Set Identifier, 服务集标识)这三个元素。 其中, Addressl 和 Address3 在该 probe request消息的帧头中, 具体的, Addressl表示接收方的 MAC地址,长度为 6个字节, 当终端设备广播 robe request消息时, 这个 Addressl填写的是一个广播地址, 即全 1; Address 3表示所处 网络的无线接入点的地址, 长度为 6个字节, 当终端设备广播 probe request消息, 没有固定的无线接入点地址时, 这个 Address 3设置 为一个通配符, 也是全 1。 而上述的 SSID在该 probe request消息的 帧体中, 属于帧体的一个 IE ( Information Element, 信息元素)。 具 体的, probe request消息帧体中的 IE是由 Element ID (是协议规定 的统一编号)、 Length (长度, 取值范围为 0至 32 ) 和信息元素体组 成的一个结构体, 对于 SSID的 IE, 信息元素体就是 SSID字段, 它 表示 SSID的具体内容, Length表示上述信息元素体即 SSID字段的 长度, 当 Length为 0时, 说明该 SSID为通配的 SSID。 当终端设备 广播 robe request消息时, S SID可以是某特定的 S SID值, 也可以 是一个通配的 SSID。  Furthermore, the data frame of the above probe request message is mainly composed of a frame header, a frame body, and a check FCS (Frame Check Sequence). Specifically, the robe request message includes three elements: Address1, Address3, and SSID (Service Set Identifier). Addressl and Address3 are in the frame header of the probe request message. Specifically, Addressl indicates the MAC address of the receiver, and the length is 6 bytes. When the terminal device broadcasts the robe request message, the Addressl fills in a broadcast address. , that is, all 1; Address 3 indicates the address of the wireless access point of the network, and the length is 6 bytes. When the terminal device broadcasts the probe request message and there is no fixed wireless access point address, the Address 3 is set to one. The wildcard is also all ones. The above SSID belongs to an IE (Information Element) of the frame body in the frame body of the probe request message. Specifically, the IE in the probe request message frame body is a structure consisting of an Element ID (which is a unified number specified by the protocol), a Length (a length range of 0 to 32), and an information element body, and an IE for the SSID. The information element body is the SSID field, which indicates the specific content of the SSID. The Length indicates the length of the SSID field of the above information element body. When the Length is 0, the SSID is the wildcarded SSID. When the terminal device broadcasts a robe request message, the S SID may be a specific S SID value or a wildcard SSID.
基于上述的应用场景, 本发明的实施例提供了一种无线接入点 查询方法, 在无线接入点侧, 如图 1 所示, 该无线接入点查询方法 具体包括如下步骤:  Based on the foregoing application scenario, an embodiment of the present invention provides a method for querying a wireless access point. On the wireless access point side, as shown in FIG. 1, the method for querying the wireless access point specifically includes the following steps:
101、 无线接入点接收终端设备发送的探测请求消息。  101. The wireless access point receives a probe request message sent by the terminal device.
其中, 上述的探测请求消息为 probe request消息, 该探测请求 消息包括但不限于: Address l Address 3及无线局域网的服务集标 识字段, 即 SSID字段, 该服务集标识字段包含指示信息; 而该指示 信息用于向无线接入点指示终端设备欲查找的无线接入点的类型。 由于添加了指示信息,该 SSID字段中的内容并不一定等于终端设备 欲查找的无线接入点自身命名的 SSID, 即不一定等于终端设备欲查 找的无线接入点发送的 beacon (信标帧) 中携带 SSID 字段中携带 的内容。 此外, 需要说明的是, 本发明所提到的无线接入点不仅可 以是私有 WiFi 网络的无线接入点, 也可以是运营商提供的 WLAN (Wireless Local Area Networks , 无线局 i或网)网络的无线接入点。 The probe request message is a probe request message, and the probe request message includes, but is not limited to: Address l Address 3 and a service set identifier field of the wireless local area network, that is, an SSID field, where the service set identifier field includes indication information; and the indication The information is used to indicate to the wireless access point the type of wireless access point that the terminal device is looking for. Because the indication information is added, the content in the SSID field is not necessarily equal to the SSID named by the wireless access point that the terminal device is to find, that is, the terminal device is not necessarily equal to the terminal device. The beacon (beacon frame) sent by the found wireless access point carries the content carried in the SSID field. In addition, it should be noted that the wireless access point mentioned in the present invention may be not only a wireless access point of a private WiFi network, but also a WLAN (Wireless Local Area Networks) network provided by an operator. Wireless access point.
具体的, 上述的指示信息包括: 预设的控制字符, 预设的关键 字, 预设的符号, 预设的字符串和预设的标识中的任意一种或多种 的组合。 举例如下: 上述的指示信息可以为预设的关键字; 或者, 为预设的关键字与符号的组合, 该符号可以包括控制字符; 或者, 为预设的字符串, 该字符串也可以包含有控制字符; 或者, 为预设 的字符串与标识的组合; 或者, 为预设的字符串与符号的组合; 或 者, 也可以为预设的字符串与关键字的组合。  Specifically, the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a combination of any one or more of a preset character string and a preset identifier. For example, the foregoing indication information may be a preset keyword; or, as a preset combination of a keyword and a symbol, the symbol may include a control character; or, as a preset character string, the string may also include There are control characters; or, it is a combination of a preset string and an identifier; or, it is a combination of a preset string and a symbol; or, it may be a combination of a preset string and a keyword.
具体的,该指示信息可以表现为为 ASCII字符集中所有字符的 任意组合 ( 包括一些不容易被手工输入的控制字符, 如 ASCII码中 编号为 26的 SUB (substitute) (替补) 字符, 或者编号为 27的 ESC (escape) (换码, 溢出 ) 字符)。 该指示信息还可以表现为为 UTF-8 的编码方式。  Specifically, the indication information may be expressed as any combination of all characters in the ASCII character set (including some control characters that are not easily input manually, such as SUB (substitute) characters in the ASCII code number 26, or numbered 27 ESC (escape) (escape, overflow) character). The indication information can also be expressed as UTF-8 encoding.
可选的, 上述的探测请求消息还包括业务指示信息; 其中, 该 业务指示信息包括至少一种业务信息, 该业务指示信息用于向无线 接入点指示终端设备欲查找的业务。  Optionally, the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device wants to find.
可选的, 上述的服务集标识字段还包括业务指示信息; 其中, 该业务指示信息包括至少一种业务信息, 该业务指示信息用于向无 线接入点指示终端设备欲查找的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
102、 无线接入点根据探测请求消息确定是否向终端设备反馈 探测响应消息。  102. The wireless access point determines, according to the probe request message, whether to feed back the probe response message to the terminal device.
具体的, 当该无线接入点为终端设备欲查找的无线接入点, 则 该无线接入点则会根据上述的探测请求消息中的指示信息来向终端 设备反馈探测响应消息, 而当该无线接入点不是终端设备查找的无 线接入点时, 该则不会向终端设备反馈探测响应消息。 此外, 由于 终端设备在所发送的探测请求消息中的 SSID 字段中加入了指示信 息, 因此, 终端设备欲查找的无线接入点在判断是否向终端设备反 馈探测响应消息时, 并不是如现有技术中所述的确定探测请求消息 的 SSID 字段中的内容与该终端设备欲查找的无线接入点自身命名 的 SSID 是否相同为判断标准, 而是以识别出该探测请求消息中的 SSID字段中的指示信息来确定的。 Specifically, when the wireless access point is a wireless access point to be searched by the terminal device, the wireless access point feeds back a probe response message to the terminal device according to the indication information in the probe request message. When the wireless access point is not the wireless access point searched by the terminal device, the probe response message is not fed back to the terminal device. In addition, since the terminal device adds an indication letter to the SSID field in the sent probe request message Therefore, when the wireless access point to be searched by the terminal device determines whether to feed back the probe response message to the terminal device, it is not determined in the SSID field of the probe request message as described in the prior art and the terminal device desires. Whether the discovered SSID of the wireless access point itself is the same as the judgment criterion, but is determined by identifying the indication information in the SSID field in the probe request message.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
本发明的实施例提供了一种无线接入点查询方法, 在终端设备 侧, 如图 2所示, 该无线接入点查询方法具体包括如下步骤:  An embodiment of the present invention provides a method for querying a wireless access point. On the terminal device side, as shown in FIG. 2, the method for querying the wireless access point specifically includes the following steps:
201、 终端设备向无线接入点无线接入点发送探测请求消息, 以便无线接入点根据探测请求消息确定是否向终端设备反馈探测响 应消息。  201. The terminal device sends a probe request message to the wireless access point wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back the probe response message to the terminal device.
其中, 上述的探测请求消息为 probe request消息, 该探测请求 消息包括但不限于: Address 1、 Address 3及无线局域网的服务集标 识字段, 即 SSID字段, 该服务集标识字段包含指示信息; 而该指示 信息用于向无线接入点指示终端设备欲查找的无线接入点的类型。 由于添加了指示信息,该 SSID字段中的内容并不一定等于该终端设 备欲查找的无线接入点自身命名的 SSID , 即不一定等于该终端设备 欲查找的无线接入点发送的 beacon (信标帧 ) 中携带 SSID 字段中 携带的内容。 此外, 需要说明的是, 本发明所提到的无线接入点不 仅可以是私有 WiFi 网络的无线接入点, 也可以是运营商提供的 WLAN (Wireless Local Area Networks , 无线局 i或网)网络的无线接入 点。  The probe request message is a probe request message, and the probe request message includes, but is not limited to: Address 1, Address 3, and a service set identifier field of the wireless local area network, that is, an SSID field, where the service set identifier field includes indication information; The indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device is to find. Because the indication information is added, the content in the SSID field is not necessarily equal to the SSID named by the wireless access point that the terminal device is to find, that is, the beacon sent by the wireless access point that the terminal device is to find. The content carried in the SSID field is carried in the frame. In addition, it should be noted that the wireless access point mentioned in the present invention may be not only a wireless access point of a private WiFi network, but also a WLAN (Wireless Local Area Networks) network provided by an operator. Wireless access point.
具体的, 上述的指示信息包括: 预设的控制字符, 预设的关键 字, 预设的符号, 预设的字符串和预设的标识中的任意一种或多种 的组合。 举例如下: 上述的指示信息可以为预设的关键字; 或者, 为预设的关键字与符号的组合, 该符号可以包括控制字符; 或者, 为预设的字符串, 该字符串也可以包含有控制字符; 或者, 为预设 的字符串与标识的组合; 或者, 为预设的字符串与符号的组合; 或 者, 也可以为预设的字符串与关键字的组合。 Specifically, the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a combination of any one or more of a preset character string and a preset identifier. For example: The above indication information can be a preset keyword; or For a combination of a preset keyword and a symbol, the symbol may include a control character; or, as a preset character string, the string may also include a control character; or, a preset combination of a character string and an identifier; Or, it is a combination of a preset string and a symbol; or, it may be a combination of a preset string and a keyword.
具体的,该指示信息可以表现为为 ASCII字符集中所有字符的 任意组合 ( 包括一些不容易被手工输入的控制字符, 如 ASCII码中 编号为 26的 SUB (substitute) (替补) 字符, 或者编号为 27的 ESC (escape) (换码, 溢出 ) 字符)。 该指示信息还可以表现为为 UTF-8 的编码方式。  Specifically, the indication information may be expressed as any combination of all characters in the ASCII character set (including some control characters that are not easily input manually, such as SUB (substitute) characters in the ASCII code number 26, or numbered 27 ESC (escape) (escape, overflow) character). The indication information can also be expressed as UTF-8 encoding.
可选的, 上述的探测请求消息还包括业务指示信息; 其中, 该 业务指示信息包括至少一种业务信息, 该业务指示信息用于向无线 接入点指示终端设备欲查找的业务。  Optionally, the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device wants to find.
可选的, 上述的服务集标识字段还包括业务指示信息; 其中, 该业务指示信息包括至少一种业务信息, 该业务指示信息用于向无 线接入点指示终端设备欲查找的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
本发明的实施例提供一种无线接入点查询方法, 如图 3所示, 该无线接入点查询方法具体包括如下步骤:  An embodiment of the present invention provides a method for querying a wireless access point. As shown in FIG. 3, the method for querying the wireless access point specifically includes the following steps:
301、 终端设备向无线接入点无线接入点发送探测请求消息。 其中, 上述的探测请求消息包括但不限于: Address 1、 Address 3 及无线局域网的服务集标识字段, 该服务集标识字段包括指示信 息; 而该指示信息用于向无线接入点指示终端设备欲查找的无线接 入点的类型。 由于添加了指示信息, 该 SSID字段中的内容并不一定 等于该终端设备欲查找的无线接入点自身命名的 SSID , 即不一定等 于该终端设备欲查找的无线接入点发送的 beacon (信标帧) 中携带 SSID字段中携带的内容。 此外, 需要说明的是, 本发明所提到的无 线接入点不仅可以是私有 WiFi网络的无线接入点, 也可以是运营商 提供的 WLAN网络的无线接入点。 301. The terminal device sends a probe request message to the wireless access point wireless access point. The foregoing probe request message includes, but is not limited to: Address 1, Address 3, and a service set identifier field of the wireless local area network, where the service set identifier field includes indication information, and the indication information is used to indicate to the wireless access point The type of wireless access point found. Because the indication information is added, the content in the SSID field is not necessarily equal to the SSID named by the wireless access point that the terminal device is to find, that is, the beacon sent by the wireless access point that the terminal device is to find. Carrying in the frame) Content carried in the SSID field. In addition, it should be noted that the wireless access point mentioned in the present invention may be not only a wireless access point of a private WiFi network, but also a wireless access point of a WLAN network provided by an operator.
具体的, 上述的指示信息包括: 预设的控制字符, 预设的关键 字, 预设的符号, 预设的字符串和预设的标识中的任意一种或多种 的组合。 举例说明, 上述的指示信息可以为预设的关键字 (如, Specifically, the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a combination of any one or more of a preset character string and a preset identifier. For example, the above indication information may be a preset keyword (eg,
" TGaq" , 这里的 TG为 Task Group (任务组) 的简称, TGaq表示 aq任务组) 这里的 TGaq 只关键字的一种示例, 在实际应用时可以 随意命名 ; 或者, 也可以为预设的关键字与符号的组合 ( 如,"TGaq", where TG is the abbreviation of Task Group, TGaq means aq task group. Here is an example of TGaq keyword, which can be named at the time of actual application; or it can be preset a combination of keywords and symbols (eg,
" TGaq-#-#" ) , 这里的 " -" 和 " #" 为特定字符的一种示例, 在实 际应用时可以随意对特定字符进行选择; 或者, 也可以为预设的字 符串 (如, 80211 AdditionalMatchFilter ); 或者, 也可以为预设的字 符串、预设的符号及预设的标识的组合(如, " TGaq:Printer| Scanner" , 表达寻找 TGaq功能的且具备 rinter (打印机月良务) 或 scanner (扫 描 仪 服 务 ) 的 无 线 接 入 点 ; 如 ,"TGaq-#-#" ), where "-" and "#" are examples of specific characters, you can choose a specific character at will in the actual application; or, you can also use a preset string (such as , 80211 AdditionalMatchFilter ); Or, it can also be a combination of preset strings, preset symbols and preset identifiers (eg, "TGaq: Printer | Scanner", express TGaq function and have rinter (printer Yueliang) Or the wireless access point of the scanner (scanner service); for example,
" 8021 1AddionalMatchFilter:TGaq|TGu " , 表 达 寻 找 能 识 别 8021 1AddionalMatchFilter这个新功能中具备 TGaq或者 TGu业务的 无线接入点); 或者, 也可以为预设的控制字符或字符串与符号的组 合; 或者, 也可以为预设的的字符串、 预设的符号及关键字的组合"8021 1AddionalMatchFilter: TGaq|TGu", the expression is to find the wireless access point with TGaq or TGu service in the new function of 8021 1AddionalMatchFilter); or it can be a preset control character or a combination of string and symbol; or , can also be a combination of preset strings, preset symbols, and keywords
( 如, " SUB+TGaq " , 其中 SUB 为 ASCII 码 26 的字符, SUB(substitute) )。 (For example, "SUB+TGaq", where SUB is the character of ASCII code 26, SUB(substitute)).
具体的,该指示信息为可以表现为为 ASCII字符集中所有字符 的任意组合 ( 包括一些不容易被手工输入的预设的控制字符, 如 ASCII码中编号为 26的 SUB (substitute) (替补) 字符, 或者编号为 27的 ESC (escape) (换码, 溢出 ) 字符)。 该指示信息还可以表现为 为 UTF-8的编码方式。  Specifically, the indication information is any combination of all characters that can be expressed in the ASCII character set (including some preset control characters that are not easily input manually, such as SUB (substitute) characters in the ASCII code numbered 26 , or the ESC (escape) character with the number 27. The indication information can also be expressed as a UTF-8 encoding.
可选的, 上述的探测请求消息还包括业务指示信息; 其中, 该 业务指示信息包括至少一种业务信息, 该业务指示信息用于向无线 接入点指示终端设备欲查找的业务。 可选的, 上述的服务集标识字段还包括业务指示信息; 其中, 该业务指示信息包括至少一种业务信息, 该业务指示信息用于向无 线接入点指示终端设备欲查找的业务。 Optionally, the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device is to find. Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one type of service information, where the service indication information is used to indicate, to the wireless access point, a service that the terminal device wants to find.
302、 无线接入点接收终端设备发送的探测请求消息。  302. The wireless access point receives a probe request message sent by the terminal device.
303、 无线接入点根据探测请求消息确定是否向终端设备反馈 探测响应消息。  303. The wireless access point determines, according to the probe request message, whether to feed back a probe response message to the terminal device.
具体的, 当该无线接入点为终端设备欲查找的无线接入点, 则 该无线接入点会识别出上述的探测请求消息中的指示信息, 从而向 终端设备反馈探测响应消息; 而当该无线接入点不是终端设备查找 的无线接入点, 则不会向终端设备反馈探测响应消息。 其中, 无线 接入点在识别该指示信息时, 该无线接入点可以是直接根据预配置 在该无线接入点中的匹配策略来判定该无线接入点是否符合该指示 信息所指示的无线接入点类型, 若符合, 则说明该无线接入点为终 端设备欲查找的无线接入点, 其中, 上述的匹配策略为该无线接入 点所能支持的指示信息表; 或者, 该无线接入点能够直接辨别出 自 身是否符合该指示信息所指示的无线接入点类型。 此外, 由于终端 设备在所发送的探测请求消息中的 SSID字段中加入了指示信息,因 此, 终端设备欲查找的无线接入点判断是否向终端设备反馈探测响 应消息时,并不是如现有技术中所述的确定探测请求消息的 SSID字 段中的内容与该终端设备欲查找的无线接入点自身命名的 S SID 是 否相同为判断标准,而是以识别出该探测请求消息中的 SSID字段中 的指示信息来确定的。  Specifically, when the wireless access point is a wireless access point to be searched by the terminal device, the wireless access point may identify the indication information in the foregoing probe request message, thereby feeding back the probe response message to the terminal device; The wireless access point is not a wireless access point that is searched by the terminal device, and the probe response message is not fed back to the terminal device. When the wireless access point identifies the indication information, the wireless access point may directly determine, according to a matching policy pre-configured in the wireless access point, whether the wireless access point meets the wireless indication indicated by the indication information. The access point type, if yes, indicates that the wireless access point is a wireless access point that the terminal device is to find, wherein the matching policy is an indication information table that the wireless access point can support; or, the wireless The access point can directly identify whether it conforms to the type of wireless access point indicated by the indication information. In addition, since the terminal device adds the indication information to the SSID field in the sent probe request message, the wireless access point to be searched by the terminal device determines whether to feed back the probe response message to the terminal device, which is not the prior art. Determining whether the content in the SSID field of the probe request message is the same as the S SID named by the wireless access point itself to be searched by the terminal device is a criterion, but to identify the SSID field in the probe request message. Instructions to determine.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
在第一种应用场景中:  In the first application scenario:
可选的, 当上述的探测请求消息还包括业务指示信息, 该业务 指示信息包括至少一种业务信息, 该业务指示信息用于向无线接入 点指示终端设备所支持的业务时。 Optionally, when the probe request message further includes service indication information, the service The indication information includes at least one type of service information, when the service indication information is used to indicate to the wireless access point the service supported by the terminal device.
进一步的, 步骤 303具体包括如下步骤:  Further, step 303 specifically includes the following steps:
303 a, 当无线接入点识别出服务集标识字段中的指示信息, 且 支持探测请求消息中业务指示信息中的至少一种业务信息所指示的 业务时, 无线接入点向终端设备反馈探测响应消息。  303 a, when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information in the service indication information in the probe request message, the wireless access point feeds back the detection to the terminal device. Response message.
具体的, 在本实施例中, 当上述的指示信息以预设的字符串 " 80211 AdditionalMatchFilter " 为例, 而上述的业务指示信息以 " 802. 1 1 Additional Matching Filter IE" 为例时, 本本实施例具体的 实现过程如下。  Specifically, in this embodiment, when the foregoing indication information is exemplified by a preset character string "80211 AdditionalMatchFilter", and the foregoing service indication information is taken as an example of "802.1 1 Additional Matching Filter IE", the present implementation The specific implementation process is as follows.
首先, 终端设备在向无线接入点发送的探测请求消息的 S SID 中添加一个指示信息, 该指示信息为一个预设的字符串, 这个字符 串为 " 8021 1 AdditionalMatchFilter"。 然后可以在该探测请求消息的 帧体中添加一个新的 IE ( 即业务指示信息), 该新的 IE叫做 802.1 1 Additional Matching Filter IE , 或者改造某一个现有的 IE , 其中, 新 的 802. 1 1 Additional Matching Filter IE或者改造的 IE中包含有信息 元素体 Filter , 这个 Filter即包含上述业务指示信息中的业务信息, 具体的, 可以用于向无线接入点指示终端设备所支持的业务。  First, the terminal device adds an indication message to the S SID of the probe request message sent to the wireless access point, and the indication information is a preset string, and the string is "8021 1 AdditionalMatchFilter". Then, a new IE (ie, service indication information) can be added to the frame body of the probe request message, and the new IE is called 802.1 1 Additional Matching Filter IE, or an existing IE, or a new 802. 1 1 Additional Matching Filter The IE or the modified IE includes an information element body Filter, which contains the service information in the service indication information, and specifically, can be used to indicate to the wireless access point the service supported by the terminal device.
具体的, Filter部分的格式可以有 ^艮多种方式。  Specifically, the format of the Filter section can be in a variety of ways.
第一种方式: 该 Filter可以是位表的形式。  The first way: The Filter can be in the form of a bit table.
具体的, 将该 Filter表设置为预设的关键字与位数的映射表, 例如, 第 1位表示 TGaq , 第 2位表示 TGai , 其他的表示其他功能, 或者作为预留等。 当然, 这里的位数并不只局限为一个字节即八位, 也可以是多个字节, 长度由 Length指示。  Specifically, the filter table is set as a preset mapping table of keywords and digits. For example, the first digit indicates TGaq, the second digit indicates TGai, the other indicates other functions, or is reserved. Of course, the number of bits here is not limited to one byte, that is, eight bits, but also multiple bytes, and the length is indicated by Length.
第二种方式: 该 Filter可以是 Filter ID形式的映射表。具体的, 将该 Filter表中的每个 Filter ID定义一个功能, 如, TGaq的 ID定 义为 1 , TGai的 ID定义为 2 , TGu的 ID定义为 3等。 具体的, 可 以规定每个 Filter ID 占用一个字节。  The second way: The Filter can be a mapping table in the form of a Filter ID. Specifically, each Filter ID in the Filter table defines a function, for example, the ID of the TGaq is defined as 1, the ID of the TGai is defined as 2, and the ID of the TGu is defined as 3. Specifically, it can be specified that each Filter ID occupies one byte.
其次, 终端设备将上述过程生成的探测请求消息发送至无线接 入点, 当该无线接入点为新型无线接入点时, 该新型无线接入点可 以直接识别出该新型无线接入点是否满足该探测请求消息的 S SID 字段中的预设的字符串中的判定条件, 若满足, 则该新型无线接入 点向终端设备反馈探测响应消息, 若不满足, 则新型无线接入点不 作任何处理。 具体的, 该新型无线接入点在识别出探测请求消息的 SSID字段中的预设的字符串, 且判定自身满足该预设的字符串所指 示的无线接入点类型时, 则继续查看该探测请求消息中所携带的新 的 IE ( 802. 1 1 Additional Matching Filter IE , 即业务指示信息) 或者 改造过的 IE中具体指示了哪些功能, 若该新型无线接入点自身的任 一功能与该业务指示信息中的任一业务信息的业务功能匹配, 则会 向终端设备反馈探测响应消息。 此外, 当该无线接入点为传统无线 接入点 时 , 由 于传 统无 线接入点 S SID —般不 会命名 为 " 8021 1AdditionalMatchFilter" , 所以当该传统无线接入点在接收到 该探测请求消息后,该传统无线接入点自身的 S SID与该探测请求消 息中的 S SID不可能匹配上, 也就不会反馈探测响应消息了。 Second, the terminal device sends the probe request message generated by the foregoing process to the wireless interface. Incoming point, when the wireless access point is a new wireless access point, the new wireless access point can directly identify whether the new wireless access point satisfies a preset string in the S SID field of the probe request message. If the determination condition is satisfied, the new wireless access point feeds back the probe response message to the terminal device, and if not, the new wireless access point does not perform any processing. Specifically, when the new wireless access point identifies the preset character string in the SSID field of the probe request message, and determines that the wireless access point type indicated by the preset character string is satisfied, the new wireless access point continues to view the The new IE (802.1 1 Additional Matching Filter IE) carried in the probe request message or the modified IE specifically indicates which functions, if any function of the new wireless access point itself If the service function of any service information in the service indication information matches, the probe response message is fed back to the terminal device. In addition, when the wireless access point is a conventional wireless access point, since the traditional wireless access point S SID is generally not named "8021 1AdditionalMatchFilter", when the conventional wireless access point receives the probe request message After that, the S SID of the traditional wireless access point itself cannot match the S SID in the probe request message, and the probe response message is not fed back.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
在第二种应用场景中:  In the second application scenario:
可选的, 当上述的服务集标识字段还包括业务指示信息, 该业 务指示信息包括至少一种业务信息, 该业务指示信息用于向无线接 入点指示终端设备所支持的业务时。  Optionally, when the service set identifier field further includes service indication information, the service indication information includes at least one type of service information, where the service indication information is used to indicate a service supported by the terminal device to the wireless access point.
进一步可选的, 步骤 303具体包括如下步骤:  Further optionally, step 303 specifically includes the following steps:
303b , 当无线接入点识别出服务集标识字段中的指示信息, 且 支持服务集标识字段中业务指示信息的至少一种业务信息所指示的 业务时, 无线接入点向终端设备反馈探测响应消息。  303b, when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information of the service indication information in the service set identifier field, the wireless access point feeds back the probe response to the terminal device. Message.
具体的, 在本实施例中, 当上述的指示信息以预设的关键字、 预设的符号与预设的标识 (即业务指示信息) 的组合 (如 " TGaq: Printer] Scanner" ) 为例时, 本实施例的具体实现过程如下。 Specifically, in this embodiment, when the foregoing indication information is a preset keyword, When the combination of the preset symbol and the preset identifier (ie, the service indication information) (for example, "TGaq: Printer] Scanner") is taken as an example, the specific implementation process of this embodiment is as follows.
其中, 上述的预设的关键字具体指 " TGaq" , 上述的业务指示 信息中所指示的业务具体包括打印机业务 ( Printer ) 和扫描仪业务 ( Scanner ) , 而上述的指示信息 " TGaq: Printer| Scanner" 具体用于 表示该终端设备所要寻找的无线接入点具备 TGaq 功能, 并支持和 printer业务或 scanner业务,此夕卜,该指示信息 " TGaq: Printer | Scanner" 中的预设的符号 " | " 可以表示或的关系, 当然, 另外也可以用 " &" 符号表示与的关系, 比如 " TGaq: Printer&Scanner" 表示该终端设备 所要寻找的无线接入点具备 TGaq 功能, 并支持 printer 业务和 scanner业务。  The foregoing preset keyword specifically refers to "TGaq", and the service indicated in the foregoing service indication information specifically includes a printer service (Scanner) and a scanner service (Scanner), and the above indication information is "TGaq: Printer| The Scanner" is specifically used to indicate that the wireless access point that the terminal device is looking for has the TGaq function and supports the printer service or the scanner service. In addition, the preset symbol in the instruction message "TGaq: Printer | Scanner" " can express the relationship or, of course, the "&" symbol can also be used to indicate the relationship with "," "TGaq: Printer&Scanner" means that the wireless access point that the terminal device is looking for has TGaq function, and supports printer business and scanner. business.
具体的, 终端设备将上述过程生成的指示信息添加到探测请求 消息后, 将该探测请求消息发送至无线接入点, 当该无线接入点为 新型无线接入点时, 该新型无线接入点可以直接识别到该探测请求 消息中的指示信息, 然后该新型无线接入点根据该指示信息中的 " TGaq" 判断自身是否是支持 TGaq 功能, 若支持, 则判断该新型 无线接入点是否支持 Printer和 /或 Scanner服务, 若该新型无线接入 点支持 Printer业务和 Scanner业务中的任一月良务时, 则该新型无线 接入点为终端设备所要查找的无线接入点, 从而向终端设备反馈探 测响应消息。 此外, 当该无线接入点为传统无线接入点时, 由于传 统无线接入点 S SID—般不会命名为 " TGaq : Printer] Scanner" , 所以 当该传统无线接入点在接收到该探测请求消息后, 该传统无线接入 点自身的 S SID与该探测请求消息中的 S SID不可能匹配上, 也就不 会反馈探测响应消息了。  Specifically, after the terminal device adds the indication information generated by the foregoing process to the probe request message, the terminal request message is sent to the wireless access point, and when the wireless access point is a new wireless access point, the new type of wireless access The point can directly identify the indication information in the probe request message, and then the new wireless access point determines whether it supports the TGaq function according to the "TGaq" in the indication information, and if so, determines whether the new wireless access point is Supports Printer and/or Scanner services. If the new wireless access point supports the printer service and any one of the services in the Scanner service, the new wireless access point is the wireless access point that the terminal device is looking for. The terminal device feeds back the probe response message. In addition, when the wireless access point is a conventional wireless access point, since the conventional wireless access point S SID is generally not named "TGaq: Printer] Scanner", when the conventional wireless access point receives the After the probe request message, the S SID of the conventional wireless access point itself cannot match the S SID in the probe request message, and the probe response message is not fed back.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。 在第三种应用场景中: The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device. In the third application scenario:
可选的, 步骤 303具体包括如下步骤:  Optionally, step 303 specifically includes the following steps:
303 c , 当无线接入点识别到探测请求消息中的指示信息, 且满 足指示信息所指示的无线接入点类型时, 无线接入点向终端设备反 馈探测响应消息。  303c. When the wireless access point identifies the indication information in the probe request message and satisfies the type of the wireless access point indicated by the indication information, the wireless access point feeds the probe response message to the terminal device.
具体的, 在本发明中存在这样一种场景, 无论该探测请求消息 中 SSID包含的指示信息是怎样的组合,即无论该指示信息为单独的 预设的关键字或预设的关键字与预设的字符串的组合或其他形式的 组合, 只要该无线接入点识别出该探测请求消息中的指示信息 ( 即 该无线接入点满足该指示信息所指示的无线接入点类型 ) 时, 该无 线接入点便会向终端设备反馈探测响应消息。  Specifically, in the present invention, there is a scenario in which the indication information included in the SSID in the probe request message is combined, that is, whether the indication information is a separate preset keyword or a preset keyword and a preset Combination of a string or other combination of characters, as long as the wireless access point identifies the indication information in the probe request message (ie, the wireless access point satisfies the type of wireless access point indicated by the indication information) The wireless access point will feed back the probe response message to the terminal device.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
在第四种应用场景中:  In the fourth application scenario:
可选的, 当该无线接入点不是终端设备所请求的无线接入点 (即传统无线接入点) 时, 步骤 303之前还包括:  Optionally, when the wireless access point is not the wireless access point (ie, the traditional wireless access point) requested by the terminal device, before step 303, the method further includes:
d 1、 无线接入点获取无线接入点的第二服务集标识。  d 1. The wireless access point acquires the second service set identifier of the wireless access point.
进一步可选的, 步骤 303具体包括如下步骤:  Further optionally, step 303 specifically includes the following steps:
303 dl、 无线接入点将服务集标识与第二服务集标识进行匹配。 303 dl, the wireless access point matches the service set identifier with the second service set identifier.
303 d2、 若服务集标识与第二服务集标识不相同, 则无线接入 点不反馈探测响应消息。 303 d2. If the service set identifier is different from the second service set identifier, the wireless access point does not feed back the probe response message.
具体的, 当终端设备想要查找的无线接入点为新型无线接入点 时, 传统无线接入点在接收到上述终端设备发送的探测请求消息后, 发现该探测请求消息是终端设备是广播的, 确定自 己需要处理后, 首先获取该传统无线接入点的 S SID IE , 然后, 依次判断该探测请求 消息中的 Address3及该 SSID IE , 发现该探测请求消息中 SSID IE 的 Length 不为 0 , 不是通配的 S SID , 然后将该探测请求消息中的 SSID与该传统无线接入点的 S SID进行匹配,发现两者的 S SID并不 相同, 因此, 该传统无线接入点知道自 己不需处理该探测请求消息, 也就是说, 该传统无线接入点会将该探测请求消息丟弃, 从而也就 不会向终端设备发送探测响应消息。 Specifically, when the wireless access point that the terminal device wants to find is a new type of wireless access point, after receiving the probe request message sent by the terminal device, the traditional wireless access point finds that the probe request message is that the terminal device is broadcast. After determining that it needs to be processed, first obtaining the S SID IE of the traditional wireless access point, and then sequentially determining the Address 3 and the SSID IE in the probe request message, and discovering the SSID IE in the probe request message. The Length is not 0, not the wildcard S SID, and then the SSID in the probe request message is matched with the S SID of the legacy wireless access point, and the S SIDs of the two are not the same, therefore, the traditional wireless The access point knows that it does not need to process the probe request message, that is, the traditional wireless access point discards the probe request message, and thus does not send a probe response message to the terminal device.
本发明的实施例提供的无线接入点查询方法, 通过在终端设备 向无线接入点发送的探测请求消息中的服务集标识字段加入指示信 息, 使得终端设备欲查找的无线接入点在识别到该指示信息后向该 终端设备反馈探测响应消息, 而其他无线接入点则不反馈, 从而提 高无线网络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point query method provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point to be found by the terminal device is identified. After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feed back, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
本发明的实施例提供一种无线接入点, 如图 4所示, 该无线接 入点 4包括: 信息接收单元 41和确定单元 42 , 其中:  An embodiment of the present invention provides a wireless access point. As shown in FIG. 4, the wireless access point 4 includes: an information receiving unit 41 and a determining unit 42, where:
信息接收单元 41 , 用于接收终端设备发送的探测请求消息。 其中, 上述的探测请求消息中的服务集标识字段包含指示信 息; 该指示信息用于向无线接入点指示终端设备欲查找的无线接入 点的类型; 上述的指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。  The information receiving unit 41 is configured to receive a probe request message sent by the terminal device. The service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
确定单元 42 , 用于根据信息接收单元 41接收的探测请求消息 确定是否向终端设备反馈探测响应消 , ¾。  The determining unit 42 is configured to determine, according to the probe request message received by the information receiving unit 41, whether the probe response cancellation is fed back to the terminal device.
可选的, 上述的探测请求消息还包括业务指示信息, 该业务指 示信息包括至少一种业务信息, 该业务指示信息用于向无线接入点 指示终端设备欲查找的业务。  Optionally, the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
确定单元 42 具体用于: 当无线接入点识别出服务集标识字段 中的指示信息, 且支持探测请求消息中业务指示信息中的任一业务 信息所指示的业务时, 无线接入点向终端设备反馈探测响应消 , ¾。  The determining unit 42 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by any service information in the service indication information in the probe request message, the wireless access point to the terminal Device feedback detection response cancellation, 3⁄4.
可选的, 上述的服务集标识字段还包括业务指示信息, 该业务 指示信息包括至少一种业务信息, 该业务指示信息用于向无线接入 点指示终端设备欲查找的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one type of service information, where the service indication information is used to indicate, to the wireless access point, the service that the terminal device wants to find.
确定单元 42 具体用于: 当无线接入点识别出服务集标识字段 中的指示信息, 且支持服务集标识字段中业务指示信息的任一业务 信息所指示的业务时, 无线接入点向终端设备反馈探测响应消 , ¾。 The determining unit 42 is specifically configured to: when the wireless access point identifies the service set identifier field When the indication information in the information and the service indicated by any service information of the service indication information in the service set identifier field is supported, the wireless access point feeds back the probe response cancellation to the terminal device, 3⁄4.
可选的, 确定单元 42 具体用于: 当无线接入点识别出服务集 标识字段中的指示信息时, 无线接入点向终端设备反馈探测响应消 息。  Optionally, the determining unit 42 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, the wireless access point feeds back the probe response message to the terminal device.
本发明的实施例提供的无线接入点, 通过在终端设备向无线接 入点发送的探测请求消息中的服务集标识字段加入指示信息, 使得 终端设备欲查找的无线接入点在识别到该指示信息后向该终端设备 反馈探测响应消息, 而其他无线接入点则不反馈, 从而提高无线网 络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point provided by the embodiment of the present invention adds the indication information by using the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
需要说明的是, 本发明以上各个实施例中的无线接入点中的各 单元的实现方式和交互过程可以参考相应方法实施例中的相关描 述。  It should be noted that the implementation manner and interaction process of each unit in the wireless access point in the foregoing various embodiments of the present invention may refer to related descriptions in the corresponding method embodiments.
本发明的实施例提供一种终端设备, 如图 5所示, 该终端设备 5 包括: 信息发送单元 5 1 , 其中:  An embodiment of the present invention provides a terminal device. As shown in FIG. 5, the terminal device 5 includes: an information sending unit 5 1 , where:
信息发送单元 5 1 , 用于向无线接入点发送探测请求消息, 以便 无线接入点根据探测请求消息确定是否向终端设备反馈探测响应消 息。  The information sending unit 5 1 is configured to send a probe request message to the wireless access point, so that the wireless access point determines, according to the probe request message, whether to feed back the probe response message to the terminal device.
其中, 上述的探测请求消息中的服务集标识字段包含指示信 息; 该指示信息用于向无线接入点指示终端设备欲查找的无线接入 点的类型; 上述的指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。  The service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
可选的, 上述的探测请求消息还包括业务指示信息; 该业务指 示信息包括至少一种业务信息, 该业务指示信息用于向无线接入点 指示终端设备所支持的业务。  Optionally, the foregoing probe request message further includes service indication information; the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
可选的, 上述的服务集标识字段还包括业务指示信息; 该业务 指示信息包括至少一种业务信息, 该业务指示信息用于向无线接入 点指示终端设备所支持的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
本发明的实施例提供的终端设备, 通过在终端设备向无线接入 点发送的探测请求消息中的服务集标识字段加入指示信息, 使得终 端设备欲查找的无线接入点在识别到该指示信息后向该终端设备反 馈探测响应消息, 而其他无线接入点则不反馈, 从而提高无线网络 资源的利用率, 同时降低了终端设备的耗电。 A terminal device provided by an embodiment of the present invention, by using wireless access in a terminal device The service set identifier field in the probe request message sent by the point joins the indication information, so that the wireless access point that the terminal device wants to find feeds back the probe response message to the terminal device after identifying the indication information, and the other wireless access points do not Feedback, thereby improving the utilization of wireless network resources, while reducing the power consumption of the terminal equipment.
需要说明的是, 本发明以上各个实施例中的终端设备中的信息 发送单元的实现方式可以参考相应方法实施例中的相关描述。  It should be noted that the implementation manners of the information sending unit in the terminal device in the foregoing various embodiments of the present invention may refer to related descriptions in the corresponding method embodiments.
本发明的实施例提供一种无线接入点, 如图 6所示, 该无线接 入点 6包括: 接收机 61和处理器 62 , 其中:  An embodiment of the present invention provides a wireless access point. As shown in FIG. 6, the wireless access point 6 includes: a receiver 61 and a processor 62, where:
接收机 61 , 用于接收终端设备发送的探测请求消息。  The receiver 61 is configured to receive a probe request message sent by the terminal device.
其中, 上述的探测请求消息中的服务集标识字段包含指示信 息; 该指示信息用于向无线接入点指示终端设备欲查找的无线接入 点的类型; 上述的指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。  The service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
处理器 62 ,用于根据探测请求消息确定是否向终端设备反馈探 测响应消息。  The processor 62 is configured to determine, according to the probe request message, whether to feed back the probe response message to the terminal device.
可选的, 上述的探测请求消息还包括业务指示信息, 该业务指 示信息包括至少一种业务信息, 该业务指示信息用于向无线接入点 指示终端设备所支持的业务。  Optionally, the foregoing probe request message further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
处理器 62 具体用于: 当无线接入点识别出服务集标识字段中 的指示信息, 且支持业务指示信息中的至少一种业务信息所指示的 业务时, 向终端设备反馈探测响应消息。  The processor 62 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information in the service indication information, feeding back the probe response message to the terminal device.
可选的, 上述的服务集标识字段还包括业务指示信息, 该业务 指示信息包括至少一种业务信息, 该业务指示信息用于向无线接入 点指示终端设备所支持的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
进一步可选的, 该处理器 62 具体用于: 当无线接入点识别出 服务集标识字段中的指示信息, 且支持指示信息中的业务指示信息 的至少一种业务信息所指示的业务时, 向终端设备反馈探测响应消 息。  Further, the processor 62 is specifically configured to: when the wireless access point identifies the indication information in the service set identifier field, and supports the service indicated by the at least one service information of the service indication information in the information, The probe response message is fed back to the terminal device.
可选的, 处理器 62 具体用于: 当无线接入点识别出服务集标 识字段中的指示信息, 向终端设备反馈探测响应消息。 Optionally, the processor 62 is specifically configured to: when the wireless access point identifies the service set identifier The indication information in the identification field is fed back to the terminal device for the probe response message.
本发明的实施例提供的无线接入点, 通过在终端设备向无线接 入点发送的探测请求消息中的服务集标识字段加入指示信息, 使得 终端设备欲查找的无线接入点在识别到该指示信息后向该终端设备 反馈探测响应消息, 而其他无线接入点则不反馈, 从而提高无线网 络资源的利用率, 同时降低了终端设备的耗电。  The wireless access point provided by the embodiment of the present invention adds the indication information by using the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the After the indication information, the probe response message is fed back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
需要说明的是, 本发明以上各个实施例中的无线接入点中的各 单元的实现方式和交互过程可以参考相应方法实施例中的相关描 述。  It should be noted that the implementation manner and interaction process of each unit in the wireless access point in the foregoing various embodiments of the present invention may refer to related descriptions in the corresponding method embodiments.
本发明的实施例提供一种终端设备, 如图 7所示, 该终端设备 7 包括: 发射机 71 , 其中  An embodiment of the present invention provides a terminal device. As shown in FIG. 7, the terminal device 7 includes: a transmitter 71, where
发射机 7 1 , 用于向无线接入点发送探测请求消息, 以便无线接 入点根据探测请求消息确定是否向终端设备反馈探测响应消息。  The transmitter 7 1 is configured to send a probe request message to the wireless access point, so that the wireless access point determines whether to feed back the probe response message to the terminal device according to the probe request message.
其中, 上述的探测请求消息中的服务集标识字段包含指示信 息; 该指示信息用于向无线接入点指示终端设备欲查找的无线接入 点的类型; 上述的指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。  The service set identifier field in the probe request message includes the indication information; the indication information is used to indicate to the wireless access point the type of the wireless access point that the terminal device is to find; the foregoing indication information includes: preset control At least one of a character, a preset keyword, a preset symbol, a preset character string, and a preset identifier.
可选的, 上述的探测请求消息还包括业务指示信息; 该业务指 示信息包括至少一种业务信息, 该业务指示信息用于向无线接入点 指示终端设备所支持的业务。  Optionally, the foregoing probe request message further includes service indication information; the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
可选的, 上述的服务集标识字段还包括业务指示信息; 该业务 指示信息包括至少一种业务信息, 该业务指示信息用于向无线接入 点指示终端设备所支持的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
本发明的实施例提供的终端设备, 通过在终端设备向无线接入 点发送的探测请求消息中的服务集标识字段加入指示信息, 使得终 端设备欲查找的无线接入点在识别到该指示信息后向该终端设备反 馈探测响应消息, 而其他无线接入点则不反馈, 从而提高无线网络 资源的利用率, 同时降低了终端设备的耗电。  The terminal device provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the indication information. The probe response message is sent back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
需要说明的是, 本发明以上各个实施例中的终端设备中的发射 机的实现方式可以参考相应方法实施例中的相关描述。 It should be noted that the transmission in the terminal device in each of the above embodiments of the present invention For the implementation of the machine, reference may be made to the related description in the corresponding method embodiments.
本发明的实施例提供一种网络系统, 如图 8所示, 该网络系统 8 包括: 终端设备 81和无线接入点 82 , 其中:  An embodiment of the present invention provides a network system. As shown in FIG. 8, the network system 8 includes: a terminal device 81 and a wireless access point 82, where:
终端设备 81 , 用于向无线接入点 82发送探测请求消息, 以便 无线接入点 82根据探测请求消息确定是否向终端设备 81反馈探测 响应消息; 其中, 上述的探测请求消息中的服务集标识字段包含指 示信息; 该指示信息用于向无线接入点指示终端设备欲查找的无线 接入点的类型。  The terminal device 81 is configured to send a probe request message to the wireless access point 82, so that the wireless access point 82 determines, according to the probe request message, whether to feed back a probe response message to the terminal device 81. The service set identifier in the probe request message. The field contains indication information; the indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device is to find.
无线接入点 82 , 用于接收终端设备 8 1发送的探测请求消息; 根据探测请求消息确定是否向终端设备 81反馈探测响应消息。  The wireless access point 82 is configured to receive a probe request message sent by the terminal device 81; and determine, according to the probe request message, whether to feed back the probe response message to the terminal device 81.
可选的, 上述的指示信息包括: 预设的控制字符, 预设的关键 字, 预设的符号, 预设的字符串和预设的标识中的任意一种。  Optionally, the foregoing indication information includes: a preset control character, a preset keyword, a preset symbol, a preset string, and a preset identifier.
可选的, 上述的探测请求消息还包括业务指示信息; 该业务指 示信息包括至少一种业务信息, 该业务指示信息用于向无线接入点 指示终端设备所支持的业务。  Optionally, the foregoing probe request message further includes service indication information; the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
可选的, 上述的服务集标识字段还包括业务指示信息; 该业务 指示信息包括至少一种业务信息, 该业务指示信息用于向无线接入 点指示终端设备所支持的业务。  Optionally, the foregoing service set identifier field further includes service indication information, where the service indication information includes at least one service information, where the service indication information is used to indicate, to the wireless access point, a service supported by the terminal device.
本发明的实施例提供的网络系统, 通过在终端设备向无线接入 点发送的探测请求消息中的服务集标识字段加入指示信息, 使得终 端设备欲查找的无线接入点在识别到该指示信息后向该终端设备反 馈探测响应消息, 而其他无线接入点则不反馈, 从而提高无线网络 资源的利用率, 同时降低了终端设备的耗电。  The network system provided by the embodiment of the present invention adds the indication information to the service set identifier field in the probe request message sent by the terminal device to the wireless access point, so that the wireless access point that the terminal device wants to find is identifying the indication information. The probe response message is sent back to the terminal device, and the other wireless access points do not feedback, thereby improving the utilization of the wireless network resource and reducing the power consumption of the terminal device.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的设备 和方法, 可以通过其它的方式实现。 例如, 以上所描述的设备实施 例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能 划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可 以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执 行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通信连 接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以 是电性, 机械或其它的形式。 In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed The connection may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
另外, 在本发明各个实施例中的设备和系统中, 各功能单元可 以集成在一个处理单元中, 也可以是各个单元单独物理包括, 也可 以两个或两个以上单元集成在一个单元中。 且上述的各单元既可以 釆用硬件的形式实现, 也可以釆用硬件加软件功能单元的形式实现。  Further, in the devices and systems in the various embodiments of the present invention, each functional unit may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The above units may be implemented in the form of hardware or in the form of hardware plus software functional units.
实现上述方法实施例的全部或部分步骤可以通过程序指令相 关的硬件来完成, 前述的程序可以存储于一计算机可读取存储介质 中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的 存储介质包括: U盘、 移动硬盘、 只读存储器 ( Read Only Memory , 简称 ROM )、随机存取存储器( Random Access Memory ,简称 RAM )、 磁碟或者光盘等各种可以存储程序代码的介质。  All or part of the steps of implementing the above method embodiments may be performed by hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiments; The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以所述权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要 求 书 claims
1、 一种无线接入点查询方法, 其特征在于, 包括: 1. A wireless access point query method, characterized by including:
无线接入点接收终端设备发送的探测请求消息; 其中所述探测 请求消息中的服务集标识字段包含指示信息; 所述指示信息用于向所 述无线接入点指示所述终端设备欲查找的无线接入点的类型; 所述指 示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的 字符串和预设的标识中的至少一种; The wireless access point receives a detection request message sent by the terminal device; wherein the service set identification field in the detection request message contains indication information; the indication information is used to indicate to the wireless access point that the terminal device wants to find The type of wireless access point; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset string and a preset identification;
所述无线接入点根据所述探测请求消息确定是否向所述终端设 备反馈探测响应消息。 The wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message.
2、 根据权利要求 1所述的方法, 其特征在于, 所述探测请求消 息还包括业务指示信息, 所述业务指示信息包括至少一种业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲查找 的业务; 2. The method according to claim 1, characterized in that, the detection request message further includes service indication information, the service indication information includes at least one kind of service information, and the service indication information is used to provide the wireless access The entry point indicates the service that the terminal device wants to search for;
所述无线接入点根据所述探测请求消息确定是否向所述终端设 备反馈探测响应消息具体包括: The wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message, which specifically includes:
当所述无线接入点识别出所述服务集标识字段中的指示信息, 且支持所述探测请求消息中业务指示信息中的至少一种业务信息所 指示的业务时, 所述无线接入点向所述终端设备反馈探测响应消息。 When the wireless access point recognizes the indication information in the service set identification field and supports the service indicated by at least one service information in the service indication information in the detection request message, the wireless access point Feed back a detection response message to the terminal device.
3、 根据权利要求 1所述的方法, 其特征在于, 所述服务集标识 字段还包括业务指示信息, 所述业务指示信息包括至少一种业务信 息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲查 找的业务; 3. The method according to claim 1, characterized in that, the service set identification field further includes service indication information, the service indication information includes at least one kind of service information, and the service indication information is used to provide the wireless The access point indicates the service that the terminal device wants to find;
所述无线接入点根据所述探测请求消息确定是否向所述终端设 备反馈探测响应消息具体包括: The wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message, which specifically includes:
当所述无线接入点识别出所述服务集标识字段中的指示信息, 且支持所述服务集标识字段中业务指示信息的至少一种业务信息所 指示的业务时, 所述无线接入点向所述终端设备反馈探测响应消息。 When the wireless access point recognizes the indication information in the service set identification field and supports the service indicated by at least one service information of the service indication information in the service set identification field, the wireless access point Feed back a detection response message to the terminal device.
4、 根据权利要求 1所述的方法, 其特征在于, 所述无线接入点 根据所述探测请求消息确定是否向所述终端设备反馈探测响应消息 包括: 4. The method according to claim 1, wherein the wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message. include:
当所述无线接入点识别出所述服务集标识字段中的指示信息 时, 所述无线接入点向所述终端设备反馈探测响应消息。 When the wireless access point recognizes the indication information in the service set identification field, the wireless access point feeds back a detection response message to the terminal device.
5、 一种无线接入点查询方法, 其特征在于, 包括: 5. A wireless access point query method, characterized by including:
终端设备向无线接入点发送探测请求消 , , 以便所述无线接入 点根据所述探测请求消息确定是否向所述终端设备反馈探测响应消 息; 其中所述探测请求消息中的服务集标识字段包含指示信息; 所述 指示信息用于向所述无线接入点指示所述终端设备欲查找的无线接 入点的类型; 所述指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。 The terminal device sends a detection request message to the wireless access point, so that the wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message; wherein the service set identification field in the detection request message Contains indication information; The indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device wants to find; The indication information includes: preset control characters, preset keywords, At least one of a preset symbol, a preset character string and a preset logo.
6、 根据权利要求 5所述的方法, 其特征在于, 所述探测请求消 息还包括业务指示信息; 其中所述业务指示信息包括至少一种业务信 息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲查 找的业务。 6. The method according to claim 5, characterized in that, the detection request message further includes service indication information; wherein the service indication information includes at least one kind of service information, and the service indication information is used to provide the wireless The access point indicates the service that the terminal device wants to find.
7、 根据权利要求 5所述的方法, 其特征在于, 所述服务集标识 字段还包括业务指示信息; 其中所述业务指示信息包括至少一种业务 信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲 查找的业务。 7. The method according to claim 5, wherein the service set identification field further includes service indication information; wherein the service indication information includes at least one kind of service information, and the service indication information is used to provide the service information to the service set identification field. The wireless access point indicates the service that the terminal device wants to search for.
8、 一种无线接入点, 其特征在于, 包括: 8. A wireless access point, characterized by including:
信息接收单元, 用于接收终端设备发送的探测请求消息; 其中 所述探测请求消息中的服务集标识字段包含指示信息; 所述指示信, 用于向所述无线接入点指示所述终端设备欲查找的无线接入点的类 型; 所述指示信息包括: 预设的控制字符, 预设的关键字, 预设的符 号, 预设的字符串和预设的标识中的至少一种; An information receiving unit, configured to receive a detection request message sent by a terminal device; wherein the service set identification field in the detection request message contains indication information; and the indication letter is used to indicate the terminal device to the wireless access point The type of wireless access point to be searched; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset string and a preset identification;
确定单元, 用于根据所述信息接收单元接收的所述探测请求消 息确定是否向所述终端设备反馈探测响应消息。 Determining unit, configured to determine whether to feed back a detection response message to the terminal device according to the detection request message received by the information receiving unit.
9、 根据权利要求 8所述的无线接入点, 其特征在于, 所述探测 请求消息还包括业务指示信息, 所述业务指示信息包括至少一种业务 信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备欲 查找的业务; 9. The wireless access point according to claim 8, wherein the detection request message further includes service indication information, the service indication information includes at least one kind of service information, and the service indication information is used to provide the The wireless access point instructs the terminal device to Search business;
所述确定单元具体用于: 当所述无线接入点识别出所述服务集 标识字段中的指示信息, 且支持所述探测请求消息中业务指示信息中 的至少一种业务信息所指示的业务时, 所述无线接入点向所述终端设 备反馈探测响应消息。 The determining unit is specifically configured to: when the wireless access point recognizes the indication information in the service set identification field and supports the service indicated by at least one service information in the service indication information in the detection request message. , the wireless access point feeds back a detection response message to the terminal device.
10、 根据权利要求 8 所述的无线接入点, 其特征在于, 所述服 务集标识字段还包括业务指示信息, 所述业务指示信息包括至少一种 业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务; 10. The wireless access point according to claim 8, wherein the service set identification field further includes service indication information, the service indication information includes at least one kind of service information, and the service indication information is used to provide The wireless access point indicates the service that the terminal device wants to find;
所述确定单元具体用于: 当所述无线接入点识别出所述服务集 标识字段中的指示信息, 且支持所述服务集标识字段中业务指示信息 的至少一种业务信息所指示的业务时, 所述无线接入点向所述终端设 备反馈探测响应消息。 The determining unit is specifically configured to: when the wireless access point recognizes the indication information in the service set identification field and supports the service indicated by at least one service information of the service indication information in the service set identification field. , the wireless access point feeds back a detection response message to the terminal device.
1 1、 根据权利要求 8所述的无线接入点, 其特征在于: 所述确定单元具体用于: 当所述无线接入点识别出所述服务集 标识字段中的指示信息时, 所述无线接入点向所述终端设备反馈探测 响应消息。 1 1. The wireless access point according to claim 8, characterized in that: the determining unit is specifically configured to: when the wireless access point recognizes the indication information in the service set identification field, the The wireless access point feeds back a detection response message to the terminal device.
12、 一种终端设备, 其特征在于, 包括: 12. A terminal device, characterized by: including:
信息发送单元, 用于向无线接入点发送探测请求消息, 以便所 述无线接入点根据所述探测请求消息确定是否向所述终端设备反馈 探测响应消息; 其中所述探测请求消息中的服务集标识字段包含指示 信息; 所述指示信息用于向所述无线接入点指示所述终端设备欲查找 的无线接入点的类型; 所述指示信息包括: 预设的控制字符, 预设的 关键字, 预设的符号, 预设的字符串和预设的标识中的至少一种。 An information sending unit, configured to send a detection request message to the wireless access point, so that the wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message; wherein the service in the detection request message The set identification field contains indication information; the indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device wants to find; the indication information includes: preset control characters, preset At least one of a keyword, a preset symbol, a preset character string and a preset identification.
13、 根据权利要求 12所述的终端设备, 其特征在于, 所述探测 请求消息还包括业务指示信息; 其中所述业务指示信息包括至少一种 业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务。 13. The terminal device according to claim 12, wherein the detection request message further includes service indication information; wherein the service indication information includes at least one kind of service information, and the service indication information is used to provide the service indication information to the The wireless access point indicates the service that the terminal device wants to search for.
14、 根据权利要求 12所述的终端设备, 其特征在于, 所述服务 集标识字段还包括业务指示信息; 其中所述业务指示信息包括至少一 种业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端 设备欲查找的业务。 14. The terminal device according to claim 12, characterized in that: the service The set identification field also includes service indication information; wherein the service indication information includes at least one kind of service information, and the service indication information is used to indicate to the wireless access point the service that the terminal device wants to find.
15、 一种无线接入点, 其特征在于, 包括: 15. A wireless access point, characterized by: including:
接收机, 用于接收终端设备发送的探测请求消息; 其中所述探 测请求消息中的服务集标识字段包含指示信息; 所述指示信息用于向 所述无线接入点指示所述终端设备欲查找的无线接入点的类型; 所述 指示信息包括: 预设的控制字符, 预设的关键字, 预设的符号, 预设 的字符串和预设的标识中的至少一种; A receiver, configured to receive a detection request message sent by a terminal device; wherein the service set identification field in the detection request message contains indication information; the indication information is used to indicate to the wireless access point that the terminal device wants to find The type of wireless access point; the indication information includes: at least one of a preset control character, a preset keyword, a preset symbol, a preset string and a preset identification;
处理器, 用于根据所述探测请求消息确定是否向所述终端设备 反馈探测响应消息。 A processor, configured to determine whether to feed back a detection response message to the terminal device according to the detection request message.
16、 根据权利要求 15所述的无线接入点, 其特征在于, 所述探 测请求消息还包括业务指示信息, 所述业务指示信息包括至少一种业 务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设备 欲查找的业务; 16. The wireless access point according to claim 15, wherein the detection request message further includes service indication information, the service indication information includes at least one kind of service information, and the service indication information is used to provide the The wireless access point indicates the service that the terminal device wants to find;
所述处理器具体用于: 当所述无线接入点识别出所述服务集标 识字段中的指示信息, 且支持所述探测请求消息中业务指示信息中的 至少一种业务信息所指示的业务时, 所述无线接入点向所述终端设备 反馈探测响应消息。 The processor is specifically configured to: when the wireless access point identifies the indication information in the service set identification field and supports the service indicated by at least one service information in the service indication information in the detection request message. , the wireless access point feeds back a detection response message to the terminal device.
17、 根据权利要求 15所述的无线接入点, 其特征在于, 所述服 务集标识字段还包括业务指示信息, 所述业务指示信息包括至少一种 业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务; 17. The wireless access point according to claim 15, wherein the service set identification field further includes service indication information, the service indication information includes at least one kind of service information, and the service indication information is used to provide The wireless access point indicates the service that the terminal device wants to find;
所述处理器具体用于: 当所述无线接入点识别出所述服务集标 识字段中的指示信息, 且支持所述服务集标识字段中业务指示信息的 至少一种业务信息所指示的业务时, 所述无线接入点向所述终端设备 反馈探测响应消息。 The processor is specifically configured to: when the wireless access point recognizes the indication information in the service set identification field and supports the service indicated by at least one service information of the service indication information in the service set identification field. , the wireless access point feeds back a detection response message to the terminal device.
18、 根据权利要求 15所述的无线接入点, 其特征在于: 所述处理器具体用于: 当所述无线接入点识别出所述服务集标 识字段中的指示信息时, 所述无线接入点向所述终端设备反馈探测响 应消息。 18. The wireless access point according to claim 15, characterized in that: the processor is specifically configured to: when the wireless access point identifies the service set identifier When receiving the indication information in the recognition field, the wireless access point feeds back a detection response message to the terminal device.
19、 一种终端设备, 其特征在于, 包括: 19. A terminal device, characterized by: including:
发射机, 用于向无线接入点发送探测请求消息, 以便所述无线 接入点根据所述探测请求消息确定是否向所述终端设备反馈探测响 应消息; 其中所述探测请求消息中的服务集标识字段包含指示信息; 所述指示信息用于向所述无线接入点指示所述终端设备欲查找的无 线接入点的类型; 所述指示信息包括: 预设的控制字符, 预设的关键 字, 预设的符号, 预设的字符串和预设的标识中的至少一种。 A transmitter, configured to send a detection request message to a wireless access point, so that the wireless access point determines whether to feed back a detection response message to the terminal device according to the detection request message; wherein the service set in the detection request message The identification field contains indication information; the indication information is used to indicate to the wireless access point the type of wireless access point that the terminal device wants to find; the indication information includes: a preset control character, a preset key At least one of a word, a preset symbol, a preset character string and a preset logo.
20、 根据权利要求 19所述的终端设备, 其特征在于, 所述探测 请求消息还包括业务指示信息; 其中所述业务指示信息包括至少一种 业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端设 备欲查找的业务。 20. The terminal device according to claim 19, wherein the detection request message further includes service indication information; wherein the service indication information includes at least one kind of service information, and the service indication information is used to provide the service indication information to the The wireless access point indicates the service that the terminal device wants to search for.
21、 根据权利要求 19所述的终端设备, 其特征在于, 所述服务 集标识字段还包括业务指示信息; 其中所述业务指示信息包括至少一 种业务信息, 所述业务指示信息用于向所述无线接入点指示所述终端 设备欲查找的业务。 21. The terminal device according to claim 19, wherein the service set identification field further includes service indication information; wherein the service indication information includes at least one kind of service information, and the service indication information is used to provide The wireless access point indicates the service that the terminal device wants to search for.
22、 一种网络系统, 其特征在于, 包括: 无线接入点和终端设 备, 所述无线接入点为权利要求 8至 1 1 所述的的任一无线接入点, 所述终端设备为权利要求 12至 14所述的任一终端设备; 或者, 所述 无线接入点为权利要求 15至 18所述的的任一无线接入点, 所述终端 设备为权利要求 19至 21所述的任一终端设备。 22. A network system, characterized in that it includes: a wireless access point and a terminal device, the wireless access point is any wireless access point described in claims 8 to 1 1, and the terminal device is Any terminal device according to claims 12 to 14; or, the wireless access point is any wireless access point according to claims 15 to 18, and the terminal device is any wireless access point according to claims 19 to 21 any terminal device.
PCT/CN2013/084632 2013-09-29 2013-09-29 Method and device for querying wireless access point and network system WO2015042922A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/084632 WO2015042922A1 (en) 2013-09-29 2013-09-29 Method and device for querying wireless access point and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/084632 WO2015042922A1 (en) 2013-09-29 2013-09-29 Method and device for querying wireless access point and network system

Publications (1)

Publication Number Publication Date
WO2015042922A1 true WO2015042922A1 (en) 2015-04-02

Family

ID=52741854

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084632 WO2015042922A1 (en) 2013-09-29 2013-09-29 Method and device for querying wireless access point and network system

Country Status (1)

Country Link
WO (1) WO2015042922A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070153732A1 (en) * 2005-10-21 2007-07-05 Zhonghui Yao Method for a wireless local area network terminal to access a network, a system and a terminal
CN101682539A (en) * 2007-06-01 2010-03-24 Lg电子株式会社 Scanning procedure in wireless lan, station supporting the same, and frame format therefor
CN102577525A (en) * 2009-09-30 2012-07-11 苹果公司 Methods and apparatus for solicited activation for protected wireless networking
US20130188628A1 (en) * 2011-12-22 2013-07-25 Electronics And Telecommunications Research Institute Method and apparatus of scanning in wireless local area network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070153732A1 (en) * 2005-10-21 2007-07-05 Zhonghui Yao Method for a wireless local area network terminal to access a network, a system and a terminal
CN101682539A (en) * 2007-06-01 2010-03-24 Lg电子株式会社 Scanning procedure in wireless lan, station supporting the same, and frame format therefor
CN102577525A (en) * 2009-09-30 2012-07-11 苹果公司 Methods and apparatus for solicited activation for protected wireless networking
US20130188628A1 (en) * 2011-12-22 2013-07-25 Electronics And Telecommunications Research Institute Method and apparatus of scanning in wireless local area network system

Similar Documents

Publication Publication Date Title
WO2018032774A1 (en) Method and device for sending and receiving wur frame
CN106465251B (en) System and method for utilizing stored high-level information
WO2014094556A1 (en) Service information discovery method and device
EP3758312B1 (en) Method and system for the creation of a multicast group
WO2013104287A1 (en) Method, device, and system for data communication
WO2015131358A1 (en) Channel resource indication method and device
JP2015511463A (en) Method and apparatus for detecting a wireless device
WO2013104271A1 (en) Feedback method for actively scanning user terminal and access point
CN106131925B (en) GAS (generic Access service) query method and device
CA3200022A1 (en) Wireless network service type
JP2014525696A (en) Apparatus and method for supporting direct communication service between devices
US20110231492A1 (en) Method and means for supporting user terminal to access network in fixed access network
WO2011140906A1 (en) Network accessing method and apparatus for device in wireless sensor network
WO2013120402A1 (en) Method and device for handling address conflict
WO2009000214A1 (en) Method and device for configuring configuration data of user access network
US20080118069A1 (en) Mobile communication system, and key setting method
JP7043590B2 (en) Methods and devices for wireless communication
WO2015101297A1 (en) Service query method, device and system and station
WO2014201641A1 (en) Information query method and device
WO2015042922A1 (en) Method and device for querying wireless access point and network system
WO2014000489A1 (en) Method for establishing communication link between multi-mode rru and bbu, multi-mode rru and bbu
WO2013181787A1 (en) Infrastructure service information communication device and method
WO2013037303A1 (en) Multicast packet transmission method, station device and service set system
CN109429268B (en) Communication method and device of wireless local area network, access point equipment and site equipment
WO2018177422A1 (en) Access method, station and access point

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13894453

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13894453

Country of ref document: EP

Kind code of ref document: A1