Real-time data transmission method, device and system based on intelligent 5g first-aid backpack
By assigning device roles based on signal strength in the smart 5G emergency backpack and using multiple devices to collaboratively transmit audio and video data, the problem of unsmooth data transmission in remote meetings is solved, achieving more stable real-time data transmission.
Patent Information
- Application Number
- CN202510273188.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2045-03-10
AI Technical Summary
Existing smart 5G emergency backpacks suffer from unsmooth real-time data transmission during remote meetings, resulting in lag and delays, mainly due to unstable communication signals and data accumulation.
The primary device is determined based on signal strength, and multiple secondary devices are selected from other communication devices and divided into primary, secondary, and tertiary devices, which are responsible for receiving and uploading audio and video data respectively. Internal network transmission is used to avoid data backlog.
It effectively solves the problems of lag and latency in remote meetings, and achieves smoother real-time data transmission. By distributing the data processing load to multiple devices, it avoids data backlog by utilizing internal network transmission.
Smart Images

Figure CN120128906B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and in particular to a real-time data transmission method, apparatus and system based on a smart 5G emergency backpack. Background Technology
[0002] Backpacks are a common piece of equipment in field operations. With technological advancements, backpacks are also evolving towards smart technology, for example, enabling connections with remote medical personnel and empowering devices with 5G capabilities. Currently, there is a smart 5G emergency backpack equipped with communication devices that allow it to connect with experts in real time for remote consultations and guidance.
[0003] Currently, the way smart 5G emergency backpacks conduct remote video calls is by selecting a pre-configured smart 5G emergency backpack as a connection device to communicate with remote devices and conduct remote conferences. Other smart 5G emergency backpacks do not participate in this process.
[0004] This approach ensures that the smart 5G emergency backpack, which serves as the connection device, is always fixed. Since only one communication device is used, and this device also needs to receive information from other communication devices, issues such as poor communication signal or the communication device's own data processing may lead to slow data transmission and real-time data accumulation. This can result in stuttering and delays in remote meetings, thus causing problems with the smooth transmission of real-time data in remote meetings. Summary of the Invention
[0005] Therefore, it is necessary to provide a real-time data transmission method, device, and system based on a smart 5G emergency backpack to address the above-mentioned problems.
[0006] This invention is implemented as follows: a real-time data transmission method based on a smart 5G emergency backpack, the real-time data transmission method based on a smart 5G emergency backpack comprising:
[0007] S101, determine the ownership of the master device based on signal strength;
[0008] S102, determine a first preset number of secondary devices from other communication devices besides the main device;
[0009] S103, connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively;
[0010] S104, the secondary devices are divided into first device, second device and third device according to the communication duration of each secondary device;
[0011] S105, at each preset time interval, the receiving time and receiving duration of the downlink video received by the master device and the second device are determined according to the communication duration of the first device and the second device, respectively;
[0012] S106, receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device;
[0013] S107, uploads uplink audio and uplink video through the first device and the third device.
[0014] In one embodiment, the present invention provides a real-time data transmission device based on a smart 5G emergency backpack, the real-time data transmission device based on the smart 5G emergency backpack comprising:
[0015] The first selection module is used to determine the ownership of the master device based on the signal strength.
[0016] The second selection module is used to determine a first preset number of secondary devices from other communication devices outside the main device;
[0017] The duration determination module is used to connect to each secondary device and determine the communication duration between the master device and each secondary device.
[0018] The device segmentation module is used to classify secondary devices into first devices, second devices, and third devices based on the communication duration of each secondary device.
[0019] The receiving module is used to determine the receiving time and duration of the downlink video received by the master device and the second device respectively, based on the communication duration of the first device and the second device, at preset intervals.
[0020] The receiving data module is used to receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device;
[0021] The data upload module is used to upload uplink audio and uplink video through the first device and the third device.
[0022] In one embodiment, the present invention provides a real-time data transmission system based on a smart 5G emergency backpack, the real-time data transmission system based on a smart 5G emergency backpack includes: a plurality of communication devices, a plurality of image devices, a plurality of sound devices, and a computer device disposed within the communication devices;
[0023] The communication devices form a multi-layered tree diagram network;
[0024] One of the imaging devices is connected to one of the communication devices for acquiring real-time images to form uploaded videos and playing downlink videos;
[0025] One of the sound devices is connected to one of the communication devices for acquiring real-time audio to form uploaded audio and playing downlink audio;
[0026] The computer device is used to execute the steps of the above-described real-time data transmission method based on the smart 5G emergency backpack.
[0027] The real-time data transmission method based on a smart 5G emergency backpack provided in this invention determines the affiliation of the master device based on signal strength; determines a first preset number of secondary devices from other communication devices besides the master device; connects to each secondary device and determines the communication duration between the master device and each secondary device; classifies the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device; at preset intervals, determines the reception time and reception duration of downlink video for the master device and the second device respectively based on the communication duration of the first device and the second device; receives downlink video according to the reception time of downlink video received by the master device, controls the first device to receive downlink audio, controls the second device to receive downlink video and controls the second device to send downlink video to the master device; and uploads uplink audio and uplink video through the first device and the third device. This approach transforms the original single-device data interaction with the outside world into multi-device data interaction. Audio data is handled by the first device, downlink video data by the main and second devices, and uplink video data by the third device. The main and second devices have set reception time limits; if the main device experiences slow data transmission due to poor signal strength, the second device will switch to receive data after the main device's reception time expires. This distributes the data processing load across multiple communication devices. Furthermore, data transmission between the main and second-level devices uses an internal network, different from the external network channel used for the main device's connection to the outside world, avoiding real-time data backlog. These two measures prevent interruptions and delays in remote conferencing, thus resolving the issue of unsmooth real-time data transmission in remote meetings. Attached Figure Description
[0028] Figure 1 This is a flowchart of a real-time data transmission method based on a smart 5G emergency backpack in one embodiment;
[0029] Figure 2 This is a structural block diagram of a real-time data transmission device based on a smart 5G emergency backpack in one embodiment;
[0030] Figure 3 This is a structural block diagram of a real-time data transmission system based on a smart 5G emergency backpack in one embodiment;
[0031] Figure 4 This is a block diagram of the internal structure of a computer device in one embodiment. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0033] It is understood that the terms "first," "second," etc., used in this invention may be used to describe various elements herein, but unless specifically stated otherwise, these elements are not limited by these terms. These terms are used only to distinguish one element from another. For example, without departing from the scope of this invention, a first script may be referred to as a second script, and similarly, a second script may be referred to as a first script.
[0034] like Figure 1 As shown, in one embodiment, a real-time data transmission method based on a smart 5G emergency backpack is proposed, which may specifically include the following steps:
[0035] S101, determine the ownership of the master device based on signal strength;
[0036] S102, determine a first preset number of secondary devices from other communication devices besides the main device;
[0037] S103, connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively;
[0038] S104, the secondary devices are divided into first device, second device and third device according to the communication duration of each secondary device;
[0039] S105, at each preset time interval, the receiving time and receiving duration of the downlink video received by the master device and the second device are determined according to the communication duration of the first device and the second device, respectively;
[0040] S106, receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device;
[0041] S107, uploads uplink audio and uplink video through the first device and the third device.
[0042] In this embodiment, the present invention is applied to a computer device, which is the host device.
[0043] In this embodiment, the smart 5G emergency backpack has multiple functions, such as collecting on-site environmental information, monitoring the physical condition of personnel, monitoring the route, monitoring the speed, and remote conferencing. The collected information needs to be exchanged and integrated in a timely manner, so the smart 5G emergency backpacks need to communicate with each other. Therefore, the smart 5G emergency backpack is equipped with communication devices. The main device and secondary device here refer to the communication devices inside the smart 5G emergency backpack. One smart 5G emergency backpack can be regarded as a communication device.
[0044] In this embodiment, in step S101, a communication device in a smart 5G emergency backpack is initially designated as the master device, which can be predetermined. After step S101, the actual communication device corresponding to the master device may or may not change. If it changes, the master device refers to the changed communication device, but this does not affect the execution of the present invention in the computer device of the master device.
[0045] In this embodiment, real-time data includes downlink audio, downlink video, uplink audio, and uplink video data. The smart 5G emergency backpack contains an image device, an audio device, and a communication device connected within the same smart 5G emergency backpack to display downlink audio or video, while simultaneously generating uplink audio or video and sending it to the communication device. Downlink audio / video refers to audio / video data sent from the external network to the communication device, while uplink audio / video refers to audio / video data that the communication device intends to send to the external network.
[0046] In this embodiment, communication devices that are not primary or secondary devices can be configured as tertiary devices, etc. These devices only connect to the primary device; for example, a tertiary device can only connect to a secondary device. Furthermore, these devices do not connect to external networks, but only to the internal network.
[0047] In this embodiment, the first preset quantity can be set to 6.
[0048] In this embodiment, the connection between each secondary device and the primary device forms an internal network between the communication devices, while the primary and secondary devices receive downlink audio or downlink video through an external network between the communication devices and the base station. The internal network can be a communication network such as Bluetooth or WiFi, while the external network can be a communication network such as 5G or satellite.
[0049] In this embodiment, the communication duration includes not only the time for the two devices to transmit data, but also the time for the devices to process the data.
[0050] In this embodiment, the first device is responsible for receiving downlink audio and uploading uplink audio, the second device is responsible for receiving downlink video, the third device is responsible for uploading uplink video, and the master device is responsible for receiving downlink video.
[0051] In this embodiment, the preset time can be set to 1 second or even shorter, which is an unavoidable delay time for real-time data transmission.
[0052] In this embodiment, downlink audio and downlink video are received separately, and uplink audio and uplink video are sent separately, distributing the data uplink or downlink pressure to the secondary devices. The main device will not experience video or audio stuttering due to the accumulation of data to be processed. At the same time, if the main device's signal is unstable, data can be received through other secondary devices.
[0053] In this embodiment, in S106, receiving downlink video according to the receiving time of the main device receiving downlink video includes: receiving downlink video according to the receiving time of the main device receiving downlink video; determining whether the elapsed time of the main device receiving downlink video is equal to the receiving time of the main device receiving downlink video, and if so, stopping the receiving of downlink video.
[0054] The real-time data transmission method based on a smart 5G emergency backpack provided in this invention determines the affiliation of the master device based on signal strength; determines a first preset number of secondary devices from other communication devices besides the master device; connects to each secondary device and determines the communication duration between the master device and each secondary device; classifies the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device; at preset intervals, determines the reception time and reception duration of downlink video for the master device and the second device respectively based on the communication duration of the first device and the second device; receives downlink video according to the reception time of downlink video received by the master device, controls the first device to receive downlink audio, controls the second device to receive downlink video and controls the second device to send downlink video to the master device; and uploads uplink audio and uplink video through the first device and the third device. This approach transforms the original single-device data interaction with the outside world into multi-device data interaction. Audio data is handled by the first device, downlink video data by the main and second devices, and uplink video data by the third device. The main and second devices have set reception time limits; if the main device experiences slow data transmission due to poor signal strength, the second device will switch to receive data after the main device's reception time expires. This distributes the data processing load across multiple communication devices. Furthermore, data transmission between the main and second-level devices uses an internal network, different from the external network channel used for the main device's connection to the outside world, avoiding real-time data backlog. These two measures prevent interruptions and delays in remote conferencing, thus resolving the issue of unsmooth real-time data transmission in remote meetings.
[0055] In one embodiment, determining the affiliation of the master device based on signal strength includes:
[0056] Obtain the signal strength A of each communication device to the external network;
[0057] Determine if the signal strength of the master device is the maximum value in signal strength A. If so, there is no need to change the master device's affiliation.
[0058] If the signal strength of the master device is not the maximum value of signal strength A, then the communication device with the strongest signal strength A among the second preset number is recorded as the target device;
[0059] For each target device, obtain the signal strength B of other target devices detected by that target device;
[0060] The communication score of this target device relative to other target devices is determined based on signal strength B.
[0061] The target device's total score is obtained by averaging the communication scores given to it by other target devices.
[0062] The target device with the highest total score is designated as the main device.
[0063] In this embodiment, signal strength A is the search result of the communication device's signal strength to the external network.
[0064] In this embodiment, the second preset quantity can be set to 10.
[0065] In this embodiment, the communication score of the target device to other target devices based on the signal strength B can be determined by a normalization method. For example, the maximum value of the signal strength B of all other target devices found by the target device is recorded as 100 and the minimum value is recorded as 0. In this way, all signal strengths B can be normalized, and the normalized value is the communication score of the target device to other target devices.
[0066] In one embodiment, determining a first preset number of secondary devices from other communication devices besides the primary device includes:
[0067] Obtain the signal strength C of other communication devices detected by the master device;
[0068] The other communication devices searched by the master device are sorted in descending order of signal strength C to obtain the first sequence;
[0069] Based on the third preset quantity, the communication device that ranks first in the first sequence is selected and denoted as the judgment device;
[0070] For each judgment device, determine whether the judgment device is the target device. If so, determine the judgment device as a secondary device.
[0071] Determine whether the number of secondary devices is greater than or equal to the first preset number. If so, discard the later secondary devices in the first sequence one by one until the number of secondary devices equals the first preset number. If not, determine the non-secondary devices in the first sequence one by one as secondary devices until the number of secondary devices equals the first preset number.
[0072] In this embodiment, signal strength C is the search result of the signal strength of the master device in the internal network to other communication devices.
[0073] In this embodiment, the third preset quantity can be set to 10.
[0074] In one embodiment, the step of connecting to each secondary device and determining the communication duration between the master device and each secondary device includes:
[0075] Connect to each secondary device separately;
[0076] For each secondary device, send test data to that secondary device and receive the data returned by that secondary device;
[0077] Send reply data to the secondary device based on the received feedback data;
[0078] Depend on Obtain the communication duration between the master device and the secondary device;
[0079] Where t1 is the time to send test data to the secondary device, t2 is the time to receive test data by the secondary device, t3 is the time to send back data by the secondary device, t4 is the time to receive back data sent by the secondary device by the master device, and t5 is the time to send reply data by the master device.
[0080] In this embodiment, the communication duration includes not only the time for data transmission between the two devices, but also the time for the devices to process the data. For example, The duration of data transmission between the master device and the secondary device, where the timestamp of t1 is included in the test data and the timestamp of t2 is included in the return data; The duration for which the secondary device processes data, where the timestamp t3 is included in the returned data; The duration of data processing by the main device, where the timestamps t4 and t5 are included in the response data.
[0081] In this embodiment, in the step of sending reply data to the secondary device based on the received return data, the return data can be regarded as a piece of test data sent by the secondary device, and the reply data can be regarded as a piece of return data sent back by the primary device after receiving the test data from the secondary device.
[0082] In this embodiment, the communication duration can be obtained by combining multiple test data, for example, by averaging. It can also be obtained from the historical data transmission data of the communication device.
[0083] In one embodiment, the secondary devices are divided into a first device, a second device, and a third device based on the communication duration of each secondary device:
[0084] The second sequence is obtained by sorting the communication durations of each secondary device from shortest to longest.
[0085] The last secondary device in the second sequence is designated as the first device;
[0086] The first secondary device in the second sequence is designated as the second device;
[0087] Determine if the number of third devices is greater than the number of second devices. If not, select one of the remaining second-level devices in the forward order of the second sequence and designate it as the third device. If yes, select one of the remaining second-level devices in the reverse order of the second sequence and designate it as the second device.
[0088] In this embodiment, only one primary device is needed. Since the data volume of audio is far less than that of video—the difference can be tens or even thousands of times—there is no need to select a secondary device with high communication quality; shorter communication duration indicates better communication quality.
[0089] In this embodiment, since downlink video is the main purpose of the remote conference, the secondary device with the best communication quality is selected as the second device to ensure reception quality.
[0090] In this embodiment, since the master device also participates in receiving downlink video, and the uplink data rate is slower than the downlink data rate, the number of third devices is generally required to be greater than or equal to the number of second devices.
[0091] In one embodiment, determining the reception time and reception duration of the downlink video received by the master device and the second device based on the communication durations of the first device and the second device, respectively, includes:
[0092] Determine the communication duration T1 of the first device;
[0093] Obtain the maximum downlink audio data volume P1 and downlink video data volume P2 transmitted over a preset time period from historical data;
[0094] Depend on Determine the first duration;
[0095] Depend on Determine the second duration;
[0096] Determine whether the second duration is greater than the first duration. If so, determine the second duration as the reception duration for the main device to receive downlink video. If not, determine the first duration as the reception duration for the main device to receive downlink video.
[0097] The first moment of each preset time is determined as the receiving moment for the main device to receive downlink video;
[0098] For each second device, by Obtain the reception duration of the downlink video received by the second device;
[0099] Depend on Determine the timing of the second device receiving downlink video;
[0100] Where v is the average downlink rate when the communication device receives external data, n is the number of second devices, T2 is the reception duration of the main device receiving downlink video, T3 is the error duration, T4 is the first moment of each preset time, T5 is the reception duration of the second device receiving downlink video, and j is the sequence number of the second device, which is calculated starting from 1.
[0101] In this embodiment, it is assumed that the reception duration of the primary device and the secondary device is the same when the second duration is confirmed. Therefore, the time required for the downlink video data is evenly distributed between the primary device and the secondary device.
[0102] In this embodiment, when downlink video data is sent through an external network, both the master device and the second device can obtain it. To avoid data conflicts and repeated reception, the reception time and duration of the downlink video data received by the master device and the second device are specified and staggered. This ensures that only one communication device receives downlink video data at a time, avoiding conflicts. At the same time, when the second device is receiving downlink video data, the master device can process the received data, avoiding data accumulation on the master device.
[0103] In this embodiment, there are multiple second devices, so it is necessary to describe these multiple second devices, such as the first second device and the second second device. In principle, the first second device receives downlink video after the main device receives downlink video, and the second second device receives downlink video after the first second device. Ideally, the main device should immediately control the first second device to receive downlink video as soon as its reception time expires, and vice versa. The sequence number of the second device is related to the time at which it receives downlink video; the earlier the time, the earlier the sequence number.
[0104] In this embodiment, to avoid data loss during data switching between communication devices, the second device starts receiving data an additional T3 seconds in advance, therefore the reception time also needs to be delayed by one T3 seconds. T3 can be set to... Between 1 / 5 and 1 / 2.
[0105] In one embodiment, controlling the second device to receive downlink video and controlling the second device to send the downlink video to the master device includes:
[0106] For each second device, determine whether the current time has reached the receiving time for the second device to receive downlink video; if so, control the second device to receive downlink video.
[0107] Determine whether the duration of downlink video reception by the second device is greater than or equal to the reception duration of downlink video by the second device. If so, control the second device to stop receiving downlink video.
[0108] Determine whether the second device has stopped receiving downlink video. If so, obtain the timestamp T6 of all data packets in the downlink video received by the main device and the previous second device.
[0109] Determine whether the timestamp T7 of the data packets in the downlink video received by the second device is the same as the timestamp T6. If so, discard the data packets corresponding to timestamp T7 that are the same as timestamp T6.
[0110] The downlink video corresponding to the data packets that the second device did not discard is sent to the master device.
[0111] In this embodiment, there is no interference between the downlink video received by the master device and the downlink video received by the second device, and the judgment condition is related to the current time.
[0112] In this embodiment, the sequence number of the second device is related to the time when the second device receives the downlink video; the earlier the time, the earlier the sequence number.
[0113] In this embodiment, if the current time has not reached the reception time for the second device to receive downlink video, the process continues. If the elapsed time for the second device to receive downlink video is less than the reception time for the second device to receive downlink video, the process continues.
[0114] In this embodiment, since the master device and the second device have the same data reception time period, one of the two identical data sets needs to be discarded. The same principle applies to different second devices.
[0115] In this embodiment, the downlink video consists of several data packets, each of which has a corresponding timestamp. Data packets with the same timestamp are the same data packet, so they can be identified by their timestamps.
[0116] In this embodiment, the downlink video received by the second device is first processed on the second device, and then transmitted to the main device's internal network via the second device. A different communication channel than the external network is used to reduce data backlog.
[0117] In one embodiment, uploading uplink audio and uplink video via the first device and the third device includes:
[0118] Send uplink audio to the first device;
[0119] Acquire the amount of uplink video data P3 generated by the main device within a preset time period;
[0120] Depend on Obtain the amount of uplink video data sent by the master device to each third device;
[0121] Based on the amount of uplink video data sent by the master device to each third device, the uplink video generated by the master device within a preset time is evenly divided, and the master device is controlled to send uplink video to each third device respectively.
[0122] Control the first and third devices to upload the received uplink video;
[0123] Where m represents the number of third devices.
[0124] In this embodiment, the master device does not upload upstream audio or video to the external network. Instead, it sends all the upstream audio or video data to the first and third devices through the internal network, whereby the first and third devices process and upload the data. This does not consume the processing power of the master device.
[0125] like Figure 2 As shown, in one embodiment, a real-time data transmission device based on a smart 5G emergency backpack is provided, which may specifically include:
[0126] The first selection module is used to determine the ownership of the master device based on the signal strength.
[0127] The second selection module is used to determine a first preset number of secondary devices from other communication devices outside the main device;
[0128] The duration determination module is used to connect to each secondary device and determine the communication duration between the master device and each secondary device.
[0129] The device segmentation module is used to classify secondary devices into first devices, second devices, and third devices based on the communication duration of each secondary device.
[0130] The receiving module is used to determine the receiving time and duration of the downlink video received by the master device and the second device respectively, based on the communication duration of the first device and the second device, at preset intervals.
[0131] The receiving data module is used to receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device;
[0132] The data upload module is used to upload uplink audio and uplink video through the first device and the third device.
[0133] In this embodiment, the modules of the real-time data transmission device based on the intelligent 5G emergency backpack are modularized from the method of the present invention. For a detailed explanation of each module, please refer to the corresponding content in the method section of the present invention. The embodiments of the present invention will not be repeated here.
[0134] like Figure 3 As shown, in one embodiment, a real-time data transmission system based on a smart 5G emergency backpack is provided, which may specifically include:
[0135] Several communication devices, several image devices, several sound devices, and computer equipment installed within the communication devices;
[0136] The communication devices form a multi-layered tree diagram network;
[0137] One of the imaging devices is connected to one of the communication devices for acquiring real-time images to form uploaded videos and playing downlink videos;
[0138] One of the sound devices is connected to one of the communication devices for acquiring real-time audio to form uploaded audio and playing downlink audio;
[0139] The computer device is used to execute the steps of the above-described real-time data transmission method based on the smart 5G emergency backpack.
[0140] In this embodiment, each communication device is equipped with a computer device for processing data, and the computer device that executes the steps of the real-time data transmission method based on the smart 5G emergency backpack is the computer device of the main device.
[0141] In this embodiment, the multi-layered tree diagram network composed of communication devices is as follows: Figure 3 As shown, device 1 is the master device, device 2 is the first device, devices 3 and 7 are the second devices, and devices 4, 5, and 6 are the third devices. If there are other communication devices that are not master devices or second-level devices, they will connect to any one of devices 2-7, but not to the master device, and these communication devices will not communicate with the external network.
[0142] In this embodiment, the image device includes an image display device and an image capturing device. The sound device includes a sound playback device and a sound acquisition device.
[0143] The real-time data transmission system based on a smart 5G emergency backpack provided in this invention determines the affiliation of the master device based on signal strength; determines a first preset number of secondary devices from other communication devices besides the master device; connects to each secondary device and determines the communication duration between the master device and each secondary device; classifies the secondary devices into a first device, a second device, and a third device based on the communication duration of each secondary device; at preset intervals, determines the reception time and reception duration of downlink video for the master device and the second device based on the communication duration of the first device and the second device, respectively; receives downlink video based on the reception time of downlink video received by the master device, controls the first device to receive downlink audio, controls the second device to receive downlink video and controls the second device to send downlink video to the master device; and uploads uplink audio and uplink video through the first device and the third device. This approach transforms the original single-device data interaction with the outside world into multi-device data interaction. Audio data is handled by the first device, downlink video data by the main and second devices, and uplink video data by the third device. The main and second devices have set reception time limits; if the main device experiences slow data transmission due to poor signal strength, the second device will switch to receive data after the main device's reception time expires. This distributes the data processing load across multiple communication devices. Furthermore, data transmission between the main and second-level devices uses an internal network, different from the external network channel used for the main device's connection to the outside world, avoiding real-time data backlog. These two measures prevent interruptions and delays in remote conferencing, thus resolving the issue of unsmooth real-time data transmission in remote meetings.
[0144] Figure 4 An internal structural diagram of a computer device in one embodiment is shown. Figure 4As shown, the computer device includes a processor, memory, network interface, input device, and display screen connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement the real-time data transmission method based on the intelligent 5G emergency backpack provided in this embodiment of the invention. The internal memory may also store a computer program. When executed by the processor, this computer program enables the processor to implement the real-time data transmission method based on the intelligent 5G emergency backpack provided in this embodiment of the invention. The display screen of the computer device can be a liquid crystal display (LCD) or an e-ink display. The input device of the computer device can be a touch layer covering the display screen, or buttons, a trackball, or a touchpad mounted on the casing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0145] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device to which the present invention is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0146] In one embodiment, the real-time data transmission device based on the intelligent 5G emergency backpack provided by this invention can be implemented as a computer program, which can be used in various ways, such as... Figure 4 The computer device shown is running the system. The computer device's memory can store the various program modules that make up the real-time data transmission device of this smart 5G emergency backpack, for example... Figure 2 The diagram shows a first selection module, a second selection module, a duration determination module, a device partitioning module, a receiving module, a data receiving module, and a data uploading module. The computer program comprised of these modules causes the processor to execute the steps in the real-time data transmission method based on the intelligent 5G emergency rescue backpack described in the various embodiments of the present invention.
[0147] For example, Figure 4 The computer device shown can be used as follows Figure 2 The first selection module in the real-time data transmission device based on the smart 5G emergency backpack shown executes step S101; the computer device can execute step S102 through the second selection module; the computer device can execute step S103 through the duration determination module; the computer device can execute step S104 through the device partitioning module; the computer device can execute step S105 through the receiving module; the computer device can execute step S106 through the data receiving module; and the computer device can execute step S107 through the data uploading module.
[0148] In one embodiment, a computer device is provided, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, performs the following steps:
[0149] S101, determine the ownership of the master device based on signal strength;
[0150] S102, determine a first preset number of secondary devices from other communication devices besides the main device;
[0151] S103, connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively;
[0152] S104, the secondary devices are divided into first device, second device and third device according to the communication duration of each secondary device;
[0153] S105, at each preset time interval, the receiving time and receiving duration of the downlink video received by the master device and the second device are determined according to the communication duration of the first device and the second device, respectively;
[0154] S106, receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device;
[0155] S107, uploads uplink audio and uplink video through the first device and the third device.
[0156] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, causes the processor to perform the following steps:
[0157] S101, determine the ownership of the master device based on signal strength;
[0158] S102, determine a first preset number of secondary devices from other communication devices besides the main device;
[0159] S103, connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively;
[0160] S104, the secondary devices are divided into first device, second device and third device according to the communication duration of each secondary device;
[0161] S105, at each preset time interval, the receiving time and receiving duration of the downlink video received by the master device and the second device are determined according to the communication duration of the first device and the second device, respectively;
[0162] S106, receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device;
[0163] S107, uploads uplink audio and uplink video through the first device and the third device.
[0164] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0165] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0166] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0167] The embodiments described above are merely examples of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.
Claims
1. A real-time data transmission method based on a smart 5G emergency rescue backpack, characterized in that, The real-time data transmission method based on the smart 5G emergency backpack includes: S101, determine the ownership of the master device based on signal strength; S102, determine a first preset number of secondary devices from other communication devices besides the main device; S103, connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively; S104, the secondary devices are divided into first device, second device and third device according to the communication duration of each secondary device; S105, at each preset time interval, the receiving time and receiving duration of the downlink video received by the master device and the second device are determined according to the communication duration of the first device and the second device, respectively; S106, receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device; S107, Upload uplink audio and uplink video through the first device and the third device; The step of determining the reception time and reception duration of the downlink video received by the master device and the second device based on the communication durations of the first device and the second device, respectively, includes: Determine the communication duration T1 of the first device; Obtain the maximum downlink audio data volume P1 and downlink video data volume P2 transmitted over a preset time period from historical data; Depend on Determine the first duration; Depend on Determine the second duration; Determine whether the second duration is greater than the first duration. If so, determine the second duration as the reception duration for the main device to receive downlink video. If not, determine the first duration as the reception duration for the main device to receive downlink video. The first moment of each preset time is determined as the receiving moment for the main device to receive downlink video; For each second device, by Obtain the reception duration of the downlink video received by the second device; Depend on Determine the timing of the second device receiving downlink video; Where v is the average downlink rate when the communication device receives external data, n is the number of second devices, T2 is the reception duration of the main device receiving downlink video, T3 is the error duration, T4 is the first moment of each preset time, T5 is the reception duration of the second device receiving downlink video, and j is the sequence number of the second device, which is calculated starting from 1.
2. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1, characterized in that, The process of determining the affiliation of the master device based on signal strength includes: Obtain the signal strength A of each communication device to the external network; Determine if the signal strength of the master device is the maximum value in signal strength A. If so, there is no need to change the master device's affiliation. If the signal strength of the master device is not the maximum value of signal strength A, then the communication device with the strongest signal strength A among the second preset number is recorded as the target device; For each target device, obtain the signal strength B of other target devices detected by that target device; The communication score of this target device relative to other target devices is determined based on signal strength B. The target device's total score is obtained by averaging the communication scores given to it by other target devices. The target device with the highest total score is designated as the main device.
3. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 2, characterized in that, The step of determining a first preset number of secondary devices from other communication devices besides the main device includes: Obtain the signal strength C of other communication devices detected by the master device; The other communication devices searched by the master device are sorted in descending order of signal strength C to obtain the first sequence; Based on the third preset quantity, the communication device that ranks first in the first sequence is selected and denoted as the judgment device; For each judgment device, determine whether the judgment device is the target device. If so, determine the judgment device as a secondary device. Determine whether the number of secondary devices is greater than or equal to the first preset number. If so, discard the later secondary devices in the first sequence one by one until the number of secondary devices equals the first preset number. If not, determine the non-secondary devices in the first sequence one by one as secondary devices until the number of secondary devices equals the first preset number.
4. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1, characterized in that, The process of connecting to each secondary device and determining the communication duration between the master device and each secondary device includes: Connect to each secondary device separately; For each secondary device, send test data to that secondary device and receive the data returned by that secondary device; Send reply data to the secondary device based on the received feedback data; Depend on Obtain the communication duration between the master device and the secondary device; Where t1 is the time to send test data to the secondary device, t2 is the time to receive test data by the secondary device, t3 is the time to send back data by the secondary device, t4 is the time to receive back data sent by the secondary device by the master device, and t5 is the time to send reply data by the master device.
5. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1, characterized in that, The secondary devices are divided into first devices, second devices, and third devices based on the communication duration of each secondary device: The second sequence is obtained by sorting the communication durations of each secondary device from shortest to longest. The last secondary device in the second sequence is designated as the first device; The first secondary device in the second sequence is designated as the second device; Determine if the number of third devices is greater than the number of second devices. If not, select one of the remaining second-level devices in the forward order of the second sequence and designate it as the third device. If yes, select one of the remaining second-level devices in the reverse order of the second sequence and designate it as the second device.
6. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1, characterized in that, The control of the second device to receive downlink video and the control of the second device to send downlink video to the master device include: For each second device, determine whether the current time has reached the receiving time for the second device to receive downlink video; if so, control the second device to receive downlink video. Determine whether the duration of downlink video reception by the second device is greater than or equal to the reception duration of downlink video by the second device. If so, control the second device to stop receiving downlink video. Determine whether the second device has stopped receiving downlink video. If so, obtain the timestamp T6 of all data packets in the downlink video received by the main device and the previous second device. Determine whether the timestamp T7 of the data packets in the downlink video received by the second device is the same as the timestamp T6. If so, discard the data packets corresponding to timestamp T7 that are the same as timestamp T6. The downlink video corresponding to the data packets that the second device did not discard is sent to the master device.
7. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1, characterized in that, The uploading of uplink audio and uplink video through the first device and the third device includes: Send uplink audio to the first device; Acquire the amount of uplink video data P3 generated by the main device within a preset time period; Depend on Obtain the amount of uplink video data sent by the master device to each third device; Based on the amount of uplink video data sent by the master device to each third device, the uplink video generated by the master device within a preset time is evenly divided, and the master device is controlled to send uplink video to each third device respectively. Control the first and third devices to upload the received uplink video; Where m represents the number of third devices.
8. A real-time data transmission device based on a smart 5G emergency backpack, characterized in that, The real-time data transmission device based on the intelligent 5G emergency backpack includes: The first selection module is used to determine the ownership of the master device based on the signal strength. The second selection module is used to determine a first preset number of secondary devices from other communication devices outside the main device; The duration determination module is used to connect to each secondary device and determine the communication duration between the master device and each secondary device. The device segmentation module is used to classify secondary devices into first devices, second devices, and third devices based on the communication duration of each secondary device. The receiving module is used to determine the receiving time and duration of the downlink video received by the master device and the second device respectively, based on the communication duration of the first device and the second device, at preset intervals. The receiving data module is used to receive downlink video according to the receiving time of the main device receiving downlink video, control the first device to receive downlink audio, control the second device to receive downlink video and control the second device to send downlink video to the main device; The data upload module is used to upload uplink audio and uplink video through the first device and the third device; The step of determining the reception time and reception duration of the downlink video received by the master device and the second device based on the communication durations of the first device and the second device, respectively, includes: Determine the communication duration T1 of the first device; Obtain the maximum downlink audio data volume P1 and downlink video data volume P2 transmitted over a preset time period from historical data; Depend on Determine the first duration; Depend on Determine the second duration; Determine whether the second duration is greater than the first duration. If so, determine the second duration as the reception duration for the main device to receive downlink video. If not, determine the first duration as the reception duration for the main device to receive downlink video. The first moment of each preset time is determined as the receiving moment for the main device to receive downlink video; For each second device, by Obtain the reception duration of the downlink video received by the second device; Depend on Determine the timing of the second device receiving downlink video; Where v is the average downlink rate when the communication device receives external data, n is the number of second devices, T2 is the reception duration of the main device receiving downlink video, T3 is the error duration, T4 is the first moment of each preset time, T5 is the reception duration of the second device receiving downlink video, and j is the sequence number of the second device, which is calculated starting from 1.
9. A real-time data transmission system based on a smart 5G emergency rescue backpack, characterized in that, The real-time data transmission system based on the intelligent 5G emergency backpack includes: several communication devices, several image devices, several sound devices, and computer equipment installed within the communication devices; The communication devices form a multi-layered tree diagram network; One of the imaging devices is connected to one of the communication devices for acquiring real-time images to form uploaded videos and playing downlink videos; One of the sound devices is connected to one of the communication devices for acquiring real-time audio to form uploaded audio and playing downlink audio; The computer device is used to perform the steps of the real-time data transmission method based on the smart 5G emergency backpack as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Multi-level link data uploading and issuing method
CN110691404A
KR20240107616A