Self-discovery ad-hoc network control method based on swan gap operating system
Through the self-discovery self-network control method based on the Hongmeng operating system, the device identification information and communication parameters are extracted, compatibility judgment and dynamic matching are performed, and the device control role and resource allocation strategy is defined, which solves the problem of poor device networking complexity and interoperability, and achieves efficient and stable multi-device collaborative work.
Patent Information
- Application Number
- CN202510187198.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, the equipment networking is complex, the operating threshold is high, and the interoperability of cross-vendor equipment is poor, resulting in resource conflicts or repeated allocation between devices, and it is impossible to ensure the stable and coordinated work of multiple devices in complex scenarios.
The self-discovery self-network control method based on the Hongmeng operating system is adopted, and the compatibility judgment and dynamic compatibility matching between devices are extracted by extracting the identification information and communication parameters of the device, and the initial networking candidate data is generated. The device control role data is defined based on the device category label and preset priority rules. The distributed channel allocation algorithm and lightweight data synchronization protocol are used to realize the dynamic allocation of resources between devices and state synchronization.
It significantly reduces user operation complexity, improves the efficiency and stability of equipment automation networking, solves the problem of poor interoperability of cross-vendor equipment, and ensures stable and coordinated work of multiple devices in complex scenarios.
Smart Images

Figure CN119676740A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a self-discovery and self-organizing network control method based on the Hongmeng operating system. Background Art
[0002] Currently, in the field of the Internet of Things, the networking of devices usually relies on a centralized network architecture, such as a router or a cloud server. Traditional device connection methods usually require manual settings to complete device identification and networking. These settings include network configuration, permission management, and interoperability protocols between devices. This method requires a high level of operational familiarity on the user side, and when the number of devices is large, the complexity increases significantly. In order to lower the user's operating threshold, some automated networking solutions have been proposed, such as using Wi-Fi Direct, Bluetooth Mesh and other technologies to achieve direct connection between devices. In the implementation process of these solutions, they usually rely on the compatibility limitations of specific hardware or communication protocols, resulting in a relatively limited scope of application.
[0003] Specifically, in actual use, the networking of these devices is often limited by the poor interoperability between protocols of different manufacturers. For example, when a user tries to automatically network smart speakers and lamps from different brands through existing technologies, the devices may not be able to effectively discover each other, or there may be delays in the synchronization of device information. The networking process of existing technologies usually lacks a unified resource allocation and management mechanism, resulting in resource conflicts or repeated allocation between devices, and thus failing to ensure the stable collaborative operation of multiple devices in complex scenarios. Summary of the invention
[0004] The purpose of the present invention is to provide a self-discovery and self-organizing network control method based on the Hongmeng operating system, aiming to solve the problems mentioned in the background technology.
[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0006] A self-discovery self-organizing network control method based on Hongmeng operating system, the method comprising:
[0007] Based on the Hongmeng operating system, extract the identification information and communication parameters of the device from each device to be networked, wherein the identification information includes the hardware identifier and device category label of the device, and the communication parameters include the communication protocol version and the maximum supported bandwidth of the device;
[0008] According to the device identification information and communication parameters, the compatibility of the communication protocol versions and the maximum supported bandwidth between the devices is judged, and the initial networking candidate data is generated for the devices that meet the communication compatibility conditions;
[0009] According to the initial networking candidate data, combined with the device category label and the preset priority rule, the device control role data is defined to generate the networking control relationship data, wherein the device control role data includes the master device identification and the slave device identification, wherein the preset priority rule is sorted according to the device remaining power data, computing power data and task execution demand intensity data;
[0010] According to the networking control relationship data, combined with the task requirements and network bandwidth information of the device, a distributed channel allocation algorithm is used to dynamically allocate communication resources to each device to generate communication channel allocation data. The communication resources include transmission channels and bandwidth allocation parameters. The distributed channel allocation algorithm is based on real-time bandwidth monitoring results and avoids channel interference between devices by reducing channel overlapping allocation.
[0011] According to the communication channel allocation data, a lightweight data synchronization protocol is used to periodically synchronize the resource status of each device to generate networking status data, which includes the connection status of the device, the remaining communication resources, and the task execution status;
[0012] According to the networking status data, when the slave device sends a request to exit the networking, the master device updates the networking candidate data and redetermines the networking control relationship after releasing the corresponding communication resources; when the master device exits, the slave device with the highest priority is selected to automatically take over the control role and complete the reconstruction of the networking control relationship.
[0013] Preferably, the compatibility judgment of the communication protocol versions and the maximum supported bandwidth between the devices is performed according to the device identification information and the communication parameters, and the initial networking candidate data is generated for the devices that meet the communication compatibility conditions, including:
[0014] According to the device identification information and communication parameters, the communication protocol version, maximum supported bandwidth and physical communication rate of each device are extracted to generate initial communication capability data;
[0015] According to the initial data of communication capability, the communication protocol version is matched according to the preset protocol version priority strategy, the communication performance of the device is screened, and the protocol version matching result is generated;
[0016] According to the protocol version matching results, analyze the device combinations with overlapping bandwidth ranges, eliminate devices with insufficient communication bandwidth, and generate preliminary device screening data;
[0017] Based on the preliminary device screening data and combined with the communication distance constraints, devices that can be supported by the physical distance are screened to generate initial networking candidate data.
[0018] Preferably, the process of defining device control role data and generating networking control relationship data based on the initial networking candidate data in combination with device category labels and preset priority rules includes:
[0019] According to the device category labels in the initial networking candidate data, devices that meet specific networking requirements are screened out to generate device category screening data;
[0020] Calculate the priority score of the device based on the remaining power data of the device, the computing power data, and the task execution demand intensity data, and generate the device priority score data;
[0021] According to the device category screening data and device priority score data, the device with the highest priority score is selected as the primary device, and the other devices are selected as the secondary devices;
[0022] Define the role relationship between the master device and the slave device, generate networking control relationship data, and assign auxiliary control roles to slave devices with higher task requirements through a hierarchical mechanism to generate networking control relationship data.
[0023] Preferably, the calculation formula of the device priority score is: ,in, is the priority score of the device, The current remaining power of the device. is the maximum power of the device, is the adjustment coefficient, is the proportion of the device's current task's computing capacity occupied by it, is the remaining execution time of the device's current task, is the longest remaining time of the current task in the networking system, is the priority score of the current task, is the load of the current task of the device, is the maximum load capacity of the equipment, is the current computing power of the device, is the maximum computing capability of the devices in the system, is the signal strength of the device, , , , and is the weight coefficient.
[0024] Preferably, the priority score of the current task The calculation formula is: , is the data volume required for the current task, is the total data volume of all tasks in the networking system, is the resource requirement of the current task, is the maximum allocatable resource capacity in the networking system. is the reference threshold of task resource requirements, , and is the weight coefficient, is the adjustment coefficient.
[0025] Preferably, the method of dynamically allocating communication resources to each device using a distributed channel allocation algorithm based on the networking control relationship data, combined with the task requirements and network bandwidth information of the device, and generating communication channel allocation data includes:
[0026] Monitor the load status and interference intensity of each communication channel in real time and generate network bandwidth information;
[0027] According to the device task requirements and network bandwidth information in the networking control relationship data, the optimal bandwidth requirements of each device are calculated, and bandwidth resources are allocated to the device according to the device priority score to generate the communication resource allocation result;
[0028] According to the communication resource allocation results, the channel occupancy between devices is adjusted, the communication channel allocation data is generated, and the channel interference status is updated after the dynamic allocation is completed.
[0029] Preferably, the calculation formula for the optimal bandwidth requirement of the device is: ,in, To assign to a device bandwidth, For equipment The basic bandwidth requirement of the current task, For equipment The task priority score of the current task, For equipment The device priority score, For equipment The interference strength of the current channel, is the maximum interference intensity in the system, is the adjustment coefficient, is the total available bandwidth of the system. For the The basic bandwidth requirement of the current task of each device, For the The task priority score of the current task of each device, For equipment The device priority score, The total number of devices that allocate bandwidth in the current networking system. is the weight coefficient.
[0030] Preferably, allocating data according to the communication channel and periodically synchronizing the resource status of each device using a lightweight data synchronization protocol to generate networking status data includes:
[0031] According to the communication channel allocation data, the current connection status, remaining communication resources and task execution progress information of the slave device are extracted to generate initial resource status data;
[0032] The master device uses the broadcast protocol to send synchronization request packets to all slave devices, along with communication channel allocation data;
[0033] According to the synchronization request data packet and the communication channel allocation data, the slave device compares its own resource status data to generate difference status data, and feeds back the difference status data to the master device to generate a resource status feedback result;
[0034] According to the resource status feedback results, the master device summarizes the resource status data of all devices, generates networking status data, and broadcasts it to all devices to complete synchronization.
[0035] Preferably, when the slave device sends a request to exit the networking, the master device updates the networking candidate data and redetermines the networking control relationship after releasing the corresponding communication resources, including:
[0036] The slave device sends a quit request to the master device, wherein the quit request includes the current task status of the device, the communication resource occupancy and the quit reason;
[0037] According to the exit application, the master device releases the corresponding communication channel and bandwidth resources and generates a resource release result;
[0038] Adjust the network topology structure according to the resource release result, update the networking candidate data, and generate updated networking candidate data;
[0039] According to the updated networking candidate data, the networking control relationship data is updated, and the updated networking status is broadcast to all devices.
[0040] Preferably, when the master device exits, the device with the highest priority is selected from the devices to automatically take over the control role and complete the reconstruction of the networking control relationship, including:
[0041] The master device broadcasts exit notification data before exiting, wherein the exit notification data includes current networking state data and communication resource allocation data;
[0042] After receiving the exit notification data from the device, the device priority score is recalculated according to the networking status data and its own priority score to generate a priority score sorting result;
[0043] Select the device with the highest priority score from the priority score sorting results as the new master device, and take over the control task of the master device to generate a task takeover result;
[0044] According to the task takeover result, the communication channel allocation data and networking status data are updated, and the updated networking status data is broadcast to all slave devices.
[0045] The above solution of the present invention includes at least the following beneficial effects:
[0046] This method is based on the self-discovery and self-networking control solution of the Hongmeng operating system, which effectively solves the problems of complex device networking, high operating threshold and poor interoperability of cross-manufacturer devices in the prior art, and significantly improves the efficiency and stability of device automation networking. Traditional device networking relies on centralized network architecture, such as routers or cloud servers, and users usually need to manually complete network configuration, permission management, and protocol compatibility adjustment. However, this method requires a high level of user familiarity with operations, especially when the number of devices is large, the complexity of networking is greatly increased. The present invention greatly reduces the complexity of user operations through automated device discovery and networking mechanisms.
[0047] Compared with existing technologies such as Wi-Fi Direct and Bluetooth Mesh, the present invention realizes automatic identification and dynamic compatibility judgment of devices by extracting device identification information and communication parameters. Device identification information includes hardware identifiers and device category labels, which ensure the unique identification and role assignment capabilities of devices during networking; communication parameters include the communication protocol version and maximum supported bandwidth of the device, which provide accurate data support for compatibility analysis between devices. Through comprehensive analysis of this information, the system can automatically screen out devices that meet the communication protocol and bandwidth requirements and generate initial networking candidate data, thereby avoiding the tedious steps of users manually adjusting configurations and multiple attempts.
[0048] In addition, compared with the prior art, the networking mechanism of the present invention can effectively deal with interoperability issues between devices from different manufacturers. Through preset priority rules, the present invention prioritizes devices based on the remaining power, computing power, and task demand intensity of the devices, thereby giving priority to devices with superior performance and abundant resources as master devices during the networking process to share the core work of networking and task scheduling. Other devices are assigned as slave devices according to specific task requirements, forming a clear master-slave relationship structure. This hierarchical structure solves the problems of resource conflicts and repeated allocations between devices, and ensures efficient use of resources during the networking process.
[0049] The present invention further improves the communication efficiency and stability of the system through a distributed channel allocation algorithm and a lightweight data synchronization protocol. The distributed channel allocation algorithm dynamically allocates communication resources to each device based on real-time bandwidth monitoring results, avoiding channel conflicts and interference and improving the communication quality of the network; the lightweight data synchronization protocol periodically updates the resource status of the device to ensure real-time collaborative work between devices. When the device status is abnormal or actively exits, the system can automatically release communication resources and update the networking control relationship, thereby maintaining the stability and continuity of the system.
[0050] In general, the technical solution of the present invention realizes device self-discovery, self-networking and stable collaboration through dynamic extraction of device information, automated compatibility judgment, hierarchical role allocation, real-time resource management and efficient data synchronization without the need for additional hardware support. It overcomes the defects of poor interoperability of multi-vendor protocols, low device networking efficiency and frequent resource conflicts in the prior art, and is suitable for large-scale device networking applications in a variety of complex scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a flowchart of a self-discovery and self-organizing network control method based on the Hongmeng operating system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0053] like Figure 1 As shown, an embodiment of the present invention proposes a self-discovery self-organizing network control method based on the Hongmeng operating system, and the method includes:
[0054] Based on the Hongmeng operating system, extract the identification information and communication parameters of the device from each device to be networked, wherein the identification information includes the hardware identifier and device category label of the device, and the communication parameters include the communication protocol version and the maximum supported bandwidth of the device;
[0055] According to the device identification information and communication parameters, the compatibility of the communication protocol versions and the maximum supported bandwidth between the devices is judged, and the initial networking candidate data is generated for the devices that meet the communication compatibility conditions;
[0056] According to the initial networking candidate data, combined with the device category label and the preset priority rule, the device control role data is defined to generate the networking control relationship data, wherein the device control role data includes the master device identification and the slave device identification, wherein the preset priority rule is sorted according to the device remaining power data, computing power data and task execution demand intensity data;
[0057] According to the networking control relationship data, combined with the task requirements and network bandwidth information of the device, a distributed channel allocation algorithm is used to dynamically allocate communication resources to each device to generate communication channel allocation data. The communication resources include transmission channels and bandwidth allocation parameters. The distributed channel allocation algorithm is based on real-time bandwidth monitoring results and avoids channel interference between devices by reducing channel overlapping allocation.
[0058] According to the communication channel allocation data, a lightweight data synchronization protocol is used to periodically synchronize the resource status of each device to generate networking status data, which includes the connection status of the device, the remaining communication resources, and the task execution status;
[0059] According to the networking status data, when the slave device sends a request to exit the networking, the master device updates the networking candidate data and redetermines the networking control relationship after releasing the corresponding communication resources; when the master device exits, the slave device with the highest priority is selected to automatically take over the control role and complete the reconstruction of the networking control relationship.
[0060] In an embodiment of the present invention, first, the extraction of device identification information includes a hardware identifier and a device category label. The hardware identifier ensures that each device is unique during the networking process, avoiding device conflicts or repeated identification. The device category label is used to indicate the type of device, such as a sensor, actuator, or control device, thereby achieving role differentiation during the networking process. At the same time, the extraction of communication parameters includes the communication protocol version and the maximum supported bandwidth of the device. These parameters provide a data basis for compatibility judgment between devices, and by dynamically analyzing the matching of the communication protocol version and the adaptability of the maximum supported bandwidth, it ensures that the networking devices can achieve seamless connection at the protocol level and the bandwidth level.
[0061] Secondly, in the process of compatibility judgment, this method generates initial networking candidate data in combination with communication parameters. After generating the candidate data, the remaining power, computing power, and task execution demand intensity of the device are further comprehensively ranked according to the device category label and the preset priority rules. This ranking ensures that devices with sufficient resources and strong computing power can be assigned as master devices first, while other devices participate in networking as slave devices. The master device assumes the core role of task scheduling and resource allocation in the entire system, while the slave device focuses on the execution of specific tasks. This master-slave separation structural design optimizes the resource utilization of the system and avoids the problem of excessive load on a single device or waste of system resources.
[0062] In addition, this method solves the channel interference problem when multiple devices communicate simultaneously through a distributed channel allocation algorithm. By real-time monitoring of bandwidth usage and channel interference intensity, communication resources are dynamically allocated to avoid overlapping channel allocation, thereby improving the stability and efficiency of communication. During the communication process, a lightweight data synchronization protocol is used to achieve real-time synchronization of device status, including device connection status, remaining communication resources, and task execution status. When the master device detects an abnormal device or a change in device status, it can automatically trigger the re-networking process to ensure the robustness of the system and the continuity of the task.
[0063] When a device actively exits the network, the master device can quickly release the communication resources it occupies and update the candidate data for the network, thereby ensuring the timely recovery and reallocation of resources. If the master device exits, the suboptimal device is selected through the priority rule to automatically take over the role of the master device, thus realizing the rapid reconstruction of the network control relationship. The entire system achieves dynamic adaptability through this method, significantly improving the stability, scalability and task completion efficiency of the system.
[0064] More specifically, based on the Hongmeng operating system, extracting device identification information and communication parameters from each device to be networked includes:
[0065] Hongmeng OS collects information about networking devices through the built-in device management module. Each networking device will broadcast its own device information in the initial state, including device identification information and communication parameters.
[0066] Extraction of device identification information:
[0067] The hardware identifier is usually expressed in the form of a device's unique physical address (such as a MAC address) or a device serial number, and is used to ensure the uniqueness of each device during the networking process.
[0068] When the networking device broadcasts its hardware information, the Hongmeng operating system parses the physical address of the device by listening to the broadcast signal, and extracts and records the hardware identifier.
[0069] The hardware identifier is mainly used for unique identification of the device and target identification of data communication in the subsequent networking process.
[0070] The device category label refers to the marking information that indicates the functional attributes of the device, such as sensor, actuator, camera or smart speaker.
[0071] This information is preset by the device when it leaves the factory and is sent through the tag field included in the broadcast metadata. After parsing these tags, the Hongmeng operating system classifies the devices into different categories, so that the functional hierarchical management of the devices can be performed when networking.
[0072] Extraction of communication parameters:
[0073] Communication parameters refer to the protocol and performance-related information required by the device during the communication process, mainly including the following: communication protocol version and maximum supported bandwidth.
[0074] The communication protocols supported by the device, such as Wi-Fi, Bluetooth, or Zigbee, and their version numbers, such as Wi-Fi6, Bluetooth 5.0, etc., are broadcast to the network.
[0075] The Hongmeng operating system parses the protocol version information to ensure protocol compatibility between the devices to be networked, thereby avoiding communication failures caused by protocol mismatch.
[0076] The maximum supported bandwidth of a device refers to the theoretical maximum data transmission rate that the device can achieve under the current communication protocol, such as 100Mbps or 1Gbps.
[0077] Hongmeng OS extracts the maximum bandwidth information by analyzing the performance data broadcast by the device. This information plays an important role in the subsequent bandwidth allocation process, ensuring that the device can meet the actual communication needs when networking.
[0078] By extracting device identification information and communication parameters, the Hongmeng operating system lays a data foundation for the subsequent networking process, ensuring communication compatibility between devices and the rationality of resource allocation.
[0079] More specifically, the preset protocol version priority strategy includes:
[0080] Give priority to devices that support the latest protocol version number;
[0081] When devices support the same protocol version number, devices with more protocol extension capabilities are preferred;
[0082] When the protocol versions are compatible but there are multiple candidate devices, they are prioritized in descending order of communication rate.
[0083] In a preferred embodiment of the present invention, the compatibility judgment of the communication protocol version and the maximum supported bandwidth between the devices is performed according to the device identification information and the communication parameters, and the initial networking candidate data is generated for the devices that meet the communication compatibility conditions, including:
[0084] According to the device identification information and communication parameters, the communication protocol version, maximum supported bandwidth and physical communication rate of each device are extracted to generate initial communication capability data;
[0085] According to the initial data of communication capability, the communication protocol version is matched according to the preset protocol version priority strategy, the communication performance of the device is screened, and the protocol version matching result is generated;
[0086] According to the protocol version matching results, analyze the device combinations with overlapping bandwidth ranges, eliminate devices with insufficient communication bandwidth, and generate preliminary device screening data;
[0087] Based on the preliminary device screening data and combined with the communication distance constraints, devices that can be supported by the physical distance are screened to generate initial networking candidate data.
[0088] In the embodiment of the present invention, by analyzing the device identification information and communication parameters, the method successfully generates the initial networking candidate data, effectively solving the problems of poor device compatibility and complex configuration in the traditional networking method. First, the system extracts the communication capability data from the device to be networked, including the protocol version number, the maximum supported bandwidth and the physical communication rate. By collecting and analyzing these parameters, the initial communication capability data is generated.
[0089] Based on the initial data of communication capabilities, the system adopts a protocol version priority strategy and performs matching analysis on the protocol versions between devices through the compatibility judgment module. This process selects devices that support the same protocol version and generates protocol version matching results. On this basis, the devices in the matching results are further analyzed for bandwidth range overlap to eliminate devices with insufficient or mismatched bandwidth. Through the precise calculation of bandwidth thresholds, it is ensured that the devices participating in the networking have sufficient bandwidth capabilities.
[0090] In order to ensure the communication stability of the network, this method also analyzes the physical accessibility of the device in combination with the constraints of the physical communication distance, and eliminates the devices whose communication distance exceeds the range. The final generated initial networking candidate data not only meets the protocol compatibility requirements, but also has the adaptability of communication performance, providing an efficient and stable basis for device selection in the networking process.
[0091] More specifically, according to the protocol version matching results, the device combinations with overlapping bandwidth ranges are analyzed, devices with insufficient communication bandwidth are eliminated, and preliminary device screening data is generated, including:
[0092] In the actual networking process, even if the communication protocol versions of the devices match, the communication performance of the devices, such as bandwidth support capabilities, may also be different. In order to ensure that the communication performance of the networking devices meets the requirements, the present invention further screens the devices through bandwidth range overlap analysis.
[0093] After extracting the device communication parameters, the system performs a preliminary match based on the device's communication protocol version. For example, if one device supports Wi-Fi 5 and the other supports Wi-Fi 6, the two devices are considered matched at the protocol level only if they are within the protocol compatibility range, that is, Wi-Fi 5 is a subset of Wi-Fi 6. The device combination after protocol matching will be passed to the bandwidth analysis module for further processing.
[0094] The purpose of bandwidth overlap analysis is to ensure that devices with matching protocols are also compatible in terms of communication performance. The specific analysis process is as follows:
[0095] The maximum supported bandwidth of each device, such as device A supports 100 Mbps and device B supports 50 Mbps, is extracted and passed to the bandwidth analysis module.
[0096] The bandwidth analysis module compares the maximum supported bandwidths of two devices to calculate their available bandwidth range. For example, if the communication between device A and device B requires at least 30Mbps bandwidth, but the bandwidth of device B is only 50Mbps, the two can communicate at less than 50Mbps.
[0097] If the bandwidth range of two devices cannot meet the preset minimum communication requirements, such as some tasks require at least 100Mbps bandwidth, but the device only supports 50Mbps, the system will remove the device from the matching data.
[0098] The removed device information will be recorded so that users can adjust the device's communication tasks or bandwidth requirements when needed later.
[0099] Through bandwidth range overlap analysis, the system generates preliminary device screening data. The devices in this data all meet the basic requirements of communication protocols and bandwidth performance, providing reliable input for the next step of networking candidate data.
[0100] More specifically, the screening of devices that can be supported by physical distance based on preliminary device screening data and in combination with communication distance constraints to generate initial networking candidate data includes:
[0101] Even if the devices are compatible in terms of communication protocol and bandwidth, the constraints of communication distance may affect the effective communication between the devices. Therefore, the present invention further screens the devices that can be supported by the physical distance by combining the communication distance constraints.
[0102] Communication distance constraints are set based on the physical limitations of different communication protocols, such as:
[0103] Wi-Fi: Typical effective communication distance is 30-50 meters, depending on obstacles.
[0104] Bluetooth: Typically works with devices within a 10-meter range.
[0105] Zigbee: Suitable for low-power devices within a range of 50-100 meters.
[0106] These constraints are dynamically adjusted based on the devices’ communication protocols and signal strength information to ensure that communication between devices is physically reachable.
[0107] In order to further accurately determine the communication distance, the system dynamically adjusts the adaptability of the physical distance by extracting the signal strength of the device, such as the RSSI value:
[0108] The system measures the signal strength of the device in real time. The closer the RSSI value is to 0, the stronger the signal is and the shorter the communication distance is.
[0109] Based on the RSSI value and environmental blocking conditions, the system estimates the actual communication distance between devices. For example, if there are large obstacles such as walls between devices, the signal strength may be insufficient even at a short distance.
[0110] Based on the communication distance constraint and signal strength analysis results, the system removes devices that do not meet the communication distance requirements. For example, if the physical distance between device A and device B exceeds the maximum communication distance supported by device B, such as 30 meters, device B will be removed from the preliminary screening data.
[0111] Through the above steps, all devices that meet the communication protocol, bandwidth requirements and physical distance constraints are retained and generate initial networking candidate data. This candidate data provides high-quality device input for the subsequent networking process, ensuring the comprehensive adaptation of networking devices at the protocol, performance and physical levels.
[0112] In a preferred embodiment of the present invention, the device control role data is defined based on the initial networking candidate data, combined with the device category label and the preset priority rule, to generate the networking control relationship data, including:
[0113] According to the device category labels in the initial networking candidate data, devices that meet specific networking requirements are screened out to generate device category screening data;
[0114] Calculate the priority score of the device based on the remaining power data of the device, the computing power data, and the task execution demand intensity data, and generate the device priority score data;
[0115] According to the device category screening data and device priority score data, the device with the highest priority score is selected as the primary device, and the other devices are selected as the secondary devices;
[0116] Define the role relationship between the master device and the slave device, generate networking control relationship data, and assign auxiliary control roles to slave devices with higher task requirements through a hierarchical mechanism to generate networking control relationship data.
[0117] In the embodiment of the present invention, the method further analyzes and screens the initial networking candidate data, combines the device type and priority rules, and defines the role allocation and networking control relationship of the device. Based on the initial networking candidate data, the device category label is used to screen out a set of devices that meet the specific task requirements, and a device category screening result is generated.
[0118] The system combines the screening results and adopts a priority calculation mechanism to dynamically generate a priority score table for the device by analyzing the remaining power of the device, the intensity of the task execution demand, and the computing power. The generation of the priority score table ensures that the system can give priority to high-performance and high-availability devices as the main device, while other devices are assigned as slave devices according to the score ranking.
[0119] In order to optimize the collaboration efficiency of master and slave devices, this method further assigns auxiliary control roles to slave devices with higher task requirements through a hierarchical mechanism. The auxiliary control role undertakes part of the task management and resource allocation work, effectively reducing the scheduling pressure of the master device. The hierarchical relationship between the master device, auxiliary control device and ordinary slave device is clearly defined and synchronized to the entire networking system through the communication protocol, ensuring the efficient execution of hierarchical tasks and the overall stability of the system.
[0120] More specifically, the method of allocating auxiliary control roles to slave devices with higher task requirements through a hierarchical mechanism and generating networking control relationship data includes:
[0121] According to the priority score of the current task, select the slave device with the highest priority score as the auxiliary control device;
[0122] According to the task load and resource allocation status of the main device and the auxiliary control device, a collaborative working mechanism between the main device and the auxiliary control device is defined, wherein the collaborative working mechanism includes task decomposition rules, task synchronization rules and resource sharing rules;
[0123] The hierarchical role relationship between the master device, the auxiliary control device and the common slave device is defined as the networking control relationship data, and the networking control relationship data is broadcast to all the slave devices through the communication channel.
[0124] In a preferred embodiment of the present invention, the calculation formula of the device priority score is: ,in, is the priority score of the device, The current remaining power of the device. is the maximum power of the device, is the adjustment coefficient, is the proportion of the device's current task's computing capacity occupied by it, is the remaining execution time of the device's current task, is the longest remaining time of the current task in the networking system, is the priority score of the current task, is the load of the current task of the device, is the maximum load capacity of the equipment, is the current computing power of the device, is the maximum computing capability of the devices in the system, is the signal strength of the device, , , , and is the weight coefficient.
[0125] In the embodiment of the present invention, the device priority scoring formula comprehensively evaluates the importance of the device from multiple dimensions such as the device's power status, task requirement urgency, current load, and computing power. The formula uses power normalization calculation to ensure that the priority of low-power devices is dynamically lowered, thereby preventing insufficient-resource devices from taking on high-priority tasks.
[0126] The task urgency factor uses a nonlinear function to amplify the impact of urgent tasks. Specifically, when the remaining time of a device task is short, its priority score will be significantly improved, ensuring that urgent tasks are assigned to devices with good performance first. The load factor dynamically adjusts the priority score by comparing the current load of the device with the maximum load, avoiding high-load devices from further increasing task pressure.
[0127] In addition, the introduction of computing power factors ensures that the device has sufficient performance support when processing highly complex tasks. By comprehensively considering the above factors, the formula provides a scientific basis for the selection of the main device and resource allocation, and significantly improves the system's task execution efficiency and resource utilization.
[0128] In a preferred embodiment of the present invention, the priority score of the current task is The calculation formula is: , is the data volume required for the current task, is the total data volume of all tasks in the networking system, is the resource requirement of the current task, is the maximum allocatable resource capacity in the networking system. is the reference threshold of task resource requirements, , and is the weight coefficient, is the adjustment coefficient.
[0129] In the embodiment of the present invention, the task priority score formula comprehensively quantifies the importance of the task through the three dimensions of data volume demand, urgency and resource demand. In the formula, the task data volume demand factor reflects the proportion of the task to the system bandwidth and computing resources, ensuring that tasks with larger data volumes can be allocated resources first.
[0130] The urgency factor significantly increases the priority of urgent tasks with a short remaining time through normalized calculation and weight adjustment, ensuring that tasks can be completed on time. The introduction of resource demand factors quantifies the occupation of overall system resources by tasks as part of the priority, avoiding low-priority tasks occupying core system resources when resources are tight.
[0131] The task priority score calculated by this formula provides a scientific basis for system task scheduling, ensuring that high-priority tasks can be executed first when resources are limited, thereby improving the efficiency and accuracy of task completion.
[0132] In a preferred embodiment of the present invention, the distributed channel allocation algorithm is used to dynamically allocate communication resources to each device based on the networking control relationship data, combined with the task requirements and network bandwidth information of the device, to generate communication channel allocation data, including:
[0133] Monitor the load status and interference intensity of each communication channel in real time and generate network bandwidth information;
[0134] According to the device task requirements and network bandwidth information in the networking control relationship data, the optimal bandwidth requirements of each device are calculated, and bandwidth resources are allocated to the device according to the device priority score to generate the communication resource allocation result;
[0135] According to the communication resource allocation results, the channel occupancy between devices is adjusted, the communication channel allocation data is generated, and the channel interference status is updated after the dynamic allocation is completed.
[0136] In the embodiment of the present invention, in the process of dynamic communication resource allocation, the system realizes dynamic adjustment and optimization of communication resources through the distributed channel allocation algorithm. The real-time monitoring module monitors the load status and interference intensity of the current communication channel and generates real-time bandwidth status data. The task demand analysis module dynamically calculates the optimal communication resource requirements of each device based on the task execution requirements and network bandwidth information of the device.
[0137] The distributed channel allocation algorithm is based on real-time bandwidth status data and uses a dynamic weight mechanism to allocate the best communication channel and bandwidth resources to devices. During the allocation process, the algorithm prioritizes high bandwidth for devices with higher task requirements, and adjusts the resource allocation strategy according to the channel interference situation to avoid channel conflicts and communication interference between devices. By dynamically adjusting communication resources, this method significantly improves communication efficiency and task completion rate.
[0138] To ensure that the allocated resources meet actual needs, the system uses a real-time verification module to verify the communication resource allocation results after the allocation is completed to ensure the effectiveness and stability of bandwidth and channel allocation. The introduction of distributed algorithms not only improves the fairness of resource allocation, but also reduces the complexity and delay of centralized scheduling.
[0139] More specifically, according to the communication resource allocation result, the channel occupancy between devices is adjusted, the communication channel allocation data is generated, and the channel interference status is updated after the dynamic allocation is completed, including:
[0140] Based on the task requirements and device priorities, the system makes preliminary allocation of communication resources through the resource scheduling module, including:
[0141] Bandwidth resource allocation: Allocate more bandwidth resources to high-priority devices to ensure timely and efficient task execution.
[0142] Channel allocation priority rule: Based on the importance of the task and the real-time task traffic requirements, higher priority communication channels are allocated to the tasks, such as frequency bands with lower interference or lower channel utilization.
[0143] Communication channel initialization: Initialize a communication channel configuration table for each device to record the channel allocation results and bandwidth allocation status of the device.
[0144] According to the communication resource allocation results, the system adjusts the channel occupancy of the device in real time to ensure efficient use and stability of the channel. The specific steps are as follows:
[0145] The system detects the occupancy rate, interference intensity (such as RSSI value) and channel utilization of each channel through the channel monitoring module.
[0146] Records the communication status between devices, including channel overlap, interference sources, and communication quality parameters.
[0147] In the event of channel conflicts (such as multiple devices occupying the same channel resulting in insufficient bandwidth), the system prioritizes channel allocation for low-priority devices and allocates them to idle or low-interference channels.
[0148] For high-priority devices, the system ensures the exclusivity of their channel resources and releases channel resources by dynamically migrating low-priority tasks when necessary.
[0149] Based on the current channel utilization, the system reallocates low-utilization channel resources to devices with higher task traffic demands to avoid communication bottlenecks.
[0150] After the dynamic adjustment is completed, the system generates communication channel allocation data for each device, including the following:
[0151] The channel number assigned to the device.
[0152] The bandwidth parameter used by the current task.
[0153] Real-time occupancy status of the channel (such as channel utilization and interference intensity).
[0154] This data is synchronized to all devices, ensuring consistent communication configuration between devices.
[0155] After the dynamic allocation is completed, the system updates the real-time interference status of the channel through the channel interference monitoring module. Specifically, it includes:
[0156] The system analyzes the interference distribution between channels, locates the interference sources and marks them as high-interference channels.
[0157] Channels are prioritized based on their interference strength and historical usage. For example, a channel with low interference strength and high utilization is marked as a high priority channel.
[0158] The system broadcasts the latest channel interference status data to all devices to ensure real-time consistency of channel allocation results.
[0159] Through the above steps, the present invention realizes the optimal configuration and real-time adjustment of channel resources in a dynamic communication environment, effectively improving the stability of communication and the execution efficiency of tasks.
[0160] In a preferred embodiment of the present invention, the calculation formula for the optimal bandwidth requirement of the device is: ,in, To assign to a device bandwidth, For equipment The basic bandwidth requirement of the current task, For equipment The task priority score of the current task, For equipment The device priority score, For equipment The interference strength of the current channel, is the maximum interference intensity in the system, is the adjustment coefficient, is the total available bandwidth of the system. For the The basic bandwidth requirement of the current task of each device, For the The task priority score of the current task of each device, For equipment The device priority score, The total number of devices that allocate bandwidth in the current networking system. is the weight coefficient.
[0161] In the embodiment of the present invention, the task priority, device priority and communication interference factors jointly determine the optimal bandwidth demand allocation of the device. The method allocates communication bandwidth to each device through a dynamic calculation formula, thereby achieving optimal utilization of bandwidth resources. When allocating bandwidth, the initial bandwidth demand data of the device is first generated based on the task priority score and the task demand data. Combined with the priority score of the device, the target bandwidth demand of each device is generated through dynamic weighted calculation.
[0162] During the allocation process, the system introduces channel interference factors, monitors the interference intensity of device channels in real time, and dynamically adjusts the bandwidth allocation strategy. High-priority devices not only obtain more bandwidth resources, but also can reduce the impact of communication interference through optimized channel allocation schemes. After the allocation is completed, the system monitors the communication quality between devices in real time, detects and adjusts potential allocation conflicts, and ensures the stability and efficiency of communication.
[0163] This method further optimizes the allocation efficiency of bandwidth resources by combining task requirements and device priorities, and achieves dynamic improvement of resource utilization, especially in multi-task concurrency and complex communication environments, and has significant technical advantages.
[0164] In a preferred embodiment of the present invention, allocating data according to the communication channel and periodically synchronizing the resource status of each device using a lightweight data synchronization protocol to generate networking status data includes:
[0165] According to the communication channel allocation data, the current connection status, remaining communication resources and task execution progress information of the slave device are extracted to generate initial resource status data;
[0166] The master device uses the broadcast protocol to send synchronization request packets to all slave devices, along with communication channel allocation data;
[0167] According to the synchronization request data packet and the communication channel allocation data, the slave device compares its own resource status data to generate difference status data, and feeds back the difference status data to the master device to generate a resource status feedback result;
[0168] According to the resource status feedback results, the master device summarizes the resource status data of all devices, generates networking status data, and broadcasts it to all devices to complete synchronization.
[0169] In the embodiment of the present invention, the lightweight data synchronization protocol plays an important role in the synchronization and update process of resource status. The method realizes real-time scheduling of tasks and dynamic optimization of the system through efficient communication between the master device and the slave device, periodically synchronizing the resource status of the system. During the synchronization process, the master device sends a synchronization request data packet to all slave devices through the broadcast protocol, and at the same time carries the current communication channel allocation data and task allocation status.
[0170] After receiving the synchronization request, the slave device generates differentiated resource status data based on its own resource status and task progress and feeds it back to the master device. This differential synchronization mechanism significantly reduces the redundancy of synchronization data and the occupancy of communication bandwidth, and improves the efficiency of data synchronization. After the master device receives the resource status feedback from all slave devices, it aggregates and generates networking status data through the resource status integration module, and broadcasts the latest networking status data to all devices to complete the full network synchronization of resource status.
[0171] This method ensures that all devices in the system perceive the task and resource status in real time through an efficient data synchronization mechanism, providing reliable data support for task scheduling and resource allocation. At the same time, the differentiated synchronization design of this method significantly reduces the communication overhead during the synchronization process, demonstrating obvious technical advantages in large-scale device networking.
[0172] In a preferred embodiment of the present invention, when the slave device sends a request to exit networking, the master device updates the networking candidate data and redetermines the networking control relationship after releasing the corresponding communication resources, including:
[0173] The slave device sends a quit request to the master device, wherein the quit request includes the current task status of the device, the communication resource occupancy and the quit reason;
[0174] According to the exit application, the master device releases the corresponding communication channel and bandwidth resources and generates a resource release result;
[0175] Adjust the network topology structure according to the resource release result, update the networking candidate data, and generate updated networking candidate data;
[0176] According to the updated networking candidate data, the networking control relationship data is updated, and the updated networking status is broadcast to all devices.
[0177] In an embodiment of the present invention, in the scenario where the slave device actively exits the networking, the method ensures the stability and continuity of the networking through an efficient resource release and topology adjustment mechanism. When the slave device sends an exit application, its exit status data includes the completion status of the current task and the unfinished resource usage information. After receiving the exit application, the master device first reclaims the communication resources and task resources occupied by the exiting device through the resource release module.
[0178] By updating the communication resource status in real time, the master device reallocates the recovered resources to other devices and adjusts the network topology according to the updated resource status. During the topology adjustment process, the master device re-screens the remaining devices and updates the networking candidate data to ensure that the system's resource allocation and task execution are not affected by the exiting device.
[0179] After completing resource release and topology update, the master device synchronizes the latest networking control relationship to all devices through the broadcast protocol to ensure that all devices can understand the changes in networking status in real time. This method not only maintains the stability of the network through dynamic resource management and topology adjustment, but also improves the flexibility of resource allocation and the adaptability of the system.
[0180] More specifically, the network topology is adjusted according to the resource release result, and the networking candidate data is updated to generate updated networking candidate data, including:
[0181] When a slave device sends a request to exit the network, the system processes the resource release operation of the device through the resource management module. Specifically, it includes:
[0182] The slave device sends the completion status of the current task before exiting, including completed task data and a list of unfinished tasks.
[0183] After receiving the exit request, the master device analyzes the task priority and remaining task amount of the device to determine the task reallocation strategy.
[0184] The master device releases the channel resources and bandwidth resources occupied by the exiting device from the communication channel configuration table.
[0185] The released communication resources are re-marked as "available" for use by other devices.
[0186] The system records the resource release status of the exiting device, including the released channel number, bandwidth parameters and unfinished task information, providing a basis for subsequent adjustments.
[0187] After the resources are released, the system dynamically adjusts the network topology according to the current network status to ensure the normal operation of other devices. The specific steps are as follows:
[0188] The system redefines the control relationship between the master and slave devices based on the task priorities and communication requirements of the remaining devices. For example, the suboptimal device is promoted to the auxiliary control role to share the pressure of the master device.
[0189] For unfinished tasks of the exiting device, the system reallocates them to other slave devices through the task allocation module, giving priority to high-priority devices.
[0190] At the same time, adjust the execution time of the assigned tasks to ensure the integrity of the task chain.
[0191] The system adjusts the connection relationship between devices and optimizes the topology according to the physical location and communication capabilities of the devices. For example, for devices that are far away, intermediate devices can be introduced as communication relay nodes to improve communication efficiency.
[0192] After the network topology adjustment is completed, the system updates the network candidate data to reflect the changes in the current network status. The update content includes:
[0193] The communication capabilities and task status of the remaining devices.
[0194] Channel and bandwidth allocation after release.
[0195] Device priority reordering results.
[0196] These networking candidate data are stored in the networking management module and synchronized to all slave devices through the master device to ensure that the devices in the system have a unified perception of the current networking status.
[0197] Finally, the system integrates all adjusted device information, task status, and resource allocation to generate new network candidate data. The newly generated data includes:
[0198] Available device data: records all devices in the current network and their status.
[0199] Communication resource allocation table: contains the latest channel allocation, bandwidth utilization and interference status.
[0200] Priority sorting: Re-sort devices based on their remaining power, computing power, and task requirements to provide a reference for subsequent networking.
[0201] Through the above steps, the present invention dynamically maintains the stability of the networking through resource release and network topology adjustment when a slave device exits, and provides flexible scalability for the subsequent joining or exiting of devices.
[0202] In a preferred embodiment of the present invention, when the master device exits, the device with the highest priority is selected from the devices to automatically take over the control role and complete the reconstruction of the networking control relationship, including:
[0203] The master device broadcasts exit notification data before exiting, wherein the exit notification data includes current networking state data and communication resource allocation data;
[0204] After receiving the exit notification data from the device, the device priority score is recalculated according to the networking status data and its own priority score to generate a priority score sorting result;
[0205] Select the device with the highest priority score from the priority score sorting results as the new master device, and take over the control task of the master device to generate a task takeover result;
[0206] According to the task takeover result, the communication channel allocation data and networking status data are updated, and the updated networking status data is broadcast to all slave devices.
[0207] In the embodiment of the present invention, when the master device exits, the slave device can quickly take over the tasks and control roles of the master device through priority sorting and dynamic role switching mechanism. This method broadcasts the current networking status data and communication channel allocation data to all slave devices through the notification mechanism before the master device exits. The slave device recalculates its own comprehensive priority score based on the received data and the priority calculation module.
[0208] The slave device with the highest priority score automatically switches to the new master device through the takeover module and takes over the control role of the master device. During the takeover process, the new master device redefines the role relationship between slave devices through the networking relationship update module and dynamically adjusts the communication resource allocation plan to adapt to new networking requirements.
[0209] After the role switching is completed, the new master device synchronizes the latest networking control relationship data to all slave devices through the broadcast protocol to ensure the stability of the network and the continuity of the task. Through the automated role switching mechanism, this method effectively improves the system's fault tolerance and dynamic adaptability, especially in the case of unexpected exit of the master device or task interruption, ensuring the high reliability of the system.
[0210] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A self-discovery self-organizing network control method based on Hongmeng operating system, characterized in that: The method comprises: Based on the Hongmeng operating system, extract the identification information and communication parameters of the device from each device to be networked, wherein the identification information includes the hardware identifier and device category label of the device, and the communication parameters include the communication protocol version and the maximum supported bandwidth of the device; According to the device identification information and communication parameters, the compatibility of the communication protocol versions and the maximum supported bandwidth between the devices is judged, and the initial networking candidate data is generated for the devices that meet the communication compatibility conditions; According to the initial networking candidate data, combined with the device category label and the preset priority rule, the device control role data is defined to generate the networking control relationship data, wherein the device control role data includes the master device identification and the slave device identification, wherein the preset priority rule is sorted according to the device remaining power data, computing power data and task execution demand intensity data; According to the networking control relationship data, combined with the task requirements and network bandwidth information of the device, a distributed channel allocation algorithm is used to dynamically allocate communication resources to each device to generate communication channel allocation data. The communication resources include transmission channels and bandwidth allocation parameters. The distributed channel allocation algorithm is based on real-time bandwidth monitoring results and avoids channel interference between devices by reducing channel overlap allocation. According to the communication channel allocation data, a lightweight data synchronization protocol is used to periodically synchronize the resource status of each device to generate networking status data, which includes the connection status of the device, the remaining communication resources, and the task execution status; According to the networking status data, when the slave device sends a request to exit the networking, the master device updates the networking candidate data and redetermines the networking control relationship after releasing the corresponding communication resources; when the master device exits, the slave device with the highest priority is selected to automatically take over the control role and complete the reconstruction of the networking control relationship.
2. According to claim 1, a self-discovery self-organizing network control method based on Hongmeng operating system is characterized in that: The compatibility judgment of the communication protocol versions and the maximum supported bandwidth between the devices is performed according to the device identification information and the communication parameters, and the initial networking candidate data is generated for the devices that meet the communication compatibility conditions, including: Extract the communication protocol version, maximum supported bandwidth and physical communication rate of each device based on the device identification information and communication parameters, and generate initial communication capability data; According to the initial data of communication capability, the communication protocol version is matched according to the preset protocol version priority strategy, the communication performance of the device is screened, and the protocol version matching result is generated; According to the protocol version matching results, analyze the device combinations with overlapping bandwidth ranges, eliminate devices with insufficient communication bandwidth, and generate preliminary device screening data; Based on the preliminary device screening data and combined with the communication distance constraints, devices that can be supported by the physical distance are screened to generate initial networking candidate data.
3. According to claim 2, a self-discovery self-organizing network control method based on Hongmeng operating system is characterized in that: The method of defining device control role data and generating networking control relationship data based on the initial networking candidate data in combination with device category labels and preset priority rules includes: According to the device category labels in the initial networking candidate data, devices that meet specific networking requirements are screened out to generate device category screening data; Calculate the priority score of the device based on the remaining power data of the device, the computing power data, and the task execution demand intensity data, and generate the device priority score data; According to the device category screening data and device priority score data, the device with the highest priority score is selected as the primary device, and the other devices are selected as the secondary devices; Define the role relationship between the master device and the slave device, generate networking control relationship data, and assign auxiliary control roles to slave devices with higher task requirements through a hierarchical mechanism to generate networking control relationship data.
4. According to claim 3, a self-discovery self-organizing network control method based on Hongmeng operating system is characterized in that: The calculation formula of the device priority score is: ,in, is the priority score of the device, The current remaining power of the device. is the maximum power of the device, is the adjustment coefficient, is the proportion of the device's current task's computing capacity occupied by it, is the remaining execution time of the device’s current task, is the longest remaining time of the current task in the networking system, is the priority score of the current task, is the load of the current task of the device, is the maximum load capacity of the equipment, is the current computing power of the device, is the maximum computing capability of the devices in the system, is the signal strength of the device, , , , and is the weight coefficient.
5. According to claim 4, a self-discovery self-organizing network control method based on Hongmeng operating system is characterized in that: The priority score of the current task The calculation formula is: , is the data volume required for the current task, is the total data volume of all tasks in the networking system, is the resource requirement of the current task, is the maximum allocatable resource capacity in the networking system. is the reference threshold of task resource requirements, , and is the weight coefficient, is the adjustment coefficient.
6. According to claim 5, a self-discovery self-organizing network control method based on Hongmeng operating system is characterized in that: The method of dynamically allocating communication resources to each device using a distributed channel allocation algorithm based on the networking control relationship data, combined with the task requirements and network bandwidth information of the device, and generating communication channel allocation data includes: Monitor the load status and interference intensity of each communication channel in real time and generate network bandwidth information; According to the device task requirements and network bandwidth information in the networking control relationship data, the optimal bandwidth requirements of each device are calculated, and bandwidth resources are allocated to the device according to the device priority score to generate the communication resource allocation result; According to the communication resource allocation results, the channel occupancy between devices is adjusted, the communication channel allocation data is generated, and the channel interference status is updated after the dynamic allocation is completed.
7. A self-discovery self-organizing network control method based on Hongmeng operating system according to claim 6, characterized in that: The calculation formula for the optimal bandwidth requirement of the device is: ,in, To assign to a device bandwidth, For equipment The basic bandwidth requirement of the current task, For equipment The task priority score of the current task, For equipment The device priority score, For equipment The interference strength of the current channel, is the maximum interference intensity in the system, is the adjustment coefficient, is the total available bandwidth of the system. For the The basic bandwidth requirement of the current task of each device, For the The task priority score of the current task of each device, For equipment The device priority score, The total number of devices that allocate bandwidth in the current networking system. is the weight coefficient.
8. The self-discovery self-organizing network control method based on Hongmeng operating system according to claim 7 is characterized in that: The method of allocating data according to the communication channel and periodically synchronizing the resource status of each device using a lightweight data synchronization protocol to generate networking status data includes: According to the communication channel allocation data, the current connection status, remaining communication resources and task execution progress information of the slave device are extracted to generate initial resource status data; The master device uses the broadcast protocol to send synchronization request packets to all slave devices, along with communication channel allocation data; According to the synchronization request data packet and the communication channel allocation data, the slave device compares its own resource status data to generate difference status data, and feeds back the difference status data to the master device to generate a resource status feedback result; According to the resource status feedback results, the master device summarizes the resource status data of all devices, generates networking status data, and broadcasts it to all devices to complete synchronization.
9. A self-discovery self-organizing network control method based on Hongmeng operating system according to claim 8, characterized in that: When the slave device sends a request to exit the networking, the master device updates the networking candidate data and redetermines the networking control relationship after releasing the corresponding communication resources, including: The slave device sends a quit request to the master device, wherein the quit request includes the current task status of the device, the communication resource occupancy and the quit reason; According to the exit application, the master device releases the corresponding communication channel and bandwidth resources and generates a resource release result; Adjust the network topology structure according to the resource release result, update the networking candidate data, and generate updated networking candidate data; According to the updated networking candidate data, the networking control relationship data is updated, and the updated networking status is broadcast to all devices.
10. A self-discovery self-organizing network control method based on Hongmeng operating system according to claim 9, characterized in that: When the master device exits, the device with the highest priority is selected from the devices to automatically take over the control role and complete the reconstruction of the network control relationship, including: The master device broadcasts exit notification data before exiting, wherein the exit notification data includes current networking state data and communication resource allocation data; After receiving the exit notification data from the device, the device priority score is recalculated according to the networking status data and its own priority score to generate a priority score sorting result; Select the device with the highest priority score from the priority score sorting results as the new master device, and take over the control task of the master device to generate a task takeover result; According to the task takeover result, the communication channel allocation data and networking status data are updated, and the updated networking status data is broadcast to all slave devices.
Citation Information
Patent Citations
LoRaWAN ad-hoc network equipment
CN106455134A
Equipment networking method, electronic equipment and equipment networking system
CN112954819A
Equipment networking method, control equipment and Internet of Things system
CN113872782A
Multi-device intercommunication scene supervision system for network networking
CN117896237A
Autonomous decentralized wireless ad hoc network communication method, device, equipment and medium
CN118265025A
Cited By
Development experiment box multi-device cooperative control method based on open-source gap system
CN120596231A
A multi-device cooperative control method based on an open-source honkong system development experiment box
CN120596231B
Community intelligent operation resource monitoring and scheduling method and system based on open source gap
CN122114576A
Multi-terminal cooperative emergency broadcast transmission control method, system and equipment
CN122179255A