Communication networking method, electronic equipment and air conditioner power line system

By using a preset frame format and a signal strength priority principle to determine the forwarding sub-nodes in power line communication, the problems of complex path algorithms and poor communication caused by node failures in traditional power line communication networks are solved, achieving high efficiency and stability in data transmission.

CN120934559APending Publication Date: 2025-11-11QINGDAO HAIER AIR CONDITIONING ELECTRONICS CO LTD +2
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410571207.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Traditional powerline communication networks have complex communication path algorithms, and communication problems can occur when a node in the calculated optimal path fails, resulting in poor flexibility.

Method used

Data is sent between the master node and the child node using a preset frame format. The child node determines the forwarding delay time based on the signal strength, selects a forwarding child node, and sends data after the waiting time reaches the forwarding delay time. A dynamic communication path is established based on the signal strength priority principle, and a repeated forwarding mechanism and a broadcast response delay response mechanism are set to ensure the stability of data transmission.

Benefits of technology

It achieves efficient and stable data transmission in power line networking, avoids poor communication caused by the failure of a single node, simplifies the complexity of path algorithms, and improves communication flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120934559A_ABST
    Figure CN120934559A_ABST
Patent Text Reader

Abstract

The invention discloses a communication networking method, electronic equipment and an air conditioner power line system, and relates to the technical field of communication. The communication networking method comprises the steps that data is sent between a main node and a sub-node according to a preset frame format, and after the sub-node receives a message frame sent by the main node, the sub-node determines forwarding delay time according to signal strength; according to the forwarding delay time, determining a sub-node needing data forwarding from the plurality of sub-nodes as a forwarding sub-node; and after the waiting time reaches the forwarding delay time, the forwarding child node sends the data in the message frame to the next child node. According to the invention, communication between the nodes is carried out based on the signal intensity by adopting a receiving signal priority principle, and the communication mode is adopted until the data sent by the main node is transmitted to the corresponding receiving node or the child node responds to the main node, so that efficient and stable data transmission is realized, and the data transmission efficiency is improved. And the consequence of poor communication caused by failure of a single node is effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication networking method, electronic equipment, and air conditioning power line system. Background Technology

[0002] Traditional power line communication (PLC) employs two main networking methods: 1. The master node requests information from slave devices, which respond; the master node broadcasts information, which slave nodes receive. This method is point-to-point or point-to-many communication, resulting in low networking efficiency, and distant slave nodes cannot guarantee complete reception of a single frame. 2. First, an optimal communication path is established from the master node to each node using a certain algorithm. The master node sends a frame, which is then forwarded by one or more slave nodes, ensuring that data is transmitted from the master node to the slave nodes through the nodes with the smallest intervals. However, if a node in the calculated optimal path fails, the path algorithm needs to be recalculated, potentially leading to communication breakdowns.

[0003] Therefore, traditional power line communication networks have the following drawbacks: the communication path algorithm is complex, and when a node in the calculated optimal path fails, the path algorithm needs to be recalculated, which may even lead to poor communication, resulting in poor flexibility. Summary of the Invention

[0004] To overcome the above-mentioned defects, this application proposes a communication networking method, electronic equipment, and air conditioning power line system, aiming to solve the technical problem that communication path algorithms are complex and communication failures occur when sub-nodes in the path fail in communication networking.

[0005] In a first aspect, this application provides a communication networking method, in which the master node and the child nodes send data to each other according to a preset frame format in a communication network including one master node and multiple child nodes, the method comprising:

[0006] After a child node receives a message frame sent by a master node, the child node determines a forwarding delay time based on the signal strength; based on the forwarding delay time, it determines the child node that needs to forward data from multiple child nodes as the forwarding child node; after the forwarding child node waits for the forwarding delay time to reach the forwarding delay time, it sends the data in the message frame to the next child node.

[0007] In some implementations, determining the child node that needs to be forwarded as the forwarding child node from multiple child nodes based on the forwarding delay time specifically includes:

[0008] The child node with the shortest forwarding delay is identified as the forwarding child node that needs to forward data.

[0009] If there are multiple forwarding child nodes with the same forwarding delay time, each child node will preempt the bus to forward data based on its own MAC address.

[0010] In some implementation schemes, the preset frame format is specifically: fixed terminal + its own MAC address + sender MAC address + receiver MAC address + function code + data content;

[0011] When the master node sends data, the MAC address of the sending end is the same as its own MAC address.

[0012] Furthermore, the data content includes a first preset time and a forced forwarding interval time;

[0013] The method further includes: when the forwarding sub-node receives a forwarding failure response or the bus idle time of the sub-node exceeds a first preset time, the forwarding sub-node performs another data forwarding when the waiting time reaches the forced forwarding interval time.

[0014] Furthermore, the data content also includes a maximum number of forwarding attempts;

[0015] Before performing another data forwarding, it is also included to determine whether the number of data forwardings exceeds the upper limit of the number of forwardings.

[0016] In some implementations, the method further includes: when a child node is sending data as a forwarding node, and receives data from other child nodes, and the sending MAC address and receiving MAC address contained in the sent data and the received data are the same, then the child node will no longer forward data as a forwarding child node.

[0017] In some implementations, the data content includes a second preset time;

[0018] When the message frame is a broadcast frame, after the master node sends the broadcast frame, when the bus idle time of all child nodes exceeds a second preset time, all child nodes determine the broadcast response delay time according to their respective signal strength, and after the waiting time reaches the broadcast response delay time, they start sending a broadcast response to the master node.

[0019] Furthermore, the data content also includes a third preset time;

[0020] After a child node sends a broadcast response to the master node, all child nodes are considered to have completed the broadcast response when the bus idle time of all child nodes exceeds a third preset time.

[0021] In a second aspect, the present invention provides an electronic device including a processor and a memory, the memory being adapted to store a plurality of program codes, the program codes being adapted to be loaded and run by the processor to perform the above-described communication networking method.

[0022] In a third aspect, the present invention provides an air conditioning power line system, including a master node device and a sub-node device, wherein the master node device and the sub-node device communicate using the above-described communication networking method.

[0023] In a fourth aspect, the present invention provides a computer-readable storage medium storing a plurality of program codes, characterized in that the program codes are adapted to be loaded and run by a processor to perform the method described in any of the above-described communication networking methods.

[0024] The above-described technical solutions of this application have at least one or more of the following beneficial effects:

[0025] In the technical solution of this application, the master node and the child nodes send data according to a preset frame format. After the child node receives the message frame sent by the master node, the child node determines the forwarding delay time based on the signal strength. Based on the forwarding delay time, the child node that needs to forward data is determined from multiple child nodes as the forwarding child node. After the forwarding child node waits for the forwarding delay time to reach the forwarding delay time, it sends the data in the message frame to the next child node. The communication networking method proposed in this application is applicable to communication networks including one master node and multiple child nodes, and is not limited to power line networks. All nodes can communicate with each other. In actual communication, the previous node determines the forwarding delay time based on the signal strength, and determines whether to forward data based on the forwarding delay time. That is, the communication between the previous node and the next node adopts the principle of receiving signal priority, until the data sent by the master node is transmitted to the corresponding receiving node, or the child node responds to the master node. This communication method is used for every communication round determination, achieving efficient and stable data transmission and effectively avoiding the consequences of poor communication due to the failure of a single node. Attached Figure Description

[0026] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. Furthermore, similar numbers in the drawings are used to denote similar components, wherein:

[0027] Figure 1 This is a schematic diagram of a multi-node communication network according to an embodiment of this application;

[0028] Figure 2 This is a schematic diagram of an optimal path according to an embodiment of this application;

[0029] Figure 3 This is a schematic flowchart illustrating the main steps of a communication networking method according to an embodiment of this application. Detailed Implementation

[0030] Some embodiments of this application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of this application and are not intended to limit the scope of protection of this application.

[0031] In the description of this application, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, memory, and can also include software components, such as program code, or a combination of software and hardware. A processor can be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Non-transitory computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The terms "at least one A or B" or "at least one of A and B" have a similar meaning to "A and / or B" and can include only A, only B, or A and B. The singular terms "a" or "this" can also include plural forms.

[0032] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0033] like Figure 1 The diagram illustrates an application scenario of this application. Specifically, it depicts a communication network comprising one master node and multiple child nodes. The black node at the center is the master node. During the network formation process, data is transmitted between nodes based on paths calculated using the optimal path calculation method. Figure 2 The diagram shown is an example of an optimal path.

[0034] It should be noted that the communication networking method in this application embodiment can be applied to... Figure 1In the communication network shown, which consists of master nodes and child nodes, this method can be applied to both master nodes and child nodes. The terms "master node" and "child node" should be interpreted broadly; in practical applications, they can be understood as host and slave, or master device and slave device, without limitation here. In this embodiment, the MAC addresses of the master node device and the child node device are unique.

[0035] like Figure 2 The diagram illustrates the main implementation steps of a communication networking method according to an embodiment of this application. This communication networking method includes a communication network of a master node and multiple child nodes. The master node and child nodes send data to each other according to a preset frame format. It should be understood that sending data according to the preset frame format means that the data actively sent, forwarded, or responded to by the node all adopt the preset frame format.

[0036] In this embodiment, the preset frame format is as follows: Fixed MAC address + self-MAC address + sender MAC address + receiver MAC address + function code + data content. The function code describes the communication method between nodes, such as point-to-point on-demand or point-to-many broadcast. Specifically, the function code description may include: point-to-point novelty lookup, point-to-point control, broadcast without response, or broadcast with response. It is understood that if the master node actively sends data, when assembling the data into the preset frame format, the sender MAC address and the self-MAC address in the preset frame format are the same MAC address.

[0037] like Figure 2 As shown in the figure, a communication networking method according to an embodiment of this application mainly includes the following implementation steps S10 and S20.

[0038] Step S10: After the child node receives the message frame sent by the master node, the child node determines the forwarding delay time based on the signal strength;

[0039] In this embodiment, the data actively sent by the master node is called a message frame. The format of the message frame conforms to the preset frame format. The master node sends the message frame to the child node by means of on-demand or broadcast, so as to send the data in the message frame to the target child node. It should be understood that the target child node is the last child node on the communication path.

[0040] Specifically, each node can determine its own signal strength based on the received signal, and the signal strength can be arranged in order. The normal signal level is between 0 and 100 dBm. After the child node receives the message frame sent by the master node, the forwarding delay time is determined based on the signal strength. Specifically, the forwarding delay time is calculated based on the inverse relationship between signal strength and forwarding delay time. For example, if the signal strength is 1 dBm, the forwarding delay time = (100-1)*n, where n is the multiple of the interval waiting time and takes a positive integer value.

[0041] In this embodiment, the child node that arrives at the forwarding delay time first starts forwarding data, while other child nodes cancel forwarding and wait. This continues until the message frame sent by the master node is accurately delivered to the last child node, i.e., the target child node, and the sender's MAC address in the response frame received by the master node is the target address, i.e., the MAC address of the target child node.

[0042] Step S20: Based on the forwarding delay time, determine the child node that needs to forward data from multiple child nodes as the forwarding child node; after the waiting time reaches the forwarding delay time, the forwarding child node sends the data in the message frame to the next child node.

[0043] In this embodiment, specifically, determining the child node that needs to be forwarded as the forwarding child node from multiple child nodes based on the forwarding delay time includes:

[0044] For multiple sub-nodes with different signal strengths, the sub-node with the shortest forwarding delay is determined as the forwarding sub-node that needs to forward data;

[0045] For child nodes with the same signal strength, that is, multiple child nodes with the same forwarding delay time, each child node uses its own MAC address to preempt the bus for data forwarding.

[0046] Understandably, based on the relationship between forwarding delay time and signal strength, child nodes with the same signal strength will forward data simultaneously according to the forwarding delay time. However, since the MAC addresses of child nodes with the same signal strength are not unique, there will be differences between 0 and 1 in some parts of the data. For example, if there are three nodes with the same signal strength (dBm) and their MAC addresses are decimal 3 (corresponding to binary 11), decimal 2 (corresponding to binary 10), and decimal 1 (corresponding to binary 01), when sending data according to the preset frame format, since the high bit of the MAC address comes first, when child nodes with the same signal strength forward data, when sending their own MAC address, the child node with MAC address 1 successfully preempts the bus when sending the first bit, and at this time, the child nodes with MAC addresses 2 and 3 stop sending.

[0047] Furthermore, during the data transmission process, it is possible that the signal strength of the previous node of the current node is greater than the signal strength of the next node of the current node. To solve this problem, the following logic applies: when a child node is sending data as a forwarding node, and receives data from other child nodes, and the MAC addresses of the sending and receiving data are the same, then the child node will no longer act as a forwarding child node to forward data.

[0048] The node communication path established in this way can be dynamically changed. The absence of a certain node will not cause changes to the entire path algorithm. Furthermore, the method of determining the next node based on the signal strength is simple and easy to implement, and the requirements for hardware and MCU computing power are not high.

[0049] In some embodiments, based on the above steps S10 and S20, the communication networking method provided in this application embodiment also sets up a repeated forwarding mechanism. Specifically, when the forwarding sub-node receives a forwarding failure response or the bus idle time of the sub-node exceeds a first preset time, the forwarding sub-node performs data forwarding again when the waiting time reaches the forced forwarding interval time.

[0050] Here, the first preset time can be denoted as 'a', and the forced forwarding time interval can be denoted as 'b'. 'a' and 'b' can be set as child node parameters in the data content of the message frame sent by the master node. It should be understood that the first preset time is greater than the forwarding delay time.

[0051] It is understood that the time units mentioned in the embodiments of this application are all milliseconds (ms).

[0052] For example, in power line communication applications, it cannot be guaranteed that the data content of each communication will be accurately received by the child node with the strongest signal. Therefore, if the current node receives an incorrect response from the next node, or if the current node does not receive a forwarding from the next node after waiting for more than 'a', the current node will force the information to be forwarded again once when the waiting time reaches 'b'.

[0053] Furthermore, before the forwarding sub-node performs another data forwarding, it also includes: determining whether the number of data forwardings exceeds the upper limit of the number of forwardings. It should be understood that the upper limit of the number of forwardings for each sub-node can be set in the data content of the message frame sent by the master node. For example, the upper limit of the number of forwardings for a forwarding node is m, where m is a positive integer and the unit is times.

[0054] In some embodiments, based on steps S10 and S20 above, the communication networking method provided in this application further includes a broadcast data frame delayed response mechanism. Specifically: when the message frame sent by the master node is a broadcast frame, after the master node sends the broadcast frame, when the bus idle time of all child nodes exceeds a second preset time; all child nodes determine the broadcast response delayed response time based on their respective signal strengths, and after the waiting time reaches the broadcast response delayed response time, they begin to send a broadcast response to the master node. After the child nodes send the broadcast response to the master node, when the bus idle time of all child nodes exceeds a third preset time, all child nodes are identified as having completed the broadcast response. Specifically, the determination of the broadcast response delayed response time based on the respective signal strengths by all child nodes can be specifically as follows: a preset multiple of the signal strength is determined as the broadcast response delayed response time, for example, the preset multiple is 5.

[0055] The second preset time can be denoted as c, and the third preset time can be denoted as d. c and d can be set as child node parameters in the data content of the message frame sent by the master node.

[0056] For example, in power line communication applications, when the master node broadcasts a data frame (i.e., the function code information in the data frame is a broadcast frame), the next node receives the broadcast content and, according to the function description of the forwarding sub-node in this application, continues to forward it to the next sub-node. Each sub-node forwards the broadcast frame, and this process continues until each sub-node detects that the bus idle time exceeds 'c'. At this point, it is considered that the broadcast frame has been notified to all sub-nodes. Then, each sub-node begins to send an acknowledgment frame after a delay according to the broadcast acknowledgment delay response time (e.g., broadcast acknowledgment delay response time = sub-node signal strength * 5ms). In this way, the acknowledgment information of each sub-node is gradually sent to the master node until the bus idle time exceeds 'd' again, at which point all nodes consider the acknowledgment of the broadcast frame to be complete.

[0057] In this embodiment, the parameters of each node, such as the first preset time a, the second preset time c, and the third preset time d related to the bus idle time of the child node, as well as the interval waiting time multiple n, the forced forwarding time interval b, and the upper limit value m of the forwarding count, are all set in the data content of the preset frame format. In this way, the parameter configuration of all nodes can be achieved by only setting the parameters of the master node.

[0058] For example, in an application scenario of a communication network containing a master node, secondary nodes (forwarding child nodes), and a target child node, the communication networking method provided in this application embodiment allows for the following data transmission methods between nodes during communication:

[0059] The following example illustrates the situation with the primary node's MAC address being 1, the target child node's MAC address being 3, and the secondary node's (forwarding child node's) MAC address being 2.

[0060] Example 1: Point-to-point query from master to slave:

[0061] Host sends: Fixed dock + 1 + 1 + 3 + Point-to-point query + Query data content packet

[0062] The case where the target child node responds directly:

[0063] Target child node response: Fixed dock + 3 + 3 + 1 + point-to-point query + packaged queried data content

[0064] Secondary node forwarding:

[0065] Secondary node forwarding: Fixed dock + 2 + 1 + 3 + point-to-point query + packetization of queried data content.

[0066] Target child node response: Fixed dock + 3 + 3 + 1 + point-to-point query + packaged queried data content

[0067] Secondary node forwarding: Fixed dock + 2 + 3 + 1 + point-to-point query + queried data content packet example 2, host performs point-to-point control to slave:

[0068] Host sends: Fixed dock + 1 + 1 + 3 + Point-to-point control + Control data content packet

[0069] The case where the target child node responds directly:

[0070] Target sub-node response: Fixed dock + 3 + 3 + 1 + Point-to-point control + Controlled data content package

[0071] Secondary node forwarding:

[0072] Secondary node forwarding: Fixed dock + 2 + 1 + 3 + point-to-point control + controlled data content packetization

[0073] Target sub-node response: Fixed dock + 3 + 3 + 1 + Point-to-point control + Controlled data content package

[0074] Secondary node forwarding: Fixed terminal + 2 + 3 + 1 + point-to-point control + controlled data content packet example 3, the host broadcasts to the slave without requiring a response:

[0075] Host sends: Fixed port +1 +1 +0xffff + broadcast no response required + broadcast no response required data content packet

[0076] Secondary node forwarding: Fixed port +2 +1 +0xffff + broadcast without response + broadcast without response data content packet

[0077] Last node (target child node) forwarding: Fixed dock +3 +1 +0xffff + broadcast no response required + broadcast no response required data content packet

[0078] After the last node reaches its continuous forwarding limit, all nodes go silent and wait for c ms before considering the broadcast complete.

[0079] Example 4: A host broadcasting to a slave device requires a response:

[0080] Host sends: Fixed port +1 +1 +0xffff + Broadcast requires response + Broadcast requires response data content packet

[0081] Secondary node forwarding: Fixed port +2 +1 +0xffff + broadcast requires response + broadcast requires response data content packet

[0082] Last node forwarding: Fixed dock +3 +1 +0xffff + broadcast requires response + broadcast requires response data content packet

[0083] After the last node reaches its continuous forwarding limit, all nodes remain silent until c ms later, at which point all nodes consider the broadcast complete.

[0084] After the last node reaches its continuous forwarding limit, all nodes remain silent until d ms later, at which point all nodes begin responding to broadcast frames.

[0085] Furthermore, this application also provides an air conditioning power line system, including a master node device and a sub-node device, wherein the master node device and the sub-node device communicate using the communication networking method provided in the embodiments of this application.

[0086] Those skilled in the art will understand that all or part of the processes in the method of the above-described embodiment can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable storage medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.

[0087] Furthermore, this application also provides an electronic device.

[0088] In one embodiment of an electronic device according to this application, the electronic device mainly includes a processor and a storage device. The storage device can be configured to store a program for executing the communication networking method of the above-described method embodiments, and the processor can be configured to execute the program in the storage device. This program includes, but is not limited to, a program for executing the communication networking method of the above-described method embodiments. For ease of explanation, only the parts related to the embodiments of this application are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of this application.

[0089] In the embodiments of this application, the electronic device may be a control device comprising various electronic devices. In some possible implementations, the electronic device may include multiple storage devices and multiple processors. The program executing the communication networking method of the above method embodiments can be divided into multiple subroutines, each subroutine can be loaded and run by a processor to execute different steps of the communication networking method of the above method embodiments. Specifically, each subroutine can be stored in different storage devices, and each processor can be configured to execute programs in one or more storage devices to jointly implement the communication networking method of the above method embodiments, that is, each processor executes different steps of the communication networking method of the above method embodiments to jointly implement the communication networking method of the above method embodiments.

[0090] The aforementioned multiple processors can be processors deployed on the same device. For example, the aforementioned electronic device can be a high-performance device composed of multiple processors, and the aforementioned multiple processors can be processors configured on that high-performance device. Alternatively, the aforementioned multiple processors can also be processors deployed on different devices. For example, the aforementioned electronic device can be a server cluster, and the aforementioned multiple processors can be processors on different servers within the server cluster.

[0091] Furthermore, this application also provides a computer-readable storage medium.

[0092] In one embodiment of a computer-readable storage medium according to this application, the computer-readable storage medium can be configured to store a program that performs the communication networking method of the above-described method embodiments. This program can be loaded and run by a processor to implement the above-described communication networking method. For ease of explanation, only the parts related to the embodiments of this application are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of this application. The computer-readable storage medium can be a storage device comprising various electronic devices. Optionally, in the embodiments of this application, the computer-readable storage medium is a non-transitory computer-readable storage medium.

[0093] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.

Claims

1. A communication networking method, characterized in that, In a communication network comprising one master node and multiple child nodes, the master node and child nodes send data to each other according to a preset frame format. The method includes: After a child node receives a message frame sent by a master node, the child node determines a forwarding delay time based on the signal strength; based on the forwarding delay time, it determines the child node that needs to forward data from multiple child nodes as the forwarding child node; after the forwarding child node waits for the forwarding delay time to reach the forwarding delay time, it sends the data in the message frame to the next child node.

2. The communication networking method according to claim 1, characterized in that: The step of determining the child node that needs to be forwarded as the forwarding child node from multiple child nodes based on the forwarding delay time specifically includes: The child node with the shortest forwarding delay is identified as the forwarding child node that needs to forward data. If there are multiple forwarding child nodes with the same forwarding delay time, each child node will preempt the bus to forward data based on its own MAC address.

3. The communication networking method according to claim 1, characterized in that: The preset frame format is specifically: fixed port + its own MAC address + sender's MAC address + receiver's MAC address + function code + data content; When the master node sends data, the MAC address of the sending end is the same as its own MAC address.

4. The communication networking method according to claim 3, characterized in that: The data content includes a first preset time and a forced forwarding interval time; The method further includes: when the forwarding sub-node receives a forwarding failure response or the bus idle time of the sub-node exceeds a first preset time, the forwarding sub-node performs another data forwarding when the waiting time reaches the forced forwarding interval time.

5. The communication networking method according to claim 4, characterized in that: The data also includes a maximum number of forwarding attempts. Before performing another data forwarding, it is also included to determine whether the number of data forwardings exceeds the upper limit of the number of forwardings.

6. The communication networking method according to claim 3, characterized in that: The method further includes: when a child node is sending data as a forwarding node, and receives data from other child nodes, and the sending MAC address and receiving MAC address contained in the sent data and the received data are the same, then the child node will no longer act as a forwarding child node to forward data.

7. The communication networking method according to claim 3, characterized in that: The data content includes a second preset time; When the message frame is a broadcast frame, after the master node sends the broadcast frame, when the bus idle time of all child nodes exceeds a second preset time, all child nodes determine the broadcast response delay time according to their respective signal strength, and after the waiting time reaches the broadcast response delay time, they start sending a broadcast response to the master node.

8. The communication networking method according to claim 7, characterized in that: The data content also includes a third preset time; After a child node sends a broadcast response to the master node, all child nodes are considered to have completed the broadcast response when the bus idle time of all child nodes exceeds a third preset time.

9. An electronic device comprising a processor and a storage device, said storage device being adapted to store a plurality of program codes, characterized in that, The program code is adapted to be loaded and run by the processor to perform the communication networking method according to any one of claims 1 to 8.

10. An air conditioning power line system, comprising a master node device and a slave node device, characterized in that, The master node device and the child node device communicate using the communication networking method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Rapid clustering data transmission method for chain multi-hop wireless sensor network

    CN101801114A

  • Communication system and communication method of multi-online air-conditioner

    CN103036754A

  • WSN progressive type physical topology positioning method based on 802.15.4 communication protocol

    CN104837170A

  • High-speed serial bus structure for multi-point interconnection and communication method thereof

    CN106776436A

  • Blind relay dynamic routing mode

    CN109618382A