Networking master device, networking sub-device and wireless networking establishment method

By selecting target channels with low interference and generating unique network identifiers in the network master control device, the problem of mis-networking of wireless devices in high-density residential environments is solved, and effective domain isolation and security control are achieved.

CN122227441APending Publication Date: 2026-06-16SHENZHEN XINYANG CHUANGZHI TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN XINYANG CHUANGZHI TECHNOLOGY CO LTD
Filing Date
2026-05-13
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

In high-density residential environments, existing wireless networking technologies are prone to mis-networking due to overlapping wireless signals from neighboring households passing through walls and co-channel interference, leading to problems such as incorrect execution of control commands and malfunctions of equipment, which affect system reliability and safety.

Method used

The main control device filters target channels with interference intensity less than or equal to the interference threshold, generates a unique target network identifier and binds it with the channel identifier to generate a target area ID. After obtaining the target network identifier, the network sub-devices establish a wireless network with the main control device to achieve effective domain isolation and avoid mis-networking of devices.

Benefits of technology

It achieves isolation between different networks, avoids the problem of equipment mis-networking caused by cross-household wireless signal interference, and improves the reliability and security of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122227441A_ABST
    Figure CN122227441A_ABST
Patent Text Reader

Abstract

The application relates to a networking master device, a networking sub-device and a wireless networking establishment method. The networking master device comprises a controller configured to: in response to a start operation of a wireless networking function, screen a target channel with interference intensity less than or equal to an interference threshold from available channels; generate a target area ID based on a target channel identifier of the target channel and a target networking identifier used for indicating a wireless network created by the networking master device; and a communicator configured to broadcast the target area ID. The controller is further configured to output the target networking identifier, so that at least one networking sub-device obtains the target networking identifier based on a user operation, obtains a target area ID including the target networking identifier from at least one area ID scanned, and establishes a target wireless network with the networking master device based on the target channel indicated by the target channel identifier included in the target area ID.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Some embodiments of this application relate to the field of wireless networking technology. More specifically, they relate to a networking master control device, a networking sub-device, and a method for establishing a wireless network. Background Technology

[0002] With the rapid development of smart home technology, more and more families are adopting wireless control devices to achieve intelligent management of home appliances (such as central air conditioning). Wireless networking has become the mainstream method due to its advantages such as no wiring required and convenient installation. Currently, the mainstream smart home LAN networking technologies include Bluetooth Mesh, Zigbee, and ESP-MESH. Although these technologies can achieve wireless interconnection between devices, in high-density residential environments, cross-household crosstalk causes wireless signals from neighboring households to overlap through walls and interfere with each other on the same frequency. This results in devices receiving networking messages and control signals from neighbors. In the absence of effective domain isolation, this can easily lead to devices being mis-networked, causing confusion about the ownership of devices in different households, and subsequently, command crosstalk problems, such as incorrect execution of control commands and malfunctions of devices, which seriously affect system reliability and safety. Summary of the Invention

[0003] To solve the above-mentioned technical problems, or at least partially solve them, some embodiments of this application provide a networking master control device, a networking sub-device, and a method for establishing a wireless network.

[0004] In a first aspect, some embodiments of this application provide a networking master control device, including: a controller configured to: in response to a wireless networking function activation operation, filter out target channels with interference strength less than or equal to an interference threshold from available channels; generate a target area ID based on a target channel identifier and a target networking identifier of the target channel, the target networking identifier being used to indicate a wireless network created by the networking master control device; a communicator configured to: broadcast the target area ID; the controller is further configured to: output the target networking identifier, so that at least one networking sub-device obtains the target networking identifier based on user operation, obtains a target area ID including the target networking identifier from at least one scanned area ID, and the target channel indicated by the target channel identifier included in the target area ID, and establishes a target wireless network with the networking master control device.

[0005] In some embodiments of this application, in addition to selecting target channels with low interference intensity during the network initialization phase, the network master control device also generates a unique target area ID by binding the target network identifier, which uniquely indicates the wireless network created by the network master control device, with the target channel identifier of the selected target channel. During the network establishment process, the network master control device broadcasts the target area ID and outputs the target network identifier. Only after the network sub-devices obtain the target network identifier based on user operation, match the target area ID corresponding to the target network identifier from at least one scanned area ID, and determine the target channel from the target area ID, can they establish a target wireless network with the network master control device based on the target channel. In this way, by binding the target network identifier with the target channel identifier to generate the target area ID, the network sub-devices cannot obtain the target area ID without obtaining a unique network identifier, and therefore cannot join the target network based on the target channel. Thus, effective domain isolation is achieved through the target network identifier, realizing isolation between different networks, such as home-level isolation. This can avoid the problem of devices mis-networking due to cross-household wireless signal interference, which could lead to cross-control of device commands from different households.

[0006] In some embodiments of this application, the region ID further includes a channel avoidance identifier, which is used to indicate the channel corresponding to the region ID and the channel to be avoided in the adjacent channels of the channel corresponding to the region ID; the controller is configured to: in response to the start operation, determine a plurality of channels to be avoided based on the channel avoidance identifier included in the scanned region ID; and determine the channel with the least interference among the available channels other than the plurality of channels to be avoided as the target channel.

[0007] In some embodiments of this application, there is spectrum overlap between adjacent channels in the 2.4GHz band. In high-density residential multi-device dense networking scenarios, adjacent channels are reused extensively, which can easily lead to crosstalk between adjacent channels and cause adjacent channel interference. In some embodiments of this application, when performing channel screening, the region ID of the neighboring network is scanned, and the channel used by the neighboring network and the avoidance channel identifier are determined by parsing the region ID. The channel used by the neighboring network and the adjacent channel indicated by the avoidance channel identifier are all identified as channels to be avoided. During screening, these channels to be avoided are excluded, and the channel with the least interference is selected from the remaining channels as the target channel. In this way, crosstalk and interference problems caused by reusing channels of other networks or adjacent channels can be avoided, and the risk of crosstalk can be further reduced.

[0008] In some embodiments of this application, the area ID further includes a multi-channel identifier, which is used to indicate whether the corresponding area ID is a main channel ID or a sub-channel ID; the controller is configured to: when the target wireless network is a multi-channel aggregation network, filter out multiple channels with interference strength less than or equal to an interference threshold from the available channels, the multiple channels including the target channel, the multiple channels being used by the network master control device to establish the multi-channel aggregation network with at least one network sub-device; generate multiple area IDs based on the channel identifiers of the multiple channels and the target network identifier, the multiple area IDs including the target area ID and at least one other area ID, the multi-channel identifier included in the target area ID indicating that the target area ID is a main channel ID, and the multi-channel identifier included in the other area ID indicating that the corresponding other area ID is a sub-channel ID.

[0009] In some embodiments of this application, since the area ID binds the network identifier and the channel identifier, there will be multiple area IDs for multi-channel aggregation scenarios. In this case, it is impossible to distinguish between the main channel ID and the sub-channel ID. Therefore, by setting a multi-channel identifier in the area ID, it is possible to distinguish which of the multiple area IDs included in the multi-channel aggregation network scenario is the main channel ID and which is the sub-channel ID, so as to achieve unified management and precise isolation of multi-channel devices.

[0010] In some embodiments of this application, the controller is configured to generate a target network identifier that is different from the network identifier included in the scanned region ID before generating the target region ID based on the target channel identifier and the target network identifier of the target channel.

[0011] In some embodiments of this application, since the network identifier is a unique identifier that distinguishes different networks, the existing area ID is scanned and a target network identifier that is different from the network identifier included in the existing area ID is generated. Then, the target network identifier and the target channel identifier are bound to generate the target area ID. Through the identification and dynamic generation mechanism of the network identifier, regional-level device isolation is achieved. Compared with simple password or network identifier differentiation methods, the data isolation effect is more accurate and effectively prevents cross-regional data crosstalk.

[0012] In some embodiments of this application, the controller is further configured to: after establishing the target wireless network, and under the condition that the target conditions are met, select a first channel from the available channels whose interference intensity is less than or equal to an interference threshold; generate a first area ID based on the first channel; push the first area ID to the network sub-devices corresponding to the target wireless network to re-establish the wireless network based on the first area ID; wherein the target conditions include at least one of the following: the target indicator of the target channel is greater than the corresponding indicator threshold, and the target indicator includes at least one of the following: interference intensity, data transmission error rate, channel occupancy rate; the current time is a preset time for area ID update; the current time is a periodic update time for area ID; the number of newly added network sub-devices is greater than or equal to a first quantity threshold; the channel load of the target channel is greater than or equal to a load threshold; and receive a trigger operation from the user to update the area ID.

[0013] In some embodiments of this application, after establishing a network, a new first channel with interference intensity less than or equal to the interference threshold can be obtained when the target conditions are met (periodic / on-demand triggering, quantitative indicator triggering, and scenario-based triggering). A new first area ID is generated based on the first channel, and the first area ID is actively pushed to all networked devices to achieve synchronous updates of channel and area IDs. This allows the network master control device to accurately identify channel status changes, promptly filter channels with less interference, and generate new area IDs. This can solve the pain point of related technologies that "have fixed configurations after initialization and cannot cope with subsequent interference changes."

[0014] In some embodiments of this application, the networking sub-devices corresponding to the target wireless network include multiple types of networking sub-devices, with different types corresponding to different push methods. The controller is also configured to push the first area ID to the networking sub-device of the target type through the target push method corresponding to the target type.

[0015] In some embodiments of this application, new area IDs are pushed using different push methods based on the device type to which different network sub-devices belong. This achieves the update of area IDs and can improve the timeliness and success rate of area ID push.

[0016] In some embodiments of this application, the controller is further configured to: display a push record table and push progress of the network sub-devices corresponding to the target wireless network, the push record table including the push status of each network sub-device, the push status including any of the following: waiting to push, pushing, push successful, re-pushing, push error; the push progress is used to indicate the ratio of the number of network sub-devices that have been successfully pushed to the total number of network sub-devices corresponding to the target wireless network; for the first network sub-device with a push status of push error, remotely wake up the first network sub-device in response to the user's operation and / or re-push the first area ID to the first network sub-device.

[0017] In some embodiments of this application, in scenarios involving large homes or multi-device networking, some devices may fail to receive new area IDs due to weak signals or sleep mode. Therefore, by re-pushing after a failed push and by using a visual progress feedback mechanism (displaying the push record table and push progress), the success rate of area ID updates can be improved, as well as the stability and user experience of area ID push.

[0018] In some embodiments of this application, the controller is further configured to: within a preset time period, perform network communication with network sub-devices in the target wireless network that have not completed area ID updates based on the target area ID, and perform network communication with network sub-devices in the target wireless network that have completed area ID updates based on the first area ID; after the preset time period, broadcast first indication information, the first indication information being used to indicate that the target area ID has expired, so that network communication can be performed with network sub-devices in the target wireless network based on the first area ID; In some embodiments of this application, in order to prevent some devices from failing to push the new area ID, experiencing push anomalies, or experiencing network interruptions after the new area ID is pushed, a dual area ID transition mechanism is used to achieve a smooth transition, ensure the continuity of the network, and avoid device loss of control due to area ID updates.

[0019] In some embodiments of this application, the controller is further configured to: after a preset time period, if the number of network sub-devices in the target wireless network whose area ID update fails is greater than or equal to a second quantity threshold, or if the area ID update of a network sub-device belonging to the first type in the target wireless network fails, broadcast second indication information. The second indication information is used to indicate that the first area ID is invalid and the target area ID is valid, so that network communication can be performed with the network sub-devices in the target wireless network based on the target area ID.

[0020] In some embodiments of this application, after a preset time period, if the number of network sub-devices in the target wireless network that have failed to update their area IDs is greater than or equal to a second quantity threshold, or if the area ID update of a network sub-device belonging to the first type in the target wireless network fails, an indication message indicating that the first area ID is invalid and the target area ID is valid is broadcast. In this way, the stability of the network can be guaranteed through the abnormal rollback mechanism.

[0021] Secondly, some embodiments of this application provide a networking sub-device, including: a controller configured to: obtain a target networking identifier output by a networking master device based on user operation, the target networking identifier being used by the networking master device to generate a target area ID based on a target channel identifier and the target network identifier, the target channel being a target channel selected by the networking master device from available channels in response to a wireless networking function startup operation, the target network identifier being used to indicate a wireless network created by the networking master device; obtain the target area ID including the target network identifier from at least one scanned area ID; and establish a target wireless network with the networking master device based on the target channel indicated by the target channel identifier included in the target area ID.

[0022] Thirdly, some embodiments of this application provide a wireless network establishment method applied to a network master control device, comprising: in response to a wireless network function activation operation, filtering out target channels with interference strength less than or equal to an interference threshold from available channels; generating a target area ID based on a target channel identifier and a target network identifier of the target channel, the target network identifier being used to indicate the wireless network created by the network master control device; broadcasting the target area ID; and outputting the target network identifier so that at least one network sub-device obtains the target network identifier based on user operation, obtains a target area ID including the target network identifier from at least one scanned area ID, and the target channel indicated by the target channel identifier included in the target area ID, and establishes a target wireless network with the network master control device.

[0023] Fourthly, some embodiments of this application provide a wireless network establishment method applied to a network sub-device, comprising: obtaining a target network identifier output by a network master control device based on user operation; the target network identifier being used by the network master control device to generate a target area ID based on a target channel identifier and the target network identifier; the target channel being a target channel selected by the network master control device from available channels in response to a wireless network function activation operation, wherein the interference strength is less than or equal to an interference threshold; and the target network identifier being used to indicate the wireless network created by the network master control device; obtaining the target area ID including the target network identifier from at least one scanned area ID; and establishing a target wireless network with the network master control device based on the target channel indicated by the target channel identifier included in the target area ID.

[0024] Fifthly, some embodiments of this application provide a computer-readable storage medium, including: storing a computer program on the computer-readable storage medium, wherein when the computer program is executed by a processor, it implements the wireless network establishment method as shown in the second aspect.

[0025] In a sixth aspect, some embodiments of this application provide a computer program product, including: when the computer program product is run on a computer, causing the computer to implement the wireless network establishment method as shown in the second aspect. Attached Figure Description

[0026] To more clearly illustrate the implementation methods in some embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0027] Figure 1 This illustrates a networking scenario between a networking master control device and networking sub-devices according to some embodiments; Figure 2 A schematic diagram of a wireless network establishment process according to some embodiments is shown; Figure 3 One of the flowcharts for establishing a wireless network according to some embodiments is shown; Figure 4 A flowchart illustrating a wireless network establishment method according to some embodiments is shown; Figure 5 The third flowchart illustrates a wireless network establishment method according to some embodiments; Figure 6 A fourth schematic flowchart of a wireless network establishment method according to some embodiments is shown; Figure 7The fifth of several schematic flowcharts illustrating a wireless network establishment method according to some embodiments is shown. Figure 8 A flowchart illustrating a wireless network establishment method according to some embodiments is shown in diagram six. Figure 9 A flowchart of a wireless network establishment method according to some embodiments is shown as diagram seven; Figure 10 This is shown as the eighth flowchart of a wireless network establishment method according to some embodiments. Detailed Implementation

[0028] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0029] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0030] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0031] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0032] With the rapid development of smart home technology, more and more families are adopting wireless control devices to achieve intelligent management of home appliances (such as central air conditioning). Wireless networking has become the mainstream method due to its advantages such as no wiring required and convenient installation. Currently, mainstream smart home LAN networking technologies include Bluetooth Mesh, Zigbee, and ESP-MESH. Although these technologies can achieve wireless interconnection between devices, there are still pain points in high-density residential environments: 1. Channel Interference Issues: Most smart home wireless devices use common frequency bands such as 2.4GHz. When similar devices in neighboring homes are networking, channel conflicts can easily occur, leading to network failures, data transmission delays, or data loss. Even if some technologies have a certain degree of anti-interference capability, they are mostly passive interference avoidance mechanisms and have not formed an active channel optimization mechanism.

[0033] 2. Data crosstalk risk: Most networking technologies distinguish devices through simple passwords or network identifiers. When the device models are the same and the networking protocols are the same, there is a risk of neighboring household devices being mistakenly connected and data crosstalk, which may lead to security problems. This is especially true for devices such as central air conditioning that involve home energy management, where data crosstalk may cause control commands to fail and energy consumption statistics to be incorrect.

[0034] 3. Poor network compatibility: Different types of smart home control devices differ in their interfaces and interaction methods (e.g., some devices have screens for input, some only support wireless communication, and some have no interactive interface at all). The lack of a unified and flexible network access configuration scheme for related networking methods leads to complex user operation and limited compatibility.

[0035] 4. Inadequate authentication mechanism: Some networking technologies support open network access mode, but lack accurate device screening and authentication processes, which can easily lead to unauthorized devices accessing the network, affecting network stability and security.

[0036] In summary, existing smart home wireless networking technologies have shortcomings in terms of anti-interference capabilities, data isolation, device compatibility, and security authentication. There is an urgent need for a technical solution that can proactively avoid interference from neighboring households and achieve precise networking and security management.

[0037] The wireless networking establishment method provided in some embodiments of this application can be applied not only to home scenarios, but also to various indoor wireless control scenarios with high density, strong interference, and multi-area isolation requirements, such as residential communities, hotel rooms, office buildings, shopping malls, hospital wards, school dormitories, industrial parks, and centralized apartments. It has strong versatility and scenario scalability.

[0038] Figure 1 This is a schematic diagram illustrating a networking scenario between a network master control device and network sub-devices according to the embodiment. It includes a network master control device 100, at least one network sub-device 200 wirelessly connected to the network master control device, and may also include a smart device 300 and an infrared remote control device 400. It may also include a bus configuration device for adapting wired interface devices, which is not shown in the figure.

[0039] The network master control device 100 can be a network control device that meets the requirements of continuous power supply and sufficient processing capacity, such as a gateway with a screen, a central control screen, or a wired controller. The network master control device 100 can be composed of one or more network control devices, and there is no limitation here. The network master control device 100 has functions such as wireless channel search, area ID generation and update, network identifier display, device scanning, and authentication and control.

[0040] Among them, the networking sub-device 200 can not only be used for air conditioning-related equipment, but can also be extended to various smart home devices, including fresh air controllers, floor heating controllers, lighting switches, curtain controllers, smart sockets, sensors, bathroom heaters, air purifiers, dehumidifiers and various smart home appliances with wireless communication capabilities, and has a wide range of device compatibility and scenario applicability.

[0041] In some embodiments of this application, the networking sub-device 200 is described as an air conditioner controller. The air conditioner controller can encompass various types: controllers with numeric keypads, controllers with displays but no keypads, controllers with Bluetooth modules, controllers with infrared receiver modules, controllers with 485 interfaces, controllers with microphones, and controllers without displays or buttons (e.g., controllers with DIP switches).

[0042] Among them, the intelligent device 300 is an auxiliary control terminal for wireless networking, which can be used for displaying or inputting network identifiers. The intelligent device 300 can be a mobile phone, television, computer, etc., and is not limited here.

[0043] Among them, the infrared remote control device 400 can be an auxiliary input device, such as an infrared remote controller, used to assist in inputting the network identifier for devices with infrared receiving modules.

[0044] Some embodiments of this application provide a networking master control device, including: a controller configured to: in response to a wireless networking function activation operation, filter out target channels from available channels with interference intensity less than or equal to an interference threshold.

[0045] During the network initialization phase, the network master control device performs a full-range search of all available wireless channels and filters out target channels with interference intensity less than or equal to the interference threshold through signal strength detection, interference source identification, and other methods.

[0046] Interference intensity refers to the degree of interference the channel experiences from external signals. The interference threshold can be determined based on actual conditions and is not limited here. The interference threshold can be 60 dBm. In some embodiments of this application, the channel with the least interference among channels with interference intensity less than or equal to the interference threshold can be selected as the target channel. The channel with the least interference refers to the channel with the lowest degree of interference from external signals.

[0047] For example, the target channel can be a channel with an interference intensity of less than 60 dBm.

[0048] In some embodiments of this application, multiple channels with interference intensity less than or equal to the interference threshold can be selected from the available channels, and then the channel with the highest cleanliness can be selected from these multiple channels. Highest cleanliness emphasizes a clean overall channel environment, low noise floor, high idle rate, and optimal quality. Minimal interference is one of the important foundations for highest cleanliness; highest cleanliness is a comprehensive evaluation result of channel quality, including interference level.

[0049] In some embodiments of this application, artificial intelligence (AI) anti-interference algorithms can be combined with historical interference data and real-time channel status to filter out target channels with interference intensity less than or equal to the interference threshold from the available channels, thereby improving the accuracy of channel selection.

[0050] In some embodiments of this application, AI can learn the patterns and spectra of interference, and train a model based on historical interference data and historical channel state data to achieve dynamic channel avoidance and selection. Then, the trained model can dynamically predict interference and select accurate channels based on the current real-time channel state.

[0051] The input data for real-time channel status can include the signal strength, number of channels, bandwidth (the peak and average values ​​of the signal), and interference source identification information (including the approximate location and source of the interference source (such as WiFi, Bluetooth, etc.)). The more information there is, the better it is for AI recognition and information fusion.

[0052] For example, taking the main control device of the network as a gateway with a screen and the sub-device of the network as an air conditioner controller, when the user starts the networking function of the gateway with a screen, the gateway performs a full-range search of all available wireless channels in the 2.4GHz band. By detecting the signal interference strength of each channel (such as excluding channels occupied by interference sources such as microwave ovens and neighbor Wi-Fi), the gateway filters out the target channel corresponding to the central air conditioner controller whose interference strength is less than or equal to the interference threshold.

[0053] In some embodiments of this application, the controller is further configured to generate a target area ID based on the target channel identifier and the target network identifier of the target channel, wherein the target network identifier is used to indicate the wireless network created by the network master control device.

[0054] The target channel identifier is used to indicate the target channel.

[0055] The target network identifier can be the scene identifier corresponding to the network scenario. For example, if the network scenario is a home scenario, then the target network identifier is the home identifier.

[0056] In some embodiments of this application, the target network identifier is a unique identifier that indicates the creation of the network master control device. If the network scenario is a home scenario, the target network identifier can be a unique home identifier.

[0057] In some embodiments of this application, the target network identifier can be preset, such as a unique identifier corresponding to the network master control device, with different network master control devices corresponding to different network identifiers; the target network identifier can also be generated in real time, such as the network master control device can randomly generate the target network identifier based on a random algorithm, or it can generate the target network identifier by performing calculations on the preset identifier (which can be a unique device representation) using a preset algorithm (which can be an encryption algorithm); the specific determination can be made according to the actual situation, and is not limited here.

[0058] Both the target channel identifier and the target network identifier can be one or more digit identifiers.

[0059] The target area ID may also include other identifiers, such as device type identifiers. For example, for a wireless network corresponding to a specific type of device, the target area ID includes the device type identifier.

[0060] In some embodiments of this application, the networking master control device further includes a communicator configured to broadcast the target area ID so that the networking sub-devices to be networked can scan the target area ID.

[0061] In some embodiments of this application, the controller is further configured to: output the target network identifier, so that at least one network sub-device obtains the target network identifier based on user operation, obtains a target area ID including the target network identifier from at least one scanned area ID, and establishes a target wireless network with the network master control device based on the target channel indicated by the target channel identifier included in the target area ID.

[0062] In some embodiments of this application, the network master control device can display the target network identifier itself, or it can display the target network identifier through an APP in a smart device (such as a mobile phone). Alternatively, the target network identifier can be displayed synchronously by the network master control device and the APP in the smart device, so as to facilitate the user's subsequent device network access configuration.

[0063] In some embodiments of this application, the network master control device outputs the target network identifier for user operation and acquisition.

[0064] In some embodiments of this application, the main control device of the network displays the target network identifier so that the user can obtain the target network identifier and control the network sub-devices to obtain the target network identifier.

[0065] In some embodiments of this application, the main network control device outputs the target network identifier to the smart device. The smart device visualizes the target network identifier through an APP in the smart device so that the user can obtain the target network identifier and control the network sub-devices to obtain the target network identifier through user operation.

[0066] In some embodiments of this application, in addition to displaying the target network identifier, the target channel identifier, the type of networkable device, and other device information may also be displayed.

[0067] In some embodiments of this application, when a network sub-device initiates a network request based on a target channel, it may carry a target network identifier or a target area ID (the target area also includes the target network identifier). Since the target network identifiers are different for different networks, the network master control device can verify that the device is under the network to be established (such as the same household), further avoiding interference or crosstalk problems.

[0068] After successful network setup, the network master control device and network sub-devices will broadcast their status to other devices, allowing them to avoid the network. Interactions after successful network setup, such as user control of air conditioning, do not require carrying the target network identifier or target area ID.

[0069] In some embodiments of this application, the networking sub-devices to be networked can establish a network with the main network control device through a directional networking mode or an open networking mode, which can be determined according to the actual situation.

[0070] For example, in some embodiments of this application, multiple forms of directional networking modes are supported. The networking sub-devices to be networked can achieve directional networking by obtaining the target networking identifier. Multiple methods for obtaining the target networking identifier are provided to ensure adaptability, specifically as follows: 1) Devices with numeric keypads: Users manually input the target network identifier via the keypad. After input, the device automatically obtains the target area ID based on the target network identifier and initiates a network request based on the target channel corresponding to the target area ID. 2) Devices that can display but have no input function: After the network access status is triggered, the display screen will show the network identifiers corresponding to the available alternative area IDs in the surrounding area in order of signal strength. The user can select the target network identifier through the device's built-in confirmation key. After selection, the device will automatically complete the channel switching and network formation. 3) Devices with Bluetooth modules: Supports two operation methods. One is to scan the device's Bluetooth signal and establish a temporary connection through the smart device's APP, and then synchronize it to the device after entering the target network identifier in the APP; the other is that after the device enters Bluetooth broadcast mode, it will automatically receive the target network identifier pushed by the smart device's APP without manual input. 4) Devices with infrared receiver modules: compatible with general infrared remote controllers and dedicated infrared configurators. After the user inputs the target network identifier through the infrared remote controller, the device receives and parses the infrared signal. After successful parsing, the device obtains the target network identifier, then obtains the target area ID based on the target network identifier, and initiates a network request based on the target channel corresponding to the target area ID. 5) Devices with wired communication interfaces (485, UART, KNX, etc.): In addition to manually importing the target network identifier through the bus configuration device, the device supports automatic bus synchronization. When the bus configuration device updates the area ID, the new area ID can be automatically pushed to all such devices connected to the bus through the bus broadcast method to achieve batch configuration. 6) Devices with microphones: The smart device app provides two audio encoding modes (standard mode and anti-interference mode). The standard mode is suitable for quiet environments, while the anti-interference mode improves the parsing success rate in noisy environments through audio encryption encoding. The user selects the corresponding mode to generate an audio encoding containing the target network identifier and plays it. The device receives and parses the audio through the microphone. After successful parsing, it obtains the target network identifier, then obtains the target area ID based on the target network identifier, and finally issues a voice prompt (such as "ID configuration successful"). 7) Devices without display or buttons: In addition to inputting the target network identifier by toggling the DIP switch according to preset rules (such as binary or decimal correspondence) using the built-in DIP switch, it supports connecting an external simple configurator (such as a USB interface configurator). After connecting the configurator to the device, input the target network identifier on the small display screen on the configurator. After completion, simply unplug the configurator. This is suitable for professional installation scenarios. 8) Devices with NFC modules: Two configuration modes are provided (read-write mode and read-only mode). Read-write mode is suitable for devices whose NFC supports reading and writing. The user brings the smart device (with NFC function enabled) that has stored the target network identifier close to the device's NFC sensing area. The target network identifier is written into the device's NFC by collecting NFC data. The device then parses and completes the network formation. Read-only mode is suitable for devices whose NFC is a read-only tag. The device's address is quickly read by collecting NFC data, and the address ID is bound to the target network identifier. The gateway is then notified to enable network access for the corresponding device address ID.

[0071] In some embodiments of this application, an open networking mode is also supported. Open network access is supported. When a device triggers a network access state (e.g., three intermittent power-ups, a 3-second long press of the device reset button), the network control device or the smart device's app will automatically scan and display a list of all networkable devices within the current range. The list includes device model, MAC address, signal strength, and other information for user selection. Devices without input functions (no buttons, no DIP switches, etc.) (i.e., devices unable to obtain the target area ID and unable to perform targeted networking) are only suitable for this mode.

[0072] Whether using targeted networking or open networking, an authentication process is required: users select the devices that need to access the network from the list of networkable devices displayed in the app of the network control device or smart device and confirm. The system only allows the selected devices to access the network, and unselected devices cannot complete the networking, ensuring network security and stability.

[0073] In the smart device's app, users select all networkable sub-devices (including devices configured for targeted networking and those scanned for open networking) from the list of networkable devices, and click "Confirm Networking." The system only allows the selected devices to access the network, completing the networking process. After networking, all controllers transmit data through the target channel, and because the network identifier is unique, it will not interfere with or cause data crosstalk with devices in adjacent networks (such as neighboring households in a home networking scenario).

[0074] In some embodiments of this application, a multi-mode directional networking adaptation scheme is adopted to cover various wireless control devices in different scenarios such as home, commercial, and professional installation. The operational logic and verification feedback mechanism for each mode are refined, completely solving the problems of poor adaptability and complex operation of existing networking technologies. Furthermore, by integrating "directional + open" dual networking modes, combining the precision of directional networking with the convenience of open networking, users can choose the networking mode according to their actual needs. Coupled with a unified authentication and control process, this ensures networking flexibility while avoiding security risks associated with unauthorized device access.

[0075] In some embodiments of this application, in addition to selecting target channels with low interference intensity during the network initialization phase, the network master control device also generates a unique target area ID by binding the target network identifier, which uniquely indicates the wireless network created by the network master control device, with the target channel identifier of the selected target channel. During the network establishment process, the network master control device broadcasts the target area ID and outputs the target network identifier. Only after the network sub-devices obtain the target network identifier based on user operation, match the target area ID corresponding to the target network identifier from at least one scanned area ID, and determine the target channel from the target area ID, can they establish a target wireless network with the network master control device based on the target channel. In this way, by binding the target network identifier with the target channel identifier to generate the target area ID, the network sub-devices cannot obtain the target area ID without obtaining a unique network identifier, and therefore cannot join the target network based on the target channel. Thus, effective domain isolation is achieved through the target network identifier, realizing isolation between different networks, such as home-level isolation. This can avoid the problem of devices mis-networking due to cross-household wireless signal interference, which could lead to cross-control of device commands from different households.

[0076] In some embodiments of this application, the region ID further includes a channel avoidance identifier, which is used to indicate the channel corresponding to the region ID and the channel to be avoided in the adjacent channels of the channel corresponding to the region ID; the controller is configured to: in response to the start operation, determine a plurality of channels to be avoided based on the channel avoidance identifier included in the scanned region ID; and determine the channel with the least interference among the available channels other than the plurality of channels to be avoided as the target channel.

[0077] It should be noted that after responding to the startup operation and before determining the channel to be avoided, the network master control device first scans the existing area IDs, that is, scans the area IDs broadcast by other networks, so as to determine whether there are channels that need to be avoided based on the scanned area IDs.

[0078] It is understood that in some embodiments of this application, to address the problem of signal overlap and interference between adjacent channels in high-density networking scenarios (such as high-density residential buildings), a channel avoidance flag (also known as an adjacent channel avoidance flag) is added to the encoding rules of the area ID. When the network master control device generates the area ID, if the interference intensity corresponding to channels X and Y is less than or equal to the interference threshold, and area ID 1 is detected, the channel identifier included in area ID 1 indicates channel Z, and the channel avoidance flag included in area ID 1 is 1, and channel Y is an adjacent channel of channel Z, then channel Y is a channel that needs to be avoided, and therefore channel Y is excluded. Since channel X is not a channel that needs to be avoided for other area IDs, channel X is selected as the target channel. When the number of channels that need to be avoided in the current protocol is 1, the channel avoidance flag can be set to "1". Thus, when other network master control devices generate a region ID, they detect the target region ID and parse out the channel X corresponding to the target region ID and the channel avoidance flag is "1". Then, when filtering channels, they automatically block the adjacent channels X-1 and X+1 of channel X. This can further reduce the risk of crosstalk.

[0079] Example: If the target channel is channel 6 and the current protocol needs to avoid 1 channel, the adjacent channel avoidance flag in the area ID is set to 1. Channel 6 is the channel to be avoided, and adjacent channels 5 and 7 are also channels to be blocked. After other devices resolve this flag, they cannot use channels 5, 6, and 7 to initiate networking, even if the channel interference intensity is low.

[0080] The number of avoidance channels varies depending on the protocol. For example, the number of avoidance channels differs for protocols such as WiFi, Zigbee, and Bluetooth. The avoidance number is determined based on the specific protocol.

[0081] In some embodiments of this application, there is spectrum overlap between adjacent channels in the 2.4GHz band. In high-density residential multi-device dense networking scenarios, adjacent channels are reused extensively, which can easily lead to crosstalk between adjacent channels and cause adjacent channel interference. In some embodiments of this application, when performing channel screening, the region ID of the neighboring network is scanned, and the channel used by the neighboring network and the avoidance channel identifier are determined by parsing the region ID. The channel used by the neighboring network and the adjacent channel indicated by the avoidance channel identifier are all identified as channels to be avoided. During screening, these channels to be avoided are excluded, and the channel with the least interference is selected from the remaining channels as the target channel. In this way, crosstalk and interference problems caused by reusing channels of other networks or adjacent channels can be avoided, and the risk of crosstalk can be further reduced.

[0082] In some embodiments of this application, the area ID further includes a multi-channel identifier, which is used to indicate whether the corresponding area ID is a main channel ID or a sub-channel ID; the controller is configured to: when the target wireless network is a multi-channel aggregation network, filter out multiple channels with interference strength less than or equal to an interference threshold from the available channels, the multiple channels including the target channel, the multiple channels being used by the network master control device to establish the multi-channel aggregation network with at least one network sub-device; generate multiple area IDs based on the channel identifiers of the multiple channels and the target network identifier, the multiple area IDs including the target area ID and at least one other area ID, the multi-channel identifier included in the target area ID indicating that the target area ID is a main channel ID, and the multi-channel identifier included in the other area ID indicating that the corresponding other area ID is a sub-channel ID.

[0083] It's understandable that for networking scenarios with a large number of devices (such as home scenarios with many devices), in order to reduce channel load, improve communication success rate, and reduce packet loss rate, the system will automatically allocate devices to different channels. For example, some devices may be on one channel, while others may be on another channel, which is a multi-channel aggregation networking scenario. Since multi-channel aggregation networking scenarios include main channels and sub-channels, it is necessary to add multi-channel identifier encoding to the area ID.

[0084] The multi-channel identifier is used to indicate whether it is a primary channel or a sub-channel. The network sub-device uses this identifier to determine the primary channel to use for its networking request. After the network master control device approves the network sub-device's entry into the network, it allocates the necessary communication channels to the sub-device based on channel availability and load conditions, and then notifies the sub-device. The network sub-device can determine whether the interaction channel allocated by the network master control device is a primary channel or a sub-channel based on the multi-channel identifier.

[0085] Among them, the main channel ID and the sub-channel ID use the same network identifier, that is, the network identifier in the multiple area IDs including the target area ID is the target network identifier.

[0086] For example, to address the need for multi-channel aggregation networking in large-scale residential / commercial scenarios (such as multiple central air conditioning controllers belonging to different channels), a multi-channel ID encoding mode is added: the network master control device supports generating a combination code of "master channel ID + sub-channel ID". The channel corresponding to the master channel ID is the core control channel, and the channel corresponding to the sub-channel ID is the communication channel of the subordinate device. The master channel ID and the sub-channel ID are distinguished by the multi-channel identifier bit in the area ID, and the sub-channel ID and the master channel ID share the network identifier, so as to realize the unified management and precise isolation of multi-channel devices.

[0087] Example: The main channel is channel 6 (main channel ID: 061589632410015A), and the sub-channel is 8 (ID: 081589632411025B). The first two bits are the channel identifier, the 3rd to 10th bits are the network identifier, the 11th bit is the channel avoidance identifier, and the 12th bit is the multi-channel identifier. The multi-channel identifier of the main channel ID is 0. The sub-channel ID can be represented as 1~F according to the channel number. The sub-channel ID and the main channel ID share the family unique code 15896324. The network master control device can use this code to realize unified networking and data isolation of the master and slave channel devices.

[0088] In some embodiments of this application, after generating multiple region IDs, only the target region ID can be broadcast, without broadcasting other region IDs (i.e., without broadcasting sub-channel IDs), so that the network master control device and network sub-devices can establish a target network based on the target region ID. Moreover, broadcasting only the target region ID and not the sub-region IDs can reduce channel load and sub-device scanning complexity.

[0089] In some embodiments of this application, after generating multiple region IDs, it is necessary not only to broadcast the target region ID, but also to broadcast the sub-channel IDs (i.e., at least one other region ID) among the multiple region IDs. In this way, the networking sub-device can distinguish whether the scanned region ID is a main channel ID or a sub-channel ID based on the multi-channel identifier; the networking sub-device can also distinguish whether the scanned region ID corresponds to the network to be created by the networking master device, or to the network created by other devices, based on the target networking identifier.

[0090] In some embodiments of this application, after generating multiple region IDs, not only is the target region ID broadcast, but also the sub-channel IDs in the multiple region IDs are broadcast; and when the region ID includes a channel avoidance identifier, the networking sub-device can also determine the channel to be avoided based on the channel avoidance identifier included in the region IDs of other networks scanned, and subsequently, the networking sub-devices of other networks scan the sub-channel IDs corresponding to the target network and determine the channel to be avoided based on the channel avoidance identifier included in the sub-channel IDs.

[0091] In some embodiments of this application, since the area ID binds the network identifier and the channel identifier, there will be multiple area IDs for multi-channel aggregation scenarios. In this case, it is impossible to distinguish between the main channel ID and the sub-channel ID. Therefore, by setting a multi-channel identifier in the area ID, it is possible to distinguish which of the multiple area IDs included in the multi-channel aggregation network scenario is the main channel ID and which is the sub-channel ID, so as to achieve unified management and precise isolation of multi-channel devices.

[0092] In some embodiments of this application, the controller is configured to generate a target network identifier that is different from the network identifier included in the scanned region ID before generating the target region ID based on the target channel identifier and the target network identifier of the target channel.

[0093] In some embodiments of this application, within the target channel and adjacent channel range where the interference intensity is less than or equal to the interference threshold, the area ID (a unique identification code used to identify different homes or regions) used by existing similar device networks is further scanned; based on the scanning results, the area ID is parsed to obtain the network identifier corresponding to the area ID, and then a target network identifier that is different from the network identifier of the scanned area ID is randomly generated, and then the target channel identifier is bound to the target network identifier to generate the target area ID.

[0094] In some embodiments of this application, since the network identifier is a unique identifier that distinguishes different networks, the existing area ID is scanned and a target network identifier that is different from the network identifier included in the existing area ID is generated. Then, the target network identifier and the target channel identifier are bound to generate the target area ID. Through the identification and dynamic generation mechanism of the network identifier, regional-level device isolation is achieved. Compared with simple password or network identifier differentiation methods, the data isolation effect is more accurate and effectively prevents cross-regional data crosstalk.

[0095] In some embodiments of this application, the area ID may also include a channel verification identifier to avoid errors in the area ID transmission process that could lead to device matching errors, thereby improving the accuracy of channel matching.

[0096] When generating a region ID, a channel check identifier can be generated based on the region code (excluding the channel identifier bit) (including at least one of the following: channel identifier, network identifier, channel avoidance identifier, multi-channel identifier, device type identifier, etc.) using a verification algorithm (such as CRC16). This channel check identifier is then set in the channel check bit of the region ID. After scanning a region ID, a network sub-device or network master control device can generate a channel check identifier using the same verification algorithm based on the region code (excluding the channel identifier bit). This identifier is then compared to the channel check identifier in the region ID. If they match, the region ID is correct, and subsequent parsing and matching are performed. If they do not match, the region ID is incorrect, and the incorrect region ID is discarded.

[0097] In some embodiments of this application, the controller is further configured to: after establishing the target wireless network, if the target conditions are met, select a first channel from the available channels whose interference intensity is less than or equal to the interference threshold; generate a first area ID based on the first channel; and push the first area ID to the networking sub-device corresponding to the target wireless network to re-establish the wireless network based on the first area ID.

[0098] The target condition includes at least one of the following: the target indicator of the target channel is greater than the corresponding indicator threshold; the current time is the preset time for the area ID update; the current time is the periodic update time for the area ID; the number of newly added network sub-devices is greater than or equal to the first quantity threshold; the channel load of the target channel is greater than or equal to the load threshold; and a trigger operation to update the area ID by the user is received.

[0099] In some embodiments of this application, the aforementioned target condition may include: the target indicator of the target channel is greater than the corresponding indicator threshold. The target indicator includes at least one of the following: interference intensity, data transmission error rate, and channel occupancy rate. It is understood that the network master control device can monitor the three indicators of interference intensity, data transmission error rate, and channel occupancy rate of the current channel in real time. When any indicator reaches the corresponding indicator threshold, it automatically triggers the optimal channel to be re-selected and a new region ID to be generated. This quantitative indicator-triggered channel and region ID update is the core triggering method in some embodiments of this application. Thus, the optimal channel can be re-selected and the region ID updated according to the channel status, solving the problem that related technologies can only initialize interference avoidance and cannot cope with subsequent interference changes, resulting in a more durable and automatically optimized anti-interference effect.

[0100] For example, when the interference intensity of the target channel exceeds the intensity threshold, the channel and region IDs can be updated. The intensity threshold can be the same as the interference threshold, or it can be different (in which case the intensity threshold is greater than the interference threshold). The intensity threshold can be adaptively adjusted according to the environment; no specific limitation is made here.

[0101] For example, if the data transmission error rate exceeds a certain threshold, the channel and area IDs can be updated. The bit error rate threshold can be determined based on actual conditions and is not limited here; for example, the bit error rate threshold could be 3%.

[0102] For example, if the channel occupancy rate exceeds a threshold, an update of the channel and region IDs can be triggered. The occupancy threshold can be determined based on actual conditions, such as the density of the region; this is not limited here. For instance, the occupancy threshold could be 70%.

[0103] In some embodiments of this application, the current time is the periodic update time of the area ID, that is, setting the periodic triggering of channel and area ID updates can solve the problem that related technologies can only initialize interference avoidance and cannot cope with later interference changes, and the anti-interference effect is more durable and automatically optimized.

[0104] The period for periodic triggering can be determined based on actual usage requirements, and is not limited here.

[0105] For example, the optimization cycle can be set via the smart device's APP or the network master control device, such as once every 24 hours.

[0106] In some embodiments of this application, the aforementioned target condition may include: the current time is a preset time for the area ID update. The preset time is a specific time, such as the time corresponding to peak household electricity or equipment usage. For example, the preset time is 30 minutes before 18:00-22:00 daily (peak household electricity / equipment usage), during which the network master control device automatically re-screens channels and generates a new area ID, thus avoiding peak interference in advance.

[0107] In some embodiments of this application, the aforementioned target conditions may include: the number of newly added network sub-devices being greater than or equal to a first quantity threshold; and / or, the channel load of the target channel being greater than or equal to a load threshold. That is, based on the number of newly added network sub-devices and / or the channel load, it is determined whether to trigger an update of the channel and area ID.

[0108] The first quantity threshold can be determined based on the actual situation and is not limited here. For example, the first quantity threshold is 3.

[0109] The load threshold can be determined based on the actual situation, and is not limited here.

[0110] For example, when the number of newly added network sub-devices is ≥3, the network master control device can re-evaluate the channel load. If the load exceeds the load threshold, it can filter out channels with less channel interference and generate new area IDs, thus ensuring network stability.

[0111] Among them, the target conditions mentioned above include the current time being the preset time for the area ID update, the number of newly added network sub-devices being greater than or equal to the first quantity threshold, and the channel load of the target channel being greater than or equal to the load threshold. All of these are scenario-based triggering methods for updating the channel and area ID (referred to as scenario-based triggering).

[0112] In some embodiments of this application, the provided quantitative indicator triggering + scenario-based triggering allows the network master control device to accurately identify the channel interference status, promptly filter channels with less interference and generate new area IDs, thus avoiding invalid updates and untimely updates.

[0113] In some embodiments of this application, the aforementioned target conditions may further include receiving a trigger operation to update the region ID from a user. That is, the user manually triggers the update of the channel and region ID. For example, the smart device's APP or the network master control device includes a local manual update button, allowing users to actively trigger the update of the channel and region ID based on their user experience, thus adapting to personalized needs.

[0114] In some embodiments of this application, when the data transmission success rate is detected to be lower than the success rate threshold (e.g., 95%), or the delay is higher than the delay threshold (e.g., 500ms), the channel and area ID can be updated.

[0115] In some embodiments of this application, the channel and area ID update process is consistent with the channel retrieval and filtering and area ID generation logic in the network initialization phase, and will not be described in detail here.

[0116] In some embodiments of this application, after the network master control device regenerates the first area ID including the channel identifier of the first channel, it can automatically synchronize the first area ID to all networked sub-devices through the original device communication link (without requiring the user to manually re-enter it). After receiving the ID, the networked sub-devices automatically switch to the new optimal channel (the first channel) for data transmission, thereby realizing dynamic anti-interference optimization of the channel after networking and further ensuring the long-term stable operation of the network.

[0117] In some embodiments of this application, after establishing a network, a new first channel with interference intensity less than or equal to the interference threshold can be obtained when the target conditions are met (periodic / on-demand triggering, quantitative indicator triggering, and scenario-based triggering). A new first area ID is generated based on the first channel, and the first area ID is actively pushed to all networked devices to achieve synchronous updates of channel and area IDs. This allows the network master control device to accurately identify channel status changes, promptly filter channels with less interference, and generate new area IDs. This can solve the pain point of related technologies that "have fixed configurations after initialization and cannot cope with subsequent interference changes."

[0118] In some embodiments of this application, the networking sub-devices corresponding to the target wireless network include multiple types of networking sub-devices, with different types corresponding to different push methods. The controller is also configured to push the first area ID to the networking sub-device of the target type through the target push method corresponding to the target type.

[0119] The target type can be any of several types, and the target push method is the push method that corresponds to the target type among several push methods.

[0120] In this context, all network sub-devices can be divided into various types according to actual usage needs. The types and number of these types are not limited here.

[0121] In some embodiments of this application, a hierarchical push mechanism (i.e., multi-level push method) is added to address the differences in communication capabilities and power consumption requirements of different devices in the network (e.g., the strong communication capability of the screen gateway and the weak communication capability of the low-power sensor) to avoid the overall update failure caused by the communication failure of a single device, while reducing the power consumption of low-power devices.

[0122] For example, the types may include core device type, general device type and low power device type.

[0123] Among them, core device types can include gateways with screens (excluding the network master control device), smart device apps, and bus configuration devices. These devices have strong communication capabilities and no strict power consumption restrictions. They can correspond to a first-level push method, i.e., a core device priority push method. After the network master control device generates a new area ID, it first pushes it to the core device type network sub-devices via the first-level push method. Upon receiving the area ID, the corresponding network sub-device immediately returns an acknowledgment command. The network master control device then triggers a second-level push method to ensure the synchronization of area IDs at the core control layer.

[0124] Among them, conventional equipment types can include central air conditioning controllers, infrared remote controls, etc. These devices are the main force in the network and adopt a broadcast + confirmation batch push method, i.e., a two-level push method. The network master control device broadcasts the new area ID through the existing communication link. After receiving the area ID, the conventional equipment type network sub-devices immediately return an acknowledgment command. For network sub-devices that do not receive an acknowledgment command, the network master control device performs a single re-push.

[0125] Low-power devices include temperature and humidity sensors, door and window sensors, etc. These devices are mostly in sleep mode. The network master control device adopts a three-level push method of timed wake-up + unicast push. The network master control device unicasts the new area ID during the wake-up period of the low-power device sub-devices. After the push is completed, the device immediately returns to sleep mode to avoid wasting power.

[0126] In some embodiments of this application, new area IDs are pushed using different push methods based on the device type to which different network sub-devices belong. This achieves the update of area IDs and can improve the timeliness and success rate of area ID push.

[0127] In some embodiments of this application, the controller is further configured to: display a push record table and push progress of the network sub-devices corresponding to the target wireless network, the push record table including the push status of each network sub-device, the push status including any of the following: waiting to push, pushing, push successful, re-pushing, push error; the push progress is used to indicate the ratio of the number of network sub-devices that have been successfully pushed to the total number of network sub-devices corresponding to the target wireless network; for the first network sub-device with a push status of push error, remotely wake up the first network sub-device in response to the user's operation and / or re-push the first area ID to the first network sub-device.

[0128] Among them, "Waiting for Push" means the push has not yet been sent and is waiting to be sent. "Pushing" means the push has already started. "Re-pushing" means the push has restarted after a failed push. "Push Abnormal" indicates that a preset number of push failures suggest an abnormality in the push process.

[0129] The network master control device can establish a push record table for the push status of the area ID, recording the push status of each network sub-device. For devices that fail to push, the gateway will re-push a preset number of times at different time intervals within a certain period of time (e.g., three re-pushes within 24 hours at a gradient of 10 minutes / 30 minutes / 1 hour). If the push still fails after the preset number of times, the device will be marked as "push abnormal" and an alert will be triggered to notify the network master control device that the network sub-device is in a push abnormal state.

[0130] A new region ID update progress bar can be added to the interface of the network master control device and / or the APP of the smart device to display the push progress. Specifically, it can display the "ratio of the number of devices successfully pushed to the total number of devices" in real time, and mark the name and location of the update failure device. Users can remotely wake up the failure device or manually trigger a re-push through the smart device APP to achieve visual management and control of the update process.

[0131] In some embodiments of this application, for the problem that some devices may fail to receive new area IDs due to weak signals or sleep mode in large-scale housing or multi-device networking scenarios, the success rate of area ID updates can be improved by re-pushing after push failure and by a visual progress feedback mechanism (displaying the push record table and push progress). This can improve the stability of area ID push and the user experience.

[0132] In some embodiments of this application, the controller is further configured to: within a preset time period, perform network communication with network sub-devices in the target wireless network that have not completed area ID updates based on the target area ID, and perform network communication with network sub-devices in the target wireless network that have completed area ID updates based on the first area ID; after the preset time period, broadcast first indication information, the first indication information being used to indicate that the target area ID has expired, so that network communication can be performed with network sub-devices in the target wireless network based on the first area ID; It is understandable that after the network master control device generates a new area ID (such as the first area ID), it does not immediately abolish the old area ID (such as the target area ID). Instead, it sets up a dual area ID transition mechanism, that is, it sets a preset effective window period for dual area IDs. During the window period, the network master control device supports communication with network sub-devices based on the old area ID as well as communication based on the new area ID. After all devices have confirmed that they have received the new ID, the network master control device abolishes the old area ID through a broadcast command to achieve a smooth transition.

[0133] For example, network sub-devices that have completed the area ID update communicate with the network master control device through the new area ID (currently, they can also communicate through the old area ID), while network sub-devices that have not completed the area ID update communicate with the network master control device through the old area ID.

[0134] In some embodiments of this application, in order to prevent some devices from failing to push the new area ID, experiencing push anomalies, or experiencing network interruptions after the new area ID is pushed, a dual area ID transition mechanism is used to achieve a smooth transition, ensure the continuity of the network, and avoid device loss of control due to area ID updates.

[0135] In some embodiments of this application, the controller is further configured to: after a preset time period, if the number of network sub-devices in the target wireless network whose area ID update fails is greater than or equal to a second quantity threshold, or if the area ID update of a network sub-device belonging to the first type in the target wireless network fails, broadcast second indication information. The second indication information is used to indicate that the first area ID is invalid and the target area ID is valid, so that network communication can be performed with the network sub-devices in the target wireless network based on the target area ID.

[0136] The second quantity threshold can be determined based on the actual situation and is not limited here. For example, the second quantity threshold could be 20%.

[0137] The first type can be any of several types, and can be determined according to the actual situation; no limitation is made here. For example, the first type is the core equipment type.

[0138] It is understandable that if, within the window period (preset duration) of the dual-region ID transition mechanism, the number of network sub-devices with abnormal region ID push is greater than or equal to the second quantity threshold, or if the region ID update of the first type of network sub-device (such as a screen-equipped gateway) fails, the gateway will automatically trigger an abnormal rollback, that is, immediately broadcast the instruction "abolish the new region ID and restore the old region ID", and all devices will be restored to the original region ID and channel communication. At the same time, an abnormal reminder will pop up in the APP of the network master control device and / or smart device, informing the user that "the update failed and it is recommended to check the environment and re-trigger".

[0139] In some embodiments of this application, after a preset time period, if the number of network sub-devices in the target wireless network that have failed to update their area IDs is greater than or equal to a second quantity threshold, or if the area ID update of a network sub-device belonging to the first type in the target wireless network fails, an indication message indicating that the first area ID is invalid and the target area ID is valid is broadcast. In this way, the stability of the network can be guaranteed through the abnormal rollback mechanism.

[0140] In some embodiments of this application, a compatibility scheme for cross-version device area IDs is also provided. Specifically, for situations where there are older version devices in the network (due to version updates of network sub-devices, older version network sub-devices do not support area IDs including channel identifiers), a compatibility coding mode is added. When the network master control device generates a new area ID, it automatically generates a "compatible area ID without channel identifier" for the older version devices. The compatible area ID and the new area ID share a unique network identifier (such as a unique home identifier), ensuring that older devices can access the network normally. At the same time, the device type code distinguishes between new and old devices, and the original channel negotiation method is used separately for older devices, without affecting the overall network optimization effect.

[0141] In some embodiments of this application, an encrypted transmission mechanism for pushing the new area ID is supported. To prevent the new area ID from being intercepted or tampered with during the push process, leading to channel information leakage and unauthorized device access to the network, an encrypted transmission scheme for the new area ID is supplemented to enhance the security of the dynamic update process. After the network master control device generates the new area ID, it encrypts the new area ID using the device's unique communication key (such as using an encryption algorithm like AES-128), and then pushes it through the existing communication link. After receiving the new area ID, the network sub-devices need to decrypt it using their own keys to obtain the new area ID.

[0142] In some embodiments of this application, a one-time random verification code can be added during the encrypted push process. The verification code is randomly generated by the network master control device and encrypted and pushed together with the new area ID. After the device decrypts the code, it needs to return the verification code to the network master control device. Only after the network master control device verifies that the new area ID of the network sub-device has been successfully received can it be confirmed that the new area ID has been successfully received, so as to prevent the forgery of the confirmation instruction confirming that the new area ID has been received.

[0143] In some embodiments of this application, a fixed-length segmented encoding structure is used to encode the region ID. (The number of bits can also be extended according to the device communication protocol). The specific encoding structure is: bit information identifier bit + network identifier bit + channel avoidance identifier bit + multi-channel identifier bit + device type identifier bit + check code bit. This can balance channel information transmission, uniqueness guarantee and transmission efficiency.

[0144] For example, the total encoding length of the area ID is set to 16 bits, including: 2 channel identifier bits, 8 network identifier bits, 1 channel avoidance identifier bit, 1 multi-channel identifier bit, 2 device type identifier bits, and 2 checksum bits. Specifically, the 2 channel identifier bits are used to set the channel identifier, the 8 network identifier bits are used to set the network identifier, the 1 avoidance identifier bit is used to set the channel avoidance identifier, the 1 multi-channel identifier bit is used to set the multi-channel identifier, the 2 device type identifier bits are used to set the device type identifier, and the 2 checksum bits are used to set the checksum.

[0145] For example, if the target channel is 6, the network identifier (such as the unique home code) is 15896324, the channel avoidance flag is 1, the multi-channel flag is 0, the central air conditioning controller device type identifier is 01, and the checksum is 5A, then the area ID is 061589632410015A. The target channel can be determined as channel 6 by parsing the first two digits "06" of the network sub-device.

[0146] In some embodiments of this application, by means of... Figure 2The network establishment process shown, along with the inheritance of partial coding information from the old area ID through the new area ID, the synchronization of area ID updates and channel switching, and the management of historical area ID records, can form a closed loop of "initial binding - dynamic update - continuous adaptation". The following supplements the details of their collaborative optimization to enhance the overall technical effect: The new area ID inherits some coding information from the old area ID: When generating a new area ID later, the network identifier, device type identifier, channel avoidance identifier, and multi-channel identifier of the new area ID are consistent with those of the old area ID. Only the channel identifier and check code are updated, allowing the device to quickly identify the new area ID as the network code of the same network without having to re-authenticate whether it is the same network, thus improving update efficiency.

[0147] Synchronization of Area ID Update and Channel Switching: After receiving the new area ID, the network sub-devices obtain the new channel through parsing and automatically switch to the new channel. The network master control device then officially enables the new area ID for data transmission after detecting that all network sub-devices have completed channel switching, thus achieving seamless connection between "area ID update and channel switching" without data transmission interruption.

[0148] Historical management of area IDs: The network master control device and the smart device's APP establish an area ID historical record table to record area ID changes within a predetermined period (such as the last 6 months) before the current time (including change time, original / new channel, and reason for change). When a network failure occurs, users can roll back to the most recent normal area ID and channel through the historical record to quickly troubleshoot the problem.

[0149] In some embodiments of this application, by setting a hierarchical coding structure and an adjacent channel anti-collision design (channel avoidance identifier), the binding of the area ID with the channel identifier and the network identifier is made more accurate. The quantized triggering condition for dynamic updating of the area ID makes channel optimization more timely, and the channel bit error rate can be reduced by more than 15% on the original basis. The data transmission success rate is increased to more than 98%, thereby further enhancing the anti-interference capability.

[0150] In some embodiments of this application, absolute data isolation settings such as unique encoding structure, encrypted push, and inheritance of ID information regardless of region are used to reduce cross-family crosstalk rate, prevent interception and tampering during the transmission of new IDs, and reduce the risk of unauthorized access.

[0151] In some embodiments of this application, through the design of hierarchical push, low-power device adaptation, and compatibility with old devices, more than 8 types of smart home devices can be covered, adapting to large and small residential homes and small commercial office scenarios, and improving the success rate of network updates to over 99%, thereby enhancing device compatibility and network stability.

[0152] In some embodiments of this application, visual progress feedback, manual triggering, and historical record management allow users to intuitively control the region ID update process, while an abnormal rollback mechanism prevents device loss of control due to updates, further reducing operational complexity.

[0153] Some embodiments of this application provide a networking sub-device, including: a controller configured to: acquire a target networking identifier output by a networking master device based on user operation; the target networking identifier is used by the networking master device to generate a target area ID based on a target channel identifier and the target channel identifier; the target channel is a target channel selected by the networking master device from available channels with an interference strength less than or equal to an interference threshold in response to a wireless networking function startup operation; the target networking identifier is used to indicate the wireless network created by the networking master device; acquire the target area ID including the target networking identifier from at least one scanned area ID; and establish a target wireless network with the networking master device based on the target channel indicated by the target channel identifier included in the target area ID. For detailed descriptions, please refer to the relevant descriptions of the above-described networking master device, which can achieve the same or similar technical effects, and will not be repeated here.

[0154] To illustrate this solution in more detail, the following will use an exemplary approach. Figures 3 to 10 To explain, it is understandable that Figures 3 to 10 The steps involved may include more or fewer steps in actual implementation, and the order of these steps may also differ, depending on whether the wireless network establishment method provided in some embodiments of this application can be achieved. This wireless network establishment method is used to instruct the network master control device and network sub-devices to establish a wireless network. Furthermore, for a detailed description of the wireless network establishment method provided in some embodiments of this application, please refer to the relevant descriptions of the aforementioned network master control device and network sub-devices, which can achieve the same or similar technical effects, and will not be repeated here.

[0155] Figure 2 The flowchart illustrates the steps of a wireless network establishment method according to one or more embodiments of this application. The wireless network establishment method may include the following steps S301 to S307.

[0156] S301. In response to the activation operation of the wireless networking function, the main control device of the network selects the target channel with an interference intensity less than or equal to the interference threshold from the available channels.

[0157] S302. The network master control device generates a target area ID based on the target channel identifier and the target network identifier of the target channel. The target network identifier is used to indicate the wireless network created by the network master control device.

[0158] S303, The network master control device broadcasts the target area ID.

[0159] S304. The network master control device outputs the target network identifier.

[0160] The network master control device outputs the target network identifier so that at least one network sub-device can obtain the target network identifier based on user operation, obtain the target area ID including the target network identifier from at least one scanned area ID, and the target channel indicated by the target channel identifier included in the target area ID, and establish a target wireless network with the network master control device.

[0161] S305. The networking sub-device obtains the target networking identifier output by the networking master control device based on user operation.

[0162] The target network identifier is used by the network master control device to generate a target area ID based on the target channel identifier and the target network identifier of the target channel. The target channel is the target channel selected by the network master control device from the available channels in response to the start operation of the wireless networking function. The target network identifier is used to indicate the wireless network created by the network master control device.

[0163] S306. The networking sub-device obtains the target area ID, which includes the target networking identifier, from at least one scanned area ID.

[0164] S307. The networking sub-device establishes a target wireless network with the networking master control device based on the target channel indicated by the target channel identifier included in the target area ID.

[0165] In some embodiments of this application, the region ID further includes a channel avoidance identifier, which is used to indicate the channel corresponding to the region ID, and the channels to be avoided among the adjacent channels of the channel corresponding to the region ID; combined with Figure 3 ,like Figure 4 As shown, the above S301 can be specifically implemented through the following S301a and S301b.

[0166] S301a The network master control device responds to the startup operation by identifying multiple channels that need to be avoided based on the channel avoidance identifier included in the scanned area ID.

[0167] S301b: The network master control device determines the channel with the least interference among the available channels, excluding the multiple channels that need to be avoided, as the target channel.

[0168] In some embodiments of this application, the region ID further includes a multi-channel identifier, which is used to indicate whether the corresponding region ID is a primary channel ID or a sub-channel ID; combined with Figure 3 ,like Figure 5 As shown, the above S301 can be specifically implemented through the following S301c and S301d.

[0169] S301c, when the target wireless network is a multi-channel aggregation network, the network master control device filters out multiple channels from the available channels whose interference intensity is less than or equal to the interference threshold.

[0170] Among them, the multiple channels include the target channel, and the multiple channels are used by the network master control device to establish the multi-channel aggregation network with at least one network sub-device.

[0171] S301d, the network master control device generates multiple area IDs based on the channel identifiers of the multiple channels and the target network identifier, the multiple area IDs including the target area ID and at least one other area ID.

[0172] The target area ID includes a multi-channel identifier indicating that the target area ID is the main channel ID, and the other area ID includes a multi-channel identifier indicating that the corresponding other area ID is a sub-channel ID.

[0173] In some embodiments of this application, combined with Figure 4 ,like Figure 6 As shown, prior to S302 above, some embodiments of this application provide a wireless network establishment method that may further include S308 below.

[0174] S308. Before generating the target area ID based on the target channel identifier and the target network identifier of the target channel, the network master control device generates a target network identifier that is different from the network identifier included in the scanned area ID.

[0175] In some embodiments of this application, combined with Figure 6 ,like Figure 7 As shown, after S307 above, some embodiments of this application provide a wireless network establishment method that may further include S309 to S311 below.

[0176] S309. After establishing the target wireless network, the network master control device, under the condition that the target conditions are met, selects the first channel from the available channels with an interference intensity less than or equal to the interference threshold.

[0177] S310, the network master control device generates the first area ID based on the first channel.

[0178] S311. The network master control device pushes the first area ID to the network sub-device corresponding to the target wireless network to re-establish the wireless network based on the first area ID.

[0179] The target conditions include at least one of the following: the target indicator of the target channel is greater than the corresponding indicator threshold, and the target indicator includes at least one of the following: interference intensity, data transmission error rate, channel occupancy rate; the current time is the preset time for area ID update; the current time is the periodic update time for area ID; the number of newly added network sub-devices is greater than or equal to a first quantity threshold; the channel load of the target channel is greater than or equal to a load threshold; and a trigger operation for user to update area ID is received.

[0180] In some embodiments of this application, the networking sub-devices corresponding to the target wireless network include multiple types of networking sub-devices, with different types corresponding to different push methods, combined with... Figure 7 ,like Figure 8 As shown, the above S311 can be specifically implemented through the following S311a.

[0181] S311a The network master control device pushes the first area ID to the network sub-device of the target type through the target push method corresponding to the target type.

[0182] In some embodiments of this application, combined with Figure 8 ,like Figure 9 As shown, after S311a above, the wireless network establishment method provided in some embodiments of this application may further include S312 to S313 as described below.

[0183] S312. The main control device of the network displays the push record table and push progress of the network sub-devices corresponding to the target wireless network.

[0184] The push record table includes the push status of each network sub-device, which includes any of the following: waiting for push, pushing, push successful, re-pushing, push error; the push progress is used to indicate the ratio of the number of network sub-devices that have been successfully pushed to the total number of network sub-devices corresponding to the target wireless network.

[0185] S313. For the first group of network sub-devices whose push status is abnormal, the network master control device shall remotely wake up the first group of network sub-devices and / or re-push the first area ID to the first group of network sub-devices in response to the user's operation.

[0186] In some embodiments of this application, combined with Figure 9 ,like Figure 10 As shown, after S311a above, the wireless network establishment method provided in some embodiments of this application may further include S314 to S315 as described below.

[0187] S314. Within a preset time period, the network master control device conducts network communication with the network sub-devices in the target wireless network that have not completed the area ID update based on the target area ID, and conducts network communication with the network sub-devices in the target wireless network that have completed the area ID update based on the first area ID.

[0188] S315. After the preset time, the network master control device broadcasts the first instruction information.

[0189] The first indication information is used to indicate that the target area ID is invalid, so that networking communication can be carried out with the networking sub-devices in the target wireless network based on the first area ID.

[0190] In some embodiments of this application, after S311a described above, the wireless network establishment method provided in some embodiments of this application may further include: after a preset time period, if the number of network sub-devices in the target wireless network whose area ID update fails is greater than or equal to a second quantity threshold, or if the area ID update of a network sub-device belonging to the first type in the target wireless network fails, broadcasting second indication information, the second indication information being used to indicate that the first area ID is invalid and the target area ID is valid, so as to enable network communication with the network sub-devices in the target wireless network based on the target area ID.

[0191] The present invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described wireless network establishment method and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0192] The computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0193] The present invention provides a computer program product, comprising: when the computer program product is run on a computer, causing the computer to implement the above-described wireless network establishment method.

[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0195] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A network master control device, characterized in that, include: The controller is configured to: in response to the activation operation of the wireless networking function, filter out target channels from the available channels whose interference intensity is less than or equal to the interference threshold; Based on the target channel identifier and target network identifier of the target channel, a target area ID is generated, wherein the target network identifier is used to indicate the wireless network created by the network master control device; The communicator is configured to broadcast the target area ID; The controller is further configured to: output the target network identifier, so that at least one network sub-device obtains the target network identifier based on user operation, obtains a target area ID including the target network identifier from at least one scanned area ID, and obtains the target channel indicated by the target channel identifier included in the target area ID, and establishes a target wireless network with the network master control device.

2. The networking master control device according to claim 1, characterized in that, The region ID also includes a channel avoidance identifier, which is used to indicate the channel corresponding to the region ID, as well as the channels to be avoided in the adjacent channels of the channel corresponding to the region ID; The controller is configured to: in response to the startup operation, determine multiple channels to be avoided based on the channel avoidance identifiers included in the scanned region ID; The channel with the least interference among the available channels, excluding the multiple channels to be avoided, is determined as the target channel.

3. The networking master control device according to claim 1, characterized in that, The region ID also includes a multi-channel identifier, which is used to indicate whether the corresponding region ID is a main channel ID or a sub-channel ID. The controller is configured as follows: When the target wireless network is a multi-channel aggregation network, multiple channels with interference strength less than or equal to the interference threshold are selected from the available channels. The multiple channels include the target channel. The multiple channels are used by the network master control device to establish the multi-channel aggregation network with at least one network sub-device. Multiple region IDs are generated based on the channel identifiers of the multiple channels and the target network identifier. The multiple region IDs include the target region ID and at least one other region ID. The target region ID includes a multi-channel identifier indicating that the target region ID is a primary channel ID, and the other region ID includes a multi-channel identifier indicating that the corresponding other region ID is a sub-channel ID.

4. The networking master control device according to claim 1, characterized in that, The controller is configured as follows: Before generating the target area ID based on the target channel identifier and the target network identifier of the target channel, a target network identifier that is different from the network identifier included in the scanned area ID is generated.

5. The networking master control equipment according to any one of claims 1 to 4, characterized in that, The controller is also configured to: After establishing the target wireless network, and provided the target conditions are met, a first channel with an interference strength less than or equal to the interference threshold is selected from the available channels. Based on the first channel, generate the first region ID; The first area ID is pushed to the networking sub-device corresponding to the target wireless network to re-establish the wireless network based on the first area ID; The target conditions include at least one of the following: The target indicator of the target channel is greater than the corresponding indicator threshold, and the target indicator includes at least one of the following: interference intensity, data transmission bit error rate, and channel occupancy rate. The current time is the preset time for the region ID update; The current time is the periodic update time of the region ID; The number of newly added network sub-devices is greater than or equal to the first quantity threshold; The channel load of the target channel is greater than or equal to the load threshold; The system received a trigger to update the region ID from the user.

6. The networking master control device according to claim 5, characterized in that, The target wireless network corresponds to various types of network sub-devices, each with a different push method. The controller is further configured to: The first region ID is pushed to the network sub-device of the target type using the target push method corresponding to the target type.

7. The networking master control device according to claim 6, characterized in that, The controller is also configured to: Display the push record table and push progress of the network sub-devices corresponding to the target wireless network. The push record table includes the push status of each network sub-device. The push status includes any of the following: waiting to push, pushing, push successful, re-pushing, push error. The push progress is used to indicate the ratio of the number of network sub-devices that have been successfully pushed to the total number of network sub-devices corresponding to the target wireless network. For the first group of network sub-devices whose push status is abnormal, the system remotely wakes up the first group of network sub-devices in response to the user's operation and / or re-pushes the first area ID to the first group of network sub-devices.

8. The networking master control device according to claim 6, characterized in that, The controller is also configured to: Within a preset time period, network communication is performed with network sub-devices in the target wireless network that have not completed the area ID update based on the target area ID, and network communication is performed with network sub-devices in the target wireless network that have completed the area ID update based on the first area ID. After the preset duration, a first indication message is broadcast. The first indication message is used to indicate that the target area ID is invalid, so that networking communication can be carried out with the networking sub-devices in the target wireless network based on the first area ID.

9. The networking master control device according to claim 6, characterized in that, The controller is also configured to: After a preset time period, if the number of network sub-devices in the target wireless network that fail to update their area ID is greater than or equal to a second quantity threshold, or if the area ID update of a network sub-device belonging to the first type in the target wireless network fails, a second indication message is broadcast. The second indication message is used to indicate that the first area ID is invalid and the target area ID is valid, so that network communication can be carried out with the network sub-devices in the target wireless network based on the target area ID.

10. A networking sub-device, characterized in that, include: The controller is configured to: acquire the target network identifier output by the network master control device based on user operation, wherein the target network identifier is used by the network master control device to generate a target area ID based on the target channel identifier of the target channel and the target network identifier, wherein the target channel is a target channel with an interference strength less than or equal to an interference threshold selected by the network master control device from the available channels in response to the wireless networking function startup operation, and the target network identifier is used to indicate the wireless network created by the network master control device; Obtain the target area ID, including the target network identifier, from at least one scanned area ID; Based on the target channel indicated by the target channel identifier included in the target area ID, a target wireless network is established with the network master control device.

11. A method for establishing a wireless network, characterized in that, Applied to network main control equipment, including: In response to the activation of the wireless networking function, target channels with interference intensity less than or equal to the interference threshold are selected from the available channels; Based on the target channel identifier and target network identifier of the target channel, a target area ID is generated, wherein the target network identifier is used to indicate the wireless network created by the network master control device; Broadcast the target area ID; The target network identifier is output so that at least one network sub-device obtains the target network identifier based on user operation, obtains a target area ID including the target network identifier from at least one scanned area ID, and obtains the target channel indicated by the target channel identifier included in the target area ID, and establishes a target wireless network with the network master control device.

12. A method for establishing a wireless network, characterized in that, Applied to network sub-devices, including: The target network identifier is obtained based on user operation and output by the network master control device. The target network identifier is used by the network master control device to generate a target area ID based on the target channel identifier of the target channel and the target network identifier. The target channel is the target channel selected by the network master control device from the available channels in response to the start operation of the wireless networking function. The target network identifier is used to indicate the wireless network created by the network master control device. Obtain the target area ID, including the target network identifier, from at least one scanned area ID; Based on the target channel indicated by the target channel identifier included in the target area ID, a target wireless network is established with the network master control device.