A method and system for quickly synchronizing WiFi parameters based on FTTR networking

By utilizing the HTTP protocol and specific message interaction in EasyMesh networking, fast WiFi parameter synchronization between master and slave devices is achieved, solving the problems of slow synchronization and failure, and improving user experience and interaction speed.

CN119095146BActive Publication Date: 2025-11-18INSPUR COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411331196.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-11-18
Estimated Expiration
2044-09-24

AI Technical Summary

Technical Problem

In EasyMesh networking, the problem of slow or failed WiFi parameter synchronization seriously affects the user experience, and existing technologies are unable to achieve fast and stable parameter synchronization.

Method used

After the master and slave devices are successfully networked, the master device obtains the type and IP address information of the downstream devices, uses the HTTP protocol to synchronize parameters, and adopts specific protocol authentication and message interaction, including verification of search and response messages and HTTP protocol POST and GET methods, to ensure the accuracy and efficiency of parameter synchronization.

Benefits of technology

It achieves millisecond-level WiFi parameter synchronization, improves user experience, solves the problems of slow synchronization and failure, meets laboratory acceptance standards, and improves interaction speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095146B_ABST
    Figure CN119095146B_ABST
Patent Text Reader

Abstract

The application particularly relates to a WiFi parameter fast synchronization method and system based on FTTR networking. After master-slave device networking is successful, the master device obtains the type and IP address information of the slave device, and sends a post request to the master gateway through an HTTP protocol to synchronize the WiFi parameter to the slave gateway. The WiFi parameter fast synchronization method and system based on FTTR networking realize millisecond-level synchronization, fast interaction rate, solve the problems of slow WiFi parameter synchronization and synchronization failure in mesh networking, and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication and information technology, and in particular to a method and system for fast synchronization of WiFi parameters based on FTTR networking. Background Technology

[0002] With the increasing number of smart home devices, the demands for network coverage and stability are also constantly rising. EasyMesh, as an effective technology for solving these problems, is expected to see wider application and development in the future. Furthermore, with continuous technological advancements, future versions of EasyMesh may integrate more advanced features, such as improved security and higher data transmission efficiency.

[0003] As a commonly used technology for home device networking, EasyMesh can achieve device discovery, parameter synchronization, and roaming switching. However, in practical applications, in laboratory or user scenarios, mesh networking often succeeds, but WiFi parameter synchronization takes 2-5 seconds or even longer, or requires a device restart to successfully synchronize. This seriously affects product laboratory acceptance or user experience.

[0004] To address the issues of slow or failed WiFi parameter synchronization in mesh networking and improve user experience, this invention proposes a fast WiFi parameter synchronization method and system based on FTTR networking. Summary of the Invention

[0005] To overcome the shortcomings of existing technologies, this invention provides a simple and efficient method and system for fast synchronization of WiFi parameters based on FTTR networking.

[0006] This invention is achieved through the following technical solution:

[0007] A method for fast synchronization of WiFi parameters based on FTTR networking is characterized in that: after the master and slave devices successfully form a network, the master device obtains the type and IP address information of the downstream devices, and sends a POST request to the master gateway via HTTP protocol to synchronize the WiFi parameters to the slave gateway;

[0008] Parameter synchronization can only be performed after successful authentication using a specific protocol in a master-slave device network. The detailed process is as follows:

[0009] Step S1: After the connected device is connected as a slave device, it sends a search request message with personalized parameters.

[0010] In step S1, the personalized parameters include, but are not limited to, device type, IP address, MAC address, model, and manufacturer.

[0011] Step S2: After receiving the search request message, the master device determines whether the device type and manufacturer carried in the message are for a custom-defined specific device.

[0012] If not, ignore;

[0013] If so, record the MAC address and IP address of the connected device, and reply with a response message, marking the corresponding device as b;

[0014] In step S2, if the master device does not receive the search request message, it records the MAC address and device type read by the master device and marks the corresponding device as 'a'.

[0015] Step S3: After receiving the response message, the downstream device records the source MAC address and IP address information of the response message;

[0016] Step S4: The master device sends the parameters to be synchronized to the slave device using the POST method in the HTTP protocol. After receiving the message, the slave device checks whether the source MAC address and IP address are consistent with the records in step S3.

[0017] If they match, the downstream device accepts the request and responds, carrying a flag indicating successful synchronization, and proceeds to step S5;

[0018] If they do not match, discard them;

[0019] Step S5: The master device sends a message to the device marked as b using the GET method in the HTTP protocol, and compares the received messages:

[0020] If the received message contains a synchronization success flag, it indicates that the corresponding downstream device is marked as synchronized, and the process ends.

[0021] If the received message does not contain a synchronization success flag, it indicates that the downstream device is not synchronized, and a POST message is sent again to synchronize.

[0022] A fast WiFi parameter synchronization system based on FTTR networking includes:

[0023] The request message sending module is responsible for sending a search request message with personalized parameters after the downstream device is connected as a slave device;

[0024] The personalized parameters include, but are not limited to, device type, IP address, MAC address, model, and manufacturer.

[0025] The request message verification module is responsible for determining whether the device type and manufacturer carried in the message are a custom, specific device after the main device receives the search request message.

[0026] If not, ignore;

[0027] If so, record the MAC address and IP address of the connected device, and reply with a response message, marking the corresponding device as b;

[0028] When the master device does not receive a search request message, the request message verification module is responsible for recording the MAC address and device type read by the master device and marking the corresponding device as 'a'.

[0029] The response message recording module is responsible for recording the source MAC address and IP address information of the response message after the downstream device receives the response message;

[0030] The master device synchronization module is responsible for sending the parameters that need to be synchronized to the slave device using the POST method in the HTTP protocol;

[0031] The judgment module is responsible for determining whether the source MAC address and IP address match the records in the response message recording module after the downstream device receives a message.

[0032] If they match, the downstream device accepts the request and responds, carrying a flag indicating successful synchronization;

[0033] If they do not match, discard them;

[0034] The master device comparison module is responsible for sending a message to the device marked as 'b' using the HTTP GET method and comparing the received messages.

[0035] If the received message contains a synchronization success flag, it indicates that the corresponding downstream device is marked as synchronized, and the process ends.

[0036] If the received message does not contain a synchronization success flag, it indicates that the downstream device is not synchronized, triggering the master device's synchronization module to send a POST message again for synchronization.

[0037] A device for fast synchronization of WiFi parameters based on FTTR networking is characterized by comprising a memory and a processor; the memory is used to store a computer program, and the processor is used to execute the computer program to implement the method described above.

[0038] A readable storage medium, characterized in that: a computer program is stored on the readable storage medium, and the computer program, when executed by a processor, implements the method described above.

[0039] The beneficial effects of this invention are: the fast synchronization method and system for WiFi parameters based on FTTR networking achieves millisecond-level synchronization and fast interaction speed, solves the problems of slow WiFi parameter synchronization and synchronization failure that may occur in mesh networking, and improves the user experience. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Appendix Figure 1 This is a schematic diagram of the fast WiFi parameter synchronization method based on FTTR networking according to the present invention. Detailed Implementation

[0042] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions in the embodiments of this invention will be clearly and completely described below in conjunction with the embodiments of this invention. Obviously, the described embodiments are merely some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.

[0043] This method for fast synchronization of WiFi parameters based on FTTR networking involves the master device obtaining the type and IP address information of the downstream devices after the master and slave devices successfully form a network, and then sending a POST request to the master gateway via the HTTP protocol to synchronize the WiFi parameters to the slave gateway.

[0044] Parameter synchronization can only be performed after successful authentication using a specific protocol in a master-slave device network. The detailed process is as follows:

[0045] Step S1: After the connected device is connected as a slave device, it sends a search request message with personalized parameters.

[0046] In step S1, the personalized parameters include, but are not limited to, device type, IP address, MAC address, model, and manufacturer.

[0047] Step S2: After receiving the search request message, the master device determines whether the device type and manufacturer carried in the message are for a custom-defined specific device.

[0048] If not, ignore;

[0049] If so, record the MAC address and IP address of the connected device, and reply with a response message, marking the corresponding device as b;

[0050] In step S2, if the master device does not receive the search request message, it records the MAC address and device type read by the master device and marks the corresponding device as 'a'.

[0051] Step S3: After receiving the response message, the downstream device records the source MAC address and IP address information of the response message;

[0052] Step S4: The master device sends the parameters to be synchronized to the slave device using the POST method in the HTTP protocol. After receiving the message, the slave device checks whether the source MAC address and IP address are consistent with the records in step S3.

[0053] If they match, the downstream device accepts the request and responds, carrying a flag indicating successful synchronization, and proceeds to step S5;

[0054] If they do not match, discard them;

[0055] Step S5: The master device sends a message to the device marked as b using the GET method in the HTTP protocol, and compares the received messages:

[0056] If the received message contains a synchronization success flag, it indicates that the corresponding downstream device is marked as synchronized, and the process ends.

[0057] If the received message does not contain a synchronization success flag, it indicates that the downstream device is not synchronized, and a POST message is sent again to synchronize.

[0058] This FTTR-based WiFi parameter fast synchronization system includes:

[0059] The request message sending module is responsible for sending a search request message with personalized parameters after the downstream device is connected as a slave device;

[0060] The personalized parameters include, but are not limited to, device type, IP address, MAC address, model, and manufacturer.

[0061] The request message verification module is responsible for determining whether the device type and manufacturer carried in the message are a custom, specific device after the main device receives the search request message.

[0062] If not, ignore;

[0063] If so, record the MAC address and IP address of the connected device, and reply with a response message, marking the corresponding device as b;

[0064] When the master device does not receive a search request message, the request message verification module is responsible for recording the MAC address and device type read by the master device and marking the corresponding device as 'a'.

[0065] The response message recording module is responsible for recording the source MAC address and IP address information of the response message after the downstream device receives the response message;

[0066] The master device synchronization module is responsible for sending the parameters that need to be synchronized to the slave device using the POST method in the HTTP protocol;

[0067] The judgment module is responsible for determining whether the source MAC address and IP address match the records in the response message recording module after the downstream device receives a message.

[0068] If they match, the downstream device accepts the request and responds, carrying a flag indicating successful synchronization;

[0069] If they do not match, discard them;

[0070] The master device comparison module is responsible for sending a message to the device marked as 'b' using the HTTP GET method and comparing the received messages.

[0071] If the received message contains a synchronization success flag, it indicates that the corresponding downstream device is marked as synchronized, and the process ends.

[0072] If the received message does not contain a synchronization success flag, it indicates that the downstream device is not synchronized, triggering the master device's synchronization module to send a POST message again for synchronization.

[0073] It should be noted that this method cannot replace the mesh protocol; it only solves some parameter inconsistencies and poor user experience issues that exist in the current mesh protocol.

[0074] The device for fast synchronization of WiFi parameters based on FTTR networking includes a memory and a processor; the memory is used to store computer programs, and the processor is used to execute the computer programs to implement the method described above.

[0075] The readable storage medium stores a computer program that, when executed by a processor, implements the method described above.

[0076] After successful network setup between the master and slave devices, the master device can obtain information such as the type and IP address of the connected devices. It then synchronizes the WiFi parameters to the slave gateway via a POST request sent from the master gateway using the HTTP protocol. This method achieves synchronization times in milliseconds, meeting laboratory acceptance standards, while also offering fast interaction speeds and a good user experience.

[0077] In practical applications, this method can be used to quickly synchronize not only WiFi parameters, but also other parameters that need to be synchronized.

[0078] The embodiments described above are merely one specific implementation of the present invention. Ordinary changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for fast synchronization of WiFi parameters based on FTTR networking, characterized in that: After the master and slave devices successfully form a network, the master device obtains the type and IP address information of the downstream devices, and sends a POST request to the master gateway via the HTTP protocol to synchronize the WiFi parameters to the slave gateway; Parameter synchronization can only be performed after successful authentication using a specific protocol in a master-slave device network. The detailed process is as follows: Step S1: After the connected device is connected as a slave device, it sends a search request message with personalized parameters. Step S2: After receiving the search request message, the master device determines whether the device type and manufacturer carried in the message are for a custom-defined specific device. If not, ignore; If so, record the MAC address and IP address of the connected device, and reply with a response message, marking the corresponding device as b; Step S3: After receiving the response message, the downstream device records the source MAC address and IP address information of the response message; Step S4: The master device sends the parameters to be synchronized to the slave device using the POST method in the HTTP protocol. After receiving the message, the slave device checks whether the source MAC address and IP address are consistent with the records in step S3. If they match, the downstream device accepts the request and responds, carrying a flag indicating successful synchronization, and proceeds to step S5; If they do not match, discard them; Step S5: The master device sends a message to the device marked as b using the GET method in the HTTP protocol, and compares the received messages: If the received message contains a synchronization success flag, it indicates that the corresponding downstream device is marked as synchronized, and the process ends. If the received message does not contain a synchronization success flag, it indicates that the downstream device is not synchronized, and a POST message is sent again to synchronize.

2. The method for fast synchronization of WiFi parameters based on FTTR networking according to claim 1, characterized in that: In step S1, the personalized parameters include device type, IP address, MAC address, model, and manufacturer.

3. The method for fast synchronization of WiFi parameters based on FTTR networking according to claim 1, characterized in that: In step S2, if the master device does not receive the search request message, it records the MAC address and device type read by the master device and marks the corresponding device as 'a'.

4. A fast WiFi parameter synchronization system based on FTTR networking, characterized in that: include: The request message sending module is responsible for sending a search request message with personalized parameters after the downstream device is connected as a slave device; The request message verification module is responsible for determining whether the device type and manufacturer carried in the message are a custom, specific device after the main device receives the search request message. If not, ignore; If so, record the MAC address and IP address of the connected device, and reply with a response message, marking the corresponding device as b; The response message recording module is responsible for recording the source MAC address and IP address information of the response message after the downstream device receives the response message; The master device synchronization module is responsible for sending the parameters that need to be synchronized to the slave device using the POST method in the HTTP protocol; The judgment module is responsible for determining whether the source MAC address and IP address match the records in the response message recording module after the downstream device receives a message. If they match, the downstream device accepts the request and responds, carrying a flag indicating successful synchronization; If they do not match, discard them; The master device comparison module is responsible for sending a message to the device marked as 'b' using the HTTP GET method and comparing the received messages. If the received message contains a synchronization success flag, it indicates that the corresponding downstream device is marked as synchronized, and the process ends. If the received message does not contain a synchronization success flag, it indicates that the downstream device is not synchronized, triggering the master device's synchronization module to send a POST message again for synchronization.

5. The WiFi parameter fast synchronization system based on FTTR networking according to claim 4, characterized in that: The personalized parameters include device type, IP address, MAC address, model, and manufacturer.

6. The WiFi parameter fast synchronization system based on FTTR networking according to claim 4, characterized in that: When the master device does not receive a search request message, the request message verification module is responsible for recording the MAC address and device type read by the master device and marking the corresponding device as 'a'.

7. A device for fast synchronization of WiFi parameters based on FTTR networking, characterized in that: It includes a memory and a processor; the memory is used to store a computer program, and the processor is used to execute the computer program to implement the method as described in any one of claims 1 to 3.

8. A readable storage medium, characterized in that: The readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Implementation method for signal connection of intelligent Wi-Fi equipment

    CN108289023A

  • Black and white list implementation method and device based on FTTR master-slave management, equipment and medium

    CN117857223A