Star flash MESH networking equipment network access configuration method, equipment, system and medium
By scanning and parsing the data information of sub-device in real time, quickly judge the network access request and execute the network access process, simplifying the network access process of the MESH networking device and improving the network access efficiency.
Patent Information
- Application Number
- CN202510536308.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-04-27
AI Technical Summary
The configuration process of traditional wireless MESH networking equipment is cumbersome and the efficiency of equipment networking is low.
By scanning the data information of the receiving sub-device in real time, the analysis process is used to determine whether it is network access request information, and the network access process is performed based on the analysis results, simplifying the device network access process.
It realizes the rapid and efficient network access of equipment, and solves the problems of long and low network access time and low efficiency in traditional MESH networking.
Smart Images

Figure CN120416876A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of MESH networking, and in particular, to a Spark MESH networking data communication method, device, system and medium. Background Art
[0002] A Wireless Mesh Network (WMN) is a specially designed wireless communication technology, aiming to provide a more flexible, reliable and easily expandable way to build and manage wireless networks. It is a wireless ad-hoc network, generally featuring multiple nodes, no central node, self-organization, etc. In related technologies, the MESH networking technology usually goes through multiple steps such as device discovery, authentication, and configuration during device network access configuration. The entire network access process is cumbersome, resulting in a long device network access time and low device network access efficiency.
[0003] Therefore, how to solve the technical problems existing in the traditional wireless MESH networking device network access configuration in related technologies has become a technical problem that those skilled in the art need to overcome. Summary of the Invention
[0004] An embodiment of the present invention provides a method, device, system and medium for configuring a Spark MESH networking device to access the network, aiming to solve the technical problems of cumbersome network access process and low device network access efficiency existing in the traditional wireless MESH networking device network access in related technologies.
[0005] In a first aspect, an embodiment of the present invention provides a method for configuring a Spark MESH networking device to access the network, which includes:
[0006] Continuously scan and receive data information sent by a sub-device;
[0007] Parse and process the data information to determine whether the data information is a network access request message;
[0008] If the data information is the network access request message;
[0009] Then execute the network access process of the sub-device according to the network access request message to complete the network access of the sub-device.
[0010] The method for configuring a Spark MESH networking device to access the network according to the embodiment of the present invention has at least the following beneficial effects:
[0011] In an embodiment of the present invention, a method for configuring the network access of a SparkLink MESH networking device scans and receives data information sent by a sub-device in real time. After parsing and processing the data information, when it is determined according to the parsing and processing result that the data information is the network access request information of the sub-device, the network access process of the sub-device is executed to realize the network access of the sub-device. In the embodiment of the present invention, by scanning, receiving, parsing and processing the data information sent by the sub-device, it is further quickly determined whether the data information is the network access request information. When the data information sent by the sub-device is the network access request information, the network access process of the sub-device is executed, realizing a simple and efficient network access process for the sub-device, and solving the technical problems of long device network access time and low device network access efficiency existing in the related art that the MESH networking requires multiple steps such as device discovery, authentication, and configuration during device network access.
[0012] According to another embodiment of the present invention, the method for configuring the network access of a SparkLink MESH networking device further includes:
[0013] Parse and process the data information to determine whether the data information is heartbeat packet data information;
[0014] If the data information is the heartbeat packet data information;
[0015] Then execute the heartbeat connection process of the sub-device according to the heartbeat packet data information to complete the heartbeat connection of the sub-device.
[0016] According to another embodiment of the present invention, the parsing and processing the data information to determine whether the data information is the network access request information includes:
[0017] Parse and process the data information according to a preset message format to obtain a flag bit;
[0018] Judge whether the data information is the network access request information according to the flag bit.
[0019] According to another embodiment of the present invention, the preset message format includes: company ID, device type, source address, destination address, TTL value, flag bit, message version number, start-up times, and payload.
[0020] According to another embodiment of the present invention, the executing the network access process of the sub-device according to the network access request information to complete the network access of the sub-device includes:
[0021] Judge whether the sub-device is in the queue of the already networked sub-devices according to the source address;
[0022] If so, determine that the network access request information of the sub-device has been processed and feedback it to the sub-device;
[0023] Otherwise, request the server platform to create the sub-device;
[0024] If receiving the network access feedback information from the server platform indicating that the sub-device is successfully created for the first time;
[0025] Then broadcast the network access completion information to the sub-device;
[0026] If receiving the feedback information from the server platform indicating that the sub-device has been created;
[0027] Then no longer process the network access request process of the sub-device.
[0028] According to the network access configuration method of the Spark MESH networking device according to other embodiments of the present invention, performing the heartbeat connection process of the sub-device according to the heartbeat packet data information, and completing the heartbeat connection of the sub-device includes:
[0029] Parse the heartbeat packet data information according to the preset message format to obtain the source address, the start count, and the message version number;
[0030] If the source address is in the queue of the already networked sub-devices, determine whether the start count is greater than the stored historical start count;
[0031] If the start count is greater than the historical start count, update the historical start count with the start count, and then report the data information of the sub-device to the server platform;
[0032] If the start count is not greater than the historical start count, determine whether the message version number is greater than the stored historical message version number;
[0033] If the message version number is greater than the historical message version number, update the historical message version number with the message version number, and then report the data information of the sub-device to the server platform;
[0034] If the message version packet is not greater than the historical message version number, then no longer process the heartbeat packet data information;
[0035] If the source address is not in the queue of the already networked sub-devices, add the source address to the queue of the already networked sub-devices, and then report the data information of the sub-device to the server platform.
[0036] According to the network access configuration method of the Spark MESH networking device according to other embodiments of the present invention, the method further includes:
[0037] Obtain the number of message forwarding nodes through which the sub-device sends the network access request information;
[0038] Set the TTL value according to the number of message forwarding nodes.
[0039] According to the star flash MESH networking device network access configuration method of some other embodiments of the present invention, the obtaining the number of message forwarding nodes through which the sub-device sends the network access request information includes:
[0040] Set the initial TTL value of the sub-device;
[0041] Each time the initial TTL value passes through a message forwarding node, a self-decrement operation is performed to obtain a measurement value;
[0042] Set the TTL value according to the measurement value.
[0043] In a second aspect, an embodiment of the present invention provides a star flash MESH networking device network access configuration device, including:
[0044] A data scanning and receiving module, configured to scan and receive data information sent by a sub-device in real time;
[0045] A data processing and judgment module, configured to parse and process the data information to judge whether the data information is network access request information;
[0046] A sub-device network access execution module, configured to execute the network access process of the sub-device according to the network access request information to complete the network access of the sub-device.
[0047] In a third aspect, an embodiment of the present invention provides a star flash MESH networking device network access configuration system, including at least one sub-device, at least one gateway device, and a server platform;
[0048] At least one of the sub-devices is communicatively connected to at least one of the gateway devices through star flash communication;
[0049] At least one of the gateway devices is communicatively connected to the server platform through a 4G network or a 5G network;
[0050] Wherein, at least one of the gateway devices executes the star flash MESH networking device network access configuration method as described above to implement the network access request process of at least one of the sub-devices.
[0051] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, and the computer-readable storage medium stores an executable program, and the executable program is executed by a processor to implement the star flash MESH networking device network access configuration method as described above. Description of the Drawings
[0052] Figure 1 It is a schematic diagram of the steps of the first embodiment of a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0053] Figure 2 It is a schematic diagram of the steps of the second embodiment of a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0054] Figure 3 It is a schematic diagram of the composition of a specific embodiment of a preset message format in a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0055] Figure 4 It is a schematic diagram of a specific sub-step of step S200 in a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0056] Figure 5 It is a schematic diagram of a specific sub-step of step S300 in a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0057] Figure 6 It is a schematic diagram of a specific sub-step of step S500 in a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0058] Figure 7 It is a schematic diagram of the steps of a specific embodiment that also includes steps S600 and S700 in a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0059] Figure 8 It is a schematic diagram of a specific sub-step of step S700 in a method for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0060] Figure 9 It is a schematic diagram of the module composition of a specific embodiment of a device for configuring network access of a Spark MESH networking device according to an embodiment of the present invention;
[0061] Figure 10 It is a schematic diagram of the composition structure of a specific embodiment of a system for configuring network access of a Spark MESH networking device according to an embodiment of the present invention. Detailed implementation manners
[0062] The following will clearly and completely describe the concept of the invention and the technical effects produced in combination with the embodiments, so as to fully understand the purpose, features and effects of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, other embodiments obtained by those skilled in the art without creative efforts shall fall within the scope of protection of the present invention.
[0063] In the description of the embodiments of the present invention, if "several" is involved, it means more than one; if "multiple" is involved, it means more than two; if "greater than", "less than", or "exceeding" is involved, it should be understood as not including the base number; if "above", "below", or "within" is involved, it should be understood as including the base number. If "first" or "second" is involved, it should be understood as being used to distinguish technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.
[0064] Referring to Figure 1 , the embodiments of the present invention provide a method for configuring the access of a SparkLink MESH networking device, which is applied to the gateway device of the SparkLink MESH networking device access configuration system and is used to quickly and accurately process the access requests of sub-devices; the method includes the following steps:
[0065] S100. Continuously scan and receive the data information sent by the sub-device;
[0066] Among them, after the sub-device is powered on, it initializes the SparkLink function, enters the access process, and sends access request information outward through the SparkLink broadcast method (the destination address of the information is the public broadcast address), and the sub-devices that have already accessed the network can also send corresponding data information outward during the device operation process; when the gateway device scans the data information sent by the sub-device, it will perform reception and parsing processing.
[0067] S200. Determine whether the data information is an access request information;
[0068] Among them, since the gateway device is not sure whether the information is an access request information after scanning the data information sent by the sub-device, therefore, it is necessary to perform parsing processing on the data information and then determine whether it is an access request information.
[0069] If it is determined to be yes in step S200, then execute the steps:
[0070] S300. Execute the access process of the sub-device according to the access request information to complete the access of the sub-device.
[0071] Among them, if the access request information sent by the sub-device is scanned and received by the gateway device, the gateway device will trigger and execute the access process of the sub-device to realize the access of the sub-device.
[0072] In an embodiment of the present invention, a method for configuring a device to access a SparkLink MESH network includes scanning and receiving data information sent by a slave device, parsing and processing the data information to determine whether it is an access request message, and executing the access process of the slave device after determining that it is an access request message, thereby solving the technical problems of long device access time and low device access efficiency in the related art where wireless MESH networking requires multiple steps such as device discovery, authentication, and configuration during device access.
[0073] Referring to Figure 2 , in some embodiments, the types of data information processed by the gateway device from the slave device also include heartbeat packet data information with the destination address being the MAC address of the gateway device. The slave device sends heartbeat packet data information to the gateway device to keep the slave device in an online state and prevent the system communication from being affected due to the slave device being in an offline state. Furthermore, a method for configuring a device to access a SparkLink MESH network in an embodiment of the present invention further includes the steps of:
[0074] S400. Determine whether the data information is heartbeat packet data information;
[0075] Among them, when parsing and processing the data information in step S200 of the above embodiment, since the gateway device in the SparkLink communication system only parses and processes the access request information with the destination address of the information sent by the slave device being the public broadcast address, and the heartbeat packet data information with the destination address of the information being the MAC address of the gateway device, therefore, if it is determined in step S200 that the received data information is not an access request message, then the data information corresponds to heartbeat packet data information.
[0076] If it is determined in step S400 that it is, then execute the steps:
[0077] S500. Execute the heartbeat connection process of the slave device according to the heartbeat packet data information to complete the heartbeat connection of the slave device.
[0078] In this embodiment, the gateway device maintains the slave device in an online state by receiving, parsing, and processing the heartbeat packet data information sent by the slave device, ensuring the stability of system data communication.
[0079] Referring to Figure 3 and Figure 4, in some embodiments, the preset message format includes a company ID, a device type, a source address, a destination address, a TTL value, a flag bit, a message version number, a startup count, and a payload; among them, the company ID represents the company to which the device belongs, occupying 1 byte; the device type represents the type of the message source device, occupying 1 byte; the source address represents the MAC address of the information source, occupying 6 bytes; the destination address represents the destination MAC address of the information, occupying 6 bytes; the TTL value (Time To Live) represents the survival period of the information, and this value is decremented by 1 for each node the message passes through, occupying 1 byte; the flag bit represents the type of the information, occupying 1 byte; the message version number represents the number of the message sent by the message source device, occupying 4 bytes; the startup count represents the total number of startups of the message source device, occupying 2 bytes; the payload represents the data content of the information, occupying 0 - 230 bytes. In this embodiment, the designed preset message format is used to accurately and quickly parse and process the received data information, and the effects brought by the preset message format in the device network access configuration will be elaborated later. In this embodiment, to quickly and accurately determine whether the data information is the network access request information of the sub-device, step S200 in the above embodiment includes:
[0080] S210. Parse and process the data information according to the preset message format to obtain the flag bit;
[0081] Among them, after receiving the data information sent by the sub-device, the gateway device parses and processes it according to the preset message format, and then obtains the corresponding company ID, device type, source address, destination address, TTL value, flag bit, message version number, startup count, and payload of the data information. First, by judging whether the obtained company ID and device type correspond, when the company ID and device type do not correspond, the processing of the data information is abandoned, and then the subsequent data processing steps are received, providing the data processing ability of the gateway device. When the company ID and device type correspond, the gateway device further obtains the flag bit corresponding to the data information.
[0082] S220. Judge whether the data information is the network access request information according to the flag bit.
[0083] Among them, the flag bit represents the type of the information. After obtaining the flag bit of the data information in step S210, it can be judged whether the currently received data information is the network access request information through the flag bit.
[0084] In this embodiment, through the designed preset message format, when the gateway device parses and processes the data information sent by the sub-device, it can accurately and quickly judge whether the received data information is the network access request information.
[0085] Refer to Figure 5, in some embodiments, when it is determined through step S220 of the above embodiments that the data information corresponds to an access request message, since there are multiple sub-devices and multiple gateway devices in the SparkLink MESH networking device access configuration system, and the access request messages of the sub-devices are transmitted in a broadcast manner, when the gateway device determines that the data information is an access request message, the sub-device that may have sent the data information may have already successfully accessed the network. Therefore, to accurately execute the access process of the sub-device, in this embodiment, step S300 of the above embodiments further includes sub-steps:
[0086] S310. Determine whether the sub-device is in the queue of already-accessed sub-devices according to the source address;
[0087] Among them, after device initialization, the gateway device establishes an MQTT connection with the server platform, and initializes an information reception queue, an information transmission queue, an information storage queue, and a queue of already-accessed sub-devices; the information reception queue and the information transmission queue are used for data interaction in SparkLink communication, and the information storage queue is used to store the MQTT authentication information and HTTP Token information of the gateway device. The MQTT authentication information and HTTP Token information are used to quickly restore the MQTT connection with the server platform and SparkLink networking after the gateway device is powered off and restarted. The queue of already-accessed sub-devices is used to store the MAC addresses of the sub-devices that have accessed the network under this gateway device, the message version numbers of the sub-devices, and the historical startup times of the sub-devices. In addition, the gateway device also creates a reception thread, a transmission thread, and a serial port message thread. The reception thread processes the data information received by the gateway device through SparkLink, the transmission thread is used to send the data information outward in the SparkLink communication manner, and the serial port message thread is used to process the data information sent by the server platform and 4G / 5G devices. In this embodiment, after the gateway device parses and processes the access request message, it obtains the corresponding source address, and then determines whether the sub-device is in the queue of already-accessed sub-devices under this gateway device by determining whether the source address is in the queue of already-accessed sub-devices.
[0088] If the determination in step S310 is yes, then execute the steps:
[0089] S320. Determine that the access request message of the sub-device has been processed and feedback it to the sub-device;
[0090] In step S310, if it is determined that the source address is in the queue of already-accessed sub-devices, at this time, the gateway device broadcasts the already-accessed information to the sub-device through SparkLink. The already-accessed information carried in the feedback contains the MAC address of the gateway device. Then, after the sub-device receives the feedback already-accessed information, it stores and binds the MAC address of the gateway device.
[0091] If the determination in step S310 is no, then execute the steps:
[0092] S330. Request the server platform to create a sub-device;
[0093] Among them, when the sub-device requests to access the network, the gateway device will synchronize the network access information of the sub-device to the server platform, which will be uniformly created and managed by the server platform, thus avoiding the same sub-device from accessing the network multiple times through different gateway devices.
[0094] S340. Determine whether to receive the network access feedback information indicating that the sub-device is successfully created for the first time;
[0095] Among them, if the current gateway device receives the network access feedback information indicating that the sub-device is successfully created for the first time sent by the server platform, it means that the sub-device has not successfully accessed the network through other gateway devices and reported it to the server platform. At this time, the current gateway device saves and reports the data information of the sub-device to the server platform, and the data information includes the data information contained in the preset message format described above.
[0096] If the judgment in step S340 is yes, then execute the steps:
[0097] S350. Broadcast the network access completion information to the sub-device;
[0098] Among them, after the sub-device completes network access, the gateway device will send the network access completion information to the sub-device through the NearLink broadcast method. The network access completion information includes the MAC address of the gateway device. Then, after receiving the network access completion information, the sub-device stores and binds the MAC address of the gateway device.
[0099] If the judgment in step S340 is no, then execute the steps:
[0100] S360. No longer process the network access request process of the sub-device.
[0101] Among them, if the sub-device completes the network access request through other gateway devices and reports it to the server platform, when the current gateway device requests the server platform to create the sub-device again, the server platform will send the feedback information that the sub-device has been created to the current gateway device. Then, the current gateway device no longer processes the network access request of the sub-device, avoiding multiple gateway devices from simultaneously executing the network access request of the same sub-device, and effectively improving the data information processing ability of the NearLink MESH networking device network access configuration system.
[0102] Refer to Figure 6 , in some embodiments, to accurately execute step S500 of the sub-device heartbeat connection in the above embodiments to maintain the online state of the sub-device. In this embodiment, step S500 of the above embodiments includes sub-steps:
[0103] S510. Parse and process the heartbeat packet data information according to the preset message format to obtain the source address, start count, and message version number;
[0104] Among them, after receiving the heartbeat packet data information of the sub-device, the gateway device needs to perform fast and accurate processing based on the source address, startup times, and message version number information carried in the heartbeat packet data information.
[0105] S520. Determine whether the source address is in the queue of the sub-devices that have joined the network;
[0106] If the source address is in the queue of the sub-devices that have joined the network of the gateway device, it means that the sub-device belongs to the gateway device, and the gateway device needs to perform reception and parsing processing on the received heartbeat packet data information.
[0107] If the judgment in step S520 is yes, then execute the steps:
[0108] S530. Determine whether the startup times are greater than the stored historical startup times;
[0109] Among them, the gateway device stores the historical startup times of the sub-devices. When the startup times carried in the heartbeat packet data information are greater than the historical startup times stored by the gateway device, it means that the sub-device has experienced power-off restart or soft reset.
[0110] If the judgment in step S530 is yes, then execute the steps:
[0111] S540. After updating the historical startup times with the startup times, report the data information of the sub-device to the server platform;
[0112] Among them, if the corresponding startup times in the heartbeat packet data information received by the gateway device are greater than the historical startup times of the sub-device stored by the gateway device, it means that the sub-device has experienced power-off restart or soft reset. The gateway device no longer judges the relationship between the received message version number and the stored historical version number, directly updates the historical startup times with the startup times, and then reports the data information of the sub-device to the server platform to complete the heartbeat connection.
[0113] If the judgment in step S530 is no, then execute the steps:
[0114] S550. Determine whether the message version number is greater than the stored historical message version number;
[0115] Among them, if the corresponding message version number in the heartbeat packet data information received by the gateway device is greater than the historical message version number of the sub-device stored by the gateway device, it means that the gateway device has not received and processed the heartbeat packet data information sent by the sub-device.
[0116] If the judgment in step S550 is yes, then execute the steps:
[0117] S560. Update the historical message version number with the message version number and report the data information of the sub-device to the server platform;
[0118] If the judgment in step S550 is negative, then execute the steps:
[0119] S570. End the current heartbeat connection process of the sub-device;
[0120] Among them, if the message version number corresponding to the heartbeat packet data information received by the gateway device is not greater than the historical message version number of the stored sub-device, it means that the gateway device has processed the heartbeat connection process, or the heartbeat packet data information has lost timeliness. Therefore, the heartbeat packet data information is not processed, reducing the data processing content of the gateway device.
[0121] If the judgment in step S520 is negative, then execute the steps:
[0122] S580. Add the source address to the queue of sub-devices that have joined the network and report the data information of the sub-device to the server platform.
[0123] Among them, if the gateway device does not find the source address in its own queue of sub-devices that have joined the network, the source address is directly added to the queue of sub-devices that have joined the network, the sub-device is attributed to the gateway device, and at the same time, the data information of the sub-device is reported to the server platform.
[0124] In this embodiment, the gateway device transmits the data information of the sub-device to the server platform through MQTT communication. The data information reported for the sub-device is the updated data information, and the content included in the data information is the various information contents included in the preset message format described in the above embodiment.
[0125] Refer to Figure 7 In some embodiments, in order to prevent the data information transmission between sub-devices or the data transmission between sub-devices and the gateway device from being forwarded in the network without limit, or the number of forwarding times is too large, resulting in resource consumption, increasing the network load and causing network congestion, and reducing the communication efficiency; and to prevent the number of forwarding times of the data information from being too small, resulting in communication failures and incomplete information transmission caused by the data information not being effectively transmitted to the destination address. During the process of the gateway device executing the network access request of the sub-device, the TTL value of the sub-device is adaptively set. In this embodiment, the method for configuring the StarFlash MESH networking device to join the network further includes the steps:
[0126] S600. Obtain the number of message forwarding nodes passed by the sub-device when sending the network access request information;
[0127] Among them, the number of message forwarding nodes refers to the number of times that other sub-devices through which the network access request information passes forward after the current sub-device initiates a network access request.
[0128] S700. Set the TTL value according to the number of message nodes.
[0129] In this embodiment, during the network access request process of the sub-device, the TTL value of the sub-device is adaptively set at the same time, which can realize setting a TTL value suitable for itself according to different sub-devices, instead of simply setting the same TTL value for all sub-devices, thereby avoiding network congestion caused by the same TTL value of sub-devices in different network environments, reducing problems such as reduced communication efficiency, communication failure, or incomplete information transmission.
[0130] Refer to Figure 8 Specifically, in some embodiments, in order to accurately set the TTL value of the sub-device, step S700 in the above embodiment includes the steps:
[0131] S710. Set the initial TTL value of the sub-device;
[0132] Among them, the initial TTL value of the sub-device should not be set too low, which may cause the network access request information of the sub-device to not reach the gateway device. Generally, a relatively large value is set for the initial TTL value. For example, the initial TTL value = 128.
[0133] S720. Each time the initial TTL value passes through a message forwarding node, perform a self-decrement operation to obtain a measurement value;
[0134] Among them, the message forwarding node is other sub-devices except the sub-device that initiates the network access request. Each time it passes through a message forwarding node, the initial TTL value is decremented by 1. For example, after passing through 7 message forwarding nodes, the current TTL value becomes 128 - 7 = 121, and the measurement value = 7.
[0135] S730. Set the TTL value according to the measurement value.
[0136] Among them, if the measurement value is directly used as the TTL value of the sub-device, in the case of network environment changes, it may cause ineffective data information transmission. Therefore, generally, when setting the TTL value, a preset margin value is added to the measurement value, and the preset margin value can be adaptively set according to the network environment. Furthermore, in this embodiment, after the gateway device obtains the measurement value during the network access request process of the sub-device and sets the TTL value of the sub-device, it carries the TTL value in the network access completion information sent to the sub-device, realizing the adaptive setting of the TTL value of the sub-device.
[0137] Refer to Figure 9, an embodiment of the present invention further provides a device for configuring the access of a SparkLink MESH networking device, which includes a data scanning and receiving module, a data processing and judgment module, and a sub-device access execution module; wherein, the data scanning and receiving module is used to scan and receive the data information sent by the sub-device in real time; the data processing and judgment module is used to parse and process the data information to judge whether the data information is an access request information; the sub-device access execution module is used to execute the access process of the sub-device according to the access request information to complete the access of the sub-device. The device for configuring the access of the SparkLink MESH networking device provided in this embodiment has a process principle for implementing device access configuration in the SparkLink MESH networking device access configuration system that corresponds to and refers to the SparkLink MESH networking device access configuration methods described in the above various embodiments, and will not be elaborated here.
[0138] Refer to Figure 10 , an embodiment of the present invention further provides a SparkLink MESH networking device access configuration system, which includes at least one sub-device (sub-devices M1 to Mn+1), at least one gateway device, and a server platform; wherein, at least one sub-device is in SparkLink communication connection with a gateway device, and at least one gateway device is in communication connection with the server platform through a 4G network or a 5G network. In this embodiment, after the gateway device receives the data information of the sub-device through SparkLink scanning (including access request information and heartbeat packet data information), the gateway device executes the SparkLink MESH networking device access configuration method described in any of the above embodiments, which is used to execute the sub-device access request process to realize the access of the sub-device; or is used to execute the sub-device heartbeat connection process to realize the sub-device heartbeat connection. An embodiment of the present invention provides a SparkLink MESH networking device access configuration system, which solves the technical problems of cumbersome access processes and low device access efficiency existing in wireless MESH networking when devices access the network in the related art.
[0139] In some embodiments, the server platform described in the above embodiments is a cloud platform, a physical server, or a combination of its cloud platform and physical server; the specific implementation manner of the server platform can be adaptively changed according to the on-site use requirements.
[0140] In an embodiment of the present invention, in a SparkLink MESH networking device access configuration system, the process principle of the gateway device for processing the received data information of the sub-device corresponds to and refers to the process principle described in the SparkLink MESH networking device access configuration methods described in the above various embodiments, and will not be elaborated here.
[0141] An embodiment of the present invention further provides a computer storage medium, wherein the computer-readable storage medium stores a computer-executable program, and when the executable program is executed by a processor, it realizes the SparkLink MESH networking device access configuration method described in any of the above embodiments.
[0142] The embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the scope of knowledge possessed by those of ordinary skill in the art. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
Claims
1. A method for network access configuration of a SparkLink MESH networking device, characterized in that, It includes: Real-time scanning and receiving data information sent by sub-devices; Parsing and processing the data information to determine whether the data information is an Internet access request message; If the data information is the Internet access request message; Then execute the Internet access process of the sub-device according to the Internet access request message to complete the Internet access of the sub-device.
2. The method for network access configuration of the Spark MESH networking device according to claim 1, wherein, It also includes: Parsing and processing the data information to determine whether the data information is a heartbeat packet data information; If the data information is the heartbeat packet data information; Then execute the heartbeat connection process of the sub-device according to the heartbeat packet data information to complete the heartbeat connection of the sub-device.
3. The method for configuring network access of the SparkLink MESH networking device according to claim 1, wherein, The parsing and processing the data information to determine whether the data information is an Internet access request message includes: Parsing and processing the data information according to a preset message format to obtain a flag bit; Judging whether the data information is the Internet access request message according to the flag bit.
4. The method for configuring network access of the SparkLink MESH networking device according to claim 2 or 3, characterized in that, The preset message format includes: company ID, device type, source address, destination address, TTL value, flag bit, message version number, start-up times, and payload.
5. The method for network access configuration of the SparkLink MESH networking device according to claim 4, wherein The executing the Internet access process of the sub-device according to the Internet access request message to complete the Internet access of the sub-device includes: Judging whether the sub-device is in the queue of already Internet-accessed sub-devices according to the source address; If so, judge that the Internet access request message of the sub-device has been processed and feedback it to the sub-device; Otherwise, request the server platform to create the sub-device; If receiving the Internet access feedback information that the sub-device is successfully created for the first time from the server platform; Then broadcast the completed Internet access information to the sub-device; If receiving the feedback information that the sub-device has been created from the server platform; Then no longer process the Internet access request process of the sub-device.
6. The method for configuring network access of the SparkLink MESH networking device according to claim 5, characterized in that, The executing the heartbeat connection process of the sub-device according to the heartbeat packet data information to complete the heartbeat connection of the sub-device includes: Parsing the heartbeat packet data information according to the preset message format to obtain the source address, the start-up times, and the message version number; If the source address is in the queue of already Internet-accessed sub-devices, judge whether the start-up times is greater than the stored historical start-up times; If the start-up times is greater than the historical start-up times, update the historical start-up times with the start-up times and then report the data information of the sub-device to the server platform; If the start-up times is not greater than the historical start-up times, judge whether the message version number is greater than the stored historical message version number; If the message version number is greater than the historical message version number, update the historical message version number with the message version number and report the data information of the sub-device to the server platform; If the message version packet is not greater than the historical message version number, then no longer process the heartbeat packet data information; If the source address is not in the queue of already Internet-accessed sub-devices, add the source address to the queue of already Internet-accessed sub-devices and report the data information of the sub-device to the server platform.
7. The method for configuring network access of the SparkLink MESH networking device according to claim 4, wherein The method also includes: Obtaining the number of message forwarding nodes passed by the sub-device when sending the Internet access request message; Set the TTL value according to the number of message forwarding nodes.
8. The method for configuring network access of the SparkLink MESH networking device according to claim 7, characterized in that The obtaining of the number of message forwarding nodes passed by the sub-device when sending the network access request information includes: Set the initial TTL value of the sub-device; When the initial TTL value passes through each message forwarding node, perform a self-decrement operation to obtain a measurement value; Set the TTL value according to the measurement value.
9. A device for network access configuration of a SparkLink MESH networking device, characterized in that, Includes: A data scanning and receiving module, configured to scan and receive data information sent by sub-devices in real time; A data processing and judgment module, configured to parse and process the data information to judge whether the data information is network access request information; A sub-device network access execution module, configured to execute the network access process of the sub-device according to the network access request information to complete the network access of the sub-device.
10. A network access configuration system for a SparkLink MESH networking device, characterized in that, Includes at least one sub-device, at least one gateway device, and a server platform; At least one of the sub-devices is communicatively connected to at least one of the gateway devices through SparkLink communication; At least one of the gateway devices is communicatively connected to the server platform through a 4G network or a 5G network; Wherein, at least one of the gateway devices executes the SparkLink MESH networking device network access configuration method according to any one of claims 1 to 8 to implement the network access request process of at least one of the sub-devices.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an executable program, and the executable program is executed by a processor to implement the SparkLink MESH networking device network access configuration method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Ultralow-power consumption smart equipment rapid network accessing method and smart home system
CN106878923A
Networking method for LoRa private protocol
CN111211918A
Networking and route establishing method
CN111464445A
Bluetooth networking method and system
CN111885562A
Network access method, electronic equipment and computer readable storage medium
CN115604699A
Cited By
Star flash MESH networking data communication method, equipment, system and medium
CN120416923A
Starburst MESH networking data communication method, device, system and medium
CN120416923B
