WO2018152961A1 - Information transmission method and device - Google Patents
Information transmission method and device Download PDFInfo
- Publication number
- WO2018152961A1 WO2018152961A1 PCT/CN2017/082382 CN2017082382W WO2018152961A1 WO 2018152961 A1 WO2018152961 A1 WO 2018152961A1 CN 2017082382 W CN2017082382 W CN 2017082382W WO 2018152961 A1 WO2018152961 A1 WO 2018152961A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- smart terminal
- information
- access point
- status indication
- indication information
- 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.)
- Ceased
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. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] 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
Definitions
- the present application relates to the field of communications, and in particular, to an information transmission method and device.
- Wi-Fi Wireless Fidelity
- Wi-Fi adopts a long connection mode.
- the problem brought by such a scheme is that smart home appliances occupy the number of connections of the home wireless router. (Wireless routers have a limit on the number of access users, usually 32 or 64 users). If more and more intelligent hardware is followed, it may cause the connection between the intelligent hardware and the wireless router to fail.
- the system sleep mode is usually adopted.
- the system wakes up quickly and establishes a connection before data communication.
- Such a solution requires system wake-up and connection with a Wi-Fi network, and the problem is that the transmission delay is large and the user experience is not good.
- the embodiment of the present application provides an information transmission method and device, which are used to save the authentication connection process of the standard Wi-Fi protocol, and the intelligent terminal and the Wi-Fi access point quickly implement the process from the sleep state to the information transmission completion. Reduce power consumption, increase the speed of information transmission, and optimize the user experience.
- a first aspect of the embodiments of the present application provides an information transmission method, including: when a smart terminal and a Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to a Wi-Fi access point.
- the first information includes registration information for the smart terminal device registration; after the smart terminal and the Wi-Fi access point are disconnected, when the smart terminal receives a trigger event that triggers a report event, the The smart terminal broadcasts the second information, where the second information includes smart terminal information and status indication information for the verification device, where the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has Registered in the Wi-Fi access point, the status indication information corresponds to the trigger event, and the status indication information is used when the Wi-Fi access point determines that the smart terminal is already in the When the Wi-Fi access point is registered, the Wi-Fi access point acquires the status indication information.
- the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the
- the method before the smart terminal broadcasts the second information by using the Wi-Fi module included in the smart terminal, the method further includes: The terminal performs encryption processing on the status indication information by using an encryption key to obtain encrypted status indication information, where the encryption key Is generated by the Wi-Fi access point when the smart terminal and the Wi-Fi access point establish a connection for the first time, after the encryption key is generated, by the Wi-Fi access point The Wi-Fi access point and the smart terminal are sent to the smart terminal when establishing a connection for the first time.
- the intelligent terminal in the embodiment of the present application encrypts the status indication information by using an encryption key, thereby improving the security of information transmission.
- the method further includes: before the smart terminal broadcasts the second information, the method further includes:
- the smart terminal may modify the extended IE in the second information by modifying the second information to be sent, where the added extended IE carries the smart terminal information and the status indication information.
- the processing of the information before the second information is sent is described, which enriches the specific implementation manner of the application.
- the method before the smart terminal broadcasts the second information, the method further includes: if the Wi-Fi module is in a dormant state, The smart terminal also needs to wake up the smart terminal from the Wi-Fi module included in the smart terminal. In the embodiment of the present application, the smart terminal wakes up the Wi-Fi module before sending the information by using the Wi-Fi module, so that the power consumption of the smart terminal can be reduced.
- the second information is a Wi-Fi Prob broadcast frame.
- the embodiment of the present application specifically describes the existence form of the second information, which enriches the specific implementation manner of the present 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 a connection for the first time, the Wi-Fi access point receives the smart terminal to send First information, wherein the first information includes registration information for smart terminal device registration; after the Wi-Fi access point and the smart terminal are disconnected, the Wi-Fi access point Receiving second information sent by the smart terminal, where the second information includes smart terminal information and status indication information for verifying the device, and the second information is received by the smart terminal when the trigger event is received Broadcasting by the Wi-Fi module included in the self, wherein the trigger event and the status indication information are corresponding, and the Wi-Fi access point determines the smart according to the received smart terminal information.
- the Wi-Fi access point acquires the status indication information .
- the intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
- the Wi-Fi access point determines, according to the received smart terminal information, whether the smart terminal is already in the
- the registration in the Wi-Fi access point includes: the Wi-Fi access point compares the received smart terminal information and the registration information to determine whether the smart terminal is registered in the Wi-Fi access point, wherein the registration information
- the smart terminal sends the message to the Wi-Fi access point.
- the embodiment of the present application specifically describes how the Wi-Fi access point determines whether the smart terminal has been registered in the Wi-Fi access point, which enriches the implementation means of the embodiment of the present invention.
- the first information further includes a public key of the smart terminal
- the second information further includes the smart terminal
- the private key before the Wi-Fi access point acquires the status indication information, the method further includes: the Wi-Fi access point verifying the signature according to the received private key and the public key, to confirm Legitimacy of the smart terminal; when the Wi-Fi access point confirms the smart terminal
- the Wi-Fi access point acquires the status indication information when it has been registered in the Wi-Fi access point and the legality authentication of the smart terminal passes.
- the Wi-Fi access point verifies the signature according to the received private key and the public key of the previously recorded smart terminal, thereby increasing the security of information transmission.
- the method further includes: the Wi - The Fi access point randomly generates an encryption key, and sends the encryption key to the smart terminal, so that the smart terminal encrypts the status indication information to obtain encrypted status indication information, where Wi-Fi is connected.
- the encryption key is also recorded after the entry point randomly generates an encryption key.
- the Wi-Fi access point also sends an encryption key to the intelligent terminal to encrypt information in the information transmission during subsequent disconnection, thereby increasing the security of information transmission.
- the method before the Wi-Fi access point acquires the status indication information, the method further includes: a Wi-Fi access point After confirming that the smart terminal has been registered in the Wi-Fi access point and confirming the legitimacy of the smart terminal, the Wi-Fi access point decrypts the encrypted status indication information and obtains the decrypted status indication information. In the embodiment of the present application, the Wi-Fi access point needs to decrypt the encrypted status indication information to obtain the decrypted status indication information, which increases the security of the information transmission.
- the method further includes: when Wi-Fi After the access point obtains the status indication information, the Wi-Fi access point sends status change information to the user terminal according to the status indication information, so that the user terminal performs a corresponding status change according to the status change information.
- the Wi-Fi access point after the Wi-Fi access point obtains the status indication information, the user terminal is notified, so that the user terminal performs a corresponding state change, which enhances the operability of the embodiment.
- a third aspect of the embodiments of the present application provides an intelligent terminal, including:
- a sending unit configured to send first information to the Wi-Fi access point when the smart terminal and the Wi-Fi access point establish a connection for the first time, where the first information is used by the smart terminal Registration information for device registration;
- a second sending unit configured to: when the smart terminal and the Wi-Fi access point are disconnected, broadcast the second information by using a Wi-Fi module included in the smart terminal;
- the second information includes smart terminal information and status indication information for the verification device, where the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal is connected to the Wi-Fi Registration in the ingress, the status indication information corresponding to the trigger event, and the status indication information is used when the Wi-Fi access point determines that the smart terminal is registered, the Wi-Fi connection
- the entry point acquires the status indication information.
- the intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
- the smart terminal further includes:
- An encryption unit configured to encrypt the status indication information according to an encryption key, to obtain encrypted status indication information, where the encryption key is used by the Wi-Fi access point in the smart terminal and the Wi- The Fi access point is generated when the connection is first established and sent to the smart terminal.
- the intelligent terminal in the embodiment of the present application encrypts the status indication information by using an encryption key, thereby improving the letter. Security of information transmission.
- the smart terminal further includes:
- a modifying unit configured to add the extended information element IE by modifying the second information, so that the extended IE carries the smart terminal information and the status indication information.
- the smart terminal further includes:
- a wake-up unit configured to wake up a Wi-Fi module, where the Wi-Fi module is a module included in the smart terminal itself, and the Wi-Fi module is configured to send the second information.
- the smart terminal wakes up the Wi-Fi module before sending the information by using the Wi-Fi module, so that the power consumption of the smart terminal can be reduced.
- the second information is a Wi-Fi Prob broadcast frame.
- the embodiment of the present application specifically describes the existence form of the second information, which enriches the specific implementation manner of the present application.
- a fourth aspect of the embodiments of the present application provides a Wi-Fi access point, including:
- a first receiving unit configured to receive first information sent by the smart terminal when the Wi-Fi access point and the smart terminal establish a connection for the first time, where the first information is used by the smart terminal device Registered registration information;
- a second receiving unit configured to receive second information sent by the smart terminal when the Wi-Fi access point and the smart terminal are disconnected, where the second information includes an intelligent terminal used for verifying a device Information and status indication information, and the second information is broadcast by the Wi-Fi module included in the smart terminal when the trigger event is received by the smart terminal, and the trigger event corresponds to the status indication information;
- a first determining unit configured to determine, according to the received smart terminal information, whether the smart terminal has been registered in the Wi-Fi access point;
- an obtaining unit configured to acquire the status indication information when the first determining unit determines that the smart terminal is registered.
- the intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
- the first determining unit further includes:
- the comparison subunit is configured to compare, by using the received smart terminal information, the registration information, whether the smart terminal is registered in the Wi-Fi access point.
- the embodiment of the present application specifically describes how the Wi-Fi access point determines whether the smart terminal has been registered in the Wi-Fi access point, which enriches the implementation means of the embodiment of the present invention.
- the Wi-Fi access point further includes:
- a second determining unit configured to determine a validity of the smart terminal according to the received private key and the public key verification signature
- the obtaining unit includes:
- obtaining the sub-unit configured to acquire the status indication information when the Wi-Fi access point confirms that the smart terminal is registered and confirms the legality of the smart terminal.
- the Wi-Fi access point verifies the signature according to the received private key and the public key of the previously recorded smart terminal, thereby increasing the security of information transmission.
- the Wi-Fi access Points when the Wi-Fi access point and the smart terminal establish a connection for the first time, the Wi-Fi access Points also include:
- 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 used by the Wi- Fi access point generation.
- the Wi-Fi access point also sends an encryption key to the intelligent terminal to encrypt information in the information transmission during subsequent disconnection, thereby increasing the security of information transmission.
- the Wi-Fi access point further includes:
- a decryption unit configured to decrypt the encrypted state indication information according to the encryption key, and obtain the decrypted state indication information.
- the Wi-Fi access point needs to decrypt the encrypted status indication information to obtain the decrypted status indication information, which increases the security of the information transmission.
- the Wi-Fi access point further includes:
- the second sending unit is configured to send the state change information to the user terminal according to the state indication information, so that the user terminal performs a corresponding state change according to the state change information.
- the user terminal after the Wi-Fi access point obtains the status indication information, the user terminal is notified, so that the user terminal performs a corresponding state change, which enhances the operability of the embodiment.
- a fifth aspect of the embodiments of the present application provides an intelligent terminal, including:
- Input device output device, Wi-Fi module, processor and memory
- the processor executes the following steps by calling an operation instruction stored in the memory:
- the Wi-Fi module is configured to perform the following steps:
- the smart terminal and the Wi-Fi access point When the smart terminal and the Wi-Fi access point establish a connection for the first time, sending the first information to the Wi-Fi access point, where the first information includes registration information for the smart terminal device registration;
- the processor is configured to perform the following steps by calling an operation instruction stored in the memory:
- the second information is broadcast by the Wi-Fi module Wi-Fi module included in the smart terminal;
- the second information includes smart terminal information and status indication information for the verification device, where the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal is connected to the Wi-Fi Registered in the ingress point, the status indication information corresponding to the triggering event, and the status indication information is used to determine when the Wi-Fi access point determines When the smart terminal is registered, the Wi-Fi access point acquires the status indication information.
- the intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
- the processor is further configured to perform the following steps, including:
- the intelligent terminal in the embodiment of the present application encrypts the status indication information by using an encryption key, thereby improving the security of information transmission.
- the processor is further configured to perform the following steps, including:
- the processor is further configured to perform the following steps, including:
- the Wi-Fi module is a module included in the smart terminal itself, and the Wi-Fi module is configured to send the second information.
- the smart terminal wakes up the Wi-Fi module before sending the information by using the Wi-Fi module, so that the power consumption of the smart terminal can be reduced.
- the second information is a Wi-Fi Prob broadcast frame.
- the embodiment of the present application specifically describes the existence form of the second information, which enriches the specific implementation manner of the present application.
- a sixth aspect of the embodiments of the present application provides a Wi-Fi access point, including:
- Input device output device, Wi-Fi module, processor and memory
- the Wi-Fi module is configured to perform the following steps:
- the second information includes smart terminal information and status indication information used for verifying the device, and
- the trigger event corresponds to the status indication information
- the processor is configured to perform the following steps by calling an operation instruction stored in the memory:
- the status indication information is acquired.
- the intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
- the processor is further configured to perform the following steps, including:
- the embodiment of the present application specifically describes how the Wi-Fi access point determines whether the smart terminal has been registered in the Wi-Fi access point, which enriches the implementation means of the embodiment of the present invention.
- the processor is further configured to perform the following steps, including:
- the Wi-Fi access point acquires the status indication information.
- the Wi-Fi access point verifies the signature according to the received private key and the public key of the previously recorded smart terminal, thereby increasing the security of information transmission.
- the Wi-Fi module is further configured to perform the following steps, including:
- the Wi-Fi access point also sends an encryption key to the intelligent terminal to encrypt information in the information transmission during subsequent disconnection, thereby increasing the security of information transmission.
- the Wi-Fi module is further configured to perform the following steps, including:
- the Wi-Fi access point needs to decrypt the encrypted status indication information to obtain the decrypted status indication information, which increases the security of the information transmission.
- the processor is further configured to perform the following steps, including:
- the user terminal after the Wi-Fi access point obtains the status indication information, the user terminal is notified, so that the user terminal performs a corresponding state change, which enhances the operability of the embodiment.
- Yet another aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
- Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
- the smart terminal when the smart terminal and the Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to the Wi-Fi access point, where the first information includes the smart information.
- the Wi-Fi access point acquires the status indication information.
- the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
- FIG. 1 is a schematic diagram of an application scenario in an embodiment of the present application
- 1b is a schematic diagram of 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 according to an embodiment of the present application.
- FIG. 3 is a schematic diagram of an embodiment of a smart terminal according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of another embodiment of a smart terminal according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of an embodiment of a Wi-Fi access point according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of another embodiment of a Wi-Fi access point in an embodiment of the present application.
- FIG. 7 is a schematic diagram of another embodiment of a smart terminal according to an embodiment of the present application.
- FIG. 8 is a schematic diagram of another embodiment of a Wi-Fi access point in an embodiment of the present application.
- the embodiment of the present application provides an information transmission method and device, which are used to save the authentication connection process of the standard Wi-Fi protocol, and the intelligent terminal and the Wi-Fi access point quickly implement the process from the sleep state to the information transmission completion. Reduce power consumption, increase the speed of information transmission, and optimize the user experience.
- the embodiment of the present application can be applied to the network structure diagram shown in FIG. 1a.
- the smart terminal and the Wi-Fi access point in the architecture need to establish a connection through the authentication connection process of the standard Wi-Fi protocol. After that, data can be transferred.
- the authentication connection process of the smart terminal and the Wi-Fi access point through the standard Wi-Fi protocol is as shown in FIG. 1b, and the smart terminal broadcasts a probe request, which includes the data of the smart terminal itself, when the Wi-Fi access point receives After the probe request, the smart terminal is fed back a probe response. After receiving the probe response, the smart terminal sends an authentication request to the Wi-Fi access point, where the authentication request includes the public key of the smart terminal, etc., Wi- Fi access point receives the authentication request After that, the smart terminal feeds back an authentication response, and after receiving the authentication response, the smart terminal sends an association request to the Wi-Fi access point to request association with the Wi-Fi access point, thereby connecting with the Wi-Fi. The data is exchanged between the ingress points.
- the Wi-Fi access point After receiving the association request, the Wi-Fi access point sends an association response to the intelligent terminal, so that the intelligent terminal and the Wi-Fi access point authentication connection process are established, and the smart terminal and the Wi-Fi connection are connected. Data interaction can be performed after the ingress establishes a connection.
- the Wi-Fi access point may be a device supporting the IEEE 802.11 standard, such as a wireless router, a wireless repeater, a wireless network card, a mobile phone Wi-Fi, and other devices with a built-in Wi-Fi module.
- the embodiment of the present application provides an information transmission method, including the following steps:
- the smart terminal establishes a connection with the Wi-Fi access point.
- the smart terminal When the smart terminal establishes a connection with the Wi-Fi access point for the first time in the initial state, it first needs to wake up the smart terminal and the Wi-Fi access point, and then the smart terminal and the Wi-Fi access point pass the standard Wi-Fi.
- the authentication connection process of the protocol establishes a connection.
- the main purpose of establishing a connection between the smart terminal and the Wi-Fi access point in the initial state is that the smart terminal completes device registration and service registration at the Wi-Fi access point end, so that the smart terminal and the Wi-Fi connection are connected.
- the Wi-Fi access point can confirm the identity of the smart terminal according to the registration information of the smart terminal at the Wi-Fi access point.
- the smart terminal completes device registration and service registration at the Wi-Fi access point end, that is, the smart terminal information and service information of the smart terminal need to be recorded on the Wi-Fi access point side, where the service information indicates the smart terminal.
- the type of information transmitted to the Wi-Fi access point is not limited to
- the smart terminal sends the first information to the Wi-Fi access point.
- the smart terminal When the smart terminal establishes a connection with the Wi-Fi access point in the initial state, that is, when the smart terminal and the Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to the Wi-Fi access point.
- the first information includes the registration information for the smart terminal device registration and the public key of the smart terminal, wherein the registration information may include the form information of the smart terminal and the hardware address MAC of the smart terminal, where the smart terminal
- the public key is used to verify the identity and legality of the smart terminal by the subsequent Wi-Fi access point.
- the shape information of the smart terminal carries information such as the shape and size of the smart terminal.
- the Wi-Fi access point records the first information.
- the Wi-Fi access point After the first information is received by the Wi-Fi access point, the first information is recorded, and the device registration and service registration of the smart terminal at the Wi-Fi access point end is completed, so that the smart terminal and the Wi-Fi access point are succeeded. After disconnecting, the Wi-Fi access point verifies the identity and legality of the smart terminal based on the first information recorded.
- the Wi-Fi access point sends an encryption key to the smart terminal.
- the Wi-Fi access point can randomly generate an encryption key, and the Wi-Fi access point itself records the encryption key, and then sends the encryption key to the smart terminal. After receiving the encryption key, the smart terminal receives the encryption key. The encryption key will be recorded so that the status indication information can be encrypted later using the encryption key.
- the smart terminal is disconnected from the Wi-Fi access point.
- the smart terminal and the Wi-Fi access point After the smart terminal and the Wi-Fi access point complete steps 202 to 204, and the smart terminal and the Wi-Fi access point have no information transmission, the smart terminal and the Wi-Fi access point are disconnected, and the smart terminal enters the sleep state. status.
- the smart terminal and the Wi-Fi access point may automatically disconnect after the smart terminal and/or the Wi-Fi access point detects that the information transmission is completed, and may also disconnect using other methods, for example, by using the user. Manual disconnection, the specific way to disconnect is not limited here.
- the smart terminal wakes up its own Wi-Fi module.
- the smart terminal After the smart terminal disconnects from the Wi-Fi access point, when the smart terminal senses an event that needs to be reported within the detection range, and the Wi-Fi module is in a sleep state, the smart terminal wakes up itself to send information.
- the included Wi-Fi module After the smart terminal disconnects from the Wi-Fi access point, when the smart terminal senses an event that needs to be reported within the detection range, and the Wi-Fi module is in a sleep state, the smart terminal wakes up itself to send information. The included Wi-Fi module.
- User A is not at home. At this time, the child in User A's home is playing with fire. At this time, the smoke generated by the combustion exceeds a certain concentration, triggering the smoke alarm installed in User A's home, and the smoke alarm will wake up. Its own Wi-Fi module.
- the smart terminal encrypts the status indication information according to the encryption key.
- the status indication information is encrypted by using the previously saved encryption key, and the encrypted status indication information is obtained, wherein the status indication information and the sensed need to be reported.
- the event corresponds.
- the event to be reported is related to the type of the smart terminal. For example, if the smart terminal is a smoke alarm, when the smoke alarm detects that the smoke concentration in the detection range exceeds a preset value, the report event is triggered. At this time, the reported event is that the smoke concentration exceeds the preset value.
- the smart terminal sends the second information to the Wi-Fi access point.
- the smart terminal After the Wi-Fi module included in the smart terminal itself is woken up, the smart terminal sends the second information to the Wi-Fi access point, where the second information includes the smart terminal information used to verify the device, and the private terminal of the smart terminal The key and the encrypted status indication information, wherein the smart terminal information includes form information of the smart terminal and a MAC of the smart terminal.
- the second information may be sent by the Wi-Fi module in the smart terminal through the Wi-Fi Prob broadcast frame, and the Wi-Fi Prob broadcast frame carries a Custom Information Element (IE) field, where the information carried in the IE field is The second information, wherein, before the second information is sent, the smart terminal adds the extended information element IE by modifying the second information, so that the extended IE carries the smart terminal information and the status indication information, where the modified IE field is a custom
- IE field a form of the custom IE field can be as follows, and the specific form is not limited herein:
- the smoke alarm wakes up its own Wi-Fi module, it sends a Wi-Fi Prob broadcast frame through the Wi-Fi module, which carries the Wi-Fi AP by modifying the Wi-Fi network.
- Management frame the management frame passes The extended IE is added to carry the smart terminal information of the device, the private key of the device, and the encrypted status indication information.
- the Wi-Fi access point determines, according to the received smart terminal information, whether the smart terminal has registered in the Wi-Fi access point and verifies the signature.
- the Wi-Fi access point After the Wi-Fi access point receives the second information sent by the smart terminal, the Wi-Fi access point establishes a connection between the smart terminal information and the smart terminal in the acquired second information and the Wi-Fi access point.
- the registration information recorded at the time is compared to determine the identity of the smart terminal, and is determined according to the private key in the acquired second information and the public key recorded when the smart terminal establishes a connection with the Wi-Fi access point. Verify the signature to confirm the legality of the intelligent hardware.
- the Wi-Fi access point will indicate the encrypted status according to the encryption key pair.
- the information is decrypted to obtain the decrypted status indication information.
- the Wi-Fi access point determines that the smart terminal is not registered at the Wi-Fi access point end according to the received smart terminal information, the Wi-Fi access point does not acquire the second information. Status indication information; when the Wi-Fi access point determines that the smart terminal is registered at the Wi-Fi access point end according to the received smart terminal information, but the verification signature does not pass, at this time, the Wi-Fi access point The status indication information in the second information is not acquired.
- the router mentioned in step 201 authenticates the smoke alarm by the received smart terminal information and the registration information of the previously saved smoke alarm, and according to the saved public key and the received private key. Verify the signature and confirm the legality of the smoke alarm
- the Wi-Fi access point decrypts the encrypted status indication information according to the encryption key.
- the Wi-Fi access point After the Wi-Fi access point receives the second information including the encrypted status indication information, and the Wi-Fi access point confirms that the smart terminal has been registered at the Wi-Fi access point end, and verifies the signature When the legality authentication is passed, the encrypted status indication information is decrypted according to the encryption key generated by the Wi-Fi access point when establishing the connection with the smart terminal, and the decrypted status indication information is obtained.
- the encrypted status indication information is decrypted using the saved encryption key, and the status indication information is read.
- the Wi-Fi access point sends status change information to the user terminal according to the status indication information.
- the status change information is sent to the user terminal according to the status indication information, so that the user terminal performs a corresponding status change according to the status change information.
- the router After the router reads the decrypted status indication information, the router notifies the 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.
- the smart terminal when the smart terminal and the Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to the Wi-Fi access point, where the first information includes registration information for the smart terminal device registration;
- the smart terminal When the smart terminal and the Wi-Fi access point are disconnected, and the smart terminal receives the trigger event, the smart terminal broadcasts the second information by using the Wi-Fi module included in the smart terminal; wherein the second information includes the verification device Intelligent terminal information and status indication information, the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information corresponds to the trigger event, and the status indication information is used when When the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information.
- the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
- the smart terminal in the embodiment of the present invention includes:
- the first sending unit 301 is configured to: when the smart terminal and the Wi-Fi access point establish a connection for the first time, send the first information to the Wi-Fi access point, where the first information includes registration information for the smart terminal device registration ;
- a second sending unit 302 configured to: when the smart terminal and the Wi-Fi access point have been disconnected, and the smart terminal receives the trigger event, broadcast the second information;
- the second information includes smart terminal information and status indication information for the verification device, and the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information and the trigger The event corresponds, and the status indication information is used when the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information.
- the first sending unit 301 sends the first information to the Wi-Fi access point, where the first information includes The registration information of the smart terminal device registration; when the smart terminal and the Wi-Fi access point have been disconnected, and the smart terminal receives the trigger event, the second sending unit 302 second information; wherein the second information includes verification Intelligent terminal information and status indication information of the device, the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information corresponds to the trigger event, and the status indication information is used.
- the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information.
- the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
- another embodiment of the smart terminal in the embodiment of the present application includes:
- the first sending unit 401 is configured to: when the smart terminal and the Wi-Fi access point establish a connection for the first time, send the first information to the Wi-Fi access point, where the first information includes the registration information used for the smart terminal device registration. ;
- the encryption unit 402 is configured to encrypt the state indication information according to the encryption key to obtain the encrypted state indication information, where the encryption key is first established by the Wi-Fi access point at the smart terminal and the Wi-Fi access point. Generated and sent to the smart terminal.
- the waking unit 403 is configured to wake up the Wi-Fi module, the Wi-Fi module is a module included in the smart terminal itself, and the Wi-Fi module is configured to send the second information.
- the modifying unit 404 is configured to add the extended information element IE by modifying the second information, so that the extended IE carries the smart terminal information and the status indication information.
- a second sending unit 405, configured to: when the smart terminal and the Wi-Fi access point have been disconnected, and the smart terminal receives the triggering event, broadcast the second information by using the Wi-Fi module included in the smart terminal;
- the second information includes smart terminal information and status indication information for the verification device, and the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information and the trigger The event corresponds, and the status indication information is used when the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information.
- the first sending unit 401 when the smart terminal and the Wi-Fi access point establish a connection for the first time, the first sending unit 401 sends the first information to the Wi-Fi access point, where the first information includes The registration information of the smart terminal device registration; when the smart terminal and the Wi-Fi access point have been disconnected, and the smart terminal receives the trigger event, the second sending unit 405 broadcasts the second through the Wi-Fi module included in the smart terminal itself.
- the second information includes Verifying the smart terminal information and status indication information of the device, the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information corresponds to the trigger event, and the status indication information
- the Wi-Fi access point acquires status indication information when the Wi-Fi access point determines that the smart terminal has been registered.
- the Wi-Fi access point in the embodiment of the present invention includes:
- the first receiving unit 501 is configured to: when the Wi-Fi access point and the smart terminal establish a connection for the first time, receive the first information sent by the smart terminal, where the first information includes registration information for the smart terminal device registration;
- the second receiving unit 502 is configured to: when the Wi-Fi access point and the smart terminal are disconnected, receive the second information sent by the smart terminal, where the second information includes the smart terminal information and the status indication information used to verify the device, and When receiving the trigger event, the second information wakes up the Wi-Fi module included in the second information, and broadcasts through the Wi-Fi module, and the trigger event corresponds to the status indication information;
- the first determining unit 503 is configured to determine, according to the received smart terminal information, whether the smart terminal has been registered in the Wi-Fi access point;
- the obtaining unit 504 is configured to acquire status indication information when the determining unit determines that the smart terminal has been registered.
- the first receiving unit 501 receives the first information sent by the smart terminal, where the first information includes the smart terminal device. Registered registration information; when the Wi-Fi access point and the smart terminal have been disconnected, the second receiving unit 502 receives the second information sent by the smart terminal, and the second information includes the smart terminal information and the status indication information used to verify the device. And when the second information is received by the smart terminal, the triggering event is corresponding to the status indication information by the Wi-Fi module broadcasted by the smart terminal; the first determining unit 503 determines whether the smart terminal is based on the received smart terminal information.
- the registration unit 504 acquires the status indication information when the determination unit determines that the smart terminal has been registered.
- the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
- FIG. 6 another embodiment of a Wi-Fi access point in this embodiment of the present application includes:
- the first receiving unit 601 is configured to: when the Wi-Fi access point and the smart terminal establish a connection for the first time, receive the first information sent by the smart terminal, where the first information includes registration information for the smart terminal device registration;
- the first sending unit 602 is configured to send an encryption key to the smart terminal, so that the smart terminal encrypts the status indication information, and obtains the encrypted status indication information, where the encryption key is generated by the Wi-Fi access point;
- the second receiving unit 603 is configured to: when the Wi-Fi access point and the smart terminal are disconnected, receive the second information sent by the smart terminal, where the second information includes the smart terminal information and the status indication information used to verify the device, and When receiving the trigger event, the second information wakes up the Wi-Fi module included in the second information, and broadcasts through the Wi-Fi module, and the trigger event corresponds to the status indication information;
- the first determining unit 604 is configured to determine, according to the received smart terminal information, whether the smart terminal has been registered in the Wi-Fi access point;
- the first determining unit 604 further includes:
- the comparison subunit 6041 is configured to compare, by using the received smart terminal information and the registration information, whether the smart terminal has been registered in the Wi-Fi access point;
- a second determining unit 605 configured to determine a validity of the smart terminal according to the received private key and the public key verification signature
- the decryption unit 606 is configured to decrypt the encrypted status indication information according to the encryption key, and obtain the decrypted status indication information.
- the obtaining unit 607 is configured to acquire status indication information when the determining unit determines that the smart terminal has been registered;
- the obtaining unit 607 includes:
- the obtaining subunit 6071 is configured to acquire status indication information when the Wi-Fi access point confirms that the smart terminal has been registered and confirms the legitimacy of the smart terminal.
- the second sending unit 608 is configured to send the state change information to the user terminal according to the state indication information, so that the user terminal performs a corresponding state change according to the state change information.
- the first receiving unit 601 receives the first information sent by the smart terminal, where the first information includes the smart terminal device. Registered registration information; when the Wi-Fi access point and the smart terminal have been disconnected, the second receiving unit 603 receives the second information sent by the smart terminal, and the second information includes the smart terminal information and status indication information used to verify the device. And when the second information is received by the smart terminal, the triggering event is corresponding to the status indication information by the Wi-Fi module broadcasted by the smart terminal; the first determining unit 504 determines whether the smart terminal is based on the received smart terminal information.
- the registration unit 607 has acquired the status indication information when the determination unit determines that the smart terminal has been registered.
- the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
- another embodiment of the smart terminal in the embodiment of the present application includes:
- FIG. 7 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
- the smart terminal 700 may generate a large difference due to different configurations or performances, and may include one or more central processing units (CPUs) 722. (eg, one or more processors) and memory 732, one or more storage media 730 that store application 742 or data 744 (eg, one or one storage device in Shanghai).
- the memory 732 and the storage medium 730 may be short-term storage or persistent storage.
- the program stored on the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations in the smart terminal.
- central processor 722 can be configured to communicate with storage medium 730, executing a series of instruction operations in storage medium 730 on smart terminal 700.
- the intelligent terminal 700 can also include one or more power sources 726, one or more wired or wireless network interfaces 750, one or more input and output interfaces 758, and/or one or more operating systems 741, such as Windows ServerTM, Mac. OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
- operating systems 741 such as Windows ServerTM, Mac. OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
- the storage medium 730 in the above embodiments may be any available medium that the computer can store or a data storage device such as a server, data center, or the like that includes one or more available media integrations.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
- the steps performed by the smart terminal in the above embodiment may be based on the smart terminal structure shown in FIG.
- another embodiment of a Wi-Fi access point in this embodiment of the present application includes:
- FIG. 8 is a schematic structural diagram of a Wi-Fi access point according to an embodiment of the present invention.
- the Wi-Fi access point 800 may have a large difference due to different configurations or performances, and may include one or more central processing units. (central processing units, CPU) 822 (eg, one or more processors) and memory 832, one or more storage media 830 storing application 842 or data 844 (eg, one or one storage device in Shanghai).
- the memory 832 and the storage medium 830 may be short-term storage or persistent storage.
- the program stored on storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations in a Wi-Fi access point.
- central processor 822 can be configured to communicate with storage medium 830 to perform a series of instruction operations in storage medium 830 on Wi-Fi access point 800.
- Wi-Fi access point 800 may also include one or more power sources 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and/or one or more operating systems 841, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
- operating systems 841 such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
- the steps performed by the Wi-Fi access point in the above embodiment may be based on the Wi-Fi access point structure shown in FIG.
- the storage medium 830 in the above embodiments may be any available medium that the computer can store or a data storage device such as a server, data center, or the like that includes one or more available media integrations.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
- the computer program product includes one or more computer instructions.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
- wire eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
- the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the 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 standalone product, may be stored in a computer readable storage medium.
- a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求于2017年02月22日提交中国专利局、申请号为201710097110.8、发明名称为“一种WIFI设备间快速传输信息的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on February 22, 2017, the Chinese Patent Office, Application No. 201710097110.8, entitled "A Method and Apparatus for Fast Transmission of Information Between WIFI Devices", the entire contents of which are incorporated by reference. Combined in this application.
本申请涉及通信领域,尤其涉及一种信息传输方法及设备。The present application relates to the field of communications, and in particular, to an information transmission method and device.
随着近年来智能硬件的迅猛发展,智能家居概念开始被越来越多的行业和消费者认可。随着无线保真(Wireless Fidelity,Wi-Fi)网络的普及,智能家居厂家开始越来越接纳低成本的Wi-Fi连接作为智能设备的联网方式。With the rapid development of smart hardware in recent years, the smart home concept has begun to be recognized by more and more industries and consumers. With the popularity of Wireless Fidelity (Wi-Fi) networks, smart home manufacturers are increasingly embracing low-cost Wi-Fi connections as a way to connect smart devices.
在现有技术中,对于长期插电的智能家电设备,通常没有低功耗的需求,Wi-Fi采用长连接模式,此种方案带来的问题是智能家电设备会占用家庭无线路由器的连接数(无线路由器都有接入用户数限制,通常是32或64个用户)。如果后续智能硬件越来越多,可能会导致智能硬件和无线路由器之间连接失败。In the prior art, for smart home appliances that are plugged in for a long period of time, there is usually no need for low power consumption, and Wi-Fi adopts a long connection mode. The problem brought by such a scheme is that smart home appliances occupy the number of connections of the home wireless router. (Wireless routers have a limit on the number of access users, usually 32 or 64 users). If more and more intelligent hardware is followed, it may cause the connection between the intelligent hardware and the wireless router to fail.
对于有低功耗要求的智能硬件,譬如传感器或开关类智能硬件,则通常会采用系统休眠的方式,在有数据传输需要时对系统进行快速唤醒、建立连接后再进行数据通信。此种方案需要进行系统的唤醒并与Wi-Fi网络建立连接,带来的问题是传输时延较大,用户体验不佳。For intelligent hardware with low power consumption requirements, such as sensor or switch type intelligent hardware, the system sleep mode is usually adopted. When the data transmission needs, the system wakes up quickly and establishes a connection before data communication. Such a solution requires system wake-up and connection with a Wi-Fi network, and the problem is that the transmission delay is large and the user experience is not good.
发明内容Summary of the invention
本申请实施例提供了一种信息传输方法及设备,用于节省标准Wi-Fi协议的鉴权连接过程,智能终端和Wi-Fi接入点快速实现从休眠状态到信息发送完成的过程,可降低功耗,提高信息的传输速度,优化用户体验。The embodiment of the present application provides an information transmission method and device, which are used to save the authentication connection process of the standard Wi-Fi protocol, and the intelligent terminal and the Wi-Fi access point quickly implement the process from the sleep state to the information transmission completion. Reduce power consumption, increase the speed of information transmission, and optimize the user experience.
本申请实施例的第一方面提供一种信息传输方法,包括:当智能终端和Wi-Fi接入点在第一次建立连接的时候,该智能终端向Wi-Fi接入点发送第一信息,其中,第一信息包括用于所述智能终端设备注册的注册信息;智能终端和所述Wi-Fi接入点断开连接之后,当智能终端接收到触发上报事件的触发事件时,所述智能终端广播第二信息,其中,所述第二信息包括用于验证设备的智能终端信息和状态指示信息,所述智能终端信息用于所述Wi-Fi接入点确定所述智能终端是否已在所述Wi-Fi接入点中注册,所述状态指示信息与所述触发事件相对应,且所述状态指示信息用于当所述Wi-Fi接入点确定所述智能终端已经在所述Wi-Fi接入点中注册过的时候,所述Wi-Fi接入点获取所述状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。A first aspect of the embodiments of the present application provides an information transmission method, including: when a smart terminal and a Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to a Wi-Fi access point. The first information includes registration information for the smart terminal device registration; after the smart terminal and the Wi-Fi access point are disconnected, when the smart terminal receives a trigger event that triggers a report event, the The smart terminal broadcasts the second information, where the second information includes smart terminal information and status indication information for the verification device, where the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has Registered in the Wi-Fi access point, the status indication information corresponds to the trigger event, and the status indication information is used when the Wi-Fi access point determines that the smart terminal is already in the When the Wi-Fi access point is registered, the Wi-Fi access point acquires the status indication information. When the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
在一种可能的设计中,在本申请实施例第一方面的第一种实现方式中,所述智能终端通过自身所包含的Wi-Fi模块广播第二信息之前,所述方法还包括:智能终端根据利用加密密钥对状态指示信息进行加密处理,得到加密后的状态指示信息,其中,所述加密密钥 是由所述Wi-Fi接入点在所述智能终端和所述Wi-Fi接入点第一次建立连接时生成的,加密密钥生成之后,由所述Wi-Fi接入点在所述Wi-Fi接入点和所述智能终端第一次建立连接的时候发送至所述智能终端。本申请实施例中的智能终端会利用加密密钥对状态指示信息进行加密处理,提高了信息传输的安全性。In a possible design, in a first implementation manner of the first aspect of the embodiment of the present application, before the smart terminal broadcasts the second information by using the Wi-Fi module included in the smart terminal, the method further includes: The terminal performs encryption processing on the status indication information by using an encryption key to obtain encrypted status indication information, where the encryption key Is generated by the Wi-Fi access point when the smart terminal and the Wi-Fi access point establish a connection for the first time, after the encryption key is generated, by the Wi-Fi access point The Wi-Fi access point and the smart terminal are sent to the smart terminal when establishing a connection for the first time. The intelligent terminal in the embodiment of the present application encrypts the status indication information by using an encryption key, thereby improving the security of information transmission.
在一种可能的设计中,在本申请实施例第一方面的第二种实现方式中,所述智能终端广播第二信息之前,所述方法还包括:In a possible design, in a second implementation manner of the first aspect of the embodiment, the method further includes: before the smart terminal broadcasts the second information, the method further includes:
智能终端会通过修改待发送的第二信息,以增加第二信息中的扩展IE,其中增加的扩展IE中携带所述智能终端信息和所述状态指示信息。本申请实施例中,说明了发送第二信息之前对信息的处理,丰富了本申请的具体的实现方式。The smart terminal may modify the extended IE in the second information by modifying the second information to be sent, where the added extended IE carries the smart terminal information and the status indication information. In the embodiment of the present application, the processing of the information before the second information is sent is described, which enriches the specific implementation manner of the application.
在一种可能的设计中,在本申请实施例第一方面的第三种实现方式中,所述智能终端广播第二信息之前,所述方法还包括:若该Wi-Fi模块处于休眠状态,所述智能终端还需要唤醒智能终端自上所包含的Wi-Fi模块。本申请实施例,智能终端在使用Wi-Fi模块发送信息之前,再唤醒所述Wi-Fi模块,可以降低所述智能终端的功耗。In a possible implementation, in a third implementation manner of the first aspect of the embodiments of the present application, before the smart terminal broadcasts the second information, the method further includes: if the Wi-Fi module is in a dormant state, The smart terminal also needs to wake up the smart terminal from the Wi-Fi module included in the smart terminal. In the embodiment of the present application, the smart terminal wakes up the Wi-Fi module before sending the information by using the Wi-Fi module, so that the power consumption of the smart terminal can be reduced.
在一种可能的设计中,在本申请实施例第一方面的第三种实现方式中,所述第二信息为Wi-Fi Prob广播帧。本申请实施例具体说明了第二信息的存在形式,丰富了本申请的具体实现方式。In a possible implementation, in a third implementation manner of the first aspect of the embodiments, the second information is a Wi-Fi Prob broadcast frame. The embodiment of the present application specifically describes the existence form of the second information, which enriches the specific implementation manner of the present application.
本申请实施例的第二方面提供一种信息传输方法,包括:当Wi-Fi接入点和智能终端在第一次建立连接的时候,所述Wi-Fi接入点接收所述智能终端发送的第一信息,其中,该第一信息包括用于智能终端设备注册的注册信息;当所述Wi-Fi接入点和所述智能终端断开连接之后,所述Wi-Fi接入点会接收到所述智能终端发送的第二信息,其中,所述第二信息包括用于验证设备的智能终端信息和状态指示信息,而且所述第二信息由所述智能终端接收到触发事件的时候,通过自身所包含的Wi-Fi模块广播,其中,所述触发事件和所述状态指示信息是相对应的,所述Wi-Fi接入点根据接收到的所述智能终端信息确定所述智能终端是否已经在所述Wi-Fi接入点中注册过;当所述Wi-Fi接入点确定所述智能终端已经注册过的时候,所述Wi-Fi接入点获取所述状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点不需要建立连接就可以进行状态指示信息的传输,提高了信息的传输速度。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 a connection for the first time, the Wi-Fi access point receives the smart terminal to send First information, wherein the first information includes registration information for smart terminal device registration; after the Wi-Fi access point and the smart terminal are disconnected, the Wi-Fi access point Receiving second information sent by the smart terminal, where the second information includes smart terminal information and status indication information for verifying the device, and the second information is received by the smart terminal when the trigger event is received Broadcasting by the Wi-Fi module included in the self, wherein the trigger event and the status indication information are corresponding, and the Wi-Fi access point determines the smart according to the received smart terminal information. Whether the terminal has been registered in the Wi-Fi access point; when the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information . The intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
在一种可能的设计中,在本申请实施例第二方面的第一种实现方式中,述Wi-Fi接入点根据接收到的所述智能终端信息确定所述智能终端是否已在所述Wi-Fi接入点中注册包括:Wi-Fi接入点通过接收到的智能终端信息以及注册信息做比对,确定智能终端是否在Wi-Fi接入点中注册过,其中,该注册信息由Wi-Fi接入点和智能终端第一次建立连接的时候,智能终端向Wi-Fi接入点发送的。本申请实施例,具体说明了Wi-Fi接入点如何确定智能终端是否已在Wi-Fi接入点中注册过,丰富了本发明实施例的实现手段。In a possible design, in a first implementation manner of the second aspect of the embodiments of the present application, the Wi-Fi access point determines, according to the received smart terminal information, whether the smart terminal is already in the The registration in the Wi-Fi access point includes: the Wi-Fi access point compares the received smart terminal information and the registration information to determine whether the smart terminal is registered in the Wi-Fi access point, wherein the registration information When the Wi-Fi access point and the smart terminal establish a connection for the first time, the smart terminal sends the message to the Wi-Fi access point. The embodiment of the present application specifically describes how the Wi-Fi access point determines whether the smart terminal has been registered in the Wi-Fi access point, which enriches the implementation means of the embodiment of the present invention.
在一种可能的设计中,在本申请实施例第二方面的第二种实现方式中,所述第一信息还包含所述智能终端的公钥,所述第二信息还包含所述智能终端的私钥,所述Wi-Fi接入点获取所述状态指示信息之前,所述方法还包括:Wi-Fi接入点根据接收到的所述私钥和所述公钥验证签名,以确认所述智能终端的合法性;当所述Wi-Fi接入点确认所述智能终端 已经在Wi-Fi接入点中注册过,且所述智能终端的合法性认证通过时,所述Wi-Fi接入点获取所述状态指示信息。本申请实施例中,Wi-Fi接入点根据接收到的所述私钥和之前记录的智能终端的公钥验证签名,增加了信息传输的安全性。In a possible implementation, in a second implementation manner of the second aspect of the embodiments, the first information further includes a public key of the smart terminal, and the second information further includes the smart terminal The private key, before the Wi-Fi access point acquires the status indication information, the method further includes: the Wi-Fi access point verifying the signature according to the received private key and the public key, to confirm Legitimacy of the smart terminal; when the Wi-Fi access point confirms the smart terminal The Wi-Fi access point acquires the status indication information when it has been registered in the Wi-Fi access point and the legality authentication of the smart terminal passes. In the embodiment of the present application, the Wi-Fi access point verifies the signature according to the received private key and the public key of the previously recorded smart terminal, thereby increasing the security of information transmission.
在一种可能的设计中,在本申请实施例第二方面的第三种实现方式中,当Wi-Fi接入点和智能终端第一次建立连接时,所述方法还包括:所述Wi-Fi接入点随机生成加密密钥,并向智能终端发送该加密密钥,以使得所述智能终端对所述状态指示信息进行加密,得到加密后的状态指示信息,其中,Wi-Fi接入点随机生成加密密钥之后还会记录该加密密钥。本申请实施例中,Wi-Fi接入点还会向智能终端发送加密密钥,为后续断开连接时的信息传输中的信息加密,增加了信息传输的安全性。In a 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: the Wi - The Fi access point randomly generates an encryption key, and sends the encryption key to the smart terminal, so that the smart terminal encrypts the status indication information to obtain encrypted status indication information, where Wi-Fi is connected. The encryption key is also recorded after the entry point randomly generates an encryption key. In the embodiment of the present application, the Wi-Fi access point also sends an encryption key to the intelligent terminal to encrypt information in the information transmission during subsequent disconnection, thereby increasing the security of information transmission.
在一种可能的设计中,在本申请实施例第二方面的第四种实现方式中,Wi-Fi接入点获取所述状态指示信息之前,所述方法还包括:Wi-Fi接入点确认所述智能终端已在Wi-Fi接入点中注册,并且确认智能终端的合法性时,Wi-Fi接入点会对加密后的状态指示信息进行解密,获取解密后的状态指示信息。本申请实施例中,Wi-Fi接入点需要对加密后的状态指示信息进行解密才能得到解密后的状态指示信息,增加了信息传输的安全性。In a possible implementation, in a fourth implementation manner of the second aspect of the embodiments of the present application, before the Wi-Fi access point acquires the status indication information, the method further includes: a Wi-Fi access point After confirming that the smart terminal has been registered in the Wi-Fi access point and confirming the legitimacy of the smart terminal, the Wi-Fi access point decrypts the encrypted status indication information and obtains the decrypted status indication information. In the embodiment of the present application, the Wi-Fi access point needs to decrypt the encrypted status indication information to obtain the decrypted status indication information, which increases the security of the information transmission.
在一种可能的设计中,在本申请实施例第二方面的第五种实现方式中,所述Wi-Fi接入点获取所述状态指示信息之后,所述方法还包括:当Wi-Fi接入点获取到状态指示信息之后,Wi-Fi接入点会根据所述状态指示信息向用户终端发送状态变化信息,以使得所述用户终端根据所述状态变化信息执行相应的状态变化。本申请实施例中,当Wi-Fi接入点获取到状态指示信息之后,会通知用户终端,使得用户终端执行相应的状态变化,增强了实施例的可操作性。In a possible implementation, 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: when Wi-Fi After the access point obtains the status indication information, the Wi-Fi access point sends status change information to the user terminal according to the status indication information, so that the user terminal performs a corresponding status change according to the status change information. In the embodiment of the present application, after the Wi-Fi access point obtains the status indication information, the user terminal is notified, so that the user terminal performs a corresponding state change, which enhances the operability of the embodiment.
本申请实施例的第三方面提供一种智能终端,包括:A third aspect of the embodiments of the present application provides an intelligent terminal, including:
发送单元,用于当所述智能终端和Wi-Fi接入点第一次建立连接时,向所述Wi-Fi接入点发送第一信息,所述第一信息包括用于所述智能终端设备注册的注册信息;a sending unit, configured to send first information to the Wi-Fi access point when the smart terminal and the Wi-Fi access point establish a connection for the first time, where the first information is used by the smart terminal Registration information for device registration;
第二发送单元,用于当所述智能终端和所述Wi-Fi接入点已断开连接,通过自身所包含的Wi-Fi模块广播第二信息;a second sending unit, configured to: when the smart terminal and the Wi-Fi access point are disconnected, broadcast the second information by using a Wi-Fi module included in the smart terminal;
其中,所述第二信息包括用于验证设备的智能终端信息和状态指示信息,所述智能终端信息用于所述Wi-Fi接入点确定所述智能终端是否已在所述Wi-Fi接入点中注册,所述状态指示信息与所述触发事件相对应,且所述状态指示信息用于当所述Wi-Fi接入点确定所述智能终端已注册时,所述Wi-Fi接入点获取所述状态指示信息。The second information includes smart terminal information and status indication information for the verification device, where the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal is connected to the Wi-Fi Registration in the ingress, the status indication information corresponding to the trigger event, and the status indication information is used when the Wi-Fi access point determines that the smart terminal is registered, the Wi-Fi connection The entry point acquires the status indication information.
本申请实施例中的智能终端和Wi-Fi接入点不需要建立连接就可以进行状态指示信息的传输,提高了信息的传输速度。The intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
在一种可能的设计中,在本申请实施例第三方面的第一种实现方式中,,所述智能终端还包括:In a possible design, in a first implementation manner of the third aspect of the embodiments, the smart terminal further includes:
加密单元,用于根据加密密钥对所述状态指示信息进行加密,得到加密后的状态指示信息,所述加密密钥由所述Wi-Fi接入点在所述智能终端和所述Wi-Fi接入点第一次建立连接时生成,并发送至所述智能终端。An encryption unit, configured to encrypt the status indication information according to an encryption key, to obtain encrypted status indication information, where the encryption key is used by the Wi-Fi access point in the smart terminal and the Wi- The Fi access point is generated when the connection is first established and sent to the smart terminal.
本申请实施例中的智能终端会利用加密密钥对状态指示信息进行加密处理,提高了信 息传输的安全性。The intelligent terminal in the embodiment of the present application encrypts the status indication information by using an encryption key, thereby improving the letter. Security of information transmission.
在一种可能的设计中,在本申请实施例第三方面的第二种实现方式中,所述智能终端还包括:In a possible implementation, in a second implementation manner of the third aspect of the embodiments, the smart terminal further includes:
修改单元,用于通过修改所述第二信息增加扩展信息元素IE,使得所述扩展IE携带所述智能终端信息和所述状态指示信息。And a modifying unit, configured to add the extended information element IE by modifying the second information, so that the extended IE carries the smart terminal information and the status indication information.
本申请实施例中,说明了发送第二信息之前对信息的处理,丰富了本申请的具体的实现方式。In the embodiment of the present application, the processing of the information before the second information is sent is described, which enriches the specific implementation manner of the application.
在一种可能的设计中,在本申请实施例第三方面的第三种实现方式中,所述智能终端还包括:In a possible design, in a third implementation manner of the third aspect of the embodiments, the smart terminal further includes:
唤醒单元,用于唤醒Wi-Fi模块,所述Wi-Fi模块为所述智能终端自身所包含的模块,且所述Wi-Fi模块用于发送所述第二信息。And a wake-up unit, configured to wake up a Wi-Fi module, where the Wi-Fi module is a module included in the smart terminal itself, and the Wi-Fi module is configured to send the second information.
本申请实施例,智能终端在使用Wi-Fi模块发送信息之前,再唤醒所述Wi-Fi模块,可以降低所述智能终端的的功耗。In the embodiment of the present application, the smart terminal wakes up the Wi-Fi module before sending the information by using the Wi-Fi module, so that the power consumption of the smart terminal can be reduced.
在一种可能的设计中,在本申请实施例第三方面的第四种实现方式中,所述第二信息为Wi-Fi Prob广播帧。In a possible design, in a fourth implementation manner of the third aspect of the embodiment, the second information is a Wi-Fi Prob broadcast frame.
本申请实施例具体说明了第二信息的存在形式,丰富了本申请的具体实现方式。The embodiment of the present application specifically describes the existence form of the second information, which enriches the specific implementation manner of the present application.
本申请实施例的第四方面提供一种Wi-Fi接入点,包括:A fourth aspect of the embodiments of the present application provides a Wi-Fi access point, including:
第一接收单元,用于当所述Wi-Fi接入点和智能终端第一次建立连接时,接收所述智能终端发送的第一信息,所述第一信息包括用于所述智能终端设备注册的注册信息;a first receiving unit, configured to receive first information sent by the smart terminal when the Wi-Fi access point and the smart terminal establish a connection for the first time, where the first information is used by the smart terminal device Registered registration information;
第二接收单元,用于当所述Wi-Fi接入点和所述智能终端已断开连接,接收所述智能终端发送的第二信息,所述第二信息包括用于验证设备的智能终端信息和状态指示信息,且所述第二信息由所述智能终端接收到触发事件时,通过自身所包含的Wi-Fi模块广播,所述触发事件和所述状态指示信息相对应;a second receiving unit, configured to receive second information sent by the smart terminal when the Wi-Fi access point and the smart terminal are disconnected, where the second information includes an intelligent terminal used for verifying a device Information and status indication information, and the second information is broadcast by the Wi-Fi module included in the smart terminal when the trigger event is received by the smart terminal, and the trigger event corresponds to the status indication information;
第一确定单元,用于根据接收到的所述智能终端信息确定所述智能终端是否已在所述Wi-Fi接入点中注册;a first determining unit, configured to determine, according to the received smart terminal information, whether the smart terminal has been registered in the Wi-Fi access point;
获取单元,用于当所述第一确定单元确定所述智能终端已注册时,获取所述状态指示信息。And an obtaining unit, configured to acquire the status indication information when the first determining unit determines that the smart terminal is registered.
本申请实施例中的智能终端和Wi-Fi接入点不需要建立连接就可以进行状态指示信息的传输,提高了信息的传输速度。The intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
在一种可能的设计中,在本申请实施例第四方面的第一种实现方式中,所述第一确定单元还包括:In a possible design, in a first implementation manner of the fourth aspect of the embodiments, the first determining unit further includes:
比对子单元,用于通过接收到的所述智能终端信息和所述注册信息作比对,确定所述智能终端是否已在所述Wi-Fi接入点中注册。The comparison subunit is configured to compare, by using the received smart terminal information, the registration information, whether the smart terminal is registered in the Wi-Fi access point.
本申请实施例,具体说明了Wi-Fi接入点如何确定智能终端是否已在Wi-Fi接入点中注册过,丰富了本发明实施例的实现手段。The embodiment of the present application specifically describes how the Wi-Fi access point determines whether the smart terminal has been registered in the Wi-Fi access point, which enriches the implementation means of the embodiment of the present invention.
在一种可能的设计中,在本申请实施例第四方面的第二种实现方式中,所述Wi-Fi接入点还包括: In a possible implementation, in a second implementation manner of the fourth aspect of the embodiments, the Wi-Fi access point further includes:
第二确定单元,用于根据接收到的所述私钥和所述公钥验证签名,确定所述智能终端的合法性;a second determining unit, configured to determine a validity of the smart terminal according to the received private key and the public key verification signature;
所述获取单元包括:The obtaining unit includes:
获取子单元,用于当所述Wi-Fi接入点确认所述智能终端已注册且确认所述智能终端的合法性时,获取所述状态指示信息。And obtaining the sub-unit, configured to acquire the status indication information when the Wi-Fi access point confirms that the smart terminal is registered and confirms the legality of the smart terminal.
本申请实施例中,Wi-Fi接入点根据接收到的所述私钥和之前记录的智能终端的公钥验证签名,增加了信息传输的安全性。In the embodiment of the present application, the Wi-Fi access point verifies the signature according to the received private key and the public key of the previously recorded smart terminal, thereby increasing the security of information transmission.
在一种可能的设计中,在本申请实施例第四方面的第三种实现方式中,所述当Wi-Fi接入点和智能终端第一次建立连接时,所述Wi-Fi接入点还包括:In a possible design, in a third implementation manner of the fourth aspect of the embodiments 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 Points also include:
第一发送单元,用于向所述智能终端发送加密密钥,以使得所述智能终端对所述状态指示信息进行加密,得到加密后的状态指示信息,所述加密密钥由所述Wi-Fi接入点生成。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 used by the Wi- Fi access point generation.
本申请实施例中,Wi-Fi接入点还会向智能终端发送加密密钥,为后续断开连接时的信息传输中的信息加密,增加了信息传输的安全性。In the embodiment of the present application, the Wi-Fi access point also sends an encryption key to the intelligent terminal to encrypt information in the information transmission during subsequent disconnection, thereby increasing the security of information transmission.
在一种可能的设计中,在本申请实施例第四方面的第四种实现方式中,所述Wi-Fi接入点还包括:In a possible design, in a fourth implementation manner of the fourth aspect of the embodiments, the Wi-Fi access point further includes:
解密单元,用于根据所述加密密钥对所述加密后的状态指示信息进行解密,获取解密后的状态指示信息。And a decryption unit, configured to decrypt the encrypted state indication information according to the encryption key, and obtain the decrypted state indication information.
本申请实施例中,Wi-Fi接入点需要对加密后的状态指示信息进行解密才能得到解密后的状态指示信息,增加了信息传输的安全性。In the embodiment of the present application, the Wi-Fi access point needs to decrypt the encrypted status indication information to obtain the decrypted status indication information, which increases the security of the information transmission.
在一种可能的设计中,在本申请实施例第四方面的第五种实现方式中所述Wi-Fi接入点还包括:In a possible design, in the fifth implementation manner of the fourth aspect of the embodiment of the present application, the Wi-Fi access point further includes:
第二发送单元,用于根据所述状态指示信息向用户终端发送状态变化信息,以使得所述用户终端根据所述状态变化信息进行相应的状态变化。The second sending unit is configured to send the state change information to the user terminal according to the state indication information, so that the user terminal performs a corresponding state change according to the state change information.
本申请实施例中,当Wi-Fi接入点获取到状态指示信息之后,会通知用户终端,使得用户终端执行相应的状态变化,增强了实施例的可操作性。In the embodiment of the present application, after the Wi-Fi access point obtains the status indication information, the user terminal is notified, so that the user terminal performs a corresponding state change, which enhances the operability of the embodiment.
本申请实施例的第五方面提供一种智能终端,包括:A fifth aspect of the embodiments of the present application provides an intelligent terminal, including:
输入装置、输出装置、Wi-Fi模块、处理器和存储器;Input device, output device, Wi-Fi module, processor and memory;
处理器通过调用存储器存储的操作指令,用于执行如下步骤:The processor executes the following steps by calling an operation instruction stored in the memory:
所述Wi-Fi模块,用于执行如下步骤:The Wi-Fi module is configured to perform the following steps:
当智能终端和Wi-Fi接入点第一次建立连接时,向所述Wi-Fi接入点发送第一信息,所述第一信息包括用于所述智能终端设备注册的注册信息;When the smart terminal and the Wi-Fi access point establish a connection for the first time, sending the first information to the Wi-Fi access point, where the first information includes registration information for the smart terminal device registration;
所述处理器通过调用所述存储器存储的操作指令,用于执行如下步骤:The processor is configured to perform the following steps by calling an operation instruction stored in the memory:
当所述智能终端和所述Wi-Fi接入点已断开连接,且所述智能终端接收到触发事件时,通过自身所包含的Wi-Fi模块Wi-Fi模块广播第二信息;When the smart terminal and the Wi-Fi access point have been disconnected, and the smart terminal receives the trigger event, the second information is broadcast by the Wi-Fi module Wi-Fi module included in the smart terminal;
其中,所述第二信息包括用于验证设备的智能终端信息和状态指示信息,所述智能终端信息用于所述Wi-Fi接入点确定所述智能终端是否已在所述Wi-Fi接入点中注册,所述状态指示信息与所述触发事件相对应,且所述状态指示信息用于当所述Wi-Fi接入点确定所 述智能终端已注册时,所述Wi-Fi接入点获取所述状态指示信息。The second information includes smart terminal information and status indication information for the verification device, where the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal is connected to the Wi-Fi Registered in the ingress point, the status indication information corresponding to the triggering event, and the status indication information is used to determine when the Wi-Fi access point determines When the smart terminal is registered, the Wi-Fi access point acquires the status indication information.
本申请实施例中的智能终端和Wi-Fi接入点不需要建立连接就可以进行状态指示信息的传输,提高了信息的传输速度。The intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
在一种可能的设计中,在本申请实施例第五方面的第一种实现方式中,所述处理器还用于执行如下步骤,包括:In a 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:
根据加密密钥对所述状态指示信息进行加密,得到加密后的状态指示信息,所述加密密钥由所述Wi-Fi接入点在所述智能终端和所述Wi-Fi接入点第一次建立连接时生成,并发送至所述智能终端。Encrypting the status indication information according to the encryption key to obtain encrypted status indication information, where the encryption key is used by the Wi-Fi access point at the smart terminal and the Wi-Fi access point Generated once the connection is established and sent to the smart terminal.
本申请实施例中的智能终端会利用加密密钥对状态指示信息进行加密处理,提高了信息传输的安全性。The intelligent terminal in the embodiment of the present application encrypts the status indication information by using an encryption key, thereby improving the security of information transmission.
在一种可能的设计中,在本申请实施例第五方面的第二种实现方式中,所述处理器还用于执行如下步骤,包括:In a possible design, in a second implementation manner of the fifth aspect of the embodiments of the present application, the processor is further configured to perform the following steps, including:
通过修改所述第二信息增加扩展信息元素IE,使得所述扩展IE携带所述智能终端信息和所述状态指示信息。And adding the extended information element IE by modifying the second information, so that the extended IE carries the smart terminal information and the status indication information.
本申请实施例中,说明了发送第二信息之前对信息的处理,丰富了本申请的具体的实现方式。In the embodiment of the present application, the processing of the information before the second information is sent is described, which enriches the specific implementation manner of the application.
在一种可能的设计中,在本申请实施例第五方面的第三种实现方式中,所述处理器还用于执行如下步骤,包括: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:
唤醒Wi-Fi模块,所述Wi-Fi模块为所述智能终端自身所包含的模块,且所述Wi-Fi模块用于发送所述第二信息。Wake up the Wi-Fi module, the Wi-Fi module is a module included in the smart terminal itself, and the Wi-Fi module is configured to send the second information.
本申请实施例,智能终端在使用Wi-Fi模块发送信息之前,再唤醒所述Wi-Fi模块,可以降低所述智能终端的功耗。In the embodiment of the present application, the smart terminal wakes up the Wi-Fi module before sending the information by using the Wi-Fi module, so that the power consumption of the smart terminal can be reduced.
在一种可能的设计中,在本申请实施例第五方面的第四种实现方式中,所述第二信息为Wi-Fi Prob广播帧。In a possible design, in a fourth implementation manner of the fifth aspect of the embodiment, the second information is a Wi-Fi Prob broadcast frame.
本申请实施例具体说明了第二信息的存在形式,丰富了本申请的具体实现方式。The embodiment of the present application specifically describes the existence form of the second information, which enriches the specific implementation manner of the present application.
本申请实施例的第六方面提供一种Wi-Fi接入点,包括:A sixth aspect of the embodiments of the present application provides a Wi-Fi access point, including:
输入装置、输出装置、Wi-Fi模块、处理器和存储器;Input device, output device, Wi-Fi module, processor and memory;
所述Wi-Fi模块,用于执行如下步骤:The Wi-Fi module is configured to perform the following steps:
当Wi-Fi接入点和智能终端第一次建立连接时,接收所述智能终端发送的第一信息,所述第一信息包括用于所述智能终端设备注册的注册信息;Receiving first information sent by the smart terminal when the Wi-Fi access point and the smart terminal establish a connection for the first time, where the first information includes registration information for registration by the smart terminal device;
当所述Wi-Fi接入点和所述智能终端已断开连接,接收所述智能终端发送的第二信息,所述第二信息包括用于验证设备的智能终端信息和状态指示信息,且所述第二信息由所述智能终端接收到触发事件时,并通过自身所包含的Wi-Fi模块广播,所述触发事件和所述状态指示信息相对应;Receiving the second information sent by the smart terminal, where the Wi-Fi access point and the smart terminal are disconnected, the second information includes smart terminal information and status indication information used for verifying the device, and When the second information is received by the smart terminal, and is broadcast by the Wi-Fi module included in the second information, the trigger event corresponds to the status indication information;
所述处理器通过调用所述存储器存储的操作指令,用于执行如下步骤:The processor is configured to perform the following steps by calling an operation instruction stored in the memory:
根据接收到的所述智能终端信息确定所述智能终端是否已在所述Wi-Fi接入点中注册;Determining, according to the received smart terminal information, whether the smart terminal has been registered in the Wi-Fi access point;
当确定所述智能终端已注册时,获取所述状态指示信息。 When it is determined that the smart terminal has been registered, the status indication information is acquired.
本申请实施例中的智能终端和Wi-Fi接入点不需要建立连接就可以进行状态指示信息的传输,提高了信息的传输速度。The intelligent terminal and the Wi-Fi access point in the embodiment of the present application can perform the transmission of the status indication information without establishing a connection, thereby improving the transmission speed of the information.
在一种可能的设计中,在本申请实施例第六方面的第一种实现方式中,所述处理器还用于执行如下步骤,包括:In a possible design, in a first implementation manner of the sixth aspect of the embodiments, the processor is further configured to perform the following steps, including:
通过接收到的所述智能终端信息和所述注册信息作比对,确定所述智能终端是否已在所述Wi-Fi接入点中注册。And determining, by the received smart terminal information, the registration information, whether the smart terminal is registered in the Wi-Fi access point.
本申请实施例,具体说明了Wi-Fi接入点如何确定智能终端是否已在Wi-Fi接入点中注册过,丰富了本发明实施例的实现手段。The embodiment of the present application specifically describes how the Wi-Fi access point determines whether the smart terminal has been registered in the Wi-Fi access point, which enriches the implementation means of the embodiment of the present invention.
在一种可能的设计中,在本申请实施例第六方面的第二种实现方式中,所述处理器还用于执行如下步骤,包括:In a possible design, in a second implementation manner of the sixth aspect of the embodiments of the present application, the processor is further configured to perform the following steps, including:
根据接收到的所述私钥和所述公钥验证签名,确认所述智能终端的合法性;Confirming the validity of the smart terminal according to the received private key and the public key verification signature;
当确认所述智能终端已注册且确认所述智能终端的合法性时,所述Wi-Fi接入点获取所述状态指示信息。When it is confirmed that the smart terminal is registered and confirms the legality of the smart terminal, the Wi-Fi access point acquires the status indication information.
本申请实施例中,Wi-Fi接入点根据接收到的所述私钥和之前记录的智能终端的公钥验证签名,增加了信息传输的安全性。In the embodiment of the present application, the Wi-Fi access point verifies the signature according to the received private key and the public key of the previously recorded smart terminal, thereby increasing the security of information transmission.
在一种可能的设计中,在本申请实施例第六方面的第三种实现方式中,所述Wi-Fi模块还用于执行如下步骤,包括: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:
向所述智能终端发送加密密钥,以使得所述智能终端对所述状态指示信息进行加密,得到加密后的状态指示信息,所述加密密钥由所述Wi-Fi接入点生成。Sending an encryption key to the smart terminal, so that the smart terminal encrypts the status indication information to obtain encrypted status indication information, and the encryption key is generated by the Wi-Fi access point.
本申请实施例中,Wi-Fi接入点还会向智能终端发送加密密钥,为后续断开连接时的信息传输中的信息加密,增加了信息传输的安全性。In the embodiment of the present application, the Wi-Fi access point also sends an encryption key to the intelligent terminal to encrypt information in the information transmission during subsequent disconnection, thereby increasing the security of information transmission.
在一种可能的设计中,在本申请实施例第六方面的第四种实现方式中,所述Wi-Fi模块还用于执行如下步骤,包括:In a possible design, in a fourth implementation manner of the sixth aspect of the embodiments, the Wi-Fi module is further configured to perform the following steps, including:
向所述智能终端发送加密密钥,以使得所述智能终端对所述状态指示信息进行加密,得到加密后的状态指示信息,所述加密密钥由所述Wi-Fi接入点生成。Sending an encryption key to the smart terminal, so that the smart terminal encrypts the status indication information to obtain encrypted status indication information, and the encryption key is generated by the Wi-Fi access point.
本申请实施例中,Wi-Fi接入点需要对加密后的状态指示信息进行解密才能得到解密后的状态指示信息,增加了信息传输的安全性。In the embodiment of the present application, the Wi-Fi access point needs to decrypt the encrypted status indication information to obtain the decrypted status indication information, which increases the security of the information transmission.
在一种可能的设计中,在本申请实施例第六方面的第五种实现方式中,所述处理器还用于执行如下步骤,包括:In a possible design, in a fifth implementation manner of the sixth aspect of the embodiments, the processor is further configured to perform the following steps, including:
根据所述加密密钥对所述加密后的状态指示信息进行解密,获取解密后的状态指示信息。Decrypting the encrypted state indication information according to the encryption key, and acquiring the decrypted state indication information.
本申请实施例中,当Wi-Fi接入点获取到状态指示信息之后,会通知用户终端,使得用户终端执行相应的状态变化,增强了实施例的可操作性。In the embodiment of the present application, after the Wi-Fi access point obtains the status indication information, the user terminal is notified, so that the user terminal performs a corresponding state change, which enhances the operability of the embodiment.
本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。 Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
本申请实施例提供的技术方案中,当智能终端和Wi-Fi接入点第一次建立连接时,智能终端向Wi-Fi接入点发送第一信息,第一信息包括用于所述智能终端设备注册的注册信息;当智能终端和Wi-Fi接入点已断开连接,且智能终端接收到触发事件时,智能终端通过自身所包含Wi-Fi模块广播第二信息;其中,第二信息包括用于验证设备的智能终端信息和状态指示信息,智能终端信息用于Wi-Fi接入点确定智能终端是否已在Wi-Fi接入点中注册,状态指示信息与触发事件相对应,且状态指示信息用于当Wi-Fi接入点确定智能终端已注册时,Wi-Fi接入点获取状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。In the technical solution provided by the embodiment of the present application, when the smart terminal and the Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to the Wi-Fi access point, where the first information includes the smart information. Registration information registered by the terminal device; when the smart terminal and the Wi-Fi access point are disconnected, and the smart terminal receives the trigger event, the smart terminal broadcasts the second information through the Wi-Fi module included in the smart terminal; wherein, the second The information includes smart terminal information and status indication information for verifying the device, and the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, and the status indication information corresponds to the trigger event. And the status indication information is used when the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information. When the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
图1a为本申请实施例中的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario in an embodiment of the present application;
图1b为本申请实施例中的标准Wi-Fi协议的鉴权连接过程示意图;1b is a schematic diagram of an authentication connection process of a standard Wi-Fi protocol in an embodiment of the present application;
图2为本申请实施例中信息传输方法的一个实施例示意图;2 is a schematic diagram of an embodiment of an information transmission method according to an embodiment of the present application;
图3为本申请实施例中智能终端的一个实施例示意图;FIG. 3 is a schematic diagram of an embodiment of a smart terminal according to an embodiment of the present application;
图4为本申请实施例中智能终端的另一个实施例示意图;4 is a schematic diagram of another embodiment of a smart terminal according to an embodiment of the present application;
图5为本申请实施例中Wi-Fi接入点的一个实施例示意图;FIG. 5 is a schematic diagram of an embodiment of a Wi-Fi access point according to an embodiment of the present application; FIG.
图6为本申请实施例中Wi-Fi接入点的另一个实施例示意图;6 is a schematic diagram of another embodiment of a Wi-Fi access point in an embodiment of the present application;
图7为本申请实施例中智能终端的另一个实施例示意图;FIG. 7 is a schematic diagram of another embodiment of a smart terminal according to an embodiment of the present application;
图8为本申请实施例中Wi-Fi接入点的另一个实施例示意图。FIG. 8 is a schematic diagram of another embodiment of a Wi-Fi access point in an embodiment of the present application.
本申请实施例提供了一种信息传输方法及设备,用于节省标准Wi-Fi协议的鉴权连接过程,智能终端和Wi-Fi接入点快速实现从休眠状态到信息发送完成的过程,可降低功耗,提高信息的传输速度,优化用户体验。The embodiment of the present application provides an information transmission method and device, which are used to save the authentication connection process of the standard Wi-Fi protocol, and the intelligent terminal and the Wi-Fi access point quickly implement the process from the sleep state to the information transmission completion. Reduce power consumption, increase the speed of information transmission, and optimize the user experience.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present application and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本申请实施例可应用于如图1a所示的网络结构示意图,在现有技术中,该架构中的智能终端和Wi-Fi接入点需要通过标准Wi-Fi协议的鉴权连接过程建立连接之后,才能进行数据的传输。The embodiment of the present application can be applied to the network structure diagram shown in FIG. 1a. In the prior art, the smart terminal and the Wi-Fi access point in the architecture need to establish a connection through the authentication connection process of the standard Wi-Fi protocol. After that, data can be transferred.
智能终端和Wi-Fi接入点通过标准Wi-Fi协议的鉴权连接过程如图1b所示,智能终端广播探测请求,该探测请求包括智能终端自身的数据,当Wi-Fi接入点接收到该探测请求之后,会给该智能终端反馈一个探测响应,智能终端接收到探测相应之后,会给该Wi-Fi接入点发送认证请求,该认证请求包括智能终端的公钥等,Wi-Fi接入点接收到该认证请求 之后,会给该智能终端反馈一个认证响应,智能终端接收到该认证响应之后,会给Wi-Fi接入点发送关联请求,请求与Wi-Fi接入点建立关联,从而和Wi-Fi接入点进行数据交互,Wi-Fi接入点接收到关联请求之后,会给智能终端发送一个关联响应,使得智能终端和Wi-Fi接入点鉴权连接过程建立,智能终端和Wi-Fi接入点建立连接之后便可以进行数据交互。The authentication connection process of the smart terminal and the Wi-Fi access point through the standard Wi-Fi protocol is as shown in FIG. 1b, and the smart terminal broadcasts a probe request, which includes the data of the smart terminal itself, when the Wi-Fi access point receives After the probe request, the smart terminal is fed back a probe response. After receiving the probe response, the smart terminal sends an authentication request to the Wi-Fi access point, where the authentication request includes the public key of the smart terminal, etc., Wi- Fi access point receives the authentication request After that, the smart terminal feeds back an authentication response, and after receiving the authentication response, the smart terminal sends an association request to the Wi-Fi access point to request association with the Wi-Fi access point, thereby connecting with the Wi-Fi. The data is exchanged between the ingress points. After receiving the association request, the Wi-Fi access point sends an association response to the intelligent terminal, so that the intelligent terminal and the Wi-Fi access point authentication connection process are established, and the smart terminal and the Wi-Fi connection are connected. Data interaction can be performed after the ingress establishes a connection.
需要说明的是,Wi-Fi接入点可以为支持IEEE 802.11标准的设备,例如无线路由器、无线中继器、无线网卡、手机Wi-Fi及其他内置Wi-Fi模块的设备。It should be noted that the Wi-Fi access point may be a device supporting the IEEE 802.11 standard, such as a wireless router, a wireless repeater, a wireless network card, a mobile phone Wi-Fi, and other devices with a built-in Wi-Fi module.
如图2所示,本申请实施例提供一种信息传输方法,包括以下步骤:As shown in FIG. 2, the embodiment of the present application provides an information transmission method, including the following steps:
201、智能终端和Wi-Fi接入点建立连接。201. The smart terminal establishes a connection with the Wi-Fi access point.
其中,智能终端在初始状态下第一次和Wi-Fi接入点建立连接时,首先需要唤醒智能终端和Wi-Fi接入点,然后智能终端和Wi-Fi接入点通过标准Wi-Fi协议的鉴权连接过程建立连接。When the smart terminal establishes a connection with the Wi-Fi access point for the first time in the initial state, it first needs to wake up the smart terminal and the Wi-Fi access point, and then the smart terminal and the Wi-Fi access point pass the standard Wi-Fi. The authentication connection process of the protocol establishes a connection.
需要说明的是,智能终端在初始状态下和Wi-Fi接入点建立连接的主要目的是,智能终端在Wi-Fi接入点端完成设备注册和业务注册,使得智能终端和Wi-Fi接入点断开连接的时候,Wi-Fi接入点可以根据智能终端在Wi-Fi接入点端的注册信息确认智能终端的身份。It should be noted that the main purpose of establishing a connection between the smart terminal and the Wi-Fi access point in the initial state is that the smart terminal completes device registration and service registration at the Wi-Fi access point end, so that the smart terminal and the Wi-Fi connection are connected. When the in-point is disconnected, the Wi-Fi access point can confirm the identity of the smart terminal according to the registration information of the smart terminal at the Wi-Fi access point.
需要说明的是,智能终端在Wi-Fi接入点端完成设备注册和业务注册,即智能终端的智能终端信息和业务信息需要在Wi-Fi接入点侧记录,其中业务信息表示该智能终端向Wi-Fi接入点所传输的信息的类型。It should be noted that the smart terminal completes device registration and service registration at the Wi-Fi access point end, that is, the smart terminal information and service information of the smart terminal need to be recorded on the Wi-Fi access point side, where the service information indicates the smart terminal. The type of information transmitted to the Wi-Fi access point.
例如,当用户A在家里新安装一个内置Wi-Fi模块的烟雾报警器(智能终端)时,用户A首先需要对该烟雾报警器和家里的路由器(Wi-Fi接入点)建立连接。For example, when User A newly installs a smoke alarm (smart terminal) with a built-in Wi-Fi module at home, User A first needs to establish a connection between the smoke alarm and the home router (Wi-Fi access point).
202、智能终端向Wi-Fi接入点发送第一信息。202. The smart terminal sends the first information to the Wi-Fi access point.
当智能终端在初始状态下和Wi-Fi接入点建立连接,即智能终端和Wi-Fi接入点第一次建立连接的时候,智能终端会向Wi-Fi接入点发送第一信息,其中,该第一信息包括用于智能终端设备注册的注册信息和该智能终端的公钥,其中,注册信息可以包括该智能终端的形态信息和该智能终端的硬件地址MAC,其中,该智能终端的公钥用于后续Wi-Fi接入点验证智能终端的身份和合法性,该智能终端的形态信息携带有该智能终端的形状和大小等信息。When the smart terminal establishes a connection with the Wi-Fi access point in the initial state, that is, when the smart terminal and the Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to the Wi-Fi access point. The first information includes the registration information for the smart terminal device registration and the public key of the smart terminal, wherein the registration information may include the form information of the smart terminal and the hardware address MAC of the smart terminal, where the smart terminal The public key is used to verify the identity and legality of the smart terminal by the subsequent Wi-Fi access point. The shape information of the smart terminal carries information such as the shape and size of the smart terminal.
203、Wi-Fi接入点记录第一信息。203. The Wi-Fi access point records the first information.
当Wi-Fi接入点接收到第一信息之后,会记录该第一信息,完成该智能终端在Wi-Fi接入点端的设备注册和业务注册,以便后续智能终端和Wi-Fi接入点断开连接之后,Wi-Fi接入点根据记录的第一信息验证智能终端的身份和合法性。After the first information is received by the Wi-Fi access point, the first information is recorded, and the device registration and service registration of the smart terminal at the Wi-Fi access point end is completed, so that the smart terminal and the Wi-Fi access point are succeeded. After disconnecting, the Wi-Fi access point verifies the identity and legality of the smart terminal based on the first information recorded.
204、Wi-Fi接入点向智能终端发送加密密钥。204. The Wi-Fi access point sends an encryption key to the smart terminal.
Wi-Fi接入点可以随机生成加密密钥,并且Wi-Fi接入点自身会将该加密密钥记录下来,然后将该加密密钥发送至智能终端,智能终端接收到该加密密钥之后,将记录该加密密钥,以便后面利用该加密密钥对状态指示信息进行加密处理。The Wi-Fi access point can randomly generate an encryption key, and the Wi-Fi access point itself records the encryption key, and then sends the encryption key to the smart terminal. After receiving the encryption key, the smart terminal receives the encryption key. The encryption key will be recorded so that the status indication information can be encrypted later using the encryption key.
205、智能终端与Wi-Fi接入点断开连接。205. The smart terminal is disconnected from the Wi-Fi access point.
当智能终端与Wi-Fi接入点完成了步骤202至204,且智能终端与Wi-Fi接入点没有信息传输之后,智能终端与Wi-Fi接入点会断开连接,智能终端进入休眠状态。 After the smart terminal and the Wi-Fi access point complete steps 202 to 204, and the smart terminal and the Wi-Fi access point have no information transmission, the smart terminal and the Wi-Fi access point are disconnected, and the smart terminal enters the sleep state. status.
需要说明的是,智能终端和Wi-Fi接入点可以在智能终端和/或Wi-Fi接入点检测到信息传输完成后自动断开连接,还可以使用其他方式断开连接,例如通过用户手动断开连接,具体断开连接的方式此处不做限定。It should be noted that the smart terminal and the Wi-Fi access point may automatically disconnect after the smart terminal and/or the Wi-Fi access point detects that the information transmission is completed, and may also disconnect using other methods, for example, by using the user. Manual disconnection, the specific way to disconnect is not limited here.
206、智能终端唤醒自身的Wi-Fi模块。206. The smart terminal wakes up its own Wi-Fi module.
智能终端与Wi-Fi接入点断开连接之后,该智能终端在检测范围内感应到需要上报的事件时,且该Wi-Fi模块处于休眠状态时,为发送信息,该智能终端会唤醒自身所包含的Wi-Fi模块。After the smart terminal disconnects from the Wi-Fi access point, when the smart terminal senses an event that needs to be reported within the detection range, and the Wi-Fi module is in a sleep state, the smart terminal wakes up itself to send information. The included Wi-Fi module.
例如,用户A不在家,此时用户A家中的小孩在玩火,此时,燃烧所产生的烟雾超过了一定浓度,触发了安装在用户A家中的烟雾报警器,此时烟雾报警器会唤醒自身的Wi-Fi模块。For example, User A is not at home. At this time, the child in User A's home is playing with fire. At this time, the smoke generated by the combustion exceeds a certain concentration, triggering the smoke alarm installed in User A's home, and the smoke alarm will wake up. Its own Wi-Fi module.
207、智能终端根据加密密钥对状态指示信息进行加密。207. The smart terminal encrypts the status indication information according to the encryption key.
智能终端在检测范围内感应到需要上报的事件时,会用之前保存的加密密钥对状态指示信息进行加密,得到加密后的状态指示信息,其中,该状态指示信息与感应到的需要上报的事件相对应。When the smart terminal senses an event that needs to be reported in the detection range, the status indication information is encrypted by using the previously saved encryption key, and the encrypted status indication information is obtained, wherein the status indication information and the sensed need to be reported. The event corresponds.
其中,需要上报的事件与智能终端的类型有关,例如,如果该智能终端为烟雾报警器时,则,当烟雾报警器检测到检测范围内的烟雾浓度超过预设值时,则触发上报事件,此时该上报事件为烟雾浓度超过预设值。The event to be reported is related to the type of the smart terminal. For example, if the smart terminal is a smoke alarm, when the smoke alarm detects that the smoke concentration in the detection range exceeds a preset value, the report event is triggered. At this time, the reported event is that the smoke concentration exceeds the preset value.
208、智能终端向Wi-Fi接入点发送第二信息。208. The smart terminal sends the second information to the Wi-Fi access point.
当智能终端自身所包含的Wi-Fi模块被唤醒之后,智能终端向Wi-Fi接入点发送第二信息,其中,该第二信息包括用于验证设备的智能终端信息、该智能终端的私钥和加密后的状态指示信息,其中,该智能终端信息包括该智能终端的形态信息和该智能终端的MAC。After the Wi-Fi module included in the smart terminal itself is woken up, the smart terminal sends the second information to the Wi-Fi access point, where the second information includes the smart terminal information used to verify the device, and the private terminal of the smart terminal The key and the encrypted status indication information, wherein the smart terminal information includes form information of the smart terminal and a MAC of the smart terminal.
其中,第二信息可以由智能终端中的Wi-Fi模块通过Wi-Fi Prob广播帧发送,Wi-Fi Prob广播帧携带自定义信息元素(Information Element,IE)字段,该IE字段携带的信息为第二信息,其中,在发送第二信息之前,智能终端会通过修改第二信息增加扩展信息元素IE,使得扩展IE携带智能终端信息和状态指示信息,其中,修改后的IE字段为一个自定义IE字段,该自定义IE字段的一个形式可以如下所示,具体形式此处不做限定:The second information may be sent by the Wi-Fi module in the smart terminal through the Wi-Fi Prob broadcast frame, and the Wi-Fi Prob broadcast frame carries a Custom Information Element (IE) field, where the information carried in the IE field is The second information, wherein, before the second information is sent, the smart terminal adds the extended information element IE by modifying the second information, so that the extended IE carries the smart terminal information and the status indication information, where the modified IE field is a custom In the IE field, a form of the custom IE field can be as follows, and the specific form is not limited herein:
扩展IE Vendor SpecificExtended IE Vendor Specific
Element ID:221Element ID: 221
Length:3~255Length: 3 to 255
OUI:0x00-0xE0-0xFCOUI: 0x00-0xE0-0xFC
Data:Device Type+Version+Target MAC Address+Signature+Profile InfoData:Device Type+Version+Target MAC Address+Signature+Profile Info
·Device Type·Device Type
·增加Signature字段,智能硬件的身份认证信息,路由器使用公钥进行签名校验· Increase the Signature field, the identity authentication information of the intelligent hardware, and the router uses the public key for signature verification.
·增加Profile Info字段,可携带智能硬件状态信息· Add Profile Info field to carry intelligent hardware status information
例如,当烟雾报警器唤醒了自身的Wi-Fi模块之后,会通过该Wi-Fi模块发送Wi-Fi Prob广播帧,该Wi-Fi Prob广播帧携带通过修改Wi-Fi网络的Wi-Fi AP管理帧,该管理帧通过 增加扩展IE,携带设备的智能终端信息、设备的私钥和加密的状态指示信息。For example, when the smoke alarm wakes up its own Wi-Fi module, it sends a Wi-Fi Prob broadcast frame through the Wi-Fi module, which carries the Wi-Fi AP by modifying the Wi-Fi network. Management frame, the management frame passes The extended IE is added to carry the smart terminal information of the device, the private key of the device, and the encrypted status indication information.
209、Wi-Fi接入点根据接收到的智能终端信息确定该智能终端是否已在Wi-Fi接入点中注册并验证签名。209. The Wi-Fi access point determines, according to the received smart terminal information, whether the smart terminal has registered in the Wi-Fi access point and verifies the signature.
当Wi-Fi接入点接收到智能终端发送的第二信息之后,Wi-Fi接入点会将获取到的第二信息中的智能终端信息和智能终端与Wi-Fi接入点之前建立连接时所记录的注册信息进行比对,以确定智能终端的身份,并且根据获取到的第二信息中的私钥和智能终端与Wi-Fi接入点之前建立连接时所记录的公钥进行校验签名,以确认智能硬件的合法性,当比对注册信息正确,并通过校验签名,确认了智能硬件的合法性时,Wi-Fi接入点将根据加密密钥对加密后的状态指示信息进行解密,得到解密后的状态指示信息。After the Wi-Fi access point receives the second information sent by the smart terminal, the Wi-Fi access point establishes a connection between the smart terminal information and the smart terminal in the acquired second information and the Wi-Fi access point. The registration information recorded at the time is compared to determine the identity of the smart terminal, and is determined according to the private key in the acquired second information and the public key recorded when the smart terminal establishes a connection with the Wi-Fi access point. Verify the signature to confirm the legality of the intelligent hardware. When the registration information is correct and the verification signature is used to confirm the legality of the intelligent hardware, the Wi-Fi access point will indicate the encrypted status according to the encryption key pair. The information is decrypted to obtain the decrypted status indication information.
需要说明的是,当Wi-Fi接入点根据接收到的智能终端信息确定该智能终端没有在Wi-Fi接入点端注册过,则该Wi-Fi接入点不获取第二信息中的状态指示信息;当Wi-Fi接入点根据接收到的智能终端信息确定该智能终端在Wi-Fi接入点端注册过,但校验签名不通过,此时,该Wi-Fi接入点不获取第二信息中的状态指示信息。It should be noted that, when the Wi-Fi access point determines that the smart terminal is not registered at the Wi-Fi access point end according to the received smart terminal information, the Wi-Fi access point does not acquire the second information. Status indication information; when the Wi-Fi access point determines that the smart terminal is registered at the Wi-Fi access point end according to the received smart terminal information, but the verification signature does not pass, at this time, the Wi-Fi access point The status indication information in the second information is not acquired.
例如,当步骤201中所提到的路由器通过接收到的智能终端信息和之前所保存的烟雾报警器的注册信息对该烟雾报警器进行身份验证,并且根据保存的公钥和接收到的私钥进行校验签名,确认该烟雾报警器的合法性For example, the router mentioned in step 201 authenticates the smoke alarm by the received smart terminal information and the registration information of the previously saved smoke alarm, and according to the saved public key and the received private key. Verify the signature and confirm the legality of the smoke alarm
210、Wi-Fi接入点根据加密密钥对加密后的状态指示信息进行解密。210. The Wi-Fi access point decrypts the encrypted status indication information according to the encryption key.
当Wi-Fi接入点接收到包含加密后的状态指示信息的第二信息之后,且Wi-Fi接入点确认该智能终端已在Wi-Fi接入点端已注册过,并校验签名,且合法性认证通过时,会根据Wi-Fi接入点在和智能终端建立连接的时候生成的加密密钥对该加密后的状态指示信息进行解密,得到解密后的状态指示信息。After the Wi-Fi access point receives the second information including the encrypted status indication information, and the Wi-Fi access point confirms that the smart terminal has been registered at the Wi-Fi access point end, and verifies the signature When the legality authentication is passed, the encrypted status indication information is decrypted according to the encryption key generated by the Wi-Fi access point when establishing the connection with the smart terminal, and the decrypted status indication information is obtained.
例如,当路由器确认了该烟雾报警器的身份和合法性之后,将利用保存的加密密钥对加密的状态指示信息进行解密,读取状态指示信息。For example, after the router confirms the identity and legality of the smoke alarm, the encrypted status indication information is decrypted using the saved encryption key, and the status indication information is read.
211、Wi-Fi接入点根据状态指示信息向用户终端发送状态变化信息。211. The Wi-Fi access point sends status change information to the user terminal according to the status indication information.
当Wi-Fi接入点获取到解密后的状态指示信息之后,会根据该状态指示信息向用户终端发送状态变化信息,使得用户终端根据状态变化信息执行相应的状态变化。After the Wi-Fi access point obtains the decrypted status indication information, the status change information is sent to the user terminal according to the status indication information, so that the user terminal performs a corresponding status change according to the status change information.
例如,当路由器读取了解密后的状态指示信息之后,该路由器根据该状态指示信息通知用户A所携带的手机,该手机发出警报,提示用户A家中烟雾超过一定浓度。For example, after the router reads the decrypted status indication information, the router notifies the 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.
本申请实施例,当智能终端和Wi-Fi接入点第一次建立连接时,智能终端向Wi-Fi接入点发送第一信息,第一信息包括用于智能终端设备注册的注册信息;当智能终端和Wi-Fi接入点已断开连接,且智能终端接收到触发事件时,智能终端通过自身所包含Wi-Fi模块广播第二信息;其中,第二信息包括用于验证设备的智能终端信息和状态指示信息,智能终端信息用于Wi-Fi接入点确定智能终端是否已在Wi-Fi接入点中注册,状态指示信息与触发事件相对应,且状态指示信息用于当Wi-Fi接入点确定智能终端已注册时,Wi-Fi接入点获取状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。In the embodiment of the present application, when the smart terminal and the Wi-Fi access point establish a connection for the first time, the smart terminal sends the first information to the Wi-Fi access point, where the first information includes registration information for the smart terminal device registration; When the smart terminal and the Wi-Fi access point are disconnected, and the smart terminal receives the trigger event, the smart terminal broadcasts the second information by using the Wi-Fi module included in the smart terminal; wherein the second information includes the verification device Intelligent terminal information and status indication information, the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information corresponds to the trigger event, and the status indication information is used when When the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information. When the smart terminal and the Wi-Fi access point in the embodiment of the present application are disconnected and the information is transmitted again, the authentication connection process of the standard Wi-Fi protocol can be saved, and the information transmission speed is improved.
上面对本发明实施例中的信息传输方法进行了描述,下面对本发明实施例中的智能终 端进行描述,请参阅图3,本发明实施例中的智能终端包括:The information transmission method in the embodiment of the present invention is described above, and the following is the intelligent end in the embodiment of the present invention. For description, refer to FIG. 3, the smart terminal in the embodiment of the present invention includes:
第一发送单元301,用于当智能终端和Wi-Fi接入点第一次建立连接时,向Wi-Fi接入点发送第一信息,第一信息包括用于智能终端设备注册的注册信息;The
第二发送单元302,用于当智能终端和Wi-Fi接入点已断开连接,且智能终端接收到触发事件时,广播第二信息;a
其中,第二信息包括用于验证设备的智能终端信息和状态指示信息,智能终端信息用于Wi-Fi接入点确定智能终端是否已在Wi-Fi接入点中注册,状态指示信息与触发事件相对应,且状态指示信息用于当Wi-Fi接入点确定智能终端已注册时,Wi-Fi接入点获取状态指示信息。The second information includes smart terminal information and status indication information for the verification device, and the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information and the trigger The event corresponds, and the status indication information is used when the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information.
本申请实施例提供的技术方案中,当智能终端和Wi-Fi接入点第一次建立连接时,第一发送单元301向Wi-Fi接入点发送第一信息,第一信息包括用于智能终端设备注册的注册信息;当智能终端和Wi-Fi接入点已断开连接,且智能终端接收到触发事件时,第二发送单元302第二信息;其中,第二信息包括用于验证设备的智能终端信息和状态指示信息,智能终端信息用于Wi-Fi接入点确定智能终端是否已在Wi-Fi接入点中注册,状态指示信息与触发事件相对应,且状态指示信息用于当Wi-Fi接入点确定智能终端已注册时,Wi-Fi接入点获取状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。In the technical solution provided by the embodiment of the present application, when the smart terminal and the Wi-Fi access point establish a connection for the first time, the first sending
请参阅图4,本申请实施例中智能终端另一个实施例包括:Referring to FIG. 4, another embodiment of the smart terminal in the embodiment of the present application includes:
第一发送单元401,用于当智能终端和Wi-Fi接入点第一次建立连接时,向Wi-Fi接入点发送第一信息,第一信息包括用于智能终端设备注册的注册信息;The
加密单元402,用于根据加密密钥对状态指示信息进行加密,得到加密后的状态指示信息,加密密钥由Wi-Fi接入点在智能终端和Wi-Fi接入点第一次建立连接时生成,并发送至智能终端。The
唤醒单元403,用于唤醒Wi-Fi模块,Wi-Fi模块为智能终端自身所包含的模块,且Wi-Fi模块用于发送第二信息。The waking
修改单元404,用于通过修改第二信息增加扩展信息元素IE,使得扩展IE携带智能终端信息和状态指示信息。The modifying
第二发送单元405,用于当智能终端和Wi-Fi接入点已断开连接,且智能终端接收到触发事件时,通过自身所包含的Wi-Fi模块广播第二信息;a
其中,第二信息包括用于验证设备的智能终端信息和状态指示信息,智能终端信息用于Wi-Fi接入点确定智能终端是否已在Wi-Fi接入点中注册,状态指示信息与触发事件相对应,且状态指示信息用于当Wi-Fi接入点确定智能终端已注册时,Wi-Fi接入点获取状态指示信息。The second information includes smart terminal information and status indication information for the verification device, and the smart terminal information is used by the Wi-Fi access point to determine whether the smart terminal has been registered in the Wi-Fi access point, the status indication information and the trigger The event corresponds, and the status indication information is used when the Wi-Fi access point determines that the smart terminal has been registered, the Wi-Fi access point acquires the status indication information.
本申请实施例提供的技术方案中,当智能终端和Wi-Fi接入点第一次建立连接时,第一发送单元401向Wi-Fi接入点发送第一信息,第一信息包括用于智能终端设备注册的注册信息;当智能终端和Wi-Fi接入点已断开连接,且智能终端接收到触发事件时,第二发送单元405通过智能终端自身所包含Wi-Fi模块广播第二信息;其中,第二信息包括用于
验证设备的智能终端信息和状态指示信息,智能终端信息用于Wi-Fi接入点确定智能终端是否已在Wi-Fi接入点中注册,状态指示信息与触发事件相对应,且状态指示信息用于当Wi-Fi接入点确定智能终端已注册时,Wi-Fi接入点获取状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。In the technical solution provided by the embodiment of the present application, when the smart terminal and the Wi-Fi access point establish a connection for the first time, the first sending
上面对本发明实施例中的智能终端进行了描述,下面对本发明实施例中的Wi-Fi接入点进行描述,请参阅图5,本发明实施例中的Wi-Fi接入点包括:The smart terminal in the embodiment of the present invention is described above. The following describes the Wi-Fi access point in the embodiment of the present invention. Referring to FIG. 5, the Wi-Fi access point in the embodiment of the present invention includes:
第一接收单元501,用于当Wi-Fi接入点和智能终端第一次建立连接时,接收智能终端发送的第一信息,第一信息包括用于智能终端设备注册的注册信息;The
第二接收单元502,用于当Wi-Fi接入点和智能终端已断开连接,接收智能终端发送的第二信息,第二信息包括用于验证设备的智能终端信息和状态指示信息,且第二信息由智能终端接收到触发事件时,唤醒自身所包含的Wi-Fi模块,并通过Wi-Fi模块广播,触发事件和状态指示信息相对应;The
第一确定单元503,用于根据接收到的智能终端信息确定智能终端是否已在Wi-Fi接入点中注册;The first determining
获取单元504,用于当确定单元确定智能终端已注册时,获取状态指示信息。The obtaining
本申请实施例提供的技术方案中,当Wi-Fi接入点和智能终端第一次建立连接时,第一接收单元501接收智能终端发送的第一信息,第一信息包括用于智能终端设备注册的注册信息;当Wi-Fi接入点和智能终端已断开连接,第二接收单元502接收智能终端发送的第二信息,第二信息包括用于验证设备的智能终端信息和状态指示信息,且第二信息由智能终端接收到触发事件时,通过自身所包含的Wi-Fi模块广播,触发事件和状态指示信息相对应;第一确定单元503根据接收到的智能终端信息确定智能终端是否已在Wi-Fi接入点中注册;确定单元确定智能终端已注册时,获取单元504获取状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。In the technical solution provided by the embodiment of the present application, when the Wi-Fi access point and the smart terminal establish a connection for the first time, the
请参阅图6,本申请实施例中Wi-Fi接入点另一个实施例包括:Referring to FIG. 6, another embodiment of a Wi-Fi access point in this embodiment of the present application includes:
第一接收单元601,用于当Wi-Fi接入点和智能终端第一次建立连接时,接收智能终端发送的第一信息,第一信息包括用于智能终端设备注册的注册信息;The
第一发送单元602,用于向智能终端发送加密密钥,以使得智能终端对状态指示信息进行加密,得到加密后的状态指示信息,加密密钥由Wi-Fi接入点生成;The
第二接收单元603,用于当Wi-Fi接入点和智能终端已断开连接,接收智能终端发送的第二信息,第二信息包括用于验证设备的智能终端信息和状态指示信息,且第二信息由智能终端接收到触发事件时,唤醒自身所包含的Wi-Fi模块,并通过Wi-Fi模块广播,触发事件和状态指示信息相对应;The
第一确定单元604,用于根据接收到的智能终端信息确定智能终端是否已在Wi-Fi接入点中注册;The first determining
其中,第一确定单元604还包括:
The first determining
比对子单元6041,用于通过接收到的智能终端信息和注册信息作比对,确定智能终端是否已在Wi-Fi接入点中注册;The
第二确定单元605,用于根据接收到的私钥和公钥验证签名,确定智能终端的合法性;a second determining
解密单元606,用于根据加密密钥对加密后的状态指示信息进行解密,获取解密后的状态指示信息。The
获取单元607,用于当确定单元确定智能终端已注册时,获取状态指示信息;The obtaining
其中,获取单元607包括:The obtaining
获取子单元6071,用于当Wi-Fi接入点确认智能终端已注册且确认智能终端的合法性时,获取状态指示信息。The obtaining
第二发送单元608,用于根据状态指示信息向用户终端发送状态变化信息,以使得用户终端根据状态变化信息进行相应的状态变化。The
本申请实施例提供的技术方案中,当Wi-Fi接入点和智能终端第一次建立连接时,第一接收单元601接收智能终端发送的第一信息,第一信息包括用于智能终端设备注册的注册信息;当Wi-Fi接入点和智能终端已断开连接,第二接收单元603接收智能终端发送的第二信息,第二信息包括用于验证设备的智能终端信息和状态指示信息,且第二信息由智能终端接收到触发事件时,通过自身所包含的Wi-Fi模块广播,触发事件和状态指示信息相对应;第一确定单元504根据接收到的智能终端信息确定智能终端是否已在Wi-Fi接入点中注册;确定单元确定智能终端已注册时,获取单元607获取状态指示信息。本申请实施例中的智能终端和Wi-Fi接入点已断开连接,并再次进行信息传输时,可节省标准Wi-Fi协议的鉴权连接过程,提高了信息的传输速度。In the technical solution provided by the embodiment of the present application, when the Wi-Fi access point and the smart terminal establish a connection for the first time, the
请参阅图7,本申请实施例中智能终端另一个实施例包括:Referring to FIG. 7, another embodiment of the smart terminal in the embodiment of the present application includes:
图7是本发明实施例提供的一种智能终端结构示意图,该智能终端700可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)722(例如,一个或一个以上处理器)和存储器732,一个或一个以上存储应用程序742或数据744的存储介质730(例如一个或一个以上海量存储设备)。其中,存储器732和存储介质730可以是短暂存储或持久存储。存储在存储介质730的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对智能终端中的一系列指令操作。更进一步地,中央处理器722可以设置为与存储介质730通信,在智能终端700上执行存储介质730中的一系列指令操作。FIG. 7 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention. The smart terminal 700 may generate a large difference due to different configurations or performances, and may include one or more central processing units (CPUs) 722. (eg, one or more processors) and
智能终端700还可以包括一个或一个以上电源726,一个或一个以上有线或无线网络接口750,一个或一个以上输入输出接口758,和/或,一个或一个以上操作系统741,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The intelligent terminal 700 can also include one or
上述实施例中的存储介质730可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The
上述实施例中由智能终端所执行的步骤可以基于该图7所示的智能终端结构。 The steps performed by the smart terminal in the above embodiment may be based on the smart terminal structure shown in FIG.
请参阅图8,本申请实施例中Wi-Fi接入点另一个实施例包括:Referring to FIG. 8, another embodiment of a Wi-Fi access point in this embodiment of the present application includes:
图8是本发明实施例提供的一种Wi-Fi接入点结构示意图,该Wi-Fi接入点800可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)822(例如,一个或一个以上处理器)和存储器832,一个或一个以上存储应用程序842或数据844的存储介质830(例如一个或一个以上海量存储设备)。其中,存储器832和存储介质830可以是短暂存储或持久存储。存储在存储介质830的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对Wi-Fi接入点中的一系列指令操作。更进一步地,中央处理器822可以设置为与存储介质830通信,在Wi-Fi接入点800上执行存储介质830中的一系列指令操作。FIG. 8 is a schematic structural diagram of a Wi-Fi access point according to an embodiment of the present invention. The Wi-Fi access point 800 may have a large difference due to different configurations or performances, and may include one or more central processing units. (central processing units, CPU) 822 (eg, one or more processors) and
Wi-Fi接入点800还可以包括一个或一个以上电源826,一个或一个以上有线或无线网络接口850,一个或一个以上输入输出接口858,和/或,一个或一个以上操作系统841,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。Wi-Fi access point 800 may also include one or
上述实施例中由Wi-Fi接入点所执行的步骤可以基于该图8所示的Wi-Fi接入点结构。The steps performed by the Wi-Fi access point in the above embodiment may be based on the Wi-Fi access point structure shown in FIG.
上述实施例中的存储介质830可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘SolidState Disk(SSD))等。The
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。 The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Claims (37)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201780015500.4A CN108702705B (en) | 2017-02-22 | 2017-04-28 | An information transmission method and device |
| CN202110356429.4A CN113038464B (en) | 2017-02-22 | 2017-04-28 | An information transmission method and device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710097110 | 2017-02-22 | ||
| CN201710097110.8 | 2017-02-22 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018152961A1 true WO2018152961A1 (en) | 2018-08-30 |
Family
ID=63253479
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/082382 Ceased WO2018152961A1 (en) | 2017-02-22 | 2017-04-28 | Information transmission method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN108702705B (en) |
| WO (1) | WO2018152961A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111669818A (en) * | 2020-06-03 | 2020-09-15 | 维沃移动通信有限公司 | Wi-Fi control method, device and electronic device |
| CN111885598A (en) * | 2020-06-02 | 2020-11-03 | 普联国际有限公司 | A system and method for event sending of Wi-Fi devices |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| CN104640181A (en) * | 2013-11-11 | 2015-05-20 | 奥普林克通信公司 | Security system device power management |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100596084C (en) * | 2006-04-20 | 2010-03-24 | 华为技术有限公司 | System for mobile circuit domain user to access IMS network and registration method for access |
| 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, terminal authentication method and server, terminal |
| CN102547972A (en) * | 2011-12-23 | 2012-07-04 | 华为终端有限公司 | Method, equipment and system for registering intelligent home appliance |
| WO2014063331A1 (en) * | 2012-10-25 | 2014-05-01 | 华为终端有限公司 | Near field communication method and near field communications device |
| CN103716855A (en) * | 2013-12-31 | 2014-04-09 | 乐视致新电子科技(天津)有限公司 | Data transmission method of wireless workstation of intelligent television |
| KR102150659B1 (en) * | 2014-01-23 | 2020-09-01 | 삼성전자 주식회사 | A method for discovering devices based on a location information and apparatus thereof |
| CN104125605B (en) * | 2014-08-06 | 2017-07-28 | 广东欧珀移动通信有限公司 | A kind of implementation method and device for asking to set up WIFI connections |
| CN105763517B (en) * | 2014-12-17 | 2019-09-13 | 联芯科技有限公司 | A kind of method and system of Router Security access and control |
| CN105049442B (en) * | 2015-08-11 | 2018-06-15 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method for switching network and terminal |
| CN110234173B (en) * | 2016-05-04 | 2023-07-25 | 杭州博联智能科技股份有限公司 | Method for realizing rapid communication by wifi probe request and response packet |
| CN105871910B (en) * | 2016-05-31 | 2020-01-10 | 宇龙计算机通信科技(深圳)有限公司 | eSIM joint registration method and related equipment and system |
-
2017
- 2017-04-28 WO PCT/CN2017/082382 patent/WO2018152961A1/en not_active Ceased
- 2017-04-28 CN CN201780015500.4A patent/CN108702705B/en active Active
- 2017-04-28 CN CN202110356429.4A patent/CN113038464B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| CN104640181A (en) * | 2013-11-11 | 2015-05-20 | 奥普林克通信公司 | Security system device power management |
Non-Patent Citations (1)
| Title |
|---|
| JUNG-RYUN LEE ET AL.: "a New Beacon Management Method in Case of Congestion in Wireless LANs", VEHICULAR TECHNOLOGY CONFERENCE, 2005. VTC 2005-SPRING . 2005 IEEE 61ST, vol. 3, 5 December 2005 (2005-12-05), pages 2037 - 2040, XP055539931, ISSN: 1550-2252 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111885598A (en) * | 2020-06-02 | 2020-11-03 | 普联国际有限公司 | A system and method for event sending of Wi-Fi devices |
| CN111885598B (en) * | 2020-06-02 | 2024-05-03 | 普联国际有限公司 | Event sending realization system and method of Wi-Fi equipment |
| CN111669818A (en) * | 2020-06-03 | 2020-09-15 | 维沃移动通信有限公司 | Wi-Fi control method, device and electronic device |
| CN111669818B (en) * | 2020-06-03 | 2022-08-02 | 维沃移动通信有限公司 | Wi-Fi control method, device and electronic device |
| US12396058B2 (en) | 2020-06-03 | 2025-08-19 | Vivo Mobile Communication Co., Ltd. | Wi-Fi control method and apparatus and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108702705A (en) | 2018-10-23 |
| CN113038464A (en) | 2021-06-25 |
| CN108702705B (en) | 2021-04-09 |
| CN113038464B (en) | 2022-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113099443B (en) | Equipment authentication method, device, equipment and system | |
| US10546113B2 (en) | Proximity unlock and lock operations for electronic devices | |
| US8549658B2 (en) | Provisioning credentials for embedded wireless devices | |
| CN103888324B (en) | The method of electronic device, personal cloud equipment and system and the personal cloud equipment of registration | |
| US8392712B1 (en) | System and method for provisioning a unique device credential | |
| CN111465014B (en) | Security authentication method, configuration method and related equipment | |
| WO2017041675A1 (en) | Method for sending and acquiring wifi networking information and corresponding apparatus | |
| KR101743195B1 (en) | Method and apparatus for providing information, program and recording medium | |
| US8572698B1 (en) | Connecting a legacy wireless device to a WPS-enabled access point | |
| TW201132171A (en) | Methods and apparatus for solicited activation for protected wireless networking | |
| WO2018090830A1 (en) | Method and apparatus allowing smart terminal device to access internet | |
| WO2018000834A1 (en) | Wifi hotspot information modification method and device | |
| WO2022111187A1 (en) | Terminal authentication method and apparatus, computer device, and storage medium | |
| WO2009094942A1 (en) | Method and communication network system for establishing security conjunction | |
| CN110753330A (en) | Bluetooth pairing method and Bluetooth headset | |
| US9510130B2 (en) | Provisioning of multiple wireless devices by an access point | |
| WO2014127751A1 (en) | Wireless terminal configuration method, apparatus and wireless terminal | |
| JP2007202112A (en) | System and method for configuring electronic device to access wireless local area network | |
| WO2017012204A1 (en) | Wireless connection method, terminal, wireless access point and computer storage medium | |
| CN113301563A (en) | Network configuration method, device, equipment and storage medium | |
| WO2014161277A1 (en) | Method and system for connecting portable wlan hotspot | |
| CN113038464B (en) | An information transmission method and device | |
| JP4856700B2 (en) | Establishing a wireless universal serial bus (WUSB) connection via a trusted medium | |
| JP5721183B2 (en) | Wireless LAN communication system, wireless LAN base unit, communication connection establishment method, and program | |
| WO2016045347A1 (en) | Malicious attack detection method, terminal, and computer storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17897582 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17897582 Country of ref document: EP Kind code of ref document: A1 |