CN109479261B - Method for reestablishing connection and wireless local area network device - Google Patents

Method for reestablishing connection and wireless local area network device Download PDF

Info

Publication number
CN109479261B
CN109479261B CN201780045755.5A CN201780045755A CN109479261B CN 109479261 B CN109479261 B CN 109479261B CN 201780045755 A CN201780045755 A CN 201780045755A CN 109479261 B CN109479261 B CN 109479261B
Authority
CN
China
Prior art keywords
interface
discovery message
wur
terminal
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780045755.5A
Other languages
Chinese (zh)
Other versions
CN109479261A (en
Inventor
韩云博
丁志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN109479261A publication Critical patent/CN109479261A/en
Application granted granted Critical
Publication of CN109479261B publication Critical patent/CN109479261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method for reestablishing connection and a wireless local area network device. The method comprises the following steps: after the first device loses connection with the second device, the first interface of the first device sends a first discovery message to the first interface of the second device, the first discovery message comprises a first interface identifier, and the first interface identifier is an identifier which can be identified by the second device after the first device loses connection with the second device. And the second interface of the first equipment receives a second discovery message sent by the second equipment according to the first interface identifier. The first device reestablishes the connection with the second device according to the second discovery message. The method can effectively find and reestablish the connection with the wireless local area network equipment losing the connection in time.

Description

Method for reestablishing connection and wireless local area network device
Technical Field
The embodiment of the invention relates to the field of wireless communication, in particular to a method for reestablishing connection and wireless local area network equipment.
Background
With the evolution of Wireless Local Area Network (WLAN) standards, in a Wireless Fidelity (WiFi) Network, when a terminal (e.g. a workstation) does not receive or transmit a message (e.g. No data phase), a large part of energy is wasted in an idle listening channel when No signal is received. One possible solution is to use a Low Power Wake Up Radio (LP-WUR) (WUR for short) with Low Power consumption by the terminal instead of the wireless transceiver to listen to the channel when the medium is idle. And when the wireless transceiver of the terminal enters deep sleep, the WUR with low power consumption wakes up to start working. When the AP needs to communicate with a terminal with a WUR and a wireless transceiver, the AP sends a Wake Up Packet (WUP) to the WUR of the terminal, then the WUR of the terminal wakes up the wireless transceiver of the terminal, the AP communicates with the wireless transceiver of the awake terminal, and the WUR of the terminal can go to sleep to save energy consumption.
As shown in fig. 1, a terminal (e.g., smart band) is connected to an AP (e.g., mobile phone) via WiFi, wherein the terminal is equipped with a WUR. The user can operate the terminal through the AP, for example, request the terminal to report data (running steps, sleeping time, etc.). Limited to the size, function, energy consumption, beauty, cost, etc. of the wearable device, a considerable portion of the wearable device is a User Interface (UI) device (such as a bracelet, smart glasses, etc.) or a simple UI device (such as a smart watch). According to the existing 802.11 protocol, when a terminal needs to join a WiFi network, information such as a password needs to be input, but since such a terminal has no UI or only a simple UI, it is likely that operations such as authentication (for example, inputting a password) cannot be directly and effectively completed.
Therefore, one implementation is WiFi Direct (WiFi Direct), for example, a user first operates an AP (e.g., a mobile phone) and a terminal (e.g., a smart band) to establish a point-to-point pairing using the WiFi Direct, and then the user can join the terminal (e.g., the smart band) to a WiFi network of the AP (e.g., the mobile phone) through the AP (e.g., the mobile phone) to implement data transmission or application sharing between the AP and the terminal. Another implementation manner is WiFi Protected Setup (WPS), and through the button setup (PBS) of the WPS, the user only needs to press the button on the terminal (such as smart band) and the AP (such as mobile phone) respectively, and the terminal (such as smart band) can be connected with the AP (such as mobile phone) safely.
After the AP (such as a mobile phone) is connected with the terminal (such as a bracelet), when no data is transmitted and received, the wireless transceiver of the terminal is closed, the WUR of the terminal is opened to listen a WUR channel (a channel for WUR listening), and at the moment, the wireless transceiver of the terminal can be awakened by the WUP transmitted by the AP to the WUR of the terminal. If the terminal leaves the coverage of the AP at this time, if the user goes out with the terminal and runs, the AP or the terminal changes the state between the AP and the terminal into unauthenticated and unassociated state (i.e., loses connection) after finding that the AP or the terminal loses connection with the other party, and deletes all or part of configuration information, such as a WUR Identifier of the terminal, an AP Identifier recognizable by the WUR of the terminal, a WUR channel of the terminal, a WUR working window of the terminal, an Association Identifier (AID), and the like. When a user returns home with a terminal (bracelet) equipped with a WUR, the user wants to operate the terminal through a mobile phone, such as reading the number of steps of running on the bracelet. At this time, the AP should send a WUP to the WUR of the terminal to wake up the wireless transceiver of the terminal, and then interact with the wireless transceiver of the terminal.
However, because the terminal and the AP are already in an unauthenticated unassociated state (i.e. losing connection), when the AP and the terminal lose connection, some configuration information of the AP and the terminal may be deleted, such as a WUR identifier of the terminal, a WUR working channel of the terminal, and the like, which may cause that the AP may not generate a valid WUP, even if the AP is capable of sending a valid WUP to the terminal and successfully awakening a wireless transceiver of the terminal, since the terminal and the AP are actually in an unauthenticated unassociated state, according to the 802.11 protocol, the terminal and the AP may not directly perform valid data interaction at this time, it is still necessary to complete the authentication (authentication), re-association (re-association), 4-handshake (key interaction), and other configuration processes in advance to perform valid data interaction. In this process, since the IEEE 802.11 working group has not yet confirmed whether there is a WUR beacon, or even if there is a WUR beacon, the WUR beacon interval (WUR beacon interval, i.e., the interval between sending two consecutive WUR beacons) may be long, such as half an hour, hours, or even more than a day. That is, according to the existing 802.11 protocol, the WUR of the terminal may not hear the WUR beacon sent by the AP in time, so that the terminal cannot effectively reestablish the connection with the AP.
Disclosure of Invention
The application provides a method for reestablishing connection and a wireless local area network device, so that the connection with the wireless local area network device which loses the connection can be found more timely and effectively, and the user experience is improved.
In a first aspect, a method for reestablishing a connection is provided after a first device loses a connection with a second device. The method comprises the following steps: the first interface of the first device sends a first discovery message to a first interface of the second device, wherein the first discovery message includes a first interface identifier to notify the first device to connect with the second device, and the first interface identifier is an identifier which can be recognized by the second device after the first device loses connection with the second device. And the second interface of the first equipment receives a second discovery message sent by the second equipment according to the first interface identifier. The first device reestablishes the connection with the second device according to the second discovery message. The first equipment sends a first discovery message to the second equipment which loses connection, and the second equipment wakes up a wireless transceiver of the second equipment to complete information interaction required by connection reestablishment with the first equipment, so that a user can timely and effectively find the first equipment and reestablish connection with the second equipment which loses connection.
In an optional implementation, the first interface identifier includes a first interface identifier of the receiving device, where the first interface identifier is used to confirm that the first discovery message is sent by the first device, and the second interface of the first device receives a second discovery message sent by the second device according to the first interface identifier, which specifically includes: and the second interface of the first equipment receives a second discovery message sent by the second equipment after the first interface identification of the receiving equipment is matched with the first interface identification of the second equipment, the first equipment and the second equipment are subjected to matching verification, connection is reestablished, and effective data interaction is further carried out.
In an optional implementation, the first interface identifier includes a first interface identifier of the sending device, and the receiving, by the second interface of the first device, the second discovery message sent by the second device according to the first interface identifier specifically includes: and the second interface of the first equipment receives a second discovery message which is sent by the second equipment after the first interface identification of the sending equipment is matched with the first interface identification of the first equipment stored in the second equipment, and further carries out matching verification on the first equipment and the second equipment, reestablishes connection and further carries out effective data interaction.
In an optional implementation, the first discovery message further includes first indication information to indicate a channel used by the second interface of the first device when the second interface of the first device establishes a connection with the second interface of the second device, and the second discovery message received by the second interface of the first device is sent by the second device according to the first indication information, so that the second device can quickly confirm the location of the first device, so as to send the second discovery message to the first device.
In an optional implementation, the reestablishing, by the first device, the connection with the second device according to the second discovery message specifically includes: and the first device sends a reply message of the second discovery message to a second interface of the second device through a second interface of the first device according to the second discovery message, wherein the reply message comprises second indication information, so that the second device establishes connection with the first device again after determining that the first device is the sending device of the first discovery message according to the second indication information.
In an optional implementation, before the first device loses connection with the second device, the method further includes: and the first equipment configures the WUR channel information of the first interface of the second equipment after losing connection with the second equipment. The WUR channel information of the first interface of the second device is used to indicate a first WUR channel used by the first interface of the second device after the first device and the second device lose connection, and the first interface of the first device sends a first discovery message to the first interface of the second device, which specifically includes: a first interface of a first device sends a first discovery message to a first interface of a second device over a first WUR channel.
In an optional implementation, before the first device loses connection with the second device, the method further includes: the method includes that a first device configures first WUR working window information of a first interface of a second device after losing connection with the second device, the first WUR working window information of the first interface of the second device is used for indicating a WUR working window used by the first interface of the second device after the first device loses connection with the second device, and the first interface of the first device sends a first discovery message to the first interface of the second device, and specifically includes: a first interface of a first device sends a first discovery message to a first interface of a second device over a first WUR channel and a first WUR operating window.
In an optional implementation, before the first interface of the first device sends the first discovery message to the first interface of the second device, the method further includes: the first interface of the first device receives a first message sent by the first interface of the second device, wherein the first message comprises second WUR channel information used by the first interface of the second device and the first interface of the third device. The sending, by a first interface of a first device, a first discovery message to a first interface of a second device specifically includes: the first interface of the first device sends a first discovery message to the first interface of the second device over the second WUR channel.
In a second aspect, another method for reestablishing a connection is provided, where after a first device loses a connection with a second device, the method includes: the first interface of the second device receives a first discovery message sent by the first interface of the first device, wherein the first discovery message includes a first interface identifier, and the first interface identifier is a first interface identifier which can be identified by the second device after the first device loses connection with the second device. And the second device sends a second discovery message to the second interface of the first device according to the first interface identifier, so that the first device reestablishes the connection with the second device according to the second discovery message.
In an optional implementation, the first interface identifier includes a first interface identifier of the receiving device, and the second device sends the second discovery message to the second interface of the first device according to the first interface identifier, which specifically includes: and the second equipment matches the first interface identification of the receiving equipment with the first interface identification of the second equipment. And the second equipment awakens the second interface of the second equipment according to the matching result. And the woken second interface of the second device sends a second discovery message to the second interface of the first device.
In an optional implementation, the first interface identifier includes a first interface identifier of the sending device, and the second device sends the second discovery message to the second interface of the first device according to the first interface identifier, which specifically includes: and the second equipment matches the first interface identification of the sending equipment with the first interface identification of the first equipment included by the second equipment. And the second equipment awakens the second interface of the second equipment according to the matching result. And the woken second interface of the second device sends a second discovery message to the second interface of the first device.
In an optional implementation, the first discovery message further includes first indication information to indicate a channel used by the second interface of the first device when the first device is connected with the second device. And the awakened second interface of the second device sends a second discovery message to the second interface of the first device according to the first indication information.
In an optional implementation, after the second device sends the second discovery message to the second interface of the first device according to the first interface identifier, the method further includes: and the second interface of the second device receives a reply message sent by the first device according to the second discovery message, wherein the reply message comprises second indication information. And the second equipment establishes connection with the first equipment again after determining that the first equipment is the sending equipment of the first discovery message according to the second indication information.
In an optional implementation, the receiving, by the first interface of the second device, the first discovery message sent by the first interface of the first device specifically includes: a first interface of the second equipment receives a first discovery message sent by a first interface of the first equipment on a first WUR channel; the first WUR channel is a channel used by the second device after the first device loses connection with the second device and the first device is connected with the second device for the previous time.
In an optional implementation, the receiving, by the first interface of the second device, the first discovery message sent by the first interface of the first device specifically includes: the first interface of the second device receives the first discovery message sent by the first interface of the first device on the first WUR channel and the first WUR working window of the first interface of the second device. And when the first device is connected with the second device for the previous time, the first WUR working window of the first interface of the second device is the WUR working window used by the first interface of the second device after the first device is configured to be disconnected with the second device.
In an optional implementation, before the first interface of the second device receives the first discovery message sent by the first interface of the first device, the method further includes: the first interface of the second device sends a first message to the first interface of the first device, wherein the first message comprises second WUR channel information used by the first interface of the second device and the first interface of the third device, so that the first interface of the first device sends a first discovery message to the first interface of the second device on the second WUR channel.
In a third aspect, a wireless local area network device is provided, which has a function of implementing the behavior of the wireless local area network device in the first aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The wireless local area network device may further include a storage unit for storing instruction information and data information of the communication.
In a fourth aspect, a wireless local area network device is provided, which has a function of implementing the behavior of the wireless local area network device in the second aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The wireless local area network device may further include a storage unit for storing instruction information and data information of the communication.
In a fifth aspect, a wireless local area network device is provided, the device comprising: the first interface is used for sending a first discovery message to a first interface of the second device, wherein the first discovery message comprises a first interface identifier, and the first interface identifier is information which can be identified by the second device after the device loses connection with the second device. And the second interface is used for receiving a second discovery message sent by the second equipment according to the first interface identifier. And the processor is used for reestablishing connection with the second equipment according to the second discovery message received by the second interface.
In an optional implementation, the first interface identifier includes a first interface identifier of the receiving device, and the second interface is specifically configured to receive a second discovery message that is sent by the second device after the first interface identifier of the receiving device is matched with the first interface identifier of the second device.
In an alternative implementation, the first interface identification comprises a first interface identification of the sending device. The second interface is specifically configured to receive a second discovery message sent by the second device after the first interface identifier of the sending device is matched with the first interface identifier of the wireless local area network device stored in the second device.
In an optional implementation, the first discovery message further includes first indication information to indicate a channel used by the second interface when the second interface is connected with the second interface of the second device. The second discovery message received by the second interface is sent by the second device according to the first indication information.
In an optional implementation, the processor is specifically configured to send, according to the second discovery message received by the second interface, a reply message to the second interface of the second device through the second interface, where the reply message includes the second indication information, so that the second device reestablishes a connection with the device after determining, according to the second indication information, that the device is the sending device of the first discovery message.
In an optional implementation, the processor is further configured to configure WUR channel information of the first interface of the second device, where the WUR channel information of the first interface of the second device is used to indicate a first WUR channel used by the first interface of the second device after the wireless local area network device and the second device lose connection. The first interface is specifically configured to send a first discovery message to a first interface of a second device on a first WUR channel.
In an optional implementation, the processor is further configured to configure WUR operating window information of the first interface of the second device, where the first WUR operating window information of the first interface of the second device is used to indicate a WUR operating window used by the first interface of the second device after the wireless lan device and the second device lose connection. The first interface is specifically configured to send a first discovery message to a first interface of the second device on the first WUR channel and the first WUR operating window.
In an optional implementation, the first interface is further configured to receive a first message sent by the first interface of the second device, where the first message includes second WUR channel information used by the first interface of the second device and the first interface of the third device, and send the first discovery message to the first interface of the second device on the second WUR channel.
In a sixth aspect, a computer storage medium is provided for storing computer software instructions for the wlan device of the fifth aspect, which contains a program designed to perform the above aspects.
In a seventh aspect, another wireless local area network device is provided, including: the first interface is used for receiving a first discovery message sent by a first interface of the first device, wherein the first discovery message includes a first interface identifier, and the first interface identifier is information that can be identified by the device after the first device loses connection with the wireless local area network device. And the second interface is used for sending a second discovery message to the second interface of the first device according to the first interface identifier so that the first device reestablishes connection with the device according to the second discovery message.
In an optional implementation, the apparatus further comprises: the processor is specifically configured to match the first interface identifier of the receiving device with the first interface identifier of the wireless local area network device. And awakening the second interface according to the matching result. The second interface is specifically configured to send a second discovery message to the second interface of the first device after being awakened.
In an optional implementation, the device further includes a memory, where the first interface identifier includes a first interface identifier of the sending device, and the processor is further specifically configured to match the first interface identifier of the sending device with the first interface identifier of the first device stored in the memory. And awakening the second interface according to the matching result. The second interface is specifically configured to send a second discovery message to the second interface of the first device after being awakened.
In an optional implementation, the first discovery message further includes first indication information to indicate a channel used by the second interface of the first device when the first device is connected to the wireless local area network device. The second interface is specifically configured to send a second discovery message to the second interface of the first device according to the first indication information after the second interface is awakened.
In an optional implementation, the second interface is further configured to receive a reply message sent by the first device according to the second discovery message, where the reply message includes the second indication information. And the processor is further used for reestablishing connection with the first equipment through the second interface after the first equipment is determined to be the sending equipment of the first discovery message according to the second indication information.
In an alternative implementation, the first interface is specifically configured to receive, on the first WUR channel, a first discovery message sent by the first interface of the first device. The first WUR channel is a channel used by the wireless local area network equipment after the first equipment is disconnected with the wireless local area network equipment and configured by the first equipment when the first equipment is connected with the wireless local area network equipment for the previous time.
In an alternative implementation, the first interface is specifically configured to receive, on the first WUR channel and a first WUR operating window of the first interface of the second device, a first discovery message sent by the first interface of the first device. A first WUR working window of a first interface of the wireless local area network device is a WUR working window used by the first interface of the wireless local area network device after the first device is disconnected with the wireless local area network device and the first device is connected with the wireless local area network device for the previous time.
In an optional implementation, the first interface is further configured to send a first message to the first interface of the first device, where the first message includes second WUR channel information used by the first interface and the first interface of the third device, so that the first interface of the first device sends the first discovery message to the first interface on the second WUR channel.
In an eighth aspect, another computer storage medium is provided for storing computer software instructions for the wlan device in the seventh aspect, which contains a program designed to perform the above aspects.
Drawings
Fig. 1 is a schematic view of a scene of communication between a smart band and a mobile phone;
fig. 2 is a schematic structural diagram of a wireless local area network device according to an embodiment of the present invention;
fig. 3 is a schematic view of a scenario for reestablishing a connection according to an embodiment of the present invention;
fig. 4 is an interaction diagram of a method for reestablishing a connection according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a state transition process of the AP and the terminal for the first time establishing a connection;
fig. 6 is a schematic diagram of a frame structure of a payload portion in a possible first discovery message according to an embodiment of the present invention;
fig. 7 is a schematic view of another scenario for reestablishing a connection according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a WUR channel and a working window according to an embodiment of the present invention;
fig. 9 is an interaction diagram of another method for reestablishing a connection according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a wireless local area network device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another wlan device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another wlan device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of another wlan device according to an embodiment of the present invention.
Detailed Description
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
The method for reestablishing a connection provided by the present application may be applied to a WLAN (Wireless Local area network), where the WLAN may include one or more Basic Service Sets (BSSs), and a network node in a Basic Service Set may include a WLAN device, and the WLAN device may be an access point (or referred to as a hotspot) (AP) or a terminal. The AP may be a terminal or a network device with a WiFi chip, and each basic service set may include one AP and a plurality of terminals associated with the AP.
The terminal may be called a User Equipment (UE), a Mobile Station (MS), a mobile terminal (mobile terminal), a computer, a microcomputer, or a 5G terminal. For example, the terminal may be a mobile telephone (or so-called "cellular" telephone), a mobile computer, a computer with a mobile terminal, a smart watch, and the like, as well as a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device that exchanges voice and/or data with the wireless access apparatus. The embodiment of the present invention is not limited to this, for example, the terminal further includes a terminal with a wired access having a multi-bearer feature.
Fig. 2 is a schematic structural diagram of a wireless local area network device (or a wireless communication device) according to an embodiment of the present invention. As shown in fig. 2, the wlan device at least includes a wireless transceiver (or transceiver), such as a WiFi module (or 802.11 primary transceiver module); alternatively, the wireless local area network device may include at least a wireless transceiver and a WUR (or receiver).
When the wireless local area network device is a terminal, the terminal may include at least a WUR and a wireless transceiver. When the wireless local area network device is an AP, the AP may include at least a wireless transceiver. Optionally, the AP may also include a WUR.
Further, the wireless lan device may further include a first interface (e.g., a WUR interface) and a second interface (e.g., a wireless transceiver interface, or referred to as a WiFi interface).
Communication between two wireless local area network devices (e.g., between a terminal and an AP) can be divided into the transmission of WUR messages and the transmission of WiFi messages. The terminal and the AP respectively perform WUR message transmission through respective first interfaces (e.g., WUR interfaces), and perform WiFi message transmission through second interfaces (e.g., wireless transceiver interfaces). That is, the first interface is an interface for WUR messaging, and the second interface is an interface for WiFi messaging.
It should be noted that the WUR and the wireless transceiver may be separate physical entities, such as two physically separate modules, or may be a logical concept, such as being integrated in the same physical entity. The first interface and the second interface may be logical concepts.
A WUR to receive a WUR message, such as a Wake Up Packet (WUP) frame, over the first interface to wake up the wireless transceiver. Wherein the WUR is configured to send WUR messages over the first interface if the WUR has the capability to send WUR messages over the first interface.
And the wireless transceiver is used for receiving or transmitting the WiFi message through the second interface. Where the WUR is capable of transmitting WUR messages over the first interface, the wireless transceiver does not necessarily need to be capable of transmitting WUR messages over the first interface. When the WUR does not have the capability to send WUR messages over the first interface, the wireless transceiver need not be capable of sending WUR messages over the first interface, and can be used to send WUR messages over the first interface.
It should be noted that when the wireless lan device is an AP and the WUR does not have the capability to send WUR messages over the first interface, the AP may not include a WUR.
The frame structure of the WUP may be divided into a preamble and a payload, where the preamble bandwidth is greater than the payload bandwidth.
The preamble is an 802.11 preamble, that is, a preamble sequence that can be identified by a legacy 802.11 device, the legacy 802.11 device receiving the 802.11 preamble obtains the time when the WUP occupies the channel according to the information in the 802.11 preamble, and does not attempt to access the channel during this time to avoid interfering with the WUP in transmission.
The Payload (Payload) includes a Wake-Up Preamble (for identifying the WUP signal) and a Medium Access Control (MAC) part. Wherein the MAC may include a MAC Header (MAC Header), a Frame Body (Frame Body), and a Frame Check Sequence (FCS). Wherein, the MAC Header at least carries the Identification (ID) of the receiving end; the Frame Body can carry some indication, control information and the like; the FCS carries check information for determining whether the received message is erroneous. To further reduce power consumption, the WUR may also incorporate a sleep mechanism, such as a WUR working window (or WUR awake window). The WUR window indicates the time window during which the WUR is periodically turned on to receive WUR messages, e.g., every 100ms period, wherein 30ms of WURs wake up to listen to the channel to receive WUR signals, and 70ms of WURs remain to go to sleep to save energy consumption.
The terminal described below in this application includes a WUR and a wireless transceiver, and the AP includes a wireless transceiver. And the wireless transceiver of the AP is used for transceiving WiFi messages through the second interface and sending WUR messages through the first interface. The wireless transceiver of the terminal is used for transceiving WiFi messages through the second interface; and the WUR of the terminal is used for receiving the WUR message through the first interface.
It can be understood that, if a module (e.g., WUR) outside the wireless transceiver in the terminal or AP has a capability of sending a WUR message through the first interface, the description of the module and the interface related to the WUR message sending may be modified accordingly, and details are not repeated herein.
It should be noted that the terminal being woken up or waking up in this application refers to the second interface (or wireless transceiver) of the terminal being woken up or waking up.
Fig. 3 is a schematic view of a scenario for reestablishing a connection according to an embodiment of the present invention. As shown in fig. 3, on the basis of initially establishing a connection between a first device (AP, e.g., a mobile phone) and a second device (terminal, e.g., a bracelet), a user stays the AP (e.g., the mobile phone) and carries the terminal (e.g., the bracelet) including the WUR to go out and run, and at this time, the AP and the terminal lose connection. Here, the first device and the second device may establish a connection in a WiFi Direct manner, may also establish a connection in a WPS manner, may also establish a connection in a manner of setting an AP hotspot by the first device, or may establish a connection in another manner of establishing a WiFi connection.
After the user returns home with the terminal, the AP sends a first discovery message to the first interface of the terminal through the first interface of the AP, wherein the first discovery message is a WUR message to indicate the AP to reestablish connection with the terminal. The first discovery message may include a first interface identifier, where the first interface identifier is a first interface identifier that can be recognized by the terminal after the AP loses connection with the terminal, and is used to wake up a wireless transceiver or a second interface of the terminal. The first interface identifier may include a first interface identifier of the terminal, or a first interface identifier of the AP, or a first interface identifier of the terminal and a first interface identifier of the AP.
And the terminal sends a second discovery message to a second interface of the AP through the second interface according to the first interface identifier. After the AP confirms that the sending equipment of the second discovery message is the terminal to be connected, the AP reestablishes the connection with the terminal, so that the user returns home and obtains the step counting or other data in the terminal by operating the AP.
According to the method, the AP initiates the first discovery message of reconnection, so that the terminal does not need to wait for a WUR beacon frame sent by the AP for a long time to reestablish connection with the AP, and the terminal sends the second discovery message to the second interface of the AP according to the first interface identifier in the first discovery message, thereby reestablishing connection with the AP and further carrying out effective data communication. The method reduces the time delay of reestablishing the connection between the AP and the terminal, so that the user can effectively find the AP in time and reestablish the connection with the terminal which loses the connection.
The following describes the scheme of the present application in detail in two scenarios.
In one scenario, the terminal determines that the connection with the AP has been lost, and after the terminal loses connection with the AP, no connection is established with other devices other than the AP.
Fig. 4 is an interaction diagram of a method for reestablishing a connection according to an embodiment of the present invention. As shown in fig. 4, the method may include:
and step 410, establishing connection between the AP and the terminal for the first time, and carrying out effective data communication between the AP and the terminal.
The process of establishing the primary connection at least comprises the following steps: authentication, association, 4-step handshake, and other interaction of configuration information.
Alternatively, the State (State) transition process from the unauthenticated unassociated State to the State in which the AP can perform effective data interaction (establish connection) with the terminal is shown in fig. 5. In fig. 3, the following states are illustrated:
state 1 is the State that the terminal is not associated with the AP in the unauthenticated State, and the terminal tries to establish connection with one AP.
State 2 is the State that the terminal and the AP are authenticated but not associated, and the terminal passes the authentication successfully (operation such as inputting a password).
State 3 is the authenticated and associated State of the terminal and the AP, at this time, the terminal is successfully associated with the AP, but part of keys and configuration information are not verified and interacted, such as Pairwise Temporary Keys (PTK) and Group Temporary Keys (GTK). The PTK is a temporary key for unicast communication between the terminal and the AP, and the GTK is a temporary key for multicast communication (e.g., broadcast communication) between the terminal and the AP.
State 4 is that the terminal and the AP have completed authentication, association, 4-step handshake and other configurations, at this time, the process of key interaction (4way handshake, 4-step handshake) is successful, and the terminal can perform effective data interaction with the AP (the terminal and the AP successfully establish connection).
In the process of transferring State 1 to State 4, the terminal receives configuration information sent by an AP, such as a current identifier, a supported rate, an Association Identifier (AID), an identifier of a WUR of the terminal (for WUR to identify whether the WUR is a WUR message sent to the terminal), an AP identifier of the WUR (for WUR to identify which AP to send), and the like; meanwhile, the AP side may also store configuration information of the terminal, such as an identifier, a group, and an AID of the terminal.
It should be noted that, when the terminal and the AP lose connection (lose association), information generated in the state transition process shown in fig. 5, such as the PTK and the GTK, and configuration information stored in the terminal side and the AP side, may be completely or partially deleted according to the existing 802.11 protocol.
Step 420, the second interface of the AP and the second interface of the terminal communicate the WUR rediscovery identification information.
The WUR rediscovery identification information comprises a first interface identification which can be identified by the terminal after the AP loses connection with the terminal, namely, the AP interacts with the terminal to rediscover the WUR identification information in the process of communicating between the AP and the terminal. And the WUR finds the identification information again, namely the information required by the AP for sending the communication message to the terminal after the AP and the terminal are interacted and the AP and the terminal are kept disconnected.
The WUR rediscovery identification information may include: and identifying a first interface of the terminal. The first interface identification of the terminal is used to identify that the WUR message is addressed to itself, i.e., to confirm itself as a receiving device.
The first interface identifier of the terminal may be: a first interface of the terminal is a complete or truncated WUR identifier; or when the current AP communicates with the terminal, the WUR identifier used by the first interface of the terminal; or when the current AP communicates with the terminal, the current AP uses a different WUR identifier (namely, a new allocated WUR identifier) with the first interface of the terminal; or other first interface identifiers of the terminal which can still be identified by the first interface of the terminal after the AP loses connection with the terminal.
Optionally, the WUR rediscovery identification information may further include: a first interface identification of the AP. The first interface of the AP identifies the transmitting device used to identify the WUR message.
The first interface identifier of the AP may be: a full or truncated WUR identifier for a first interface of the AP (e.g., BSScolor, which roughly distinguishes WiFi networks, may be used as a truncated identifier for the AP); or when the current AP communicates with the terminal, the WUR identifier used by the first interface of the AP; or when the current AP communicates with the terminal, the current AP and the terminal use different WUR identifiers with the first interface of the AP; or other first interface identifiers of the AP which can still be identified by the first interface of the terminal after the AP and the terminal lose connection.
It should be noted that the process of step 420 may also be executed in the process of establishing a connection between the AP and the terminal in step 410, and the embodiment of the present invention is not limited herein.
Further, the AP may determine whether the AP loses connection with the terminal, that is, whether the connection between the AP and the terminal is disconnected, and the terminal may also determine whether the AP loses connection with the terminal, and perform step 421 or step 422.
Optionally, the condition that the AP determines that the connection loss with the terminal is possible is: the AP cannot wake up a second interface (or a wireless transceiver) of the terminal within a preset time; or the AP sends the message to the terminal for multiple times without receiving the reply; or the AP does not receive any message sent by the terminal within the preset time; or, the AP receives or sends a message for disconnecting from the terminal, such as a de-authentication (deauthentication), a de-association (disassociation), and the like; or, other information may instruct the AP to determine that the connection with the terminal has been lost.
And after the AP judges that the connection with the terminal is lost, the first pairing information is reserved. The first pairing information includes at least: the WUR rediscover the identification information.
Optionally, the first pairing information further includes: the second interface identification of the terminal (i.e. the MAC address of the wireless transceiver of the terminal).
Optionally, the condition that the terminal determines that the connection with the AP is lost is: the terminal does not receive any message sent by the AP within a preset time, such as a beacon, a WUR beacon, a message sent by the AP to a device other than the terminal, and the like. Wherein beacon is a beacon frame in a WiFi message, and WUR beacon is a beacon frame in a WUR message; or, the message that the terminal sends to the AP many times does not receive the reply, for example, the terminal wakes up to report the data to the AP, but does not receive the reply message of reporting the data; or, the terminal receives or sends the message of disconnecting with the AP, such as the message of de-authentication, de-association, etc.; or, other information that may help the terminal determine that connection with the AP has been lost.
And after the terminal judges that the terminal is disconnected with the AP, the second pairing information is reserved. The second pairing information includes at least: the WUR rediscover the identification information.
Step 430, the first interface of the AP sends a first discovery message to the first interface of the terminal.
The first discovery message is used to wake up the second interface of the terminal to indicate to reestablish the connection with the AP for efficient data communication. The first discovery message may include at least one of WUR rediscovery identification information. The first discovery message may be a WUR message.
Alternatively, when the AP can identify the terminal to be connected, the AP may transmit the first discovery message on a channel that was agreed with the terminal to be connected, so as to reduce signaling overhead caused by the AP transmitting the first discovery message on multiple channels.
Step 440, the terminal wakes up the second interface of the terminal according to the first discovery message.
The terminal transmits the first discovery message received by the first interface to the WUR, the WUR wakes up the wireless transceiver of the terminal according to the first discovery message, and the WUR wakes up the second interface of the terminal according to the first discovery message because the wireless transceiver is connected with the second interface.
The first discovery message may include a first interface identifier, where the first interface identifier is a first interface identifier that can be recognized by the terminal after the AP loses connection with the terminal. And the terminal awakens the second interface of the terminal according to the first interface identifier.
The first interface identification may comprise a first interface identification of the receiving device, such as a Receiving Address (RA).
And the terminal matches the received first interface identifier of the receiving equipment with the first interface identifier of the terminal. When the first interface identifier of the receiving device is the same as the first interface identifier of the terminal, the terminal confirms that the first discovery message is sent to the terminal, namely confirms that the terminal is the receiving device, and at the moment, the WUR of the terminal sends a trigger signal to the corresponding wireless transceiver to wake up the corresponding wireless transceiver, so that the terminal can communicate with the AP through the second interface.
Optionally, the first interface identifier may further include a first interface identifier of the sending device, such as a Transmit Address (TA) or a short identifier thereof, so that the terminal confirms that the AP sending the first discovery message is an AP that has established a connection.
And the terminal matches the received first interface identifier of the sending device with the first interface identifier of the AP stored by the terminal. And when the first interface identification of the sending device is the same as the first interface identification of the AP stored by the terminal, the terminal confirms that the AP sending the first discovery message is the AP which is connected. The WUR of the terminal now sends a trigger signal to the corresponding wireless transceiver to wake up the corresponding wireless transceiver (or second interface). That is, the first interface identification may include a first interface identification of the receiving device and/or a first interface identification of the transmitting device. The trigger signal is used for waking up the wireless transceiver device in the sleep state. After waking up the wireless transceiving device of the terminal, the WUR of the terminal may go to sleep. It should be noted that the trigger signal belongs to a signal inside the terminal, and is neither a WUR signal nor a WiFi signal.
Optionally, the first discovery message may further include first indication information. The first indication information is used for indicating a channel (or referred to as a first WUR channel) used by the second interface of the AP, so as to reduce the time taken by the terminal to find the channel used by the second interface of the AP, thereby shortening the time for the AP to reestablish the connection with the terminal.
And after the WUR of the terminal awakens the second interface of the terminal according to the first interface identifier, the second interface of the terminal communicates with the AP on the channel indicated by the first indication information.
Alternatively, as shown in fig. 6, a frame structure diagram of a payload part in a possible first discovery message is shown.
The payload portion of the first discovery message may include at least a Type (Type) field, an RA field, and a TA field.
The Type field is a frame control field of the WUR message and is used for indicating the frame Type and function. That is, the frame Type of the first discovery message may be indicated in a Type field (using 1-bit indicator bits as in the gray portion).
The RA field is a receiving address of the first discovery message to instruct the first interface of the terminal to recognize whether the first discovery message is addressed to itself.
The TA field is a sending address of the first discovery message, and the sending address may use a first interface identifier of the truncated AP, such as BSS color, to distinguish different WiFi networks.
Optionally, the payload portion of the first discovery message may also include a payload field.
The payload field is used to carry the payload of the WUR message, and the first indication information may be carried in this field.
Step 450, the second interface of the terminal sends a second discovery message to the second interface of the AP.
The second discovery message is used for indicating the AP to reestablish the connection with the terminal, and further performing effective data interaction.
The second discovery message may be a Probe Request (Probe Request) message, or an Authentication Request (Authentication Request) message, or an Association Request (Association Request) message. The ProbeRequest message is used for equipment to actively acquire surrounding WiFi network information. The Authentication Request message is used to Request Authentication. The Association Request message is used to Request Association.
Alternatively, the second discovery message may be a wakeup confirm message, which indicates that the wireless transceiver of the terminal has been awakened, so that the AP sends a Probe Request message, or an Authentication Request message, or an Association Request message. The wakeup confirm message may be a non-Data Packet (NDP), i.e., a Null Data frame with a short length; or unsolicited Probe Response message, i.e. the Probe Response message sent without receiving the Probe request message, etc.
Optionally, if the first discovery message does not carry the first indication information, the terminal receiving the first discovery message may send, through the second interface of the terminal, a second discovery message on a channel where the second interface of the at least one peripheral AP may work, and attempt to re-establish a connection with the AP to be connected. That is, the second discovery message may be transmitted on one or more channels at this time. Since the first discovery message sent by the AP to be connected to the terminal does not carry the first indication information, the terminal after being woken up cannot identify the channel on which the second interface of the AP to be connected to send the first discovery message operates, and therefore the terminal needs to send the second discovery message on the channel on which the second interface of one or more APs may operate, so as to ensure that the AP to be connected receives the second discovery message.
Or, if the first discovery message does not carry the sending address of the sending device or the short identifier thereof, the terminal receiving the first discovery message cannot directly identify the AP to be connected in the at least one peripheral AP according to the first discovery message. That is, the terminal receiving the first discovery message may send the second discovery message to the second interface of the at least one peripheral AP in a broadcast or multicast manner through the second interface of the terminal, and attempt to re-establish a connection with the AP to be connected.
In addition, after the AP to be connected receives the second discovery message sent by the second interface of the terminal, the second interface of the terminal receives a reply message of the second discovery message sent by the AP, where the reply message carries the second indication information. And the terminal establishes connection with the AP again after determining that the AP is the sending device of the first discovery message according to the second indication information. The method includes that a first discovery message sent by an AP to be connected to a terminal does not carry a sending address or a short identifier of the sending address, and a second interface of the awakened terminal cannot identify the AP to be connected, which sends the first discovery message, so that the AP to be connected can receive the second discovery message by broadcasting or multicasting the second discovery message, and then second indication information in a reply message of the second discovery message sent by the AP to be connected indicates identification information of the corresponding AP to be connected, so that connection is reestablished with the terminal.
If the first discovery message carries the first indication information, the terminal receiving the first discovery message can send a second discovery message to the AP to be connected on the channel used by the second interface of the AP to be connected, which is indicated by the first indication information, through the second interface of the terminal, and try to reestablish the connection with the AP. Because the first discovery message sent by the AP to be connected to the terminal carries the first indication information, the second interface of the terminal can reestablish the connection with the terminal only by sending the second discovery message on one channel, which not only can ensure that the AP to be connected receives the second discovery message, but also reduces the signaling overhead required for searching the channel on which the second interface of the AP to be connected works.
In one example, if the first discovery message does not carry the sending address or the short identifier of the AP to be connected, the terminal cannot directly identify the AP to be connected in the at least one peripheral AP according to the first discovery message. And after receiving the Probe Request message, the AP to be connected determines that the message is sent by the terminal according to the information in the sending address domain of the Probe Request. And then the AP to be connected sends Probe Response to a second interface of the terminal, and carries second indication information in the Probe Response message. After receiving the Probe Response message, the terminal confirms that the first discovery message is sent by the AP to be connected according to the information of the sending address domain of the Probe Response message and the second indication information, and then the terminal reestablishes connection with the AP.
Step 460, the AP reestablishes the connection with the terminal according to the second discovery message.
When the AP confirms that the transmission address in the second discovery message is the same as the address (identity) of the terminal to be connected, that is, the AP confirms that the second discovery message is transmitted by the terminal, the AP reestablishes the connection with the terminal.
The embodiment of the invention sends a first discovery message to the terminal which loses connection through the AP, wherein the first discovery message comprises a first interface identifier, and the WUR of the terminal which receives the first discovery message wakes up a second interface of the terminal according to the first interface identifier. The terminal completes information interaction required by reestablishment of connection with the AP through the wireless transceiver, so that a user can timely and effectively find the AP and reestablish connection with the terminal which loses connection, and user experience is improved.
In another scenario, after the terminal determines that the connection with the AP1 (same as the AP in the first scenario) has been lost and the terminal loses the connection with the AP1, a connection is established with another device (e.g., the AP2 (third device)) other than the AP 1. As shown in fig. 7, the AP1 is a mobile phone, the terminal is a bracelet, and the AP2 is a tablet computer. The user operated the bracelet through the cell-phone, because the distance of bracelet and cell-phone changes or other reasons, bracelet and cell-phone lost being connected. And then, the tablet personal computer is connected with the bracelet, and the user operates the bracelet through the tablet personal computer.
Configuration information (such as a WUR channel, a WUR working window, and the like) of the terminal may be different due to the AP1 and the AP 2. As shown in fig. 8, the AP1 assigns the terminal a WUR channel 1 and a time window within the solid box as the WUR operating window for the terminal. After the AP2 establishes a connection with the terminal, the AP2 allocates a WUR channel 2 to the terminal and a time window within a dashed-line box as a WUR working window of the terminal.
When the user wishes to operate the terminal again through the AP1, the WUR of the terminal cannot receive the first discovery message if the AP1 is still transmitting the first discovery message within the WUR channel and WUR operating window when originally connected to the terminal. Therefore, the AP1 needs to send a first discovery message on the appropriate WUR channel and WUR operating window to re-establish the connection with the terminal.
Fig. 9 is an interaction diagram of another method for reestablishing a connection according to an embodiment of the present invention. As shown in fig. 9, the method may include:
step 910, the AP1 and the terminal establish a connection for the first time, and the AP1 and the terminal can perform effective data communication.
The steps are the same as those performed in step 410, and are not described herein again.
Step 920, the second interface of AP1 and the second interface of the terminal communicate WUR rediscovery identification information.
In conjunction with step 420, the WUR rediscovery identification information may include not only the first interface identification that can be recognized by the terminal after the AP1 loses connection with the terminal, that is, the AP interacts with the terminal to rediscover the WUR identification information during the AP and the terminal communicating. And the WUR finds the identification information again, namely the information required by the AP for sending the communication message to the terminal after the AP and the terminal are interacted and the AP and the terminal are kept disconnected.
The WUR rediscovery identification information may include: and identifying a first interface of the terminal.
Optionally, the WUR rediscovery identification information may further include: a first interface identification of the AP.
It should be noted that, the specific contents of the first interface identifier of the terminal and the first interface identifier of the AP are the same as those in step 420, and are not described herein again.
The WUR rediscovery identification information may also include a WUR channel (or first WUR channel) used by the first interface of the terminal when the AP1 is connected to the terminal to instruct the first interface of the AP1 to send a first discovery message to the first interface of the terminal on the appropriate WUR channel after the AP1 loses connection with the terminal.
Optionally, the WUR rediscovery identification information may further include a first WUR working window used by the first interface of the terminal after the AP1 loses connection with the terminal, for instructing the first interface of the AP1 to send a first discovery message to the first interface of the terminal on an appropriate WUR channel and WUR working window after the AP1 loses connection with the terminal.
After the AP1 loses connection with the terminal, the first interface of the terminal may use the first WUR working window as its WUR working window, or may use the first WUR working window and the second WUR working window as its WUR working window. The first WUR operating window and the second WUR operating window may partially overlap or may not overlap at all. For example, after the AP1 loses connection with the terminal, the terminal turns off the WUR sleep mechanism of the first interface, and the WUR of the terminal stays awake all the time, so that the first interface of the terminal can receive the first discovery message sent by the AP1 on the WUR channel, and thus the first discovery message is prevented from being overheard due to the fact that the WUR goes into sleep.
Further, the access terminal may determine whether the connection between the AP1 and the terminal is lost, that is, whether the connection between the AP1 and the terminal is disconnected.
Alternatively, the condition that the AP1 judges that the connection loss with the terminal is possible is: the AP1 cannot wake up the second interface of the terminal within a preset time; or, the AP1 does not receive a reply for the message sent to the terminal multiple times; or, the AP1 does not receive any message sent by the terminal within a preset time; or, the AP1 receives or sends a message for disconnecting from the terminal, such as deauthentication, disassociation, etc.; or other information that may instruct the AP1 to determine that a connection has been lost with the terminal.
The AP1 retains the first pairing information after determining that the connection with the terminal is lost. The first pairing information includes at least: the WUR rediscover the identification information.
Alternatively, the condition that the terminal determines that the connection loss with the AP1 is possible is: the terminal does not receive any message sent by the AP1 within a preset time, such as a beacon, a WUR beacon, a message sent by the AP1 to a device other than the terminal, and the like. Wherein beacon is beacon information in a WiFi message, and WUR beacon is beacon information in a WUR message; or, the terminal does not receive a reply to the message sent by the AP1 for many times, for example, the terminal wakes up to report data to the AP1, but does not receive a reply message of reporting data; or, the terminal receives or sends a message for disconnecting with the AP1, such as a message for de-authentication, de-association, etc.; or other information that may help the terminal determine that a connection with the AP1 has been lost.
And after the terminal judges that the connection with the AP1 is lost, the second pairing information is reserved. The second pairing information includes at least: the WUR rediscover the identification information.
The AP1 and the terminal lose connection, as judged. The first interface of the terminal continues to listen for WUR messages on the WUR channel, or the WUR channel and WUR operating window, that was agreed to with the AP1 (or used by the first interface of the terminal when connecting with the AP 1) to cause the AP1 to re-establish a connection with the terminal.
Wherein the WUR channel and WUR operating window may be allocated by the AP 1; alternatively, the WUR channel and WUR operating window may be assigned by the terminal; or, the WUR channel and WUR working window are default WUR channels and WUR working windows of the AP1 and the terminal, such as a common WUR channel and WUR working window. The default WUR channel and WUR operating window may cause the AP1 or terminal to lose connectivity and switch to the common WUR channel to continue listening for WUR messages.
Optionally, the default WUR channel and WUR operating window may be the same as or different from the WUR channel and WUR operating window used by the AP1 when the connection was previously established with the terminal.
Optionally, after the terminal loses connection with the AP1 and establishes connection with the AP2, the first interface of the terminal listens for WUR messages on the newly assigned WUR channel and WUR operating window of the AP 2.
If the terminal's newly assigned WUR channel and WUR window of operation is different from the WUR channel and WUR window that the AP1 and terminal had agreed, the terminal needs to listen for WUR messages on the WUR channel and WUR window that the AP2 assigned (e.g., the second WUR window of operation) in addition to the WUR channel and WUR window that the AP1 and terminal had agreed (e.g., the first WUR channel) and WUR window (e.g., the first WUR window of operation). That is, the first interface of the terminal needs to listen alternately for WUR messages on the different WUR channels and stay awake for both WUR operating windows.
Optionally, after the terminal loses the connection with the AP1 and establishes a connection with the AP2 (third device), the terminal may send a first message (or an update message) to the AP1 through the second interface, where the first message carries part of new configuration information of the terminal and the AP 2. The AP1 receiving the first message acquires partial new configuration information of the terminal, and the AP1 may store the received partial new configuration information in the WUR rediscovery identification information.
The first message may be a unicast message (a unicast message transmitted only to the AP 1), that is, a unicast message transmitted only to the AP1 by the terminal according to the first interface identifier of the AP1 in the WUR rediscovery identifier information, or a multicast message (a broadcast message transmitted to all the APs in the vicinity). Wherein, the part of the new configuration information at least comprises: WUR channel information (or second WUR channel information) used by the terminal and AP2 to indicate the WUR channel used by the terminal and AP 2.
Optionally, the partial new configuration information may further include: WUR operating window information used by the terminal and the AP 2.
It will be appreciated that the terminal may send the first message during or after establishing a connection with the AP 2.
Therefore, the AP1 that has been connected to the terminal can still send the first discovery message on the appropriate WUR channel or the WUR channel and the WUR working window according to the information that the AP1 and the terminal have agreed and reserved, and timely and effectively establish connection with the terminal, thereby reducing the overhead caused by sending the first discovery message on a plurality of WUR channels or WUR working windows.
It should be noted that steps 930 to 960 are the same as the specific implementation of steps 430 to 460 in fig. 4, and are not described again here.
In the embodiment of the invention, when the terminal loses connection with the AP1 and is connected with the AP2, the WUR channel used by the first interface of the terminal when the terminal is connected with the AP1, or the WUR channel used after connection loss is agreed when the terminal is connected with the AP1, or the WUR channel used when the terminal is connected with the AP2 is notified to the AP1, so that the AP1 can timely and effectively find and reestablish connection with the terminal which loses connection, and user experience is improved.
Fig. 10 is a schematic structural diagram of a wireless local area network device (e.g., AP) according to an embodiment of the present invention. As shown in fig. 10, the wireless lan device (e.g., AP) may include: a first interface 1010, a second interface 1020 and a processing unit 1030,
the first interface 1010 is configured to send a first discovery message to a first interface of a wireless local area network device (e.g., a terminal) to be connected, where the first discovery message includes a first interface identifier, and the first interface identifier is an identifier that can be recognized by the terminal after the wireless local area network device loses connection with the terminal.
A second interface 1020, configured to receive a second discovery message sent by the terminal according to the first interface identifier.
The processing unit 1030 is configured to parse the second discovery message received by the second interface, and reestablish a connection with the terminal according to the second discovery message.
Optionally, the first interface identification comprises a first interface identification of the receiving device. The second interface 1020 is specifically configured to receive a second discovery message sent by the terminal after the terminal matches the first interface identifier of the receiving device with the first interface identifier of the terminal.
Optionally, the first interface identifier further includes a first interface identifier of the sending device. The second interface 1020 is specifically configured to receive a second discovery message sent by the terminal after the terminal matches the first interface identifier of the sending device with the first interface identifier stored in the terminal.
Optionally, the first discovery message further includes first indication information to indicate a channel used by the second interface 1020 when the second interface 1020 is connected with the second interface of the terminal. The second discovery message received by the second interface 1020 is transmitted by the terminal according to the first indication information.
Optionally, the processing unit 1030 is specifically configured to parse the second discovery message received by the second interface 1020, generate a reply message of the second discovery message according to the second discovery message, and send the reply message of the second discovery message to the second interface of the terminal through the second interface 1020, where the reply message includes the second indication information, so that the terminal reestablishes a connection with the AP after determining that the AP is the sending device of the first discovery message according to the second indication information.
Optionally, the processing unit 1030 is configured to configure WUR channel information of the first interface of the terminal, where the WUR channel information of the first interface of the terminal is used to indicate a first WUR channel used by the first interface of the terminal after the AP and the terminal lose connection. The first interface 1010 is specifically configured to send a first discovery message to the first interface of the terminal on the first WUR channel.
Optionally, the processing unit 1030 is further configured to configure WUR working window information of the first interface of the terminal, where the first WUR working window information of the first interface of the terminal is used to indicate a WUR working window used by the first interface of the terminal after the AP and the terminal lose connection. The first interface 1010 is specifically configured to send a first discovery message to the first interface of the terminal on the first WUR channel and the WUR operating window. After the AP loses connection with the terminal, the first interface of the terminal may use the first WUR working window as its WUR working window, or may use the first WUR working window and the second WUR working window as its WUR working window. The first WUR operating window and the second WUR operating window may partially overlap or may not overlap at all.
Optionally, the first interface 1010 is further configured to receive a first message (or an update message) sent by the second interface of the terminal, where the first message includes information of a second WUR channel used by the first interface of the terminal and the first interface of the third device, and send the first discovery message to the first interface of the terminal on the second WUR channel.
Fig. 11 is a schematic structural diagram of another wireless local area network device (e.g., a terminal) according to an embodiment of the present invention. As shown in fig. 11, the wireless lan device (e.g., terminal) may include: a first interface 1110 and a second interface 1120.
The first interface 1110 is configured to receive a first discovery message sent by a first interface of a wireless local area network device (e.g., an AP) to be connected, where the first discovery message includes a first interface identifier, and the first interface identifier is an identifier that can be recognized by the wireless local area network device after the AP loses connection with the wireless local area network device.
A second interface 1120, configured to send a second discovery message to a second interface of the AP according to the first interface identifier, so that the AP reestablishes a connection with the wlan device according to the second discovery message.
Optionally, the terminal may comprise a processing unit 1130, the first interface identification comprising the first interface identification of the receiving device. The processing unit 1130 is specifically configured to match the first interface identifier of the receiving device with the identifier of the first interface 1110, and if the first interface identifier of the receiving device is matched with the identifier of the first interface 1110, the second interface 1120 is triggered to wake up (the processing unit 1130 may directly send a wake-up signal to the second interface 1120 or instruct the first interface 1110 to send a wake-up signal to the second interface 1120, so as to wake up the second interface 1120). The second interface 1120 is further configured to send a second discovery message to the second interface of the AP after being woken up.
Optionally, the wireless local area network device may include a storage unit 1140.
Optionally, the first interface identifier further includes a first interface identifier of the sending device. The processing unit 1120 is specifically configured to match the first interface identifier of the receiving device with the identifier of the first interface 1110, match the first interface identifier of the sending device with the AP first interface identifier stored in the storage unit 1140, and trigger to wake up the second interface 1120 when the foregoing information is matched.
Optionally, the first discovery message further includes first indication information indicating a channel used by the second interface of the AP when the AP establishes a connection with the wlan device.
The second interface 1120 is specifically configured to send the second discovery message to the second interface of the first device according to the first indication information after being awakened.
Optionally, the second interface 1120 is further configured to receive a reply message of the second discovery message, where the reply message is sent by the AP according to the second discovery message, and includes the second indication information. The processing unit 1130 is further configured to, after determining that the AP is the sending device of the first discovery message according to the second indication information, reestablish a connection with the AP through the second interface 1120.
Optionally, the receiving, by the first interface 1110, the first discovery message sent by the first interface of the AP specifically includes: the first interface 1110 transmits a first discovery message on a first WUR channel by the first interface of the receiving AP. The first WUR channel is a channel used by the wireless local area network equipment after the AP loses connection with the wireless local area network equipment and is configured by the AP when the AP is connected with the wireless local area network equipment for the previous time.
Optionally, the receiving, by the first interface 1110, the first discovery message sent by the first interface of the AP specifically includes: the first interface 1110 receives a first discovery message sent by a first interface of an AP on a first WUR channel and a first WUR operating window of the first interface 1110.
The first WUR working window of the first interface 1110 of the wireless lan device is the WUR working window used by the first interface 1110 of the wireless lan device after the AP loses connection with the wireless lan device configured by the AP when the AP is connected with the wireless lan device for the previous time. It should be noted that, after the wireless lan device loses connection with the AP, the first interface 1110 of the wireless lan device may use the first WUR working window as its WUR working window, or may use the first WUR working window and the second WUR working window as its WUR working window. The first WUR operating window and the second WUR operating window may partially overlap or may not overlap at all.
Optionally, the first interface 1120 is further configured to send a first message (or an update message) to the first interface of the AP, where the first message includes second WUR channel information used by the first interface 1110 and the first interface of the third device, so that the first interface of the AP sends the first discovery message to the first interface 1110 on the second WUR channel.
Fig. 12 is a schematic structural diagram of another wlan device according to an embodiment of the present invention. As shown in fig. 12, the wireless lan device (e.g., AP) may include a wireless transceiver 1210 (e.g., 802.11 primary transceiver module), a processor 1220, a memory 1230, and a transceiver antenna 1240, the wireless transceiver 1210 having receiver and transmitter functions. The transceiver antenna 1240 may also be considered part of the wireless transceiver 1210, in which case the transceiver antenna 1240 may not be shown in fig. 12.
The processor 1220 stores the command message and the data message to be transmitted through the wireless transceiver 1210 in the memory 1230, after the processor 1220 prepares the command or data to be transmitted, the processor 1220 sends a notification to the wireless transceiver 1210 to indicate that the data to be transmitted is prepared, and finally the wireless transceiver 1210 obtains the command or data to be transmitted from the memory 1230 and transmits the command or data to be transmitted through the transceiving antenna 1240. The wireless transceiver 1210 needs to modulate the content of the message to be transmitted into an electrical signal and transmit the electrical signal from the transceiving antenna 1240 in the form of electromagnetic waves, and the wireless transceiver 1210 needs to receive the message through the transceiving antenna 1240 and analyze the electromagnetic wave signal to obtain the message sent by other devices to itself.
The processor 1220 may be a Central Processing Unit (CPU), or a combination of a CPU and a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The memory 1230 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 1230 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD), or a solid-state drive (SSD). The memory 1230 may also comprise a combination of memories of the kind described above.
Further, the AP may further include a first interface 1250 (not shown) and a second interface 1260 (not shown). The first interface 1250 may be a communication interface provided by the wireless transceiver 1210, or may be a communication interface provided by a transmitter (which may be called a wake-up transmitter) dedicated to transmitting WUR messages, and is used for transmitting WUR messages (in this embodiment, at least for transmitting WUR messages). The second interface 1260 may be a communication interface provided by the wireless transceiver 1210 for transmission of WiFi messages.
In conjunction with the methods shown in fig. 4 and fig. 9, the working process of each functional device/unit/module of the AP may include:
the first interface 1250 is configured to send a first discovery message to the first interface of the terminal, where the first discovery message includes a first interface identifier, and the first interface identifier is an identifier that can be recognized by the terminal after the AP loses connection with the terminal.
A second interface 1260, configured to receive a second discovery message sent by the terminal according to the first interface identifier.
A processor 1220 for reestablishing a connection with the terminal according to the second discovery message received by the second interface 1260.
Optionally, the AP may also include a transmitter WUR1270 (not shown in fig. 12) dedicated to transmitting WUPs. The WUR1270 is triggered to transmit WUPs by the wireless transceiver 1210 or the processor 1220 when there is data to transmit. The WUP is transmitted by the transceiver antenna 1240. The wireless transceiver 1210 and the WUR1270 may operate in the same frequency band, and the transceiver antenna 1240 may include the same antenna, thereby reducing the structural complexity of the AP and the hardware cost. The wireless transceiver 1210 and the WUR1270 may also operate in different frequency bands, and the transceiving antenna 1240 includes multiple antennas suitable for different frequency bands, that is, the antennas used by the wireless transceiver 1210 and the WUR1270 are different.
It should be noted that, for the implementation and the advantageous effects of solving the problems of the devices/units/modules of the AP in the foregoing embodiments, reference may be made to the method embodiment related to fig. 4 and 9 and the apparatus embodiment related to fig. 10, which are not repeated herein.
Fig. 13 is a schematic structural diagram of another wlan device according to an embodiment of the present invention. As shown in fig. 13, the wireless local area network device, such as a terminal (which may be a mobile phone, a wearable device, or the like), may include: wake-up receiver 1310, processor 1320, wireless transceiver 1330 (e.g., 802.11 host transceiver module), memory 1340, and transceiver antenna 1350.
The wireless transceiver 1330 retrieves the command message or the data message received by the wireless transceiver 1330 from the memory 1340, and processes the message to obtain the command or data. The wake-up receiver 1310 receives a wake-up frame transmitted by another device through the transceiving antenna 1350. When the wake-up receiver 1310 receives a wake-up frame, the wake-up receiver 1310 may send the relevant information in the wake-up frame to the processor 1320, and after the processor 1320 confirms that the wake-up frame is the wake-up frame sent to the wake-up receiver 1310, the processor 1320 may trigger the wake-up wireless transceiver 1330 (either directly send the wake-up signal to the wireless transceiver 1330 or instruct the wake-up receiver 1310 to send the wake-up signal to the wireless transceiver 1330 to wake-up the wireless transceiver 1330). The wake-up receiver 1310 and the wireless transceiver 1330 may each have a corresponding processor to serve, wherein after recognizing that the received wake-up frame is a wake-up frame addressed to the wake-up receiver 1310, the processor serving the wake-up receiver 1310 may be configured to trigger the wake-up wireless transceiver 1330 (which may directly send a wake-up signal to the wireless transceiver 1330 or instruct the wake-up receiver 1310 to send a wake-up signal to the wireless transceiver 1330 to wake-up the wireless transceiver 1330), which is not described in detail herein. The wireless transceiver 1330 needs to modulate the content of the message to be transmitted into an electrical signal for transmission from the transceiving antenna 1350 in the form of electromagnetic waves, and the wireless transceiver 1330 needs to receive the message through the transceiving antenna 1350 and analyze the electromagnetic wave signal to obtain the message sent by other devices to itself.
The processor 1320 stores the command message and the data message to be transmitted through the wireless transceiver 1330 in the memory 1340, after the processor 1320 prepares the command or data to be transmitted, the processor 1320 sends a notification to the wireless transceiver 1330 to indicate that the data to be transmitted is prepared, and finally the wireless transceiver 1330 acquires the command or data to be transmitted from the memory 1340 and transmits the command or data through the transceiving antenna 1350.
The processor 1320 may be a central processing unit CPU or a combination of a CPU and a hardware chip. The hardware chip may be an application specific integrated circuit ASIC, a programmable logic device PLD, or a combination thereof. The PLD may be a complex programmable logic device CPLD, a field programmable gate array FPGA, a generic array logic GAL, or any combination thereof.
Memory 1340 may include volatile memory, such as random access memory RAM; the memory 1340 may also include a non-volatile memory, such as a read-only memory ROM, flash memory, a hard disk HDD, or a solid state disk SSD. Memory 1340 may also include a combination of the above types of memory.
Further, the terminal may further include a first interface 1360 (not shown) provided by the wake-up receiver 1310 and a second interface 1370 (not shown) provided by the wireless transceiver 1330. The first interface 1360 is used for transmission of WUR messages (including at least reception of WUR messages in this embodiment), and the second interface 1370 is used for transmission of WiFi messages.
In conjunction with the methods shown in fig. 4 and fig. 9, the working process of each functional device/unit/module of the terminal may include:
the first interface 1360 is configured to receive a first discovery message sent by the first interface of the AP, where the first discovery message includes a first interface identifier, and the first interface identifier is an identifier that can be recognized after the AP loses connection with the terminal.
A second interface 1370, configured to send a second discovery message to the second interface of the AP according to the first interface identifier, so that the AP reestablishes a connection with the terminal according to the second discovery message.
It should be noted that the wireless transceiver 1330 and the wake-up receiver 1310 can operate in the same frequency band, and the transceiving antenna 1350 comprises one antenna, thereby reducing the structural complexity and hardware cost of the terminal. The wireless transceiver 1330 and the wake-up receiver 1310 may also operate in different frequency bands, and the transceiving antenna 1350 may comprise multiple antennas suitable for different frequency bands, and the wireless transceiver 1330 and the wake-up receiver 1310 may use different antennas. For example, both operate in the 2.4GHz band and the 5GHz band, respectively. In practical products, the terminal may be implemented by a system on a chip (SoC) or an integrated circuit.
For the implementation and the advantageous effects of solving the problems of the devices/units/modules of the terminal in the foregoing embodiments, reference may be made to the method embodiments related to fig. 4 and fig. 9 and the apparatus embodiments related to fig. 11, which are not repeated herein.
The interface described in the embodiments of the present application may be a logical concept (e.g. a logical functional unit/module) or may be a physical entity (e.g. a communication interface provided by a corresponding communication module). The functions implemented by the various involved interfaces (e.g., the first interface, the second interface, the WUR interface, the WiFi interface, etc.) are implemented by corresponding physical entities such as a wireless transceiver or a wake-up receiver or a wake-up transmitter, so that the steps executed by the second interface in the embodiments of the present application can be executed by a wireless transceiver (e.g., a WiFi communication module or WiFi main radio) instead; the steps executed by the first interface of the AP in the embodiments of the present application may be executed by the wake-up transmitter of the AP instead (in another embodiment, the steps executed by the first interface of the AP may be executed by the wireless transceiver of the AP instead because the wireless transceiver may have both functions of transceiving wifi signals and transmitting WUR signals); the steps performed by the first interface of the terminal in the embodiments of the present application may be performed by the wake-up receiver of the terminal instead. If the WUR module integrates both the function of receiving and transmitting WUR signals, the WUR module may be referred to as a wake-up transceiver, and both the wake-up transmitter and the wake-up receiver may be replaced with a wake-up transceiver.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The relevant parts among the method embodiments of the invention can be mutually referred; the apparatus provided in the respective apparatus embodiments is adapted to perform the method provided in the respective method embodiments, so that the respective apparatus embodiments may be understood with reference to the relevant parts in the relevant method embodiments. All relevant parts between the embodiments of the invention can be mutually referred. The device structure diagrams given in the device embodiments of the invention only show a simplified design of the corresponding devices. In practical applications, the apparatus may comprise any number of transmitters, receivers, transceivers, processors, memories, etc. to implement the functions or operations performed by the apparatus in the embodiments of the apparatus of the present invention, and all apparatuses that can implement the present invention are within the scope of the present application. The names of the message/frame/indication information, the module or the unit, etc. provided in the embodiments of the present invention are only examples, and other names may be used as long as the roles of the message/frame/indication information, the module or the unit, etc. are the same.
It will be understood by those of ordinary skill in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by a program which may be stored in a computer-readable storage medium, wherein the storage medium is a non-transitory (non-transitory) medium, such as a random access memory, a read only memory, a flash memory, a hard disk, a solid state drive, a magnetic tape (magnetic tape), a floppy disk (floppy disk), an optical disk (optical disk) and any combination thereof.
The above description is only a part of the embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (32)

1. A method of reestablishing a connection, wherein after a first device loses connection with a second device, the method comprises:
a first interface of the first device sends a first discovery message to a first interface of the second device, wherein the first discovery message comprises a first interface identifier, and the first interface identifier is an identifier which can be recognized by the second device after the first device loses connection with the second device;
a second interface of the first device receives a second discovery message sent by the second device according to the first interface identifier;
and the first equipment reestablishes connection with the second equipment according to the second discovery message.
2. The method of claim 1, wherein the first interface identification comprises a first interface identification of a receiving device,
the receiving, by the second interface of the first device, the second discovery message sent by the second device according to the first interface identifier specifically includes:
and the second interface of the first device receives a second discovery message which is sent by the second device after the first interface identifier of the receiving device and the first interface identifier of the second device are successfully matched.
3. The method of claim 1, wherein the first interface identification comprises a first interface identification of a sending device,
the receiving, by the second interface of the first device, the second discovery message sent by the second device according to the first interface identifier specifically includes:
and the second interface of the first device receives a second discovery message which is sent by the second device after the first interface identifier of the sending device is successfully matched with the first interface identifier of the first device stored in the second device.
4. The method according to claim 2 or 3, wherein the first discovery message further comprises first indication information indicating a channel used by the second interface of the first device when the second interface of the first device establishes a connection with the second interface of the second device,
the second discovery message received by the second interface of the first device is sent by the second device according to the first indication information.
5. The method according to claim 1, wherein the first device reestablishes the connection with the second device according to the second discovery message, specifically comprising:
and the first device sends a reply message of the second discovery message to a second interface of the second device through a second interface of the first device according to the second discovery message, wherein the reply message comprises second indication information, so that the second device reestablishes connection with the first device after determining that the first device is the sending device of the first discovery message according to the second indication information.
6. The method of claim 1, wherein before the first device loses connection with the second device, the method further comprises:
the first device configures WUR channel information of a first interface of the second device after losing connection with the second device, the WUR channel information of the first interface of the second device is used for indicating a first WUR channel used by the first interface of the second device after the first device loses connection with the second device,
the sending, by the first interface of the first device, the first discovery message to the first interface of the second device specifically includes:
the first interface of the first device sends the first discovery message to the first interface of the second device over the first WUR channel.
7. The method of claim 6, wherein before the first device loses connection with the second device, the method further comprises:
the first device configures first WUR working window information of a first interface of the second device after losing connection with the second device, the first WUR working window information of the first interface of the second device is used for indicating a WUR working window used by the first interface of the second device after the first device loses connection with the second device,
the sending, by the first interface of the first device, the first discovery message to the first interface of the second device specifically includes:
the first interface of the first device sends the first discovery message to the first interface of the second device over the first WUR channel and the first WUR working window.
8. The method of claim 1, wherein before the first interface of the first device sends the first discovery message to the first interface of the second device, the method further comprises:
the first interface of the first device receives a first message sent by the first interface of the second device, wherein the first message comprises second WUR channel information used by the first interface of the second device and the first interface of a third device;
the sending, by the first interface of the first device, the first discovery message to the first interface of the second device specifically includes:
the first interface of the first device sends the first discovery message to the first interface of the second device on the second WUR channel.
9. A method of reestablishing a connection, wherein after a first device loses connection with a second device, the method comprises:
a first interface of the second device receives a first discovery message sent by a first interface of the first device, wherein the first discovery message includes a first interface identifier, and the first interface identifier is a first interface identifier which can be identified by the second device after the first device loses connection with the second device;
and the second equipment sends a second discovery message to a second interface of the first equipment according to the first interface identifier, so that the first equipment reestablishes connection with the second equipment according to the second discovery message.
10. The method of claim 9, wherein the first interface identification comprises a first interface identification of a receiving device,
the sending, by the second device, the second discovery message to the second interface of the first device according to the first interface identifier specifically includes:
the second device matches the first interface identifier of the receiving device with the first interface identifier of the second device;
if the matching is successful, the second device wakes up a second interface of the second device;
and the woken second interface of the second device sends the second discovery message to the second interface of the first device.
11. The method of claim 9, wherein the first interface identification comprises a first interface identification of a sending device,
the sending, by the second device, the second discovery message to the second interface of the first device according to the first interface identifier specifically includes:
the second device matches the first interface identifier of the sending device with the first interface identifier of the first device stored in the second device;
if the matching is successful, the second device wakes up a second interface of the second device;
and the woken second interface of the second device sends the second discovery message to the second interface of the first device.
12. The method according to claim 10 or 11, wherein the first discovery message further comprises first indication information indicating a channel used by a second interface of the first device when the first device is connected with the second device,
and sending the second discovery message to the second interface of the first device by the awakened second interface of the second device according to the first indication information.
13. The method of claim 9, wherein after the second device sends a second discovery message to the second interface of the first device according to the first interface identification, the method further comprises:
a second interface of the second device receives a reply message sent by the first device according to the second discovery message, wherein the reply message comprises second indication information;
and the second equipment reestablishes connection with the first equipment after determining that the first equipment is the sending equipment of the first discovery message according to the second indication information.
14. The method according to claim 9, wherein the receiving, by the first interface of the second device, the first discovery message sent by the first interface of the first device specifically includes:
a first interface of the second equipment receives a first discovery message sent by a first interface of the first equipment on a first WUR channel;
the first WUR channel is a channel used by the second device after the first device is disconnected with the second device and configured by the first device when the first device is connected with the second device for the previous time.
15. The method according to claim 14, wherein the receiving, by the first interface of the second device, the first discovery message sent by the first interface of the first device specifically includes:
the first interface of the second device receives the first discovery message sent by the first interface of the first device on the first WUR channel and the first WUR working window of the first interface of the second device;
and when the first device is connected with the second device for the previous time, the first WUR working window of the first interface of the second device is the WUR working window used by the first interface of the second device after the first device is configured and the second device is disconnected.
16. The method of claim 9, wherein before the first interface of the second device receives the first discovery message sent by the first interface of the first device, the method further comprises:
the first interface of the second device sends a first message to the first interface of the first device, wherein the first message comprises second WUR channel information used by the first interface of the second device and the first interface of a third device, so that the first interface of the first device sends the first discovery message to the first interface of the second device on the second WUR channel.
17. A wireless local area network device, the wireless local area network device comprising:
the first interface is used for sending a first discovery message to a first interface of second equipment, wherein the first discovery message comprises a first interface identifier, and the first interface identifier is information which can be identified by the second equipment after the equipment loses connection with the second equipment;
a second interface, configured to receive a second discovery message sent by the second device according to the first interface identifier;
a processor, configured to reestablish a connection with the second device according to the second discovery message received by the second interface.
18. The WLAN device of claim 17, wherein the first interface identification comprises a first interface identification of a receiving device,
the second interface is specifically configured to receive a second discovery message that is sent by the second device after the first interface identifier of the receiving device is successfully matched with the first interface identifier of the second device.
19. The WLAN device of claim 17, wherein the first interface identification comprises a first interface identification of a sending device,
the second interface is specifically configured to receive a second discovery message that is sent by the second device after the first interface identifier of the sending device is successfully matched with the first interface identifier of the wireless local area network device stored in the second device.
20. The WLAN device according to claim 18 or 19, wherein the first discovery message further comprises a first indication information indicating a channel used by the second interface of the WLAN device when the second interface of the WLAN device is connected to the second interface of the second device,
the second discovery message received by the second interface of the wireless local area network device is sent by the second device according to the first indication information.
21. The WLAN device of claim 17,
the processor is specifically configured to send, according to the second discovery message received by the second interface of the wireless local area network device, a reply message to the second interface of the second device through the second interface of the wireless local area network device, where the reply message includes second indication information, so that the second device reestablishes a connection with the wireless local area network device after determining that the wireless local area network device is the sending device of the first discovery message according to the second indication information.
22. The device of claim 17, wherein the processor is further configured to configure WUR channel information of the first interface of the second device, wherein the WUR channel information of the first interface of the second device is used to indicate a first WUR channel used by the first interface of the second device after the device loses connection with the second device,
the first interface of the wireless local area network device is specifically configured to send the first discovery message to the first interface of the second device on the first WUR channel.
23. The device of claim 22, wherein the processor is further configured to configure WUR operating window information of the first interface of the second device, wherein the first WUR operating window information of the first interface of the second device is used to indicate a WUR operating window used by the first interface of the second device after the device loses connection with the second device,
the first interface of the wireless local area network device is specifically configured to send the first discovery message to the first interface of the second device on the first WUR channel and the first WUR working window.
24. The device of claim 17, wherein the first interface of the wireless lan device is further configured to receive a first message sent by the first interface of the second device, the first message including second WUR channel information used by the first interface of the second device and the first interface of a third device, and send the first discovery message to the first interface of the second device over the second WUR channel.
25. A wireless local area network device, the wireless local area network device comprising:
the first interface is used for receiving a first discovery message sent by a first interface of first equipment, wherein the first discovery message comprises a first interface identifier, and the first interface identifier is information which can be identified by the wireless local area network equipment after the first equipment loses connection with the wireless local area network equipment;
and the second interface is used for sending a second discovery message to the second interface of the first device according to the first interface identifier so that the first device reestablishes the connection with the wireless local area network device according to the second discovery message.
26. The wireless local area network device of claim 25, wherein the wireless local area network device further comprises a processor,
the first interface identification comprises a first interface identification of the receiving device,
the processor is specifically configured to match a first interface identifier of the receiving device with a first interface identifier of the wireless local area network device;
if the matching is successful, the processor wakes up a second interface of the wireless local area network equipment;
the second interface of the wireless lan device is specifically configured to send the second discovery message to the second interface of the first device after being awakened.
27. The wireless local area network device of claim 25, further comprising a memory and a processor,
the first interface identification comprises a first interface identification of the sending device,
the processor is specifically configured to match a first interface identifier of the sending device with a first interface identifier of the first device stored in the memory;
if the matching is successful, the processor wakes up a second interface of the wireless local area network equipment;
the second interface of the wireless lan device is specifically configured to send the second discovery message to the second interface of the first device after being awakened.
28. The WLAN device according to claim 26 or 27, wherein the first discovery message further comprises a first indication information indicating a channel used by the second interface of the first device when the first device connects with the WLAN device,
the second interface of the wireless lan device is specifically configured to send the second discovery message to the second interface of the first device according to the first indication information after being awakened.
29. The wireless local area network device of claim 25, wherein the wireless local area network device further comprises a processor,
the second interface of the wireless local area network device is further configured to receive a reply message sent by the first device according to the second discovery message, where the reply message includes second indication information;
and the processor is configured to reestablish a connection with the first device through the second interface of the wireless local area network device after determining that the first device is the sending device of the first discovery message according to the second indication information.
30. The wlan device according to claim 25, wherein the first interface of the wlan device is configured to receive the first discovery message sent by the first interface of the first device on a first WUR channel;
the first WUR channel is a channel used by the wireless local area network equipment after the first equipment is disconnected with the wireless local area network equipment and configured by the first equipment when the first equipment is connected with the wireless local area network equipment for the previous time.
31. The device according to claim 30, wherein the first interface of the device is configured to receive the first discovery message sent by the first interface of the first device on the first WUR channel and a first WUR operating window of the first interface of the device;
when the first device is connected with the wireless local area network device for the previous time, the first device is configured with the wireless local area network device and loses connection with the wireless local area network device, and the first WUR working window of the first interface of the wireless local area network device is used.
32. The device of claim 25, wherein the first interface of the wireless lan device is further configured to send a first message to the first interface of the first device, the first message including second WUR channel information used by the first interface of the wireless lan device and the first interface of a third device, such that the first interface of the first device sends the first discovery message to the first interface of the wireless lan device over the second WUR channel.
CN201780045755.5A 2016-11-08 2017-07-27 Method for reestablishing connection and wireless local area network device Active CN109479261B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
CN2016109807886 2016-11-08
CN201610980788 2016-11-08
CN2017102219411 2017-04-06
CN201710221941 2017-04-06
PCT/CN2017/094768 WO2018086384A1 (en) 2016-11-08 2017-07-27 Method for reestablishing connection and wireless local area network device

Publications (2)

Publication Number Publication Date
CN109479261A CN109479261A (en) 2019-03-15
CN109479261B true CN109479261B (en) 2020-10-23

Family

ID=62109115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780045755.5A Active CN109479261B (en) 2016-11-08 2017-07-27 Method for reestablishing connection and wireless local area network device

Country Status (2)

Country Link
CN (1) CN109479261B (en)
WO (1) WO2018086384A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573383B (en) * 2020-04-29 2023-04-07 京东方科技集团股份有限公司 Re-network access method after mobile terminal network disconnection and related equipment
CN115243398A (en) * 2021-04-22 2022-10-25 华为技术有限公司 WiFi link dormancy awakening method, electronic equipment and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020694A (en) * 2014-06-16 2014-09-03 法视网络传媒技术(北京)有限公司 Energy-saving wearable device capable of being triggered through one key, mobile terminal, and triggering method and device
CN104035543A (en) * 2014-06-23 2014-09-10 华为技术有限公司 Power saving management method and device for intelligent terminal
CN105282260A (en) * 2015-11-17 2016-01-27 北京奇虎科技有限公司 File transmission method, wearable device and cloud server
CN105528242A (en) * 2014-09-30 2016-04-27 联想(北京)有限公司 A mode switching method and an electronic apparatus
US9485733B1 (en) * 2015-05-17 2016-11-01 Intel Corporation Apparatus, system and method of communicating a wakeup packet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049923B (en) * 2015-08-28 2019-03-01 小米科技有限责任公司 Wake up the method and device of electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020694A (en) * 2014-06-16 2014-09-03 法视网络传媒技术(北京)有限公司 Energy-saving wearable device capable of being triggered through one key, mobile terminal, and triggering method and device
CN104035543A (en) * 2014-06-23 2014-09-10 华为技术有限公司 Power saving management method and device for intelligent terminal
CN105528242A (en) * 2014-09-30 2016-04-27 联想(北京)有限公司 A mode switching method and an electronic apparatus
US9485733B1 (en) * 2015-05-17 2016-11-01 Intel Corporation Apparatus, system and method of communicating a wakeup packet
CN105282260A (en) * 2015-11-17 2016-01-27 北京奇虎科技有限公司 File transmission method, wearable device and cloud server

Also Published As

Publication number Publication date
WO2018086384A1 (en) 2018-05-17
CN109479261A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
USRE48425E1 (en) Method, apparatus, and computer program product for power save control for tethering connections
US11596021B2 (en) EHT STA configured to operate in non-AP multi-link device (MLD) with beacon to indicate link parameter update
CN109923912B (en) Method and device for transmitting paging message
US11546846B2 (en) State switching method and apparatus
US20220174583A1 (en) Paging Method And Apparatus
CN109716700B (en) Indication method and related equipment
WO2014188832A1 (en) System, program and method for radio terminal to find access point
KR102162958B1 (en) Method and apparatus for handover in wireless lan system and system therefor
US9730252B2 (en) Quick connection between customized softap and STA
EP2891031B1 (en) Using bluetooth low energy
WO2018086431A1 (en) Communication method, network device and terminal
US20180375846A1 (en) Transmission-only mesh nodes
US11832126B2 (en) Restrictions on multi-link device probe request
EP4061092A1 (en) Access point supporting at least two virtual networks and method performed thereby for communicating with wireless device
WO2018082054A1 (en) Communication method and communication device
US8861492B2 (en) Method for communication between a WLAN terminal and a human interface device
CN109479261B (en) Method for reestablishing connection and wireless local area network device
KR20140113237A (en) Method for wireless link setup of wireless access point in congested environments
CN113133092B (en) Energy-saving control method and related equipment
EP3490310B1 (en) Method and device for transmitting data
CN108012315B (en) Communication method, network equipment and terminal
WO2022213885A1 (en) Communication method and apparatus
CN108668344B (en) Access method, station and access point
EP4247029A1 (en) Privacy enhancement beacon frames
CN118283841A (en) Bluetooth connection method and communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant