# US 2019/0246349 A1 · Method for Selecting Wireless Access Point, FTM Session Method, Terminal, and Server

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0246349 A1
- Document ID: US20190246349A1
- Status: Published application
- Kind: A1
- Application number: 16/388,186
- Filed: 2019-04-18
- Published: 2019-08-08
- Earliest claimed: 2016-10-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Zhihao Xing
- Web page: https://patentgrep.com/patent/US20190246349A1

## CPC

- H04W 48/20: Selecting an access point
- H04W 48/14: using user query {or user detection}
- H04W 48/16: Discovering, processing access restriction or access information
- H04W 64/00: Locating users or terminals {or network equipment} for network management purposes, e.g. mobility management
- H04W 64/003: {locating network equipment}
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## 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.

## Claims

### Claim 1

A method for selecting a wireless access point, comprising:
receiving a query request from a terminal, wherein the query request carries a query condition;
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 and the query condition; 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.

### Claim 2 (depends on 1)

The method of claim 1, wherein the query condition comprises an estimated position of the terminal and a scanning range set by the terminal, wherein the service capability information of each of the APs comprises position information of each of the APs, wherein determining the target AP comprises determining the target AP from the APs according to the position information of each of the APs, the estimated position of the terminal, and the scanning range set by the terminal, 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.

### Claim 3 (depends on 1)

The method of claim 1, wherein the query condition comprises a value of an FTM parameter expected by the terminal during the FTM session negotiation, wherein the service capability information of each of the APs comprises a value of an FTM parameter supported by each of the APs, wherein determining the target AP comprises determining the target AP from the APs according to the value of the FTM parameter supported by each of the APs and the value of the FTM parameter expected by the terminal, and wherein an intersection set of a value of an FTM parameter supported by the target AP and the value of the FTM parameter expected by the terminal is a non-empty set.

### Claim 4 (depends on 3)

The method of claim 3, wherein the FTM parameter supported by each of the APs or the FTM parameter expected by the terminal comprises at least one of an FTM format and bandwidth, a number of burst exponent, burst duration, FTMs per burst, minimum delta FTM, or a burst period.

### Claim 5 (depends on 1)

The method of claim 1, wherein the query condition comprises a value of a number of burst exponent expected by the terminal and a value of a burst period expected by the terminal, wherein the service capability information of each of the APs comprises a value of a constraint parameter set by each of the APs, wherein the constraint parameter set by each of the APs comprises maximum session duration (Max Session Duration) constraining a value of a burst period and a value of a number of burst exponent supported by each of the APs, wherein Max Session Duration=T (Burst Period supported by the AP)*2Number of Burst Exponent supported by the AP, wherein T (Burst Period supported by the AP) indicates a real time length corresponding to the value of the burst period supported by each of the APs, wherein determining the target AP comprises determining the target AP from the APs according to a value of Max Session Duration of each of the APs, the value of the number of burst exponent expected by the terminal, and the value of the burst period expected by the terminal, wherein the value of the number of burst exponent expected by the terminal, the value of the burst period expected by the terminal, and a value of Max Session Duration set by the target AP meet a first constraint condition, wherein the first constraint condition comprises T(Burst Duration expected by the terminal)*2Number of Burst Exponent expected by the terminal<Max Session Duration, and wherein T(Burst Period expected by the terminal) indicates a real time length corresponding to the value of the burst period expected by the terminal.

### Claim 6 (depends on 1)

The method of claim 1, wherein the query condition comprises a value of a burst duration expected by the terminal and a value of a burst period expected by the terminal, wherein the service capability information of each of the APs comprises a value of a constraint parameter set by each of the APs, wherein the constraint parameter set by each of the APs comprises a maximum duty cycle (Max Duty Cycle) constraining a value of a burst period and a value of burst duration supported by each of the APs, wherein Max Duty Cycle=T (Burst Duration supported by the AP)/T (Burst Period supported by the AP), wherein T (Burst Period supported by the AP) indicates a real time length corresponding to the value of the burst period supported by each of the APs, wherein T (Burst Duration supported by the AP) indicates a real time length corresponding to the value of the burst duration supported by each of the APs, wherein determining the target AP comprises determining the target AP from the APs according to a value of Max Duty Cycle of each of the APs, the value of the burst duration expected by the terminal, and the value of the burst period expected by the terminal, wherein the value of the burst duration expected by the terminal, the value of the burst period expected by the terminal, and a value of a Max Duty Cycle set by the target AP meet a second constraint condition, wherein the second constraint condition comprises T(Burst Duration expected by the terminal)/T(Burst Period expected by the terminal)<Max Duty Cycle, wherein T(Burst Duration expected by the terminal) indicates a real time length corresponding to the value of the burst duration expected by the terminal, and wherein T(Burst Period expected by the terminal) indicates a real time length corresponding to the value of the burst period expected by the terminal.

### Claim 7 (depends on 1)

The method of claim 1, wherein the query condition comprises a value of FTMs per burst expected by the terminal and a value of a burst duration expected by the terminal, wherein the service capability information of each of the APs comprises a value of a constraint parameter set by each of the APs, wherein the constraint parameter set by each of the APs comprises a maximum FTM frequency (Max FTM Frequency) constraining a value of FTMs per burst and a value of a burst duration supported by each of the APs, wherein Max FTM Frequency=FTMs per Burst supported by the AP/T (Burst Duration supported by the AP), wherein T (Burst Duration supported by the AP) indicates a real time length corresponding to the value of the burst duration supported by each of the APs, wherein determining the target AP comprises determining the target AP from the APs according to a value of Max FTM Frequency of each of the APs, the value of the burst duration expected by the terminal, and the value of FTMs per burst expected by the terminal, wherein the value of FTMs per burst expected by the terminal, the value of the burst duration expected by the terminal, and a value of a Max FTM Frequency set by the target AP meet a third constraint condition, wherein the third constraint condition comprises FTMs per burst expected by the terminal/T(Burst Duration expected by the terminal)<Max FTM Frequency, and wherein T(Burst Duration expected by the terminal) indicates a real time length corresponding to the value of the burst duration expected by the terminal.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining another target AP from the plurality of APs according to stored service capability information of each of the APs and the query condition;
sending a stored media access control (MAC) address of the another target AP and stored information of a frequency band and a channel used by the another target AP to the terminal;
prioritizing at least two target APs comprising the target AP and the other target AP according to a preset prioritization rule, to obtain a priority order of the at least two target APs, wherein the prioritization rule comprises at least one of a priority of an AP in the at least two target APs with a position that proximate to an estimated position of the terminal is higher, a priority of an AP in the at least two target APs with an FTM format and bandwidth that has a larger value is higher, a priority of an AP in the at least two target APs with a constraint parameter that has a larger value is higher, or a priority of an AP in the at least two target APs with a communication load that is lower, in response to the service capability information of each of the APs further comprising the communication load of each of the APs, is higher; and
sending the priority order of the at least two target APs to the terminal to enable the terminal to select, according to the priority order, an AP with which the FTM session negotiation needs to be performed.

### Claim 9 (depends on 1)

The method of claim 1, further comprising sending service capability information of the target AP to the terminal to enable the terminal to determine again, based on the service capability information of the target AP and for a new query condition, an AP meeting the new query condition.

### Claim 10

A fine time measurement (FTM) session method, comprising:
sending a query request to a server, wherein the query request carries a query condition;
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;
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.

### Claim 11 (depends on 10)

The FTM session method of claim 10, wherein the query condition comprises an estimated position of the terminal and a scanning range set by the terminal, 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.

### Claim 12 (depends on 10)

The FTM session method of claim 10, wherein the query condition comprises a value of an FTM parameter expected by the terminal during the FTM session negotiation, and wherein an intersection set of a value of an FTM parameter supported by the target AP and the value of the FTM parameter expected by the terminal is a non-empty set.

### Claim 13 (depends on 10)

The FTM session method of claim 10, further comprising:
obtaining a Media Access Control (MAC) address of another target access point (AP) and information about a frequency band and a channel used by the another target AP from the server, wherein the another target AP is an AP supporting an FTM mechanism, and wherein the another target AP meets the query condition;
obtaining a priority order of the at least two target APs comprising the target AP and the other target AP, and
wherein performing the FTM session negotiation with the target AP comprises selecting, from the at least two target APs according to the priority order, an AP with which the FTM session negotiation needs to be performed to perform the FTM session negotiation.

### Claim 14 (depends on 10)

The FTM session method of claim 10, further comprising:
obtaining service capability information of the target AP from the server, wherein the service capability information of the target AP comprises at least one of position information of the target AP, a value of an FTM parameter supported by the target AP, current communication load of the target AP, a maximum session duration of the target AP, a Max Duty Cycle of the target AP, or a maximum FTM frequency of the target AP; and
determining again, based on the service capability information of the target AP and for a new query condition, an AP with which the FTM session negotiation needs to be performed.

### Claim 15

A server, comprising:
a communications interface configured to receive a query request from a terminal, wherein the query request carries a query condition;
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 and the query condition,
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.

### Claim 16 (depends on 15)

The server of claim 15, wherein the query condition carried in the query request comprises an estimated position of the terminal and a scanning range set by the terminal, wherein the service capability information of each of the APs stored in the memory comprises the position information of each of the APs, wherein the processor is further configured to determine the target AP from the APs according to the position information of each of the APs, the estimated position of the terminal, and the scanning range set by the terminal, 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.

### Claim 17 (depends on 15)

The server of claim 15, wherein the query condition carried in the query request comprises a value of an FTM parameter expected by the terminal during the FTM session negotiation, wherein the service capability information of each of the APs stored in the memory comprises a value of an FTM parameter supported by each of the APs, wherein the processor is further configured to determine the target AP from the APs according to the value of the FTM parameter supported by each of the APs and the value of the FTM parameter expected by the terminal, and wherein an intersection set of a value of an FTM parameter supported by the target AP and the value of the FTM parameter expected by the terminal is a non-empty set.

### Claim 18 (depends on 17)

The server of claim 17, wherein the FTM parameter supported by each of the APs stored in the memory or the FTM parameter expected by the terminal comprises at least one of an FTM format and bandwidth, a number of burst exponent, burst duration, FTMs per burst, minimum delta FTM, or a burst period.

### Claim 19 (depends on 15)

The server of claim 15, wherein the query condition carried in the query request comprises a value of a number of burst exponent expected by the terminal and a value of a burst period expected by the terminal, wherein the service capability information of each of the APs stored in the memory comprises a value of a constraint parameter set by each of the APs, wherein the constraint parameter set by each of the APs comprises maximum session duration (Max Session Duration) constraining a value of a burst period and a value of a number of burst exponent supported by each of the APs, wherein Max Session Duration=T (Burst Period supported by the AP)*2Number of Burst Exponent supported by the AP, wherein T (Burst Period supported by the AP) indicates a real time length corresponding to the value of the burst period supported by each of the APs, wherein the processor is further configured to determine the target AP from the APs according to a value of Max Session Duration of each of the APs, the value of the number of burst exponent expected by the terminal, and the value of the burst period expected by the terminal, wherein the value of the number of burst exponent expected by the terminal, the value of the burst period expected by the terminal, and a value of Max Session Duration set by the target AP meet a first constraint condition, wherein the first constraint condition comprises T (Burst Period expected by the terminal)*2Number of Burst Exponent expected by the terminal<Max Session Duration, and wherein T(Burst Period expected by the terminal) indicates a real time length corresponding to the value of the burst period expected by the terminal.

### Claim 20 (depends on 15)

The server of claim 15, wherein the query condition carried in the query request comprises a value of a burst duration expected by the terminal and a value of a burst period expected by the terminal, wherein the service capability information of each of the APs stored in the memory comprises a value of a constraint parameter set by each of the APs, wherein the constraint parameter set by each of the APs comprises a maximum duty cycle (Max Duty Cycle) constraining a value of a burst period and a value of a burst duration supported by each of the APs, wherein Max Duty Cycle=T (Burst Duration supported by the AP)/T (Burst Period supported by the AP), wherein T (Burst Period supported by the AP) indicates a real time length corresponding to the value of the burst period supported by each of the APs, wherein T (Burst Duration supported by the AP) indicates a real time length corresponding to the value of the burst duration supported by each of the APs, wherein the processor is further configured to determine the target AP from the APs according to a value of Max Duty Cycle of each of the APs, the value of the burst duration expected by the terminal, and the value of the burst period expected by the terminal, wherein the value of the burst duration expected by the terminal, the value of the burst period expected by the terminal, and a value of a Max Duty Cycle set by the target AP meet a second constraint condition, wherein the second constraint condition comprises T(Burst Duration expected by the terminal)/T(Burst Period expected by the terminal)<Max Duty Cycle, wherein T(Burst Duration expected by the terminal) indicates a real time length corresponding to the value of the burst duration expected by the terminal, and wherein T(Burst Period expected by the terminal) indicates a real time length corresponding to the value of the burst period expected by the terminal.

### Claim 21 (depends on 15)

The server of claim 15, wherein the query condition carried in the query request comprises a value of FTMs per burst expected by the terminal and a value of a burst duration expected by the terminal, wherein the service capability information of each of the APs stored in the memory comprises a value of a constraint parameter set by each of the APs, wherein the constraint parameter set by each of the APs comprises a maximum FTM frequency (Max FTM Frequency) constraining a value of FTMs per burst and a value of a burst duration supported by each of the APs, wherein Max FTM Frequency=FTMs per Burst supported by the AP/T (Burst Duration supported by the AP), wherein T (Burst Duration supported by the AP) indicates a real time length corresponding to the value of the burst duration supported by each of the APs, wherein the processor is further configured to determine the target AP from the APs according to a value of Max FTM Frequency of each of the APs, the value of the burst duration expected by the terminal, and the value of FTMs per burst expected by the terminal, wherein the value of FTMs per burst expected by the terminal, the value of the burst duration expected by the terminal, and a value of a Max FTM Frequency set by the target AP meet a third constraint condition, wherein the third constraint condition comprises FTMs per burst expected by the terminal/T(Burst Duration expected by the terminal)<Max FTM Frequency, and wherein T(Burst Duration expected by the terminal) indicates a real time length corresponding to the value of the burst duration expected by the terminal.

### Claim 22 (depends on 15)

The server of claim 15, wherein the processor is further configured to:
determine another target AP from the plurality of APs according to stored service capability information of each of the APs and the query condition;
send a stored media access control (MAC) address of the another target AP and stored information of a frequency band and a channel used by the another target AP to the terminal; and
prioritize at least two target APs comprising the target AP and the other target AP, according to a preset prioritization rule to obtain a priority order of the at least two target APs, wherein the prioritization rule comprises at least one of a priority of an AP in the at least two target APs with a position that is proximate to an estimated position of the terminal is higher, a priority of an AP in the at least two target APs with a FTM format and bandwidth that has a larger value is higher, a priority of an AP in the at least two target APs with a constraint parameter that has a larger value is higher, or a priority of an AP in the at least two target APs with a current communication load that is lower, in response to the service capability information of each of the APs further comprising the communication load of each of the APs, is higher, and
wherein the communications interface is further configured to send the priority order of the at least two target APs to the terminal to enable the terminal to select, according to the priority order, an AP with which the FTM session negotiation needs to be performed.

### Claim 23 (depends on 15)

The server of claim 15, wherein the communications interface is further configured to send service capability information of the target AP to the terminal to enable the terminal to determine again, based on the service capability information of the target AP and for a new query condition, an AP meeting the new query condition.

### Claim 24

A terminal, comprising:
a communications interface configured to:
send a query request to a server, wherein the query request carries a query condition; 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; and
perform FTM session negotiation with the target AP in response to the target AP being obtained.

### Claim 25 (depends on 24)

The terminal of claim 24, wherein the query condition carried in the query request comprises an estimated position of the terminal and a scanning range set by the terminal, 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.

### Claim 26 (depends on 24)

The terminal of claim 24, wherein the query condition carried in the query request comprises a value of an FTM parameter expected by the terminal during the FTM session negotiation, and wherein an intersection set of a value of an FTM parameter supported by the target AP and the value of the FTM parameter expected by the terminal is a non-empty set.

### Claim 27 (depends on 24)

The terminal of claim 24, wherein the processor is further configured to:
obtain a Media Access Control (MAC) address of another target access point (AP) and information about a frequency band and a channel used by the another target AP from the server, wherein the another target AP is an AP supporting an FTM mechanism, and wherein the another target AP meets the query condition;
obtain a priority order of at least two target APs comprising the target AP and the other target AP; and
select, from the at least two target APs according to the priority order, an AP with which the FTM session negotiation needs to be performed to perform the FTM session negotiation.

### Claim 28 (depends on 24)

The terminal of claim 24, wherein the communications interface is further configured to obtain service capability information of the target AP received from the server, wherein the service capability information of the target AP comprises at least one of position information of the target AP, a value of an FTM parameter supported by the target AP, current communication load of the target AP, a maximum session duration of the target AP, a Max Duty Cycle of the target AP, or a maximum FTM frequency of the target AP, and wherein the processor is further configured to determine again, based on the service capability information of the target AP and for a new query condition, an AP with which the FTM session negotiation needs to be performed.
