Data communication method, device and electronic equipment based on multi-channel hub
By dynamically adjusting power distribution through multi-channel hubs and optimizing communication paths through an AI system, the problem of low communication efficiency between hubs and target device clusters was solved, achieving efficient and stable communication and device operation.
Patent Information
- Application Number
- CN202511141746.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2045-08-15
AI Technical Summary
The communication efficiency between the hub and the target device cluster is low, mainly due to the decrease in signal strength caused by increased distance or environmental factors, which affects communication quality and efficiency.
A multi-channel hub is used to communicate with the target device via a wireless network, dynamically adjusting power distribution to optimize signal strength. Combined with an AI system, a communication center and managed target device are selected to establish a link-based communication system, optimizing power distribution and communication paths.
It improves the communication efficiency and stability between the hub and the target device cluster, extends the working time and operating range of the equipment, adapts to complex environments, and enhances the operational flexibility of the system.
Smart Images

Figure CN120916233B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data communication method, apparatus, and electronic device based on a multi-channel hub. Background Technology
[0002] Currently, common communication protocols between hubs and target device clusters in ground control stations include MAVLink, designed specifically for small target devices, and custom IP-based protocols, which need to support low latency and high reliability. The primary communication method between hubs and target device clusters is direct communication, where information can be exchanged directly via radio waves when the target device and hub are close. This mode offers low latency but is limited by communication distance and channel interference. However, wireless communication between target devices and hubs may encounter signal strength degradation due to increased distance or environmental factors, directly impacting communication quality and efficiency, resulting in relatively low communication efficiency between hubs and target device clusters. Summary of the Invention
[0003] The purpose of this invention is to provide a data communication method, apparatus, and electronic device based on a multi-channel hub, so as to solve the technical problem of low communication efficiency between the hub and the target device.
[0004] In a first aspect, this application provides a data communication method based on a multi-channel hub, wherein the multi-channel hub communicates with a device group comprising multiple target devices via a wireless network; the method includes:
[0005] In response to the actual distance between the multi-channel hub and a first object device among the plurality of object devices being greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the first object device being lower than a first specified signal strength, the system dynamically adjusts the power allocated to the first running task from the total power corresponding to the first object device, increasing the power allocated to the first running task and prioritizing its allocation to the first running task, so that the actual wireless communication signal strength is higher than or equal to the specified signal strength, and correspondingly dynamically adjusts the power allocated to the second running task from the total power, decreasing the power allocated to the second running task; the first running task is used to run the wireless communication between the first object device and the multi-channel hub; the second running task is used to run the self-function of the first object device; the object devices include tower cranes and drones;
[0006] In response to the actual wireless communication signal strength between the multi-channel hub and the first target device being higher than or equal to the first specified signal strength and lower than the second specified signal strength, the power priority allocation in the first target device to the first running task is cancelled; the first specified signal strength is lower than the second specified signal strength.
[0007] In response to the actual distance between the multi-channel hub and the first target device being less than or equal to the specified distance and the actual wireless communication signal between the multi-channel hub and the first target device being higher than or equal to the second specified signal strength, the power allocated to the first running task in the total power is dynamically adjusted to decrease, and the power allocated to the second running task in the total power is dynamically adjusted to restore accordingly.
[0008] In one possible implementation, the multi-channel hub is equipped with an AI system; the method further includes:
[0009] From the group of devices, identify a plurality of second object devices that are closest to the multichannel hub;
[0010] For each of the plurality of second object devices, the AI system calculates the number of relay communications of the information in the device group during the process of spreading the information of the multi-channel hub to all the plurality of object devices with the second object device as the communication center of the device group;
[0011] Based on the plurality of second object devices, a plurality of relay communication counts are determined, and a target second object device with the minimum number of relay communication counts is determined from the plurality of second object devices;
[0012] The target second object device is determined as the primary object device for communication between the multi-channel hub and the device group, and the object devices other than the target second object device among the plurality of object devices are determined as secondary object devices.
[0013] In one possible implementation, the step of calculating the number of relay communications of the information in the device group during the process of disseminating information from the multi-channel hub to all the multiple object devices using the second object device as the communication center of the device group through the AI system includes:
[0014] The AI system calculates the number of relay communications of information within the device group during the process of transmitting information from the multi-channel hub to all the multiple object devices, with the second object device as the communication center of the device group, using the following formula, based on the number of object devices, the current location of the second object device within the device group, and the location distribution data among the multiple object devices:
[0015] C = ;
[0016] in, Indicates the total number of objects and devices; Indicates the first The location vector of each object device; This refers to the second object device that serves as the communication center. Indicates the second object device as the communication center. With object device Distance metric between; C Indicates from relay point The total number of relay communications during the initial information dissemination process.
[0017] In one possible implementation, after determining the target second object device as the master object device for communication between the multichannel hub and the group of devices, the method further includes:
[0018] The AI system predicts the impending location of each of the object devices to obtain the object device arrival location prediction result.
[0019] In response to the predicted arrival location of the target second object device and the distance between the object device and the multi-channel hub exceeding the specified distance, a third object device is determined from the plurality of object devices whose current location is in the communication thread between the multi-channel hub and the target second object device and is closest to the multi-channel hub;
[0020] The primary target device for communication between the multi-channel hub and the device group is dynamically adjusted from the target second target device to the third target device, and the target devices other than the third target device among the multiple target devices are identified as secondary target devices.
[0021] In one possible implementation, the method further includes:
[0022] In response to a location lookup command for the multi-channel hub, the actual wireless communication signal strength corresponding to each target device in the device group and the distribution position of each target device in the device group are detected; wherein, the higher the actual wireless communication signal strength, the closer the corresponding target device is to the multi-channel hub.
[0023] The location data of the multi-channel hub relative to the device group is determined based on the actual wireless communication signal strength corresponding to each of the object devices and the distribution location corresponding to each of the object devices, so as to use the device group to reversely find the location of the multi-channel hub;
[0024] The location search command is fed back based on the location data.
[0025] In one possible implementation, the method further includes:
[0026] In response to the fact that the actual distance between the multi-channel hub and the fourth object device among the plurality of object devices is greater than the specified distance and the actual wireless communication signal strength between the multi-channel hub and the fourth object device is lower than the first specified signal strength, a plurality of fifth object devices are determined from the plurality of object devices that have an actual distance between them and the multi-channel hub that is less than the specified distance and an actual wireless communication signal strength between them and the multi-channel hub that is higher than the first specified signal strength;
[0027] From the plurality of fifth object devices, a target fifth object device that is closest to the fourth object device is determined, and the target fifth object device is determined as the managed object device corresponding to the fourth object device, so that the wireless communication between the fourth object device and the multi-channel hub is managed by the target fifth object device.
[0028] The target fifth object device receives first communication data sent by the multi-channel hub between itself and the fourth object device and transmits the first communication data to the fourth object device; and the target fifth object device receives second communication data sent by the fourth object device between itself and the multi-channel hub and transmits the second communication data to the multi-channel hub.
[0029] In one possible implementation, after determining the target fifth object device as the managed object device corresponding to the fourth object device, the method further includes:
[0030] In response to the actual distance between the multi-channel hub and the target fifth object device being greater than the specified distance and the actual wireless communication signal strength between the multi-channel hub and the target fifth object device being lower than the first specified signal strength, a target sixth object device that is closest to the target fifth object device is determined from a plurality of sixth object devices whose actual distance to the multi-channel hub is less than the specified distance and whose actual wireless communication signal strength to the multi-channel hub is higher than the first specified signal strength, and the target sixth object device is determined as the managed object device corresponding to the target fifth object device, so that the wireless communication between the target fifth object device and the multi-channel hub is managed by the target sixth object device;
[0031] A link-based delivery communication system is formed between the multi-channel hub and the fourth object device based on the fourth object device, the fifth object device, the sixth object device, and several managed object devices corresponding to the sixth object device, so as to extend the wireless network communication distance range between the multi-channel hub and the device group through the link-based delivery communication system.
[0032] Secondly, this application provides a data communication device based on a multi-channel hub, wherein the multi-channel hub communicates with a device group comprising multiple target devices via a wireless network; the device includes:
[0033] A first adjustment module is configured to, in response to a situation where the actual distance between the multi-channel hub and a first object device among the plurality of object devices is greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the first object device is lower than a first specified signal strength, control the dynamic adjustment of increasing the power allocated to the first running task from the total power corresponding to the first object device and prioritizing its allocation to the first running task, so that the actual wireless communication signal strength is higher than or equal to the specified signal strength, and correspondingly dynamically adjust the power allocated to the second running task from the total power; the first running task is used to run the wireless communication between the first object device and the multi-channel hub; the second running task is used to run the self-function of the first object device;
[0034] The control module is configured to control the cancellation of the priority allocation of power in the first target device to the first running task in response to the actual wireless communication signal strength between the multi-channel hub and the first target device being higher than or equal to the first specified signal strength and lower than the second specified signal strength; where the first specified signal strength is lower than the second specified signal strength.
[0035] The second adjustment module is used to respond to the actual distance between the multi-channel hub and the first target device being less than or equal to the specified distance and the actual wireless communication signal between the multi-channel hub and the first target device being higher than or equal to the second specified signal strength, by controlling the dynamic adjustment of the power allocated to the first running task in the total power to decrease, and correspondingly dynamically adjusting the power allocated to the second running task in the total power to recover.
[0036] Thirdly, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described in the first aspect above.
[0037] Fourthly, this application also provides a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method described in the first aspect above.
[0038] This application brings the following beneficial effects:
[0039] This application provides a data communication method, apparatus, and electronic device based on a multi-channel hub. Responding to a situation where the actual distance between the multi-channel hub and a first target device among a plurality of target devices is greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the first target device is lower than a first specified signal strength, the method dynamically adjusts the power allocated to a first running task from the total power corresponding to the first target device, increasing and prioritizing allocation to the first running task, so that the actual wireless communication signal strength is higher than or equal to the specified signal strength. Correspondingly, the method also dynamically adjusts the power allocated to a second running task from the total power. The first running task is used to run the wireless communication between the first target device and the multi-channel hub; the second running task is used for… The system operates the functions of the first target device; in response to the actual wireless communication signal strength between the multi-channel hub and the first target device being higher than or equal to the first specified signal strength and lower than the second specified signal strength, it controls the cancellation of the priority allocation of power in the first target device to the first running task; the first specified signal strength is lower than the second specified signal strength; in response to the actual distance between the multi-channel hub and the first target device being less than or equal to the specified distance and the actual wireless communication signal strength between the multi-channel hub and the first target device being higher than or equal to the second specified signal strength, it controls the dynamic adjustment of reducing the power allocated to the first running task from the total power, and correspondingly dynamically adjusting the power allocated to the second running task from the total power to restore it.In this solution, when the actual distance between the target device and the hub is greater than a specified distance and the actual wireless communication signal strength is lower than a first specified signal strength, the power allocated to the first operational task for maintaining communication with the hub is increased first to enhance signal strength and ensure communication quality. If the signal strength is between the first and second specified signal strengths, the power allocated to the first operational task is cancelled, thereby balancing the needs of its own functional operation and communication with the outside world. Furthermore, when the target device is close to the hub (i.e., the actual distance is less than or equal to the specified distance) and the signal strength is strong enough (higher than or equal to the second specified signal strength), the power allocation for communication is reduced, and more power is reallocated to its own functional operation tasks, thereby improving its own operational efficiency. By intelligently and dynamically managing the power on the target device, the solution adjusts the power allocation according to different communication conditions. By flexibly adjusting the power allocation ratio according to the specific conditions and operational needs of the hub, the necessary communication quality can be guaranteed while effectively utilizing limited energy resources to extend the operating time of the hub or complete more of its own functional tasks. This method can effectively improve the communication efficiency and stability between the hub and the target devices, especially in long-distance or high-interference situations. Simultaneously, reasonable power allocation can also improve the working efficiency of the target devices, reduce energy consumption, and increase the operating range and duration. Therefore, this solution, by intelligently adjusting the power allocation for different tasks on the target devices, maximizes the working efficiency of the target devices while ensuring communication quality, thereby improving the overall communication efficiency and operational flexibility of the hub and target device cluster, and solving the technical problem of low communication efficiency between the hub and target device cluster.
[0040] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0042] Figure 1 A flowchart illustrating the data communication method based on a multi-channel hub provided in this application embodiment;
[0043] Figure 2 Another schematic diagram of the data communication method based on a multi-channel hub provided in the embodiments of this application;
[0044] Figure 3 A schematic diagram of a data communication device based on a multi-channel hub is provided for an embodiment of this application;
[0045] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0047] The terms "comprising" and "having," and any variations thereof, used in the embodiments of this application, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0048] Currently, communication efficiency between hubs and target devices is low. Therefore, this application provides a data communication method, apparatus, and electronic device based on a multi-channel hub, which solves the technical problem of low communication efficiency between hubs and target devices.
[0049] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0050] Figure 1 This is a flowchart illustrating a data communication method based on a multi-channel hub, provided as an embodiment of this application. The multi-channel hub communicates with a device group containing multiple target devices via a wireless network. Figure 1 As shown, the method includes:
[0051] In step S110, in response to the actual distance between the multi-channel hub and the first object device among the multiple object devices being greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the first object device being lower than a first specified signal strength, the power allocated to the first running task in the total power corresponding to the first object device is increased and preferentially allocated to the first running task, so that the actual wireless communication signal strength is higher than or equal to the specified signal strength, and the power allocated to the second running task in the total power is decreased accordingly.
[0052] It should be noted that the first task is used to run the wireless communication between the first target device and the multi-channel hub; the second task is used to run the functions of the first target device itself. The aforementioned target devices include tower cranes and drones.
[0053] For example, the system continuously monitors the actual distance and wireless communication signal strength between the multi-channel hub and the first target device. If the actual distance is greater than a specified distance and the actual wireless communication signal strength is lower than a first specified signal strength, the system proceeds to the next step, dynamically increasing the power allocated to the first operating task (i.e., the task used to maintain wireless communication with the hub) to enhance the signal strength to at least the first specified signal strength. Correspondingly, the power allocated to the second operating task (i.e., the task used for the first target device's own functions) is reduced to ensure the total power remains manageable. Based on the power adjustment decision, the power allocation ratio on the first target device is reconfigured. Specifically, more power is directed to support the first operating task (improving communication quality), while relatively less power is reserved for the second operating task (which may reduce its own functional performance but ensures necessary operation). After the power adjustment, the system continues to monitor whether the communication signal strength achieves the expected effect (i.e., the actual wireless communication signal strength is higher than or equal to the first specified signal strength). If the signal strength does not meet expectations, the system may need to further adjust the power allocation strategy; if the requirements are met, the current settings are maintained. If communication conditions improve (for example, when the target device is closer to the hub or changes in environmental factors lead to increased signal strength), the system may automatically revert to the previous power distribution mode, or reassess and adjust the power distribution based on new conditions.
[0054] By employing this dynamic management and intelligent adjustment of power allocation, the system can optimize the performance of target devices while maintaining necessary communication quality and efficiency. This method is particularly suitable for situations where there are variations in distance or communication barriers between individual members of a device group and the control center.
[0055] In step S120, in response to the actual wireless communication signal strength between the multi-channel hub and the first target device being higher than or equal to the first specified signal strength and lower than the second specified signal strength, the power priority allocation in the first target device to the first running task is cancelled.
[0056] In practical applications, the first specified signal strength is lower than the second specified signal strength.
[0057] As one possible implementation, the actual wireless communication signal strength between the multi-channel hub and the first target device is continuously monitored. It is determined whether the actual wireless communication signal strength meets the following criteria: higher than or equal to a first specified signal strength and lower than a second specified signal strength. Here, it is assumed that the first specified signal strength is a lower threshold to ensure basic communication quality, while the second specified signal strength is a higher threshold representing ideal communication conditions. If the condition is met (i.e., the actual signal strength is between the two thresholds), the previous power priority allocation strategy for the first running task (used to maintain wireless communication with the hub) is cancelled. This means the system will no longer specifically increase the power of this task to improve signal strength. Based on the above decision, the power allocation ratio on the first target device is reconfigured so that the first running task no longer enjoys priority power supply. This may result in a more even distribution of power across all tasks, including but not limited to the first and second running tasks (such as the target device's own functional operation control). After the power adjustment, the system continues to monitor changes in the communication signal strength to ensure that the adjusted settings do not cause the signal strength to drop to an unacceptable level. If the signal strength drops significantly, approaching or falling below a first specified signal strength, the system may need to reconsider its power allocation strategy, or even re-implement the strategy of prioritizing power allocation to the first running task. If, after adjustment, communication remains stable and the signal strength remains between the two specified signal strengths, the system can maintain its current power allocation mode. If, due to environmental changes or device movement, the signal strength further increases to above a second specified signal strength, the system may fully revert to normal operation without requiring special attention to power allocation optimization to improve communication quality.
[0058] This mechanism allows the system to minimize power allocation to specific tasks while ensuring necessary communication quality, thereby maximizing resource utilization efficiency. This approach helps balance the various operational needs of the target device and adapt to different working environments and conditions.
[0059] In step S130, in response to the actual distance between the multi-channel hub and the first target device being less than or equal to a specified distance and the actual wireless communication signal between the multi-channel hub and the first target device being higher than or equal to a second specified signal strength, the power allocated to the first running task in the total power is controlled to decrease, and the power allocated to the second running task in the total power is controlled to recover accordingly.
[0060] In this embodiment, when the actual distance between the target device and the hub is greater than a specified distance and the actual wireless communication signal strength is lower than a first specified signal strength, the power allocated to the first operating task for maintaining communication with the hub is preferentially increased to enhance signal strength and ensure communication quality. If the signal strength is between the first and second specified signal strengths, the power preferentially allocated to the first operating task is cancelled, thereby balancing the needs of its own functional operation and communication. Moreover, when the target device is close to the hub (i.e., the actual distance is less than or equal to the specified distance) and the signal strength is strong enough (higher than or equal to the second specified signal strength), the power allocation for communication is reduced, and more power is reallocated to its own functional operating tasks, thereby improving its own functional operating efficiency. By intelligently and dynamically managing the power on the target device, the power allocation is adjusted according to different communication conditions. By flexibly adjusting the power allocation ratio according to the conditions and functional requirements of the hub, the necessary communication quality can be guaranteed while effectively utilizing limited energy resources to extend the operating time of the hub or complete more of its own functional tasks. This method can effectively improve the communication efficiency and stability between the hub and the target device, especially in the case of long distances or significant signal interference. At the same time, reasonable power allocation can also improve the working efficiency of the target device, reduce energy consumption, and increase the operating range and duration. Therefore, by intelligently adjusting the power allocation of different tasks on the target device, this solution maximizes the working efficiency of the target device while ensuring communication quality, thereby improving the overall communication efficiency and operational flexibility of the hub and the target device cluster, and solving the technical problem of low communication efficiency between the hub and the target device cluster.
[0061] In some embodiments, the multi-channel hub is equipped with an AI system; such as Figure 2 As shown, the method may further include the following steps:
[0062] Step S210: Identify the multiple second object devices from the device group that are closest to the multichannel hub;
[0063] Step S220: For each of the multiple second object devices, the AI system calculates the number of relay communications of information in the device group during the process of spreading and transmitting information from the multi-channel hub to all multiple object devices with the second object device as the communication center of the device group.
[0064] Step S230: Determine multiple relay communication times based on multiple second object devices, and determine the target second object device with the minimum number of relay communication times from among the multiple second object devices;
[0065] Step S240: The target second object device is determined as the primary object device for communication between the multi-channel hub and the device group, and the object devices other than the target second object device among the multiple object devices are determined as secondary object devices.
[0066] By selecting the object device closest to the hub and capable of serving as the communication center (i.e., the target second object device), the number of relays of information from the hub to each object device is minimized. This helps reduce the risk of information delay and distortion caused by multiple relays. Moreover, the selected primary object device (target second object device), due to its location advantage (usually closer to the hub), can provide a more stable and reliable communication link, especially in complex environments or long-distance operation scenarios. Furthermore, by dividing the entire device group into one primary object device and multiple secondary object devices, a hierarchical communication architecture is formed. This structure facilitates centralized management and allocation of communication resources, avoiding channel congestion problems that may occur if all object devices communicate directly with the hub, thereby improving the efficiency and response speed of the entire network.
[0067] In some embodiments, the above-mentioned calculation of the number of relay communications of information in the device group during the process of disseminating information from the multi-channel hub to all multiple object devices by using the second object device as the communication center of the device group through the AI system may specifically include the following steps:
[0068] Based on the number of multiple object devices, the current location of the second object device in the device group, and the location distribution data among the multiple object devices, the AI system uses the following formula to calculate the number of relay communications in the device group when the second object device acts as the communication center to spread information from the multi-channel hub to all multiple object devices:
[0069] C = ;
[0070] in, Indicates the total number of objects and devices; Indicates the first The location vector of each object device; This refers to the second object device that serves as the communication center. Indicates the second object device as the communication center. With object device Distance metric between; C Indicates from relay point The total number of relay communications during the initial information dissemination process.
[0071] In this embodiment of the application, the calculation method of the above formula is used based on the number of multiple object devices, the current position of the second object device in the device group, and the position distribution data among the multiple object devices, so that the calculated information on the number of relay communications in the device group is more accurate.
[0072] In some embodiments, after determining the target second object device as the primary object device for communication between the multichannel hub and the device group, the method may further include the following steps:
[0073] The AI system predicts the upcoming location of each object device, thus obtaining the object device arrival location prediction result;
[0074] In response to the prediction result of the current position of the target second object device being more than a specified distance from the multi-channel hub, a third object device is determined from multiple object devices whose current position is in the communication thread between the multi-channel hub and the target second object device and is closest to the multi-channel hub;
[0075] The primary target device for communication between the multi-channel hub and the device group is dynamically adjusted from the target second target device to the third target device, and the target devices other than the third target device among the multiple target devices are identified as secondary target devices.
[0076] In this embodiment, when it is predicted that the target second object device (the originally determined optimal communication relay point) is about to fly away to a location beyond a specified distance, which may affect its effectiveness as a communication center, the system can automatically identify and select a new object device (a third object device) at an optimal location to replace the original target second object device. This ensures that no matter how the object device moves, the system can always maintain a most effective communication link.
[0077] By monitoring and predicting the location of target devices in real time and dynamically adjusting the communication structure based on this information, communication interruptions or efficiency reductions caused by the relocation of a single device can be avoided. This is particularly suitable for tasks requiring stable communication over extended periods, such as continuous monitoring and data collection. Furthermore, this solution enhances the adaptability of the target device network, enabling it to automatically adjust to maintain optimal operating conditions in complex and changing environments. Whether dealing with unexpected situations or planned task changes, the system can respond flexibly, ensuring that communication quality and efficiency remain unaffected.
[0078] In some embodiments, the method may further include the following steps:
[0079] In response to a location lookup command for a multi-channel hub, the actual wireless communication signal strength of each target device in the device group and the distribution position of each target device in the device group are detected; wherein, the higher the actual wireless communication signal strength, the closer the corresponding target device is to the multi-channel hub.
[0080] The location data of the multi-channel hub relative to the device group is determined based on the actual wireless communication signal strength of each target device and the distribution location of each target device, so as to use the device group to find the location of the multi-channel hub in reverse; and the location search command is fed back based on the location data.
[0081] By collecting the actual wireless communication signal strength of each object device in the device group and combining it with their distribution location, the position of the multi-channel hub relative to the device group can be estimated more accurately. This is because wireless signal strength is generally inversely proportional to distance; that is, a stronger signal indicates a closer distance. Therefore, the position of the multi-channel hub can be inferred by analyzing the signal strength received by each object device. Moreover, this method does not rely on specific hardware (such as GPS) for positioning but utilizes the existing wireless communication link status as an information source, thus having greater adaptability. This method is particularly suitable for scenarios where traditional positioning devices cannot be installed or used, or in complex, enclosed environments (such as indoors, forests, etc.), where traditional GPS positioning may fail or be insufficiently accurate.
[0082] Because positioning is based on a comprehensive assessment of data from multiple target devices, the overall positioning capability of the system will not be severely affected even if the data from some target devices is unreliable or lost. This redundancy design improves the stability and robustness of the entire system. Furthermore, as the device cluster moves, the system can update the estimation of the multi-channel hub's location in real time, ensuring that the latest location information is available at all times. This is particularly important for applications requiring continuous monitoring and rapid response.
[0083] In some embodiments, the method may further include the following steps:
[0084] In response to the fact that the actual distance between the multi-channel hub and the fourth object device among the multiple object devices is greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the fourth object device is lower than a first specified signal strength, a plurality of fifth object devices are determined from the multiple object devices that have an actual distance between them and the multi-channel hub that is less than a specified distance and an actual wireless communication signal strength between them and the multi-channel hub that is higher than a first specified signal strength.
[0085] From multiple fifth object devices, determine the target fifth object device that is closest to the fourth object device, and identify the target fifth object device as the managed object device corresponding to the fourth object device, so that the wireless communication between the fourth object device and the multi-channel hub is managed by the target fifth object device.
[0086] The fifth target device receives first communication data between itself and the fourth target device sent by the multi-channel hub and transmits the first communication data to the fourth target device; the fifth target device also receives second communication data between itself and the multi-channel hub sent by the fourth target device and transmits the second communication data to the multi-channel hub.
[0087] In this embodiment, when the fourth target device cannot communicate effectively with the multi-channel hub due to excessive distance or weak signal, the system can automatically identify and select a fifth target device with a better location and stronger signal as the managed target device, thereby ensuring the stability and reliability of data transmission.
[0088] By utilizing other object devices as relay nodes, the communication range between the device cluster and the multi-channel hub can be effectively extended. Even if some object devices are outside the direct communication range of the multi-channel hub, they can still exchange data effectively through a series of relay object devices. This method can dynamically adjust the communication path based on the current network status, selecting the most suitable object device to act as the hosting device. This not only ensures communication quality but also avoids unnecessary energy consumption and resource waste, as the hosting mechanism is only activated when actually needed.
[0089] Furthermore, in complex environments (such as densely built-up urban areas or rugged terrain), direct wireless communication may encounter obstacles that cause signal attenuation. By flexibly selecting hosting devices, these physical obstacles can be overcome, maintaining the continuity of the communication link.
[0090] In some embodiments, after determining the target fifth object device as the managed object device corresponding to the fourth object device, the method may further include the following steps:
[0091] In response to the fact that the actual distance between the multi-channel hub and the target fifth object device is greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the target fifth object device is lower than a first specified signal strength, the target sixth object device that is closest to the target fifth object device is determined from a plurality of sixth object devices that are less than the specified distance from the multi-channel hub and have an actual wireless communication signal strength higher than the first specified signal strength, and the target sixth object device is determined as the managed object device corresponding to the target fifth object device, so that the wireless communication between the target fifth object device and the multi-channel hub is managed by the target sixth object device;
[0092] A link-based delivery communication system is formed between the multi-channel hub and the fourth object device based on the fourth object device, the fifth object device, the sixth object device, and several managed object devices corresponding to the sixth object device, so as to extend the wireless network communication distance between the multi-channel hub and the device group through the link-based delivery communication system.
[0093] In this embodiment, a relay-style communication chain can be established between target devices. Data is transmitted from a multi-channel hub to the final target device (e.g., the fourth target device) via a series of managed target devices (e.g., target fifth and sixth target devices and their corresponding managed target devices), and vice versa. This method overcomes the limitations imposed by distance and signal strength when a single target device communicates directly with the hub, significantly increasing the effective communication distance. When a node (e.g., target fifth target device) cannot maintain good communication with the hub due to distance or signal strength, the system can automatically identify and select the next optimal node (e.g., target sixth target device) as the relay point. This ensures that the communication link maintains high stability and reliability even in complex environments.
[0094] By intelligently selecting the most suitable device as the hosting node at each stage, this solution not only ensures communication quality but also avoids unnecessary energy consumption and other resource waste. This optimization is particularly important for tasks requiring long-term device operation, as it helps extend the overall operating time of the device cluster. Furthermore, this method allows the device cluster to flexibly adjust its communication structure in constantly changing environments. For example, when performing tasks requiring coverage of large areas, such as search and rescue or environmental monitoring, the system can dynamically adjust the position and role of each device based on real-time conditions to cope with terrain changes or other unforeseen circumstances.
[0095] Figure 3 A schematic diagram of a data communication device based on a multi-channel hub is provided. The multi-channel hub communicates with a device group containing multiple target devices via a wireless network. Figure 3 As shown, the data communication device 300 based on a multi-channel hub includes:
[0096] The first adjustment module 301 is configured to, in response to the actual distance between the multi-channel hub and the first object device among the plurality of object devices being greater than a specified distance and the actual wireless communication signal strength between the multi-channel hub and the first object device being lower than a first specified signal strength, control the dynamic adjustment of the power allocated to the first running task from the total power corresponding to the first object device to increase and preferentially allocate it to the first running task, so that the actual wireless communication signal strength is higher than or equal to the specified signal strength, and correspondingly dynamically adjust the power allocated to the second running task from the total power; the first running task is used to run the wireless communication between the first object device and the multi-channel hub; the second running task is used to run the self-function of the first object device;
[0097] Control module 302 is configured to control the cancellation of power priority allocation to the first running task in the first target device in response to the actual wireless communication signal strength between the multi-channel hub and the first target device being higher than or equal to the first specified signal strength and lower than the second specified signal strength; the first specified signal strength is lower than the second specified signal strength.
[0098] The second adjustment module 303 is used to respond to the actual distance between the multi-channel hub and the first target device being less than or equal to the specified distance and the actual wireless communication signal between the multi-channel hub and the first target device being higher than or equal to the second specified signal strength, by controlling the dynamic adjustment of the power allocated to the first running task in the total power to decrease, and correspondingly dynamically adjusting the power allocated to the second running task in the total power to recover.
[0099] The data communication device based on a multi-channel hub provided in this application has the same technical features as the data communication method based on a multi-channel hub provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.
[0100] An electronic device provided in this application embodiment, such as Figure 4 As shown, the electronic device 400 includes a processor 402 and a memory 401. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the steps of the method provided in the above embodiments.
[0101] See Figure 4The electronic device also includes a bus 403 and a communication interface 404. The processor 402, the communication interface 404 and the memory 401 are connected via the bus 403. The processor 402 is used to execute executable modules, such as computer programs, stored in the memory 401.
[0102] The memory 401 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 404 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network.
[0103] Bus 403 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0104] The memory 401 is used to store programs. After receiving an execution instruction, the processor 402 executes the program. The method executed by the apparatus defined by the process disclosed in any of the preceding embodiments of this application can be applied to the processor 402 or implemented by the processor 402.
[0105] Processor 402 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 402 or by instructions in software form. The processor 402 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 401, and processor 402 reads the information from memory 401 and, in conjunction with its hardware, completes the steps of the above method.
[0106] Corresponding to the above-described data communication method based on a multi-channel hub, this application embodiment also provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are invoked and executed by a processor, the computer-executable instructions cause the processor to perform the steps of the above-described data communication method based on a multi-channel hub.
[0107] The data communication device based on a multi-channel hub provided in this application embodiment can be specific hardware on the device or software or firmware installed on the device. The implementation principle and technical effects of the device provided in this application embodiment are the same as those in the foregoing method embodiments. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the foregoing method embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can all be referred to the corresponding processes in the above method embodiments, and will not be repeated here.
[0108] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0109] For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0110] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0111] In addition, the functional units in the embodiments provided in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0112] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the data communication method based on a multi-channel hub described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0113] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, if an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0114] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application; and these modifications, changes, 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. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A method for data communication based on a multi-channel hub, characterized in that, The multi-channel concentrator communicates with a device group including a plurality of object devices through a wireless network; the method comprises: in response to the actual distance between the multi-channel concentrator and a first object device in the plurality of object devices being greater than a specified distance and the actual wireless communication signal strength between the multi-channel concentrator and the first object device being lower than a first specified signal strength, controlling to dynamically adjust the power allocated to a first running task in the total power corresponding to the first object device to increase and preferentially allocated to the first running task, so that the actual wireless communication signal strength is higher than or equal to the specified signal strength, and the power allocated to a second running task in the total power is dynamically adjusted accordingly to decrease; the first running task is used to run the wireless communication between the first object device and the multi-channel concentrator; the second running task is used to run the self-function of the first object device; the object device includes a tower crane and a drone; in response to the actual wireless communication signal strength between the multi-channel concentrator and the first object device being higher than or equal to the first specified signal strength and lower than a second specified signal strength, controlling to cancel the power preferentially allocated to the first running task in the first object device; the first specified signal strength is lower than the second specified signal strength; in response to the actual distance between the multi-channel concentrator and the first object device being less than or equal to the specified distance and the actual wireless communication signal between the multi-channel concentrator and the first object device being higher than or equal to the second specified signal strength, controlling to dynamically adjust the power allocated to the first running task in the total power to decrease, and the power allocated to the second running task in the total power is dynamically adjusted accordingly to recover; the multi-channel concentrator is correspondingly provided with an AI system; the method further comprises: determining a plurality of second object devices closest to the multi-channel concentrator from the device group; for each of the plurality of second object devices, calculating, by the AI system, the number of relay communications of information of the multi-channel concentrator in the device group in the process of diffusing and transmitting the information to all the plurality of object devices with the second object device as the communication center of the device group; determining a plurality of the number of relay communications based on the plurality of second object devices, and determining a target second object device with the minimum number of relay communications from the plurality of second object devices; determining the target second object device as the main object device for communication between the multi-channel concentrator and the device group, and determining the object devices other than the target second object device in the plurality of object devices as the auxiliary object devices.
2. The method of claim 1, wherein, the number of relay communications of information of the multi-channel concentrator in the device group in the process of diffusing and transmitting the information to all the plurality of object devices with the second object device as the communication center of the device group, comprises: calculating, by the AI system, a number of times of transferring information in the device group in a process of diffusing and transmitting information of the multi-channel concentrator to all the plurality of object devices by taking the second object device as a communication center of the device group according to the number of the plurality of object devices, the current position of the second object device in the device group, and position distribution data between the plurality of object devices, by using the following formula: C = ; wherein, represents the total number of objects; represents the position vector of the th object; represents the second object device as a communication center; represents the second object device as a communication center between the object device and the object device C represents the total number of relay communications in the information diffusion process from the relay point .
3. The method of claim 1, wherein, after determining the target second object device as the main object device for communication between the multi-channel concentrator and the device group, further comprising: predicting, by the AI system, an arrival position of each of the object devices to obtain an object device arrival position prediction result; in response to a distance between the target second object device and the object device arrival position prediction result corresponding to the target second object device being greater than the specified distance, determining a third object device from the plurality of object devices, which is currently located in a communication thread between the multi-channel concentrator and the target second object device and is closest to the multi-channel concentrator; dynamically adjusting the main object device for communication between the multi-channel concentrator and the device group from the target second object device to the third object device, and determining object devices in the plurality of object devices other than the third object device as secondary object devices.
4. The method of claim 1, wherein, The method further comprises: in response to a position search instruction for the multi-channel concentrator, detecting an actual wireless communication signal strength corresponding to each of the object devices in the device group and a distribution position of each of the object devices in the device group; wherein the higher the actual wireless communication signal strength, the closer the position of the corresponding object device to the multi-channel concentrator; determining position positioning data of the multi-channel concentrator relative to the device group according to the actual wireless communication signal strength corresponding to each of the object devices and the distribution position of each of the object devices, so as to search for the position of the multi-channel concentrator by the device group in reverse; feeding back the position search instruction based on the position positioning data.
5. The method of claim 1, wherein, The method further comprises: in response to an actual distance between the multi-channel concentrator and a fourth object device in the plurality of object devices being greater than the specified distance and an actual wireless communication signal strength between the multi-channel concentrator and the fourth object device being lower than the first specified signal strength, determining a plurality of fifth object devices from the plurality of object devices, which have an actual distance to the multi-channel concentrator less than the specified distance and an actual wireless communication signal strength to the multi-channel concentrator higher than the first specified signal strength; determining a target fifth object device from the plurality of fifth object devices, which is closest to the fourth object device, and determining the target fifth object device as a hosting object device corresponding to the fourth object device, so that wireless communication between the fourth object device and the multi-channel concentrator is hosted by the target fifth object device; The target fifth object device receives the first communication data between the fourth object device and the multi-channel hub and transmits the first communication data to the fourth object device, and the target fifth object device receives the second communication data between the fourth object device and the multi-channel hub and transmits the second communication data to the multi-channel hub.
6. The method of claim 5, wherein, After determining the target fifth object device as the hosting object device corresponding to the fourth object device, the method further comprises: In response to the actual distance between the multi-channel hub and the target fifth object device being greater than the specified distance and the actual wireless communication signal strength between the multi-channel hub and the target fifth object device being lower than the first specified signal strength, determining a target sixth object device closest to the target fifth object device from a plurality of sixth object devices having an actual distance less than the specified distance from the multi-channel hub and an actual wireless communication signal strength higher than the first specified signal strength from the multi-channel hub, and determining the target sixth object device as the hosting object device corresponding to the target fifth object device, so that the wireless communication between the target fifth object device and the multi-channel hub is hosted by the target sixth object device; Based on the fourth object device, the target fifth object device, the target sixth object device, and a plurality of hosting object devices corresponding to the target sixth object device, a link-based distributed communication system between the multi-channel hub and the fourth object device is formed, so as to expand the wireless network communication distance range between the multi-channel hub and the device group through the link-based distributed communication system.
7. A multi-channel hub-based data communication apparatus, comprising: The multi-channel hub communicates with a device group comprising a plurality of object devices through a wireless network; the device comprises: The first adjusting module is configured to, in response to an actual distance between the multi-channel hub and a first object device in the plurality of object devices being greater than a specified distance and an actual wireless communication signal strength between the multi-channel hub and the first object device being lower than a first specified signal strength, control the power allocated to a first running task in the total power corresponding to the first object device to be increased and preferentially allocated to the first running task, so that the actual wireless communication signal strength is greater than or equal to the specified signal strength, and the power allocated to a second running task in the total power is correspondingly decreased; the first running task is used for running wireless communication between the first object device and the multi-channel hub; and the second running task is used for running a self-function of the first object device. The control module is configured to, in response to the actual wireless communication signal strength between the multi-channel hub and the first object device being greater than or equal to the first specified signal strength and lower than a second specified signal strength, control the power preferentially allocated to the first running task in the first object device to be cancelled; the first specified signal strength is lower than the second specified signal strength. a second adjusting module, configured to, in response to the actual distance between the multi-channel hub and the first object device being less than or equal to the specified distance and the actual wireless communication signal between the multi-channel hub and the first object device being higher than or equal to the second specified signal strength, control the power allocated to the first operation task in the total power to be reduced and the power allocated to the second operation task in the total power to be recovered correspondingly. The multi-channel hub is correspondingly provided with an AI system; the device further comprises a determining module, configured to: determine a plurality of second object devices closest to the multi-channel hub from the device group; for each of the plurality of second object devices, calculate, by the AI system, the number of times of relay communication of information of the multi-channel hub in the process of spreading and transmitting the information to all the plurality of object devices with the second object device as the communication center of the device group; determine a plurality of the number of times of relay communication based on the plurality of second object devices, and determine a target second object device with the minimum number of times of relay communication from the plurality of second object devices; determine the target second object device as the main object device for communication between the multi-channel hub and the device group, and determine the object devices other than the target second object device in the plurality of object devices as the auxiliary object devices.
8. An electronic device comprising a memory, a processor, the memory having stored therein a computer program executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer executable instructions, and the computer executable instructions, when invoked and executed by the processor, cause the processor to execute the method in any one of claims 1 to 6.
Citation Information
Patent Citations
Power control method and device and electronic equipment
CN110786054A
Power adjustment method and apparatus, electronic device, and storage medium
WO2023202126A1