A method and apparatus for self-organizing network, a drive-by-wire controller and a storage medium

CN122802414APending Publication Date: 2026-09-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611011585.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-08
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0003]本发明实施例提供了一种线控器自组网方法、装置、线控器及存储介质,旨在于解决目前线控器的组网方法鲁棒性差的问题

Benefits of technology

[0008]本发明实施例提供了一种线控器自组网方法、装置、线控器及存储介质。该方法包括:受控于组网指令,通过预设无线协议在预设信道上广播包含自身设备标识的第一发现报文,并在扫描窗口内监听相邻线控器的第二发现报文;若检测到所述第二发现报文,则解析所述第二发现报文以获得邻居信息,并将所述邻居信息记录至候选邻居列表;从所述候选邻居列表中提取所有所述相邻线控器的信号强度指示值和链路质量指示值,计算链路代价值,并基于所述链路代价值构建本地邻接表;根据所述本地邻接表计算到达其他线控器的最优通信路径,以获得本地路由表以构建连接网络。本发明实施例的线控器可以广播第一发现报文并监听第二发现报文,然后解析第二发现报文以获得邻居信息并记录至候选邻居列表,从而可以感知周边网络设备的分布状态,再提取信号强度指示值和链路质量指示值计算链路代价值以构建本地邻接表,并根据本地邻接表计算最优通信路径以获得本地路由表,不仅提高了链路质量评估的维度以增强抗干扰能力,而且无需中心服务器,提高了鲁棒性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802414A_ABST
    Figure CN122802414A_ABST
Patent Text Reader

Abstract

The application discloses a drive-by-wire controller self-networking method and device, a drive-by-wire controller and a storage medium, and relates to the technical field of Internet of Things communication.The application comprises the following steps: under the control of a networking instruction, a first discovery packet containing a self-equipment identifier is broadcasted on a preset channel through a preset wireless protocol, and a second discovery packet of an adjacent drive-by-wire controller is listened to in a scanning window; if the second discovery packet is detected, the second discovery packet is analyzed to obtain neighbor information, and the neighbor information is recorded to a candidate neighbor list; signal strength indicator values and link quality indicator values of all adjacent drive-by-wire controllers are extracted from the candidate neighbor list, a link generation value is calculated, and a local adjacency table is constructed based on the link generation value; an optimal communication path to other drive-by-wire controllers is calculated according to the local adjacency table, a local routing table is obtained, and a connected network is constructed.The application not only improves the dimension of link quality evaluation to enhance the anti-interference capability, but also does not need a central server, and the robustness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet of Things (IoT) communication technology, and in particular to a method, apparatus, wired controller, and storage medium for self-organizing a wired network. Background Technology

[0002] In the centralized management and energy-saving scheduling of air conditioning systems in large buildings, the operation and maintenance system needs to perform highly reliable networking and collaborative control of a massive number of distributed wired controllers. Existing solutions mostly rely on central servers or dedicated gateways for centralized networking and cloud scheduling, which is not only cumbersome to configure, but also prone to causing global management interruptions due to single point of failure, resulting in poor robustness. Summary of the Invention

[0003] This invention provides a method, apparatus, wired controller, and storage medium for self-organizing a wired controller, aiming to solve the problem of poor robustness in current wired controller networking methods.

[0004] In a first aspect, embodiments of the present invention provide a method for self-organizing a wired controller network, the method comprising: Controlled by the networking command, it broadcasts a first discovery message containing its own device identifier on a preset channel through a preset wireless protocol, and listens for the second discovery message of the adjacent wire controller within the scanning window; If the second discovery message is detected, the second discovery message is parsed to obtain neighbor information, and the neighbor information is recorded in the candidate neighbor list; Extract the signal strength indication value and link quality indication value of all the adjacent wire controllers from the candidate neighbor list, calculate the link cost value, and construct a local adjacency table based on the link cost value; The optimal communication path to other wire controllers is calculated based on the local adjacency table to obtain a local routing table for building a connected network.

[0005] Secondly, embodiments of the present invention also provide a wired controller self-organizing network device, the device comprising: The first discovery unit is controlled by the networking command to broadcast a first discovery message containing its own device identifier on a preset channel through a preset wireless protocol, and to listen for the second discovery message of the adjacent wire controller within the scanning window. The first parsing unit is configured to, if the second discovery message is detected, parse the second discovery message to obtain neighbor information and record the neighbor information in the candidate neighbor list; The first construction unit is used to extract the signal strength indication value and link quality indication value of all the adjacent wire controllers from the candidate neighbor list, calculate the link cost value, and construct a local adjacency table based on the link cost value. The first routing unit is used to calculate the optimal communication path to other wire controllers based on the local adjacency table, so as to obtain a local routing table to build a connected network.

[0006] Thirdly, embodiments of the present invention also provide a wired controller, which includes a memory and a processor connected to the memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0007] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.

[0008] This invention provides a method, apparatus, wire controller, and storage medium for self-organizing a wired controller network. The method includes: under network formation command, broadcasting a first discovery message containing its own device identifier on a preset channel via a preset wireless protocol, and listening for second discovery messages from neighboring wire controllers within a scanning window; if the second discovery message is detected, parsing the message to obtain neighbor information and recording the neighbor information in a candidate neighbor list; extracting signal strength indication values ​​and link quality indication values ​​of all neighboring wire controllers from the candidate neighbor list, calculating link cost values, and constructing a local adjacency table based on the link cost values; calculating the optimal communication path to other wire controllers according to the local adjacency table to obtain a local routing table for constructing a connected network. The wire controller in this embodiment of the invention can broadcast a first discovery message and listen to a second discovery message. Then, it parses the second discovery message to obtain neighbor information and records it to the candidate neighbor list. This allows it to perceive the distribution status of surrounding network devices. It then extracts the signal strength indicator value and link quality indicator value to calculate the link cost value to build a local adjacency table. Based on the local adjacency table, it calculates the optimal communication path to obtain a local routing table. This not only improves the dimensions of link quality assessment to enhance anti-interference capability, but also eliminates the need for a central server, thus improving robustness. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 This is a flowchart illustrating the self-organizing network method for wired controllers provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the first sub-process of the wire controller self-organizing network method provided in the embodiment of the present invention; Figure 3 This is a schematic diagram of the second sub-process of the wired controller self-organizing network method provided in the embodiment of the present invention; Figure 4 This is a schematic diagram of the third sub-process of the wired controller self-organizing network method provided in the embodiment of the present invention; Figure 5 This is a schematic diagram of the fourth sub-process of the wired controller self-organizing network method provided in the embodiment of the present invention; Figure 6 This is a schematic diagram of the fifth sub-process of the wired controller self-organizing network method provided in the embodiment of the present invention; Figure 7 This is a schematic diagram of the sixth sub-process of the wired controller self-organizing network method provided in the embodiment of the present invention; Figure 8 This is a schematic block diagram of a wired controller self-organizing network device provided in an embodiment of the present invention; Figure 9 This is a schematic block diagram of the wired controller provided in an embodiment of the present invention. Detailed Implementation

[0011] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0012] It should be understood that, when used in this specification and the appended claims, the terms “comprising” and “including” indicate the presence of the described features, integrals, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, operations, elements, components and / or collections thereof.

[0013] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.

[0014] Please see Figure 1 , Figure 1 This is a flowchart illustrating the self-organizing network method for wired controllers provided in an embodiment of the present invention. This self-organizing network method can be applied to wired controllers and can dynamically construct a Mesh network without a central server. Figure 1 As shown, the method includes steps S100 to S130.

[0015] S100, controlled by networking commands, broadcasts a first discovery message containing its own device identifier on a preset channel through a preset wireless protocol, and listens for the second discovery message of adjacent wired controllers within the scanning window.

[0016] In this embodiment of the invention, after receiving a network setup command such as power-on or reset, the wired controller initiates a network construction process. To perceive the surrounding network environment, the wired controller actively broadcasts a first discovery message on a preset radio frequency channel via its built-in multi-protocol wireless communication module, thereby announcing its presence and basic attributes. Simultaneously, within a set scanning window (e.g., 5 to 15 seconds), the wired controller continuously listens for second discovery messages from other adjacent wired controllers in the physical space.

[0017] In a preferred embodiment, the wired controller enters a full protocol scanning mode, sequentially switching between Zigbee and LoRa protocol channels for broadcasting and listening. Through this mechanism combining active advertising and passive listening, the wired controller can initially perceive the distribution status of surrounding devices relying solely on its local radio frequency module, completely eliminating its dependence on a central router or coordinator gateway.

[0018] S110, if the second discovery message is detected, the second discovery message is parsed to obtain neighbor information, and the neighbor information is recorded in the candidate neighbor list.

[0019] In this embodiment of the invention, when a wired controller successfully captures a second discovery message sent by an adjacent wired controller within the scanning window, its baseband processing module demodulates and parses the radio frequency frame.

[0020] The wire controller extracts neighbor information from the MAC layer or application layer payload of the message. This information includes at least the device identifiers of neighboring wire controllers (such as unique MAC addresses or device IDs) and the types of communication protocols they support. Subsequently, the wire controller records this parsed node attribute data into a candidate neighbor list allocated in its local memory. Through this process, the wire controller completes the transformation from physical layer radio frequency signal sensing to network layer node discovery, providing foundational data for subsequent link quality assessment.

[0021] S120: Extract the signal strength indication value and link quality indication value of all adjacent wire controllers from the candidate neighbor list, calculate the link cost value, and construct a local adjacency table based on the link cost value.

[0022] In this embodiment of the invention, the Received Signal Strength Indicator (RSSI) is the physical power of the radio frequency signal measured by the receiver, usually in dBm, and is mainly affected by physical distance and obstructions; the Link Quality Indicator (LQI) is the data frame parsing quality or signal-to-noise ratio evaluated by the baseband demodulator, usually a dimensionless integer (e.g., 0-255), and is mainly affected by environmental electromagnetic interference and multipath effects.

[0023] The wired controller traverses the candidate neighbor list, extracting the corresponding signal strength indicator (SSI) and link quality indicator (BMI) values ​​for each discovered neighbor. These values ​​are then normalized to between 0 and 1, and the link cost is calculated using a two-dimensional weighted formula. The preferred formula is: Cost = 0.6×(1 / RSSI) + 0.4×(1 / LQI) The physical meaning of this formula is that the lower the cost value, the better the link quality; at the same time, introducing LQI can effectively avoid poor-quality links with strong signals but high interference. The local adjacency table is used to record the connection relationship between the current node and all its directly connected neighbor nodes and the corresponding link costs.

[0024] S130, calculate the optimal communication path to other wire controllers based on the local adjacency table to obtain a local routing table to build a connected network.

[0025] In this embodiment of the invention, after constructing the local adjacency table, the wire controller, acting as a peer node, autonomously runs a distributed routing algorithm in a serverless environment. Its core objective is to calculate the optimal communication path to all other wire controllers in the network, comprehensively considering the cumulative cost of multi-hop transmission to ensure data flows through the network in the most efficient and reliable manner. After calculation, the wire controller stores this path information in its local routing table. Through the generation and mutual coordination of the local routing tables of each wire controller, physically isolated nodes are interwoven into a mesh topology with multi-hop relay and dynamic routing capabilities. Thus, the serverless self-organizing mesh network (i.e., the connected network) is initially constructed locally.

[0026] To illustrate the networking process more clearly, the following detailed explanation will be based on a specific physical scenario involving three wired controllers (referred to as wired controller A, wired controller B, and wired controller C).

[0027] Assume that wired controller A and wired controller B are located in the same open office area with no physical obstruction between them; wired controller B and wired controller C are located in adjacent conference rooms with no physical obstruction between them; however, wired controller A and wired controller C are separated by a thick load-bearing wall, which causes severe signal attenuation between the two physical direct connections.

[0028] During steps S100 and S110, when the three wired controllers are simultaneously activated by a power-on command, each broadcasts a first discovery message via a preset wireless protocol. Within the set scanning window, wired controller A detects the second discovery messages sent by wired controllers B and C, wired controller B detects the second discovery messages sent by wired controllers A and C, and wired controller C also detects the second discovery messages sent by wired controllers B and A. Subsequently, each wired controller parses the received radio frequency frames, extracts the device identifiers of neighboring wired controllers, and records them uniformly in its respective candidate neighbor list. At this point, from a physical perception perspective, each wired controller sees the existence of the other two nodes.

[0029] During step S120, each wire controller begins extracting Signal Strength Indicator (RSSI) and Link Quality Indicator (LQI) values ​​from the candidate neighbor list to calculate the link cost. Taking wire controller A as an example, it extracts an RSSI of -50dBm and an LQI of 240 for communication with wire controller B. After normalization and calculation using a two-dimensional weighted formula, the link cost value from wire controller A to wire controller B is calculated to be 1.5 (representing excellent link quality). Simultaneously, wire controller A extracts an RSSI of -90dBm and an LQI of 50 for direct communication with wire controller C, calculating a direct link cost value from wire controller A to wire controller C as high as 15.0 (representing extremely poor link quality). Wire controller A fills these cost values ​​into a data structure to construct its local adjacency table. Similarly, controller B calculates its cost to A to be 1.5 and its cost to C to be 2.0; controller C calculates its cost to B to be 2.0 and its direct connection cost to A to be 15.0.

[0030] During step S130, each wire controller autonomously calculates the optimal communication path to other nodes based on its local adjacency list. Taking the route from wire controller A to wire controller C as an example: wire controller A first evaluates the direct path, i.e., data is sent directly from A to C, and the total cost of this path is the direct path cost of 15.0; then, wire controller A evaluates the multi-hop path, i.e., data is first sent to wire controller B, and then forwarded by wire controller B to C, and the total cost of this path is the sum of "cost from wire controller A to B (1.5)" and "cost from wire controller B to C (2.0)", which is 3.5.

[0031] Through comparative calculations, wire controller A discovered that the total cost of the multi-hop path (3.5) was significantly less than the total cost of the direct path (15.0). Therefore, wire controller A determined "forwarding via wire controller B" as the optimal communication path to wire controller C and stored this path information (destination node C, next-hop node B, total path cost 3.5) in its local routing table. Through this distributed local computation and subsequent periodic broadcasting and exchange of routing tables between nodes, wire controllers A, B, and C can ultimately accurately determine the optimal topology of the entire network, thus successfully constructing a highly reliable mesh network without central server intervention.

[0032] In some embodiments, such as in embodiments of the present invention, as Figure 2 As shown, step S130 includes steps S131-S133.

[0033] S131, using itself as the source node and the link cost values ​​in the local adjacency table as edge weights, calculate the optimal communication path, wherein the optimal communication path is the path with the minimum sum of the link costs on the path. S132, the optimal communication path is stored in the local routing table, and the local routing table is periodically broadcast to the adjacent wire controllers so that the adjacent wire controllers update their local routing tables. S133, receive the local routing table broadcast by the adjacent wire controller to update its own local routing table.

[0034] In this embodiment of the invention, when performing path calculation, the wire controller first sets itself as the starting point (source node) of data transmission and treats the link cost of each directly connected neighbor recorded in the local adjacency table as the edge weight in the graph structure. Based on this, the wire controller performs traversal calculations to select the path with the smallest sum of the link costs of each hop among all possible paths from itself to any destination node, and determines this as the optimal communication path.

[0035] After obtaining the optimal communication path, the wired controller stores it in its local routing table. Simultaneously, to ensure other nodes in the network are aware of the path information for data forwarded via this node, the wired controller proactively broadcasts its local routing table to all directly connected neighboring wired controllers at set intervals. While broadcasting its own routing table, the wired controller also continuously listens for and receives routing tables broadcast from neighboring wired controllers. Upon receiving a neighbor's routing table, the wired controller extracts the path cost information and compares it with its existing routing records. If the sum of the "link cost from itself to that neighbor" and the "path cost broadcast by that neighbor to a certain destination node" is less than the "path cost to that destination node" currently recorded in its own table, the wired controller updates the next-hop pointer and total cost for that destination node in its local routing table, switching the next hop for data transmission to that neighboring wired controller.

[0036] Through this mechanism of periodically exchanging routing information among neighbors and continuously iterating and optimizing, the routing tables of all nodes in the network will eventually reach a converged state where they no longer change. In addition, to prevent routing loops in dynamic topologies from causing network storms, the wired controller has a maximum hop limit (e.g., 10 to 20 hops) in its routing table. When a data packet is forwarded for one hop in the Mesh network, the wired controller decrements its TTL (Time To Live) value by 1. When the TTL is detected to be 0, the wired controller directly discards the packet.

[0037] In some embodiments, such as in embodiments of the present invention, as Figure 3 As shown, the method further includes steps S140-S142.

[0038] S140, broadcast the first discovery message according to a preset period to update the local adjacency table; S141, when no discovery message of a certain adjacent wire controller is received within a number of consecutive preset periods, the adjacent wire controller is determined to be invalid and is deleted from the local adjacency list; S142, recalculate the optimal communication path affected by the failed node in order to switch to the backup path.

[0039] In this embodiment of the invention, after obtaining the initial local routing table, the wired controller exits the full protocol scan mode and enters the periodic maintenance mode. The wired controller continuously broadcasts a first discovery message as a heartbeat packet according to a preset period (e.g., 10 to 30 seconds) to maintain and update the neighbor status in the local adjacency table. During the monitoring process, if the wired controller finds that it has not received a discovery message from a specific neighboring wired controller for several consecutive preset periods (e.g., three consecutive periods), it logically determines that the neighboring node has failed due to power failure or hardware damage. Subsequently, the wired controller removes the failed node from the local adjacency table and immediately triggers a local path recalculation mechanism to recalculate the optimal communication path affected by the failed node, thereby automatically switching the data flow to the backup path. Since the recalculation only occurs between the affected local nodes, the entire path switching process is usually less than 1 second, thus achieving millisecond-level network self-healing and ensuring zero-interruption operation of the building air conditioning management network.

[0040] In some embodiments, such as in embodiments of the present invention, as Figure 4 As shown, the method further includes steps S150-S152.

[0041] S150, Obtain the signal strength indication value of the first protocol of the adjacent wire controller; S151, if the signal strength indication value of the first protocol of the adjacent wire controller is greater than or equal to the preset signal threshold, then a link is established with the adjacent wire controller through the first protocol; S152, if the signal strength indication value of the first protocol is less than the preset signal threshold, then a link is established with the adjacent wire controller through the second protocol.

[0042] In this embodiment of the invention, to adapt to the complex physical space of buildings, the wired controller performs intelligent multi-protocol selection when establishing a communication link. The wired controller first obtains the Signal Strength Indication (RSSI) value of adjacent wired controllers under the first protocol (typically the low-power, short-range Zigbee protocol). The wired controller compares this RSSI value with a preset signal threshold (i.e., the minimum RF power threshold to ensure stable communication under the first protocol, preferably set to -75dBm to -85dBm). If the RSSI value is greater than or equal to the threshold, it indicates good physical coverage, and the wired controller prioritizes establishing a link using the first protocol to minimize communication power consumption. Conversely, if the RSSI value is less than the threshold, it indicates severe signal attenuation due to cross-floor obstruction or load-bearing walls, and the wired controller automatically and seamlessly switches to the second protocol (typically the long-range, strong-penetration LoRa protocol) to establish a link. Through this mechanism, the wired controller allows different communication protocols to be used between different hops when constructing a multi-hop communication path, thereby flexibly forming a hybrid Zigbee and LoRa link.

[0043] In some embodiments, such as in embodiments of the present invention, as Figure 5 As shown, the method further includes steps S160-S163.

[0044] S160, Collect environmental data and input the environmental data into a preset local intelligent model so that the preset local intelligent model outputs a strategy output including temperature adjustment amount and regional priority; S161, Generate and execute the corresponding temperature control command based on the temperature adjustment amount; S162, based on the optimal communication path determined by the local routing table, broadcast the policy output to the neighboring wire controllers, so that the neighboring wire controllers can perform coordinated fine-tuning according to the received area priority; and / or, S163, receive the strategy output broadcast by the adjacent wire controller, perform collaborative fine-tuning based on the difference between the received regional priority and its own regional priority, and generate and execute the adjusted temperature control command.

[0045] In this embodiment of the invention, the wired controller collects environmental data such as the number of people, room temperature, and energy consumption in real time through locally integrated sensors (such as a PIR human body sensor, a temperature sensor, and a current sampling circuit). The wired controller then inputs this environmental data into a preset local intelligent model. This model can be a lightweight graph neural network (GNN) model deployed on the wired controller's NPU (Neural Processing Unit) chip. The GNN model uses the environmental data of the current and adjacent wired controllers as graph node features, and uses mesh links as graph edges for inference, ultimately outputting a strategy that includes temperature adjustment amounts and regional priorities.

[0046] The wired controller directly generates and executes the corresponding temperature control command based on the temperature adjustment amount (e.g., -1.0 represents a 1°C temperature drop). Simultaneously, to achieve multi-node collaboration, the wired controller encapsulates the policy into a structured message and broadcasts it to neighboring wired controllers within milliseconds, based on the optimal communication path determined by its local routing table. When a wired controller receives the policy output broadcast by a neighboring wired controller, it does not blindly follow, but rather performs collaborative fine-tuning based on the difference between the received area priority and its own area priority, thereby generating and executing the adjusted temperature control command.

[0047] In some embodiments, such as in embodiments of the present invention, as Figure 6 As shown, the method further includes steps S170-S172.

[0048] S170, determine the area type and command type of the adjacent wire controller; S171, when the area type of the adjacent wired controller is room type and the command type is cooling, if it is corridor type, it will perform heating to compensate for the temperature gradient. S172, if the area type is the room type, then cooling is performed, and the cooling range is less than that of the adjacent wired controller.

[0049] In this embodiment of the invention, when a wired controller receives a policy message broadcast by a neighboring wired controller, it first parses the area type field (such as room type, corridor type, etc.) and command type field (such as cooling or heating) in the message to determine the broadcaster's intent. Based on the building's thermodynamic coupling relationship, the wired controller executes differentiated collaborative fine-tuning rules: when the wired controller determines that the broadcaster's area type is a room type (such as a high-priority meeting room) and the command type is cooling, if the wired controller identifies its own area type as a corridor type, it will perform a small heating operation to create a temperature gradient compensation at the meeting room entrance, effectively preventing cold air leakage. Conversely, if the wired controller identifies its own area type as a room type (such as an adjacent guest room), it will cooperate by performing a cooling operation, but its set cooling range must be strictly less than the broadcaster's cooling range, thus ensuring guest room comfort while also considering the overall building's energy efficiency.

[0050] It should be noted that the above-mentioned fine-tuning of room and corridor types is only a typical scenario example. In more complex building environments, area types can be further divided into large public areas (such as lobbies and atriums), special function areas (such as computer rooms and equipment rooms), and environmentally sensitive areas (such as areas near windows / outer perimeters). The wired controller will execute corresponding coordination strategies based on the specific thermodynamic properties of these areas.

[0051] For example, when the wired controller recognizes that it is in a large public space, because the space is large and the air heat capacity is high, when the adjacent room performs a large-scale cooling, the wired controller will control the air conditioner to adjust the air supply direction or perform a very small amount of temperature compensation to avoid strong convection or condensation at the interface between hot and cold air.

[0052] When a wired controller identifies itself in a special functional area (such as a server room or power distribution room), due to the strict and constant temperature safety requirements of this area (such as continuously maintaining a temperature below 22°C), its area priority is usually set to the highest and it has independent control logic. At this time, regardless of whether the adjacent areas (such as corridors or offices) cool down or heat up, the wired controller will refuse to coordinate fine-tuning and force the maintenance of independent constant temperature control to ensure the safe operation of core equipment.

[0053] When the wired controller identifies itself in an environmentally sensitive area (such as near a window or on the perimeter of a building), it is greatly affected by outdoor sunlight and external temperature. When the adjacent internal core area (such as a windowless inner room) performs cooling, the wired controller will combine data from local light or external temperature sensors to perform a cooling operation with an amplitude greater than or equal to that of the broadcaster. This creates a thermal insulation temperature barrier at the edge of the building, effectively blocking the conduction of external heat to the internal area.

[0054] Through this multi-dimensional regional classification and differentiated collaborative rules, the wired controller can adapt to various complex building space layouts and achieve the optimal balance between global energy efficiency and local environmental needs without cloud intervention.

[0055] For example, if wired controller A is deployed in the conference room (area type: room, area priority: 0, i.e., highest priority), wired controller B is deployed in the corridor outside the conference room (area type: corridor, area priority: 1), and wired controller C is deployed in a guest room adjacent to the conference room (area type: room, area priority: 2), these three wired controllers have constructed a serverless mesh network through the aforementioned steps, and each maintains its own optimal local routing table to other nodes.

[0056] During steps S160 and S161, it is assumed that a large number of people suddenly flood into the conference room, causing a sharp increase in indoor heat load. Wired controller A collects real-time environmental data on the surge in people and rising room temperature using local PIR and temperature sensors, and inputs this data into a lightweight graph neural network (GNN) model deployed in the NPU chip. The GNN model combines the states of the current node and its neighbors to perform reasoning, outputting a strategy that includes a temperature adjustment amount (e.g., -1.0°C, i.e., a 1.0°C temperature drop) and a region priority (0). Subsequently, wired controller A generates a corresponding temperature control command based on this temperature adjustment amount, controlling the conference room's air conditioning unit to perform a 1.0°C temperature drop.

[0057] When executing step S162, in order to achieve multi-node collaboration, wire controller A encapsulates the above policy output into a structured message (containing the area type "room", temperature adjustment amount "-1.0", and priority "0"), and broadcasts the message to the physically adjacent wire controllers B and C through the Mesh network in milliseconds based on the optimal communication path determined by the local routing table.

[0058] When executing step S163, wire controller B and wire controller C respectively receive the policy output broadcast by wire controller A, and perform collaborative fine-tuning based on the difference between their own regional attributes and the received regional priority.

[0059] Specifically, after parsing the message, wired controller B (corridor) identifies that the broadcaster (wired controller A) has a room type area and a cooling command, while wired controller A's area priority (0) is higher than its own area priority (1). Based on preset collaborative fine-tuning rules, wired controller B determines that it needs to cooperate with the high-priority area for temperature gradient compensation. Therefore, it generates and executes the adjusted temperature control command, controlling the corridor air conditioner to raise the temperature by 0.5°C. This fine-tuning creates an invisible "heat curtain" at the conference room entrance, effectively preventing cold air from leaking out of the conference room into the corridor and reducing energy waste.

[0060] Meanwhile, after parsing the message, wired controller C (guest room) identifies that the broadcaster (wired controller A) has a higher area priority (0) than its own (2), and both are in the room type. According to the coordinated fine-tuning rules, wired controller C determines that it needs to cooperate with the overall cooling trend, but to ensure the comfort of the people in the guest room, its cooling range must be strictly less than that of the broadcaster. Therefore, wired controller C generates and executes the adjusted temperature control command, controlling the guest room air conditioner to perform a cooling operation of 0.5°C (less than the 1.0°C of wired controller A).

[0061] As can be seen from the above scenario, wired controllers A, B, and C, without the need for cloud server intervention, rely solely on local lightweight AI models and optimal path broadcasting within the Mesh network to achieve cross-regional collaborative fine-tuning in a closed loop at the edge. This differentiated control based on region type and priority not only avoids ineffective heat and cold cancellation caused by excessive temperature differences between adjacent areas but also significantly improves the overall building's energy efficiency and millisecond-level response capability.

[0062] If wired controller A is deployed in the lobby on the first floor of the building (area type: large public area; due to midday and high traffic, area priority is temporarily set to 0, i.e., highest priority), wired controller B is deployed in the VIP reception room adjacent to the lobby (area type: room; area priority set to 1), and wired controller C is deployed in the elevator hallway connected to the lobby (area type: corridor; area priority set to 2), these three wired controllers have formed a Mesh network without a central server and maintain an optimal local routing table.

[0063] During steps S160 and S161, the indoor heat load increases sharply due to direct sunlight at midday and a large influx of visitors into the lobby. Controller A (lobby) collects environmental data in real time using local PIR sensors, temperature sensors, and light sensors, and inputs it into a lightweight GNN model within the NPU chip. The GNN model infers the physical properties of the large space and high heat capacity, outputting a strategy that includes a temperature adjustment amount (e.g., -1.5°C, i.e., a 1.5°C temperature reduction) and a zone priority (0). Subsequently, controller A generates a corresponding temperature control command based on this temperature adjustment amount, controlling the lobby's air conditioning unit to perform a 1.5°C temperature reduction.

[0064] When executing step S162, controller A encapsulates the above strategy output into a structured message (containing the area type "large space public area", temperature adjustment amount "-1.5", and priority "0"), and broadcasts it to physically adjacent controllers B and C in milliseconds based on the optimal communication path.

[0065] During step S163, wire controllers B and C respectively receive the policy output broadcast by wire controller A, and perform collaborative fine-tuning based on the difference between their own region attributes and the received region priority: Specifically, after parsing the message, wired controller B (VIP reception room) identifies the broadcaster (wired controller A) as having a large public space as the area type and a command for significant cooling. Due to the large volume of the lobby, a significant cooling would cause a large amount of cold air to permeate into the adjacent reception room, potentially leading to overcooling or condensation at the boundary. Based on preset thermodynamic compensation rules, wired controller B determines that it needs to make fine adjustments to counteract the effects of cold air infiltration. Therefore, it generates and executes an adjusted temperature control command, controlling the reception room's air conditioning to perform a slight cooling (e.g., -0.3°C) and reduce the airflow speed, thereby ensuring the comfort of the reception room while avoiding strong thermal convection at the boundary with the lobby.

[0066] Meanwhile, after parsing the message, wired controller C (elevator hall corridor) identifies that the broadcaster (wired controller A) has a higher area priority (0) than its own area priority (2), and the broadcaster's area type is a large public space. Since the elevator hall is a transitional area connecting the lobby and the interior of the floors, in order to prevent the lobby's cooling energy from being lost in large quantities through the elevator shaft and corridor, wired controller C, according to the collaborative fine-tuning rules, determines that it needs to cooperate in establishing a temperature gradient barrier. Therefore, wired controller C generates and executes the adjusted temperature control command, controlling the elevator hall air conditioner to perform a 0.5°C temperature increase. This fine-tuning forms an invisible "heat curtain" at the elevator hall entrance, effectively locking in the lobby's cooling energy and reducing the ineffective diffusion of energy to non-core areas.

[0067] As can be seen from the above scenarios, when the broadcasting location is a large public space, the adjacent room-type and corridor-type wired controllers can autonomously perform differentiated and coordinated fine-tuning of anti-convection, anti-condensation, and cooling capacity locking based on the physical characteristics of large spaces with high heat capacity and easy air infiltration. This mechanism ensures that the system can still achieve optimal global energy efficiency and precise balance with local environmental needs even in complex spatial layouts.

[0068] In some embodiments, such as in embodiments of the present invention, as Figure 7 As shown, the method further includes steps S180-S183.

[0069] S180, Receive a network configuration request sent by the management terminal, wherein the network configuration request contains encrypted QR code information, and the encrypted QR code information includes a dynamic encryption key, a timestamp, and a device identifier; S181, decrypt the encrypted QR code information according to the preset master key to obtain the dynamic encryption key, and verify the timestamp and device identifier; S182, After successful verification, the communication channel with the management terminal is encrypted using the dynamic encryption key; S183, complete device registration and receive permission configuration policy through the communication channel, and delete the dynamic encryption key after configuration is completed.

[0070] In this embodiment of the invention, when maintenance personnel scan the QR code on the wired controller using a management terminal (such as a tablet app), the wired controller receives a network configuration request sent by the management terminal. This request carries encrypted QR code information, including a 128-bit AES dynamic encryption key randomly generated by the management terminal each time a network is configured, the current timestamp, and the target device identifier. The wired controller uses a preset master key embedded in its firmware at the factory to decrypt the encrypted information using the AES-128 CBC algorithm, thereby obtaining the dynamic encryption key.

[0071] Subsequently, the wired controller performs strict dual authentication: firstly, it verifies the timestamp; if the current time exceeds the timestamp plus a preset validity period of 10 minutes, the controller determines the request has expired and refuses network configuration to prevent replay attacks; secondly, it verifies the device identifier; if it does not match its own preset identifier, it refuses network configuration to prevent mismatch. After successful dual authentication, the wired controller uses the dynamic encryption key to establish a secure communication channel (such as Wi-Fi 6E) with the management terminal, completing device registration and receiving permission configuration policies through this channel. Once configuration is complete, the wired controller immediately and completely erases the dynamic encryption key from memory. This "single-use, self-destructing" mechanism compresses identity authentication and key distribution into a single scan action, avoiding the risk of leakage associated with traditional static passwords.

[0072] It should be noted that, in this embodiment of the invention, the management terminal's role with the wired controllers is mainly limited to initial device registration, issuing permission configuration policies (such as setting control permissions for different areas, operating mode restrictions, etc.), and subsequent operation and maintenance monitoring (such as viewing device operating status, reading energy consumption data reports, or performing firmware upgrades). The management terminal essentially serves only as an external configuration and monitoring tool; it does not participate in the Mesh network routing calculations between the wired controllers, nor does it participate in the edge AI collaborative inference process. This means that once network configuration is completed and permission policies are successfully issued, even if the management terminal goes offline, disconnects, or experiences a hardware failure, the decentralized self-organizing Mesh network built between the wired controllers and the edge AI collaborative energy-saving function based on the local NPU can still operate independently and autonomously.

[0073] The wire controller self-organizing network method disclosed in this invention can broadcast a first discovery message and listen for a second discovery message. Then, it parses the second discovery message to obtain neighbor information and records it to a candidate neighbor list. This allows it to perceive the distribution status of surrounding network devices. It then extracts signal strength indication value and link quality indication value to calculate link cost value to construct a local adjacency table. Based on the local adjacency table, it calculates the optimal communication path to obtain a local routing table. This not only improves the dimensions of link quality assessment to enhance anti-interference capability, but also eliminates the need for a central server, thus improving robustness.

[0074] Figure 8 This is a schematic block diagram of a wired controller self-organizing network device 200 provided in an embodiment of the present invention. Figure 8 As shown, corresponding to the above-described wired controller self-organizing network method, the present invention also provides a wired controller self-organizing network device 200. This wired controller self-organizing network device 200 includes units for performing the above-described wired controller self-organizing network method. Specifically, please refer to... Figure 8 The wired controller self-organizing network device 200 includes a first discovery unit 201, a first parsing unit 202, a first construction unit 203, and a first routing unit 204.

[0075] The first discovery unit 201 is used to broadcast a first discovery message containing its own device identifier on a preset channel through a preset wireless protocol, and to listen for the second discovery message of the adjacent wire controller within the scanning window. The first parsing unit 202 is used to parse the second discovery message to obtain neighbor information if the second discovery message is detected, and record the neighbor information in the candidate neighbor list; The first construction unit 203 is used to extract the signal strength indication value and link quality indication value of all the adjacent wire controllers from the candidate neighbor list, calculate the link cost value, and construct a local adjacency table based on the link cost value. The first routing unit 204 is used to calculate the optimal communication path to other wire controllers based on the local adjacency table, so as to obtain a local routing table to build a connection network.

[0076] In some embodiments, such as this one, the first routing unit 204 further includes a second calculation unit, a second broadcast unit, and a second update unit.

[0077] The second calculation unit is used to calculate the optimal communication path with itself as the source node and the link cost value in the local adjacency table as the edge weight. The optimal communication path is the path with the minimum sum of the link costs on the path. The second broadcast unit is used to store the optimal communication path in the local routing table and periodically broadcast its own local routing table to the adjacent wire controllers so that the adjacent wire controllers update their local routing tables. The second update unit is used to receive the local routing table broadcast by the adjacent wire controller in order to update its own local routing table.

[0078] In some embodiments, such as this one, the wired controller self-organizing network device further includes a third broadcast unit, a first determination unit, and a first recalculation unit.

[0079] The third broadcast unit is used to broadcast a first discovery message according to a preset period to update the local adjacency table; The first determination unit is used to determine that the adjacent wire controller is invalid when no discovery message is received from a certain adjacent wire controller within a series of preset periods, and delete it from the local adjacency list. The first recalculation unit is used to recalculate the optimal communication path affected by the failed node in order to switch to the backup path.

[0080] In some embodiments, such as this one, the wire controller self-organizing network device further includes a second acquisition unit, a first link establishment unit, and a second link establishment unit.

[0081] The second acquisition unit is used to acquire the signal strength indication value of the first protocol of the adjacent wire controller; The first link establishment unit is used to establish a link with the adjacent wire controller through the first protocol if the signal strength indication value of the first protocol of the adjacent wire controller is greater than or equal to a preset signal threshold. The second link establishment unit is used to establish a link with the adjacent wire controller through the second protocol if the signal strength indication value of the first protocol is less than the preset signal threshold.

[0082] In some embodiments, such as this one, the wired controller self-organizing network device further includes a second acquisition unit, a first execution unit, a fourth broadcast unit, and a first fine-tuning unit.

[0083] The second acquisition unit is used to acquire environmental data and input the environmental data into a preset local intelligent model so that the preset local intelligent model outputs a strategy output including temperature adjustment amount and regional priority. The first execution unit is used to generate and execute the corresponding temperature control command according to the temperature adjustment amount; The fourth broadcast unit is used to broadcast the policy output to the neighboring wire controllers based on the optimal communication path determined by the local routing table, so that the neighboring wire controllers can perform coordinated fine-tuning according to the received area priority; and / or, The first fine-tuning unit is used to receive the strategy output broadcast by the adjacent wire controller, perform collaborative fine-tuning based on the difference between the received regional priority and its own regional priority, and generate and execute the adjusted temperature control command.

[0084] In some embodiments, such as this one, the first fine-tuning unit further includes a second judgment unit, a third execution unit, and a fourth execution unit.

[0085] The second judgment unit is used to determine the area type and command type of the adjacent wire controller; The third execution unit is used to perform heating to compensate for the temperature gradient when the area type of the adjacent wired controller is room type and the instruction type is cooling, and if it is corridor type. The fourth execution unit is used to perform cooling if its own area type is the room type, and the cooling range is less than that of the adjacent wired controller.

[0086] In some embodiments, such as this one, the wired controller self-organizing network device further includes a first receiving unit, a first decryption unit, a first verification unit, a first encryption unit, and a first registration unit.

[0087] The first receiving unit is used to receive a network configuration request sent by the management terminal. The network configuration request includes encrypted QR code information, which includes a dynamic encryption key, a timestamp, and a device identifier. The first decryption unit is used to decrypt the encrypted QR code information according to the preset master key to obtain the dynamic encryption key; The first verification unit is used to verify the timestamp and device identifier; The first encryption unit is used to encrypt the communication channel with the management terminal using the dynamic encryption key after successful verification. The first registration unit is used to complete device registration and receive permission configuration policies through the communication channel, and delete the dynamic encryption key after the configuration is completed.

[0088] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned wire controller self-organizing network device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0089] The aforementioned wired controller self-organizing network device can be implemented as a computer program, which can, for example... Figure 9 It runs on the wired controller shown.

[0090] Please see Figure 9 , Figure 9 This is a schematic block diagram of a wired controller provided in an embodiment of this application. It can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a smartphone, tablet, laptop, desktop computer, personal digital assistant, or wearable device. The server can be a standalone server or a server cluster composed of multiple servers.

[0091] See Figure 9 The wired controller 300 includes a processor 302, a memory, and an interface 307 connected via a system bus 301. The memory may include a non-volatile storage medium 303 and internal memory 304.

[0092] The non-volatile storage medium 303 can store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, it causes the processor 302 to execute a wired controller self-organizing network method.

[0093] The processor 302 provides computing and control capabilities to support the operation of the entire wire controller 300.

[0094] The internal memory 304 provides an environment for the execution of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a wire controller self-organizing network method.

[0095] This interface 305 is used for communication with other devices. Those skilled in the art will understand that... Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the wire controller 300 to which the present application is applied. The specific wire controller 300 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0096] It should be understood that in the embodiments of this application, the processor 302 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0097] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0098] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program implements any embodiment of the above-described wired controller self-organizing network method.

[0099] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0100] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0101] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0102] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0103] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a wired controller to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0104] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0105] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.

[0106] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for self-organizing a wired controller network, characterized in that, The method includes: Controlled by the networking command, it broadcasts a first discovery message containing its own device identifier on a preset channel through a preset wireless protocol, and listens for the second discovery message of the adjacent wire controller within the scanning window; If the second discovery message is detected, the second discovery message is parsed to obtain neighbor information, and the neighbor information is recorded in the candidate neighbor list; Extract the signal strength indication value and link quality indication value of all the adjacent wire controllers from the candidate neighbor list, calculate the link cost value, and construct a local adjacency table based on the link cost value; The optimal communication path to other wire controllers is calculated based on the local adjacency table to obtain a local routing table for building a connected network.

2. The method according to claim 1, characterized in that, The step of calculating the optimal communication path to other wire controllers based on the local adjacency list includes: Using itself as the source node and the link cost values ​​in the local adjacency list as edge weights, the optimal communication path is calculated, wherein the optimal communication path is the path with the minimum sum of the link costs on the path. The optimal communication path is stored in the local routing table, and the local routing table is periodically broadcast to the neighboring wire controllers so that the neighboring wire controllers update their local routing tables. It receives the local routing table broadcast by the neighboring wire controller to update its own local routing table.

3. The method according to claim 1, characterized in that, After the step of obtaining the local routing table, the method further includes: The first discovery message is broadcast at a preset period to update the local adjacency table; If no discovery message is received from a neighboring wire controller within several consecutive preset periods, the neighboring wire controller is determined to be invalid and is deleted from the local adjacency list. Recalculate the optimal communication path affected by the failed node to switch to the backup path.

4. The method according to claim 1, characterized in that, The preset wireless protocol includes a first protocol and a second protocol, and the method further includes: Obtain the signal strength indication value of the first protocol of the adjacent wire controller; If the signal strength indication value of the first protocol of the adjacent wire controller is greater than or equal to the preset signal threshold, then a link is established with the adjacent wire controller through the first protocol; If the signal strength indication value of the first protocol is less than the preset signal threshold, a link is established with the adjacent wire controller through the second protocol.

5. The method according to claim 1, characterized in that, The method further includes: Collect environmental data and input the environmental data into a preset local intelligent model so that the preset local intelligent model outputs a strategy output that includes temperature adjustment amount and regional priority; Generate and execute corresponding temperature control commands based on the temperature adjustment amount; Based on the optimal communication path determined by the local routing table, the policy output is broadcast to the neighboring wire controllers, enabling the neighboring wire controllers to perform coordinated fine-tuning according to the received area priority; and / or, It receives the strategy output broadcast by the adjacent wire controller, performs collaborative fine-tuning based on the difference between the received regional priority and its own regional priority, and generates and executes the adjusted temperature control command.

6. The method according to claim 5, characterized in that, The coordinated fine-tuning includes: Determine the region type and command type of the adjacent wire controllers; When the area type of the adjacent wired controller is room type and the command type is cooling, if it is corridor type, it will perform heating to compensate for the temperature gradient. If the area type is the room type, then cooling is performed, and the cooling effect is less than that of the adjacent wired controller.

7. The method according to claim 1, characterized in that, The method further includes: The system receives a network configuration request sent by a management terminal. The network configuration request contains encrypted QR code information, which includes a dynamic encryption key, a timestamp, and a device identifier. The encrypted QR code information is decrypted according to the preset master key to obtain the dynamic encryption key, and the timestamp and device identifier are verified. After successful verification, the communication channel with the management terminal is encrypted using the dynamic encryption key; The device is registered and permission configuration policy is received through the communication channel, and the dynamic encryption key is deleted after the configuration is completed.

8. A wired controller self-organizing network device, characterized in that, The device includes: The first discovery unit is controlled by the networking command to broadcast a first discovery message containing its own device identifier on a preset channel through a preset wireless protocol, and to listen for the second discovery message of the adjacent wire controller within the scanning window. The first parsing unit is configured to, if the second discovery message is detected, parse the second discovery message to obtain neighbor information and record the neighbor information in the candidate neighbor list; The first construction unit is used to extract the signal strength indication value and link quality indication value of all the adjacent wire controllers from the candidate neighbor list, calculate the link cost value, and construct a local adjacency table based on the link cost value. The first routing unit is used to calculate the optimal communication path to other wire controllers based on the local adjacency table, so as to obtain a local routing table to build a connected network.

9. A wired controller, characterized in that, The wired controller includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to perform the steps of the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the steps of the method as described in any one of claims 1-7.