Abstract:
Embodiments of the present invention disclose a service advertisement message transmission method and device. The method in the embodiments of the present invention includes: generating, by a first device, a first service advertisement message, where the first service advertisement message includes first service information of the first device and second service information of a second device; the second service information is obtained by the first device from a received message sent by the second device; the first service information is used to enable a device in a communication range of the first device to learn service information of the first device; and the second service information is used to enable a device in a communication range of the second device to learn service information of the second device; and sending, by the first device, the first service advertisement message.
Abstract:
Embodiments of the present invention disclose a method for a device to access a network, an access point, a network access device, and a system. The method includes: generating, by an access point, a broadcast frame, where the broadcast frame includes feature information of a network access device; and the feature information is used for indicating a feature of the network access device; and broadcasting, by the access point, the broadcast frame, so that a specific network access device initiates a network access procedure to the access point; where the specific network access device is a network access device which receives the broadcast frame and has the feature indicated by the feature information. By adopting the present invention, contention collisions among network access devices can be reduced through a manner of accessing a network in batches.
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:
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 discovery information, to join the second NAN cluster, the wireless network device sends an event message to other wireless network devices in the first NAN cluster to inform them that it is leaving the first NAN cluster to join the second NAN cluster. The event message also contains a cluster ID (CID) of the second NAN cluster. The wireless network device then leaves the first NAN cluster and joins the second NAN cluster.
Abstract:
A message acknowledgement method includes: An access point sends a beacon frame, receives an uplink frame sent by a terminal, and sends an acknowledgement frame for the uplink frame, where the acknowledgement frame includes offset time, and the offset time is a difference between a time point when the access point sends the acknowledgement frame and a time point when the access point sends the beacon frame; compares the difference that is obtained through calculation by the terminal and is between the time point when the terminal receives the acknowledgement frame and the time point when the terminal lately receives a beacon frame with the offset time carried in the acknowledgement frame, and if a difference between the two is within a preset error range, determines that the acknowledgement frame received by the terminal is sent by the access point associated with the terminal.
Abstract:
Embodiments provide a service discovery method. The method includes a first device, using an access point, sending a service discovery request to at least one second device connected to the access point, where the service discovery request is used to query, from the at least one second device, a service that the first device requests to query. The method also includes the first device receiving a service discovery response sent by the at least one second device, where the service discovery response is a response of the at least one second device to the service discovery request, and the service discovery response includes a service supported by the at least one second device.