WiFi parameter fast synchronization method and system based on FTTR networking

The FTTR networking method and system address slow and failed WiFi parameter synchronization in mesh networks by authenticating and synchronizing parameters via HTTP, ensuring rapid and reliable synchronization.

CN119095146AActive Publication Date: 2024-12-06INSPUR COMM TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing WiFi parameter synchronization in mesh networking is slow and prone to failure, affecting product laboratory acceptance and user experience.

Method used

A method and system for fast synchronization of WiFi parameters using FTTR networking, involving master and slave devices that authenticate and synchronize parameters via HTTP protocol, ensuring millisecond-level synchronization by verifying device type and IP address consistency.

Benefits of technology

Achieves millisecond-level synchronization and improves user experience by resolving slow synchronization and failure issues in mesh networking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095146A_ABST
    Figure CN119095146A_ABST
Patent Text Reader

Abstract

The invention particularly relates to a WiFi parameter fast synchronization method and system based on FTTR networking. According to the FTTR-based networking WiFi parameter rapid synchronization method, after the networking of the master device and the slave device is successful, the master device obtains the type and IP address information of the lower device, and sends a post request at the master gateway through an HTTP protocol to synchronize the WiFi parameter to the slave gateway. According to the FTTR networking-based WiFi parameter rapid synchronization method and system, millisecond-level synchronization is realized, the interaction rate is high, the problems of slow WiFi parameter synchronization and synchronization failure possibly occurring under mesh networking are solved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the increase of smart home devices, the requirements for network coverage and stability are also increasing. As an effective technology to solve these problems, EasyMesh is expected to be more widely used and developed in the future. At the same time, with the continuous advancement of technology, the future EasyMesh may integrate more advanced functions, such as better security performance and higher data transmission efficiency.

[0003] As a common technology for home device networking, EasyMesh can achieve device discovery, parameter synchronization, and roaming switching. However, in actual applications, mesh networking is often successful in laboratory scenarios or user scenarios. WiFi parameter synchronization takes 2-5 seconds or does not occur for a long time, or the device needs to be restarted before synchronization can be successful, which seriously affects product laboratory acceptance or user experience.

[0004] In order to solve the problems of slow WiFi parameter synchronization and synchronization failure that may occur in mesh networking and improve user experience, the present invention proposes a method and system for fast WiFi parameter synchronization based on FTTR networking. Summary of the invention

[0005] In order to make up for the defects of the prior art, the present invention provides a simple and efficient method and system for fast synchronization of WiFi parameters based on FTTR networking.

[0006] The present invention is achieved through the following technical solutions:

[0007] A fast WiFi parameter synchronization method based on FTTR networking, characterized in that: after the master-slave device networking is successful, the master device obtains the type and IP address information of the downstream device, and sends a post request on the master gateway through the HTTP protocol to synchronize the WiFi parameters to the slave gateway;

[0008] The master and slave devices can only synchronize parameters after successful authentication using a specific protocol. The detailed process is as follows:

[0009] Step S1: After the downstream device is connected as a slave device, it sends a search request message and carries 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 customized specific devices:

[0012] If not, ignore;

[0013] If yes, record the MAC address and IP address of the attached device, reply with a response message, and mark the corresponding device as b;

[0014] In step S2, if the master device does not receive the search request message, the mac address and device type read by the master device are recorded, and the corresponding device is marked 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 uses the post method in the HTTP protocol to send the parameters that need to be synchronized to the slave device. After receiving the message, the downstream device determines whether the source mac address and IP address are consistent with the record in step S3:

[0017] If they are consistent, the downstream device accepts the request and responds, carrying a synchronization success flag, and jumps to step S5;

[0018] If they are inconsistent, they are discarded;

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

[0020] If the received information contains a synchronization success flag, the master will mark the corresponding downstream device as synchronized and end the process;

[0021] If there is no synchronization success mark in the received information, it means that the downstream device is not synchronized. Send the post message again for synchronization.

[0022] A WiFi parameter rapid synchronization system based on FTTR networking, comprising:

[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 customized specific devices after the main device receives the request search message:

[0026] If not, ignore;

[0027] If yes, record the MAC address and IP address of the attached device, reply with a response message, and mark the corresponding device as b;

[0028] When the master device does not receive the 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 judging whether the source MAC address and IP address are consistent with the records in the response message recording module after the downstream device receives the message:

[0032] If they are consistent, the downstream device accepts the request and responds, carrying a synchronization success flag.

[0033] If they are inconsistent, they are discarded;

[0034] The main device comparison module is responsible for sending messages to the device marked as b using the get method in the HTTP protocol and comparing the received messages:

[0035] If the received information contains a synchronization success flag, the master will mark the corresponding downstream device as synchronized and end the process;

[0036] If there is no synchronization success mark in the received information, it indicates that the downstream device is not synchronized, triggering the synchronization module of the master device to send a post message again for synchronization.

[0037] A device for fast synchronization of WiFi parameters based on FTTR networking, characterized in that it comprises a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the above method when executing the computer program.

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

[0039] The beneficial effects of the present invention are as follows: the method and system for fast WiFi parameter synchronization based on FTTR networking achieve millisecond-level synchronization and fast interaction rate, solve the problems of slow WiFi parameter synchronization and synchronization failure that may occur in mesh networking, and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Attached Figure 1 It is a schematic diagram of the method for rapid synchronization of WiFi parameters based on FTTR networking according to the present invention. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0043] The method for fast synchronization of WiFi parameters based on FTTR networking, after the master-slave device networking is successful, the master device obtains the type and IP address information of the downstream device, and sends a post request to the master gateway through the HTTP protocol to synchronize the WiFi parameters to the slave gateway;

[0044] The master and slave devices can only synchronize parameters after successful authentication using a specific protocol. The detailed process is as follows:

[0045] Step S1: After the downstream device is connected as a slave device, it sends a search request message and carries 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 customized specific devices:

[0048] If not, ignore;

[0049] If yes, record the MAC address and IP address of the attached device, reply with a response message, and mark the corresponding device as b;

[0050] In step S2, if the master device does not receive the search request message, the mac address and device type read by the master device are recorded, and the corresponding device is marked 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 uses the post method in the HTTP protocol to send the parameters that need to be synchronized to the slave device. After receiving the message, the downstream device determines whether the source mac address and IP address are consistent with the record in step S3:

[0053] If they are consistent, the downstream device accepts the request and responds, carrying a synchronization success flag, and jumps to step S5;

[0054] If they are inconsistent, they are discarded;

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

[0056] If the received information contains a synchronization success flag, the master will mark the corresponding downstream device as synchronized and end the process;

[0057] If there is no synchronization success mark in the received information, it means that the downstream device is not synchronized. Send the post message again for synchronization.

[0058] The WiFi parameter rapid synchronization system based on FTTR networking 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 customized specific devices after the main device receives the request search message:

[0062] If not, ignore;

[0063] If yes, record the MAC address and IP address of the attached device, reply with a response message, and mark the corresponding device as b;

[0064] When the master device does not receive the 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 judging whether the source MAC address and IP address are consistent with the records in the response message recording module after the downstream device receives the message:

[0068] If they are consistent, the downstream device accepts the request and responds, carrying a synchronization success flag.

[0069] If they are inconsistent, they are discarded;

[0070] The main device comparison module is responsible for sending messages to the device marked as b using the get method in the HTTP protocol and comparing the received messages:

[0071] If the received information contains a synchronization success flag, the master will mark the corresponding downstream device as synchronized and end the process;

[0072] If there is no synchronization success mark in the received information, it indicates that the downstream device is not synchronized, triggering the synchronization module of the master device to send a post message again for synchronization.

[0073] It should be noted that this method cannot replace the mesh protocol, but only solves some parameter asynchrony problems and poor user experience problems that occur in the current mesh protocol.

[0074] The WiFi parameter rapid synchronization device based on FTTR networking includes a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the above method when executing the computer program.

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

[0076] After the master and slave devices are successfully networked, the master device can obtain the type and IP address of the downstream devices. The WiFi parameters are synchronized to the slave gateway by sending a post request on the master gateway through the HTTP protocol. The synchronization time through this method is basically in milliseconds, which can meet the laboratory acceptance standards, and the interaction rate is fast and the user experience is good.

[0077] In practical applications, it is not limited to WiFi parameters that can be quickly synchronized. This method can also be used for other parameters that need to be synchronized.

[0078] The embodiment described above is only one specific implementation of the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in 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 are successfully networked, the master device obtains the type and IP address information of the downstream device, and sends a post request to the master gateway through the HTTP protocol to synchronize the WiFi parameters to the slave gateway; The master and slave devices can only synchronize parameters after successful authentication using a specific protocol. The detailed process is as follows: Step S1: After the downstream device is connected as a slave device, it sends a search request message and carries 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 customized specific devices: If not, ignore; If yes, record the MAC address and IP address of the attached device, reply with a response message, and mark 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 uses the post method in the HTTP protocol to send the parameters that need to be synchronized to the slave device. After receiving the message, the downstream device determines whether the source mac address and IP address are consistent with the record in step S3: If they are consistent, the downstream device accepts the request and responds, carrying a synchronization success flag, and jumps to step S5; If they are inconsistent, they are discarded; Step S5: The master device uses the get method in the HTTP protocol to send a message to the device marked as b, and compares the received messages: If the received information contains a synchronization success flag, the master will mark the corresponding downstream device as synchronized and end the process; If there is no synchronization success mark in the received information, it means that the downstream device is not synchronized. Send the post message again for synchronization.

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

3. The method for rapid 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, the mac address and device type read by the master device are recorded, and the corresponding device is marked as a.

4. A fast synchronization system of WiFi parameters based on FTTR networking, characterized by: 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 customized specific devices after the main device receives the request search message: If not, ignore; If yes, record the MAC address and IP address of the attached device, reply with a response message, and mark 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 judging whether the source MAC address and IP address are consistent with the records in the response message recording module after the downstream device receives the message: If they are consistent, the downstream device accepts the request and responds, carrying a synchronization success flag. If they are inconsistent, they are discarded; The main device comparison module is responsible for sending messages to the device marked as b using the get method in the HTTP protocol and comparing the received messages: If the received information contains a synchronization success flag, the master will mark the corresponding downstream device as synchronized and end the process; If there is no synchronization success mark in the received information, it indicates that the downstream device is not synchronized, triggering the synchronization module of the master device to send a post message again for synchronization.

5. The FTTR-based WiFi parameter rapid synchronization system according to claim 4, characterized in that: The personalized parameters include but are not limited to device type, IP address, MAC address, model and manufacturer.

6. The FTTR-based WiFi parameter rapid synchronization system according to claim 4, characterized in that: When the master device does not receive the 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: The method comprises a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the method according to any one of claims 1 to 3 when executing the computer program.

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

Citation Information

Patent Citations

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

    CN108289023A

  • Intelligent access configuration method based on Mesh networking

    CN113613274A

  • Slave gateway configuration method, electronic equipment and computer readable storage medium

    CN117675555A

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

    CN117857223A

  • Master-slave gateway equipment synchronization method and device based on FTTR, equipment and medium

    CN117880068A