CN111885598A - Event sending realization system and method of Wi-Fi equipment - Google Patents

Event sending realization system and method of Wi-Fi equipment Download PDF

Info

Publication number
CN111885598A
CN111885598A CN202010492145.3A CN202010492145A CN111885598A CN 111885598 A CN111885598 A CN 111885598A CN 202010492145 A CN202010492145 A CN 202010492145A CN 111885598 A CN111885598 A CN 111885598A
Authority
CN
China
Prior art keywords
cloud server
equipment
router
private field
event
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.)
Granted
Application number
CN202010492145.3A
Other languages
Chinese (zh)
Other versions
CN111885598B (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.)
Pulian International Co ltd
Original Assignee
Pulian International 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 Pulian International Co ltd filed Critical Pulian International Co ltd
Priority to CN202010492145.3A priority Critical patent/CN111885598B/en
Priority claimed from CN202010492145.3A external-priority patent/CN111885598B/en
Publication of CN111885598A publication Critical patent/CN111885598A/en
Application granted granted Critical
Publication of CN111885598B publication Critical patent/CN111885598B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses an event sending realization system and method of Wi-Fi equipment, wherein the Wi-Fi equipment is used for sending a probe request on a pre-acquired Wi-Fi channel when responding to the awakening operation of a user and being awakened; wherein, the probe request comprises a private field encrypted by a public key; the private field carries equipment information and event information; each network device is used for extracting the private field in the probe request when receiving the probe request and sending the private field to the cloud server through the router; the cloud server is used for decrypting the private field according to the private key to verify the validity when the private field is received, and returning a successful response to the corresponding network equipment after the private field passes the verification; each network device is used for returning a probe response to the Wi-Fi device when receiving a successful response; the Wi-Fi equipment is used for confirming that the event is successfully sent when receiving the probe response returned by any network equipment. The invention can shorten the event reporting delay, has high real-time performance and wide application range.

Description

Event sending realization system and method of Wi-Fi equipment
Technical Field
The invention relates to the technical field of wireless communication, in particular to an event sending implementation system and method of Wi-Fi equipment.
Background
The Wi-Fi Push Button is a device which is driven by a battery, is networked based on Wi-Fi and can send an event to the cloud after being pressed, and in order to save electric energy, the Wi-Fi Push Button is in a standby state at ordinary times and is not networked. In the current application, a series of actions such as Wi-Fi connection, IP configuration, cloud server connection and the like are required after the equipment is awakened by a key, so that the delay from the key to the cloud end for receiving the notification is large, and the method cannot be suitable for occasions with high real-time requirements.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a system and a method for realizing event transmission of Wi-Fi equipment, which can shorten event reporting delay, have high real-time performance, and have a wide application range.
In order to solve the above technical problem, an embodiment of the present invention provides an event sending implementation system for a Wi-Fi device, where the system includes a Wi-Fi device, at least one network device, a router, and a cloud server; the Wi-Fi equipment is used for connecting the router through a WLAN; each network device is connected with the router through a WLAN; the WAN port of the router is connected with the cloud server;
the Wi-Fi equipment is used for sending a probe request on a pre-acquired Wi-Fi channel when responding to the awakening operation of a user and being awakened; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information;
each network device is used for extracting the private field in the probe request when receiving the probe request, and sending the private field to the cloud server through the router;
the cloud server is used for decrypting the private field according to a preset private key to verify the validity when receiving the private field sent by any one of the network devices, and returning a corresponding success response to the corresponding network device through the router after the private field passes the verification;
each network device is used for returning a corresponding probe response to the Wi-Fi device when receiving a successful response returned by the cloud server;
and the Wi-Fi equipment is used for confirming that the event is successfully sent when receiving the probe response returned by any network equipment.
Further, the Wi-Fi device is further configured to pre-acquire the Wi-Fi channel and the public key by:
connecting the router through a WLAN according to a preset distribution network mode so as to connect the cloud server;
and sending a key acquisition request to the cloud server through the router so as to acquire the public key according to request response information returned by the cloud server and acquire the Wi-Fi channel according to the current communication channel.
Further, the Wi-Fi apparatus is further to:
when a probe response returned by any network equipment is not received within a preset time period, connecting the router through a WLAN according to a preset distribution network mode so as to connect the cloud server;
when the connection with the router is successful, sending the private field to the cloud server through the router;
and when a successful response returned by the cloud server is received, confirming that the event is successfully sent.
Further, the cloud server is further configured to, when receiving the private field sent by the Wi-Fi device, decrypt the private field according to the private key to verify validity, and return a corresponding successful response to the Wi-Fi device through the router after the verification passes.
Further, the Wi-Fi device is also used for entering a deep sleep mode and disconnecting the Wi-Fi connection when the Wi-Fi device is awakened in response to the awakening operation of the user.
In order to solve the above technical problem, an embodiment of the present invention further provides an event sending implementation method for a Wi-Fi device, including:
when the Wi-Fi equipment is awakened in response to the awakening operation of the user, sending a probe request on a pre-acquired Wi-Fi channel; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information;
when receiving the probe request, at least one network device extracts the private field in the probe request and sends the private field to a cloud server through a router;
when the cloud server receives the private field sent by any one of the network devices, the private field is decrypted according to a preset private key to verify the validity, and after the verification is passed, a corresponding success response is returned to the corresponding network device through the router;
each network device returns corresponding probe response to the Wi-Fi device when receiving a successful response returned by the cloud server;
and when the Wi-Fi equipment receives the probe response returned by any network equipment, the Wi-Fi equipment confirms that the event is successfully sent.
Further, the method further comprises:
the Wi-Fi equipment is connected with the router through a WLAN according to a preset distribution network mode so as to be connected with the cloud server;
the Wi-Fi equipment sends a secret key obtaining request to the cloud server through the router, so that the public key is obtained according to request response information returned by the cloud server, and the Wi-Fi channel is obtained according to the current communication channel.
Further, the method further comprises:
when the Wi-Fi equipment does not receive the cybersponse returned by any network equipment within a preset time period, the Wi-Fi equipment is connected with the router through a WLAN according to a preset distribution network mode so as to be connected with the cloud server;
the Wi-Fi device sends the private field to the cloud server through the router when the Wi-Fi device is successfully connected with the router;
and when the Wi-Fi equipment receives a successful response returned by the cloud server, the Wi-Fi equipment confirms that the event is successfully sent.
Further, the method further comprises:
and when the cloud server receives the private field sent by the Wi-Fi equipment, the private field is decrypted according to the private key to verify the validity, and a corresponding successful response is returned to the Wi-Fi equipment through the router after the verification is passed.
Further, when the Wi-Fi device is awakened without responding to the awakening operation of the user, the Wi-Fi device enters a deep sleep mode and disconnects the Wi-Fi connection.
Compared with the prior art, the embodiment of the invention provides a system and a method for realizing event sending of Wi-Fi equipment, wherein the Wi-Fi equipment sends a properequest on a pre-acquired Wi-Fi channel when being awakened in response to the awakening operation of a user; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information; when receiving the probe request, at least one network device extracts the private field in the probe request and sends the private field to a cloud server through a router; when the cloud server receives the private field sent by any one of the network devices, the private field is decrypted according to a preset private key to verify the validity, and after the verification is passed, a corresponding success response is returned to the corresponding network device through the router; each network device returns corresponding probe response to the Wi-Fi device when receiving a successful response returned by the cloud server; when the Wi-Fi equipment receives the probe response returned by any network equipment, the Wi-Fi equipment confirms that the event is successfully sent; therefore, the event reporting delay can be shortened, the real-time performance is high, and the application range is wide.
Drawings
FIG. 1 is a schematic structural diagram of a preferred embodiment of an event transmission implementation system of a Wi-Fi device provided by the present invention;
fig. 2 is a flowchart of a preferred embodiment of an event sending implementation method of a Wi-Fi device provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
An embodiment of the present invention provides an event sending implementation system for a Wi-Fi device, and is a schematic structural diagram of a preferred embodiment of the event sending implementation system for the Wi-Fi device, where the system includes a Wi-Fi device, at least one network device, a router, and a cloud server, as shown in fig. 1; the Wi-Fi equipment is used for connecting the router through a WLAN; each network device is connected with the router through a WLAN; the WAN port of the router is connected with the cloud server;
the Wi-Fi equipment is used for sending a probe request on a pre-acquired Wi-Fi channel when responding to the awakening operation of a user and being awakened; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information;
each network device is used for extracting the private field in the probe request when receiving the probe request, and sending the private field to the cloud server through the router;
the cloud server is used for decrypting the private field according to a preset private key to verify the validity when receiving the private field sent by any one of the network devices, and returning a corresponding success response to the corresponding network device through the router after the private field passes the verification;
each network device is used for returning a corresponding probe response to the Wi-Fi device when receiving a successful response returned by the cloud server;
and the Wi-Fi equipment is used for confirming that the event is successfully sent when receiving the probe response returned by any network equipment.
Specifically, the event sending implementation system is composed of a Wi-Fi device, at least one network device (such as network device 1, network device 2, and network device 3 in fig. 1), a router, and a cloud server, where the Wi-Fi device is connected to the router through a WLAN, each network device is connected to the router through a WLAN, and the router is connected to the cloud server through a WAN port.
When an event is actually sent, a Wi-Fi device (such as a Wi-Fi Push Button) firstly responds to a wake-up operation (such as key wake-up, touch wake-up or remote wake-up) of a user to be woken up, and after the Wi-Fi device is woken up, a probe request broadcast frame is sent on a Wi-Fi channel of a router obtained in advance, wherein a private field is added in the probe request broadcast frame, the private field contains corresponding device information and event information representing the wake-up event, and the private field is encrypted by a public key obtained in advance; each network device (which is connected to the router and is in an STA mode) in the network topology extracts a private field in a probe request broadcast frame through parsing when receiving the probe request broadcast frame sent by the Wi-Fi device, and forwards the obtained private field to the cloud server through the router; when receiving the private field sent by each network device, the cloud server decrypts the private field according to a preset private key (which is a key pair with the public key) to verify the validity, and returns a corresponding successful response to the corresponding network device through the router after verifying the validity; each network device sends a corresponding probe response broadcast frame to the Wi-Fi device when receiving a successful response returned by the cloud router; and the Wi-Fi device traverses all channels until receiving a probe response broadcast frame responded by any network device, and confirms that the current wake-up event is successfully sent.
The Wi-Fi equipment and each network equipment do not establish direct Wi-Fi connection, but can identify special probe request broadcast frames and probe response broadcast frames sent by opposite sides, namely the special probe request broadcast frames and the probe response broadcast frames are only transmitted between the Wi-Fi equipment and the network equipment, and the network equipment and the cloud server can communicate through requests and responses of common TCP connection.
The device information specifically includes a deviceid (factory-written device) of the Wi-Fi device, and a current event code (defined in software, for example, 0 indicates a short press, 1 indicates a long press, and 2 indicates a double-click); the event information specifically includes an ID (an event ID generated using a random number) that characterizes the wake-up event.
It can be understood that, since the number of network devices may be more than one, and each network device executes the same workflow, as long as the Wi-Fi device receives a probe response broadcast frame returned by any one of the network devices, it indicates that the event is successfully sent.
Compared with the prior art that a Wi-Fi device needs to be awakened and then sequentially performs a series of actions such as Wi-Fi connection, IP configuration and cloud server connection, so that delay is large, and time consumption is long, the event sending implementation system of the Wi-Fi device provided by the embodiment of the invention completes event reporting to the cloud server from the moment that the Wi-Fi device sends the probe request to the moment that the network device replies is received, so that event reporting delay can be shortened, real-time performance is high, the system can be suitable for occasions with high real-time requirements, and the application range is wide.
In another preferred embodiment, the Wi-Fi device is further configured to pre-acquire the Wi-Fi channel and the public key by:
connecting the router through a WLAN according to a preset distribution network mode so as to connect the cloud server;
and sending a key acquisition request to the cloud server through the router so as to acquire the public key according to request response information returned by the cloud server and acquire the Wi-Fi channel according to the current communication channel.
Specifically, with reference to the foregoing embodiment, the Wi-Fi device is connected to the router through the WLAN according to a preset distribution network mode, so as to establish a connection with the cloud server; after the connection is successful, the Wi-Fi equipment performs account binding, sends a secret key obtaining request to the cloud server through the router, the cloud server returns corresponding request response information to the Wi-Fi equipment through the router according to the received secret key obtaining request, the Wi-Fi equipment obtains a public key (a private key is used by the cloud server) in a secret key pair according to the request response information returned by the cloud server, and records a current communication channel with the router as the Wi-Fi channel.
It should be noted that the distribution network mode may be an onkeying mode of the softap, for example, when the Wi-Fi device is started, the AP is in an AP mode, the App connects to the AP, and notifies the Wi-Fi device of an SSID and a password that need to be connected, so that the Wi-Fi device is connected to the router.
In yet another preferred embodiment, the Wi-Fi apparatus is further configured to:
when a probe response returned by any network equipment is not received within a preset time period, connecting the router through a WLAN according to a preset distribution network mode so as to connect the cloud server;
when the connection with the router is successful, sending the private field to the cloud server through the router;
and when a successful response returned by the cloud server is received, confirming that the event is successfully sent.
Specifically, with reference to the above embodiment, the Wi-Fi device traverses all channels, and if a probe response broadcast frame returned by any one of the network devices is not received within a preset time period, the event is reported according to an event sending method provided in the prior art, the Wi-Fi device connects to the router through the WLAN according to a preset distribution network method to connect to the cloud server (i.e., complete a series of actions such as Wi-Fi connection, IP configuration, and connection to the cloud server), and when the connection with the router is successful, the Wi-Fi device sends a private field to the cloud server through the router, and similarly, the private field includes corresponding device information and event information representing the wake-up event, and the private field is encrypted by a pre-obtained public key; and when a successful response returned by the cloud server is received, the current wake-up event is confirmed to be successfully sent.
The Wi-Fi device and the cloud server can communicate through requests and responses of common TCP connection.
As an improvement of the above scheme, the cloud server is further configured to, when receiving the private field sent by the Wi-Fi device, decrypt the private field according to the private key to verify validity, and return a corresponding successful response to the Wi-Fi device through the router after the verification passes.
It can be understood that, with reference to the foregoing embodiment, when receiving the private field sent by the Wi-Fi device, the cloud server decrypts the received private field according to the preset private key to verify the legitimacy, and returns a corresponding successful response to the Wi-Fi device through the router after verifying the legitimacy.
In yet another preferred embodiment, the Wi-Fi device is further configured to enter a deep sleep mode and disconnect the Wi-Fi connection when awakened in response to a user wake-up operation.
Specifically, with reference to the foregoing embodiment, when the Wi-Fi device receives a wake-up operation of a user, it is woken up, and then executes the event sending process in the foregoing embodiment, and when the Wi-Fi device does not receive the wake-up operation of the user, it is not woken up, and then enters the deep sleep mode, and disconnects the Wi-Fi connection.
It should be noted that, the Wi-Fi device is in the deep sleep state most of the time, and TX/RX of Wi-Fi is completely turned off, so that power consumption can be low.
The embodiment of the present invention further provides an event sending implementation method for a Wi-Fi device, which is applicable to the event sending implementation system for a Wi-Fi device described in any of the above embodiments, and a workflow and an implementation technical effect of the event sending implementation method are respectively the same as a workflow and an implementation technical effect of the event sending implementation system for a Wi-Fi device described in the above embodiments, and are not described herein again.
Referring to fig. 2, it is a flowchart of a preferred embodiment of an event sending implementation method for a Wi-Fi device provided in the present invention, where the method includes steps S11 to S15:
step S11, when the Wi-Fi equipment is awakened in response to the awakening operation of the user, the Wi-Fi equipment sends a probe request on a pre-acquired Wi-Fi channel; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information;
step S12, when at least one network device receives the probe request, extracting the private field in the probe request, and sending the private field to a cloud server through a router;
step S13, when receiving the private field sent by any one of the network devices, the cloud server decrypts the private field according to a preset private key to verify the validity, and returns a corresponding success response to the corresponding network device through the router after the verification is passed;
step S14, when each network device receives a successful response returned by the cloud server, returning a corresponding probe response to the Wi-Fi device;
and step S15, when the Wi-Fi device receives the probe response returned by any network device, confirming that the event is successfully sent.
Preferably, the method further comprises:
the Wi-Fi equipment is connected with the router through a WLAN according to a preset distribution network mode so as to be connected with the cloud server;
the Wi-Fi equipment sends a secret key obtaining request to the cloud server through the router, so that the public key is obtained according to request response information returned by the cloud server, and the Wi-Fi channel is obtained according to the current communication channel.
Preferably, the method further comprises:
when the Wi-Fi equipment does not receive the cybersponse returned by any network equipment within a preset time period, the Wi-Fi equipment is connected with the router through a WLAN according to a preset distribution network mode so as to be connected with the cloud server;
the Wi-Fi device sends the private field to the cloud server through the router when the Wi-Fi device is successfully connected with the router;
and when the Wi-Fi equipment receives a successful response returned by the cloud server, the Wi-Fi equipment confirms that the event is successfully sent.
Preferably, the method further comprises:
and when the cloud server receives the private field sent by the Wi-Fi equipment, the private field is decrypted according to the private key to verify the validity, and a corresponding successful response is returned to the Wi-Fi equipment through the router after the verification is passed.
Preferably, the Wi-Fi device enters a deep sleep mode and disconnects Wi-Fi connection when awakening in response to the user's awakening operation.
To sum up, the system and the method for realizing event sending of the Wi-Fi device provided by the embodiments of the present invention have the following beneficial effects:
(1) the event reporting delay can be shortened, the real-time performance is high, the method can be suitable for occasions with higher real-time requirements, and the application range is wide;
(2) the power consumption is low, and the advantages of high Wi-Fi throughput and the like are kept;
(3) the two points are considered, and other low-power consumption wireless schemes are avoided, so that the cost is reduced.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An event sending implementation system of a Wi-Fi device is characterized by comprising the Wi-Fi device, at least one network device, a router and a cloud server; the Wi-Fi equipment is used for connecting the router through a WLAN; each network device is connected with the router through a WLAN; the WAN port of the router is connected with the cloud server;
the Wi-Fi equipment is used for sending a probe request on a pre-acquired Wi-Fi channel when responding to the awakening operation of a user and being awakened; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information;
each network device is used for extracting the private field in the probe request when receiving the probe request, and sending the private field to the cloud server through the router;
the cloud server is used for decrypting the private field according to a preset private key to verify the validity when receiving the private field sent by any one of the network devices, and returning a corresponding success response to the corresponding network device through the router after the private field passes the verification;
each network device is used for returning a corresponding probe response to the Wi-Fi device when receiving a successful response returned by the cloud server;
and the Wi-Fi equipment is used for confirming that the event is successfully sent when receiving the probe response returned by any network equipment.
2. The Wi-Fi device event-sending implementation system of claim 1, wherein the Wi-Fi device is further configured to pre-fetch the Wi-Fi channel and the public key by:
connecting the router through a WLAN according to a preset distribution network mode so as to connect the cloud server;
and sending a key acquisition request to the cloud server through the router so as to acquire the public key according to request response information returned by the cloud server and acquire the Wi-Fi channel according to the current communication channel.
3. The Wi-Fi apparatus event transmission implementation system of claim 1, wherein the Wi-Fi apparatus is further to:
when a probe response returned by any network equipment is not received within a preset time period, connecting the router through a WLAN according to a preset distribution network mode so as to connect the cloud server;
when the connection with the router is successful, sending the private field to the cloud server through the router;
and when a successful response returned by the cloud server is received, confirming that the event is successfully sent.
4. The event sending implementation system of a Wi-Fi device of claim 3, wherein the cloud server is further configured to, when receiving the private field sent by the Wi-Fi device, decrypt the private field according to the private key to verify validity, and return a corresponding successful response to the Wi-Fi device through the router after the private field passes the verification.
5. The system for realizing event transmission of the Wi-Fi device according to any one of claims 1 to 4, wherein the Wi-Fi device is further configured to enter a deep sleep mode and disconnect a Wi-Fi connection when awakened in response to an awakening operation of a user.
6. An event transmission implementation method of a Wi-Fi device is characterized by comprising the following steps:
when the Wi-Fi equipment is awakened in response to the awakening operation of the user, the Wi-Fi equipment sends a cyberrequest on a Wi-Fi channel acquired in advance; the probe request comprises a private field encrypted by a pre-acquired public key; the private field carries equipment information and event information;
when receiving the probe request, at least one network device extracts the private field in the probe request and sends the private field to a cloud server through a router;
when the cloud server receives the private field sent by any one of the network devices, the private field is decrypted according to a preset private key to verify the validity, and after the verification is passed, a corresponding success response is returned to the corresponding network device through the router;
each network device returns corresponding probe response to the Wi-Fi device when receiving a successful response returned by the cloud server;
and when the Wi-Fi equipment receives the probe response returned by any network equipment, the Wi-Fi equipment confirms that the event is successfully sent.
7. The method for event transmission implementation of a Wi-Fi apparatus of claim 6, wherein the method further comprises:
the Wi-Fi equipment is connected with the router through a WLAN according to a preset distribution network mode so as to be connected with the cloud server;
the Wi-Fi equipment sends a secret key obtaining request to the cloud server through the router, so that the public key is obtained according to request response information returned by the cloud server, and the Wi-Fi channel is obtained according to the current communication channel.
8. The method for event transmission implementation of a Wi-Fi apparatus of claim 6, wherein the method further comprises:
when the Wi-Fi equipment does not receive probe response returned by any network equipment within a preset time period, the Wi-Fi equipment is connected with the router through a WLAN according to a preset distribution network mode so as to be connected with the cloud server;
the Wi-Fi device sends the private field to the cloud server through the router when the Wi-Fi device is successfully connected with the router;
and when the Wi-Fi equipment receives a successful response returned by the cloud server, the Wi-Fi equipment confirms that the event is successfully sent.
9. The method for event transmission implementation of a Wi-Fi apparatus of claim 8, wherein the method further comprises:
and when the cloud server receives the private field sent by the Wi-Fi equipment, the private field is decrypted according to the private key to verify the validity, and a corresponding successful response is returned to the Wi-Fi equipment through the router after the verification is passed.
10. The method for realizing event transmission of the Wi-Fi device according to any one of claims 6 to 9, wherein the Wi-Fi device enters a deep sleep mode and disconnects Wi-Fi connection when awakening without responding to the user's awakening operation.
CN202010492145.3A 2020-06-02 Event sending realization system and method of Wi-Fi equipment CN111885598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010492145.3A CN111885598B (en) 2020-06-02 Event sending realization system and method of Wi-Fi equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010492145.3A CN111885598B (en) 2020-06-02 Event sending realization system and method of Wi-Fi equipment

Publications (2)

Publication Number Publication Date
CN111885598A true CN111885598A (en) 2020-11-03
CN111885598B CN111885598B (en) 2024-05-03

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112512097A (en) * 2020-11-18 2021-03-16 北京小米移动软件有限公司 Information processing method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938811A (en) * 2010-07-29 2011-01-05 中国电信股份有限公司 Keep-alive method of WLAN (Wireless Local Area Network) terminal and AP (Access Point)
CN105050129A (en) * 2015-08-17 2015-11-11 上海庆科信息技术有限公司 Data interaction method and device
JP2015204499A (en) * 2014-04-11 2015-11-16 西日本電信電話株式会社 Communication system, access point device, server device, gateway device, and communication method
US20170003736A1 (en) * 2015-06-30 2017-01-05 Google Inc. Systems and methods for efficiently communicating between low-power devices
US20170094694A1 (en) * 2015-09-30 2017-03-30 Xiaomi Inc. Method, device and system for accessing wireless network
US20180176079A1 (en) * 2015-05-29 2018-06-21 Espressif Systems (Shanghai) Pte. Ltd. Internet of Things Configuration Method and System for Secure Low-Power-Consumption Proxy Device
WO2018152961A1 (en) * 2017-02-22 2018-08-30 华为技术有限公司 Information transmission method and device
CN110809308A (en) * 2019-09-29 2020-02-18 上海商米科技集团股份有限公司 Method and device for automatically connecting IOT device and WIFI router
CN110995665A (en) * 2019-11-15 2020-04-10 北京小米移动软件有限公司 Network distribution method and device, electronic equipment and storage medium
CN111132137A (en) * 2019-09-16 2020-05-08 华为技术有限公司 Wi-Fi connection method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938811A (en) * 2010-07-29 2011-01-05 中国电信股份有限公司 Keep-alive method of WLAN (Wireless Local Area Network) terminal and AP (Access Point)
JP2015204499A (en) * 2014-04-11 2015-11-16 西日本電信電話株式会社 Communication system, access point device, server device, gateway device, and communication method
US20180176079A1 (en) * 2015-05-29 2018-06-21 Espressif Systems (Shanghai) Pte. Ltd. Internet of Things Configuration Method and System for Secure Low-Power-Consumption Proxy Device
US20170003736A1 (en) * 2015-06-30 2017-01-05 Google Inc. Systems and methods for efficiently communicating between low-power devices
CN105050129A (en) * 2015-08-17 2015-11-11 上海庆科信息技术有限公司 Data interaction method and device
US20170094694A1 (en) * 2015-09-30 2017-03-30 Xiaomi Inc. Method, device and system for accessing wireless network
WO2018152961A1 (en) * 2017-02-22 2018-08-30 华为技术有限公司 Information transmission method and device
CN108702705A (en) * 2017-02-22 2018-10-23 华为技术有限公司 A kind of information transferring method and equipment
CN111132137A (en) * 2019-09-16 2020-05-08 华为技术有限公司 Wi-Fi connection method and device
CN110809308A (en) * 2019-09-29 2020-02-18 上海商米科技集团股份有限公司 Method and device for automatically connecting IOT device and WIFI router
CN110995665A (en) * 2019-11-15 2020-04-10 北京小米移动软件有限公司 Network distribution method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANTE DAGELIĆ等: "Location Privacy and Changes in WiFi Probe Request Based Connection Protocols Usage Through Years", 2019 4TH INTERNATIONAL CONFERENCE ON SMART AND SUSTAINABLE TECHNOLOGIES (SPLITECH), 1 August 2019 (2019-08-01) *
李鹏, 王绍棣, 王汝传, 张登银: "携带数字签名的OSPF路由协议安全研究", 南京邮电学院学报, no. 02, 30 June 2005 (2005-06-30) *
陈波: "路由器与网络层安全的研究", 中国优秀硕士学位论文全文数据库, 15 March 2003 (2003-03-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112512097A (en) * 2020-11-18 2021-03-16 北京小米移动软件有限公司 Information processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9467432B2 (en) Method and device for generating local interface key
US11317348B2 (en) Communication apparatus and communication method for low power event monitoring
KR101860440B1 (en) Apparatus, method and system for creating and maintaining multiast data encryption key in machine to machine communication system
CN111565137A (en) System and method for binding WiFi distribution network and equipment
CN104768150B (en) WiFi equipment connects the method and system of hotspot
WO2007107708A3 (en) Establishing communications
CN104137618A (en) Shared network access via a peer-to-peer link
CN107682363B (en) Intelligent household product safety communication method, system and computer readable storage medium
CN103795541B (en) Secure communication method of electricity information acquisition system of 230M wireless private network channel
US20210289353A1 (en) Network access authentication method and device
WO2015085671A1 (en) Wireless network access method and access apparatus
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
WO2022227883A1 (en) Method and apparatus for remote control
CN110784865A (en) Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
WO2012075814A1 (en) Method and system for application key management for mtc group devices
CN111698289A (en) Communication connection control method, client device and server
CN111757274B (en) Data transmission method and system between sensor and electronic device
US20110289562A1 (en) Method for enhancing the security of the multicast or broadcast system
CN108306793B (en) Intelligent device, intelligent home gateway, and method and system for establishing connection
CN106912043A (en) A kind of Wi Fi equipment, distribution method and system
CN103166755B (en) A kind of method and system issuing mobile subscriber identifier digital certificate
CN105099837A (en) Wired general medium networking technology networking method and apparatus for home network
CN111885598B (en) Event sending realization system and method of Wi-Fi equipment
CN111885598A (en) Event sending realization system and method of Wi-Fi equipment
WO2010133073A1 (en) Method for obtaining certificate state information and system for managing certificate state

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