Local area network binding method, local area network system, electronic device and medium

By using public fixed channels and dynamic channels in the local area network, the binding relationships of valve nodes are automatically determined, solving the problems of time-consuming, laborious and high power consumption of manual entry in the existing technology, and realizing an efficient and low-power network. Connectivity simplifies operations and reduces costs.

CN118433755BActive Publication Date: 2024-10-25RUINA INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410891912.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-25
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

In the existing small wireless valve control system, the valve nodes need to manually enter files or bind to the self-organized network to connect to the network, which is time-consuming, labor-intensive and error-prone. Moreover, the routing of the self-organized network is not fixed, and the overall power consumption cannot be controlled, especially for low-power systems. Power-consuming devices are not suitable.

Method used

By introducing public fixed channels and dynamic channels into the local area network, the server judges the signal quality between the master node and the slave node based on the signal strength, automatically completes the determination of the binding relationship, and achieves unattended operation and low-efficiency through customized channel allocation. Power consumption of network connections.

Benefits of technology

It simplifies the operation process of the wireless valve control system, improves work efficiency, reduces labor costs, reduces the power consumption of terminal equipment, extends the service life of the equipment, and improves the energy efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118433755B_ABST
    Figure CN118433755B_ABST
Patent Text Reader

Abstract

The present invention discloses a binding method for a local area network, a local area network system, an electronic device and a medium, the method comprising: receiving a registration request from a slave node through a first channel, wherein the first channel is a public fixed channel between the slave node and the master node; obtaining the signal strength of the registration request, and forwarding the signal strength and the registration request to a server; in the case of receiving a binding instruction from the server, responding to the registration request through a second channel to complete the binding with the slave node, wherein the binding instruction includes a binding relationship between the master node and the slave node, the binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition, and the second channel is determined by the server according to the slave node number. The present invention receives the registration request through the first channel of the public fixed channel, and responds to the registration request through the second channel, thereby simplifying the operation process of the local area network, improving work efficiency and reducing labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to technical fields such as local area networks and network management, and in particular to a local area network binding method, a local area network system, an electronic device and a medium. Background Art

[0002] At present, in the small wireless valve reading and control valve system, the valve node needs to be manually entered into the file or bound using the self-organizing network to enter the network. This traditional manual entry method requires personnel to hold the device on site and manually determine the channel and binding relationship, which is time-consuming, labor-intensive and prone to errors. The routing network of the self-organizing network is not fixed and the overall power consumption cannot be controlled, especially for low-power devices, which cannot withstand networks with higher power consumption. Summary of the invention

[0003] To this end, the purpose of the implementation mode of the present application is to propose a local area network binding method, a local area network system, an electronic device, a storage medium and a program product.

[0004] The first embodiment of the present application provides a binding method for a local area network, wherein the local area network includes a server, a master node and a slave node, and the method is applied to the master node, and the method includes: receiving a registration request from a slave node through a first channel, wherein the first channel is a common fixed channel between the slave node and the master node; obtaining a signal strength of the registration request, and forwarding the signal strength and the registration request to the server; upon receiving a binding instruction from the server, responding to the registration request through a second channel to complete binding with the slave node, wherein the binding instruction includes a binding relationship between the master node and the slave node, and the binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition, and the second channel is determined by the server according to the slave node number.

[0005] Exemplarily, the preset condition includes that the signal quality between the master node and the slave node is higher than or equal to the signal quality between other master nodes and the slave nodes.

[0006] Exemplarily, after binding with the slave node is completed, the timed reporting data from the slave node is received through a third channel, wherein the third channel is allocated to the master node by the server according to the master node information.

[0007] Exemplarily, the master node information includes at least one of master node distribution information and master node number information.

[0008] Exemplarily, when receiving the timing reporting data from the slave node through the third channel for a preset number of consecutive times fails, a registration request from the slave node is received again through the first channel.

[0009] Exemplarily, the method further includes: upon receiving an updated third channel from the server, re-receiving a registration request from the slave node through the first channel, wherein the updated third channel is determined by the server when a data reporting rate is less than a preset reporting rate.

[0010] A second embodiment of the present application provides a binding method for a local area network, wherein the local area network includes a server, a master node and a slave node, and the method is applied to the server, and the method includes: receiving a registration request from the master node and a signal strength of the registration request, and determining a binding relationship between the master node and the slave node based on the registration request and the signal strength, wherein the binding relationship is determined based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition; and issuing a binding instruction to the master node to enable the master node to complete the binding with the slave node, wherein the binding instruction includes the binding relationship.

[0011] Exemplarily, the preset condition includes that the signal quality between the master node and the slave node is higher than or equal to the signal quality between other master nodes and the slave nodes.

[0012] Exemplarily, the method further includes: upon receiving a registration request from the master node, after waiting for a first preset time, determining a binding relationship between the master node and the slave node based on signal strengths of all registration requests within the first preset time.

[0013] Exemplarily, if the registration request is received during the waiting period of the first preset time, the waiting period of the first preset time is continued.

[0014] Exemplarily, the method further includes: allocating a third channel to the master node according to the master node information, so that after the slave node completes binding, the master node receives the scheduled reporting data from the slave node through the third channel; and accepts the scheduled reporting data forwarded by the master node.

[0015] The third embodiment of the present application provides a binding method for a local area network, wherein the local area network includes a server, a master node and a slave node, and the method is applied to the slave node, and the method includes: uploading a registration request to the master node through a first channel, so that the master node obtains the signal strength of the registration request, and forwarding the signal strength and the registration request to the server, so that the server determines the binding relationship between the master node and the slave node according to the signal strength and the registration message, and sends a binding instruction to the master node, the master node receives the binding instruction and responds to the registration request, wherein the first channel is a common fixed channel between the slave node and the master node, the binding instruction includes the binding relationship between the master node and the slave node, and the binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition; receiving a registration success response from the master node through a second channel to complete the binding with the master node, wherein the second channel is determined according to the slave node number.

[0016] Exemplarily, the method further includes: querying the second channel at every second preset time interval to receive a copy instruction from the master node; uploading copy data to the master node based on the copy instruction, so that the master node forwards the copy data to the server.

[0017] Exemplarily, the method further includes: randomly and actively uploading a registration message to the master node via the first channel, wherein the master node includes a plurality of master nodes.

[0018] Another embodiment of the present application provides a local area network system, which includes: a slave node, which implements the local area network binding method according to the above-mentioned first embodiment; a master node, which implements the local area network binding method according to the above-mentioned second embodiment; and a server, which implements the local area network binding method according to the above-mentioned third embodiment.

[0019] Another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of any of the above embodiments when executing the computer program.

[0020] Another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method of any of the above embodiments are implemented.

[0021] Another embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a processor of a computer device, the computer device is enabled to perform the steps of the method of any of the above embodiments.

[0022] In the above implementation, a registration request from a slave node is received through a first channel, wherein the first channel is a public fixed channel between the slave node and the master node; the signal strength of the registration request is obtained, and the signal strength and the registration request are forwarded to the server; upon receiving a binding instruction from the server, the registration request is responded to through a second channel to complete the binding with the slave node, wherein the binding instruction includes a binding relationship between the master node and the slave node, and the binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition, and the second channel is determined by the server according to the slave node number. The present invention receives a registration request through a first channel of a public fixed channel, and responds to the registration request through a second channel, thereby simplifying the operation process of the local area network, improving work efficiency, and reducing labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A flowchart of a local area network binding method provided in an embodiment of the present application;

[0024] Figure 2 A schematic diagram of a local area network binding strategy provided in an embodiment of the present application;

[0025] Figure 3 A schematic diagram of a binding method provided in an embodiment of the present application;

[0026] Figure 4 A flowchart of another local area network binding method provided in an embodiment of the present application;

[0027] Figure 5 A flowchart of a slave node reporting data periodically provided in an implementation manner of the present application;

[0028] Figure 6 A flowchart of another local area network binding method provided in an embodiment of the present application;

[0029] Figure 7 A schematic diagram of the process of copying from a node provided in an embodiment of the present application;

[0030] Figure 8 A schematic diagram of a local area network system provided for an embodiment of the present application;

[0031] Fig. 9 A block diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION

[0032] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0033] At present, in the small wireless valve reading and control valve system, the valve node needs to be manually entered into the file or bound using the self-organizing network to enter the network. This traditional manual entry method requires personnel to hold the device on site and manually determine the channel and binding relationship, which is time-consuming, labor-intensive and prone to errors. The routing network of the self-organizing network is not fixed and the overall power consumption cannot be controlled, especially for low-power devices, which cannot withstand networks with higher power consumption.

[0034] Based on this, this application proposes a binding strategy for the local area network applied to the small wireless valve-reading control valve system. This strategy is based on the principle of automatic binding of the local area network, and through autonomous learning and optimization, it realizes efficient terminal device binding and frequency allocation. First, the algorithm strategy can automatically identify and connect to the available local area network without manual intervention, realizing unattended operation. Secondly, by dynamically allocating frequencies, the power consumption of terminal devices can be effectively reduced and the energy efficiency of the system can be improved. This innovative algorithm strategy brings more efficient and intelligent solutions to the heating industry. In practical applications, this algorithm strategy can greatly simplify the operating procedures of the wireless valve-reading control valve system, improve work efficiency and reduce labor costs. At the same time, by effectively controlling the power consumption of the terminal, it can also extend the service life of the equipment and reduce energy consumption, which is of great significance to the heating industry.

[0035] Figure 1 It is a flow chart of a local area network binding method according to an embodiment of the present application.

[0036] like Figure 1 As shown, the local area network binding method includes S101-S103.

[0037] S101, receiving a registration request from a slave node through a first channel, wherein the first channel is a common fixed channel between the slave node and the master node.

[0038] S102, obtaining the signal strength of the registration request, and forwarding the signal strength and the registration request to the server.

[0039] S103, when receiving the binding instruction from the server, respond to the registration request through the second channel to complete the binding with the slave node.

[0040] Among them, the binding instruction includes the binding relationship between the master node and the slave node. The binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets the preset conditions. The second channel is determined by the server according to the slave node number.

[0041] Exemplarily, the local area network includes a server, a master node and a slave node. The server is upstream of the master node, and the master node is upstream of the slave node. The valve node in the small wireless valve control valve system needs to register as a slave node. The above local area network binding method is applied to the master node.

[0042] The pre-defined public channel of the present application, for example, defines a channel as a public fixed channel between the slave node and the master node, which is called the first channel. The valve node, as a slave node, sends a registration request to the master node through the first channel. The master node receives the registration request from the slave node. The master node obtains the signal strength of the registration request and packages the signal strength and the registration request together and sends them to the server. The server determines whether the signal quality between the master node and the slave node meets the preset conditions based on the signal strength. If the preset conditions are met, the server issues a binding instruction. When the master node receives the binding instruction from the server, it responds to the registration request through the second channel to complete the binding with the slave node, wherein the second channel is determined by the server according to the slave node number. It can be understood that the slave node number is the slave node ID, and different slave nodes correspond to different second channels, which can prevent crosstalk between slave nodes to a certain extent. The slave node receives the successful registration message returned by the master node through the second channel, and the binding between the slave node and the master node is completed.

[0043] The local area network binding method of the present application can automatically identify and connect to the available local area network without manual intervention, realize unattended operation, simplify the operation process of the wireless valve reading and control valve system, improve work efficiency, and reduce labor costs. Of course, the local area network binding method of the present application is not limited to the field of small wireless valve reading and control valves, but can also be applied to other industrial fields.

[0044] As an example, the preset condition includes that the signal quality between the master node and the slave node is higher than or equal to the signal quality between other master nodes and the slave nodes.

[0045] Exemplarily, when a slave node sends a registration request to a master node through a first channel, adjacent master nodes will receive the registration request from the slave node. The master node that receives the registration request obtains the signal strength of the registration request, and packages the signal strength and the registration request together and sends them to the server. The server determines which master node and slave node have the best signal quality based on the signal strength of the registration request, thereby determining the binding relationship between the master node and the slave node, and sending the binding instruction to the master node with the best signal quality.

[0046] Figure 2 It is a schematic diagram of a binding strategy for a local area network according to an embodiment of the present application.

[0047] like Figure 2 As shown, slave node x uses public channel A (first channel) to send a registration packet (i.e., a registration request), and all nearby master nodes will receive the registration packet. For example, master nodes 1, 2, and n receive the registration request. The master nodes also package and send the obtained signal strength to the server. The server compares the relevant data, for example, comparing the signal quality between each master node and slave node, and determines the one with the best signal quality to send the binding instruction. Figure 2 As shown in the figure, the signal value between master node 1 and slave node x is 120, the signal value between master node 2 and slave node X is 110, and the signal value between master node n and slave node x is 100. It should be noted that the above signal values ​​are all negative values. The smaller the value, the better the signal quality. That is, the signal quality between master node n and slave node x is the best. The server determines the binding relationship between master node n and slave node x. The server sends the binding instruction to master node n, and master node n uses channel C (second channel) to send the binding relationship to slave node x. Slave node x completes the binding with master node n. After binding, the slave node also reports data regularly. The second channel can also be used for the master node to copy the slave node data.

[0048] As an example, the valve node, as a slave node, uses the public channel A (first channel) known to the master node and the valve node. If the network is not successfully established, it will randomly wake up and send a short encrypted message to perform the network operation. The registration encrypted message is shown in Table 1 below:

[0049] Table 1

[0050]

[0051] Among them, the current device time in Table 1 refers to the slave node device time.

[0052] After receiving the registration message, the master node immediately forwards it to the server. The server will compare the received message to find the master node that best matches this signal. After the server determines the best matching master node, the server will update the record and immediately issue a binding instruction. The master node receives the binding instruction and responds to the registration message of the slave node using channel C (second channel), returning a successful registration message. The successful registration message is shown in Table 2 below:

[0053] Table 2

[0054]

[0055] Among them, the current device time in Table 2 refers to the master node time.

[0056] In this application, when the valve node fails to register successfully, it communicates with the public channel A known to the master node. In this case, the valve node will take the random active wake-up method and send a short encrypted message to perform the network operation. This process is designed to ensure that the valve node can successfully access the network and establish an effective communication connection with the master node.

[0057] As an example, after binding with the slave node is completed, the scheduled reporting data from the slave node is received through the third channel, wherein the third channel is allocated to the master node by the server according to the master node information.

[0058] Exemplarily, after the master node completes the binding with the slave node, the slave node sends the timed reporting data to the master node through the third channel (channel B), and the master node forwards the timed reporting data to the server. It should be noted that the communication between the server and the master node is a traditional 4G network, wifi, etc., and has nothing to do with the channels A, B, and C described in this application. Among them, the third channel is assigned to the master node by the server based on the master node information. For example, the third channel can be assigned to the master node when the master node joins the network, or the third channel can be assigned to the master node when the binding relationship is determined. When the master node is bound to the slave node, the third channel is assigned to the slave node, and the slave node uses the third channel to report data regularly.

[0059] Exemplarily, the master node connected to the server will actively report the base station location or GPS coordinates. The server allocates channels based on adjacent nodes and allocates a channel (the third channel) from the available channel pool to the master node to avoid the same channels between adjacent master nodes and crosstalk.

[0060] As an example, the master node information includes at least one of master node distribution information and master node number information.

[0061] For example, in the traditional master node channel allocation, adjacent master nodes may directly share the same third channel for reporting data from the node, which will cause data crosstalk to a certain extent. The present application determines the unique third channel of each master node based on the master node distribution information and the master node number information. It can be understood that one master node corresponds to one third channel, and the third channels between different master nodes are different. For example, master node 1 is assigned to third channel 1, master node 2 is assigned to third channel 2, and master node n is assigned to third channel n.

[0062] Figure 3 It is a schematic diagram of a binding method according to an embodiment of the present application.

[0063] like Figure 3As shown, the slave nodes may also include multiple ones, for example, slave node 1, slave node 2, slave node 3, and slave node n. Taking the registration of slave node 2 as an example, the slave node first registers using fixed channel A (first channel), and the master node 1 responds to the successful binding through channel C (second channel) and allocates channel B (third channel). After the binding is completed, the slave node uses channel B (third channel) to regularly report data, and the master node uses channel C (second channel) to complete the point copying of slave node 2, and slave node 2 responds to the point copying through channel C (second channel).

[0064] In this application, the first channel (channel A) is a common fixed channel directly between the slave node and the master node, and is a unified channel used when the slave node registers. The second channel (channel C) is allocated to the slave node according to the slave node number. It can be understood that different slave nodes correspond to different second channels. The master node uses the channel when copying data from the corresponding slave node, and the master node also uses the second channel when responding to the registration message of the slave node. The third channel (channel B) is allocated to the master node according to the master node information. When the master node responds to the registration message of the slave node, it allocates the third channel to the slave node, and the slave node uses the third channel to upload data regularly.

[0065] As an example, when receiving the timing reporting data from the slave node through the third channel for a preset number of consecutive times fails, the registration request from the slave node is received again through the first channel.

[0066] For example, once the slave node receives the binding relationship, it can start the scheduled reporting. When the scheduled reporting data from the slave node fails for a preset number of consecutive times, the registration request from the slave node is received again through the first channel. The preset number of times can be 3 times. For example, if the slave node fails to report regularly for 3 consecutive times, the first channel will be used again to enter the registration process.

[0067] In addition to three consecutive reporting failures, this application also limits the reporting rate.

[0068] As an example, the local area network binding method also includes: when receiving an updated third channel from the server, re-receiving a registration request from the slave node through the first channel, wherein the updated third channel is determined by the server when the data reporting rate is less than a preset reporting rate.

[0069] Exemplarily, for example, if there are other related devices near the slave node, it may interfere with the reporting rate. If the reporting rate is too low, the server will actively change the third channel of the master node. When the third channel of the master node is changed, the slave node needs to resend the registration message to ensure the reporting rate.

[0070] In this application, the master node polls the first and third channels and monitors the two channels. Monitoring the first channel can complete the registration of the slave node, and monitoring the second channel can complete the collection of device data. The slave node can complete the registration and binding without the need for on-site control and configuration of the handheld device. It should be noted that if it is the first time to stay on the network and the server does not record the network information, the binding relationship will be directly issued when the registration message is received.

[0071] The application also proposes a local area network binding method.

[0072] As an example, Figure 4 As shown, the local area network binding method includes S401-S402.

[0073] S401, receiving a registration request and a signal strength of the registration request from a master node, and determining a binding relationship between the master node and a slave node based on the registration request and the signal strength, wherein the binding relationship is determined based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition.

[0074] S402, issuing a binding instruction to the master node so that the master node completes the binding with the slave node, wherein the binding instruction includes a binding relationship.

[0075] Exemplarily, the above-mentioned S401-S402 local area network binding method is applied to the server. The slave node sends a registration request to the master node through the first channel, the master node receives the registration request from the slave node, the master node obtains the signal strength of the registration request, and packages the signal strength and the registration request together and sends them to the server, the server receives the registration request from the master node and the signal strength of the registration request, the server determines whether the signal quality between the master node and the slave node meets the preset conditions based on the signal strength, if the preset conditions are met, the server sends a binding instruction to the master node, the master node responds to the registration request through the second channel when receiving the binding instruction from the server, to complete the binding with the slave node, the slave node receives the successful registration message returned by the master node through the second channel, and the binding between the slave node and the master node is completed.

[0076] As an example, the preset condition includes that the signal quality between the master node and the slave node is higher than or equal to the signal quality between other master nodes and the slave nodes.

[0077] As an example, the local area network binding method also includes: when receiving a registration request from a master node, after waiting for a first preset time, determining the binding relationship between the master node and the slave node based on the signal strength of all registration requests within the first preset time.

[0078] Exemplarily, the slave node uses the first channel to send a registration message to a master node (which may be multiple master nodes, for example, master node 1, master node 2, master node n). The master node that receives the registration message obtains the signal strength (the signal strength refers to the signal strength of the master node and the slave node) and sends the registration package and the signal strength information together to the server. The server compares and determines the master node with the best signal quality.

[0079] When the server performs a comparison, it starts counting down from the acquisition of the registration package to a first preset time, which can be 10 minutes. For example, the server starts counting down from the acquisition of the registration package to 10 minutes. When the countdown ends, the binding relationship between the master node and the slave node is determined based on the signal strength of all registration messages received within these ten minutes. Under normal circumstances, multiple master nodes receive registration packages and send them to the server, which arrive almost at the same time and will not exceed 10 minutes. Data that exceeds 10 minutes is erroneous data and needs to be discarded.

[0080] As an example, if a registration request is received during the first preset waiting time, the first preset waiting time is continued.

[0081] Exemplarily, if the server receives only one registration package, or multiple registration packages arrive at the server at the same time, it only needs to wait for the first preset time. If a registration message is received during the first preset time, the waiting time continues for the first preset time.

[0082] For example, the first preset time is 10 minutes. When the countdown reaches 5 minutes, if the server receives another registration package, the countdown will be restarted, and then it will be 15 minutes. Normally it is 10 minutes because the registration packages arrive at the server at almost the same time. 10 minutes is a threshold, and the first preset time can also be other times.

[0083] The server finds the master node with the best signal quality and determines the binding relationship. The server sends the binding instruction to the master node. The master node receives the binding instruction and determines the second channel (channel C) according to the slave node ID (slave node number). The master node responds to the successful binding through the second channel. It should be noted that the communication between the server and the master node is the traditional 4G network, wifi, etc.

[0084] As an example, Figure 5 As shown, the local area network binding method also includes:

[0085] S501, allocating a third channel to the master node according to the master node information, so that after the slave node completes binding, the master node receives the timed reporting data from the slave node through the third channel.

[0086] S502, accepting the timed reporting data forwarded by the master node.

[0087] Exemplarily, after the master node completes the binding with the slave node, the slave node sends the timed reporting data to the master node through the third channel, and the master node forwards the timed reporting data to the server. Among them, the third channel is assigned to the master node by the server according to the master node information. For example, the third channel can be assigned to the master node when the master node joins the network, or the third channel can be assigned to the master node when the binding relationship is determined. When the master node is bound to the slave node, the third channel is assigned to the slave node, and the slave node uses the third channel to report data regularly. Different master nodes have different third channels to prevent crosstalk.

[0088] The application also proposes a local area network binding method.

[0089] As an example, Figure 6 As shown, the local area network binding method includes S601-S602.

[0090] S601, upload a registration request to the master node through the first channel, so that the master node obtains the signal strength of the registration request, and forwards the signal strength and the registration request to the server, so that the server determines the binding relationship between the master node and the slave node according to the signal strength and the registration message, and sends a binding instruction to the master node, the master node receives the binding instruction and responds to the registration request, wherein the first channel is a common fixed channel between the slave node and the master node, the binding instruction includes the binding relationship between the master node and the slave node, and the binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets the preset conditions.

[0091] S602, receiving a registration success response from the master node through a second channel to complete binding with the master node, wherein the second channel is determined according to the slave node number.

[0092] As an example, Figure 7 As shown, the local area network binding method also includes:

[0093] S701, querying the second channel at every second preset time interval to receive a copy instruction from the master node.

[0094] S702, uploading the point copy data to the master node based on the point copy instruction, so that the master node forwards the point copy data to the server.

[0095] For example, after the binding is completed, the master node can send a copy instruction to the designated slave node through the second channel. Since the second channel is determined according to the slave node number, that is, different slave nodes correspond to different second channels, it can be understood that point-to-point communication can be achieved through the second channel between the master node and the slave node. However, if the second channel is monitored all the time, it will cause high power consumption. The slave node in this application queries the second channel at intervals of the second preset time to receive the copy instruction of the master node, and uploads the copy data to the master node based on the copy instruction, so that the master node forwards the copy data to the server.

[0096] In the present application, the slave node periodically monitors the second channel for the master node to copy the points of the corresponding slave node. The periodic monitoring of the second channel can reduce power consumption and can be awakened by the master node at any time.

[0097] As an example, the local area network binding method further includes: randomly and actively uploading a registration message to a master node through a first channel, wherein the master node includes multiple master nodes.

[0098] Exemplarily, the valve node uses the first channel, a common channel known to the master node and the valve node, to randomly and actively wake up and send a short encrypted message to perform the network operation if the network is not successfully established. Random wake-up strategy: Since the valve node device has not yet been established, the real-time clock RTC time is not uniform, and regular staggered registration cannot be achieved. Therefore, random registration can avoid the probability of collision when registering from the node.

[0099] In summary, the present application utilizes a customized public channel for on-line operation, and registers by using short encrypted messages. The master nodes in the adjacent local area networks can receive on-line data and report it to the server, thus realizing the automation and intelligence of on-line operation.

[0100] The server will compare the quality of the resident data signal and make a judgment to determine or update the binding relationship and lock the network channel. This intelligent judgment can effectively optimize the utilization of network resources and improve the stability and performance of the network. At the same time, the master node records the binding relationship to avoid the overlap of adjacent LAN frequencies as much as possible, improve interaction efficiency, and reduce overall power consumption.

[0101] In practical applications, using custom public channels for on-site operations will greatly simplify the management process of local area networks, improve the degree of network automation, and reduce labor costs. At the same time, through intelligent frequency point locking and binding relationship management, it can also improve network stability and data transmission efficiency, bringing more reliable solutions to the heating industry.

[0102] The application also proposes a local area network system.

[0103] like Figure 8As shown, the local area network system includes a slave node 10, a master node 20 and a server 30, wherein the slave node 10 implements the local area network binding method of the above-mentioned first embodiment, the master node 20 implements the local area network binding method of the above-mentioned second embodiment, and the server 30 is used to implement the local area network binding method of the above-mentioned third embodiment.

[0104] The application also proposes a computer-readable storage medium.

[0105] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned local area network binding method are implemented.

[0106] Fig. 9 A block diagram of an electronic device provided for an embodiment of the present application.

[0107] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned local area network binding method when executing the computer program.

[0108] like Fig. 9 As shown, for ease of understanding, the embodiment of the present application shows a specific electronic device.

[0109] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0110] like Fig. 9 As shown, the device includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0111] Multiple components in the electronic device are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0112] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods described above, such as the binding method of the local area network. For example, in some embodiments, the binding method of the local area network may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 902 and / or a communication unit 909. When the computer program is loaded into RAM 903 and executed by the computing unit 901, the binding method of the local area network described above may be executed. Alternatively, in other embodiments, the computing unit 901 may be configured to execute the binding method of the local area network in any other appropriate manner (e.g., by means of firmware).

[0113] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this application, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0114] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0115] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0116] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0117] In addition, the terms "first", "second", etc. used in the embodiments of the present application are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present application can explicitly or implicitly indicate that at least one of the features is included in the embodiment. In the description of the present application, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0118] In this application, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific implementation situation.

[0119] In the present application, unless otherwise clearly specified and limited, a first feature being “above” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being “above”, “above”, and “above” a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “below”, “below”, and “below” a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0120] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A local area network binding method, characterized in that: The local area network includes a server, a master node and a slave node, and the method is applied to the master node. The method includes: receiving a registration request from a slave node via a first channel, wherein the first channel is a common fixed channel between the slave node and the master node; Obtaining a signal strength of the registration request, and forwarding the signal strength and the registration request to the server; In case of receiving the binding instruction from the server, responding to the registration request through the second channel to complete the binding with the slave node, The binding instruction includes a binding relationship between the master node and the slave node, the binding relationship is determined by the server based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition, and the second channel is determined by the server according to the slave node number; After the binding with the slave node is completed, the timed reporting data from the slave node is received through the third channel, wherein the third channel is allocated to the master node by the server according to the master node information.

2. The local area network binding method according to claim 1, characterized in that: The preset condition includes that the signal quality between the master node and the slave node is higher than or equal to the signal quality between other master nodes and the slave nodes.

3. The local area network binding method according to claim 1, characterized in that: The master node information includes at least one of master node distribution information and master node number information.

4. The local area network binding method according to claim 1, characterized in that: In the case where the timing reporting data received from the slave node fails to be received continuously for a preset number of times through the third channel, a registration request from the slave node is received again through the first channel.

5. The local area network binding method according to claim 1, characterized in that: The method further comprises: When receiving the updated third channel from the server, the registration request from the slave node is received again through the first channel, wherein the updated third channel is determined by the server when the data reporting rate is less than the preset reporting rate.

6. A local area network binding method, characterized in that: The local area network includes a server, a master node and a slave node. The method is applied to the server, and the method includes: receiving a registration request from the master node and a signal strength of the registration request, and determining a binding relationship between the master node and the slave node according to the registration request and the signal strength, wherein the binding relationship is determined based on the signal strength to determine whether the signal quality between the master node and the slave node meets a preset condition; Sending a binding instruction to the master node, so that the master node responds to the registration request of the slave node through the second channel to complete the binding with the slave node, wherein the binding instruction includes the binding relationship, and the second channel is determined by the server according to the slave node number; The method further includes: allocating a third channel to the master node according to the master node information, so that after the slave node completes binding, the master node receives the scheduled reporting data from the slave node through the third channel; and accepts the scheduled reporting data forwarded by the master node.

7. The local area network binding method according to claim 6, characterized in that: The preset condition includes that the signal quality between the master node and the slave node is higher than or equal to the signal quality between other master nodes and the slave nodes.

8. The local area network binding method according to claim 6, characterized in that: The method further comprises: In case of receiving a registration request from the master node, after waiting for a first preset time, the binding relationship between the master node and the slave node is determined based on the signal strength of all registration requests within the first preset time.

9. The local area network binding method according to claim 8, characterized in that: If the registration request is received during the first preset time, the first preset time is continued to be waited.

10. A local area network binding method, characterized in that: The local area network includes a server, a master node and a slave node, and the method is applied to the slave node, and the method includes: Uploading a registration request to the master node through a first channel, so that the master node obtains the signal strength of the registration request, and forwards the signal strength and the registration request to the server, so that the server determines the binding relationship between the master node and the slave node according to the signal strength and the registration request, and sends a binding instruction to the master node, the master node receives the binding instruction and responds to the registration request, wherein the first channel is a common fixed channel between the slave node and the master node, the binding instruction includes the binding relationship between the master node and the slave node, and the binding relationship is determined by the server judging whether the signal quality between the master node and the slave node meets a preset condition based on the signal strength; Receiving a registration success response from the master node through a second channel to complete binding with the master node, wherein the second channel is determined according to the slave node number; After the binding with the master node is completed, the timed reporting data is uploaded to the master node through the third channel, wherein the third channel is allocated to the master node by the server according to the master node information.

11. The local area network binding method according to claim 10, characterized in that: The method further comprises: querying the second channel at intervals of a second preset time to receive a point copy instruction from the master node; The point copy data is uploaded to the master node based on the point copy instruction, so that the master node forwards the point copy data to the server.

12. The local area network binding method according to claim 10, characterized in that: The method further comprises: Randomly and actively uploading a registration message to the master node through the first channel, wherein the master node includes multiple ones.

13. A local area network system, characterized in that: The system comprises: A slave node, wherein the slave node implements the local area network binding method according to any one of claims 1 to 5; A master node, wherein the master node implements the local area network binding method according to any one of claims 6 to 9; The server, the master node implements the local area network binding method according to any one of claims 10-12.

14. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method described in any one of claims 1 to 12 when executing the computer program.

15. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 12 are implemented.