WO2023005410A1 - Procédé et système de synchronisation d'informations, support de stockage et dispositif électronique - Google Patents

Procédé et système de synchronisation d'informations, support de stockage et dispositif électronique Download PDF

Info

Publication number
WO2023005410A1
WO2023005410A1 PCT/CN2022/096410 CN2022096410W WO2023005410A1 WO 2023005410 A1 WO2023005410 A1 WO 2023005410A1 CN 2022096410 W CN2022096410 W CN 2022096410W WO 2023005410 A1 WO2023005410 A1 WO 2023005410A1
Authority
WO
WIPO (PCT)
Prior art keywords
handshake
information
handshake frame
frame
network
Prior art date
Application number
PCT/CN2022/096410
Other languages
English (en)
Chinese (zh)
Inventor
樊明
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
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 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2023005410A1 publication Critical patent/WO2023005410A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • H04W12/106Packet or message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Definitions

  • the present disclosure relates to the communication field, and in particular, to an information synchronization method and system, a storage medium, and an electronic device.
  • smart home appliances are connected to the home network through WIFI, and the SSID (Service set Identifier, SSID for short) name and password of the router in the home are usually sent to the smart home appliances through network distribution operations.
  • SSID Service set Identifier
  • the user changes the SSID name of the router or the password of the router, it is necessary to re-distribute the network for each smart home appliance, which will be a time-consuming and laborious task, especially when there are many smart home appliances in the home.
  • a router-based WIFI information self-synchronization scheme is provided: the main step is to establish a synchronization mechanism between the router and the device when the SSID name or password of the router changes, so that the device can automatically synchronize from the router without reconfiguring the network.
  • the main step is to establish a synchronization mechanism between the router and the device when the SSID name or password of the router changes, so that the device can automatically synchronize from the router without reconfiguring the network.
  • Embodiments of the present disclosure provide an information synchronization method and system, a storage medium, and an electronic device, so as to at least solve the problems in the related art that the synchronization of WIFI information depends on routers, and the self-synchronization of WIFI information between devices cannot be realized.
  • an information synchronization method including: broadcasting data information including network identifiers stored in unconnected devices to the target area when there are network-connected devices in the target area, Wherein, the network-connected device is used to instruct the target object to re-connect to the network after changing the connection information; receive the first handshake frame for unicast interaction fed back by the network-connected device according to the data information; When the first handshake frame meets the preset condition, send the second handshake frame containing the preset network key to the networked device, so as to obtain the network key determined by the networked device according to the second handshake frame
  • the target connection information wherein the target connection information is used to indicate the encrypted current connection information of the connected device.
  • another method for synchronizing information including: obtaining data information sent by an unconnected device and including a network identifier stored in the unconnected device, wherein the unconnected device is used to Instructing the target object to interrupt the network-connected device after changing the connection information; when it is determined that the network identifier stored in the unconnected device contained in the data information is the same as its own network identifier, send a message to the unconnected device to The first handshake frame of unicast interaction; receiving the second handshake frame for indicating synchronization sent by the unconnected device after determining that the first handshake frame meets the preset condition; according to the second handshake frame to the current
  • the connection information is encrypted to obtain the target connection information for synchronization.
  • an information synchronization system including: a network-connected device, configured to obtain data information including a network identifier stored in the non-networked device sent by the non-networked device, wherein the The non-networked device is used to instruct the target object to interrupt the networked device after changing the connection information; when it is determined that the network identifier stored in the non-networked device contained in the data information is the same as its own network identifier, send the The non-networked device sends a first handshake frame for unicast interaction; receives the second handshake frame sent by the non-networked device for indicating synchronization, and encrypts the current connection information according to the second handshake frame, to Obtain the target connection information for synchronization; the unconnected device is set to broadcast to the target area the data information containing the network identification stored in the unconnected device when there is a connected device in the target area, wherein, The network-connected device is used to instruct the
  • a storage medium is further provided, and a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
  • an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
  • the data information including the network identifier stored in the unconnected device is broadcast to the target area, wherein the networked device is set to instruct the target object to change the connection information and restart
  • the device connected to the network receives the first handshake frame for unicast interaction fed back by the connected device according to the data information; when the first handshake frame meets the preset conditions, sends a message containing the preset network password to the connected device
  • the second handshake frame of the key to obtain the target connection information determined by the networked device according to the second handshake frame, wherein the target connection information is used to indicate the encrypted current connection information of the networked device, that is, through the
  • the handshake frame interaction between connected devices and unconnected devices performs autonomous synchronization of replacement connection information, and then realizes the synchronization and interaction of connection information between devices.
  • FIG. 1 is a hardware structural block diagram of a device terminal of an information synchronization method according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart (1) of an information synchronization method according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart (2) of an information synchronization method according to an embodiment of the present disclosure
  • Fig. 4 is an interactive schematic diagram of an information synchronization method according to an optional embodiment of the present disclosure
  • Fig. 5 is a structural block diagram of an information synchronization system according to an embodiment of the disclosure.
  • FIG. 1 is a block diagram of a hardware structure of a device terminal according to an information synchronization method according to an embodiment of the present disclosure.
  • the device terminal may include one or more (only one is shown in Figure 1) processors 102 (processors 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA) and a memory 104 for storing data.
  • processors 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA
  • memory 104 for storing data.
  • the above-mentioned device terminal may also include a transmission device 106 and an input and output device 108 for communication functions.
  • the structure shown in FIG. 1 is only for illustration, and it does not limit the structure of the above-mentioned device terminal.
  • the device terminal may also include more or less components than those shown in FIG. 1 , or have a different configuration with functions equivalent to those shown in FIG. 1 or more functions than those shown in FIG. 1 .
  • the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the information synchronization method in the embodiments of the present disclosure, and the processor 102 executes various functions by running the computer programs stored in the memory 104 A functional application and data processing, that is, to realize the above-mentioned method.
  • the memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to the device terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the transmission device 106 is used to receive or transmit data via a network.
  • the specific example of the above network may include a wireless network provided by the communication provider of the device terminal.
  • the transmission device 106 includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • FIG. 2 is a flowchart (1) of an information synchronization method according to an embodiment of the present disclosure. The process includes the following steps:
  • Step S202 if there is a networked device in the target area, broadcast to the target area data information including the network identification stored in the unconnected device, wherein the networked device is used to instruct the target object to change the connection Devices that reconnect to the Internet after the message;
  • the above-mentioned network identifier usually indicates the network identifier corresponding to the last connected network of the unconnected device, or other network identifiers stored in the unconnected device.
  • Step S204 receiving the first handshake frame for unicast interaction fed back by the connected device according to the data information
  • Step S206 when the first handshake frame meets a preset condition, send a second handshake frame including a preset network key to the connected device, so as to obtain the network-connected device according to the first handshake frame.
  • the data information containing the network identification stored in the unconnected device is broadcast to the target area, wherein the networked device is used to instruct the target object to change the connection information and restart
  • the device connected to the network receives the first handshake frame for unicast interaction fed back by the connected device according to the data information; when the first handshake frame meets the preset conditions, sends a message containing the preset network password to the connected device
  • the second handshake frame of the key to obtain the target connection information determined by the networked device according to the second handshake frame, wherein the target connection information is used to indicate the encrypted current connection information of the networked device, that is, through the
  • the handshake frame interaction between connected devices and unconnected devices performs autonomous synchronization of replacement connection information, and then realizes the synchronization and interaction of connection information between devices.
  • handshake frame is a data frame used to carry data indication information, and may carry different data information according to actual conditions.
  • step S206 there are many ways to realize the above step S206.
  • the authentication information includes: identifying the uniqueness of the current handshake frame The first random value, the network identifier corresponding to the connected device; if the network identifier corresponding to the connected device in the authentication information is consistent with the network identifier stored in the unconnected device, according to the preset It is assumed that the network key is combined with the first random value to determine a first key for encrypting the connection information to be synchronized, wherein the connection information includes at least one of the following: information of router service set identification, information of router password; Packing the authentication information and the first key into data, and adding the message integrity verification identifier and the second random value, so as to determine to send the second message containing the preset network key to the networked device.
  • the authentication information includes: identifying the uniqueness of the current handshake frame The first random value, the network identifier corresponding to the connected device; if the network identifier corresponding to the connected device in the authentication information is consistent with the network
  • the connected device when the unconnected device searches for the connected device, the connected device will send the first handshake frame carrying authentication information to the unconnected device after the verification is passed to indicate the synchronization of the subsequent connection authentication, and then pass the first handshake frame.
  • a handshake frame stops the channel polling operation of the unconnected device, and the channel is fixed, and the subsequent interactive channel has been determined.
  • the unconnected device based on the received first handshake frame, according to its corresponding preset network key , and the determined second random value used to indicate the uniqueness of the second handshake frame to be sent, and increase the integrity check identifier of the message used to verify the sender of the data packet (that is, the unconnected device), and then determine the The second handshake frame used for handshake interactions.
  • the method further includes: the authentication information also includes a sequence number used to indicate the number of interaction processes corresponding to the first handshake frame In the case of , determine whether there is a match between the multiple target sequence numbers corresponding to the multiple first handshake frames that have been received and the sequence number; in the case that the multiple target sequence numbers do not match the sequence number, Determine that the current first handshake frame is not a repeated first handshake frame; in the case where the multiple target sequence numbers match the sequence numbers, determine that the current first handshake frame is a repeated first handshake frame frame, the handshake process corresponding to the first handshake frame ends.
  • the first handshake frame in the interaction between the unconnected device and the connected device uses the serial number to identify the interaction process.
  • the serial number is the same, it proves that the corresponding interaction process is repeated. It is proved that there is no repeated interaction process in the interaction process corresponding to the current first handshake frame.
  • the method further includes: determining that the unconnected device is waiting for a turn Inquiry channel list, wherein, the channel list is used to indicate the communication channel of the non-networked device and the number of the channel; determine the time period for broadcasting to the target area according to the channel list; in the When the information indicating that the channel verification is successful is obtained within the time period, stop broadcasting to the target area, wherein the successful channel verification is used to indicate that the channel has received the interaction information sent by the networked device, and the interaction information includes First handshake frame.
  • the channel may be different from the original one, and because routers and home appliances usually use the 2.4G frequency band for wireless interaction, unconnected devices need to poll on 13 channels to Discover devices connected to the network. Initially starts with channel 1, subsequent starts with the next channel where polling stops. Stay on each channel for 3 seconds and send 5 frames with an interval of 512 milliseconds.
  • the unconnected device receives the handshake frame that passed the verification for the first time, it stops channel polling, fixes the channel carried in the handshake step1 frame, and analyzes the data transmitted in the channel to determine the corresponding content of the handshake frame .
  • the method when there is a networked device in the target area, before broadcasting to the target area the data information including the network identifier stored in the unconnected device, the method further includes: determining a preset A filtering list, wherein the filtering list is used to indicate that the connection information currently used by the networked device cannot be used synchronously; in the case that the networked device existing in the filtering list sends the first handshake frame, prohibit Execute the operation of generating the second handshake frame.
  • the network-connected device is ignored.
  • the connection information of network-connected devices that have been added to the filter list will not be synchronized to unconnected devices.
  • the unconnected device is prohibited from generating the corresponding second handshake frame if the verification is successful, and the interaction process between the unconnected device and the network-connected device that has been added to the filter list is ended.
  • the method further includes: when there are multiple And when each of the networked devices feeds back the first handshake frame, determine the timing list according to the time point when each of the networked devices feeds back the first handshake frame; perform the sequence according to the sequence of the timing list Selective verification of whether the first handshake frame meets the preset conditions.
  • an unconnected device may receive first handshake frames from multiple connected devices.
  • the communication of one or more networked devices can be maintained, but the communication with each networked device can be tried up to 3 times. Therefore, the order of selecting authentication needs to be determined according to the feedback time point corresponding to the first handshake frame .
  • FIG. 3 is a flow chart (2) of an information synchronization method according to an embodiment of the present disclosure. The process includes the following steps:
  • Step S302 obtaining the data information including the network identification stored in the unconnected device sent by the unconnected device, wherein the unconnected device is used to instruct the target object to change the connection information and interrupt the connected device;
  • Step S304 when it is determined that the network identifier stored in the unconnected device contained in the data information is the same as its own network identifier, sending a first handshake frame for unicast interaction to the unconnected device;
  • Step S306 receiving a second handshake frame for indicating synchronization sent by the unconnected device after determining that the first handshake frame meets a preset condition
  • Step S308 encrypting the current connection information according to the second handshake frame to obtain target connection information for synchronization.
  • the data information containing the network identifier stored in the unconnected device sent by the unconnected device is obtained, wherein the unconnected device is used to instruct the target object to change the connection information after the device that interrupts the network connection; after determining the data information
  • the first handshake frame for unicast interaction is sent to the unconnected device;
  • the receiving unconnected device determines that the first handshake frame conforms to The second handshake frame used to indicate synchronization is sent after the preset conditions;
  • the current connection information is encrypted according to the second handshake frame to obtain the target connection information for synchronization, that is, the connection between the connected device and the unconnected Handshake frame interaction between network devices, automatic synchronization of replacement connection information, and then realization of synchronous interaction of connection information between devices.
  • the self-synchronization of WIFI information ensures the synchronization of the connection information of the device through other connected devices after the connection information corresponding to the router changes, improves the flexibility of
  • a handshake frame including: when the network identifier stored in the unconnected device is the same as its own network identifier, it is determined that the unconnected device exists in the target area, and the unconnected device is allowed to execute a single broadcast interaction; determine the authentication information to be carried according to the preset conditions corresponding to the unicast interaction, so as to determine the corresponding first handshake frame, wherein the authentication information includes: a first random value identifying the uniqueness of the current handshake frame , the working channel connecting the networked device to the router, the network identifier corresponding to the networked device, and the serial number of the number of interaction processes corresponding to the current first handshake frame.
  • a method for self-synchronization of WIFI information is mainly provided.
  • the user changes the SSID name of the router or the password of the router, it only needs to re-distribute the network for one smart home appliance, and other smart home appliances
  • the device can perform self-synchronization of WIFI information through the synchronization mechanism between smart home appliances.
  • Network-connected devices smart home appliances that reconnect to the home network after the user changes the router SSID name or changes the router password. Ways of reconnecting to the network include but are not limited to device network configuration, the ways described in optional embodiments of the present disclosure, and the like.
  • Unconnected devices After the user changes the SSID name of the router or the password of the router, it can be connected to the home network, but now the smart home appliance cannot be connected to the network normally.
  • Network address Network ID ID of the home network. It is usually set to the device during the device network configuration and binding stage. The same home network has the same Network ID.
  • Network Key Network Key In a home network, smart home appliances bound by the user's distribution network can share a Network Key.
  • Step 1 Search for frames of connected devices.
  • Sending Sending from devices not connected to the Internet, in the form of broadcasting.
  • Step 2 handshake step1 frame
  • Network ID an increasing serial number, which is different for each handshake step1 frame, a random number Nonce-A, which is different for each handshake step1 frame, working channel, and the working channel connected to the router.
  • Receiving Received by an unconnected device, if the Network ID is the same as its own, it will send a handshake step2 frame.
  • Step 3 3) Handshake step2 frame
  • Network ID Network ID
  • serial number serial number in handshake step1 frame
  • a random number Nonce-B each handshake step2 frame is different
  • MIC Network Key network key
  • Nonce-A Network Key network key
  • the unconnected device when the unconnected device sends the handshake step2 frame to the connected device, in order to ensure the integrity of the message, it uses the random number A in the received handshake step1 frame and the network key stored by itself through the preset hash algorithm. The calculation determines the hash value corresponding to the corresponding MIC, and then the connected device can analyze the received MIC to determine that the handshake step2 frame is sent by the unconnected device that received the handshake step1 frame, ensuring the consistency of the process and security.
  • Receiving Received by the connected device, if the Network ID is the same as its own, verify the serial number and MIC, then send the handshake step3 frame.
  • Step 4 handshake step3 frame
  • Network ID Network ID
  • serial number the serial number in the handshake step1 frame
  • encrypted SSID and password the key uses SHA256 (Network Key, Nonce-A, Nonce-B); MIC (Messages Integrity Check, message integrity check, MIC for short), SHA256 (Network Key, Nonce-B);
  • the handshake step3 frame is sent on the basis of receiving the handshake step2 frame.
  • the hash algorithm is used to determine the corresponding hash value of the corresponding MIC (that is, SHA256 (Network Key, Nonce-B)), and then the unconnected device can analyze the received MIC to determine that the handshake step3 frame was received by
  • the handshake step2 frame is sent by the connected device, and in order to make the SSID and password of the router more secure, the random value carried in the handshake frame of all interactions before the handshake step3 frame is combined with the network key stored by itself to generate for encryption
  • the delivery key of the connection information that is, SHA256 (Network Key, Nonce-A, Nonce-B)).
  • Unconnected devices receive, if the Network ID is the same as its own, verify the serial number and MIC, decrypt the SSID and password, and complete WIFI information synchronization.
  • an operation mode of an unconnected device including the following content:
  • Step S502 Determine the start time, when each time the original SSID and password fail to connect to the router. Unconnected devices enable the self-synchronization interaction function with connected devices.
  • Step S504 After the user changes the SSID name or password, the channel may be different from the original one, so the unconnected device needs to poll on 13 channels to find the connected device. Initially starts with channel 1, subsequent starts with the next channel where polling stops. Stay on each channel for 3 seconds and send 5 frames with an interval of 512 milliseconds.
  • Step S506 Discover the connected devices through the interaction process and send out the operation information for synchronizing WIFI information.
  • the non-networked device when the non-networked device receives the handshake step1 frame that passes the verification for the first time, it stops channel polling and fixes the channel carried in the handshake step1 frame. And it should be noted that each communication takes up to 5 seconds, starting from receiving the handshake step1 frame.
  • a device not connected to the network may receive handshake step1 frames from multiple devices connected to the network. According to the situation of system resources, the communication of one or more networked devices can be maintained, but the communication with each networked device can be tried up to 3 times.
  • the network-connected device is ignored.
  • selection can be made according to the order in which the handshake step1 frames are received.
  • Step S508 After obtaining the WIFI information, if the WIFI information is inconsistent with the saved one, record the MAC (Media Access Control Address, Media Access Control Address, MAC for short) of the networked device that sent the WIFI information, and close all Device communication, and quit the WIFI information synchronization operation, and start trying to connect to the router.
  • MAC Media Access Control Address, Media Access Control Address, MAC for short
  • Step S600 If the connection to the router is successful, save the WIFI information; otherwise, discard the WIFI information, put the corresponding network-connected device in the filter list (timeout of 10 minutes), use the original SSID and password to connect to the router, and re-trigger WIFI information synchronization operate.
  • the operation mode of the connected device includes the following content:
  • Each communication takes up to 5 seconds, starting from the first handshake step1 frame.
  • the WIFI information synchronization described in the optional embodiments of the present disclosure does not depend on the router, and only one smart home appliance needs to be re-distributed to the network, and other smart home appliances automatically complete the WIFI information synchronization.
  • the WIFI information synchronization mechanism realizes the verification of connected devices to non-connected devices through the Network Key mechanism, without the participation of the cloud; at the same time, the encrypted transmission of WIFI information is realized through the Network Key.
  • the WIFI information synchronization mechanism starts from searching for connected devices from unconnected devices, and realizes WIFI information synchronization after two interactions.
  • the normal communication of the connected devices is not affected, and the WIFI information of the non-connected devices is quickly synchronized; at the same time, the non-connected devices also set up a filtering mechanism to prevent the connected devices from transmitting wrong WIFI information.
  • the WIFI information synchronization mechanism realizes self-synchronization of one-to-one, one-to-many, many-to-one and many-to-many WIFI information. It can quickly complete the synchronization of WIFI information in the entire home network.
  • the router-based WIFI information synchronization scheme mainly depends on the limitation of the synchronization mechanism between the router and the device, so that the smart home appliances can simultaneously perform one-to-one, one-to-many, many-to-one and many-to-many
  • the WIFI information is self-synchronized.
  • WIFI information synchronization does not depend on the router or the cloud. Unconnected devices can automatically discover connected devices, unconnected devices can automatically filter connected devices, and connected devices can automatically verify unconnected devices. WIFI information synchronization does not affect the normal communication of connected devices.
  • connected devices can be used to automatically discover unconnected devices, and connected devices need to verify unconnected devices, so that unconnected devices that cannot pass the verification cannot perform WIFI information self-synchronization , and the WIFI information self-synchronization process does not require the cloud to participate, and the WIFI information self-synchronization does not affect the normal communication of connected devices, and the WIFI information (SSID and password) synchronization needs to be encrypted, which can be one-to-one, one-to-many, Many-to-one and many-to-many WIFI information is self-synchronized and does not generate too much network traffic.
  • the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present disclosure can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present disclosure.
  • FIG. 5 is a structural block diagram of an information synchronization system according to an embodiment of the present disclosure. As shown in Fig. 5, the system includes:
  • the network-connected device 52 is set to obtain the data information containing the network identification stored in the non-networked device sent by the non-networked device, wherein the non-networked device is used to instruct the target object to terminate the connection after changing the connection information.
  • network device in the case of determining that the network identifier stored in the unconnected device contained in the data information is the same as its own network identifier, sending a first handshake frame for unicast interaction to the unconnected device; receiving a second handshake frame for indicating synchronization sent by the unconnected device, and encrypting the current connection information according to the second handshake frame to obtain target connection information for synchronization;
  • the non-networked device 54 is configured to broadcast to the target area the data information containing the network identification stored in the non-networked device when there is a networked device in the target area, wherein the networked device is used for Instruct the target object to re-connect to the network after changing the connection information; receive the first handshake frame sent by the network-connected device, and send it to the network-connected device if the first handshake frame meets the preset conditions A second handshake frame containing a preset network key.
  • the data information containing the network identification stored in the unconnected device is broadcast to the target area, wherein the networked device is used to instruct the target object to change the connection information and restart
  • the device connected to the network receives the first handshake frame for unicast interaction fed back by the connected device according to the data information; when the first handshake frame meets the preset conditions, sends a message containing the preset network password to the connected device
  • the second handshake frame of the key to obtain the target connection information determined by the networked device according to the second handshake frame, wherein the target connection information is used to indicate the encrypted current connection information of the networked device, that is, through the
  • the handshake frame interaction between connected devices and unconnected devices performs autonomous synchronization of replacement connection information, and then realizes the synchronization and interaction of connection information between devices.
  • the above handshake frame is a data frame used to carry data indication information, and may carry different data information according to actual conditions. Monitor and search for connected devices on the channel connected to the router, without affecting the connection with the router or normal communication.
  • the above system further includes: a router configured to provide a network for connected devices and non-connected devices.
  • the above-mentioned non-networked device is further configured to determine the authentication information carried in the first handshake frame, wherein the authentication information includes: a serial number indicating the number of handshake frames, identifying the uniqueness of the current handshake frame
  • the first random value of the networked device, the working channel connected to the router, and the network ID corresponding to the networked device; the network ID corresponding to the networked device in the authentication information is the same as the unconnected device
  • the first key used to encrypt the connection information to be synchronized is determined according to the preset network key combined with the first random value, wherein the connection information includes at least one of the following: The information of the router service set identification, the information of the router password; data packaging of the authentication information and the first key, and adding the message integrity verification identification and the second random value, so as to determine the information sent to the connected
  • the network device sends the second handshake frame containing the preset network key.
  • the connected device when the unconnected device searches for the connected device, the connected device will send the first handshake frame carrying authentication information to the unconnected device after the verification is passed to indicate the synchronization of the subsequent connection authentication, and then pass the first handshake frame.
  • a handshake frame stops the channel polling operation of the unconnected device, and the channel is fixed, and the subsequent interactive channel has been determined.
  • the unconnected device based on the received first handshake frame, according to its corresponding preset network key , and the determined second random value used to indicate the uniqueness of the second handshake frame to be sent, and increase the integrity check identifier of the message used to verify the sender of the data packet (that is, the unconnected device), and then determine the The second handshake frame used for handshake interactions.
  • the above-mentioned non-networked device is further configured to determine that the received Whether there is a match between the multiple target sequence numbers corresponding to the multiple first handshake frames and the sequence number; if there is no match between the multiple target sequence numbers and the sequence number, determine the current first handshake frame It is not a repeated first handshake frame; in the case where the multiple target sequence numbers match the sequence number, determine that the current first handshake frame is a repeated first handshake frame, and the first handshake frame The corresponding handshake process ends.
  • the first handshake frame in the interaction between the unconnected device and the connected device uses the serial number to identify the interaction process.
  • the serial number is the same, it proves that the corresponding interaction process is repeated. It is proved that there is no repeated interaction process in the interaction process corresponding to the current first handshake frame.
  • the aforementioned unconnected device is further configured to determine a channel list to be polled by the unconnected device, wherein the channel list is used to indicate the communication channel of the unconnected device and the The number of channels; determine the time period for broadcasting to the target area according to the channel list; and stop broadcasting to the target area when the indication information indicating that the channel verification is successful is obtained within the time period, wherein, The successful channel verification is used to indicate that the channel has received the interaction information sent by the networked device, and the interaction information includes the first handshake frame.
  • the channel may be different from the original one, and because routers and home appliances usually use the 2.4G frequency band for wireless interaction, unconnected devices need to poll on 13 channels to Discover devices connected to the network. Initially starts with channel 1, subsequent starts with the next channel where polling stops. Stay on each channel for 3 seconds and send 5 frames with an interval of 512 milliseconds.
  • the unconnected device receives the handshake frame that passed the verification for the first time, it stops channel polling, fixes the channel carried in the handshake step1 frame, and analyzes the data transmitted in the channel to determine the corresponding content of the handshake frame .
  • the aforementioned unconnected device is further configured to determine a preset filtering list, wherein the filtering list is used to indicate that the connection information currently used by the connected device cannot be used synchronously; When the network-connected device in the filtering list sends the first handshake frame, the operation of generating the second handshake frame is prohibited.
  • the network-connected device is ignored.
  • the connection information of network-connected devices that have been added to the filter list will not be synchronized to unconnected devices.
  • the unconnected device is prohibited from generating the corresponding second handshake frame if the verification is successful, and the interaction process between the unconnected device and the network-connected device that has been added to the filter list is ended.
  • the above-mentioned non-networked device is further configured to, if there are multiple connected devices and each of the connected devices feeds back the first handshake frame, according to each The timing list is determined at the time point when the networked device feeds back the first handshake frame; and the selection verification of whether the first handshake frame meets the preset condition is performed according to the order of the timing list.
  • an unconnected device may receive first handshake frames from multiple connected devices.
  • the communication of one or more networked devices can be maintained, but the communication with each networked device can be tried up to 3 times. Therefore, the order of selecting authentication needs to be determined according to the feedback time point corresponding to the first handshake frame .
  • the aforementioned network-connected device is further configured to determine that the non-networked device exists in the target area when the network identifier stored in the unconnected device is the same as its own network identifier, And the unconnected device is allowed to perform unicast interaction; determine the authentication information to be carried according to the preset conditions corresponding to the unicast interaction, so as to determine the corresponding first handshake frame, wherein the authentication information includes: The first random value identifying the uniqueness of the current handshake frame, the working channel connected to the router by the networked device, and the serial number of the number of interaction processes corresponding to the current first handshake frame.
  • orientations or positional relationships indicated by the terms “center”, “upper”, “lower”, “front”, “rear”, “left”, “right” etc. are based on The orientations or positional relationships shown in the drawings are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the referred devices or components must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as Limitations on this Disclosure.
  • first and second are used for descriptive purposes only, and should not be understood as indicating or implying relative importance.
  • connection should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrally connected; may be mechanically connected, may also be electrically connected; may be directly connected, may also be indirectly connected through an intermediary, and may be internal communication between two components.
  • an element is referred to as being “fixed on” or “disposed on” another element, it can be directly on the other element or intervening elements may also be present.
  • a component is said to be “connected” to another element, it may be directly connected to the other element or intervening elements may also be present.
  • the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors.
  • Embodiments of the present disclosure also provide a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
  • the above-mentioned storage medium may be configured to store a computer program for performing the following steps:
  • the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as Various media that can store computer programs such as RAM), mobile hard disk, magnetic disk or optical disk.
  • Embodiments of the present disclosure also provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.
  • the above-mentioned processor may be configured to execute the following steps through a computer program:
  • each module or each step of the above-mentioned disclosure can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices above, in an exemplary embodiment, they may be implemented in program code executable by a computing device, thus, they may be stored in a storage device to be executed by a computing device, and in some cases, may be different from The steps shown or described here are performed sequentially, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.

Landscapes

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

Abstract

La présente divulgation concerne un procédé et un appareil de transmission d'informations, un support de stockage et un dispositif électronique. Le procédé consiste : lorsqu'un dispositif en réseau est présent dans une région cible, à diffuser des informations de données contenant un identifiant de réseau stocké dans un dispositif non en réseau vers la région cible, le dispositif en réseau étant utilisé pour indiquer un dispositif à nouveau en réseau une fois qu'un objet cible remplace des informations de connexion; à recevoir une première trame d'établissement de liaison qui est utilisée pour une interaction d'unidiffusion et qui est renvoyée par le dispositif en réseau selon les informations de données; lorsque la première trame d'établissement de liaison satisfait à une condition prédéfinie, à envoyer une seconde trame d'établissement de liaison contenant une clé de réseau prédéfinie au dispositif en réseau de façon à obtenir des informations de connexion cibles déterminées par le dispositif en réseau selon la seconde trame d'établissement de liaison, les informations de connexion cibles étant utilisées pour indiquer des informations de connexion actuelles d'un dispositif en réseau chiffré.
PCT/CN2022/096410 2021-07-29 2022-05-31 Procédé et système de synchronisation d'informations, support de stockage et dispositif électronique WO2023005410A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110867178.6A CN113613251B (zh) 2021-07-29 2021-07-29 信息同步方法及系统、存储介质、电子装置
CN202110867178.6 2021-07-29

Publications (1)

Publication Number Publication Date
WO2023005410A1 true WO2023005410A1 (fr) 2023-02-02

Family

ID=78306053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096410 WO2023005410A1 (fr) 2021-07-29 2022-05-31 Procédé et système de synchronisation d'informations, support de stockage et dispositif électronique

Country Status (2)

Country Link
CN (1) CN113613251B (fr)
WO (1) WO2023005410A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613251B (zh) * 2021-07-29 2024-05-24 青岛海尔科技有限公司 信息同步方法及系统、存储介质、电子装置
CN114339591B (zh) * 2021-12-09 2024-03-08 青岛海信移动通信技术有限公司 基于超宽带芯片进行定位的方法和相关装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211264A (zh) * 2016-07-11 2016-12-07 九阳股份有限公司 一种家电配网方法及装置
US20170055148A1 (en) * 2015-08-21 2017-02-23 Kiban Labs, Inc. Apparatus and method for sharing wifi security data in an internet of things (iot) system
CN111757356A (zh) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 设备配网系统及其配网方法
CN112929908A (zh) * 2021-03-17 2021-06-08 北京小米移动软件有限公司 Mesh组网方法、装置、网关设备及存储介质
CN113613251A (zh) * 2021-07-29 2021-11-05 青岛海尔科技有限公司 信息同步方法及系统、存储介质、电子装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451502A (zh) * 2018-12-27 2019-03-08 广东美的厨房电器制造有限公司 家电设备配网方法、配网装置及计算机可读存储介质
CN111741509A (zh) * 2019-03-25 2020-10-02 珠海格力电器股份有限公司 配网方法及装置、存储介质、处理器
CN110971495B (zh) * 2019-10-24 2021-12-24 青岛海尔科技有限公司 智能家居系统的设备绑定方法、装置及存储介质
CN112202652A (zh) * 2020-09-17 2021-01-08 海尔优家智能科技(北京)有限公司 待入网设备信息的显示方法及装置、存储介质、电子装置
CN112187831B (zh) * 2020-10-30 2023-04-25 腾讯科技(深圳)有限公司 设备入网方法和装置、存储介质及电子设备
CN112566220B (zh) * 2020-11-25 2022-10-18 中移(杭州)信息技术有限公司 配网信息同步方法、装置及计算机设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170055148A1 (en) * 2015-08-21 2017-02-23 Kiban Labs, Inc. Apparatus and method for sharing wifi security data in an internet of things (iot) system
CN106211264A (zh) * 2016-07-11 2016-12-07 九阳股份有限公司 一种家电配网方法及装置
CN111757356A (zh) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 设备配网系统及其配网方法
CN112929908A (zh) * 2021-03-17 2021-06-08 北京小米移动软件有限公司 Mesh组网方法、装置、网关设备及存储介质
CN113613251A (zh) * 2021-07-29 2021-11-05 青岛海尔科技有限公司 信息同步方法及系统、存储介质、电子装置

Also Published As

Publication number Publication date
CN113613251B (zh) 2024-05-24
CN113613251A (zh) 2021-11-05

Similar Documents

Publication Publication Date Title
CN110692280B (zh) 一种网络接入方法、设备及系统
CN110708688B (zh) 智能设备配网方法、装置以及控制器和介质
WO2023005410A1 (fr) Procédé et système de synchronisation d'informations, support de stockage et dispositif électronique
US12063180B2 (en) Method and apparatus for MoCA network with protected set-up
CN110636483A (zh) 一种配网方法及系统
CN113423105B (zh) 网络连接方法及装置
CN112997447B (zh) 用于无线设备的基于时间戳的接入处理
WO2019128881A1 (fr) Procédé de configuration de réseau et système de réseau
US9510130B2 (en) Provisioning of multiple wireless devices by an access point
CN110602682A (zh) 基于蓝牙BLE和mesh混合的网络管理系统和方法
WO2023279897A1 (fr) Procédé et système de liaison sécurisée, support de stockage et appareil électronique
CN113965916A (zh) 一种设备配网方法、装置、设备及计算机可读存储介质
CN112637931A (zh) 建立网络连接的方法及装置
CN113068181B (zh) 多类型智能终端安全入网方法
CN112040484A (zh) 密码更新方法及装置、存储介质、电子装置
WO2018196463A1 (fr) Procédé et appareil d'accès au réseau, support d'informations et processeur
CN105246129B (zh) 一种智能终端的组网方法及装置
WO2022105028A1 (fr) Procédé et appareil de configuration de réseau pour dispositif de l'internet des objets
US20160028731A1 (en) Method and Apparatus for MoCA Network With Protected Set-Up
CN114640691A (zh) 设备连接方法、系统及相应的物联网设备
CN112738785A (zh) 设备连接方法及装置、存储介质及电子装置
EP3515121A1 (fr) Procédé, appareil, et système de mise en réseau de dispositifs
CN114520967A (zh) 设备接入网络的方法、系统及相应的物联网设备
CN113132966A (zh) 智能终端快连入网方法
WO2022174652A1 (fr) Procédé et système de découverte automatique de configuration de réseau par un terminal intelligent

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: 22848020

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: 22848020

Country of ref document: EP

Kind code of ref document: A1