METHOD AND DEVICE FOR ANCHOR MASTER SELECTION
First Claim
1. A method for anchor master (AM) selection in a neighbor awareness networking (NAN) cluster, where the method comprises:
- recording a second AM information and a second time synchronization function (TSF) information in a device, wherein the second AM information includes;
a second anchor master rank (AMR), a second hop count (HC), and a second anchor master beacon transmission time (AMBTT);
receiving, by the device in the NAN cluster, a NAN Beacon frame, wherein the NAN Beacon frame carries a first AM information and a first TSF information, wherein the first AM information includes;
a first AMR, a first HC, and a first AMBTT;
switching the device role-of the device-to AM when the NAN Beacon frame is used for AM selection, the first AMR is less than the second AMR, a master rank (MR) of the device is greater than the first AMR, and a device role of the device is not set to AM; and
updating, by the device, the second AM information and the second TSF information according to the NAN Beacon frame when the NAN Beacon frame is used for AM selection, the first AMR is less than the second AMR, the MR of the device is less than the first AMR, and the device role is not set to AM.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for anchor master selection includes: a device receives a NAN Beacon frame, where the NAN Beacon frame carries first AM information and first TSF information, and the first AM information includes: a first AMR, a first HC, and a first AMBTT; if the NAN Beacon frame is used for AM selection, when the first AMR is less than a second AMR and an MR of the device is greater than the first AMR, switching a role of the device to AM, where second AM information recorded in the device includes: the second AMR, a second HC, and a second AMBTT; and if the NAN Beacon frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is less than the first AMR, updating the second AM information and second TSF information according to the NAN Beacon frame.
-
Citations
20 Claims
-
1. A method for anchor master (AM) selection in a neighbor awareness networking (NAN) cluster, where the method comprises:
-
recording a second AM information and a second time synchronization function (TSF) information in a device, wherein the second AM information includes;
a second anchor master rank (AMR), a second hop count (HC), and a second anchor master beacon transmission time (AMBTT);receiving, by the device in the NAN cluster, a NAN Beacon frame, wherein the NAN Beacon frame carries a first AM information and a first TSF information, wherein the first AM information includes;
a first AMR, a first HC, and a first AMBTT;switching the device role-of the device-to AM when the NAN Beacon frame is used for AM selection, the first AMR is less than the second AMR, a master rank (MR) of the device is greater than the first AMR, and a device role of the device is not set to AM; and updating, by the device, the second AM information and the second TSF information according to the NAN Beacon frame when the NAN Beacon frame is used for AM selection, the first AMR is less than the second AMR, the MR of the device is less than the first AMR, and the device role is not set to AM. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A device for anchor master (AM) selection in a neighbor awareness networking (NAN) cluster, where the device comprises:
-
a memory storing instructions and recording a second AM information and a second time synchronization function (TSF) information in a device, wherein the second AM information includes;
a second anchor master rank (AMR), a second hop count (HC), and a second anchor master beacon transmission time (AMBTT);a receiver configured to receive a NAN Beacon frame, where the NAN Beacon frame carries a first AM information and a first TSF information, wherein the first AM information includes;
a first AMR, a first HC, and a first AMBTT;a processor configured to execute the instructions to perform operations of; switching the device role-of the device-to AM when the NAN Beacon frame is used for AM selection, the first AMR is less than the second AMR, a master rank (MR) of the device is greater than the first AMR, and a device role of the device is not set to AM; and updating, by the device, the second AM information and the second TSF information according to the NAN Beacon frame when the NAN Beacon frame is used for AM selection, the first AMR is less than the second AMR, the MR of the device is less than the first AMR, and the device role is not set to AM. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification