Method for selecting wireless access point, FTM session method, terminal, and server
AssigneeHuawei Technologies Co., Ltd.
InventorZhihao Xing
Life of this patent
Estimating the term…
Abstract
A method for selecting a wireless access point (AP) relates to the field of communications technologies, and to a fine time measurement (FTM) technology in a wireless network, where after receiving a query request carrying a query condition, a server determines a target AP according to stored service capability information of each of multiple APs that support an FTM mechanism and the query condition, and sends a media access control (MAC) address of the target AP and information about a frequency band and a channel used by the target AP to a terminal.
Claims28
A method for selecting a wireless access point, comprising:
- receiving a query request from a terminal, wherein the query request carries a query condition, wherein the query condition comprises an estimated position of the terminal and a scanning range set by the terminal;
- determining a target access point (AP) from a plurality of APs supporting a fine time measurement (FTM) mechanism according to stored service capability information of each of the APs, the query condition, the estimated position of the terminal, and the scanning range set by the terminal, wherein the service capability information of each of the APs comprises position information of each of the APs, and wherein a position of the target AP is in a range determined according to the estimated position of the terminal and the scanning range set by the terminal;
- and
- sending a stored media access control (MAC) address of the target AP and stored information of a frequency band and a channel used by the target AP to the terminal to enable the terminal to perform FTM session negotiation with the target AP.
A fine time measurement (FTM) session method implemented by a terminal, comprising:
- sending a query request to a server, wherein the query request carries a query condition, wherein the query condition comprises an estimated position of the terminal and a scanning range set by the terminal;
- obtaining a Media Access Control (MAC) address of a target access point (AP) and information about a frequency band and a channel used by the target AP from the server, wherein the target AP is an AP supporting an FTM mechanism, and wherein the target AP meets the query condition, and wherein a position of the target AP is in a range determined according to the estimated position of the terminal and the scanning range set by the terminal;
- scanning for, according to the MAC address of the target AP, the target AP in the frequency band and on the channel used by the target AP to obtain the target AP;
- and
- performing FTM session negotiation with the target AP in response to the target AP being obtained.
A server, comprising:
- a communications interface configured to receive a query request from a terminal, wherein the query request carries a query condition, wherein the query condition comprises an estimated position of the terminal and a scanning range set by the terminal;
- a memory coupled to the communications interface and configured to store service capability information of each of a plurality of access points (APs) supporting a fine time measurement (FTM) mechanism, media access control (MAC) addresses of the APs, and information about frequency bands and channels used by the APs, wherein the service capability information of each of the APs comprises position information of each of the APs;
- and
- a processor coupled to the communications interface and the memory and configured to determine a target AP from the APs according to the stored service capability information of each of the APs, the query condition, the estimated position of the terminal and the scanning range set by the terminal, wherein a position of the target AP is in a range determined according to the estimated position of the terminal and the scanning range set by the terminal,
- wherein the communications interface is further configured to send a stored MAC address of the target AP and stored information of a frequency band and a channel used by the target AP to the terminal to enable the terminal to perform FTM session negotiation with the target AP.
A terminal, comprising:
- a communications interface configured to:
- send a query request to a server, wherein the query request carries a query condition, and wherein the query condition comprises an estimated position of the terminal and a scanning range set by the terminal;
- and
- obtain a Media Access Control (MAC) address of a target access point (AP) and information about a frequency band and a channel used by the target AP from the server, wherein the target AP is an AP supporting a fine time measurement (FTM) mechanism, and wherein the target AP meets the query condition;
- and
- a processor coupled to the communications interface and configured to:
- scan for, according to the MAC address of the target AP, the target AP in the frequency band and on the channel used by the target AP;
- obtain the target AP, wherein a position of the target AP is in a range determined according to the estimated position of the terminal and the scanning range set by the terminal;
- and
- perform FTM session negotiation with the target AP in response to the target AP being obtained.
Dependencies are inferred from the claim text.