CN113038464A - Information transmission method and equipment - Google Patents
Information transmission method and equipment Download PDFInfo
- Publication number
- CN113038464A CN113038464A CN202110356429.4A CN202110356429A CN113038464A CN 113038464 A CN113038464 A CN 113038464A CN 202110356429 A CN202110356429 A CN 202110356429A CN 113038464 A CN113038464 A CN 113038464A
- Authority
- CN
- China
- Prior art keywords
- information
- intelligent terminal
- access point
- terminal
- module
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/80—Wireless
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses an information transmission method and equipment, wherein the method comprises the following steps: when the intelligent terminal and the Wi-Fi access point establish connection for the first time, the intelligent terminal sends first information to the Wi-Fi access point, wherein the first information comprises registration information used for registering the intelligent terminal equipment; when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event, the intelligent terminal broadcasts second information through a Wi-Fi module contained in the intelligent terminal; the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered.
Description
The application is a divisional application of Chinese patent application with application number 201780015500.4 and invented name of 'an information transmission method and equipment' filed by Chinese patent office in 28/04 in 2017.
Technical Field
The present application relates to the field of communications, and in particular, to an information transmission method and apparatus.
Background
With the rapid development of smart hardware in recent years, smart home concepts are beginning to be recognized by more and more industries and consumers. With the popularization of Wireless Fidelity (Wi-Fi) networks, smart home manufacturers are increasingly adopting low-cost Wi-Fi connectivity as a networking mode for smart devices.
In the prior art, for intelligent household electrical appliances plugged for a long time, the low power consumption is not required generally, and Wi-Fi adopts a long connection mode, so that the problem caused by the scheme is that the intelligent household electrical appliances occupy the connection number of a household wireless router (the wireless router has the limitation of the number of users to be accessed, and the number of users is usually 32 or 64). If the subsequent intelligent hardware is more and more, the connection between the intelligent hardware and the wireless router can be failed.
For intelligent hardware with low power consumption requirement, such as sensor or switch type intelligent hardware, a system sleep mode is usually adopted, and when data transmission is needed, the system is rapidly awakened, and data communication is performed after connection is established. The scheme needs to wake up the system and establish connection with the Wi-Fi network, and brings about the problems of large transmission delay and poor user experience.
Disclosure of Invention
The embodiment of the application provides an information transmission method and equipment, which are used for saving an authentication connection process of a standard Wi-Fi protocol, and an intelligent terminal and a Wi-Fi access point quickly realize a process from a dormant state to completion of information transmission, so that the power consumption is reduced, the information transmission speed is improved, and the user experience is optimized.
A first aspect of an embodiment of the present application provides an information transmission method, including: when the intelligent terminal and the Wi-Fi access point establish connection for the first time, the intelligent terminal sends first information to the Wi-Fi access point, wherein the first information comprises registration information used for registering the intelligent terminal equipment; after an intelligent terminal is disconnected from a Wi-Fi access point, when the intelligent terminal receives a trigger event triggering a reporting event, the intelligent terminal broadcasts second information, wherein the second information comprises intelligent terminal information used for verifying equipment and state indication information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indication information corresponds to the trigger event, and the state indication information is used for the Wi-Fi access point to acquire the state indication information when the Wi-Fi access point determines that the intelligent terminal is registered in the Wi-Fi access point. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
In a possible design, in a first implementation manner of the first aspect of the embodiment of the present application, before the intelligent terminal broadcasts the second information through a Wi-Fi module included in the intelligent terminal, the method further includes: the intelligent terminal encrypts the state indicating information by using an encryption key to obtain the encrypted state indicating information, wherein the encryption key is generated by the Wi-Fi access point when the intelligent terminal and the Wi-Fi access point establish connection for the first time, and after the encryption key is generated, the Wi-Fi access point sends the encrypted state indicating information to the intelligent terminal when the Wi-Fi access point and the intelligent terminal establish connection for the first time. The intelligent terminal in the embodiment of the application can utilize the encryption key to encrypt the state indication information, so that the safety of information transmission is improved.
In a possible design, in a second implementation manner of the first aspect of the embodiment of the present application, before the intelligent terminal broadcasts the second information, the method further includes:
the intelligent terminal can add an extended IE in the second information by modifying the second information to be sent, wherein the added extended IE carries the intelligent terminal information and the state indication information. In the embodiment of the present application, processing of information before sending the second information is described, and specific implementation manners of the present application are enriched.
In a possible design, in a third implementation manner of the first aspect of the embodiment of the present application, before the intelligent terminal broadcasts the second information, the method further includes: if the Wi-Fi module is in a dormant state, the intelligent terminal also needs to wake up the Wi-Fi module contained in the intelligent terminal. According to the embodiment of the application, the intelligent terminal wakes up the Wi-Fi module before using the Wi-Fi module to send information, so that the power consumption of the intelligent terminal can be reduced.
In a possible design, in a third implementation manner of the first aspect of the embodiment of the present application, the second information is a Wi-Fi Prob broadcast frame. The embodiment of the application specifically illustrates the existence form of the second information, and enriches the specific implementation modes of the application.
A second aspect of the embodiments of the present application provides an information transmission method, including: when a Wi-Fi access point and an intelligent terminal establish connection for the first time, the Wi-Fi access point receives first information sent by the intelligent terminal, wherein the first information comprises registration information used for registering of intelligent terminal equipment; when the Wi-Fi access point and the intelligent terminal are disconnected, the Wi-Fi access point receives second information sent by the intelligent terminal, wherein the second information comprises intelligent terminal information and state indication information used for verifying equipment, and when the second information receives a trigger event from the intelligent terminal, the second information is broadcasted through a Wi-Fi module contained in the Wi-Fi access point, wherein the trigger event and the state indication information are corresponding, and the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point according to the received intelligent terminal information; and when the Wi-Fi access point determines that the intelligent terminal is registered, the Wi-Fi access point acquires the state indication information. The intelligent terminal and the Wi-Fi access point in the embodiment of the application can transmit the state indication information without establishing connection, so that the information transmission speed is improved.
In one possible design, in a first implementation manner of the second aspect of the embodiment of the present application, the determining, by the Wi-Fi access point, whether the smart terminal has registered in the Wi-Fi access point according to the received smart terminal information includes: the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point or not by comparing the received intelligent terminal information with the registration information, wherein when the registration information is connected between the Wi-Fi access point and the intelligent terminal for the first time, the intelligent terminal sends the registration information to the Wi-Fi access point. The embodiment of the application specifically illustrates how the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point, and enriches the implementation means of the embodiment of the invention.
In a possible design, in a second implementation manner of the second aspect of the embodiment of the present application, the first information further includes a public key of the smart terminal, the second information further includes a private key of the smart terminal, and before the Wi-Fi access point acquires the status indication information, the method further includes: the Wi-Fi access point verifies a signature according to the received private key and the public key so as to confirm the validity of the intelligent terminal; and when the Wi-Fi access point confirms that the intelligent terminal is registered in the Wi-Fi access point and the validity authentication of the intelligent terminal passes, the Wi-Fi access point acquires the state indication information. In the embodiment of the application, the Wi-Fi access point verifies the signature according to the received private key and the public key of the intelligent terminal recorded before, so that the safety of information transmission is improved.
In one possible design, in a third implementation manner of the second aspect of the embodiment of the present application, when the Wi-Fi access point and the smart terminal establish a connection for the first time, the method further includes: and the Wi-Fi access point randomly generates an encryption key and sends the encryption key to the intelligent terminal, so that the intelligent terminal encrypts the state indicating information to obtain the encrypted state indicating information, wherein the Wi-Fi access point records the encryption key after randomly generating the encryption key. In the embodiment of the application, the Wi-Fi access point also sends an encryption key to the intelligent terminal, so that the information in the information transmission when the connection is disconnected subsequently is encrypted, and the safety of the information transmission is improved.
In a possible design, in a fourth implementation manner of the second aspect of the embodiment of the present application, before the Wi-Fi access point acquires the status indication information, the method further includes: and the Wi-Fi access point confirms that the intelligent terminal is registered in the Wi-Fi access point and decrypts the encrypted state indicating information when the validity of the intelligent terminal is confirmed, so as to obtain the decrypted state indicating information. In the embodiment of the application, the Wi-Fi access point can obtain the decrypted state indicating information only by decrypting the encrypted state indicating information, so that the safety of information transmission is improved.
In a possible design, in a fifth implementation manner of the second aspect of the embodiment of the present application, after the Wi-Fi access point acquires the status indication information, the method further includes: after the Wi-Fi access point acquires the state indicating information, the Wi-Fi access point sends state change information to the user terminal according to the state indicating information, so that the user terminal executes corresponding state change according to the state change information. In the embodiment of the application, after the Wi-Fi access point acquires the state indicating information, the user terminal is notified, so that the user terminal executes corresponding state change, and the operability of the embodiment is enhanced.
A third aspect of the embodiments of the present application provides an intelligent terminal, including:
the terminal comprises a sending unit, a receiving unit and a sending unit, wherein the sending unit is used for sending first information to a Wi-Fi access point when the intelligent terminal and the Wi-Fi access point establish connection for the first time, and the first information comprises registration information used for registering of the intelligent terminal equipment;
the second sending unit is used for broadcasting second information through a Wi-Fi module contained in the second sending unit when the intelligent terminal and the Wi-Fi access point are disconnected;
the second information comprises intelligent terminal information and state indication information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indication information corresponds to the trigger event, and the state indication information is used for the Wi-Fi access point to acquire the state indication information when the Wi-Fi access point determines that the intelligent terminal is registered.
The intelligent terminal and the Wi-Fi access point in the embodiment of the application can transmit the state indication information without establishing connection, so that the information transmission speed is improved.
In a possible design, in a first implementation manner of the third aspect of the embodiment of the present application, the intelligent terminal further includes:
and the encryption unit is used for encrypting the state indication information according to an encryption key to obtain the encrypted state indication information, wherein the encryption key is generated by the Wi-Fi access point when the intelligent terminal and the Wi-Fi access point establish connection for the first time and is sent to the intelligent terminal.
The intelligent terminal in the embodiment of the application can utilize the encryption key to encrypt the state indication information, so that the safety of information transmission is improved.
In a possible design, in a second implementation manner of the third aspect of the embodiment of the present application, the intelligent terminal further includes:
and a modifying unit, configured to modify the second information to add an extended information element IE, so that the extended IE carries the intelligent terminal information and the status indication information.
In the embodiment of the present application, processing of information before sending the second information is described, and specific implementation manners of the present application are enriched.
In a possible design, in a third implementation manner of the third aspect of the embodiment of the present application, the intelligent terminal further includes:
and the awakening unit is used for awakening the Wi-Fi module, the Wi-Fi module is a module contained in the intelligent terminal, and the Wi-Fi module is used for sending the second information.
According to the embodiment of the application, the intelligent terminal wakes up the Wi-Fi module before using the Wi-Fi module to send information, so that the power consumption of the intelligent terminal can be reduced.
In a possible design, in a fourth implementation manner of the third aspect of the embodiment of the present application, the second information is a Wi-Fi Prob broadcast frame.
The embodiment of the application specifically illustrates the existence form of the second information, and enriches the specific implementation modes of the application.
A fourth aspect of embodiments of the present application provides a Wi-Fi access point, including:
the first receiving unit is used for receiving first information sent by the intelligent terminal when the Wi-Fi access point and the intelligent terminal establish connection for the first time, wherein the first information comprises registration information used for registering the intelligent terminal equipment;
the second receiving unit is used for receiving second information sent by the intelligent terminal when the Wi-Fi access point and the intelligent terminal are disconnected, wherein the second information comprises intelligent terminal information and state indication information used for verifying equipment, and when the intelligent terminal receives a trigger event, the second information is broadcasted through a Wi-Fi module contained in the intelligent terminal, and the trigger event corresponds to the state indication information;
a first determining unit, configured to determine whether the smart terminal is registered in the Wi-Fi access point according to the received smart terminal information;
and the acquisition unit is used for acquiring the state indication information when the first determination unit determines that the intelligent terminal is registered.
The intelligent terminal and the Wi-Fi access point in the embodiment of the application can transmit the state indication information without establishing connection, so that the information transmission speed is improved.
In one possible design, in a first implementation manner of the fourth aspect of the embodiment of the present application, the first determining unit further includes:
and the comparison subunit is used for comparing the received intelligent terminal information with the registration information to determine whether the intelligent terminal is registered in the Wi-Fi access point.
The embodiment of the application specifically illustrates how the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point, and enriches the implementation means of the embodiment of the invention.
In a possible design, in a second implementation manner of the fourth aspect of the embodiment of the present application, the Wi-Fi access point further includes:
the second determining unit is used for verifying the signature according to the received private key and the public key and determining the validity of the intelligent terminal;
the acquisition unit includes:
and the obtaining subunit is configured to obtain the status indication information when the Wi-Fi access point confirms that the intelligent terminal is registered and confirms the validity of the intelligent terminal.
In the embodiment of the application, the Wi-Fi access point verifies the signature according to the received private key and the public key of the intelligent terminal recorded before, so that the safety of information transmission is improved.
In a possible design, in a third implementation manner of the fourth aspect of the embodiment of the present application, when the Wi-Fi access point and the smart terminal establish a connection for the first time, the Wi-Fi access point further includes:
a first sending unit, configured to send an encryption key to the smart terminal, so that the smart terminal encrypts the status indication information to obtain encrypted status indication information, where the encryption key is generated by the Wi-Fi access point.
In the embodiment of the application, the Wi-Fi access point also sends an encryption key to the intelligent terminal, so that the information in the information transmission when the connection is disconnected subsequently is encrypted, and the safety of the information transmission is improved.
In a possible design, in a fourth implementation manner of the fourth aspect of the embodiment of the present application, the Wi-Fi access point further includes:
and the decryption unit is used for decrypting the encrypted state indication information according to the encryption key to acquire the decrypted state indication information.
In the embodiment of the application, the Wi-Fi access point can obtain the decrypted state indicating information only by decrypting the encrypted state indicating information, so that the safety of information transmission is improved.
In one possible design, in a fifth implementation manner of the fourth aspect of the embodiment of the present application, the Wi-Fi access point further includes:
and the second sending unit is used for sending state change information to the user terminal according to the state indication information so that the user terminal can carry out corresponding state change according to the state change information.
In the embodiment of the application, after the Wi-Fi access point acquires the state indicating information, the user terminal is notified, so that the user terminal executes corresponding state change, and the operability of the embodiment is enhanced.
A fifth aspect of the embodiments of the present application provides an intelligent terminal, including:
an input device, an output device, a Wi-Fi module, a processor, and a memory;
the processor is used for executing the following steps by calling the operation instruction stored in the memory:
the Wi-Fi module is used for executing the following steps:
when an intelligent terminal and a Wi-Fi access point establish connection for the first time, first information is sent to the Wi-Fi access point, and the first information comprises registration information used for registering of intelligent terminal equipment;
the processor is used for executing the following steps by calling the operation instruction stored in the memory:
when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event, broadcasting second information through a Wi-Fi module of a Wi-Fi module contained in the intelligent terminal;
the second information comprises intelligent terminal information and state indication information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indication information corresponds to the trigger event, and the state indication information is used for the Wi-Fi access point to acquire the state indication information when the Wi-Fi access point determines that the intelligent terminal is registered.
The intelligent terminal and the Wi-Fi access point in the embodiment of the application can transmit the state indication information without establishing connection, so that the information transmission speed is improved.
In one possible design, in a first implementation manner of the fifth aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
and encrypting the state indicating information according to an encryption key to obtain the encrypted state indicating information, wherein the encryption key is generated by the Wi-Fi access point when the intelligent terminal and the Wi-Fi access point establish connection for the first time and is sent to the intelligent terminal.
The intelligent terminal in the embodiment of the application can utilize the encryption key to encrypt the state indication information, so that the safety of information transmission is improved.
In a possible design, in a second implementation manner of the fifth aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
and adding an extended information element IE by modifying the second information, so that the extended IE carries the intelligent terminal information and the state indication information.
In the embodiment of the present application, processing of information before sending the second information is described, and specific implementation manners of the present application are enriched.
In a possible design, in a third implementation manner of the fifth aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
and awakening a Wi-Fi module, wherein the Wi-Fi module is a module contained in the intelligent terminal, and is used for sending the second information.
According to the embodiment of the application, the intelligent terminal wakes up the Wi-Fi module before using the Wi-Fi module to send information, so that the power consumption of the intelligent terminal can be reduced.
In a possible design, in a fourth implementation manner of the fifth aspect of the embodiment of the present application, the second information is a Wi-Fi Prob broadcast frame.
The embodiment of the application specifically illustrates the existence form of the second information, and enriches the specific implementation modes of the application.
A sixth aspect of embodiments of the present application provides a Wi-Fi access point, including:
an input device, an output device, a Wi-Fi module, a processor, and a memory;
the Wi-Fi module is used for executing the following steps:
when the Wi-Fi access point and the intelligent terminal establish connection for the first time, receiving first information sent by the intelligent terminal, wherein the first information comprises registration information used for registering of the intelligent terminal equipment;
when the Wi-Fi access point and the intelligent terminal are disconnected, receiving second information sent by the intelligent terminal, wherein the second information comprises intelligent terminal information and state indication information used for verifying equipment, and when the second information is received by the intelligent terminal and a trigger event is received, the second information is broadcasted through a Wi-Fi module contained in the second information, and the trigger event corresponds to the state indication information;
the processor is used for executing the following steps by calling the operation instruction stored in the memory:
determining whether the intelligent terminal is registered in the Wi-Fi access point or not according to the received intelligent terminal information;
and when the intelligent terminal is determined to be registered, acquiring the state indication information.
The intelligent terminal and the Wi-Fi access point in the embodiment of the application can transmit the state indication information without establishing connection, so that the information transmission speed is improved.
In one possible design, in a first implementation manner of the sixth aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
and comparing the received intelligent terminal information with the registration information to determine whether the intelligent terminal is registered in the Wi-Fi access point.
The embodiment of the application specifically illustrates how the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point, and enriches the implementation means of the embodiment of the invention.
In a possible design, in a second implementation manner of the sixth aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
verifying the signature according to the received private key and the public key, and confirming the validity of the intelligent terminal;
and when the intelligent terminal is confirmed to be registered and the validity of the intelligent terminal is confirmed, the Wi-Fi access point acquires the state indication information.
In the embodiment of the application, the Wi-Fi access point verifies the signature according to the received private key and the public key of the intelligent terminal recorded before, so that the safety of information transmission is improved.
In a possible design, in a third implementation manner of the sixth aspect of the embodiment of the present application, the Wi-Fi module is further configured to perform the following steps, including:
and sending an encryption key to the intelligent terminal so that the intelligent terminal encrypts the state indicating information to obtain the encrypted state indicating information, wherein the encryption key is generated by the Wi-Fi access point.
In the embodiment of the application, the Wi-Fi access point also sends an encryption key to the intelligent terminal, so that the information in the information transmission when the connection is disconnected subsequently is encrypted, and the safety of the information transmission is improved.
In a possible design, in a fourth implementation manner of the sixth aspect of the embodiment of the present application, the Wi-Fi module is further configured to perform steps including:
and sending an encryption key to the intelligent terminal so that the intelligent terminal encrypts the state indicating information to obtain the encrypted state indicating information, wherein the encryption key is generated by the Wi-Fi access point.
In the embodiment of the application, the Wi-Fi access point can obtain the decrypted state indicating information only by decrypting the encrypted state indicating information, so that the safety of information transmission is improved.
In a possible design, in a fifth implementation manner of the sixth aspect of the embodiment of the present application, the processor is further configured to perform the following steps, including:
and decrypting the encrypted state indicating information according to the encryption key to obtain the decrypted state indicating information.
In the embodiment of the application, after the Wi-Fi access point acquires the state indicating information, the user terminal is notified, so that the user terminal executes corresponding state change, and the operability of the embodiment is enhanced.
Yet another aspect of the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
In the technical scheme provided by the embodiment of the application, when the intelligent terminal and the Wi-Fi access point establish connection for the first time, the intelligent terminal sends first information to the Wi-Fi access point, wherein the first information comprises registration information for registering the intelligent terminal equipment; when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event, the intelligent terminal broadcasts second information through a Wi-Fi module contained in the intelligent terminal; the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
Drawings
Fig. 1a is a schematic view of an application scenario in an embodiment of the present application;
FIG. 1b is a diagram illustrating an authentication connection process of a standard Wi-Fi protocol in an embodiment of the present application;
fig. 2 is a schematic diagram of an embodiment of an information transmission method in an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of an intelligent terminal in an embodiment of the present application;
fig. 4 is a schematic diagram of another embodiment of the intelligent terminal in the embodiment of the present application;
FIG. 5 is a schematic diagram of one embodiment of a Wi-Fi access point in an embodiment of the application;
FIG. 6 is a schematic diagram of another embodiment of a Wi-Fi access point in the embodiment of the application;
fig. 7 is a schematic diagram of another embodiment of the intelligent terminal in the embodiment of the present application;
fig. 8 is a schematic diagram of another embodiment of a Wi-Fi access point in the embodiment of the present application.
Detailed Description
The embodiment of the application provides an information transmission method and equipment, which are used for saving an authentication connection process of a standard Wi-Fi protocol, and an intelligent terminal and a Wi-Fi access point quickly realize a process from a dormant state to completion of information transmission, so that the power consumption is reduced, the information transmission speed is improved, and the user experience is optimized.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the present application can be applied to a network structure diagram shown in fig. 1a, and in the prior art, an intelligent terminal and a Wi-Fi access point in the architecture need to establish a connection through an authentication connection process of a standard Wi-Fi protocol before data transmission can be performed.
An authentication connection process of an intelligent terminal and a Wi-Fi access point through a standard Wi-Fi protocol is shown in fig. 1b, the intelligent terminal broadcasts a detection request, the detection request comprises data of the intelligent terminal, after the Wi-Fi access point receives the detection request, a detection response is fed back to the intelligent terminal, after the intelligent terminal receives the detection response, an authentication request is sent to the Wi-Fi access point, the authentication request comprises a public key of the intelligent terminal and the like, after the Wi-Fi access point receives the authentication request, an authentication response is fed back to the intelligent terminal, after the intelligent terminal receives the authentication response, an association request is sent to the Wi-Fi access point, association is requested to be established with the Wi-Fi access point, data interaction is carried out with the Wi-Fi access point, after the Wi-Fi access point receives the association request, an association response is sent to the intelligent terminal, so that the authentication connection process between the intelligent terminal and the Wi-Fi access point is established, and data interaction can be carried out after the intelligent terminal and the Wi-Fi access point are connected.
It should be noted that the Wi-Fi access point may be a device supporting IEEE 802.11 standard, such as a wireless router, a wireless repeater, a wireless network card, a mobile Wi-Fi, and other devices with built-in Wi-Fi modules.
As shown in fig. 2, an embodiment of the present application provides an information transmission method, including the following steps:
201. and the intelligent terminal establishes connection with the Wi-Fi access point.
When the intelligent terminal is connected with the Wi-Fi access point for the first time in the initial state, the intelligent terminal and the Wi-Fi access point are required to be awakened firstly, and then the intelligent terminal and the Wi-Fi access point are connected through the authentication connection process of a standard Wi-Fi protocol.
It should be noted that the main purpose of establishing connection between the intelligent terminal and the Wi-Fi access point in the initial state is that the intelligent terminal completes device registration and service registration at the Wi-Fi access point, so that when the intelligent terminal and the Wi-Fi access point are disconnected, the Wi-Fi access point can confirm the identity of the intelligent terminal according to registration information of the intelligent terminal at the Wi-Fi access point.
It should be noted that the intelligent terminal completes device registration and service registration at the Wi-Fi access point, that is, the intelligent terminal information and the service information of the intelligent terminal need to be recorded at the Wi-Fi access point side, where the service information indicates the type of information transmitted by the intelligent terminal to the Wi-Fi access point.
For example, when a smoke alarm (smart terminal) with a built-in Wi-Fi module is newly installed in a home, the user a first needs to establish a connection between the smoke alarm and a router (Wi-Fi access point) in the home.
202. The intelligent terminal sends first information to the Wi-Fi access point.
When the intelligent terminal is connected with the Wi-Fi access point in an initial state, namely when the intelligent terminal is connected with the Wi-Fi access point for the first time, the intelligent terminal sends first information to the Wi-Fi access point, wherein the first information comprises registration information used for registering intelligent terminal equipment and a public key of the intelligent terminal, the registration information can comprise form information of the intelligent terminal and a hardware address MAC of the intelligent terminal, the public key of the intelligent terminal is used for verifying the identity and the legality of the intelligent terminal through a subsequent Wi-Fi access point, and the form information of the intelligent terminal carries information such as the shape and the size of the intelligent terminal.
203. The Wi-Fi access point records the first information.
And when the Wi-Fi access point receives the first information, recording the first information, and finishing equipment registration and service registration of the intelligent terminal at the Wi-Fi access point, so that the Wi-Fi access point verifies the identity and the validity of the intelligent terminal according to the recorded first information after the intelligent terminal is disconnected with the Wi-Fi access point.
204. And the Wi-Fi access point sends the encryption key to the intelligent terminal.
The Wi-Fi access point can randomly generate an encryption key, the Wi-Fi access point can record the encryption key, then the encryption key is sent to the intelligent terminal, and after the intelligent terminal receives the encryption key, the encryption key is recorded, so that the state indicating information can be encrypted by the encryption key later.
205. And the intelligent terminal is disconnected with the Wi-Fi access point.
When the intelligent terminal and the Wi-Fi access point finish the steps 202 to 204 and no information is transmitted between the intelligent terminal and the Wi-Fi access point, the intelligent terminal and the Wi-Fi access point are disconnected, and the intelligent terminal enters a dormant state.
It should be noted that the smart terminal and the Wi-Fi access point may be automatically disconnected after the smart terminal and/or the Wi-Fi access point detect that the information transmission is completed, and may also be disconnected in other manners, for example, manually disconnected by a user, and a specific disconnection manner is not limited herein.
206. And the intelligent terminal wakes up the Wi-Fi module of the intelligent terminal.
After the intelligent terminal is disconnected from the Wi-Fi access point, when the intelligent terminal senses an event needing to be reported in a detection range and the Wi-Fi module is in a dormant state, the intelligent terminal can awaken the Wi-Fi module contained in the intelligent terminal to send information.
For example, when the user A is not at home, a child at home of the user A plays a fire, smoke generated by combustion exceeds a certain concentration, a smoke alarm installed at home of the user A is triggered, and the smoke alarm can wake up the Wi-Fi module of the smoke alarm.
207. And the intelligent terminal encrypts the state indication information according to the encryption key.
When the intelligent terminal senses an event needing to be reported in the detection range, the intelligent terminal encrypts the state indicating information by using the encryption key stored before to obtain the encrypted state indicating information, wherein the state indicating information corresponds to the sensed event needing to be reported.
For example, if the intelligent terminal is a smoke alarm, when the smoke alarm detects that the smoke concentration in the detection range exceeds a preset value, a reporting event is triggered, and at this time, the reporting event is that the smoke concentration exceeds the preset value.
208. And the intelligent terminal sends second information to the Wi-Fi access point.
After the Wi-Fi module contained in the intelligent terminal is awakened, the intelligent terminal sends second information to the Wi-Fi access point, wherein the second information comprises intelligent terminal information used for verifying equipment, a private key of the intelligent terminal and encrypted state indication information, and the intelligent terminal information comprises form information of the intelligent terminal and MAC of the intelligent terminal.
The second Information may be sent by a Wi-Fi module in the intelligent terminal through a Wi-Fi Prob broadcast frame, where the Wi-Fi Prob broadcast frame carries an Information Element (IE) field, and Information carried in the IE field is the second Information, where before sending the second Information, the intelligent terminal may add an extended Information Element IE by modifying the second Information, so that the extended IE carries intelligent terminal Information and status indication Information, where the modified IE field is a custom IE field, and one form of the custom IE field may be as follows, where the specific form is not limited here:
extension IE Vendor Specific
Element ID:221
Length:3~255
OUI:0x00-0xE0-0xFC
Data:Device Type+Version+Target MAC Address+Signature+Profile Info
·Device Type
Adding Signature field, identity authentication information of intelligent hardware, and using public key to make Signature check by router
Add Profile Info field, carrying Intelligent hardware State information
For example, after the smoke alarm wakes up the Wi-Fi module of the smoke alarm, a Wi-Fi Prob broadcast frame is sent through the Wi-Fi module, the Wi-Fi Prob broadcast frame carries a Wi-Fi AP management frame which modifies a Wi-Fi network, and the management frame carries the intelligent terminal information of the device, the private key of the device and the encrypted status indication information by adding an extended IE.
209. And the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point and verifies the signature according to the received intelligent terminal information.
After the Wi-Fi access point receives second information sent by the intelligent terminal, the Wi-Fi access point compares intelligent terminal information in the obtained second information with registration information recorded when the intelligent terminal is connected with the Wi-Fi access point before, so as to determine the identity of the intelligent terminal, and checks and signs according to a private key in the obtained second information and a public key recorded when the intelligent terminal is connected with the Wi-Fi access point before, so as to confirm the validity of the intelligent hardware.
It should be noted that, when the Wi-Fi access point determines that the intelligent terminal is not registered at the Wi-Fi access point according to the received intelligent terminal information, the Wi-Fi access point does not acquire the status indication information in the second information; and when the Wi-Fi access point determines that the intelligent terminal is registered at the Wi-Fi access point terminal according to the received intelligent terminal information, but the verification signature does not pass, the Wi-Fi access point does not acquire the state indication information in the second information.
For example, when the router mentioned in step 201 performs authentication on the smoke alarm through the received intelligent terminal information and the previously stored registration information of the smoke alarm, and performs verification signature according to the stored public key and the received private key, the validity of the smoke alarm is confirmed.
210. And the Wi-Fi access point decrypts the encrypted state indication information according to the encryption key.
And after the Wi-Fi access point receives the second information containing the encrypted state indicating information, the Wi-Fi access point confirms that the intelligent terminal is registered at the Wi-Fi access point, verifies the signature, and passes the validity authentication, the encrypted state indicating information is decrypted according to an encryption key generated when the Wi-Fi access point establishes connection with the intelligent terminal, and the decrypted state indicating information is obtained.
For example, after the router confirms the identity and the validity of the smoke alarm, the encrypted status indication information is decrypted by using the stored encryption key, and the status indication information is read.
211. And the Wi-Fi access point sends state change information to the user terminal according to the state indication information.
And after the Wi-Fi access point acquires the decrypted state indicating information, state change information is sent to the user terminal according to the state indicating information, so that the user terminal executes corresponding state change according to the state change information.
For example, after the router reads the decrypted status indication information, the router notifies a mobile phone carried by the user a according to the status indication information, and the mobile phone sends an alarm to prompt the user a that the smoke in the home exceeds a certain concentration.
According to the embodiment of the application, when the intelligent terminal and the Wi-Fi access point establish connection for the first time, the intelligent terminal sends first information to the Wi-Fi access point, wherein the first information comprises registration information for registering the intelligent terminal equipment; when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event, the intelligent terminal broadcasts second information through a Wi-Fi module contained in the intelligent terminal; the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
The above describes the information transmission method in the embodiment of the present invention, and the following describes an intelligent terminal in the embodiment of the present invention, with reference to fig. 3, the intelligent terminal in the embodiment of the present invention includes:
a first sending unit 301, configured to send first information to a Wi-Fi access point when a connection is established between an intelligent terminal and the Wi-Fi access point for the first time, where the first information includes registration information used for registration of an intelligent terminal device;
a second sending unit 302, configured to broadcast second information when the smart terminal and the Wi-Fi access point are disconnected and the smart terminal receives a trigger event;
the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered.
In the technical scheme provided by the embodiment of the application, when the intelligent terminal and the Wi-Fi access point establish connection for the first time, the first sending unit 301 sends first information to the Wi-Fi access point, wherein the first information comprises registration information for registering the intelligent terminal device; when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event, the second sending unit 302 sends second information; the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
Referring to fig. 4, another embodiment of the intelligent terminal in the embodiment of the present application includes:
a first sending unit 401, configured to send first information to a Wi-Fi access point when a connection is established between an intelligent terminal and the Wi-Fi access point for the first time, where the first information includes registration information used for registration of an intelligent terminal device;
and the encryption unit 402 is configured to encrypt the status indication information according to an encryption key to obtain encrypted status indication information, where the encryption key is generated by the Wi-Fi access point when the intelligent terminal and the Wi-Fi access point establish connection for the first time, and is sent to the intelligent terminal.
And the waking unit 403 is configured to wake up the Wi-Fi module, where the Wi-Fi module is a module included in the intelligent terminal, and the Wi-Fi module is configured to send the second information.
A modifying unit 404, configured to add an extended information element IE by modifying the second information, so that the extended IE carries the intelligent terminal information and the status indication information.
A second sending unit 405, configured to broadcast second information through a Wi-Fi module included in the intelligent terminal when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event;
the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered.
In the technical scheme provided by the embodiment of the application, when the intelligent terminal and the Wi-Fi access point establish connection for the first time, the first sending unit 401 sends first information to the Wi-Fi access point, wherein the first information comprises registration information for registering the intelligent terminal device; when the intelligent terminal and the Wi-Fi access point are disconnected and the intelligent terminal receives a trigger event, the second sending unit 405 broadcasts second information through a Wi-Fi module contained in the intelligent terminal; the second information comprises intelligent terminal information and state indicating information, the intelligent terminal information is used for the Wi-Fi access point to determine whether the intelligent terminal is registered in the Wi-Fi access point, the state indicating information corresponds to the trigger event, and the state indicating information is used for the Wi-Fi access point to acquire the state indicating information when the Wi-Fi access point determines that the intelligent terminal is registered. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
As described above for the intelligent terminal in the embodiment of the present invention, the Wi-Fi access point in the embodiment of the present invention is described below with reference to fig. 5, where the Wi-Fi access point in the embodiment of the present invention includes:
a first receiving unit 501, configured to receive first information sent by an intelligent terminal when a Wi-Fi access point and the intelligent terminal establish a connection for the first time, where the first information includes registration information for registering an intelligent terminal device;
a second receiving unit 502, configured to receive second information sent by the intelligent terminal when the Wi-Fi access point and the intelligent terminal are disconnected, where the second information includes intelligent terminal information and status indication information used for verifying the device, and when the second information receives a trigger event from the intelligent terminal, the second receiving unit wakes up a Wi-Fi module included in the second receiving unit and broadcasts the trigger event through the Wi-Fi module, where the trigger event corresponds to the status indication information;
a first determining unit 503, configured to determine whether the smart terminal is registered in the Wi-Fi access point according to the received smart terminal information;
an obtaining unit 504, configured to obtain the status indication information when the determining unit determines that the smart terminal is registered.
In the technical scheme provided by the embodiment of the application, when the Wi-Fi access point and the intelligent terminal establish connection for the first time, the first receiving unit 501 receives first information sent by the intelligent terminal, wherein the first information comprises registration information for registering the intelligent terminal device; when the Wi-Fi access point and the intelligent terminal are disconnected, the second receiving unit 502 receives second information sent by the intelligent terminal, the second information includes intelligent terminal information and state indication information used for verifying equipment, and when the intelligent terminal receives a trigger event, the second information is broadcasted through a Wi-Fi module included in the intelligent terminal, and the trigger event corresponds to the state indication information; the first determination unit 503 determines whether the smart terminal is registered in the Wi-Fi access point according to the received smart terminal information; when the determination unit determines that the smart terminal is registered, the acquisition unit 504 acquires status indication information. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
Referring to fig. 6, another embodiment of a Wi-Fi access point in the embodiment of the present application includes:
a first receiving unit 601, configured to receive first information sent by an intelligent terminal when a Wi-Fi access point and the intelligent terminal establish a connection for the first time, where the first information includes registration information for registering an intelligent terminal device;
a first sending unit 602, configured to send an encryption key to the smart terminal, so that the smart terminal encrypts the status indication information to obtain encrypted status indication information, where the encryption key is generated by the Wi-Fi access point;
the second receiving unit 603 is configured to receive second information sent by the intelligent terminal when the Wi-Fi access point and the intelligent terminal are disconnected, where the second information includes intelligent terminal information and status indication information used for verifying the device, and when the second information receives a trigger event from the intelligent terminal, the second receiving unit wakes up a Wi-Fi module included in the second receiving unit and broadcasts the trigger event through the Wi-Fi module, and the trigger event corresponds to the status indication information;
a first determining unit 604, configured to determine whether the smart terminal is registered in the Wi-Fi access point according to the received smart terminal information;
wherein, the first determining unit 604 further comprises:
a comparison subunit 6041, configured to compare the received intelligent terminal information with the registration information, and determine whether the intelligent terminal is registered in the Wi-Fi access point;
a second determining unit 605, configured to verify the signature according to the received private key and public key, and determine validity of the intelligent terminal;
the decrypting unit 606 is configured to decrypt the encrypted status indication information according to the encryption key, and obtain the decrypted status indication information.
An obtaining unit 607, configured to obtain the status indication information when the determining unit determines that the intelligent terminal is registered;
wherein the obtaining unit 607 includes:
an obtaining sub-unit 6071, configured to obtain the status indication information when the Wi-Fi access point confirms that the smart terminal is registered and confirms the validity of the smart terminal.
A second sending unit 608, configured to send the state change information to the ue according to the state indication information, so that the ue performs corresponding state change according to the state change information.
In the technical scheme provided by the embodiment of the application, when the Wi-Fi access point and the intelligent terminal establish connection for the first time, the first receiving unit 601 receives first information sent by the intelligent terminal, wherein the first information comprises registration information for registering the intelligent terminal device; when the Wi-Fi access point and the intelligent terminal are disconnected, the second receiving unit 603 receives second information sent by the intelligent terminal, the second information comprises intelligent terminal information and state indication information used for verifying equipment, and when the intelligent terminal receives a trigger event, the second information is broadcasted through a Wi-Fi module contained in the intelligent terminal, and the trigger event corresponds to the state indication information; the first determining unit 504 determines whether the smart terminal is registered in the Wi-Fi access point according to the received smart terminal information; when the determination unit determines that the smart terminal is registered, the acquisition unit 607 acquires the status indication information. When the intelligent terminal and the Wi-Fi access point are disconnected and information transmission is carried out again, the authentication connection process of a standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
Referring to fig. 7, another embodiment of the intelligent terminal in the embodiment of the present application includes:
fig. 7 is a schematic structural diagram of an intelligent terminal 700 according to an embodiment of the present invention, where the intelligent terminal 700 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 722 (e.g., one or more processors) and a memory 732, and one or more storage media 730 (e.g., one or more mass storage devices) for storing applications 742 or data 744. Memory 732 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 730 may include one or more modules (not shown), and each module may include a series of instructions for operating the smart terminal. Further, the central processor 722 may be configured to communicate with the storage medium 730, and execute a series of instruction operations in the storage medium 730 on the smart terminal 700.
The smart terminal 700 may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input-output interfaces 758, and/or one or more operating systems 741, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The storage medium 730 in the above embodiments may be any available medium capable of being stored by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The steps performed by the intelligent terminal in the above embodiment may be based on the intelligent terminal structure shown in fig. 7.
Referring to fig. 8, another embodiment of a Wi-Fi access point in the embodiment of the present application includes:
fig. 8 is a schematic diagram of a Wi-Fi access point structure provided by an embodiment of the present invention, where the Wi-Fi access point 800 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 822 (e.g., one or more processors) and a memory 832, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 842 or data 844. Memory 832 and storage medium 830 may be, among other things, transient or persistent storage. The program stored on the storage medium 830 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a Wi-Fi access point. Still further, the central processor 822 may be configured to communicate with the storage medium 830 to execute a series of instructional operations on the storage medium 830 on the Wi-Fi access point 800.
Wi-Fi access point 800 can also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input-output interfaces 858, and/or one or more operating systems 841, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The steps performed by the Wi-Fi access point in the above embodiments may be based on the Wi-Fi access point structure shown in fig. 8.
The storage medium 830 in the above embodiments may be any available medium that can be stored by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Claims (18)
1. An information transmission system is characterized by comprising an intelligent terminal, a Wi-Fi access point and a user terminal;
the intelligent terminal is used for:
when the intelligent terminal is connected with the Wi-Fi access point, first information is sent to the Wi-Fi access point, wherein the first information comprises registration information of the intelligent terminal;
after the first information is sent to the Wi-Fi access point, when the intelligent terminal and the Wi-Fi access point are disconnected and a trigger event when a value detected in a detection range exceeds a preset value is received, a Wi-Fi module is awakened, and the Wi-Fi module is contained in the intelligent terminal;
sending second information to the Wi-Fi access point through the Wi-Fi module, wherein the second information comprises state indication information corresponding to the trigger event;
the Wi-Fi access point is configured to:
when the intelligent terminal and the Wi-Fi access point are disconnected, receiving the second information sent by the intelligent terminal through the Wi-Fi module;
sending state change information to the user terminal according to the state indication information included in the second information;
and the user terminal is used for generating alarm information according to the state change information so as to prompt the intelligent terminal to generate the trigger event.
2. The information transmission system according to claim 1, wherein the second information further includes smart terminal information for authenticating a device;
the Wi-Fi access point is configured to:
determining whether the intelligent terminal is registered in the Wi-Fi access point or not according to the intelligent terminal information;
and when the intelligent terminal is determined to be registered in the Wi-Fi access point according to the intelligent terminal information, sending state change information to the user terminal according to the state indication information.
3. The information transmission system of claim 2, wherein the Wi-Fi access point is further configured to compare the smart terminal information with the registration information to determine whether the smart terminal is registered with the Wi-Fi access point.
4. The information transmission system according to claim 2 or 3, wherein the first information further includes a public key of the smart terminal, the second information further includes a private key of the smart terminal, and the Wi-Fi access point is further configured to:
before the second information sent by the intelligent terminal through the Wi-Fi module is received, verifying a signature according to a private key of the intelligent terminal and a public key of the intelligent terminal, and confirming the validity of the intelligent terminal;
and receiving the second information and acquiring the state indication information from the second information when the intelligent terminal is confirmed to be registered and the validity of the intelligent terminal is confirmed.
5. The information transmission system of any of claims 1-4, wherein the Wi-Fi access point is further configured to:
when the intelligent terminal establishes connection with the Wi-Fi access point, an encryption key is generated;
sending the encryption key to the intelligent terminal;
and the intelligent terminal is further used for encrypting the state indication information according to the encryption key to obtain the encrypted state indication information.
6. The information transmission system according to claim 5, wherein the Wi-Fi access point is further configured to decode the encrypted status indication information according to the encryption key to obtain the decrypted status indication information.
7. The information transmission system according to claim 2, wherein the smart terminal is further configured to add an extended information element IE by modifying the second information before sending the second information to the Wi-Fi access point through the Wi-Fi module, so that the extended IE carries the smart terminal information and the status indication information.
8. The information transmission system according to any one of claims 1 to 7, wherein the second information is a Wi-Fi Prob broadcast frame.
9. The information transmission method is characterized by being applied to an information transmission system, wherein the information transmission system comprises an intelligent terminal, a Wi-Fi access point and a user terminal;
when the intelligent terminal is connected with the Wi-Fi access point, the intelligent terminal sends first information to the Wi-Fi access point, wherein the first information comprises registration information of the intelligent terminal;
after the intelligent terminal sends the first information to the Wi-Fi access point, the intelligent terminal is disconnected from the Wi-Fi access point, and a Wi-Fi module is awakened when a trigger event that the value detected in a detection range exceeds a preset value is received, wherein the Wi-Fi module is contained in the intelligent terminal;
the intelligent terminal sends second information to the Wi-Fi access point through the Wi-Fi module, wherein the second information comprises state indication information corresponding to the trigger event;
when the intelligent terminal and the Wi-Fi access point are disconnected, the Wi-Fi access point receives the second information sent by the intelligent terminal through the Wi-Fi module;
the Wi-Fi access point sends state change information to the user terminal according to the state indication information included in the second information;
and the user terminal generates alarm information according to the state change information so as to prompt the intelligent terminal to generate the trigger event.
10. The information transmission method according to claim 9, wherein the second information further includes smart terminal information for authenticating a device; the information transmission method further comprises:
the Wi-Fi access point determines whether the intelligent terminal is registered in the Wi-Fi access point or not according to the intelligent terminal information;
the Wi-Fi access point sending state change information to the user terminal according to the state indication information included in the second information, including:
and when the intelligent terminal is determined to be registered in the Wi-Fi access point according to the intelligent terminal information, the Wi-Fi access point sends state change information to the user terminal according to the state indication information.
11. The information transmission method according to claim 10, wherein the Wi-Fi access point determining whether the smart terminal is registered with the Wi-Fi access point according to the smart terminal information includes:
and the Wi-Fi access point compares the intelligent terminal information with the registration information to determine whether the intelligent terminal is registered in the Wi-Fi access point.
12. The information transmission method according to claim 10 or 11, wherein the first information further includes a public key of the smart terminal, and the second information further includes a private key of the smart terminal, the information transmission method further comprising:
before the Wi-Fi access point receives the second information sent by the intelligent terminal through the Wi-Fi module, verifying a signature according to a private key of the intelligent terminal and a public key of the intelligent terminal, and confirming the validity of the intelligent terminal;
correspondingly, the receiving, by the Wi-Fi access point, the second information sent by the intelligent terminal through the Wi-Fi module includes:
and when the Wi-Fi access point confirms that the intelligent terminal is registered and confirms the validity of the intelligent terminal, the Wi-Fi access point receives the second information sent by the intelligent terminal through the Wi-Fi module and acquires the state indication information from the second information.
13. The information transmission method according to any one of claims 9 to 12, characterized in that the information transmission method further comprises:
the Wi-Fi access point generates an encryption key when the intelligent terminal is connected with the Wi-Fi access point;
the Wi-Fi access point sends the encryption key to the intelligent terminal;
and the intelligent terminal encrypts the state indicating information according to the encryption key to obtain the encrypted state indicating information.
14. The information transmission method according to claim 13, characterized in that the information transmission method further comprises:
and the Wi-Fi access point decodes the encrypted state indication information according to the encryption key to obtain the decrypted state indication information.
15. The information transmission method according to claim 10, characterized in that the information transmission method further comprises:
before the intelligent terminal sends second information to the Wi-Fi access point through the Wi-Fi module, an extended information element IE is added through modifying the second information, so that the extended IE carries the intelligent terminal information and the state indication information.
16. The information transmission method according to any one of claims 9 to 15, wherein the second information is a Wi-Fi Prob broadcast frame.
17. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 9 to 16.
18. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 9 to 16.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2017100971108 | 2017-02-22 | ||
CN201710097110 | 2017-02-22 | ||
PCT/CN2017/082382 WO2018152961A1 (en) | 2017-02-22 | 2017-04-28 | Information transmission method and device |
CN201780015500.4A CN108702705B (en) | 2017-02-22 | 2017-04-28 | Information transmission method and equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780015500.4A Division CN108702705B (en) | 2017-02-22 | 2017-04-28 | Information transmission method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113038464A true CN113038464A (en) | 2021-06-25 |
CN113038464B CN113038464B (en) | 2022-06-10 |
Family
ID=63253479
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780015500.4A Active CN108702705B (en) | 2017-02-22 | 2017-04-28 | Information transmission method and equipment |
CN202110356429.4A Active CN113038464B (en) | 2017-02-22 | 2017-04-28 | Information transmission method and equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780015500.4A Active CN108702705B (en) | 2017-02-22 | 2017-04-28 | Information transmission method and equipment |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN108702705B (en) |
WO (1) | WO2018152961A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111885598B (en) * | 2020-06-02 | 2024-05-03 | 普联国际有限公司 | Event sending realization system and method of Wi-Fi equipment |
CN111669818B (en) * | 2020-06-03 | 2022-08-02 | 维沃移动通信有限公司 | Wi-Fi control method and device and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716855A (en) * | 2013-12-31 | 2014-04-09 | 乐视致新电子科技(天津)有限公司 | Data transmission method of wireless workstation of intelligent television |
WO2014063331A1 (en) * | 2012-10-25 | 2014-05-01 | 华为终端有限公司 | Near field communication method and near field communications device |
CN104125605A (en) * | 2014-08-06 | 2014-10-29 | 广东欧珀移动通信有限公司 | Implementing method and device for request of building WIFI connection |
CN104640181A (en) * | 2013-11-11 | 2015-05-20 | 奥普林克通信公司 | Security system device power management |
US20150208454A1 (en) * | 2014-01-23 | 2015-07-23 | Samsung Electronics Co., Ltd. | Method and apparatus for discovering device based on location information |
CN105763517A (en) * | 2014-12-17 | 2016-07-13 | 联芯科技有限公司 | Router security access and control method and system |
CN105898892A (en) * | 2016-05-04 | 2016-08-24 | 杭州古北电子科技有限公司 | Method of using wifi probe request and response packet to realize rapid communication |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100596084C (en) * | 2006-04-20 | 2010-03-24 | 华为技术有限公司 | Method for accessing IMS network to mobile circuit domain user and its registering method |
EP1901192A1 (en) * | 2006-09-14 | 2008-03-19 | British Telecommunications Public Limited Company | Mobile application registration |
CN102523213B (en) * | 2011-12-13 | 2014-09-17 | 华为终端有限公司 | Server and terminal authenticating method and server and terminal |
CN102547972A (en) * | 2011-12-23 | 2012-07-04 | 华为终端有限公司 | Method, equipment and system for registering intelligent home appliance |
CN103533606A (en) * | 2012-07-06 | 2014-01-22 | 华为技术有限公司 | Information transmission method of wireless local-area network, terminal and access device |
CN103781153A (en) * | 2012-10-23 | 2014-05-07 | 华为技术有限公司 | Definition method of element field and device |
CN105049442B (en) * | 2015-08-11 | 2018-06-15 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method for switching network and terminal |
CN105871910B (en) * | 2016-05-31 | 2020-01-10 | 宇龙计算机通信科技(深圳)有限公司 | eSIM joint registration method and related equipment and system |
-
2017
- 2017-04-28 CN CN201780015500.4A patent/CN108702705B/en active Active
- 2017-04-28 CN CN202110356429.4A patent/CN113038464B/en active Active
- 2017-04-28 WO PCT/CN2017/082382 patent/WO2018152961A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014063331A1 (en) * | 2012-10-25 | 2014-05-01 | 华为终端有限公司 | Near field communication method and near field communications device |
CN104640181A (en) * | 2013-11-11 | 2015-05-20 | 奥普林克通信公司 | Security system device power management |
CN103716855A (en) * | 2013-12-31 | 2014-04-09 | 乐视致新电子科技(天津)有限公司 | Data transmission method of wireless workstation of intelligent television |
US20150208454A1 (en) * | 2014-01-23 | 2015-07-23 | Samsung Electronics Co., Ltd. | Method and apparatus for discovering device based on location information |
CN104125605A (en) * | 2014-08-06 | 2014-10-29 | 广东欧珀移动通信有限公司 | Implementing method and device for request of building WIFI connection |
CN105763517A (en) * | 2014-12-17 | 2016-07-13 | 联芯科技有限公司 | Router security access and control method and system |
CN105898892A (en) * | 2016-05-04 | 2016-08-24 | 杭州古北电子科技有限公司 | Method of using wifi probe request and response packet to realize rapid communication |
Also Published As
Publication number | Publication date |
---|---|
CN108702705B (en) | 2021-04-09 |
WO2018152961A1 (en) | 2018-08-30 |
CN113038464B (en) | 2022-06-10 |
CN108702705A (en) | 2018-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6386069B2 (en) | Connection management method, apparatus, electronic equipment, program, and recording medium | |
US8594632B1 (en) | Device to-device (D2D) discovery without authenticating through cloud | |
US9882915B2 (en) | Device control method, device control system | |
US9032493B2 (en) | Connecting mobile devices, internet-connected vehicles, and cloud services | |
CN113099443B (en) | Equipment authentication method, device, equipment and system | |
WO2018000834A1 (en) | Wifi hotspot information modification method and device | |
CN109525989B (en) | Data processing and identity authentication method and system, and terminal | |
CN106332085B (en) | Configuration method of WIFI network of Internet of things, Internet of things terminal and routing terminal | |
KR101743195B1 (en) | Method and apparatus for providing information, program and recording medium | |
US20130024685A1 (en) | Provisioning credentials for embedded wireless devices | |
WO2016053909A1 (en) | Bluetooth low energy hostless private address resolution | |
CN112136333A (en) | Device pairing system and method, and device communication control system and method | |
WO2013182154A1 (en) | Method, system and terminal for encrypting/decrypting application program on communication terminal | |
WO2011106956A1 (en) | Mobile terminal and a data-share method for the mobile terminal | |
TW201401897A (en) | Wireless network client-authentication system and wireless network connection method thereof | |
WO2021138217A1 (en) | Method, chip, device and system for authenticating a set of at least two users | |
CN106658488B (en) | Intelligent household appliance and method and device for safely accessing intelligent household appliance | |
CN113038464B (en) | Information transmission method and equipment | |
EP3833153B1 (en) | Network connection methods and devices | |
KR20190026058A (en) | A method of replacing at least one authentication parameter for authenticating a security element and corresponding security element | |
EP2907330B1 (en) | Method and apparatus for disabling algorithms in a device | |
KR101502999B1 (en) | Authentication system and method using one time password | |
CN107846390B (en) | Authentication method and device for application program | |
US20140357227A1 (en) | Smart phone server sleeve | |
CN111770488B (en) | EHPLMN updating method, related equipment and storage medium |
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 |