CN112512097A - Information processing method and device, electronic equipment and storage medium - Google Patents

Information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112512097A
CN112512097A CN202011297658.5A CN202011297658A CN112512097A CN 112512097 A CN112512097 A CN 112512097A CN 202011297658 A CN202011297658 A CN 202011297658A CN 112512097 A CN112512097 A CN 112512097A
Authority
CN
China
Prior art keywords
event message
access gateway
management frame
key
server
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.)
Pending
Application number
CN202011297658.5A
Other languages
Chinese (zh)
Inventor
解荣康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011297658.5A priority Critical patent/CN112512097A/en
Publication of CN112512097A publication Critical patent/CN112512097A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to an information processing method and device, an electronic device and a storage medium. The method is applied to the terminal equipment and comprises the following steps: when a trigger event aiming at the terminal equipment is detected, generating an event message corresponding to the trigger event; inserting the event message into a management frame of the wireless network communication; and sending the management frame carrying the event message to an access gateway so as to send the event message to a server through the access gateway. The event message is filled into the management frame, when wireless network communication is carried out, the event message is carried, after the access gateway receives the management frame, the event message can be directly extracted from the management frame, and the event message is reported to the server, so that the server instructs the linked electronic equipment to execute corresponding operation according to the event message, and the whole process only needs to carry out interaction once.

Description

Information processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet of things technology, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
The Internet of things is an important component of a new generation of information technology and is also an important development stage of the 'informatization' era. As the name implies, the Internet of things is the Internet with connected objects. Based on the development of the internet of things technology, various internet of things devices appear, for example, a doorbell, a video cat eye, a remote controller, a switch and the like with networking functions, and after the internet of things devices are added into a wireless network, the internet of things devices can be communicated with other devices.
However, in the networking process, the internet of things device needs to be connected with the access gateway first, and then logs in the server through the network of the access gateway, and then reports the event. On one hand, when the distance between the internet of things device and the access gateway is long or an obstacle exists between the internet of things device and the access gateway, the network signal received by the internet of things device is weak, the packet loss rate is high, and the user needs to retry repeatedly when the connection fails. On the other hand, the internet of things device needs to go through multiple steps of scanning, authentication, association, handshake and the like when being connected with the access gateway, which results in a quite long whole networking process.
Use thing networking device to be the doorbell that has networking function, access gateway is the router, treat that other equipment connected are the audio amplifier for the example, because most doorbell all are outdoors, the network signal that can receive is more weak, and it is longer to establish the connection process between doorbell and the router, can lead to the visitor to press the doorbell outdoors, probably must wait for longer time (for example 10 seconds), the audio amplifier of the linkage that has set up just can the jingle bell, and then reduces user experience and feels.
Disclosure of Invention
The disclosure provides an information processing method and device, an electronic device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method applied to a terminal device, including:
when a trigger event aiming at the terminal equipment is detected, generating an event message corresponding to the trigger event;
inserting the event message into a management frame of a wireless network communication;
and sending the management frame carrying the event message to an access gateway so as to send the event message to a server through the access gateway.
Optionally, the method further includes:
generating key information in response to successful connection to the access gateway based on the configured distribution network information;
the inserting the event message into a management frame of a wireless network communication includes:
encrypting the event message based on an encryption key in the key information to obtain an encrypted event message;
inserting the encrypted event message into the management frame.
Optionally, after generating the key information, the method further includes:
uploading a decryption key in the key information and the equipment identifier of the terminal equipment to the server;
wherein the decryption key is used to decrypt the encrypted event message.
Optionally, the method further includes:
broadcasting the management frame carrying the event message to at least one access gateway;
wherein the management frame includes: beacon frames, probe request frames, and/or probe response frames.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing method applied in an access gateway, the method including:
after detecting a management frame broadcasted based on a terminal device, extracting an event message from the management frame;
and sending the event message to a server.
Optionally, the extracting the event message from the management frame includes:
extracting the encrypted event message from the management frame; the encrypted event message is obtained by encrypting the event message by the terminal equipment based on an encryption key;
and decrypting the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
Optionally, the method further includes:
acquiring the decryption key from a preset storage space of the access gateway; alternatively, the first and second electrodes may be,
acquiring a device identifier of the terminal device;
and sending the key request carrying the equipment identifier to the server, and acquiring the decryption key from the server based on the equipment identifier.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing method applied in a server, the method including:
receiving an event message sent by an access gateway;
sending indication information aiming at the event message to a pre-configured electronic device;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
Optionally, the receiving the event message sent by the access gateway includes:
receiving a plurality of event messages sent by a plurality of access gateways;
the method further comprises the following steps:
filtering repeated messages in the event messages to obtain target event messages;
the sending of the indication information for the event message to the pre-configured electronic device includes:
and sending the indication information aimed at by the target event message to a pre-configured electronic device.
Optionally, the method further includes:
receiving a decryption key and a device identification of a terminal device from the terminal device;
when a key request sent by the access gateway is received, determining a decryption key corresponding to the equipment identifier carried in the key request;
sending a decryption key corresponding to the equipment identifier to the access gateway;
wherein the decryption key is used for decrypting the encrypted event message.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an information processing apparatus applied to a terminal device, including:
the terminal equipment comprises a first generation module, a second generation module and a processing module, wherein the first generation module is configured to generate an event message corresponding to a trigger event when the trigger event aiming at the terminal equipment is detected;
an insertion module configured to insert the event message into a management frame of a wireless network communication;
and the first sending module is configured to send the management frame carrying the event message to an access gateway so as to send the event message to a server through the access gateway.
Optionally, the apparatus further comprises:
the second generation module is configured to respond to the success of connecting the access gateway based on the configured distribution network information and generate key information;
the first sending module is further configured to:
encrypting the event message based on an encryption key in the key information to obtain an encrypted event message;
inserting the encrypted event message into the management frame.
Optionally, the apparatus further comprises:
a second sending module configured to upload a decryption key in the key information and the device identifier of the terminal device to the server;
wherein the decryption key is used to decrypt the encrypted event message.
Optionally, the apparatus further comprises:
a broadcast module configured to broadcast the management frame carrying the event message to at least one access gateway;
wherein the management frame includes: beacon frames, probe request frames, and/or probe response frames.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an information processing apparatus applied in an access gateway, the apparatus including:
the extraction module is configured to extract an event message from a management frame after the management frame broadcasted by the terminal equipment is detected;
a third sending module configured to send the event message to a server.
Optionally, the extracting module is further configured to:
extracting the encrypted event message from the management frame; the encrypted event message is obtained by encrypting the event message by the terminal equipment based on an encryption key;
and decrypting the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
Optionally, the apparatus further comprises:
a first obtaining module configured to obtain the decryption key from a preset storage space of the access gateway; alternatively, the first and second electrodes may be,
the second acquisition module is configured to acquire the device identifier of the terminal device;
and the third obtaining module is configured to send the key request carrying the device identifier to the server, and obtain the decryption key from the server based on the device identifier.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an information processing apparatus applied in a server, the apparatus including:
the first receiving module is configured to receive an event message sent by an access gateway;
the fourth sending module is configured to send the indication information for the event message to a pre-configured electronic device;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
Optionally, the first receiving module is further configured to:
receiving a plurality of event messages sent by a plurality of access gateways;
the device further comprises:
the filtering module is configured to filter repeated messages in the event messages to obtain target event messages;
the fourth sending module is further configured to:
and sending the indication information aimed at by the target event message to a pre-configured electronic device.
Optionally, the apparatus further comprises:
a second receiving module configured to receive a decryption key and a device identifier of a terminal device from the terminal device;
the determining module is configured to determine a decryption key corresponding to the device identifier carried in the key request when the key request sent by the access gateway is received;
a fifth sending module, configured to send the decryption key corresponding to the device identifier to the access gateway;
wherein the decryption key is used for decrypting the encrypted event message.
According to a seventh aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information processing method as described in the first aspect or the second aspect, or the third aspect described above.
According to an eighth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a terminal device, enable the terminal device to perform the information processing method as in the first aspect described above; or, when the instructions in said storage medium are executed by a processor of an access gateway, enabling the access gateway to perform the information processing method as described in the second aspect above; or, the instructions in the storage medium, when executed by a processor of a server, enable the server to perform the information processing method as described in the third aspect above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the foregoing embodiments, when a trigger event for a terminal device is detected, the present disclosure can generate an event message corresponding to the trigger event, insert the event message into a management frame of wireless network communication, and send the management frame carrying the event message to an access gateway in a networking process, so as to send the event message to a server through the access gateway.
In the embodiment of the disclosure, the event message is filled in the management frame, so that the event message is carried when the wireless network communication is performed, after the access gateway receives the management frame, the event message can be directly extracted from the management frame, and the event message is reported to the server, so that the server instructs the linked electronic device to perform corresponding operation according to the event message, and the whole process only needs to perform interaction once.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a first flowchart illustrating an information processing method according to an embodiment of the present disclosure.
Fig. 2 is a schematic flow chart of an information processing method according to an embodiment of the present disclosure.
Fig. 3 is a flowchart three of an information processing method shown in the embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating an information processing method according to an embodiment of the disclosure.
Fig. 5 is a block diagram of an information processing apparatus shown in accordance with an example embodiment.
Fig. 6 is a block diagram of an information processing apparatus shown in accordance with an exemplary embodiment.
Fig. 7 is a block diagram of an information processing apparatus shown in accordance with an exemplary embodiment.
Fig. 8 is a block diagram one of an information processing apparatus shown according to an exemplary embodiment.
Fig. 9 is a block diagram two of an information processing apparatus shown according to an exemplary embodiment.
Fig. 10 is a block diagram three illustrating an information processing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic flow chart of an information processing method shown in an embodiment of the present disclosure, which is applied to a terminal device, and as shown in fig. 1, the information processing method applied to the terminal device includes the following steps:
in step 101, when a trigger event for the terminal device is detected, generating an event message corresponding to the trigger event;
inserting the event message into a management frame of a wireless network communication in step 102;
in step 103, the management frame carrying the event message is sent to an access gateway, so that the event message is sent to a server through the access gateway.
In the embodiment of the disclosure, the terminal device is an internet of things device capable of performing information interaction with other devices, and includes an intelligent home device capable of automatically moving or not automatically moving, for example: doorbell, video cat eye, remote controller, switch, robot of sweeping the floor, intelligent audio amplifier or intelligent TV.
Taking a terminal device including a Wireless Fidelity (Wi-Fi) module as an example, the terminal device may perform information interaction with other devices based on the Wi-Fi module. Here, taking the terminal device as a doorbell as an example, the doorbell can perform information interaction based on a built-in Wi-Fi module and a smart speaker. Taking the terminal device as an intelligent sound box as an example, the intelligent sound box performs information interaction with the intelligent television based on a built-in Wi-Fi module.
When the terminal equipment performs information interaction with other equipment, the terminal equipment needs to establish connection with the access gateway in advance, and after the terminal equipment is added into a network supported by the access gateway, the information interaction with other equipment in a local area network can be realized. In the implementation process, the terminal device can acquire the distribution network information of the access gateway, and can establish connection with the access gateway after acquiring the distribution network information of the access gateway.
In the embodiment of the disclosure, the access gateway may be a router, a smart speaker, or other devices that provide a distribution network service. The distribution network information at least comprises a wireless network identifier and also can comprise a password corresponding to the wireless network identifier. For example, for public networks without passwords, the distribution network information may include the wireless network identifier, and for private networks, the distribution network information may include the wireless network identifier and the password. The wireless network Identifier may be a Service Set Identifier (SSID), and the SSID is used to distinguish different networks. The SSID may be the name of a lan in which devices set to the same SSID value may communicate with each other.
In the embodiment of the present disclosure, after the connection between the terminal device and the access gateway is established, a trigger event for the terminal device may be detected, and when the trigger event for the terminal device is detected, an event message corresponding to the trigger event is generated. Here, the trigger event may be a press operation, a click operation, a touch operation, or the like for the terminal device, and the event message corresponding to the trigger event may be data that is generated based on the trigger event and that characterizes the trigger event and that can be recognized by a computer.
Taking the example that the terminal device is a push type doorbell, the trigger event may be a push operation for a control on the doorbell. Taking the example that the terminal device is a touch doorbell, the trigger event may be a touch operation for a touch screen on the doorbell. In the implementation process, if a trigger event for the doorbell is detected, an event message may be generated based on the trigger event, where the event message may be a field generated based on the trigger event, and may be binary data or characters, for example, as long as the data can be inserted into the management frame.
In the embodiment of the present disclosure, after generating the event message, the event message may be inserted into a management frame of the wireless network communication, where the management frame is mainly used to assist management of the data frame, and the generating of the event message may include: beacon (beacon) frames, Probe Request (Probe Request) frames, and Probe Response (Probe Response) frames, etc.
Here, the beacon frame, the probe request frame, and the probe response frame belong to a management frame specified in the Wi-Fi 802.11 standard, and in the implementation process, a Vendor Specific element (Vendor Specific element) may be defined in the beacon frame, the probe request frame, and/or the probe response frame, and may be used to carry Vendor Specific data. In the embodiment of the disclosure, the event message can be inserted into the vendor-defined element, and the vendor-defined element carries the event message, so that the event message of the access gateway is broadcasted in the local area network. In other embodiments, since the event message belongs to the user privacy data, in order to enhance data security, a corresponding encryption mechanism may also be used for data protection.
For example, Vendor Specific elements (Vendor Specific elements) may include: the custom Identifier (Organization Identifier), which is 4 bytes long, may be a vendor Identifier, such as 50EC50h (lower case h is expressed in hexadecimal) for indicating the movement of millet. The vendor custom elements may also include: the data field (Vendor Specific content) does not exceed 251 bytes, and the data field can carry the event message in the application.
In the embodiment of the present disclosure, after inserting the event message into the management frame, the terminal device may send the management frame carrying the event message to the access gateway, and after receiving the management frame, the access gateway may extract the event message from the management frame and send the event message to the server.
Taking the example that the terminal device is a doorbell and the access gateway is a router, in an implementation process, after a pressing operation for the doorbell is detected, an event message may be generated based on the pressing operation, the event message is inserted into a management frame, and the management frame carrying the event message is sent to the router, so that the router extracts the event message from the management frame and sends the event message to the server. In this way, the server can execute the operation corresponding to the pressing operation in conjunction with another electronic device directly based on the event message. For example, the server may instruct the smart speaker to ring based on the event message.
In the embodiment of the disclosure, when a trigger event for a terminal device is detected, an event message corresponding to the trigger event can be generated, the event message is inserted into a management frame of wireless network communication, and in a networking process, the management frame carrying the event message is sent to an access gateway, so that the event message is sent to a server through the access gateway.
In the embodiment of the disclosure, the event message is filled in the management frame, so that the event message is carried when the wireless network communication is performed, after the access gateway receives the management frame, the event message can be directly extracted from the management frame, and the event message is reported to the server, so that the server instructs the linked electronic device to perform corresponding operation according to the event message, and the whole process only needs to perform interaction once.
In some embodiments, the method further comprises:
generating key information in response to successful connection to the access gateway based on the configured distribution network information;
the inserting the event message into a management frame of a wireless network communication includes:
encrypting the event message based on an encryption key in the key information to obtain an encrypted event message;
inserting the encrypted event message into the management frame.
Here, when the terminal device and the access gateway successfully distribute the network, key information may be generated, where the key information may include: an encryption key and a decryption key. In the implementation, the key information may be generated based on a random algorithm. In the embodiment of the present disclosure, the key information may include: symmetric key information and asymmetric key information. When the key information is symmetric key information, the encryption key and the decryption key are the same; when the key information is asymmetric key information, the encryption key and the decryption key are different.
Or taking the terminal device as a doorbell as an example, when the doorbell detects a press operation, the event message corresponding to the press operation may be encrypted by using the encryption key. In other embodiments, after obtaining the encrypted event message, the terminal device may broadcast and transmit the encrypted event message.
In the embodiment of the present disclosure, before inserting the event message into the management frame, the event message may be encrypted based on the encryption key in the key information, and then the encrypted event message obtained by encryption may be inserted into the management frame. In other embodiments, the event message may also be encrypted based on a preset encryption algorithm to obtain an encrypted event message. For example, the event message may be encrypted based on an Advanced Encryption Standard (AES) algorithm. Because the event message belongs to the user privacy data, in the embodiment of the disclosure, the event message can be encrypted first, and then the insertion operation is executed, so that the security of data transmission can be enhanced.
In some embodiments, after generating the key information, the method further comprises:
uploading a decryption key in the key information and the equipment identifier of the terminal equipment to the server;
wherein the decryption key is used to decrypt the encrypted event message.
Here, after the key information is generated, the decryption key in the key information and the device identification of the terminal device may be uploaded to the server. In this way, after receiving the encrypted event message sent by the terminal device, the access gateway may obtain a decryption key from the server based on the device identifier of the terminal device, so as to decrypt the received encrypted event message.
Because the distance between the terminal equipment and the access gateway is long or an obstacle exists between the terminal equipment and the access gateway, the information interaction between the terminal equipment and the access gateway is difficult, under the condition that the decryption key is not pre-stored locally in the access gateway, if the decryption key is obtained from the terminal equipment again, the time is consumed, at the moment, if the access gateway directly obtains the decryption key from the server, the method is more convenient and faster, and the success rate is high.
In the embodiment of the disclosure, after the decryption key is generated, the decryption key can be sent to the server for backup, so that the access gateway can quickly and timely acquire the decryption key when the access gateway needs the decryption key.
In some embodiments, the method further comprises:
broadcasting the management frame carrying the event message to at least one access gateway;
wherein the management frame includes: beacon frames, probe request frames, and/or probe response frames.
In the embodiment of the present disclosure, after inserting the event message into the management frame, the terminal device may broadcast the management frame carrying the event message to at least one access gateway. For example, a management frame carrying an event message may be broadcast to multiple access gateways, and since the management frame is directly sent to one access gateway, if a network signal is not good, data loss may be caused.
Fig. 2 is a schematic flow chart of an information processing method shown in the embodiment of the present disclosure, and as shown in fig. 2, the information processing method applied in the access gateway includes the following steps:
in step 201, after a management frame broadcasted by a terminal device is detected, extracting an event message from the management frame;
in step 202, the event message is sent to a server.
Here, the event message may be generated by the terminal device based on the detected trigger event. The trigger event may be a press operation, a click operation, a touch operation, or the like for the terminal device, and the event message corresponding to the trigger event may be data that is generated based on the trigger event and is used for characterizing the trigger event and can be identified by a computer.
Taking the example that the terminal device is a push type doorbell, the trigger event may be a push operation for a control on the doorbell. Taking the example that the terminal device is a touch doorbell, the trigger event may be a touch operation for a touch screen on the doorbell. In the implementation process, if a trigger event for the doorbell is detected, an event message may be generated based on the trigger event, where the event message may be a field generated based on the trigger event, and may be binary data or characters, for example, as long as the data can be inserted into the management frame.
In the embodiment of the present disclosure, after generating the event message, the event message may be inserted into a management frame of the wireless network communication, where the management frame is mainly used to assist management of the data frame, and the generating of the event message may include: beacon frames, probe request frames, and probe response frames, etc.
In an implementation, Vendor Specific elements (Vendor Specific elements) may be defined in the beacon frame, probe request frame, and/or probe response frame, which may be used to carry Vendor Specific data. In the embodiment of the disclosure, the event message can be inserted into the vendor-defined element, and the vendor-defined element carries the event message, so that the event message of the access gateway is broadcasted in the local area network.
In the embodiment of the present disclosure, after inserting the event message into the management frame, the terminal device may send the management frame carrying the event message to the access gateway, and after receiving the management frame, the access gateway may extract the event message from the management frame and send the event message to the server.
Taking the example that the terminal device is a doorbell and the access gateway is a router, in the implementation process, after the router receives the management frame carrying the event message, the event message can be extracted from the management frame, and the event message is sent to the server. In this way, the server can execute the operation corresponding to the pressing operation in conjunction with another electronic device directly based on the event message. For example, the server may instruct the smart speaker to ring based on the event message.
In the embodiment of the disclosure, the event message is filled in the management frame, so that the event message is carried when the wireless network communication is performed, after the access gateway receives the management frame, the event message can be directly extracted from the management frame, and the event message is reported to the server, so that the server instructs the linked electronic device to perform corresponding operation according to the event message, and the whole process only needs to perform interaction once.
In some embodiments, said extracting the event message from the management frame comprises:
extracting the encrypted event message from the management frame; the encrypted event message is obtained by encrypting the event message by the terminal equipment based on an encryption key;
and decrypting the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
Here, when the terminal device and the access gateway successfully distribute the network, key information may be generated, where the key information may include: an encryption key and a decryption key. In the implementation, the key information may be generated based on a random algorithm. In the embodiment of the present disclosure, the key information may include: symmetric key information and asymmetric key information. When the key information is symmetric key information, the encryption key and the decryption key are the same; when the key information is asymmetric key information, the encryption key and the decryption key are different.
Or taking the terminal device as a doorbell as an example, when the doorbell detects a press operation, the event message corresponding to the press operation may be encrypted by using the encryption key. In other embodiments, after obtaining the encrypted event message, the terminal device may broadcast the encrypted event message to the access gateway.
After receiving the encrypted event message, the access gateway may decrypt the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
In the embodiment of the disclosure, since the event message belongs to the user privacy data, before the event message is inserted into the management frame, the event message may be encrypted based on an encryption key in the key information, and then the encrypted event message obtained by encryption is inserted into the management frame, and the management frame into which the encrypted event message is inserted is sent to the access gateway. By the method and the device, the security of data transmission can be enhanced by encrypting the event message and then executing the inserting operation.
In other embodiments, the event message may also be encrypted based on a preset encryption algorithm to obtain an encrypted event message. For example, the event message may be encrypted based on an Advanced Encryption Standard (AES) algorithm.
In some embodiments, the method further comprises:
acquiring the decryption key from a preset storage space of the access gateway; alternatively, the first and second electrodes may be,
acquiring a device identifier of the terminal device;
and sending the key request carrying the equipment identifier to the server, and acquiring the decryption key from the server based on the equipment identifier.
Here, in an aspect, after the key information is generated, the decryption key in the key information and the device identification of the terminal device may be uploaded to the server. In this way, after receiving the encrypted event message sent by the terminal device, the access gateway may obtain a decryption key from the server based on the device identifier of the terminal device, so as to decrypt the received encrypted event message.
Because the distance between the terminal equipment and the access gateway is long or an obstacle exists between the terminal equipment and the access gateway, the information interaction between the terminal equipment and the access gateway is difficult, under the condition that the decryption key is not pre-stored locally in the access gateway, if the decryption key is obtained from the terminal equipment again, the time is consumed, at the moment, if the access gateway directly obtains the decryption key from the server, the method is more convenient and faster, and the success rate is high.
In the embodiment of the disclosure, after the decryption key is generated, the decryption key can be sent to the server for backup, so that the access gateway can quickly and timely acquire the decryption key when the access gateway needs the decryption key.
On the other hand, the decryption key can be directly stored in the preset storage space of the access gateway in advance, so that when the access gateway needs the decryption key, the decryption key can be directly read from the preset storage space, and compared with the decryption key obtained from the terminal equipment or the server, the decryption key is more convenient and faster.
Fig. 3 is a flowchart three of an information processing method shown in the embodiment of the present disclosure, which is applied to a server, and as shown in fig. 3, the information processing method applied to the server includes the following steps:
in step 301, receiving an event message sent by an access gateway;
in step 302, sending indication information for the event message to a pre-configured electronic device;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
Here, the access gateway may extract an event message from the management frame and transmit the event message to the server after receiving the management frame, and the server may receive the event message transmitted by the access gateway.
Taking the example that the terminal device is a doorbell and the access gateway is a router, in an implementation process, after a pressing operation for the doorbell is detected, an event message may be generated based on the pressing operation, the event message is inserted into a management frame, and the management frame carrying the event message is sent to the router, so that the router extracts the event message from the management frame and sends the event message to the server.
In this way, the server can generate instruction information directly based on the event message, and can execute an operation corresponding to the pressing operation in association with another electronic device by the instruction information. For example, the server may instruct the smart speaker to ring based on the event message.
In some embodiments, the receiving the event message sent by the access gateway includes:
receiving a plurality of event messages sent by a plurality of access gateways;
the method further comprises the following steps:
filtering repeated messages in the event messages to obtain target event messages;
the sending of the indication information for the event message to the pre-configured electronic device includes:
and sending the indication information aimed at by the target event message to a pre-configured electronic device.
Here, since the server receives a plurality of event messages sent by a plurality of access gateways, since each terminal device can broadcast the event messages to the plurality of access gateways at the same time, some of the plurality of event messages may be mutually repeated, and in this case, if the server processes each event message, repeated operations may be caused, and the amount of data to be processed may be increased, which increases the load on the server.
In the embodiment of the disclosure, after receiving a plurality of event messages, filtering repeated messages in the plurality of event messages, filtering the repeated event messages to obtain target event messages, and after obtaining the target event messages, generating indication information based on the target event messages, and sending the indication information to the pre-configured electronic device to control the pre-configured electronic device to execute corresponding operations.
For example, if the terminal device is a doorbell and the preconfigured electronic device is a smart speaker, the event message may be a message generated based on a pressing operation, and the finally generated indication information may be information indicating that the preconfigured smart speaker rings.
In the embodiment of the disclosure, through the filtering operation, the event messages which are repeated mutually can be filtered, and then the electronic device to which the event message is directed is accurately determined, so that the accuracy of information processing can be improved.
In some embodiments, the method further comprises:
receiving a decryption key and a device identification of a terminal device from the terminal device;
when a key request sent by the access gateway is received, determining a decryption key corresponding to the equipment identifier carried in the key request;
sending a decryption key corresponding to the equipment identifier to the access gateway;
wherein the decryption key is used for decrypting the encrypted event message.
Here, after the key information is generated, the decryption key in the key information and the device identification of the terminal device may be uploaded to the server. In this way, after receiving the encrypted event message sent by the terminal device, the access gateway may obtain a decryption key from the server based on the device identifier of the terminal device, so as to decrypt the received encrypted event message.
Because the distance between the terminal equipment and the access gateway is long or an obstacle exists between the terminal equipment and the access gateway, the information interaction between the terminal equipment and the access gateway is difficult, under the condition that the decryption key is not pre-stored locally in the access gateway, if the decryption key is obtained from the terminal equipment again, the time is consumed, at the moment, if the access gateway directly obtains the decryption key from the server, the method is more convenient and faster, and the success rate is high.
In the embodiment of the disclosure, after the decryption key is generated, the decryption key can be sent to the server for backup, so that the access gateway can quickly and timely acquire the decryption key when the access gateway needs the decryption key.
Fig. 4 is a flowchart of an information processing method shown in this embodiment of the present disclosure, and as shown in fig. 4, the information processing method is applied to a terminal device, an access gateway, and a server, and includes the following steps:
in step 401, the terminal device generates key information in response to a success of connecting to the access gateway based on the configured distribution network information.
Here, when the terminal device and the access gateway successfully distribute the network, key information may be generated, where the key information may include: an encryption key and a decryption key. In the implementation, the key information may be generated based on a random algorithm. In the embodiment of the present disclosure, the key information may include: symmetric key information and asymmetric key information. When the key information is symmetric key information, the encryption key and the decryption key are the same; when the key information is asymmetric key information, the encryption key and the decryption key are different.
Or taking the terminal device as a sensor device (e.g., a doorbell) as an example, when the network distribution between the sensor device and the access gateway is successful, key information may be generated, and a decryption key in the key information and a device identifier of the terminal device may be uploaded to the server and synchronized to the access gateway through the server. That is, after the sensor device and the access gateway complete the distribution of the network, the key information is randomly generated and uploaded to the server, and when the access gateway (e.g., a router) subsequently receives a trigger event, the access gateway obtains the key information from the server.
In step 402, the terminal device encrypts the event message based on the encryption key in the key information, and inserts the encrypted event message into the management frame.
Or taking the terminal device as a doorbell as an example, when the doorbell detects a press operation, the event message corresponding to the press operation may be encrypted by using the encryption key. In other embodiments, after obtaining the encrypted event message, the terminal device may broadcast and transmit the encrypted event message, for example, using a request frame (probe request). In some embodiments, since the probe request frame is in a broadcast form, the encryption key may also be referred to as a broadcast key.
In other embodiments, the event message may also be encrypted based on a preset encryption algorithm to obtain an encrypted event message. For example, the event message may be encrypted based on the AES algorithm.
In step 403, the terminal device broadcasts a management frame carrying an event message to at least one access gateway.
In the implementation process, an Access gateway (e.g., a router) may start at least one hidden Access Point (AP) of a Service Set Identifier (SSID) without broadcasting the SSID of the Access gateway, where the SSID is used to distinguish different networks.
In step 404, the access gateway extracts the encrypted event message from the management frame, and decrypts the encrypted event message based on the decryption key to obtain the event message.
Here, when the access gateway within the set range of the terminal device receives the broadcast, the encrypted event message may be decrypted using the decryption key. In some embodiments, there may be multiple access gateways within the set range of the terminal device.
In some embodiments, the decryption key may be cached in a local preset storage space of the access gateway in advance, so that when the decryption key is needed, the decryption key may be directly obtained from the preset storage space. In other embodiments, the access gateway may obtain the decryption key from the server according to the device identifier of the terminal device when the decryption key is not locally cached at the access gateway. The device identifier of the terminal device includes: the Media Access Control Address (MAC) or other unique identifier of the device is not limited to specific one as long as it can be used to identify the terminal device.
In step 405, the access gateway sends an event message to the server.
In step 406, the server performs filtering processing on the repeated messages in the plurality of event messages to obtain a target event message.
Here, since the server receives a plurality of event messages sent by a plurality of access gateways, since each terminal device can broadcast the event messages to the plurality of access gateways at the same time, some of the plurality of event messages may be mutually repeated, and in this case, if the server processes each event message, repeated operations may be caused, and the amount of data to be processed may be increased, which increases the load on the server.
In the embodiment of the disclosure, after receiving a plurality of event messages, filtering repeated messages in the plurality of event messages, filtering the repeated event messages to obtain target event messages, and after obtaining the target event messages, generating indication information based on the target event messages, and sending the indication information to the pre-configured electronic device to control the pre-configured electronic device to execute corresponding operations.
For example, if the terminal device is a doorbell and the preconfigured electronic device is a smart speaker, the event message may be a message generated based on a pressing operation, and the finally generated indication information may be information indicating that the preconfigured smart speaker rings.
In the embodiment of the disclosure, through the filtering operation, the event messages which are repeated mutually can be filtered, and then the electronic device to which the event message is directed is accurately determined, so that the accuracy of information processing can be improved.
In step 407, the server transmits indication information for the target event message to the pre-configured electronic device.
Fig. 5 is a block diagram of an information processing apparatus shown in accordance with an example embodiment. As shown in fig. 5, the information processing apparatus 500 is applied to a terminal device, and mainly includes:
a first generating module 501, configured to generate an event message corresponding to a trigger event when the trigger event for the terminal device is detected;
an insertion module 502 configured to insert the event message into a management frame of a wireless network communication;
a first sending module 503, configured to send the management frame carrying the event message to an access gateway, so as to send the event message to a server through the access gateway.
In some embodiments, the apparatus 500 further comprises:
the second generation module is configured to respond to the success of connecting the access gateway based on the configured distribution network information and generate key information;
the first sending module 503 is further configured to:
encrypting the event message based on an encryption key in the key information to obtain an encrypted event message;
inserting the encrypted event message into the management frame.
In some embodiments, the apparatus 500 further comprises:
a second sending module configured to upload a decryption key in the key information and the device identifier of the terminal device to the server;
wherein the decryption key is used to decrypt the encrypted event message.
In some embodiments, the apparatus 500 further comprises:
a broadcast module configured to broadcast the management frame carrying the event message to at least one access gateway;
wherein the management frame includes: beacon frames, probe request frames, and/or probe response frames.
Fig. 6 is a block diagram of an information processing apparatus shown in accordance with an exemplary embodiment. As shown in fig. 6, the information processing apparatus 600 is applied to an access gateway, and mainly includes:
an extraction module 601 configured to extract an event message from a management frame broadcast by a terminal device after the management frame is detected;
a third sending module 602 configured to send the event message to a server.
In some embodiments, the extraction module 601 is further configured to:
extracting the encrypted event message from the management frame; the encrypted event message is obtained by encrypting the event message by the terminal equipment based on an encryption key;
and decrypting the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
In some embodiments, the apparatus 600 further comprises:
a first obtaining module configured to obtain the decryption key from a preset storage space of the access gateway; alternatively, the first and second electrodes may be,
the second acquisition module is configured to acquire the device identifier of the terminal device;
and the third obtaining module is configured to send the key request carrying the device identifier to the server, and obtain the decryption key from the server based on the device identifier.
Fig. 7 is a block diagram of an information processing apparatus shown in accordance with an exemplary embodiment. As shown in fig. 7, the information processing apparatus 700, which is applied to a server, mainly includes:
a first receiving module 701 configured to receive an event message sent by an access gateway;
a fourth sending module 702 configured to send, to a pre-configured electronic device, indication information for which the event message is intended;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
In some embodiments, the first receiving module 701 is further configured to:
receiving a plurality of event messages sent by a plurality of access gateways;
the apparatus 700 further comprises:
the filtering module is configured to filter repeated messages in the event messages to obtain target event messages;
the fourth sending module 702 is further configured to:
and sending the indication information aimed at by the target event message to a pre-configured electronic device.
In some embodiments, the apparatus 700 further comprises:
a second receiving module configured to receive a decryption key and a device identifier of a terminal device from the terminal device;
the determining module is configured to determine a decryption key corresponding to the device identifier carried in the key request when the key request sent by the access gateway is received;
a fifth sending module, configured to send the decryption key corresponding to the device identifier to the access gateway;
wherein the decryption key is used for decrypting the encrypted event message.
With regard to the apparatuses in the embodiments shown in fig. 5, 6 and 7, the specific manner in which the respective modules perform operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
Fig. 8 is a block diagram one illustrating an information processing apparatus 800 according to an example embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal device, enable the terminal device to perform an information processing method, the method comprising:
when a trigger event aiming at the terminal equipment is detected, generating an event message corresponding to the trigger event;
inserting the event message into a management frame of a wireless network communication;
and sending the management frame carrying the event message to an access gateway so as to send the event message to a server through the access gateway.
Fig. 9 is a block diagram two illustrating the information processing apparatus 1000 according to an exemplary embodiment. Referring to fig. 9, access gateway 1000 includes: a processor 1001, a communication interface 1002, and a memory 1003, among others
Processor 1001 generally controls the overall operation of the router.
Communication interface 1002 may enable an access gateway to communicate with other terminals or servers over a network.
The Memory 1003 is configured to store instructions and applications executable by the processor 1001, and may also cache data to be processed or already processed by the processor 1001 and modules in the router, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an access gateway, enable the access gateway to perform a method of information processing, the method comprising:
after detecting a management frame broadcasted based on a terminal device, extracting an event message from the management frame;
and sending the event message to a server.
Fig. 10 is a block diagram three illustrating an information processing apparatus 900 according to an example embodiment. Referring to fig. 10, the apparatus 900 includes a processing component 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by the processing component 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 922 is configured to execute instructions to perform the information processing method described above.
The device 900 may also include a power component 926 configured to perform power management of the device 900, a wired or wireless network interface 950 configured to connect the device 900 to a network, and an input output (I/O) interface 958. The apparatus 900 may operate based on an operating system stored in the memory 932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 932 that includes instructions, that are executable by the processing component 922 of the apparatus 900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processing component of a server, enable the server to perform an information processing method, the method comprising:
receiving an event message sent by an access gateway;
sending indication information aiming at the event message to a pre-configured electronic device;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. An information processing method, applied to a terminal device, includes:
when a trigger event aiming at the terminal equipment is detected, generating an event message corresponding to the trigger event;
inserting the event message into a management frame of a wireless network communication;
and sending the management frame carrying the event message to an access gateway so as to send the event message to a server through the access gateway.
2. The method of claim 1, further comprising:
generating key information in response to successful connection to the access gateway based on the configured distribution network information;
the inserting the event message into a management frame of a wireless network communication includes:
encrypting the event message based on an encryption key in the key information;
and inserting the encrypted event message into the management frame.
3. The method of claim 2, wherein after generating the key information, the method further comprises:
uploading a decryption key in the key information and the equipment identifier of the terminal equipment to the server;
wherein the decryption key is used to decrypt the encrypted event message.
4. The method of claim 1, further comprising:
broadcasting the management frame carrying the event message to at least one access gateway;
wherein the management frame includes: beacon frames, probe request frames, and/or probe response frames.
5. An information processing method, applied to an access gateway, the method comprising:
after detecting a management frame broadcasted based on a terminal device, extracting an event message from the management frame;
and sending the event message to a server.
6. The method of claim 5, wherein extracting the event message from the management frame comprises:
extracting the encrypted event message from the management frame; the encrypted event message is obtained by encrypting the event message by the terminal equipment based on an encryption key;
and decrypting the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
7. The method of claim 6, further comprising:
acquiring the decryption key from a preset storage space of the access gateway; alternatively, the first and second electrodes may be,
acquiring a device identifier of the terminal device;
and sending the key request carrying the equipment identifier to the server, and acquiring the decryption key from the server based on the equipment identifier.
8. An information processing method, applied to a server, the method comprising:
receiving an event message sent by an access gateway;
sending indication information aiming at the event message to a pre-configured electronic device;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
9. The method of claim 8, wherein receiving the event message sent by the access gateway comprises:
receiving a plurality of event messages sent by a plurality of access gateways;
the method further comprises the following steps:
filtering repeated messages in the event messages to obtain target event messages;
the sending of the indication information for the event message to the pre-configured electronic device includes:
and sending the indication information aimed at by the target event message to a pre-configured electronic device.
10. The method of claim 8, further comprising:
receiving a decryption key and a device identification of a terminal device from the terminal device;
when a key request sent by the access gateway is received, determining a decryption key corresponding to the equipment identifier carried in the key request;
sending a decryption key corresponding to the equipment identifier to the access gateway;
wherein the decryption key is used for decrypting the encrypted event message.
11. An information processing apparatus, applied to a terminal device, comprising:
the terminal equipment comprises a first generation module, a second generation module and a processing module, wherein the first generation module is configured to generate an event message corresponding to a trigger event when the trigger event aiming at the terminal equipment is detected;
an insertion module configured to insert the event message into a management frame of a wireless network communication;
and the first sending module is configured to send the management frame carrying the event message to an access gateway so as to send the event message to a server through the access gateway.
12. The apparatus of claim 11, further comprising:
the second generation module is configured to respond to the success of connecting the access gateway based on the configured distribution network information and generate key information;
the first sending module is further configured to:
encrypting the event message based on an encryption key in the key information to obtain an encrypted event message;
inserting the encrypted event message into the management frame.
13. The apparatus of claim 12, further comprising:
a second sending module configured to upload a decryption key in the key information and the device identifier of the terminal device to the server;
wherein the decryption key is used to decrypt the encrypted event message.
14. The apparatus of claim 11, further comprising:
a broadcast module configured to broadcast the management frame carrying the event message to at least one access gateway;
wherein the management frame includes: beacon frames, probe request frames, and/or probe response frames.
15. An information processing apparatus, applied in an access gateway, the apparatus comprising:
the extraction module is configured to extract an event message from a management frame after the management frame broadcasted by the terminal equipment is detected;
a third sending module configured to send the event message to a server.
16. The apparatus of claim 15, wherein the extraction module is further configured to:
extracting the encrypted event message from the management frame; the encrypted event message is obtained by encrypting the event message by the terminal equipment based on an encryption key;
and decrypting the encrypted event message based on a decryption key corresponding to the encryption key to obtain the event message.
17. The apparatus of claim 16, further comprising:
a first obtaining module configured to obtain the decryption key from a preset storage space of the access gateway; alternatively, the first and second electrodes may be,
the second acquisition module is configured to acquire the device identifier of the terminal device;
and the third obtaining module is configured to send the key request carrying the device identifier to the server, and obtain the decryption key from the server based on the device identifier.
18. An information processing apparatus, applied to a server, the apparatus comprising:
the first receiving module is configured to receive an event message sent by an access gateway;
the fourth sending module is configured to send the indication information for the event message to a pre-configured electronic device;
the indication information is used for indicating the electronic equipment to execute the operation corresponding to the event message.
19. The apparatus of claim 18, wherein the first receiving module is further configured to:
receiving a plurality of event messages sent by a plurality of access gateways;
the device further comprises:
the filtering module is configured to filter repeated messages in the event messages to obtain target event messages;
the fourth sending module is further configured to:
and sending the indication information aimed at by the target event message to a pre-configured electronic device.
20. The apparatus of claim 18, further comprising:
a second receiving module configured to receive a decryption key and a device identifier of a terminal device from the terminal device;
the determining module is configured to determine a decryption key corresponding to the device identifier carried in the key request when the key request sent by the access gateway is received;
a fifth sending module, configured to send the decryption key corresponding to the device identifier to the access gateway;
wherein the decryption key is used for decrypting the encrypted event message.
21. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the information processing method according to any one of claims 1 to 4; or configured to execute the information processing method according to any one of claims 5 to 7; or configured to perform the information processing method according to any one of claims 8 to 10.
22. A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal device, enable the terminal device to perform the information processing method according to any one of claims 1 to 4; or, when executed by a processor of an access gateway, enabling the access gateway to perform the information processing method of any one of claims 5 to 7; or, when the instructions in the storage medium are executed by a processor of a server, the server is enabled to execute the information processing method as claimed in claims 8 to 10.
CN202011297658.5A 2020-11-18 2020-11-18 Information processing method and device, electronic equipment and storage medium Pending CN112512097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011297658.5A CN112512097A (en) 2020-11-18 2020-11-18 Information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011297658.5A CN112512097A (en) 2020-11-18 2020-11-18 Information processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112512097A true CN112512097A (en) 2021-03-16

Family

ID=74958081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011297658.5A Pending CN112512097A (en) 2020-11-18 2020-11-18 Information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112512097A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179529A (en) * 2021-05-10 2021-07-27 北京小米移动软件有限公司 Information processing method and device, network equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517103A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Network access method and device based on intelligent terminal device
CN106412031A (en) * 2016-09-14 2017-02-15 深圳市丰巨泰科电子有限公司 Internet of things device discovering and controlling method
US20170105110A1 (en) * 2015-10-07 2017-04-13 Time Warner Cable Enterprises Llc Management frames and usage in a wireless network environment
CN107071921A (en) * 2017-01-11 2017-08-18 上海斐讯数据通信技术有限公司 A kind of terminal equipment control method and system based on wireless management frame
CN109246797A (en) * 2017-06-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of method, apparatus, system and equipment connecting wireless network
CN111373713A (en) * 2018-08-30 2020-07-03 华为技术有限公司 Message transmission method and device
CN111885598A (en) * 2020-06-02 2020-11-03 普联国际有限公司 Event sending realization system and method of Wi-Fi equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170105110A1 (en) * 2015-10-07 2017-04-13 Time Warner Cable Enterprises Llc Management frames and usage in a wireless network environment
CN105517103A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Network access method and device based on intelligent terminal device
CN106412031A (en) * 2016-09-14 2017-02-15 深圳市丰巨泰科电子有限公司 Internet of things device discovering and controlling method
CN107071921A (en) * 2017-01-11 2017-08-18 上海斐讯数据通信技术有限公司 A kind of terminal equipment control method and system based on wireless management frame
CN109246797A (en) * 2017-06-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of method, apparatus, system and equipment connecting wireless network
CN111373713A (en) * 2018-08-30 2020-07-03 华为技术有限公司 Message transmission method and device
CN111885598A (en) * 2020-06-02 2020-11-03 普联国际有限公司 Event sending realization system and method of Wi-Fi equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179529A (en) * 2021-05-10 2021-07-27 北京小米移动软件有限公司 Information processing method and device, network equipment and storage medium
CN113179529B (en) * 2021-05-10 2023-02-28 北京小米移动软件有限公司 Information processing method and device, network equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110995665B (en) Network distribution method and device, electronic equipment and storage medium
US10038772B2 (en) Communication systems and methods
US10020943B2 (en) Method and apparatus for binding device
CN104869612A (en) Method and device for accessing network
CN110912880B (en) Network distribution method and device, electronic equipment and storage medium
EP3200421B1 (en) Method, apparatus and system for accessing wireless local area network
CN110769485A (en) Method for making target terminal access target wireless network provided by wireless access point
KR20130037710A (en) Indirect device communication
CN110891299A (en) Network distribution method and device, electronic equipment and storage medium
KR20210153017A (en) Device network configuration method and apparatus, and medium
US9723486B2 (en) Method and apparatus for accessing network
US20170171794A1 (en) Method and apparatus for acquiring routing information
US10673611B2 (en) Data transmission method, device, and system
CN112383532B (en) Device networking method and device, electronic device and storage medium
CN115152254A (en) Relay communication method, device, communication apparatus, and storage medium
CN104980919A (en) Method for acquiring network service information and equipment
CN112512097A (en) Information processing method and device, electronic equipment and storage medium
CN114221788A (en) Login method, login device, electronic equipment and storage medium
CN113179529B (en) Information processing method and device, network equipment and storage medium
CN115426638A (en) Bluetooth device pairing method and device
CN113595740A (en) Data transmission method and device, electronic equipment and storage medium
CN117296351A (en) Relay communication method, relay communication device, relay communication apparatus, and storage medium
CN114449501A (en) Networking method, device, system, electronic equipment and storage medium

Legal Events

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