Fast configuration synchronization method and device based on easymesh network
By using standard protocols and TR181 data model in easymesh network, the configuration information is synchronized between controller and agent devices through Higher Layer Data Sync Notification 1905 packets, which solves the poor interoperability and timing problems between devices, and achieves fast and effective configuration synchronization .
Patent Information
- Application Number
- CN202411232695.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-31
AI Technical Summary
During the configuration synchronization process of existing easymesh devices, due to the existence of private protocols, it is inconvenient to interoperate and expand between different manufacturers, and the timing of packet interactions leads to abnormal device functions.
Using the fast configuration synchronization method based on the easymesh standard protocol and the TR181 standard data model, a large amount of configuration information is synchronized between the controller and the agent device through the extended Higher Layer Data Sync Notification 1905 message, and a URL addressing or configuring the serial number CSN addressing method is used. Encapsulate TR181 configuration information to avoid dependencies of private protocols.
It realizes the synchronization of a large number of standard configuration parameters at one time in the easymesh network, avoids timing problems, and improves the interoperability and expansion of different manufacturers and configuration synchronization efficiency.
Smart Images

Figure CN119233385A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless communication technology, and in particular to a fast configuration synchronization method and device based on an EasyMesh network. Background Art
[0002] With the rapid development of information technology and smart terminals, as well as the improvement of users' family living standards, WiFi devices are becoming more and more popular in people's daily lives, and the number of home gateways and routers that support the EasyMesh function is increasing.
[0003] One of the core functions of Easymesh is that it can synchronize the configuration of agent devices through the controller device in the Easymesh network. Currently, the configuration synchronization in the standard protocol only involves limited configurations such as WiFi SSID, password, encryption method, encryption algorithm, etc. With the popularization of smart terminals that support Easymesh, there needs to be a method to enable the controller to synchronize more configurations with the agent, and have good interoperability and scalability.
[0004] In the existing technology, although all the devices on the market claim to support the EasyMesh protocol, except for the basic configuration mentioned above, the rest of the configurations are implemented through the private protocols of each manufacturer, which is not convenient for intercommunication and expansion between different manufacturers. In addition, during the configuration synchronization process, multiple interactions of messages may cause timing problems, resulting in abnormal device functions. Summary of the invention
[0005] In response to the above problems, the present invention provides a fast configuration synchronization method and device based on the EasyMesh network, a fast configuration synchronization method based on the EasyMesh standard protocol and the TR181 standard data model, an extended definition protocol message based on the EasyMesh standard protocol, carrying a large number of configuration payloads that need to be synchronized, and distributing the configuration to the agent device in the EasyMesh network at one time through the controller, so as to complete the fast synchronization of a large number of configurations.
[0006] In a first aspect, a fast configuration synchronization transmission method based on an EasyMesh network, the method comprising:
[0007] When the controller device in the easymesh network modifies the configuration, it marks the TR181 information node that needs to be synchronized, and encapsulates the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification 1905 message;
[0008] The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network for synchronization configuration.
[0009] Furthermore, the TR181 configuration information to be synchronized is encapsulated into an extended Higher Layer Data SyncNotification 1905 message, including:
[0010] The URL addressing method or the CSN addressing method is used for encapsulation.
[0011] Further, URL addressing methods include:
[0012] The configuration object is represented by a dotted string.
[0013] Furthermore, the configuration sequence number CSN addressing mode includes:
[0014] Using three-level addressing method CSN=<MOID,IID,PID> ,in:
[0015] MOID stands for Module Object Identify, which is used to address modules and objects within modules.<MID,OID> Composition, MID stands for Module Identify module ID, used to address the module, OID stands for Object; Identify object is used to address the object;
[0016] IID stands for the instance number of the Instance Identify multi-instance object;
[0017] PID stands for Param Identify parameter ID, which is used to address specific parameters;
[0018] In the payload defined in the easymseh standard protocol extension Higher Layer Data Sync Notification message, a comma "," is used to distinguish TR181 nodes and node values, and a semicolon ";" is used to distinguish each parameter that needs to be synchronized.
[0019] In a second aspect, a fast configuration synchronization method based on an easymesh network adopts the above-mentioned fast configuration synchronization transmission method based on an easymesh network to transmit a Higher Layer DataSync Notification 1905 message containing synchronization information;
[0020] The agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration.
[0021] Furthermore, the agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration, including:
[0022] The agent device parses the TR181 configuration payload in the Higher Layer Data Sync Notification message and sends it directly. After sending it, the agent device replies with a Higher Layer Data Sync Response message to the Controller device.
[0023] After receiving the Higher Layer Data Sync Response, the controller device replies with 1905ACK to complete the synchronization process.
[0024] In a third aspect, a fast configuration synchronization transmission device based on an easymesh network includes: a controller device;
[0025] When the controller device in the easymesh network modifies the configuration, it marks the TR181 information node that needs to be synchronized, and encapsulates the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification 1905 message;
[0026] The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network for synchronization configuration.
[0027] In a fourth aspect, a fast configuration synchronization device based on an easymesh network includes: an agent device,
[0028] An agent device, used for receiving the above-mentioned fast configuration synchronization transmission method based on easymesh network, and the transmitted Higher Layer Data Sync Notification 1905 message containing synchronization information;
[0029] The agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration.
[0030] In a fifth aspect, an electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0031] a memory storing a computer program;
[0032] The processor is used to implement the above-mentioned fast configuration synchronization transmission method based on the EasyMesh network, or implement the above-mentioned fast configuration synchronization method based on the EasyMesh network when executing the computer program stored in the memory.
[0033] In a sixth aspect, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned method for rapid configuration synchronization transmission based on an EasyMesh network, or implements the above-mentioned method for rapid configuration synchronization based on an EasyMesh network.
[0034] The present disclosure has at least the following beneficial effects:
[0035] The present invention realizes synchronizing a large number of configuration parameters beyond the standard provisions in the EasyMesh network at one time. It is based on the EasyMesh standard protocol without adding other private protocols, which can avoid the timing problem caused by synchronizing parameters between EasyMesh and private protocols. The configuration parameters are described based on the TR181 standard model, which is easy for intercommunication and expansion negotiation between different manufacturers.
[0036] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or be understood by implementing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures indicated in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present disclosure 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 disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] Figure 1 This is a flowchart of a synchronous transmission method according to an embodiment of the present disclosure;
[0039] Figure 2 This is a schematic diagram of the principle of the synchronization method according to an embodiment of the present disclosure;
[0040] Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0042] like Figure 1 As shown, a fast configuration synchronization transmission method based on easymesh network, the method comprising:
[0043] S101, when the controller device in the easymesh network modifies the configuration, it marks the TR181 information node that needs to be synchronized, and encapsulates the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification1905 message;
[0044] S102: The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network for synchronization configuration.
[0045] The specific implementation is as follows:
[0046] Based on Chapter 16 of the easymesh protocol, the 1905 message specified in the extended protocol is used to encapsulate the configuration that needs to be synchronized. This chapter describes the mechanism of transmitting high-level protocols through the 1905 message payload, and the TR181 data objects can be accessed and operated between the controller and the agent through the Higher Layer Datamessage. Set the 1905 device to respond to the 1905ACK message within 1 second after receiving the 1905 message.
[0047] The data model that needs to be synchronized and configured is described based on the TR181 protocol. TR181 is a series of technical specifications developed by the Broadband Forum, and its full name is "Device Data Model for CWMP Endpoints and USP Agents". It defines the device data model for CWMP (CPE WAN Management Protocol) terminals and USP (Universal Service Platform) agents. This standardized data model is used to provide remote management and configuration for broadband network devices.
[0048] The definition of the Higher Layer Data Sync Notification message extended by the easymesh standard protocol is shown in Table 1:
[0049] Table 1
[0050]
[0051]
[0052] The definition of the Response message of the easymesh standard protocol extension Higher Layer Data Sync Report is shown in Table 2:
[0053] Table 2
[0054]
[0055] When encapsulating the EasyMesh protocol payload, multiple methods can be used to describe the device data model under TR181.
[0056] Use URL addressing;
[0057] That is, the configuration object is represented by a dotted string, including<ObjUrl,ParamName> , for example, Table 3:
[0058] Table 3
[0059]
[0060] Using Configuration Serial Number (CSN) addressing:
[0061] The configuration sequence number (CSN) uses a three-level addressing method CSN=<MOID,IID,PID> ,in:
[0062] MOID:Module Object Indentify means that the module object ID is used to address modules and objects within modules.
[0063] Depend on<MID,OID> Composition, MID stands for Module Identify module ID is used to address the module, OID stands for Object;
[0064] The Identify object is used to address the object;
[0065] IID: represents the instance number of Instance Identify multi-instance object. This parameter is invalid for non-multi-instance objects.
[0066] PID: stands for Param Identify parameter ID, which is used to address specific parameters;
[0067] For example, see Table 4:
[0068] Table 4
[0069]
[0070] In Table 4, MID, OID, IID and PID are all customized, and Value uses the value range in the TR181 specification.
[0071] Compared with the URL method, the advantage of using CSN is that the payload information volume is large. A message can carry more configuration information, and the corresponding TR181 object can be quickly matched during parsing without parsing the string for matching. When using CSN for inter-manufacturer intercommunication, the serial number value of the TR181 object must be agreed in advance.
[0072] The configuration sequence number CSN addressing method of the TR181 object is defined as shown in Table 5:
[0073] Table 5
[0074]
[0075] In Table 5, CSN, MID, OID, IID and PID are all customized, and the Value is in the range specified in the TR181 specification.
[0076] In the payload of the easymseh standard protocol extension Higher Layer Data Sync Notification message, a comma "," is used to distinguish between TR181 nodes and node values, and a semicolon ";" is used to distinguish between each parameter that needs to be synchronized. For example:
[0077] If the parameters to be synchronized are, the message payload encapsulation format is as follows:
[0078] URL method: {URL,"Value"; URL,"Value";...}
[0079] CSN method:
[0080] {MOID,IID,PIN,"value";MOID,IID,PIN,value;MOID,IID,PIN,"value";...}
[0081] For example, the parameters that need to be synchronized are: Device.WiFi.Radio.1.TransmitPower=80 and Device.WiFi.Radio.9.TransmitPower=60.
[0082] URL method:
[0083] {Device.WiFi.Radio.1.TransmitPower,"80";Device.WiFi.Radio.9.TransmitPower,"60";}
[0084] CSN mode: {0x0104,0X01,0X12,"80"; 0x0104,0X09,0X12,"60";}
[0085] like Figure 2 As shown, the EasyMesh network configuration synchronization process is as follows:
[0086] 1. When the controller device in the easymesh network modifies the configuration, it marks the TR181 nodes that need to be synchronized and notifies the controller process;
[0087] 2. After receiving the TR181 information, the controller process encapsulates the TR181 configuration to be synchronized into the extended Higher Layer Data Sync Notification 1905 message according to different encapsulation methods;
[0088] 3. The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network;
[0089] 4. The agent device responds with 1905ACK within 1 second after receiving the Higher Layer Data Sync Notification 1905 message;
[0090] 5. The agent device parses the TR181 configuration payload in the Higher Layer Data Sync Notification message in a corresponding manner and directly sends it down;
[0091] 6. After the agent device completes the delivery, it replies with a Higher Layer Data Sync Response message to the Controller device;
[0092] 7. After receiving the Higher Layer Data Sync Response, the controller device replies with 1905ACK to complete the synchronization process.
[0093] A fast configuration synchronization method based on an easymesh network, using the above-mentioned fast configuration synchronization transmission method based on an easymesh network to transmit a Higher Layer Data SyncNotification 1905 message containing synchronization information;
[0094] The agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration.
[0095] A fast configuration synchronization transmission device based on easymesh network, comprising: a controller device;
[0096] When the controller device in the easymesh network modifies the configuration, it marks the TR181 information node that needs to be synchronized, and encapsulates the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification 1905 message;
[0097] The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network for synchronization configuration.
[0098] A fast configuration synchronization device based on easymesh network, comprising: an agent device,
[0099] An agent device, used for receiving the above-mentioned fast configuration synchronization transmission method based on easymesh network, and the transmitted Higher Layer Data Sync Notification 1905 message containing synchronization information;
[0100] The agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration.
[0101] like Figure 3 As shown, the present disclosure provides an electronic device, including a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 communicate with each other through the communication bus 304;
[0102] Memory 303, storing computer programs;
[0103] The processor 301 is used to implement the above-mentioned method for rapid configuration synchronization transmission based on the EasyMesh network when executing the computer program stored in the memory 303.
[0104] The present disclosure provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the computer program implements the above-mentioned method for rapid configuration synchronization transmission based on an EasyMesh network.
[0105] The computer-readable storage medium may be included in the device / apparatus described in the above embodiment; or it may exist independently without being assembled into the device / apparatus. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0106] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0107] Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A fast configuration synchronization transmission method based on easymesh network, characterized in that: The method comprises: When the controller device in the easymesh network modifies the configuration, it marks the TR181 information node that needs to be synchronized, and encapsulates the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification 1905 message; The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network for synchronization configuration.
2. According to claim 1, a method for rapid configuration synchronization transmission based on easymesh network is characterized in that: Encapsulate the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification1905 message, including: The URL addressing method or the CSN addressing method is used for encapsulation.
3. According to claim 2, a method for rapid configuration synchronization transmission based on easymesh network is characterized in that: URL addressing methods include: The configuration object is represented by a dotted string.
4. According to claim 2, a method for rapid configuration synchronization transmission based on easymesh network is characterized in that: Configure the CSN addressing mode, including: Using three-level addressing method CSN=<MOID,IID,PID> ,in: MOID stands for Module Object Identify, which is used to address modules and objects within modules.<MID,OID> Composition, MID stands for Module Identify module ID, used to address the module, OID stands for Object; Identify object is used to address the object; IID stands for the instance number of the Instance Identify multi-instance object; PID stands for Param Identify parameter ID, which is used to address specific parameters; In the payload defined in the EasyMesh standard protocol extension Higher Layer Data Sync Notification message, a comma "," is used to distinguish TR181 nodes and node values, and a semicolon ";" is used to distinguish each parameter that needs to be synchronized.
5. A fast configuration synchronization method based on easymesh network, characterized in that: A fast configuration synchronization transmission method based on easymesh network as described in claims 1-4 is used to transmit a Higher LayerData Sync Notification 1905 message containing synchronization information; The agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration.
6. The method for rapid configuration synchronization transmission based on easymesh network according to claim 5, characterized in that: After receiving the TR181 configuration information in the Higher Layer Data Sync Notification message, the agent device parses and performs synchronization configuration, including: The agent device parses the TR181 configuration payload in the Higher Layer Data Sync Notification message and sends it directly. After sending it, the agent device replies with a Higher Layer Data Sync Response message to the Controller device. After receiving the Higher Layer Data Sync Response, the controller device replies with 1905ACK to complete the synchronization process.
7. A fast configuration synchronization transmission device based on easymesh network, characterized in that: include: controller device; When the controller device in the easymesh network modifies the configuration, it marks the TR181 information node that needs to be synchronized, and encapsulates the TR181 configuration information that needs to be synchronized into the extended Higher Layer Data Sync Notification 1905 message; The controller device sends the encapsulated Higher Layer Data Sync Notification 1905 message to the agent device in the network for synchronization configuration.
8. A fast configuration synchronization device based on easymesh network, characterized in that: include: Agent equipment, An agent device, used to receive a Higher Layer Data Sync Notification 1905 message containing synchronization information transmitted by a fast configuration synchronization transmission method based on an easymesh network as described in claims 1-4; The agent device receives the TR181 configuration information in the Higher Layer Data Sync Notification message and parses it to perform synchronization configuration.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a memory storing a computer program; A processor, when used to execute a computer program stored in a memory, implements a method for rapid configuration synchronization transmission based on an EasyMesh network as described in any one of claims 1-4, or implements a method for rapid configuration synchronization based on an EasyMesh network as described in any one of claims 5-6.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements a fast configuration synchronization transmission method based on an EasyMesh network as described in any one of claims 1-4, or implements a fast configuration synchronization method based on an EasyMesh network as described in any one of claims 5-6.
