Network transmission control method and device, storage medium and robot controller
By combining multiple network transmission devices for data packetization and real-time monitoring, the problem of insufficient data uplink speed in the cloud-based intelligent robot system was solved, enabling rapid data transmission and real-time decision-making, and improving the control capabilities of the robot system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2026-03-17
AI Technical Summary
In cloud-based intelligent robot systems, the data upload speed at the device end is slower than the download speed, which prevents sensor data from being quickly sent to the cloud server for decision-making and processing, thus affecting the cloud's real-time control over the robot.
Data is uploaded by combining multiple network transmission devices. The device group with the lowest energy consumption or the lowest congestion is selected for data transmission. Packet segmentation and real-time monitoring are performed during the transmission process to ensure fast data transmission.
Without modifying the hardware, the uplink bandwidth was increased, ensuring the robot's battery life and improving the real-time performance and accuracy of data transmission.
Smart Images

Figure CN115226160B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of network communication technology, specifically to a network transmission control method and apparatus, a storage medium, and a robot controller. Background Technology
[0002] In current network communication systems, the data transmission capabilities of the device and the base station are asymmetrical. This asymmetry manifests as an imbalance between the uplink and downlink speeds at the device end. Generally, the uplink capacity of the device is less than its downlink capacity, meaning the download speed is greater than the upload speed. The difference between download and upload speeds is typically around one order of magnitude, and this difference is caused by limitations in battery capacity and the number of antennas at the device end.
[0003] During the deployment of cloud-based intelligent robot systems, the asymmetry between the speed of data uplink and downlink prevents the robot from quickly sending the collected sensor data to the cloud server for decision-making, resulting in poor real-time control of the robot by the cloud server. Summary of the Invention
[0004] The purpose of this disclosure is to provide a network transmission control method and apparatus, a storage medium, and a robot controller to improve data uplink bandwidth.
[0005] To achieve the above objectives, the first part of this disclosure provides a network transmission control method, the method comprising:
[0006] The uplink bandwidth for uploading the data to be uploaded is determined based on the amount of data to be uploaded and the preset upload duration.
[0007] A set of standby network transmission devices is determined based on the bandwidth limits of multiple network transmission devices, wherein the bandwidth limits and values of each network transmission device in each standby network transmission device group are within a preset bandwidth range, and the preset bandwidth range is a range that includes the data uplink bandwidth.
[0008] Determine the target group of standby network transmission devices from the set of standby network transmission device groups;
[0009] The data to be uploaded is uploaded jointly by each target network transmission device in the target standby network transmission device group.
[0010] Optionally, determining the target group of network transmission devices from the set of group of available network transmission devices includes:
[0011] The group of standby network transmission devices with the lowest energy consumption in the set of standby network transmission devices is selected as the target standby network transmission device group; or...
[0012] The group of standby network transmission devices with the lowest network congestion level in the set of standby network transmission devices is selected as the target standby network transmission device group.
[0013] Optionally, the target standby network transmission device group includes at least two target network transmission devices, each target network transmission device corresponding to an operating system on an electronic device, and the step of uploading the data to be uploaded through the joint upload of the target network transmission devices in the target standby network transmission device group includes:
[0014] Based on the number of target network transmission devices, the data to be uploaded is divided into packets to obtain a corresponding number of data packets to be uploaded;
[0015] Each of the data packets to be uploaded is simultaneously uploaded by the target network transmission device on each operating system.
[0016] Optionally, the target standby network transmission device group includes at least two target network transmission devices, and the step of uploading the data to be uploaded through the joint upload of the target network transmission devices in the target standby network transmission device group includes:
[0017] Based on the number of target network transmission devices, the data to be uploaded is divided into packets to obtain a corresponding number of data packets to be uploaded;
[0018] Each of the target network transmission devices simultaneously uploads the data packets to be uploaded.
[0019] Optionally, the method further includes:
[0020] During the process of all the target network transmission devices jointly uploading the data to be uploaded, the actual bandwidth limit of each target network transmission device is measured, and the bandwidth limit of the target network transmission device is updated according to the measured actual bandwidth limit.
[0021] Optionally, the method further includes:
[0022] If a data transmission anomaly occurs during the process of all the target network transmission devices jointly uploading the data to be uploaded, then the abnormal target network transmission device is determined from the target standby network transmission device group.
[0023] The group of available network transmission devices that does not include the abnormal target network transmission device is determined from the set of available network transmission device groups as the new target available network transmission device group.
[0024] Optionally, the method further includes:
[0025] If the data transmission error is classified as a data upload timeout, a timeout message is sent to the data receiver.
[0026] The second part of this disclosure provides a robot network transmission system, the system including a robot central controller, a robot controller, and a cloud server;
[0027] The robot central controller is used to send environmental data collected by the sensors as data to be uploaded to the robot controller.
[0028] The robot controller is configured to, upon receiving the data to be uploaded sent by the robot central controller, execute the method described in any one of the first parts to upload the data to the cloud server.
[0029] A third part of the embodiments of this disclosure provides a network transmission control device, the device comprising:
[0030] The first determining module is used to determine the uplink bandwidth for uploading the data to be uploaded based on the amount of data to be uploaded and the preset upload duration.
[0031] The second determining module is used to determine a set of standby network transmission devices based on the bandwidth upper limit of multiple network transmission devices, wherein the bandwidth upper limit and value of each network transmission device in each standby network transmission device group are within a preset bandwidth range, and the preset bandwidth range is a range that includes the data uplink bandwidth.
[0032] The third determining module is used to determine the target standby network transmission device group from the set of standby network transmission device groups;
[0033] The upload module is used to upload the data to be uploaded jointly by each target network transmission device in the target standby network transmission device group.
[0034] Optionally, the third determining module includes: a determining submodule, configured to select the standby network transmission device group with the lowest energy consumption from the set of standby network transmission device groups as the target standby network transmission device group; or, select the standby network transmission device group with the lowest network congestion level from the set of standby network transmission device groups as the target standby network transmission device group.
[0035] Optionally, the target standby network transmission device group includes at least two target network transmission devices, each target network transmission device corresponding to an operating system on an electronic device, and the upload module includes:
[0036] The first packet-splitting submodule is used to split the data to be uploaded into packets according to the number of target network transmission devices, so as to obtain a corresponding number of data packets to be uploaded;
[0037] The first upload submodule is used to simultaneously upload each of the data packets to be uploaded through the target network transmission devices on each operating system.
[0038] Optionally, the target standby network transmission device group includes at least two target network transmission devices, and the upload module includes:
[0039] The second packet-splitting submodule is used to split the data to be uploaded into packets according to the number of target network transmission devices, so as to obtain a corresponding number of data packets to be uploaded;
[0040] The second upload submodule is used to simultaneously upload each of the data packets to be uploaded through each of the target network transmission devices.
[0041] Optionally, the device further includes:
[0042] An update module is used to measure the actual bandwidth limit of each of the target network transmission devices during the process of all the target network transmission devices jointly uploading the data to be uploaded, and update the bandwidth limit of the target network transmission devices according to the measured actual bandwidth limit.
[0043] Optionally, the device further includes:
[0044] The fourth determining module is used to determine the abnormal target network transmission device from the target standby network transmission device group if a data transmission abnormality occurs during the process of all the target network transmission devices jointly uploading the data to be uploaded.
[0045] The fifth determining module is used to determine, from the set of available network transmission devices, the available network transmission device group that does not include the abnormal target network transmission device as the new target available network transmission device group.
[0046] Optionally, the device further includes:
[0047] The sending module is used to send timeout information to the data receiver when the data transmission error is of the type of data upload timeout.
[0048] A fourth part of this disclosure provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of any of the methods described in the first part.
[0049] The fifth part of this disclosure provides a robot controller, including:
[0050] A memory on which computer programs are stored;
[0051] A processor for executing the computer program in the memory to implement the steps of any of the methods in the first part.
[0052] By adopting the above technical solution, at least the following technical effects can be achieved:
[0053] The uplink bandwidth for uploading the data is determined based on the amount of data to be uploaded and the preset upload duration. A set of standby network transmission devices is determined based on the bandwidth limits of multiple network transmission devices. The bandwidth limits and values of each network transmission device in each standby network transmission device group fall within a preset bandwidth range, which includes the uplink bandwidth. A target standby network transmission device group is then selected from the set of standby network transmission device groups. The data to be uploaded is then uploaded collaboratively by the target network transmission devices in the target standby network transmission device group. This method of using multiple target network transmission devices to collaboratively upload the data can increase the uplink bandwidth without modifying the hardware.
[0054] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description
[0055] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings:
[0056] Figure 1 This is an application scenario illustrated according to an exemplary embodiment of the present disclosure.
[0057] Figure 2 This is a flowchart illustrating a network transmission control method according to an exemplary embodiment of the present disclosure.
[0058] Figure 3 This is a schematic diagram illustrating a network transmission control method according to an exemplary embodiment of the present disclosure.
[0059] Figure 4 This is a schematic diagram illustrating another network transmission control method according to an exemplary embodiment of the present disclosure.
[0060] Figure 5 This is an exemplary embodiment of the present disclosure illustrating a network transmission device information table.
[0061] Figure 6 This is a block diagram illustrating a robot network transmission system according to an exemplary embodiment of the present disclosure.
[0062] Figure 7 This is a block diagram illustrating a network transmission control device according to an exemplary embodiment of the present disclosure.
[0063] Figure 8 This is a block diagram illustrating an electronic device (robot controller) according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0064] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.
[0065] It is worth stating that the data collected and used in this disclosed technical solution were all collected and used under legal authorization.
[0066] To facilitate a better understanding of the technical solutions disclosed herein by those skilled in the art, the application scenarios of this disclosure will be described in detail below.
[0067] The technical solution disclosed herein is applied to Figure 1 The cloud-based intelligent robot system shown. In detail, as... Figure 1 As shown, the cloud-based intelligent robot system includes a Central Control Unit (CCU), a Robot Control Unit (RCU), a cloud-based intelligent brain (cloud server), sensors and actuators connected to the CCU, and sensors connected to the RCU. This method of connecting / deploying sensors on both the CCU and RCU expands the robot's environmental perception capabilities. The RCU can be deployed internally and integrally with the robot, or it can be deployed externally and wired to the robot.
[0068] The Robot Controller Unit (RCU) is a crucial component of a cloud-based intelligent robot system. It connects wirelessly to the cloud-based intelligent brain via WiFi / 4G / 5G, wiredly to the robot's central controller (CCU) via Ethernet / USB, and horizontally to authorized devices such as tablets or PCs via WiFi / Bluetooth. Therefore, the RCU acts as a bridge between the cloud-based intelligent brain and the robot, transmitting data between them.
[0069] In the deployment of a cloud-based intelligent robot system, the connection between the Robot Controller Unit (RCU) and the Robot Central Controller Unit (CCU) is a fundamental functional connection. When this connection fails or is disconnected, the robot cannot receive instructions from the cloud-based intelligent brain. Furthermore, the connection between the RCU and the cloud-based intelligent brain is crucial for the robot's artificial empowerment. When this connection fails, the cloud-based intelligent brain cannot issue commands to the robot, and the robot cannot upload perceived environmental data to the cloud-based intelligent brain for decision-making calculations and analysis. This results in the cloud-based intelligent brain being unable to remotely control the robot and losing the raw data for making decisions about the robot's behavior; in other words, the cloud-based intelligent brain loses its intelligent control capability over the robot.
[0070] Furthermore, in the deployment of cloud-based intelligent robot systems, computationally intensive environmental data perceived by sensors connected to the robot controller (RCU) and the robot's central controller (CCU), such as depth maps and point cloud data obtained from cameras, needs to be transmitted over the network to the cloud-based intelligent brain for data processing. However, considering the real-time nature of data transmission, if the network transmission delay is too large, the data received by the cloud-based intelligent brain will also be delayed. This results in the cloud-based intelligent brain receiving outdated data, making it unable to perform real-time object recognition, real-time location identification, real-time distance judgment, and real-time action decision-making based on outdated data. Consequently, the cognitive capabilities of the cloud-based intelligent robot system decline, impacting the user experience.
[0071] As described in the background section, in current network communication systems, the data transmission capabilities of the device and base station are asymmetrical. This asymmetry manifests as an imbalance between the uplink and downlink speeds at the device end. Generally, the uplink capability of the device is less than its downlink capability, meaning the download speed is greater than the upload speed. The difference between the download and upload speeds is typically around one order of magnitude, caused by limitations in battery capacity and the number of antennas on the device. As a crucial device in cloud-based intelligent robot systems, the Robot Controller Unit (RCU) is similarly limited by the slower upload speed compared to the download speed. This limitation poses a significant challenge to the implementation and deployment of cloud-based intelligent robot systems.
[0072] In view of this, to meet the needs of robots in various usage scenarios and enable rapid transmission of sensor data perceived by the robot to the cloud-based intelligent brain, this disclosure proposes a network transmission control method and device, a storage medium, and a robot controller. By using multiple target network transmission devices to jointly upload data, the uplink bandwidth can be increased without modifying the hardware. Furthermore, since no modifications are made to the robot controller's RCU hardware, such as the battery and antenna, this method also effectively ensures the robot's battery life.
[0073] The following provides a detailed description of the embodiments of the technical solution disclosed herein.
[0074] Figure 2 This is a flowchart illustrating a network transmission control method according to an exemplary embodiment of the present disclosure. This network transmission control method is applied to an electronic device, such as a robot controller RCU (subsequent embodiments of this disclosure use the robot controller RCU as an example of the electronic device carrying the network transmission control method). Figure 2 As shown, the network transmission control method includes the following steps:
[0075] S11. Determine the uplink bandwidth for uploading the data based on the amount of data to be uploaded and the preset upload duration.
[0076] The preset upload duration is set according to the requirements of the scenario. For example, if the scenario requires a data delay of no more than 3 seconds, then the preset upload duration can be 3 seconds. If the scenario requires a data delay of no more than 5 seconds, then the preset upload duration can be 5 seconds. This disclosure does not impose specific restrictions on the preset upload duration.
[0077] One possible implementation is to obtain the uplink bandwidth by calculating the quotient of the data volume to be uploaded and the preset upload duration. Another possible implementation is to first calculate the total data volume by calculating the data volume to be uploaded and the data volume of the necessary upload fields required by the data upload protocol; then, calculate the quotient of this total data volume and the preset upload duration to obtain the uplink bandwidth.
[0078] S12. Determine a set of standby network transmission devices based on the bandwidth upper limits of multiple network transmission devices, wherein the bandwidth upper limit and value of each network transmission device in each standby network transmission device group are within a preset bandwidth range, and the preset bandwidth range is a range that includes the data uplink bandwidth.
[0079] It is worth noting that, in this disclosure, "network transmission device" refers to a physical interface connected to a network. Examples include network interfaces such as 4G, 5G, WiFi, Ethernet, Bluetooth, and USB in a robot controller RCU. The robot controller RCU has multiple network transmission devices deployed, meaning it has multiple network interfaces, which are used to upload data.
[0080] The bandwidth limit of a network transmission device refers to the theoretical bandwidth corresponding to that device. In one implementation, the lower limit of a preset bandwidth range can be calculated by proportionally reducing the uplink bandwidth; similarly, the upper limit of a preset bandwidth range can be calculated by proportionally increasing the uplink bandwidth. In another implementation, the lower limit of a preset bandwidth range can be calculated by reducing the uplink bandwidth by a preset threshold; similarly, the upper limit of a preset bandwidth range can be calculated by increasing the uplink bandwidth by a preset threshold.
[0081] For example, suppose there are four types of network transmission devices with corresponding bandwidth limits of 100KB / s, 128KB / s, 256KB / s, and 300KB / s, respectively, and an uplink bandwidth of 400KB / s. The preset bandwidth range is [400KB / s*90%, 400KB / s*110%]. Based on this, the resulting set of candidate network transmission devices is as follows: the first group consists of network transmission devices with bandwidths of 128KB / s and 256KB / s; the second group consists of network transmission devices with bandwidths of 128KB / s and 300KB / s; and the third group consists of network transmission devices with bandwidths of 100KB / s and 300KB / s.
[0082] It should be noted that, generally, each group of standby network transmission devices in the set of standby network transmission devices includes two or more network transmission devices.
[0083] S13. Determine the target standby network transmission device group from the set of standby network transmission device groups.
[0084] Optionally, determining the target group of network transmission devices from the set of groups of available network transmission devices includes:
[0085] Based on the communication method between the electronic device and the data receiver, the target standby network transmission device group is determined from the set of standby network transmission device groups.
[0086] Optionally, determining the target group of network transmission devices from the set of group of available network transmission devices includes:
[0087] The group of standby network transmission devices with the lowest energy consumption in the set of standby network transmission devices is selected as the target standby network transmission device group; or, the group of standby network transmission devices with the lowest network congestion level in the set of standby network transmission devices is selected as the target standby network transmission device group.
[0088] Specifically, selecting the group of standby network transmission devices with the lowest energy consumption as the target group will help reduce the energy consumption of the robot controller (RCU). Conversely, selecting the group of standby network transmission devices with the lowest network congestion level will facilitate faster data uploads.
[0089] S14. The data to be uploaded is uploaded jointly by each target network transmission device in the target standby network transmission device group.
[0090] Optionally, the target standby network transmission device group includes at least two target network transmission devices, each target network transmission device corresponding to an operating system on an electronic device, and the step of uploading the data to be uploaded through the joint upload of the target network transmission devices in the target standby network transmission device group includes:
[0091] Based on the number of target network transmission devices, the data to be uploaded is divided into packets to obtain a corresponding number of data packets to be uploaded; each of the data packets to be uploaded is simultaneously uploaded by the target network transmission devices on each operating system.
[0092] by Figure 3 For example, if the robot controller RCU carries two operating systems, one a secure operating system and the other a common operating system, where the common or secure operating system is a virtual operating system. If the target standby network transmission device group includes two target network transmission devices, one with a 4 / 5G network interface and the other with a Wi-Fi network interface. [The remaining text appears to be incomplete and requires further context.] Figure 3 It is known that the 4 / 5G network interface can be invoked by the secure operating system on the robot controller RCU, while the WIFI network interface can be invoked by the common operating system on the robot controller RCU. Therefore, a specific implementation method for uploading data jointly by the target network transmission devices in the target standby network transmission device group can be as follows: based on the number of target network transmission devices (2), the data to be uploaded is divided into two packets, resulting in two data packets to be uploaded. One data packet is uploaded by invoking the 4 / 5G network interface through the secure operating system, while the other data packet is uploaded by invoking the WIFI network interface through the common operating system.
[0093] It should be noted that when dividing the data to be uploaded into packets based on the number of target network transmission devices to obtain a corresponding number of data packets to be uploaded, the size of each data packet to be uploaded after packetization can be determined by considering factors such as the bandwidth limit of the target network transmission devices and the degree of network congestion.
[0094] Optionally, if the operating system on the robot controller RCU uses the MultiPath TCP protocol, then the target standby network transmission device group includes at least two target network transmission devices, and the uploading of the data to be uploaded through the joint upload of the target network transmission devices in the target standby network transmission device group includes:
[0095] Based on the number of target network transmission devices, the data to be uploaded is divided into packets to obtain a corresponding number of data packets to be uploaded; the operating system on the electronic device is based on the MultiPath TCP protocol and controls each of the target network transmission devices to simultaneously upload each of the data packets to be uploaded.
[0096] As will be readily understood by those skilled in the art, when the operating system on the robot controller RCU adopts the MultiPath TCP protocol, the operating system can simultaneously call the 4 / 5G network interface and the WIFI network interface to upload each data packet to be uploaded.
[0097] In practice, when multiple operating systems are virtualized on the robot controller RCU, each operating system can also be configured with the MultiPath TCP protocol. For example, such as... Figure 4 As shown, the secure operating system can simultaneously utilize both the 4G / 5G network interface and the Wi-Fi network interface to upload data packets. Similarly, the public operating system can simultaneously utilize both the Ethernet network interface and the USB network interface to upload data packets. In one implementation, robot-related applications can be configured to run in the secure operating system, while third-party applications and other types of applications can run in the public operating system. This ensures the robot's information security.
[0098] When multiple operating systems are virtualized on the Robot Controller Unit (RCU), virtualization can be used to map network transmission devices deployed in the RCU to different operating systems. Through operating system-level isolation, two or three different network transmission devices can be enabled simultaneously, allowing data to be uploaded to the data receiver to be transmitted between two operating systems.
[0099] Alternatively, the implementation of packetizing the data to be uploaded based on the number of target network transmission devices can be further described as follows: the data to be uploaded is packetized according to the number of target network transmission devices to obtain a preset number of data packets to be uploaded, wherein the preset number is greater than or equal to the number of target network transmission devices. Accordingly, each target network transmission device is used to upload one or more data packets to be uploaded.
[0100] Optionally, the method may further include: during the process of each of the target network transmission devices jointly uploading the data to be uploaded, measuring the actual bandwidth limit of each of the target network transmission devices, and updating the bandwidth limit of the target network transmission devices according to the measured actual bandwidth limit.
[0101] Because the bandwidth limit of each network transmission device is affected by various factors such as performance, quality, line attenuation, and signal decay, the bandwidth limit of each device may change as the device is used. Therefore, during the process of all target network transmission devices jointly uploading data, the actual bandwidth limit of each target network transmission device can be measured, and the bandwidth limit of the target network transmission devices can be updated based on the measured actual bandwidth limit. This ensures the accuracy of the set of available network transmission devices calculated in step S12.
[0102] Furthermore, during the process of all target network transmission devices jointly uploading the data to be uploaded, the actual energy consumption and network congestion level of each target network transmission device can be measured, which helps to determine a more accurate target standby network transmission device group from the set of standby network transmission devices.
[0103] One possible implementation is to store a table on the robot controller RCU to record information such as bandwidth and power consumption of each network transmission device. For example, this table could be like... Figure 5 As shown.
[0104] Optionally, the method may further include: if a data transmission anomaly occurs during the process of all the target network transmission devices jointly uploading the data to be uploaded, then identifying the abnormal target network transmission device from the target standby network transmission device group; and identifying the standby network transmission device group that does not include the abnormal target network transmission device from the standby network transmission device group set as the new target standby network transmission device group.
[0105] In this way, when the target network transmission device fails, other standby network transmission device groups that do not include the failed target network transmission device can be quickly identified from the standby network transmission device group set as new target standby network transmission device groups, so that the data to be uploaded can be uploaded in a timely manner through the new target standby network transmission device group.
[0106] Optionally, the method may further include: recording the exception type and log information when a data transmission anomaly occurs during the joint uploading of data by various target network transmission devices. Furthermore, if the data transmission anomaly is classified as data upload timeout, a timeout message may be sent to the data receiver to notify the data receiver that the data to be uploaded may have expired, facilitating the data receiver's decision on whether to receive the data.
[0107] Based on the same inventive concept, this disclosure also provides a robot network transmission system, such as... Figure 6 As shown, the system 500 includes a robot central controller 510, a robot controller 520, and a cloud server 530;
[0108] The robot central controller 510 is used to send environmental data collected by the sensors as data to be uploaded to the robot controller.
[0109] The robot controller 520 is configured to, upon receiving the data to be uploaded sent by the robot central controller, execute any of the aforementioned network transmission control methods to upload the data to be uploaded to the cloud server 530.
[0110] The cloud server 530 is used to make decisions based on the received data to control the robot's behavior.
[0111] It is worth noting that the Robot Controller Unit (RCU) is used to provide network transmission services. The RCU connects to the Robot Central Controller Unit (CCU) to form a local area network (LAN). Devices within this LAN need permission from the RCU to access external networks. The RCU is equipped with numerous network transmission devices, such as 4G, 5G, WiFi, Ethernet, Bluetooth, and USB. This disclosure utilizes virtualization and network device multi-path transmission technologies to fully leverage the network interfaces deployed on the RCU. By simultaneously using two or more network transmission devices to transmit data to the cloud-based intelligent system, the network bandwidth for uploading data is increased. The combination of network transmission devices used for uploading data is determined based on the power consumption and bandwidth of the network devices, combined with the required uplink bandwidth in the usage scenario, to meet the network bandwidth requirements of the current scenario and ensure data transmission quality, real-time data transmission, and battery life. This approach facilitates the efficient deployment of cloud-based intelligent robot systems.
[0112] Figure 7 This is a block diagram illustrating a network transmission control device according to an exemplary embodiment of the present disclosure, such as... Figure 7As shown, the device 600 includes:
[0113] The first determining module 610 is used to determine the uplink bandwidth for uploading the data to be uploaded based on the amount of data to be uploaded and the preset upload duration.
[0114] The second determining module 620 is used to determine a set of standby network transmission devices based on the bandwidth upper limit of multiple network transmission devices, wherein the bandwidth upper limit and value of each network transmission device in each standby network transmission device group are within a preset bandwidth range, and the preset bandwidth range is a range that includes the data uplink bandwidth.
[0115] The third determining module 630 is used to determine the target standby network transmission device group from the set of standby network transmission device groups;
[0116] The upload module 640 is used to upload the data to be uploaded jointly by each target network transmission device in the target standby network transmission device group.
[0117] Using the aforementioned device, the uplink bandwidth for uploading the data is determined based on the amount of data to be uploaded and a preset upload duration. A set of standby network transmission device groups is determined based on the bandwidth limits of multiple network transmission devices, where the bandwidth limits and values of each network transmission device in each standby group fall within a preset bandwidth range, which includes the uplink bandwidth. A target standby network transmission device group is then determined from the set of standby network transmission device groups. The data to be uploaded is then uploaded jointly by the target network transmission devices in the target standby network transmission device group. This method of jointly uploading data using multiple target network transmission devices can increase the uplink bandwidth without modifying the hardware.
[0118] Optionally, the third determining module includes: a determining submodule, configured to select the standby network transmission device group with the lowest energy consumption from the set of standby network transmission device groups as the target standby network transmission device group; or, select the standby network transmission device group with the lowest network congestion level from the set of standby network transmission device groups as the target standby network transmission device group.
[0119] Optionally, the target standby network transmission device group includes at least two target network transmission devices, each target network transmission device corresponding to an operating system on an electronic device, and the upload module includes:
[0120] The first packet-splitting submodule is used to split the data to be uploaded into packets according to the number of target network transmission devices, so as to obtain a corresponding number of data packets to be uploaded;
[0121] The first upload submodule is used to simultaneously upload each of the data packets to be uploaded through the target network transmission devices on each operating system.
[0122] Optionally, the target standby network transmission device group includes at least two target network transmission devices, and the upload module includes:
[0123] The second packet-splitting submodule is used to split the data to be uploaded into packets according to the number of target network transmission devices, so as to obtain a corresponding number of data packets to be uploaded;
[0124] The second upload submodule is used to simultaneously upload each of the data packets to be uploaded through each of the target network transmission devices.
[0125] Optionally, the device further includes:
[0126] An update module is used to measure the actual bandwidth limit of each of the target network transmission devices during the process of all the target network transmission devices jointly uploading the data to be uploaded, and update the bandwidth limit of the target network transmission devices according to the measured actual bandwidth limit.
[0127] Optionally, the device further includes:
[0128] The fourth determining module is used to determine the abnormal target network transmission device from the target standby network transmission device group if a data transmission abnormality occurs during the process of all the target network transmission devices jointly uploading the data to be uploaded.
[0129] The fifth determining module is used to determine, from the set of available network transmission devices, the available network transmission device group that does not include the abnormal target network transmission device as the new target available network transmission device group.
[0130] Optionally, the device further includes:
[0131] The sending module is used to send timeout information to the data receiver when the data transmission error is of the type of data upload timeout.
[0132] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0133] Figure 8 This is a block diagram illustrating an electronic device 700 according to an exemplary embodiment. The electronic device 700 may be a robot controller. Figure 8As shown, the electronic device 700 may include a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0134] The processor 701 controls the overall operation of the electronic device 700 to complete all or part of the steps in the network transmission control method described above. The memory 702 stores various types of data to support the operation of the electronic device 700. This data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. Multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory 702 or transmitted via communication component 705. The audio component also includes at least one speaker for outputting audio signals. I / O interface 704 provides an interface between processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual or physical buttons. Communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IoT, eMTC, or other 5G technologies, or combinations thereof, is not limited here. Therefore, the corresponding communication component 705 may include: a Wi-Fi module, a Bluetooth module, an NFC module, etc.
[0135] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the network transmission control method described above.
[0136] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the network transmission control method described above. For example, the computer-readable storage medium may be the memory 702 including program instructions, which may be executed by the processor 701 of the electronic device 700 to complete the network transmission control method described above.
[0137] In another exemplary embodiment, a computer program product is also provided, which includes a computer program executable by a programmable device, the computer program having a code portion for performing the network transmission control method described above when executed by the programmable device.
[0138] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.
[0139] It should also be noted that the various specific technical features described in the above embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.
[0140] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.
Claims
1. A network transmission control method characterized by comprising: The method comprises: determining a data uplink bandwidth for uploading the to-be-uploaded data according to a data amount of the to-be-uploaded data and a preset uploading time length; determining a set of to-be-used network transmission device groups according to bandwidth upper limits of a plurality of network transmission devices, wherein the bandwidth upper limits of the network transmission devices in each to-be-used network transmission device group are within a preset bandwidth interval, the preset bandwidth interval is an interval including the data uplink bandwidth, the plurality of network transmission devices are deployed on a same electronic device, and the network transmission device refers to a physical entity interface connected to a network, wherein an operating system running on the electronic device comprises a first operating system and a second operating system which are isolated from each other; determining a target to-be-used network transmission device group from the set of to-be-used network transmission device groups; uploading the to-be-uploaded data by the target network transmission devices in the target to-be-used network transmission device group; the target to-be-used network transmission device group comprises at least two target network transmission devices, and the uploading of the to-be-uploaded data by the target network transmission devices in the target to-be-used network transmission device group comprises: packaging the to-be-uploaded data according to the number of target network transmission devices to obtain a corresponding number of to-be-uploaded data packets; mapping each target network transmission device to one operating system on the electronic device; uploading at least one to-be-uploaded data packet by the target network transmission device through the first operating system, and uploading at least one other to-be-uploaded data packet by the target network transmission device through the second operating system.
2. The method of claim 1, wherein, The determining of the target to-be-used network transmission device group from the set of to-be-used network transmission device groups comprises: taking the to-be-used network transmission device group with the lowest energy consumption in the set of to-be-used network transmission device groups as the target to-be-used network transmission device group; or taking the to-be-used network transmission device group with the lowest network congestion degree in the set of to-be-used network transmission device groups as the target to-be-used network transmission device group.
3. The method according to claim 1 or 2, characterized in that, The method further comprises: measuring actual bandwidth upper limits of the target network transmission devices during the uploading of the to-be-uploaded data by the target network transmission devices, and updating the bandwidth upper limits of the target network transmission devices according to the measured actual bandwidth upper limits.
4. The method according to claim 1 or 2, characterized in that, The method further comprises: if a data transmission exception occurs during the uploading of the to-be-uploaded data by the target network transmission devices, determining an abnormal target network transmission device from the target to-be-used network transmission device group; determining a to-be-used network transmission device group not including the abnormal target network transmission device from the set of to-be-used network transmission device groups as a new target to-be-used network transmission device group.
5. The method of claim 4, wherein, The method further comprises: in a case where a type of the data transmission exception is data uploading timeout, sending timeout information to a data receiver.
6. A robotic network transmission system characterized by, The system comprises a robot central controller, a robot controller, and a cloud server. The robot central controller is configured to send environment data collected by a sensor to the robot controller as to-be-uploaded data. The robot controller is configured to, after receiving the to-be-uploaded data sent by the robot central controller, execute the method in any one of claims 1-5 to upload the to-be-uploaded data to the cloud server.
7. A network transmission control apparatus characterized by comprising: The apparatus comprises: A first determining module configured to determine a data uplink bandwidth for uploading to-be-uploaded data according to a data amount of the to-be-uploaded data and a preset upload time length; A second determining module configured to determine a set of to-be-used network transmission device groups according to bandwidth upper limits of a plurality of network transmission devices, wherein a bandwidth upper limit value of each network transmission device in each to-be-used network transmission device group is in a preset bandwidth interval, the preset bandwidth interval is an interval including the data uplink bandwidth, the plurality of network transmission devices are deployed on a same electronic device, and the network transmission device refers to a physical entity interface connected to a network, wherein an operating system running on the electronic device comprises a first operating system and a second operating system which are isolated from each other; A third determining module configured to determine a target to-be-used network transmission device group from the set of to-be-used network transmission device groups; An uploading module configured to upload the to-be-uploaded data through each target network transmission device in the target to-be-used network transmission device group, wherein the target to-be-used network transmission device group comprises at least two target network transmission devices, and the uploading of the to-be-uploaded data through each target network transmission device in the target to-be-used network transmission device group comprises: dividing the to-be-uploaded data into a corresponding number of to-be-uploaded data packets according to the number of target network transmission devices; mapping each target network transmission device to one operating system on the electronic device; and uploading at least one to-be-uploaded data packet through the first operating system calling the corresponding target network transmission device, and uploading at least one other to-be-uploaded data packet through the second operating system calling the corresponding target network transmission device.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the steps of the method in any one of claims 1-5.
9. A robot controller, characterized by The apparatus comprises: A memory having a computer program stored thereon; A processor configured to execute the computer program in the memory to implement the steps of the method in any one of claims 1-5.
Citation Information
Patent Citations
Network self-adaptive method in distributed file system
CN103595810A
Sharing method and apparatus of bandwidth resources
CN105827695A
Robot operation state monitoring method and system
CN111085994A
Matching Encoder Output to Network Bandwidth
US20110153816A1
Methods and systems for sending and receiving information data
US20150222715A1