Abstract:
A service query method includes: when receiving first service query request messages sent by multiple access points, where the first service query request message includes a station identity and requested service information, a service node sends query result information to only one or more access points thereof, namely a first access point, so as to send the query result information to a station corresponding to the station identity, and sends instruction information to another access point to instruct the another access point not to send the query result information.
Abstract:
A file transfer method includes: sending, by a sending device, a ready request message to a multicast group in a multicast manner; when receiving a first ready message returned by a first device in the multicast group, sending, by the sending device, a master receiving device determining message to the first device, where the master receiving device determining message is used to notify the first device that the first device has been selected as a master receiving device, and sending a data packet of a to-be-sent file to the multicast group in a multicast manner; and when a second device newly joins the multicast group, sending a first message to the second device to notify it in time of information about a file that is currently being transferred, so that the newly joined device can start receiving immediately.
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.
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.
Abstract:
In a process for a wireless network device in a first Neighbor Awareness Network device cluster (NAN cluster) to join a second NAN cluster, the wireless network device first discovers the second NAN cluster. It calculates a first score based on multiple pieces of attribute information of the first NAN cluster, and a second score based on multiple pieces of attribute information of the second NAN cluster, compares the first score and the second score, and determines to join the second NAN cluster when the second score is greater than the first score. Then it sends an event message to other wireless network devices in the first NAN cluster to inform them to join the second NAN cluster, stops participating in the first NAN Cluster by not contending for serving as a synchronization device in the first NAN Cluster, and joins the second NAN cluster.
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.
Abstract:
In a process for a wireless network device in a first Neighbor Awareness Network device cluster (NAN cluster) to join a second NAN cluster, the wireless network device first discovers the second NAN cluster. It calculates a first score based on multiple pieces of attribute information of the first NAN cluster, and a second score based on multiple pieces of attribute information of the second NAN cluster, compares the first score and the second score, and determines to join the second NAN cluster when the second score is greater than the first score. Then it sends an event message to other wireless network devices in the first NAN cluster to inform them to join the second NAN cluster, stops participating in the first NAN Cluster by not contending for serving as a synchronization device in the first NAN Cluster, and joins the second NAN cluster.
Abstract:
In a process for a wireless network device in a first Neighbor Awareness Network device cluster (NAN cluster) to join a second NAN cluster, the wireless network device first discovers the second NAN cluster by means of scanning for networking signals from the second NAN cluster. If it determines, based on the attribute information of the second NAN cluster, to join the second NAN cluster, the wireless network device sends an event message to other wireless network devices in the first NAN cluster. The event message also contains a cluster ID (CID) of the second NAN cluster. The wireless network device joins the second NAN cluster, wherein the step of joining comprises: performing service discovery in the second NAN cluster instead of performing service discovery in the first NAN cluster.
Abstract:
An information query method, including sending, by a first device, a data-excluded information query request frame, where the data-excluded information query request frame includes first control information and a first hash value; receiving, by the first device, a data-excluded information query response frame sent by a second device. The data-excluded information query response frame includes second control information, a second hash value, and an address of the second device. The method also includes sending, by the first device, a data-contained information query request frame to the second device when the first device determines that a third hash value is consistent with the second hash value, so that the second device responds to the data-contained information query request frame when receiving the data-contained information query request frame. Correspondingly, the present disclosure further provides a related device.
Abstract:
A method and user equipment for discovering a device user to improve security of user identifier information, so that user equipment discover each other securely. The method includes receiving a first message that is sent by a second user equipment and at least includes implicit user identifier information of the second user equipment, obtaining, according to correspondences stored in a first user equipment, a user identifier corresponding to the implicit user identifier information of the second user equipment; and determining, in the user identifier corresponding to the implicit user identifier information of the second user equipment, a user identifier of the second user equipment, to discover a user of the second user equipment. The present disclosure is applicable to the field of communications.