发明名称 Method and device for anchor master selection
摘要 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.
申请公布号 US9642136(B2) 申请公布日期 2017.05.02
申请号 US201615171206 申请日期 2016.06.02
申请人 Huawei Device Co., Ltd. 发明人 Du Zhenguo;Yang Yunsong;Fang Ping
分类号 H04J1/16;H04J3/14;H04L1/00;H04L12/26;H04W72/04;H04W56/00;H04W84/18;H04L12/733 主分类号 H04J1/16
代理机构 Huawei Device Co., Ltd. 代理人 Huawei Device Co., Ltd.
主权项 1. A method for anchor master (AM) selection in a neighbor awareness networking (NAN) cluster, where the method comprises: recording, by a device in the NAN cluster, a second AM information and a second time synchronization function (TSF) information in the 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, 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, by the device, a 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 the 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 of the device is not set to AM.
地址 Shenzhen CN